NCL Community Forum Index
  Home   Login   Register   Help   Memberlist   Search   NCL  

NCL Community Forum Index » Provato Support » Weblogic throws XML SoapParseException exception
Post new topic  Reply to topic View previous topic :: View next topic 
Weblogic throws XML SoapParseException exception
PostPosted: Wed Jul 27, 2005 2:17 pm Reply with quote
Administrator
Site Admin
Joined: 11 Aug 2004
Posts: 237




Running Provato on WebLogic 8.1 produces an exception below.

There is a library conflict problem here. Weblogic seem to bundle a (quite old) version of MXP
(http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/index.html) in the server/lib/wlxbean.jar file.

Provato uses MXP and needs an up-to-date version of it.

For some reason in the weblogic instance, the old version of mxp in wlxbean.jar is being loaded before provato has started.
So when provato goes to use mxp it gets the weblogic version instead of it's own version (class loading problems again!).

You can verify that this is indeed the problem by putting an up-to-date version of mxp on weblogic's classpath.
To do this, copy the attached jar into your weblogic domain folder and add the following to your start script:
set CLASSPATH=xpp3-1.1.3.4.M.jar;%CLASSPATH% (put this after all other classpath set commands).

Code:

<Error> <HTTP> <BEA-101017> <[ServletContext(id=45895026,name=cdp,context-path=/cdp)] Root cause of ServletException.
ie.ncl.vivato.soap.SoapParseException: org.xmlpull.v1.XmlPullParserException: unknown feature http://xmlpull.org/v1/doc/features.html#names-interned
        at ie.ncl.vivato.soap.SoapPdu.readFromStream(Ljava.lang.String;Ljava.io.InputStream;)V(SoapPdu.java:96)
        at ie.ncl.vivato.soap.messageapi.SendMessageRequestPdu.<init>(Ljava.lang.String;Ljava.io.InputStream;)V(SendMessageRequestPdu.java:24)
        at ie.ncl.vivato.soap.messageapi.ProvateMessageSoapPduFactory.decodeRequest(Ljava.lang.String;Ljava.io.InputStream;Ljava.lang.String;)Lie.ncl.vivato.soap.SoapPdu;(ProvateMessageSoapPduFactory.java:20)
        at ie.ncl.vivato.soap.SoapServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(SoapServlet.java:30)
        at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
        at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6452)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
        at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3661)
        at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2630)
        at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
        at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
        at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
Caused by: org.xmlpull.v1.XmlPullParserException: unknown feature http://xmlpull.org/v1/doc/features.html#names-interned
        at org.xmlpull.mxp1.MXParser.setFeature(Ljava.lang.String;Z)V(MXParser.java:745)
        at org.xmlpull.mxp1.MXParserFactory.newPullParser()Lorg.xmlpull.v1.XmlPullParser;(MXParserFactory.java:46)
        at org.xmlpull.v1.parser_pool.XmlPullParserPool.newParser()Lorg.xmlpull.v1.XmlPullParser;(XmlPullParserPool.java:34)
        at org.xmlpull.v1.parser_pool.XmlPullParserPool.getPullParserFromPool()Lorg.xmlpull.v1.XmlPullParser;(XmlPullParserPool.java:49)
        at ie.ncl.vivato.soap.XmlPullUtils.getPullParser()Lorg.xmlpull.v1.XmlPullParser;(XmlPullUtils.java:46)
        at ie.ncl.vivato.soap.SoapPdu.parseXml(Ljava.lang.String;Ljava.io.InputStream;)V(SoapPdu.java:139)
        at ie.ncl.vivato.soap.SoapPdu.readFromStream(Ljava.lang.String;Ljava.io.InputStream;)V(SoapPdu.java:87)
        ... 16 more
>
[/url]
View user's profile Send private message

Weblogic throws XML SoapParseException exception
 NCL Community Forum Index » Provato Support
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic