It works fine when I put the jar in WEB-INF/lib, but I
just could not find a way to make the jar share among
wars ...

Thanks

John

--- robert lazarski <[EMAIL PROTECTED]> wrote:

> Sounds like a jboss config issue . Try putting the
> jar in WEB-INF/lib
> of the war inside the ear and axis2 will probably
> find it. Seems like
> you are trying to share the same jar from the ear to
> the wars ...
> which does not seem like an axis2 issue, but rather
> a J2EE classloader
> issue .
> 
> HTH,
> Robert
> 
> On 9/12/06, Z Chen <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I deployed my web services war file in a ear file
> to
> > JBoss server and I moved some libraries to ear
> file
> > level for sharing across the ear file, such as
> > stax-api.jar and XmlSchema-1.0.2.jar. I got
> > NoClassFoundException when Jboss is trying to
> deploy
> > the web services.
> >
> > Sounds like it is AAR classloader issue, it is
> able to
> > locate classes in XmlSchema-1.0.2.jar, but not the
> > QName.class which is in stax-api.jar. Any idea ?
> >
> > Thanks
> >
> > John
> >
> > INFO 
> [org.apache.axis2.deployment.DeploymentEngine]
> > Invalid service  DialerService.aar due to
> > java.lang.NoClassDefFoundError:
> > javax/xml/namespace/QName
> >         at
> >
>
org.apache.ws.commons.schema.constants.Constants.<clinit>(Constants.java:40)
> >         at
> >
>
org.apache.ws.commons.schema.XmlSchemaCollection.init(XmlSchemaCollection.java:120)
> >         at
> >
>
org.apache.ws.commons.schema.XmlSchemaCollection.<init>(XmlSchemaCollection.java:267)
> >         at
> >
>
org.apache.axis2.description.WSDL2AxisServiceBuilder.getXMLSchema(WSDL2AxisServiceBuilder.java:944)
> >         at
> >
>
org.apache.axis2.description.WSDL2AxisServiceBuilder.copyExtensibleElements(WSDL2AxisServiceBuilder.java:1067)
> >         at
> >
>
org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:221)
> >         at
> >
>
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:192)
> >         at
> >
>
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:261)
> >         at
> >
>
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:604)
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.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]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to