wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Services with missing/unavailable dependencies" Watch "Services with missing/unavailable dependencies" New topic
Author

Services with missing/unavailable dependencies

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 753
Hi,

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
Marshal

Joined: Jul 20, 2005
Posts: 9953
    
163

You have a typo in persistence.xml:

java:jboss/datasource/MYSQLDS


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



[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Services with missing/unavailable dependencies
 
Similar Threads
Unable to deploy EJB application to JBoss when implementing persistence
NameNotFoundExcption
want to ran wicket in Jboss
Jboss 7 Datasource configured correctly...But unable to connect
Where is my wsdl path?