Can Startup class be invoked from a EAR file ?
Hi
I need help in setting up my start up class. I am using weblogic 6.1 sp2.
I have deployed my EAR file with multiple jar files ( one jar per ejb ) and set the class path in the manifest file of each jar. I have a jar file for common/supporting classes inside the ear file. And I have my start up class in the common jar file. I have setup the startup class using the console. I am running only the admin server, I dont have any managed servers. When I start the server I get the following error...
<May 6, 2002 9:18:11 AM EDT> <Critical> <WebLogicServer> <Failed to invoke startup class "com.wellmanage.pmw.service.startup.PmwStartup", java.lang.ClassNotFoundException: com.wellmanage.pmw.service.startup.PmwStartup>
If I add the common jar ( with the start up class in it) to the class path then I dont get this error. Why can I not have the startup class in the EAR file and start it ? Basically I dont want to add the startup class to the class path. Is there any way to accomplish this ?
And the startup class need to read a properties file which is part of the EAR file too.
Please help
Thanks
Srikanth

