Error opening zip file /usr/bin/build-classpath

2009-09-27 Thread Andreas Forstmayr
:/usr/lib64/jvm/java-1_5_0-ibm-1.5.0_sr7
/jre/lib/ext/ibmpkcs11impl.jar:/usr/lib64/jvm/java-1_5_0-ibm-1.5.0_sr7/jre/l
ib/ext/ibmkeycert.jar:/usr/lib64/jvm/java-1_5_0-ibm-1.5.0_sr7/jre/lib/ext/ib
mpkcs11.jar:/usr/lib64/jvm/java-1_5_0-ibm-1.5.0_sr7/jre/lib/ext/ibmsaslprovi
der.jar:/usr/lib64/jvm/java-1_5_0-ibm-1.5.0_sr7/jre/lib/ext/indicim.jar:/usr
/lib64/jvm/java-1_5_0-ibm-1.5.0_sr7/jre/lib/ext/jaccess.jar:/usr/lib64/jvm/j
ava-1_5_0-ibm-1.5.0_sr7/jre/lib/ext/jdmpview.jar
 
cp=/usr/lib64/jvm/java-1_5_0-ibm-1.5.0_sr7/lib/tools.jar:/usr/share/tomcat5/
bin/bootstrap.jar:/usr/share/tomcat5/bin/commons-logging-api.jar:/usr/bin/bu
ild-classpath: error: JVM_LIBDIR /usr/lib64/jvm-exports/java-1 does not
exist or is not a directory:/usr/bin/build-classpath: error: JVM_LIBDIR
/usr/lib64/jvm-exports/java-1 does not exist or is not a directory
cp=/srv/www/tomcat5/base/webapps/myapp/WEB-INF/classes
cp=/...
 cp=/%20error
 
cp=/%20JVM_LIBDIR%20/usr/lib64/jvm-exports/java-1%20does%20not%20exist%20or%
20is%20not%20a%20directory
cp=/usr/bin/build-classpath
cp=/%20error
 
cp=/%20JVM_LIBDIR%20/usr/lib64/jvm-exports/java-1%20does%20not%20exist%20or%
20is%20not%20a%20directory
...
work dir=/srv/www/tomcat5/base/work/Catalina/localhost/myapp
extension dir=/usr/lib64/jvm/java-1_5_0-ibm-1.5.0_sr7/jre/lib/ext
srcDir=/srv/www/tomcat5/base/work/Catalina/localhost/myapp
   compilerTargetVM=1.3
   compilerSourceVM=1.3
include=org/apache/jsp/WEB_002dINF/jsp/myjsp_jsp.java
 
2009-09-25 09:28:43,496 [http-8080-Processor24] ERROR
org.apache.jasper.compiler.Compiler - Error compiling file:
/srv/www/tomcat5/base/work/Catalina/localhost/myapp//org/apache/jsp/WEB_002d
INF/jsp/myjsp_jsp.java [javac] Compiling 1 source file
 
error: error reading /usr/bin/build-classpath; Error opening zip file
/usr/bin/build-classpath
1 error
 
What catches my eye here is:
 
/usr/bin/build-classpath: error: JVM_LIBDIR /usr/lib64/jvm-exports/java-1
does not exist or is not a directory

 

Does anybody have an idea? I get this error always on the same pages. One
measure that helped at first view was to increase the memory of Tomcat in
the JAVA_OPTS but the pages on which this error occurs only changed... It is
also remarkable, that compilerTargetVM and compilerSourceVM both are set to
1.3. Shouldn't that be 1.5? The whole app is written in Java 5.

 

Regards,

Andi



Re: Error opening zip file /usr/bin/build-classpath

2009-09-27 Thread Pid

On 27/09/2009 13:51, Andreas Forstmayr wrote:

Hello!

I wrote a Java/Spring application and it works on my local SLES 10 testing
vm and all other test systems perfectly. If I deploy it on another SLES 10
SP2 (x86_64) server with Tomcat 5.0.28 and java-1_5_0-ibm-1.5.0_sr7 it also
works at first view, but if I want to view some pages of the app I get the
following error on the screen:


Any chance you can upgrade your Tomcat to 6.0 (or even 5.5)?

5.0 is no longer supported - if you're using java 1.5 you should really 
try to use a newer Tomcat version.


p

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org