I've had this trouble with jsp files that were compiled under the new
environment.
Tomcat puts the compilations in $Catalina_home/work. I just go in there
and delete all the generated code. Tomcat'll build it again in the
original environment next time you try to use the jsp. I suppose "touch"
of the jsp files would provoke the same thing.
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Alex Pinsky
Sent: Thursday, March 04, 2010 4:40 PM
To: java400-l@xxxxxxxxxxxx
Subject: Unable to run the same webapp under older Tomcat version
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?
Thanks,
Alex Pinsky
Aeropostale, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CONFIDENTIALITY NOTE: The information contained in this email or fax is
intended only for the use of the individual or entity to whom it is
addressed.
If you are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution, printing or other use of, or any
action taken in reliance upon, the contents of this email or fax and the
information contained therein is strictly prohibited. Before opening or
using attachments, check them for viruses and defects. Our liability to
you for viruses or defects associated with any email or fax is strictly
limited to resupplying any affected attachments. If you have received
this communication in error, please immediately notify the sender by
telephone at (646) 264-6217 and delete the original message. Thank you.
--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.