Bugs item #848106, was opened at 2003-11-24 08:55
Message generated for change (Comment added) made by cgjung
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=848106&group_id=22866
Category: JBossSOAP
Group: v3.2
Status: Open
>Resolution: Works For Me
Priority: 5
Submitted By: Stephane Nicoll (stephane_nicoll)
>Assigned to: Dr. Christoph Georg Jung (cgjung)
Summary: ClassCastException on SOAP calls upon redeployment
Initial Comment:
OS: Redhat linux 9
Java: SUN VM 1.4.1_02
The bug is reproductible with both JBoss 3.2.2 and
3.2.3RC1
We have an application, packaged as an EAR and
containing mainly:
- an EJB module JAR containing SessionBeans, Entity
Beans and MDB
- an WSR module JARr containing a web service
declaration
- Some librairies
The WSR module defines a web service that use a
SessionBean to process incoming SOAP calls
Eveything runs fine but when we hot-redeploy the EAR,
we have a ClassCastException and the web service does
not work anymore (we need to restart JBoss to fix this).
My guesses is that this is an Axis bug but I already
opened a bug @t apache without any feedback. We
discussed this issue in the JBoss-user mailing list see the
thread:
JBossNET hot deployment problem (ClassCastException)
This shows the classes / interfaces are OK after un
hotdeploy (see the thread for test output suggested by
Adrian)
What we have after the hot-redeploy at server side is
the following:
2003-11-24 08:40:57,873 INFO
[org.apache.axis.utils.bytecode.ParamNameExtractor]
AXIS error:java.io.IOException: Unable to load bytecode
for
class "com.kiala.kserver.driver.nodesynch.NodeSyncherLo
cal"
AxisFault
faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}
Server.userException
faultSubcode:
faultString: java.lang.ClassCastException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:
java.lang.ClassCastException
at
com.sun.corba.se.internal.javax.rmi.PortableRemoteObjec
t.narrow(PortableRemoteObject.java:293)
at javax.rmi.PortableRemoteObject.narrow
(PortableRemoteObject.java:134)
at
org.apache.axis.providers.java.EJBProvider.createRemote
EJB(EJBProvider.java:168)
at
org.apache.axis.providers.java.EJBProvider.makeNewServi
ceObject(EJBProvider.java:147)
at
org.apache.axis.providers.java.JavaProvider.getNewServi
ceObject(JavaProvider.java:261)
at
org.apache.axis.providers.java.JavaProvider.getServiceOb
ject(JavaProvider.java:138)
at
org.apache.axis.providers.java.JavaProvider.invoke
(JavaProvider.java:313)
at
org.apache.axis.strategies.InvocationStrategy.visit
(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting
(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke
(SimpleChain.java:120)
at
org.apache.axis.handlers.soap.SOAPService.invoke
(SOAPService.java:481)
at org.apache.axis.server.AxisServer.invoke
(AxisServer.java:323)
at
org.apache.axis.transport.http.AxisServlet.doPost
(AxisServlet.java:854)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:760)
at
org.apache.axis.transport.http.AxisServletBase.service
(AxisServletBase.java:339)
Should you need further info, let me know.
Regards,
Stephane Nicoll
----------------------------------------------------------------------
>Comment By: Dr. Christoph Georg Jung (cgjung)
Date: 2003-11-24 14:06
Message:
Logged In: YES
user_id=175199
You should use the org.jboss.net.axis.server.EJBProvider
instead of the axis one (this is what i suspect from your
trace) as our provider is especially designed to cope with the
classloading environment of jboss (and does not employ all
the complicated jndi/narrow stuff which is faster).
CGJ
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=848106&group_id=22866
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development