Actually I didn't get any debug output from axis2 or
axiom what I suspect is creating the problem, but I
got the following stack trace,
java.lang.ClassCastException
at
javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136
)
at
org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:
35)
at
org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.ja
va:59)
at
org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBui
lder.java:81)
at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConf
igBuilder.java:63)
at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguratio
n(DeploymentEngine.java:769)
at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfigurati
on(FileSystemConfigurator.java:113)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
ionContext(ConfigurationContextFactory.java:38)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
ionContextFromFileSystem(ConfigurationContextFactory.java:90)
at
com.crsoftwareinc.crs.core.webservice.dialer.AgentRequestServiceStub.
<init>(AgentRequestServiceStub.java:98)
at
com.crsoftwareinc.crs.core.dao.dialer.impl.DialerAgentRequestDAOAxisI
mpl.createAxisStubClass(DialerAgentRequestDAOAxisImpl.java:99)
at
com.crsoftwareinc.crs.core.dao.dialer.impl.DialerAgentRequestDAOAxisI
mpl.agentSimpleAction(DialerAgentRequestDAOAxisImpl.java:78)
Also I used some decompiler tool to decompile those
classes and didnt find any logging statement in those
classes, probably that is why I didn't get any
debugging output.
Thanks
John
--- robert lazarski <[EMAIL PROTECTED]> wrote:
> Find your log4j.xml - probably
> server/default/conf/log4j.xml - and
> change your logging to debug as so:
>
> <category name="org.apache">
> <priority value="DEBUG"/>
> </category>
>
> Then show us the all the relevant info up until the
> exception and then
> maybe we can help.
>
> Robert
>
> On 9/19/06, Z Chen <[EMAIL PROTECTED]> wrote:
> > I have an application deployed in JBoss (a ear
> file),
> > when the application invoke a remote Web services.
> > First I put all the Axis2 related jar files inside
> my
> > ear file and defined manifest to reference these
> > libraries from my web application, I got
> > ClassDefNotFoundException
> > (javax/xml/namespace/NamespaceContext). But If I
> move
> > these jar files to web-inf/lib, I got a
> > ClassCastException and the stack trace didn't show
> any
> > details.
> >
> > Anybody has an idea ? Please help.
> >
> > Thanks
> >
> > John
> >
> > __________________________________________________
> > 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]