I have a standalone class sitting outside WAS. Is there any way (WAS API) i can start that stand alone class from WAS...that is as soon as my WAS starts that class also starts. I dont use start that class using the servlet.
Kick off a thread in a servlet's init method that uses the RunTime object. Bad thing is that the thread will kick off when the app is restarted.
No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
Joined: Mar 11, 2004
I dont want to use the servlet method. The update is that i created a java class outside WAS and packaged it in a jar file. Mentioned the path of the jar file in java VM arguments of WAS. When i start the server that standalone java class gets executed but then the server stops automatically without giving any error. What is the problem??