Bug#787220: 404 error with websocket/websocket jars not installed
debian-bugs at fluffypeople.com
debian-bugs at fluffypeople.com
Fri May 29 21:47:19 UTC 2015
Package: tomcat7
Version: 7.0.56-3
Severity: normal
Dear Maintainer,
Running a very simple websocket endpoint fails with a 404 (not found)
error because the required websocket jars (tomcat-websocket.jar and
websocket-api.jar) are not installed.
I think the jars are not installed because the tomcat7 build scripts
need a java7 compiler to build them (and don't assume that there is one
installed). Adding the line
java.7.home=/usr/lib/jvm/java-7-openjdk-amd64
to build.properties (in the root of the unpacked tomcat7 source) will
make the build scripts build the required jars. Once the jars have been
built, copying them to /usr/share/tomcat7/lib (and making no other
changes) fixes the problem.
I'd guess a "tomcat7-websocket" package (with a java7 dependency) with
the required jars (and symlinks etc) would solve the problem?
Thanks,
Osric Wilkinson
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages tomcat7 depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.56
ii tomcat7-common 7.0.56-3
ii ucf 3.0030
Versions of packages tomcat7 recommends:
ii authbind 2.1.1
Versions of packages tomcat7 suggests:
pn libtcnative-1 <none>
ii tomcat7-admin 7.0.56-3
pn tomcat7-docs <none>
pn tomcat7-examples <none>
pn tomcat7-user <none>
-- Configuration Files:
/etc/tomcat7/context.xml changed [not included]
/etc/tomcat7/server.xml changed [not included]
/etc/tomcat7/tomcat-users.xml [Errno 13] Permission denied: u'/etc/tomcat7/tomcat-users.xml'
-- debconf information:
tomcat7/groupname: tomcat7
tomcat7/username: tomcat7
tomcat7/javaopts: -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC
More information about the pkg-java-maintainers
mailing list