Win a copy of Terraform in Action this week in the Cloud forum!
  • 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Al Hobbs
  • salvin francis

Jboss - DeploymentException (session calling entity bean)

Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I'm currently trying to use a session bean (TravelAgentBean) to
call an entity bean (CabinBean); every time I deploy the jar file
I get the following:-
[Container factory] Deploying CabinBean
[Container factory] Container Invoker RMI Port='4444'
[Container factory] Container Invoker Optimize='true'
[Container factory] Deploying TravelAgentBean
[Container factory] Container Invoker RMI Port='4444'
[Container factory] Container Invoker Optimize='true'
[JAWS] Initializing JAWS plugin for CabinBean
[JAWS] Loading standardjaws.xml : file:/C:/jboss/conf/default/standardjaws.xml
[JAWS] Table 'CabinBean' already exists
[Container factory] Binding an EJBReference ejb/Cabin
[Container factory] Binding ejb/Cabin to internal JNDI source: com.titan.cabin.CabinBean
[Container factory] org.jboss.ejb.DeploymentException: Bean com.titan.cabin.CabinBean not found within this application.
All the java files are in the same package(i.e com.titan.cabin).
My ejb-jar.xml contains both session and entity stuff.
Note within <session> I also include the following:-

My jboss.xml contains the following:-
<?xml version="1.0" encoding="Cp1252"?>
Can anybody help?
    Bookmark Topic Watch Topic
  • New Topic