• 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

ejb3: deployment error on Jboss

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

Another j2ee new-bie here!
I am not able to deploy my session bean (ejb3) on jboss 5.
I am using eclipse to create the bean and it is an empty bean, I just have my bean implementing both remote and local interfaces with just a println statement, was playing around to learn ejbs.
When I try to deploy my code on the server, jboss throws the following exception:


ejb-jar.xml:


jboss.xml:


I appreciate all response. I am just stuck with this thing for 2 days now without much success.

Cheers,
Sharath
 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Inside ejb-jar.xml file , this line is commented :
<!--<business-local>com.test.session.SessionBeanLocal</business-local>

and in jboss.xml: you were referring it to :

<local-jndi-name>com.test.session.SessionBeanLocal</local-jndi-name>

Try things one by one Until the normal functionality works

1. Remove the assembly-descriptor from your ejb-jar.xml file completely
2. Dont refer to any local beans in your xml files .

feel free to post further questiosn on this .
 
Sharath Jagannath
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply Ravi,

It throws the same exception even after removing them.

Thanks,
Sharath
 
Sharath Jagannath
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any idea??
 
reply
    Bookmark Topic Watch Topic
  • New Topic