hi list,

i just migrated to JBoss 2.2.1 from JBoss 2.0 and suddenly things
stopped working. i'm getting a javax.naming.NameNotFoundException for
the JNDI name of my bean.

on closer inspection of the log/server.log file, i noticed the
following. when i add 2 bean jar files to my deploy folder. it picks up
the first bean, but ends up deploying the second. and then picks up the
second and deploys it again.

--8<---
[Auto deploy] Auto deploy of
file:/D:/Software/jboss/dist/deploy/SecurityJB.jar
[J2EE Deployer Default] Deploy J2EE application:
file:/D:/Software/jboss/dist/deploy/SecurityJB.jar
[J2EE Deployer Default] Create application SecurityJB.jar
[J2EE Deployer Default] install module SecurityJB.jar
[Container factory]
Deploying:file:/D:/Software/jboss/dist/tmp/deploy/Default/SecurityJB.jar
[Verifier] Verifying
file:/D:/Software/jboss/dist/tmp/deploy/Default/SecurityJB.jar/ejb1001.jar
[Verifier] ServerSSB::constructor()
[Verifier] ServerSSB: Verified.
[Container factory] Deploying ServerSSB
...
[Container factory] Bound ServerSSB to es/ServerSSB
[Container factory] Deployed application:
file:/D:/Software/jboss/dist/tmp/deploy/Default/SecurityJB.jar
--8<---

although it started by picking up file SecurityJB.jar (which has a bean
called SecuritySSB), the Verifier picks up the second bean ServerSSB
and then the Container factory goes on to deploy ServerSSB, and finally
binds it to es/ServerSSB (now all this should be SecuritySSB!!!) while
claiming that it deployed SecurityJB.jar !!

--8<---
[Auto deploy] Auto deploy of
file:/D:/Software/jboss/dist/deploy/ServerJB.jar
[J2EE Deployer Default] Deploy J2EE application:
file:/D:/Software/jboss/dist/deploy/ServerJB.jar
[J2EE Deployer Default] Create application ServerJB.jar
[J2EE Deployer Default] install module ServerJB.jar
[Container factory]
Deploying:file:/D:/Software/jboss/dist/tmp/deploy/Default/ServerJB.jar
[Verifier] Verifying
file:/D:/Software/jboss/dist/tmp/deploy/Default/ServerJB.jar/ejb1002.jar
[Verifier] ServerSSB::constructor()
[Verifier] ServerSSB: Verified.
...
[Container factory] Bound ServerSSB to es/ServerSSB
[Container factory] Deployed application:
file:/D:/Software/jboss/dist/tmp/deploy/Default/ServerJB.jar
--8<---

it then picks up the second bean ServerJB.jar and this time correctly
deploys ServerSSB (again!!) and then binds it to es/ServerSSB.

the methods that it maps in the first case also belong to the second
bean!

the files ejb-jar.xml and jboss.xml are absolutely correct ... the same
files used to run just fine with JBoss 2.0

does anybody have a clue what might be happening here??

thanx ... rishabh


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to