users@jax-rpc.java.net

Re: Is Apache Axis required to deploy JAX-RPC application?.

From: Merten Schumann <Merten.Schumann_at_asg.com>
Date: Wed, 4 Aug 2004 10:12:20 +0200

Hello Bobby,

it worked! :-)

Just to mention, maybe it's of interest: I had to copy these .jar's (out
of Sun J2EE 1.4 RI) following the missing class exceptions from Tomcat
   jaxrpc-impl.jar, jaxrpc-api.jar
   jax-qname.jar (javax/xml/namespace/Qname)
   j2ee.jar (javax/xml/soap/SOAPException)
   saaj-impl.jar
(com/sun/xml/messaging/saaj/soap/SOAPVersionMismatchException)

When I deploy my .war for example to WebSphere, I can take the RAW
version. WebSphere seems to evaluate the jaxrpc-ri.xml file itself and
does create all this tie stuff and all. So, I guess the current Tomcat
version is not "JAXRPC ready" per default. You have to assemble an
JAXRPC implementation specific .war (for example, with Sun J2EE's libs
and wsdeploy tool) and provide the implementation specific .jars to
Tomcat. At least, even with the JAXRPC jars in common/libs, when I copy
my raw .war to Tomcat webapps, nothing (besides from extracting the
.war) happens.

Bobby, thank you for the response!
   Merten

> -----Original Message-----
> From: Bobby Bissett [mailto:Robert.Bissett_at_Sun.COM]
> Sent: Tuesday, August 03, 2004 6:14 PM
> To: users_at_jax-rpc.dev.java.net
> Subject: Re: Is Apache Axis required to deploy JAX-RPC application?.
>
>
> > Hm, I thought the cooked .war is Sun specific, since
> wsdeploy generates
> > dependencies to Sun classes.
>
> Like other war files, it should work in any serlvet-compliant
> web server
> as long as the needed classes are in the classpath of the web
> server (or
> are in the war file). I have used a standalone tomcat server (the
> servlet container RI) in the past and simply copied the
> jaxrpc jars into
> the common/lib dir and it has worked fine.
>
> > java.lang.ClassNotFoundException:
> > com.sun.xml.rpc.server.http.JAXRPCContextListener
>
> Are the jar files definitely in the classpath? If you installed jwsdp
> over the suggested tomcat container, this should happen
> automatically.
> Otherwise, try copying the jwsdp jars into the server's common lib
> directory. The file you're missing is in the jaxrpc-impl.jar file.
>
> Cheers,
> Bobby

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net