Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Servlet was found, but is missing another required class...WAS2.0 to WAS 3.5

837 views
Skip to first unread message

FS

unread,
Dec 2, 2002, 1:59:49 PM12/2/02
to
Hi,

I have seen many messages posted on this subject in the past, but none
of the questions in the archive seem to address my particular problem.
I am porting an app from WAS 2.0 to WAS 3.5, and when I start up the
server in WAS 3.5 I get the following message in my event viewer -

[Servlet Error]-["SIM_OrigIssuanceServlet"]: "Failed to load servlet":
javax.servlet.ServletException: Servlet [SIM_OrigIssuanceServlet]:
EWIZ_Data_Services.Servlet.Gwiz.SIM_OrigIssuanceServlet was found, but
is missing another required class.
This error typically implies that the servlet was originally compiled
with a classes which cannot be located by the server.
Check your classpath to ensure that all classes required by the
servlet are present.
This problem can be debugged by recompiling the servlet using only
the classes in the application's runtime classpath
Application classpath=[C:/SQLLIB/java/db2java.zip;C:\shadow\JDBC\scjd12ts.jar;C:/WebSphere/AppServer/lib/ibmwebas.jar;C:/WebSphere/AppServer/properties;C:/WebSphere/AppServer/lib/servlet.jar;C:/WebSphere/AppServer/lib/webtlsrn.jar;C:/WebSphere/AppServer/lib/lotusxsl.jar;C:/WebSphere/AppServer/lib/compat.jar;C:/WebSphere/AppServer/lib/xalan.jar;C:/WebSphere/AppServer/lib/ns.jar;C:/WebSphere/AppServ
r/lib/ejs.jar;C:/WebSphere/AppServer/lib/ujc.jar;C:/SQLLIB/java/db2java.zip;C:/WebSphere/AppServer/lib/repository.jar;C:/WebSphere/AppServer/lib/admin.jar;C:/WebSphere/AppServer/lib/swingall.jar;C:/WebSphere/AppServer/lib/console.jar;C:/WebSphere/AppServer/lib/was20cm.jar;C:/WebSphere/AppServer/lib/tasks.jar;C:/WebSphere/AppServer/lib/xml4j.jar;C:/WebSphere/AppServer/lib/vaprt.jar;C:/WebSphere/App
erver/lib/sslight.jar;C:/WebSphere/AppServer/lib/ibmjndi.jar;C:/WebSphere/AppServer/lib/deployTool.jar;C:/WebSphere/AppServer/lib/databeans.jar;C:/WebSphere/AppServer/classes;C:/WebSphere/AppServer/jdk/lib/tools.jar;C:/WebSphere/AppServer/lib/jsp10.jar;C:/WebSphere/AppServer/lib/dertrjrt.jar;C:/WebSphere/AppServer/lib/derdbpw.jar;C:/WebSphere/AppServer/lib/ivjejb35.jar;C:\projects\GWIZ\classes;C:\
rojects\PCWEB\classes;C:\projects\pool\classes;C:\projects\webplatform\classes;C:\WebSphere\AppServer\lib\databeans.jar;C:\WebSphere\AppServer\lib\ibmjndi.jar;C:\WebSphere\AppServer\lib\ibmwebas.jar;C:\WebSphere\AppServer\lib\jndi.jar;C:\WebSphere\AppServer\lib\jsdk.jar;C:\WebSphere\AppServer\lib\jst.jar;C:\WebSphere\AppServer\lib\x509v1.jar;C:\WebSphere\AppServer\lib\xml4j.jar]
at javax.servlet.ServletException.<init>(ServletException.java:61)
at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:62)
at com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:110)
at com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:673)
at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:83) at
com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:124) at
com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:88) at
com.ibm.servlet.engine.ServletHost.addWebGroup(ServletHost.java:91)
at com.ibm.servlet.engine.ServletEngineDynamicUpdateSupport.addWebGroup(ServletEngineDynamicUpdateSupport.java:124)
at com.ibm.ejs.sm.active.ActiveServletGroup.startAction(ActiveServletGroup.java:76)
at com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:663)
at com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:110)
at com.ibm.ejs.sm.active.ActiveObject.operateOnContainedObjects(ActiveObject.java:565)
at com.ibm.ejs.sm.active.ActiveServletEngine.startAction(ActiveServletEngine.java:52)
at com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:663)
at com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:110)
at com.ibm.ejs.sm.active.ActiveObject.operateOnContainedObjects(ActiveObject.java:565)
at com.ibm.ejs.sm.active.ActiveEJBServer.startAction(ActiveEJBServer.java:96)
at com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:663)
at com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:110)
at java.lang.reflect.Method.invoke(Native Method) at
com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:93)
at com.ibm.ejs.sm.agent.AdminAgentImpl.invokeActiveObject(AdminAgentImpl.java:62)
at com.ibm.ejs.sm.agent._AdminAgentImpl_Tie._invoke(Unknown Source)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(Unknown Source)
at com.ibm.CORBA.iiop.ORB.process(Unknown Source) at
com.ibm.CORBA.iiop.WorkerThread.run(Unknown Source) at
com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run(ThreadPool.java:528)


I have verified that the classpaths have been specified in WAS - the
servlets compile just fine also (and all classes referenced in the
project match the WAS settings). I have also verified that I am using
the same JDKs at run/compile time. I am not sure where to turn next,
which is why I am asking for any thoughts you might have....I am
running on Win2k as my OS...how can I find out what class it is
complaining about? I do not see any output indicating this in stderr
or stdout....

Thanks in advance
Fiaz

FS

unread,
Dec 10, 2002, 5:14:40 PM12/10/02
to
FYI, problem was solved

[Servlet Error]-["SIM_OrigIssuanceServlet"]: "Failed to load servlet":
javax.servlet.ServletException: Servlet [SIM_OrigIssuanceServlet]:
EWIZ_Data_Services.Servlet.Gwiz.SIM_OrigIssuanceServlet was found, but
is missing another required class.

In the code, GWIZ was capitalized. In WAS 2.0, the properties file had
Gwiz in the classname, not GWIZ, but it was not a problem. However, in
WAS 3.5, it seems that the classname is case sensitive. Everything
works fine now....


fsi...@hotmail.com (FS) wrote in message news:<a2f459d6.02120...@posting.google.com>...


> Hi,
>
> I have seen many messages posted on this subject in the past, but none
> of the questions in the archive seem to address my particular problem.
> I am porting an app from WAS 2.0 to WAS 3.5, and when I start up the
> server in WAS 3.5 I get the following message in my event viewer -
>
> [Servlet Error]-["SIM_OrigIssuanceServlet"]: "Failed to load servlet":
> javax.servlet.ServletException: Servlet [SIM_OrigIssuanceServlet]:
> EWIZ_Data_Services.Servlet.Gwiz.SIM_OrigIssuanceServlet was found, but
> is missing another required class.
> This error typically implies that the servlet was originally compiled
> with a classes which cannot be located by the server.
> Check your classpath to ensure that all classes required by the
> servlet are present.
> This problem can be debugged by recompiling the servlet using only
> the classes in the application's runtime classpath
> Application classpath=[C:/SQLLIB/java/db2java.zip;C:\shadow\JDBC\scjd12ts.jar;C:/WebSphere/AppServer/lib/ibmwebas.jar;C:/WebSphere/AppServer/properties;C:/WebSphere/AppServer/lib/servlet.jar;C:/WebSphere/AppServer/lib/webtlsrn.jar;C:/WebSphere/AppServer/lib/lotusxsl.jar;C:/WebSphere/AppServer/lib/compat.jar;C:/WebSphere/AppServer/lib/xalan.jar;C:/WebSphere/AppServer/lib/ns.jar;C:/WebSphere/AppSe

v
> r/lib/ejs.jar;C:/WebSphere/AppServer/lib/ujc.jar;C:/SQLLIB/java/db2java.zip;C:/WebSphere/AppServer/lib/repository.jar;C:/WebSphere/AppServer/lib/admin.jar;C:/WebSphere/AppServer/lib/swingall.jar;C:/WebSphere/AppServer/lib/console.jar;C:/WebSphere/AppServer/lib/was20cm.jar;C:/WebSphere/AppServer/lib/tasks.jar;C:/WebSphere/AppServer/lib/xml4j.jar;C:/WebSphere/AppServer/lib/vaprt.jar;C:/WebSphere/A
p

0 new messages