Dims,

Actually when I put all jar files in common\lib, I could not even
deploy, I got java.lang.IllegalStateException: No valid ObjectCreator
found.

Thanks

John 

-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 27, 2007 3:08 PM
To: axis-user@ws.apache.org
Cc: Jain, Kokil
Subject: Re: Where to put Axis2 jar files on TOMCAT

find all the stax related jars in your environment. easy thumb rule,
you need to place the woodstox and stax jars in the same directory
whether it is in WEB-INF/lib or commons/lib. more importantly remove
any dups.

thanks,
dims

On 6/27/07, Chen, John (N-Avatar Inc.) <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I have been struggling with this issue for the last several days and I
> believe it is the Axis2 class loader issue
>
>
>
> Basically I am developing a system can act as both Web Services client
and
> server. To use it as a Web Services client, I have to put my
application jar
> file and all dependent Axis2 jar files under common/lib. To host my
Web
> Services, I have a war file with my Web Services configuration and
classes
> in it.
>
>
>
> My issue is, if I don't put any Axis2 jar files in the war file
> (WEB-INF/lib), I am getting the following exception,
>
> java.lang.IllegalStateException: No valid ObjectCreator found.
>
>         at
> org.apache.axiom.om.util.StAXUtils$Pool.<init>(StAXUtils.java:44)
>
>         at
> org.apache.axiom.om.util.StAXUtils.<clinit>(StAXUtils.java:68)
>
>         at
> org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:555)
>
>         at
> org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBui
>
>
>
> Then if I put those Axis2 jar files back in the war file, I don't have
any
> problem deploying it, but I got the following exception when invoking
the
> Web Services,
>
>
>
> ERROR AxisServlet - java.lang.LinkageError: Class
> javax/xml/stream/XMLStreamRead
>
> er violates loader constraints
>
>
>
>
>
> Thanks
>
>
>
> John


-- 
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to