• 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

RuntimeException while starting JBOSS

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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?
 
Krithi Raghu
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not supposed to split the jar files like how i did previously...
Could anyone guide me in this?
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is your web service an EJB or a pojo? If a pojo, place it in a war file, not in a jar file. (I think the deployer thought you were deploy EJBs but could not find one.)

If this is not the case, please post the source code for your web service.
 
Krithi Raghu
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found out the problem. I was trying to deploy the EJB and include it in the class path also. After i removed it from the class path it is working.
Thanks everyone...
 
Krithi Raghu
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found out the problem. I was trying to deploy the EJB and include it in the class path also. After i removed it from the class path it is working.
Thanks everyone...
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic