• Subject: Re: JSP Compilation with WAS 3.5
  • From: "Art Smet" <smet@xxxxxxxxxx>
  • Date: Thu, 9 Aug 2001 13:40:02 -0500
  • Importance: Normal


NoClassDefFoundError means the classloader found the class (
sun/tools/javac/Main), but this class internally references some other
class that could not be found.  Unfortunately the Java classloader does not
say which class it was, that could not be found.  That makes things
difficult to figure out how to recover.  One thing you can try is to use
the -verbose option to tell the classloader to list whenever it tries to
locate a classfile, using WebSphere you can do that by specifying -verbose
as a command line arg for the application server.  Retry, and inspect the
app server's stdout to see what classfile failed to load. Knowing that may
help get closer to what the cause is (do you know if admin.properties file
was changed by anyone?).




"DUCRET Gilles (GVA)" <Gilles.DUCRET@lloydsbank.ch>@midrange.com on
08/07/2001 04:58:27 AM

Please respond to JAVA400-L@midrange.com

Sent by:  owner-java400-l@midrange.com


To:   "JAVA400-L (E-mail)" <JAVA400-L@midrange.com>
cc:
Subject:  JSP Compilation with WAS 3.5





Hello,

We have just installed WAS 3.5 on our machine.

We have a problem when the JSPs are compiled. It is like if the class used
to compile was
not found by websphere, although it is a standard class, and no setting has
been changed.

May be the error comes from something else, and the error message is not
accurate.

Any idea?

Please find message below:

Error 500
An error has occured while processing request:
http://eibpxy04.lloydstsb.ch:1902/portfoliomain.jsp
Message: Server caught unhandled exception from servlet [JSP 1.0
Processor]: sun/tools/javac/Main

Target Servlet: JSP 1.0 Processor
StackTrace:

Root Error-1: sun/tools/javac/Main
java.lang.NoClassDefFoundError: sun/tools/javac/Main
java/lang/Throwable.(Ljava/lang/String;)V+4 (Throwable.java:94)
com/sun/jsp/compiler/Main.javaToClass(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z+1

(Main.java:987)
com/sun/jsp/compiler/Main.compile(Ljava/lang/ClassLoader;Ljavax/servlet/ServletContext;Ljava/lang/String;Lcom/sun/jsp/compiler/Main$ClassFileData;Ljava/lang/String;ZZLjava/lang/String;)V+437

(Main.java:454)
com/sun/jsp/runtime/JspLoader.compile(Ljava/lang/String;Lcom/sun/jsp/compiler/Main$ClassFileData;Ljava/lang/String;ZLjava/lang/String;)V+44

(JspLoader.java:188)
com/sun/jsp/runtime/JspLoader.loadJSP(Ljava/lang/String;ZLjava/lang/String;)Z+215

(JspLoader.java:368)
com/sun/jsp/runtime/JspServlet$JspServletWrapper.loadIfNecessary(Ljava/lang/String;)V+15

(JspServlet.java:172)
com/sun/jsp/runtime/JspServlet$JspServletWrapper.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+78

(JspServlet.java:210)
com/sun/jsp/runtime/JspServlet.serviceJspFile(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/Throwable;)V+186

(JspServlet.java:863)
com/sun/jsp/runtime/JspServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+111

(JspServlet.java:773)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25

(HttpServlet.java:853)
com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+21

(ServletManager.java:626)
com/ibm/servlet/engine/webapp/StrictLifecycleServlet.
_service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+46
(StrictLifecycleServlet.java:160)
com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebAppServletInvocationEvent;)V+186

(ServletManager.java:360)
com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Lcom/ibm/servlet/engine/webapp/WebAppRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+741

(WebAppRequestDispatcher.java:478)
com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+443

(WebAppRequestDispatcher.java:234)
com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.forward


Gilles Ducret
Wealth Management Division
IT Architect
Lloyds TSB Bank
Tel: + 41 22 307 31 50
Mob: +41 79 217 21 41


**********************************************************************
This E-mail and any files transmitted with it are confidential
and intended for the exclusive use of the addressee(s) only.
You should not disclose its contents to any other person.
If you are not the intended recipient please notify the sender
immediately.
**********************************************************************




+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 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.