wood burning stoves 2.0*
The moose likes Web Services and the fly likes Need some help with JAXM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Need some help with JAXM " Watch "Need some help with JAXM " New topic
Author

Need some help with JAXM

vinay chandra
Greenhorn

Joined: Jan 15, 2002
Posts: 1
Hi,
1) Has anybody ... successfully used JAXM of "java_xml_pack-winter-01-dev" on Weblogic 6.1?
2) The following is the exception i am facing ... when i run the sample programs from .. JAXM specification. I am deploying the application in Weblogic 6.1 server
i tried .. setting the content type to "text/*"

javax.mail.internet.ParseException at javax.mail.internet.ParameterList.<init>(ParameterList.java:61)
at javax.mail.internet.ContentType.<init>(ContentType.java:83)
at com.sun.xml.messaging.soap.MessageImpl.<init>(MessageImpl.java:89)
at com.sun.xml.messaging.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:32)
at javax.xml.messaging.JAXMServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
<Oct 4, 2001 9:34:46 AM EST> <Error> <HTTP> <[WebAppServletContext(1401036,jaxmWAR,/jaxmWAR)] Servlet failed with ServletException
javax.servlet.ServletException: JAXM POST failed Unable to internalize message
at javax.xml.messaging.JAXMServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)>
java.io.FileNotFoundException: Response: '500: Internal Server Error' for url: 'http://localhost:7001/jaxmWAR/ReceivingServlet'
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:363)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:230)
at com.sun.xml.messaging.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:198)
at com.sun.xml.messaging.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:105)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:84)
at SendingServlet.doGet(SendingServlet.java:121)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
javax.xml.soap.SOAPException: java.security.PrivilegedActionException <<javax.xml.messaging.JAXMException: Message send failed>>
at com.sun.xml.messaging.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:88)
at SendingServlet.doGet(SendingServlet.java:121)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
0 [ExecuteThread: '12' for queue: 'default'] ERROR Samples/Simple - Error in constructing or sending messagejava.security.PrivilegedActionException <<javax.xml.messaging.JAXMException: Message send failed>>


There seems to be a problem with JAXMServlet in jaxm.jar as ... the OnMessage Method itself is not being called
I am using the "java_xml_pack-winter-01-dev"
If u have any solution for this, would appreciate if u can mail to me at vinay@ssl.co.in



Rgds
Vinay
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need some help with JAXM
 
Similar Threads
java.net.SocketException
Weblogic server console deployment error
getting problem while deploying the ear file
ClassCastException :SerialConnection
Help!!! struts.action.MESSAGE error