File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Services with missing/unavailable dependencies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Services with missing/unavailable dependencies" Watch "Services with missing/unavailable dependencies" New topic

Services with missing/unavailable dependencies

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 761

i am trying to deploy my first ejb 3 sample application on Jboss AS 7.0, but I am getting below error message while starting the server.

I am using Jboss tools for Eclipse.

I have only one entity in the Entity Bean(Domain) and below is the persistence.xml in META-INF folder. And i am using Annotations rather then mapping xml file.

and below is the content of the standalone.xml from jboss

I haven't used entity manager to perform any database operations on entity.

I am just trying to test the Web project in which i am using Struts 2.3.

I have created on MYSQLDS DataSource from the Jboss Admin Console which i am specifying in persistence.xml file.

Can anybody help me out in solving this issue. Please let me know if you need any other information.

Jigar Naik

Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

You have a typo in persistence.xml:


Based on your standalone.xml, that should have been:

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Services with missing/unavailable dependencies
It's not a secret anymore!