axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24101] New: - Caching lead Axis to crash after a Hot redeployment
Date Fri, 24 Oct 2003 13:09:14 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24101>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24101

Caching lead Axis to crash after a Hot redeployment

           Summary: Caching lead Axis to crash after a Hot redeployment
           Product: Axis
           Version: 1.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: snicoll@kiala.com


Application Server: JBoss 3.2.2 using JBossNET and Axis 1.1

We have an EAR that contains an ejb module (entity beans and a stateless session
bean used a SOAP dispatcher) and a wsr module (web service definition). If we
deploy and ran some SOAP calls from an external client, everything is OK

If we then hot redeploy the application (meaning remove the entity beans and SB
from the system and redeploys them + removing and registering again the web
service) we have a problem in EJBProvider.java, line 196:

ehome = javax.rmi.PortableRemoteObject.narrow(ejbHome, homeClass);

Web service deploymen descriptor:

<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

    <service name="KpSyncherService" provider="java:EJB">
        <requestFlow>
            <handler type="soapmonitor"/>
        </requestFlow>
        <responseFlow>
            <handler type="soapmonitor"/>
        </responseFlow>

        <parameter name="beanJndiName"
value="ejb/kiala/nodesynch/NodeSyncherLocal"/>
        <parameter name="homeInterfaceName"
value="com.kiala.kserver.driver.nodesynch.NodeSyncherLocalHome"/>
        <parameter name="remoteInterfaceName"
value="com.kiala.kserver.driver.nodesynch.NodeSyncherLocal"/>
        <parameter name="allowedMethods" value="login, logout,
getSoftwareUpdateURLs, resetTransactions, retrieveTransactions,
updateTransactions"/>
        <parameter name="jndiURL" value="jnp://localhost:1099"/>
        <parameter name="jndiContextClass"
value="org.jnp.interfaces.NamingContextFactory"/>
        <beanMapping qname="pocNS:LoginResponse" xmlns:pocNS="urn:BeanService"
languageSpecificType="java:com.kiala.kserver.driver.nodesynch.synchdata.LoginResponse"/>
        <beanMapping qname="pocNS:LogoutRequest" xmlns:pocNS="urn:BeanService"
languageSpecificType="java:com.kiala.kserver.driver.nodesynch.synchdata.LogoutRequest"/>
        <beanMapping qname="pocNS:TransactionResponse"
xmlns:pocNS="urn:BeanService"
languageSpecificType="java:com.kiala.kserver.driver.nodesynch.synchdata.TransactionResponse"/>
        <beanMapping qname="pocNS:TransactionItem" xmlns:pocNS="urn:BeanService"
languageSpecificType="java:com.kiala.kserver.driver.nodesynch.synchdata.TransactionItem"/>
        <beanMapping qname="pocNS:SoftwareUpdateResponse"
xmlns:pocNS="urn:BeanService"
languageSpecificType="java:com.kiala.kserver.driver.nodesynch.synchdata.SoftwareUpdateResponse"/>
        <beanMapping qname="pocNS:SoftwareUpdateItem"
xmlns:pocNS="urn:BeanService"
languageSpecificType="java:com.kiala.kserver.driver.nodesynch.synchdata.SoftwareUpdateItem"/>
    </service>
</deployment>

The error is (after hot redeployment):

2003-10-24 13:44:06,230 INFO 
[org.apache.axis.utils.bytecode.ParamNameExtractor] AXIS
error:java.io.IOException: Unable to load bytecode for class
"com.kiala.kserver.driver.nodesynch.NodeSyncherLocal"


java.lang.ClassCastException
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:343)
        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)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)

Mime
View raw message