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

IBM WebSphere Test Environment

0 views
Skip to first unread message

Joe Vainshtein

unread,
Dec 7, 1999, 3:00:00 AM12/7/99
to
Hi, Everybody !

I am using the IBM WebSphere Test Environment with VisualAge
for Java 2.0 with Professional Update and I am also using the IBM
example application of Online Banking which is described in the
RedBook 245423. The application works just fine, and I am trying
to use it as a model for building my own application. Now, my
application for some reason does not work at all. I could
understand if I was getting some sort of exception, but instead
it just says "Cannot find servlet", although the servlet is definitely
there, and I added my project to the project class path of the
SERunner. I also modified servlet.properties file to add my
lines instead of BankServlet lines in both startup and
"servlets added by the user" sections. Any help is greatly
appreciated.

Thank you very much,
Joe Vainshtein


Seth Kraut

unread,
Dec 7, 1999, 3:00:00 AM12/7/99
to
We've generally had success in doing the following very peculiar steps.

First, clear out the project classpath for SERunner. Just uncheck the boxes
or hit compute dependencies.

Second, restart VAJ.

Third, add the project classpaths back to SERunner.

This usually works the first time, but sometimes I've had to do it twice.
It feels a bit like magic, but it generally works. VAJ 3.0 does not seem to
have this problem.

Seth Kraut
seth...@yahoo.com


Joe Vainshtein wrote in message <384D2F97...@mpj.com>...

Joe Vainshtein

unread,
Dec 7, 1999, 3:00:00 AM12/7/99
to
Hi, Seth !

Thank you very much for your response. I tried to do this three times,
but unfortunately it did not help. Somehow, I am still getting the same
error. I attached the error stack that I am getting in the browser below
- may be you can make some sense out of it, but I can't. Thanks a lot
for your help again.

Joe Vainshtein

================================================================================================

the servlet named pageCompile at the requested URL

http://localhost:8080/theme/login.jsp

reported this exception pagecompile._theme_debug._login_xjsp_debug: Exception
caught for servlet: Cannot load servlet:
name=CompanyServlet code=null
codebase=/servlet/com.mpj.asrt.servlet.CompanyServlet. Please report this to the
administrator of the web
server.

pagecompile._theme_debug._login_xjsp_debug: Exception caught for servlet:
Cannot load servlet:
name=CompanyServlet code=null
codebase=/servlet/com.mpj.asrt.servlet.CompanyServlet
javax.servlet.ServletException: Exception caught for servlet: Cannot load
servlet: name=CompanyServlet code=null
codebase=/servlet/com.mpj.asrt.servlet.CompanyServlet
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
javax.servlet.ServletException(java.lang.String) void

pagecompile._theme_debug._login_xjsp_debug.service(javax.servlet.http.HttpServletRequest,

javax.servlet.http.HttpServletResponse) void
javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) void
com.sun.server.http.pagecompile.JSPState.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) void

com.sun.server.http.pagecompile.PageCompileServlet.doService(javax.servlet.http.HttpServletRequest,

javax.servlet.http.HttpServletResponse) void

com.sun.server.http.pagecompile.PageCompileServlet.doGet(javax.servlet.http.HttpServletRequest,

javax.servlet.http.HttpServletResponse) void

javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) void
com.sun.server.ServletState.callService(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) void
com.sun.server.ServletManager.callServletService(java.lang.String,
javax.servlet.ServletRequest,
javax.servlet.ServletResponse) void
com.ibm.servlet.engine.SEServletManager.callServletService(java.lang.String,
javax.servlet.ServletRequest, javax.servlet.ServletResponse) void
com.sun.server.ProcessingState.invokeTargetServlet()
void
com.sun.server.http.HttpProcessingState.execute(com.sun.server.ProcessingStage)
void
com.sun.server.http.stages.Runner.process(com.sun.server.ProcessingState)
boolean
com.sun.server.ProcessingSupport.process(com.sun.server.ProcessingState,
javax.servlet.ServletRequest,
javax.servlet.ServletResponse) boolean
com.sun.server.Service.process(com.sun.server.ProcessingState,
javax.servlet.ServletRequest, javax.servlet.ServletResponse) boolean

com.ibm.servlet.engine.SELauncher.processMultiThreaded(com.ibm.servlet.engine.SEService,

com.ibm.servlet.engine.SEConnectionHandler) void

com.ibm.servlet.engine.SEEngine.service(com.ibm.servlet.engine.api.IAppServerConnection)
void

com.ibm.servlet.engine.jws.SEServlet.service(javax.servlet.http.HttpServletRequest,

javax.servlet.http.HttpServletResponse) void
javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) void
com.sun.server.ServletState.callService(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) void
com.sun.server.ServletManager.callServletService(java.lang.String,
javax.servlet.ServletRequest, javax.servlet.ServletResponse) void
com.sun.server.ProcessingState.invokeTargetServlet()
void
com.sun.server.http.HttpProcessingState.execute(com.sun.server.ProcessingStage)
void
com.sun.server.http.stages.Runner.process(com.sun.server.ProcessingState)
boolean
com.sun.server.ProcessingSupport.process(com.sun.server.ProcessingState,
javax.servlet.ServletRequest,
javax.servlet.ServletResponse) boolean
com.sun.server.Service.process(com.sun.server.ProcessingState,
javax.servlet.ServletRequest, javax.servlet.ServletResponse) boolean

com.sun.server.http.HttpServiceHandler.handleRequest(com.sun.server.http.HttpServiceRequest,

com.sun.server.http.HttpServiceResponse) void

com.sun.server.http.HttpServiceHandler.handleRequest(com.sun.server.Endpoint)
void
com.sun.server.HandlerThread.run()
============================================================================

Ken Hygh

unread,
Dec 7, 1999, 3:00:00 AM12/7/99
to
In addition to the other things, there's a project that gets
automagically created that's named something like "JSP Compiled files"
or something similar that you need to add to SERunner's classpath.
Sorry I'm not more specific, but I just reinstalled VAJ and don't have
it at the moment.

Ken

Peter Kelley

unread,
Dec 8, 1999, 3:00:00 AM12/8/99
to
Try checking if the servlet needs some other class besides the servlet class. If you are using JDBC you
may also want to check that VA can see the db2java.zip file and that the sqllib\bin directory is in
your path.

Joe Vainshtein wrote:

--
Peter Kelley
IBM Solution Partnership Centre Sydney
"It's like swatting flies with a Laser Cannon, the aim's a little
tricky but it sure takes care of the flies" Miles Vorkosigan

0 new messages