problem starting JBoss AS 5.0.0 Beta in qa-lab
by Jaroslaw Kijanowski
Hello,
I've got the following problem to start the AS 5.0 beta in qa-lab (JBoss AS 4_0_3_SP1 works fine):
[jkijanowski@dev03 bin]$ env|grep IP
MYTESTIP_4=10.64.9.18
MYTESTIP_1=10.64.9.15
MYTESTIP_2=10.64.9.16
MYTESTIP_3=10.64.9.17
MYTESTIPS=10.64.9.15 10.64.9.16 10.64.9.17 10.64.9.18
[jkijanowski@dev03 bin]$ ./run.sh -c all -b $MYTESTIP_1
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/jkijanowski/jboss-head/build/output/jboss-5.0.0.Beta
JAVA: /opt/jdk1.5.0_06/bin/java
JAVA_OPTS: -Xms128m -Xmx512m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh
CLASSPATH: /home/jkijanowski/jboss-head/build/output/jboss-5.0.0.Beta/bin/run.jar:/opt/jdk1.5.0_06/lib/tools.jar
=========================================================================
15:01:59,351 INFO [Server] Starting JBoss (MX MicroKernel)...
.
.
.
15:02:52,635 INFO [Server] JBoss (MX MicroKernel) [5.0.0.Beta (build: CVSTag=HEAD date=200608071140)] Started in 53s:276ms
15:02:57,622 WARN [UDP] packet from 10.64.48.180:49526 has different version (12338) from ours (241). This may cause problems
15:02:57,622 ERROR [UDP] failed unmarshalling message
java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:178)
at org.jgroups.stack.IpAddress.readFrom(IpAddress.java:268)
at org.jgroups.Message.readFrom(Message.java:607)
at org.jgroups.protocols.TP.bufferToMessage(TP.java:983)
at org.jgroups.protocols.TP.handleIncomingPacket(TP.java:839)
at org.jgroups.protocols.TP.access$200(TP.java:45)
at org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1294)
at java.lang.Thread.run(Thread.java:595)
15:03:03,321 WARN [UDP] packet from 10.64.48.180:49522 has different version (12338) from ours (241). Packet is discarded
15:03:18,891 WARN [UDP] packet from 10.64.48.180:49526 has different version (12338) from ours (241). This may cause problems
15:03:18,892 ERROR [UDP] failed unmarshalling message
java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:178)
at org.jgroups.stack.IpAddress.readFrom(IpAddress.java:268)
at org.jgroups.Message.readFrom(Message.java:607)
at org.jgroups.protocols.TP.bufferToMessage(TP.java:983)
at org.jgroups.protocols.TP.handleIncomingPacket(TP.java:839)
at org.jgroups.protocols.TP.access$200(TP.java:45)
at org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1294)
at java.lang.Thread.run(Thread.java:595)
15:03:20,731 WARN [UDP] packet from 10.64.48.180:49522 has different version (12338) from ours (241). Packet is discarded
15:03:35,861 WARN [UDP] packet from 10.64.48.180:49526 has different version (12338) from ours (241). This may cause problems
15:03:35,862 ERROR [UDP] failed unmarshalling message
java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:178)
at org.jgroups.stack.IpAddress.readFrom(IpAddress.java:268)
at org.jgroups.Message.readFrom(Message.java:607)
at org.jgroups.protocols.TP.bufferToMessage(TP.java:983)
at org.jgroups.protocols.TP.handleIncomingPacket(TP.java:839)
at org.jgroups.protocols.TP.access$200(TP.java:45)
at org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1294)
at java.lang.Thread.run(Thread.java:595)
15:03:38,701 WARN [UDP] packet from 10.64.48.180:49522 has different version (12338) from ours (241). Packet is discarded
15:03:52,361 WARN [UDP] packet from 10.64.48.180:49526 has different version (12338) from ours (241). This may cause problems
15:03:52,362 ERROR [UDP] failed unmarshalling message
java.io.EOFException
.
.
.
and it continues until I stop the server. No such problem on my laptop. This issue doesn't prevent me from running tests.
P.S.
IP 10.664.48.180 is assigned in /opt/assigend-ips two times:
[jkijanowski@dev03 testsuite]$ grep 10.64.48.180 /opt/assigned-ips
dev13 dsicore 10.64.48.180
dev13 rrajasekaran 10.64.48.180
19 years, 8 months
InstanceAlreadyExistsException afterundeploy and repeated deploy in JBoss AS 5.0.0 Beta
by Jaroslaw Kijanowski
Hello,
I've got the following issue with JBoss AS 5.0.0 Beta:
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:
11:43:12,406 INFO [Server] JBoss (MX MicroKernel) [5.0.0.Beta (build: CVSTag=HE
AD date=200608071122)] Started in 1m:3s:563ms
11:43:53,046 INFO [EjbModule] Deploying Customer
11:43:53,234 INFO [EjbModule] Deploying Account
11:43:53,250 INFO [EjbModule] Deploying Teller
11:43:53,281 INFO [EjbModule] Deploying Bank
11:43:54,687 INFO [ProxyFactory] Bound EJB Home 'Customer' to jndi 'bank/Custom
er'
11:43:54,703 INFO [ProxyFactory] Bound EJB Home 'Account' to jndi 'bank/Account
'
11:43:54,718 INFO [ProxyFactory] Bound EJB Home 'Teller' to jndi 'bank/Teller'
11:43:54,734 INFO [ProxyFactory] Bound EJB Home 'Bank' to jndi 'bank/Bank'
11:43:54,734 INFO [EJBDeployer] Deployed: file:/D:/jboss-svn4/jboss-head/testsu
ite/output/lib/bank.jar
11:44:02,093 INFO [EJBDeployer] Undeploying: file:/D:/jboss-svn4/jboss-head/tes
tsuite/output/lib/bank.jar
11:44:02,125 INFO [ProxyFactory] Unbind EJB Home 'Bank' from jndi 'bank/Bank'
11:44:02,125 INFO [EjbModule] Undeployed Bank
11:44:02,125 INFO [ProxyFactory] Unbind EJB Home 'Teller' from jndi 'bank/Telle
r'
11:44:02,125 INFO [EjbModule] Undeployed Teller
11:44:02,125 INFO [ProxyFactory] Unbind EJB Home 'Account' from jndi 'bank/Acco
unt'
11:44:02,140 INFO [EjbModule] Undeployed Account
11:44:02,140 INFO [ProxyFactory] Unbind EJB Home 'Customer' from jndi 'bank/Cus
tomer'
11:44:02,140 INFO [EjbModule] Undeployed Customer
*************
An now I run the test again:
*************
11:44:17,390 INFO [EjbModule] Deploying Customer
11:44:17,421 INFO [EjbModule] Deploying Account
11:44:17,421 INFO [EjbModule] Deploying Teller
11:44:17,437 INFO [EjbModule] Deploying Bank
11:44:17,453 INFO [EntityContainer] Registration is not done -> stop
11:44:17,453 ERROR [AbstractKernelController] Error installing to Create: name=j
boss.j2ee:module=bank.jar,service=EjbModule,uid=29596937 state=Configured mode=M
anual requiredState=Create
javax.management.InstanceAlreadyExistsException: jboss.j2ee:jndiName=bank/Custom
er,service=EJB already registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistr
y.java:765)
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
eanRegistry.java:234)
.
.
.
11:44:17,531 INFO [EJBDeployer] Deployed: file:/D:/jboss-svn4/jboss-head/testsu
ite/output/lib/bank.jar
11:44:17,968 INFO [EJBDeployer] Undeploying: file:/D:/jboss-svn4/jboss-head/tes
tsuite/output/lib/bank.jar
******************
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.
19 years, 8 months
Re: [jboss-dev-forums] InstanceAlreadyExistsException after undeploy and repeated deploy in JBoss AS 5.0.0 Beta
by Adrian Brock
Use jboss-development(a)lists.jboss.org
(where everybody is supposed to be subscribed)
not the mailing list that just shows forum posts!
In any case, this is caused by a previous test failing
(e.g. timing out) and not undeploying properly.
Find the previous test.
On Sat, 2006-08-12 at 12:07 -0500, Jaroslaw Kijanowski wrote:
> Hello,
> I've got the following issue with JBoss AS 5.0.0 Beta:
> After I run a test 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:
> 11:43:12,406 INFO [Server] JBoss (MX MicroKernel) [5.0.0.Beta (build:
> CVSTag=HE
> AD date=200608071122)] Started in 1m:3s:563ms
> 11:43:53,046 INFO [EjbModule] Deploying Customer
> 11:43:53,234 INFO [EjbModule] Deploying Account
> 11:43:53,250 INFO [EjbModule] Deploying Teller
> 11:43:53,281 INFO [EjbModule] Deploying Bank
> 11:43:54,687 INFO [ProxyFactory] Bound EJB Home 'Customer' to jndi
> 'bank/Custom
> er'
> 11:43:54,703 INFO [ProxyFactory] Bound EJB Home 'Account' to jndi
> 'bank/Account
> '
> 11:43:54,718 INFO [ProxyFactory] Bound EJB Home 'Teller' to jndi
> 'bank/Teller'
> 11:43:54,734 INFO [ProxyFactory] Bound EJB Home 'Bank' to jndi
> 'bank/Bank'
> 11:43:54,734 INFO [EJBDeployer] Deployed:
> file:/D:/jboss-svn4/jboss-head/testsu
> ite/output/lib/bank.jar
> 11:44:02,093 INFO [EJBDeployer] Undeploying:
> file:/D:/jboss-svn4/jboss-head/tes
> tsuite/output/lib/bank.jar
> 11:44:02,125 INFO [ProxyFactory] Unbind EJB Home 'Bank' from jndi
> 'bank/Bank'
> 11:44:02,125 INFO [EjbModule] Undeployed Bank
> 11:44:02,125 INFO [ProxyFactory] Unbind EJB Home 'Teller' from jndi
> 'bank/Telle
> r'
> 11:44:02,125 INFO [EjbModule] Undeployed Teller
> 11:44:02,125 INFO [ProxyFactory] Unbind EJB Home 'Account' from jndi
> 'bank/Acco
> unt'
> 11:44:02,140 INFO [EjbModule] Undeployed Account
> 11:44:02,140 INFO [ProxyFactory] Unbind EJB Home 'Customer' from jndi
> 'bank/Cus
> tomer'
> 11:44:02,140 INFO [EjbModule] Undeployed Customer
> *************
> An now I run the test again:
> *************
> 11:44:17,390 INFO [EjbModule] Deploying Customer
> 11:44:17,421 INFO [EjbModule] Deploying Account
> 11:44:17,421 INFO [EjbModule] Deploying Teller
> 11:44:17,437 INFO [EjbModule] Deploying Bank
> 11:44:17,453 INFO [EntityContainer] Registration is not done -> stop
> 11:44:17,453 ERROR [AbstractKernelController] Error installing to
> Create: name=j
> boss.j2ee:module=bank.jar,service=EjbModule,uid=29596937
> state=Configured mode=M
> anual requiredState=Create
> javax.management.InstanceAlreadyExistsException:
> jboss.j2ee:jndiName=bank/Custom
> er,service=EJB already registered.
> at
> org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistr
> y.java:765)
> at
> org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
> eanRegistry.java:234)
> .
> .
> .
> 11:44:17,531 INFO [EJBDeployer] Deployed:
> file:/D:/jboss-svn4/jboss-head/testsu
> ite/output/lib/bank.jar
> 11:44:17,968 INFO [EJBDeployer] Undeploying:
> file:/D:/jboss-svn4/jboss-head/tes
> tsuite/output/lib/bank.jar
> ******************
> 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.
>
> _______________________________________________
> jboss-dev-forums mailing list
> jboss-dev-forums(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-dev-forums
--
xxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxx
19 years, 8 months