• 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

EJB 3.0 project Not Deploying

 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am creating a simple EJB 3.0 project. I can get the created, but it fails to deploy. I am using JBoss 4.0.3SP1, JDK 1.5. I have followed JBoss instructions on how to configure the server to run EJB 3.0 using the following instructions:

JBoss Instructions


I get this error:

[Code]

[23:19:21,843] [ERROR] [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.j2ee:service=EJB3,jar=EJB3Demo.jar,name=BookBean
State: NOTYETINSTALLED
I Depend On:
persistence.units:unitName=Ejb3Demo

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: persistence.units:unitName=Ejb3Demo
State: NOTYETINSTALLED
Depends On Me:
jboss.j2ee:service=EJB3,jar=EJB3Demo.jar,name=BookBean

[code]


Can someone be so kind and explain to me what this is saying?

Thanks in advance.

Russ
 
Russell Ray
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay, I figured it out........

The problem was the jar file was not being created properly. The persistence.xml file was in the wrong directory. Once I figured that, everything worked fine.

What was interesting was very few memembers offered ANY suggestions....
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic