Peter Lavin wrote:
Hi all, I have deployed a simple (Eclipse developed) webservice in a
Tomcat7 container which is running on Debian, details as follows...
The error is as follows... (abridged, but it is complaining about
missing a file called pulse-java.jar)
INFO: Deploying web application archive
/var/lib/tomcat7/webapps/SecureServiceExample.war
Jan 12, 2015 3:03:01 PM org.apache.catalina.startup.TldConfig tldScanJar
WARNING: Failed to process JAR
[jar:file:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/pulse-java.jar!/]
for TLD files
java.io.FileNotFoundException:
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/pulse-java.jar (No such
file or directory)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:215)
at java.util.zip.ZipFile.<init>(ZipFile.java:145)
I'm using a Debian GNU Linux 7 VM, running version.sh of Tomcat7 yields...
Using CATALINA_BASE: /usr/share/tomcat7
Using CATALINA_HOME: /usr/share/tomcat7
Using CATALINA_TMPDIR: /usr/share/tomcat7/temp
Using JRE_HOME: /usr/lib/jvm/java-7-openjdk-amd64
Using CLASSPATH:
/usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
Server version: Apache Tomcat/7.0.28
Server built: Apr 8 2014 08:47:08
Server number: 7.0.28.0
OS Name: Linux
OS Version: 3.2.0-4-amd64
Architecture: amd64
JVM Version: 1.7.0_65-b32
JVM Vendor: Oracle Corporation
Tomcat7 was installed using apt-get. With the default memory settings
(around line 271 in catalina.sh) as follows...
CATALINA_OPTS="$CATALINA_OPTS $JPDA_OPTS"
The above error occurs.
When I made the following changes... (below) the error goes away
CATALINA_OPTS="-server $CATALINA_OPTS -Xms512m -Xms2048m
a typo here ? (2 times -Xms ..)
and, what was in $JPDA_OPTS ?
-XX:MaxPermSize=512m -Dcom.sun.management.jmxremote"
My question... pulse-java.jar does not exist in Java 7 although it did
in Java 6. In Java 7, it is provided by a different file. It appears
that the shortage of allocated memory manifests itself as a missing
file. Has anyone else found anything like this or used a different
solution to fix it?
regards,
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org