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


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

>Comment By: Georg Schmid (giorgio42)
Date: 2002-02-23 06:09

Message:
Logged In: YES 
user_id=437570


The easiest way to reproduce this error is to
run the test suite a second time without restarting
the server. After the second run has completed:

testsuite\output\log>grep -n IllegalArgumentException 
*.log|wc -l
     10

Some BeanUnitTestCase suffers from the same problem.

This really gives me the breaks with JBoss, because
I have to restart the server each time I need to 
redeploy an EJB.

Any ideas? Any help? 

If someone is willing to point me in the right direction
I'll attack this myself (have to), but currently
I have no clue what could cause these exceptions.

(I've been working all day with JBoss
for the last two and a half month, making transitions
from 2.4.4 to 3.0alpha to 3.0beta. Now that my project 
is approaching production mode, JBoss seems kind of messed 
up.

And the 3.0alpha from the first half of January looked 
so good... but with all the changes in jbosscmp-jdbc.xml
I could not go back even if I had a backup
of that version.

Sigh.

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