<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY>
<DIV><FONT face=Arial color=#000000 size=2>Hello,<BR> I've got the
following issue with JBoss AS 5.0.0 Beta:<BR>After I run a test (in "one-test"
mode, so no previous test caused an time out etc.), I see on the server
console that the corresponding jar is undeploying and the home interfaces are
unbinding. But when I run the test again, I get
InstanceAlreadyExistsException:</FONT></DIV><FONT face=Arial color=#000000
size=2>
<DIV><BR>11:43:12,406 INFO [Server] JBoss (MX MicroKernel) [5.0.0.Beta
(build: CVSTag=HE<BR>AD date=200608071122)] Started in
1m:3s:563ms<BR>11:43:53,046 INFO [EjbModule] Deploying
Customer<BR>11:43:53,234 INFO [EjbModule] Deploying
Account<BR>11:43:53,250 INFO [EjbModule] Deploying Teller<BR>11:43:53,281
INFO [EjbModule] Deploying Bank<BR>11:43:54,687 INFO [ProxyFactory]
Bound EJB Home 'Customer' to jndi 'bank/Custom<BR>er'<BR>11:43:54,703 INFO
[ProxyFactory] Bound EJB Home 'Account' to jndi
'bank/Account<BR>'<BR>11:43:54,718 INFO [ProxyFactory] Bound EJB Home
'Teller' to jndi 'bank/Teller'<BR>11:43:54,734 INFO [ProxyFactory] Bound
EJB Home 'Bank' to jndi 'bank/Bank'<BR>11:43:54,734 INFO [EJBDeployer]
Deployed:
file:/D:/jboss-svn4/jboss-head/testsu<BR>ite/output/lib/bank.jar<BR>11:44:02,093
INFO [EJBDeployer] Undeploying:
file:/D:/jboss-svn4/jboss-head/tes<BR>tsuite/output/lib/bank.jar<BR>11:44:02,125
INFO [ProxyFactory] Unbind EJB Home 'Bank' from jndi
'bank/Bank'<BR>11:44:02,125 INFO [EjbModule] Undeployed
Bank<BR>11:44:02,125 INFO [ProxyFactory] Unbind EJB Home 'Teller' from
jndi 'bank/Telle<BR>r'<BR>11:44:02,125 INFO [EjbModule] Undeployed
Teller<BR>11:44:02,125 INFO [ProxyFactory] Unbind EJB Home 'Account' from
jndi 'bank/Acco<BR>unt'<BR>11:44:02,140 INFO [EjbModule] Undeployed
Account<BR>11:44:02,140 INFO [ProxyFactory] Unbind EJB Home 'Customer'
from jndi 'bank/Cus<BR>tomer'<BR>11:44:02,140 INFO [EjbModule] Undeployed
Customer<BR></DIV>
<DIV>*************<BR>An now I run the test again:<BR>*************<BR></DIV>
<DIV>11:44:17,390 INFO [EjbModule] Deploying Customer<BR>11:44:17,421
INFO [EjbModule] Deploying Account<BR>11:44:17,421 INFO [EjbModule]
Deploying Teller<BR>11:44:17,437 INFO [EjbModule] Deploying
Bank<BR>11:44:17,453 INFO [EntityContainer] Registration is not done ->
stop<BR>11:44:17,453 ERROR [AbstractKernelController] Error installing to
Create: name=j<BR>boss.j2ee:module=bank.jar,service=EjbModule,uid=29596937
state=Configured mode=M<BR>anual
requiredState=Create<BR>javax.management.InstanceAlreadyExistsException:
jboss.j2ee:jndiName=bank/Custom<BR>er,service=EJB already
registered.<BR> at
org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistr<BR>y.java:765)<BR>
at
org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB<BR>eanRegistry.java:234)<BR>.<BR>.<BR>.<BR>11:44:17,531
INFO [EJBDeployer] Deployed:
file:/D:/jboss-svn4/jboss-head/testsu<BR>ite/output/lib/bank.jar<BR>11:44:17,968
INFO [EJBDeployer] Undeploying:
file:/D:/jboss-svn4/jboss-head/tes<BR>tsuite/output/lib/bank.jar<BR>******************<BR>I
saw similar issues for previous versions of the AS (all resolved) but I think
this is the first for the Beta 5.0 version.<BR></DIV></FONT><DIV><FONT face='Arial' color=#000000 size=2></FONT> </DIV></BODY></HTML>