well, this is deployed as an axis2 web app, im doing all the binding and stuff 
in jibx 1.1.6a, and the axis-jibx.jar is 1.4, could that  be my incompatibility?



-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Serkan Camurcuoglu
Sent: Thu 7/10/2008 10:47 AM
To: JiBX users
Subject: Re: [jibx-users] java.lang.ExceptionInInitializerError
 
after an exceptionininitializererror you always get a 
noclassdeffounderror since the class failed to initialize.. the message 
"Specified parser factory class org.jibx.runtime.impl.StAXReaderFactory 
does not implement IXMLReaderFactory interface" indicates that you 
should inspect where jibx classes are loaded from, maybe this is also 
about jibx runtime versions..


Slepecki, Willie wrote:
>
> this gets a little weirder.  when i bring up weblogic and send my 
> request to the server, i get the error i previously posted.  but when 
> i run the exact same request a second time, i get this stack dump
>
> <Jul 10, 2008 10:39:07 AM EDT> <Notice> <Stdout> <BEA-000000> <[ERROR]
> java.lang.NoClassDefFoundError
>         at 
> com.jpmc.paycare.schema.common.JiBX_its_core_jibx_bindingFactory.createUnmarshallingContext()
>         at 
> com.jpmc.paycare.its.web.ITSMessageReceiverInOut.getNewUnmarshalContext(ITSMessageReceiverInOut.java:284)
>         at 
> com.jpmc.paycare.its.web.ITSMessageReceiverInOut.fromOM(ITSMessageReceiverInOut.java:305)
>         at 
> com.jpmc.paycare.its.web.ITSMessageReceiverInOut.invokeBusinessLogic(ITSMessageReceiverInOut.java:158)
>         at 
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>         at 
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
>         at 
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>         at 
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>         at 
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
>         at 
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
>         at 
> weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
>         at 
> weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
>         at 
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3395)
>         at 
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
>         at 
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
>         at 
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
>         at 
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
>         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
>         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)>
>
>
> is there a way for the binder app to also generate the sources for the 
> bindings so i can track this down and find out exactly what class its 
> not finding?
>
>
> -----Original Message-----
> From: Slepecki, Willie
> Sent: Wed 7/9/2008 3:33 PM
> To: [email protected]
> Subject: java.lang.ExceptionInInitializerError
>
> ok, about a dozen problems down and at a minimum one more to go.  ive 
> got my test class hitting the web service with a soap xml, and am 
> getting this exception.
>
>
> <Jul 9, 2008 3:16:49 PM EDT> <Notice> <Stdout> <BEA-000000> <[ERROR]
> java.lang.ExceptionInInitializerError
>         at 
> com.jpmc.paycare.schema.common.JiBX_its_core_jibx_bindingFactory.createUnmarshallingContext()
>         at 
> com.jpmc.paycare.its.web.ITSMessageReceiverInOut.getNewUnmarshalContext(ITSMessageReceiverInOut.java:283)
>         at 
> com.jpmc.paycare.its.web.ITSMessageReceiverInOut.fromOM(ITSMessageReceiverInOut.java:304)
>         at 
> com.jpmc.paycare.its.web.ITSMessageReceiverInOut.invokeBusinessLogic(ITSMessageReceiverInOut.java:157)
>         at 
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>         at 
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
>         at 
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>         at 
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>         at 
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
>         at 
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
>         at 
> weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
>         at 
> weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
>         at 
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3395)
>         at 
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
>         at 
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
>         at 
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
>         at 
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
>         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
>         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
> Caused by: java.lang.RuntimeException: Specified parser factory class 
> org.jibx.runtime.impl.StAXReaderFactory does not implement 
> IXMLReaderFactory interface
>         at 
> org.jibx.runtime.impl.UnmarshallingContext.createReaderFactory(UnmarshallingContext.java:188)
>         at 
> org.jibx.runtime.impl.UnmarshallingContext.<clinit>(UnmarshallingContext.java:80)
>         ... 23 more>
>
> now this may be a namespace issue, here is the xml im sending
>
> <SOAP-ENV:Envelope 
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:m0="http://schema.paycare.jpmc.com/Common";>
>         <SOAP-ENV:Body>
>                 <m:TxnIPTransactionRequest
>                 
> xmlns:m="http://schema.paycare.jpmc.com/txnIPTransactionRequest";>
>                         <SecurityInfo>
>                                 <m0:TxnStateAbbr>AK</m0:TxnStateAbbr>
>                                 <m0:TxnDeviceID>a</m0:TxnDeviceID>
>                                 <m0:TxnToken>a</m0:TxnToken>
>                                 
> <m0:TxnDeviceTime>2001-12-17T09:30:47.0Z</m0:TxnDeviceTime>
>                         </SecurityInfo>
>                         <MessageData>String</MessageData>
>                 </m:TxnIPTransactionRequest>
>         </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> ------------------------------------------------------------------------
>
> _______________________________________________
> jibx-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>   


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to