I am facing problem trying to start
jboss(4.2) from eclipse. I have edited the jboss42.serverdef file to have the start main class as my application main class rather than the jboss one. Also kept all the necessary jars in its classpath, but i get so many exceptions, to name a few - noclassdeffounderror for many of the jboss classes, EJB3ServiceException for jbossws etc...
Why is this showing so many noclassdeffounderror? For starting the jboss server I believe only the basic startup jars like run.jar etc should be sufficient. All the rest of the jars will be located by the server itself from its library directories.
What makes me suspect eclipse is that when i start the server with my .bat script from command prompt, everything works just fine. What i started from command prompt is the same setup and my bat file contains exactly the same set of jars and argumets that i have configured in eclipse server startup.
I am using eclipse galileo
Please help
Thanks