On 12/14/2014 03:19 PM, Emilien Klein wrote: > 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/ Sounds indeed that tomcat shared library folder is not used anymore in Tomcat8. Seems that those libraries should be moved to $CATALINA_HOME/lib now.... Seems that each version changes this dir......
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. > > 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 http://localhost:8080/BmajWatcher 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 > > > > _______________________________________________ > Debian-med-packaging mailing list > debian-med-packag...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging > > -- > gpg key id: 4096R/326D8438 (keyring.debian.org) > Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438