File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes StartUp Class needed for JBOSS 3.0.6/3.0.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "StartUp Class needed for JBOSS 3.0.6/3.0.4" Watch "StartUp Class needed for JBOSS 3.0.6/3.0.4" New topic
Author

StartUp Class needed for JBOSS 3.0.6/3.0.4

Sanmath Shetty
Greenhorn

Joined: Jan 26, 2003
Posts: 4
Hi All,
I am using JBOSS 3.0.6 for deploying an EAR application. Can any one suggest me as to how I should execute a startup class for the same.
Also, I have an option of using JBOSS 3.0.4 with Tomcat 4.1.12. In this scenario can anybody suggest me about the same.
Is there something I need to do in the EAR file?
Any kind of suggestions are most welcome.

Thanx in advance.
Sunny
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
I am not sure I follow you....sorry!
What exactly do you mean by a Startup class..
- madhav


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Sanmath Shetty
Greenhorn

Joined: Jan 26, 2003
Posts: 4
I am really sorry.. if I misled you.
But the scene is that I have a JAVA class that does certain initialisation( i.e reading from properties file etc) and configures the environment when the server boots/starts. This is required because when I am running the application, i will need this configuration information.
Now this is possible in Weblogic 6.1 by giving a StartUp class name through the console... so when the server starts it executes the main method of the mentioned StartUp class and configures the environment... is there something similar to this in JBOSS.
John Wetherbie
Rancher

Joined: Apr 05, 2000
Posts: 1449
This sounds like a question better asked in the JBoss forum.


The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
Yup, sounds like a JBoss thingy!
- madhav
 
Consider Paul's rocket mass heater.
 
subject: StartUp Class needed for JBOSS 3.0.6/3.0.4