• 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

Tomcat 6 configuration with JBoss 5 using JNDI call

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello!!

Can anybody suggest how to configure tomcat 6 to get ejb 3 comonent running on jboss 5 server?

I've changed the tomcat conext file as per following:

<Ejb name="ejb/SimpleBeanJNDI" auth="Container" type="Session" factory="org.jboss.ejb3.JndiProxyFactory" home="com.SimpleBeanLocal"/>

and changed my web.xml file as following:

<ejb-local-ref>
<ejb-ref-name>ejb/SimpleBeanJNDI</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>com.SimpleBean</local-home>
<home>com.SimpleBeanLocal</home>
<remote>com.SimpleBeanRemote</remote>
</ejb-local-ref>

Still, I'm getting the exception.

I've deployed the ejb 3 component ot jboss 5 and created one test client which is working fine as java program, but I'm getting problems while trying to use servlet which call this ejb 3 component.

Can anybody help?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic