• 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

Services with missing/unavailable dependencies

 
Ranch Hand
Posts: 763
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You have a typo in persistence.xml:

java:jboss/datasource/MYSQLDS



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

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic