Bugs item #521058, was opened at 2002-02-21 08:53
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=521058&group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Georg Schmid (giorgio42)
Assigned to: Nobody/Anonymous (nobody)
Summary: Argument type mismatch after redeploy

Initial Comment:

Bug:

Deploy hello.jar, then undeploy, then redeploy it
again.

After the redeployment calling the hello method
with a string parameter still works, but passing
a HelloData instance as parameter in the howdy()
method results in an IllegalArgumentException:

2002-02-21 17:36:19,188 INFO  
[org.jboss.ejb.EJBDeployer] 
Undeploying:file:/D:/apps/jboss/jboss-
3.0.0beta/deploy/hello.jar
2002-02-21 17:36:19,188 INFO  
[org.jboss.deployment.MainDeployer] could not delete 
directory file:/D:/apps/jboss/jboss-
3.0.0beta/tmp/deploy/70.hello.jar restart will delete 
it
2002-02-21 17:36:19,188 INFO  
[org.jboss.deployment.MainDeployer] Undeployed 
file:/D:/apps/jboss/jboss-3.0.0beta/deploy/hello.jar
2002-02-21 17:36:39,392 INFO  
[org.jboss.deployment.MainDeployer] Deploying: 
file:/D:/apps/jboss/jboss-3.0.0beta/deploy/hello.jar
2002-02-21 17:36:39,517 INFO  
[org.jboss.ejb.EJBDeployer] Deploying HelloWorld
2002-02-21 17:36:44,236 ERROR 
[org.jboss.invocation.jrmp.server.JRMPInvoker] 
operation failed
java.rmi.ServerException: argument type mismatch; 
nested exception is: 
        java.lang.IllegalArgumentException: argument 
type mismatch
java.lang.IllegalArgumentException: argument type 
mismatch
        at java.lang.reflect.Method.invoke(Native 
Method)
        at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterc
eptor.invoke(StatelessSessionContainer.java:642)
        at 
org.jboss.ejb.plugins.StatelessSessionInstanceIntercept
or.invoke(StatelessSessionInstanceInterceptor.java:77)
        at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext
(AbstractTxInterceptor.java:96)
        at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransacti
ons(TxInterceptorCMT.java:167)
        at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke
(TxInterceptorCMT.java:61)
        at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke
(SecurityInterceptor.java:127)
        at org.jboss.ejb.plugins.LogInterceptor.invoke
(LogInterceptor.java:166)
        at 
org.jboss.ejb.StatelessSessionContainer.invoke
(StatelessSessionContainer.java:308)
        at org.jboss.ejb.Container.invoke
(Container.java:630)
        at 
com.sun.management.jmx.MBeanServerImpl.invoke
(MBeanServerImpl.java:1555)
        at 
com.sun.management.jmx.MBeanServerImpl.invoke
(MBeanServerImpl.java:1523)
        at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke
(JRMPInvoker.java:364)
        at java.lang.reflect.Method.invoke(Native 
Method)
        at sun.rmi.server.UnicastServerRef.dispatch
(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown 
Source)
        at java.security.AccessController.doPrivileged
(Native Method)
        at sun.rmi.transport.Transport.serviceCall
(Unknown Source)
        at 
sun.rmi.transport.tcp.TCPTransport.handleMessages
(Unknown Source)
        at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.ru
n(Unknown Source)
        at java.lang.Thread.run(Unknown Source)


Context: RH from CVS (less than one hour old)
jdk1.3.1_02 from Sun
JBoss-3.0.0beta CVSTag=Rel_3_0_0_3
Default config

OS-System: Windows NT 4.0,x86

This happens on Windows NT as well as on Solaris.

(On Solaris removing the jar during undeployment works,
on WindowsNT never).

The only way I have found to get around this
is to restart the server.

Georg


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=521058&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to