You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Irfan Mohammed <Ir...@iis.com> on 2001/07/14 02:46:10 UTC

Installing SOAP in VAJ 3.5.2 Test Environment

Im trying to install Soap 2.2 on IBM VAJ 3.5.2 using the websphere test
environment as the servlet container.  While i can view the index page and
also contact the rpcrouter i am not able to view the deploy, list and
undeploy pages.  Here is the error Im getting.  Any help would be
appreciated. I do have the soap.jar in my classpath as well as part of my
package.

Thanks
Irfan

An error has occured while processing
request:http://localhost:8080/soap/admin/list.jsp
Message:Server caught unhandled exception from servlet [jsp]
Target Servlet: jsp
StackTrace: 
----------------------------------------------------------------------------
----
Root Error-1: Cannot create bean of class
org.apache.soap.server.ServiceManager
javax.servlet.ServletException: Cannot create bean of class
org.apache.soap.server.ServiceManager java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
javax.servlet.ServletException(java.lang.String) void
admin._list_xjsp._jspService(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse) void
com.sun.jsp.runtime.HttpJspBase.service(javax.servlet.http.HttpServletReques
t, javax.servlet.http.HttpServletResponse) void
javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) void
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(javax.servlet.http.
HttpServletRequest, javax.servlet.http.HttpServletResponse) void
com.ibm.ivj.jsp.runtime.JspDebugServlet.serviceJspFile(javax.servlet.http.Ht
tpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String,
java.lang.Throwable) void
com.sun.jsp.runtime.JspServlet.service(javax.servlet.http.HttpServletRequest
, javax.servlet.http.HttpServletResponse) void
javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) void
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(javax.servlet.
ServletRequest, javax.servlet.ServletResponse) void
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(javax.servlet.
ServletRequest, javax.servlet.ServletResponse) void
com.ibm.servlet.engine.webapp.IdleServletState.service(com.ibm.servlet.engin
e.webapp.StrictLifecycleServlet, javax.servlet.ServletRequest,
javax.servlet.ServletResponse) void
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(javax.servlet.S
ervletRequest, javax.servlet.ServletResponse) void
com.ibm.servlet.engine.webapp.ServletInstance.service(javax.servlet.ServletR
equest, javax.servlet.ServletResponse,
com.ibm.servlet.engine.webapp.WebAppServletInvocationEvent) void
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(com.ibm.se
rvlet.engine.webapp.ServletInstanceReference, javax.servlet.ServletRequest,
javax.servlet.ServletResponse,
com.ibm.servlet.engine.webapp.WebAppServletInvocationEvent) void
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(javax.servle
t.ServletRequest, javax.servlet.ServletResponse,
com.ibm.servlet.engine.webapp.WebAppServletInvocationEvent) void
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(c
om.ibm.servlet.engine.webapp.WebAppRequest,
com.ibm.servlet.engine.webapp.WebAppResponse, boolean) void
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(javax.servlet
.ServletRequest, javax.servlet.ServletResponse, boolean) void
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(javax.servlet.
ServletRequest, javax.servlet.ServletResponse) void
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(java.lang.Obje
ct) void
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(java.lan
g.Object) void
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(java.lang.S
tring, com.ibm.servlet.engine.srp.ISRPConnection) void
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(com.ibm.ser
vlet.engine.oselistener.api.IOSEConnection) void
com.ibm.servlet.engine.http_transport.HttpTransportHandler.handleConnection(
java.net.Socket) void
com.ibm.servlet.engine.http_transport.HttpTransportHandler.run() void
java.lang.Thread.run() 

Re: Installing SOAP in VAJ 3.5.2 Test Environment

Posted by Tom Myers <to...@dreamscape.com>.
At 05:46 PM 7/13/2001 -0700, Irfan  Mohammed wrote:
>Im trying to install Soap 2.2 on IBM VAJ 3.5.2 using the websphere test
>environment as the servlet container.  While i can view the index page and
>also contact the rpcrouter i am not able to view the deploy, list and
>undeploy pages.  Here is the error Im getting.  Any help would be
>appreciated. I do have the soap.jar in my classpath as well as part of my
>package....
>An error has occured while processing
>request:http://localhost:8080/soap/admin/list.jsp
>Message:Server caught unhandled exception from servlet [jsp]
>Target Servlet: jsp
>StackTrace: 
>----------------------------------------------------------------------------
>----
>Root Error-1: Cannot create bean of class
>org.apache.soap.server.ServiceManager
>javax.servlet.ServletException: Cannot create bean of class
>org.apache.soap.server.ServiceManager 

Generated servlets from JSP's tend to include this exception, e.g. 
>try {
>  cart = (sessions.DummyCart) Beans.instantiate(this.getClass().getClassLoader(), "sessions.DummyCart");
>} catch (Exception exc) {
>  throw new ServletException (" Cannot create bean of class "+"sessions.DummyCart");
>}

which is from one of the Tomcat example JSPs. In this case you're getting it from
list.jsp's generated servlet, and neither SOAP 2.2 nor SOAP 2.1 load the ServiceManager
as a bean. Is it possible that you're still using the SOAP 2.0 list.jsp file here?
Or am I wildly off again?

Tom Myers



Re: Installing SOAP in VAJ 3.5.2 Test Environment

Posted by Tom Myers <to...@dreamscape.com>.
At 05:46 PM 7/13/2001 -0700, Irfan  Mohammed wrote:
>Im trying to install Soap 2.2 on IBM VAJ 3.5.2 using the websphere test
>environment as the servlet container.  While i can view the index page and
>also contact the rpcrouter i am not able to view the deploy, list and
>undeploy pages.  Here is the error Im getting.  Any help would be
>appreciated. I do have the soap.jar in my classpath as well as part of my
>package....
>An error has occured while processing
>request:http://localhost:8080/soap/admin/list.jsp
>Message:Server caught unhandled exception from servlet [jsp]
>Target Servlet: jsp
>StackTrace: 
>----------------------------------------------------------------------------
>----
>Root Error-1: Cannot create bean of class
>org.apache.soap.server.ServiceManager
>javax.servlet.ServletException: Cannot create bean of class
>org.apache.soap.server.ServiceManager 

Generated servlets from JSP's tend to include this exception, e.g. 
>try {
>  cart = (sessions.DummyCart) Beans.instantiate(this.getClass().getClassLoader(), "sessions.DummyCart");
>} catch (Exception exc) {
>  throw new ServletException (" Cannot create bean of class "+"sessions.DummyCart");
>}

which is from one of the Tomcat example JSPs. In this case you're getting it from
list.jsp's generated servlet, and neither SOAP 2.2 nor SOAP 2.1 load the ServiceManager
as a bean. Is it possible that you're still using the SOAP 2.0 list.jsp file here?
Or am I wildly off again?

Tom Myers