The moose likes JBoss and the fly likes Startup class problem in JBOSS...URGENT Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "Startup class problem in JBOSS...URGENT" Watch "Startup class problem in JBOSS...URGENT" New topic
Author

Startup class problem in JBOSS...URGENT

Gaurav Jain
Ranch Hand

Joined: Mar 11, 2004
Posts: 108
I have a startupclass which calls an EJB to get initialisation values from it .The startup class works fine and control goes into the init() and start() methods.But it is unable to lookup for the EJB. Apparently , the EJB is not deployed before the startup class loads and NameNotFoundException is thrownin the startup class.

I wanted to know if there is a way to specify the deployment order in JBoss(in this case , the EJB should be deployed before the startup class's start() method is called .
 
 
subject: Startup class problem in JBOSS...URGENT
 
Threads others viewed
Is this possible?
Debugging a remote app..
web & application server
The class must not define the finalize() method
Startup classes
developer file tools