Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

StartUp Class needed for JBOSS 3.0.6/3.0.4

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 1449
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yup, sounds like a JBoss thingy!
- madhav
 
knowledge is the difference between drudgery and strategic action -- tiny ad
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic