<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 12/14/2014 03:19 PM, Emilien Klein
wrote:<br>
</div>
<blockquote cite="mid:548D9C66.6040905@klein.st" type="cite">
<pre wrap="">TLDR: Please check if the "/var/lib/tomcat8/shared" folder is still used
with Tomcat 8.
I have applied the previously attached patch, the package builds fine,
but when installing the .deb the following error occurs:
Setting up biomaj-watcher (1.2.2-2) ...
Updating Context.xml...
Configuration complete
cp: cannot create regular file ‘/var/lib/tomcat8/shared/biomaj.jar’: No
such file or directory
dpkg: error processing package biomaj-watcher (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
biomaj-watcher
E: Sub-process /usr/bin/dpkg returned an error code (1)
The cause of the issue is that there is no "shared" folder in
/var/lib/tomcat8/</pre>
</blockquote>
Sounds indeed that tomcat shared library folder is not used anymore
in Tomcat8.<br>
Seems that those libraries should be moved to $CATALINA_HOME/lib
now....<br>
Seems that each version changes this dir......<br>
<br>
I think however we could avoid putting lib in such dir with an
appropriate context XML file. I gonna try such solution this week
and upload fix.<br>
<blockquote cite="mid:548D9C66.6040905@klein.st" type="cite">
<pre wrap="">
When creating that folder manually, the package
installation/configuration completes succesfully. I wanted to test if
that folder needed to exist, or if Tomcat 8 even looks at that location.
Unfortunately, when accessing <a class="moz-txt-link-freetext" href="http://localhost:8080/BmajWatcher">http://localhost:8080/BmajWatcher</a> per
d/README.Debian, I get a Tomcat 404 error message with a description
that "The requested resource is not available." Since I have no
experience with Tomcat, I haven't tried to go deeper in the configuration.
Maybe you have a quick hint on how to configure Tomcat so that I could
try to go further.
But even if that page worked I'm not sure I could validate that the
"shared" folder is used appropriately. Please validate that.
+Emilien
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Debian-med-packaging mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Debian-med-packaging@lists.alioth.debian.org">Debian-med-packaging@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging</a></pre>
<br>
<pre class="moz-signature" cols="72">--
gpg key id: 4096R/326D8438 (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438</pre>
</blockquote>
</body>
</html>