Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

StartUp Class needed for JBOSS 3.0.6/3.0.4

 
Sanmath Shetty
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure I follow you....sorry!
What exactly do you mean by a Startup class..
- madhav
 
Sanmath Shetty
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds like a question better asked in the JBoss forum.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yup, sounds like a JBoss thingy!
- madhav
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic