I am developing a web service in JBOSS where the SEI is a stateless session bean. I am using JDK1.5 and JBOSS4.2.2 and used annotations @Session, @Webservice, @Webmethod to register my webservice and did not use any Remote class.
I have configured some startup classes for my application. These classes are there in my application jar where all the classes including the bean are placed. I copied this jar file in a directory, included the path in the classpath and placed the jar file in the deploy directory also. When the server starts I got an error saying
However I resolved it by creating a separate jar file for the startup classes, included this in the classpath and then placed the application jar file in the deploy directory. It is working fine now. But I would like to know why was it not working previously. Does any of you have any ideas on this?
Joined: Jan 15, 2008
I am not supposed to split the jar files like how i did previously... Could anyone guide me in this?