Alex Pinsky skrev:
Hi All,

We have a webapp that was running under tomcat-5.5.26 - no problem

Recently we updated our webserver to tcServer which is actually a
Tomcat-6.0.20 pointing the content to original location under
tomcat-5.5.26 folder.

All is good.
Now I wanted to restore my setup back and run the same webapp under
original Tomcat-5.5.26


I'm getting all kinds of exceptions java.lang.NoSuchMethodError


I used qsh touch command to mark all the Tomcat-5.5.26 jar files so that
should trigger all original jars to be re-attached again.


Now compiler complains about java.lang.NoSuchMethodError: <init>
(Ljava/lang/String


I understand that it is due to Java compatibility problem - but how do I
make sure that JVM loads all correct classes?


I do not think that merely touching the files cause the jars to be reattached. The simplest way to be certain is to use jar to zip the files together, delete everything, and unzip again with jar. If the error persists, then this is most likely your compiled JSP-classes giving problems. If so, then the easiest cure is probably touching all files.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.