You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Harshad Nanal <ha...@mahindrabt.com> on 2001/05/07 06:47:00 UTC

[Fwd: Re: SOAP and EJBs]

Thanks Cecile

But I get following error with Soap 2.1 tool. 
Any clues?
---------------
I could configure and run the examples with
soap 2.0 / tomcat 3.2.1/xerces1.2.3

However I tried changing to soap2.1 I get following errors
( I have set the classpath to soap21.jar and soap21 directory. Also I
have changed the server.xml file of tomcat to include
soap21/webapp/soap  path)

When i run the browser admin tool  : 
when i run list.jsp / deply.jsp i get following error in the browser.

<h1>Error: 500</h1>
<h2>Location: /soap/admin/list.jsp</h2><b>Internal Servlet
Error:</b><br><pre>javax.servlet.ServletException:  Cannot create bean
of class org.apache.soap.server.ServiceManager
        at

admin._0002fadmin_0002flist_0002ejsplist_jsp_0._jspService(_0002fadmin_0002flist_0002ejsplist_jsp_0.java:75)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)  
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
        etc

AND 

and This error on the tomcat server console

2001-05-03 03:44:42 - Ctx( /soap ): Exception in: R( /soap +
/admin/list.jsp + n
ull) - javax.servlet.ServletException:  Cannot create bean of class
org.apache.s
oap.server.ServiceManager
        at
admin._0002fadmin_0002flist_0002ejsplist_jsp_0._jspService(_0002fadmi
n_0002flist_0002ejsplist_jsp_0.java:75)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer
vlet.java:177)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
18)
        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4
04)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372 
etc


What could be the problem? 

How are u all working on soap21.jar?

Harshad



-------- Original Message --------
Subject: Re: SOAP and EJBs
Date: Thu, 3 May 2001 14:12:15 +0200
From: Saint-Martin Cécile <cs...@symetrx.com>
Reply-To: soap-user@xml.apache.org
To: <so...@xml.apache.org>
References: <E3...@KRAKATOA>
<01...@MESSAC>
<3A...@mahindrabt.com>

I tried your dd and i had no error.
You should download last version of Apache SOAP.

Cécile Saint-Martin
csaintmartin@symetrx.com

----- Original Message -----
From: "Harshad Nanal" <ha...@mahindrabt.com>
To: <so...@xml.apache.org>
Sent: Thursday, May 03, 2001 1:49 PM
Subject: Re: SOAP and EJBs


> I am trying the same thing with weblogic 5.2 server ( set up is correct
> and tested with addressbook example)
> When i try to deploy the service i get following error on the command
> prompt
>
> D:\soap20\samples\ejb>java org.apache.soap.server.ServiceManagerClient
> http://lo
> calhost:8080/soap/servlet/rpcrouter deploy dd.xml
> Exception in thread "main" java.lang.IllegalArgumentException: invalid
> value for
>  type or scope or methods attribute in provider element of deployment
> descriptor
>         at
> org.apache.soap.server.DeploymentDescriptor.fromXML(DeploymentDescrip
> tor.java:317)
>         at
> org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
> .java:188)
>
>
> dd.xml is
> <?xml version="1.0"?>
> <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
> id="urn:testprovider">
> <isd:provider type="org.apache.soap.providers.StatelessEJBProvider"
> scope="Session" methods="create">
> <isd:java class="HelloService"/>
> <isd:option key="FullHomeInterfaceName" value="HelloServiceHome"/>
> <isd:option key="ContextProviderURL" value="t3://localhost:8080"/>
> <isd:option key="FullContextFactoryName"
> value="weblogic.jndi.WLInitialContextFactory"/>
> </isd:provider>
>
>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListene
r>
> </isd:service>
>
> I have also tried with isd:provider scope as Application / Session /
> Request the error is same.
>
> There is no log on the weblogic server side.
> Please Help
> Harshad
>
>
>
> Saint-Martin Cécile wrote:
> >
> > We have done this with tomcat, give your deployment descriptor..
> >
> > Cécile Saint-Martin
> > csaintmartin@symetrx.com


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org