facebook

persistence.xml error for ejb 3

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #271620 Reply

    maximuszen
    Member

    persistence.xml

    took it pretty much from the tutorial

    <persistence >
    <persistence-unit name=”ehrEJB_persistence”>
    <jta-data-source>postgresDS</jta-data-source>
    <properties>
    <property name=”hibernate.hbm2ddl.auto”
    value=”create-drop”/>
    </properties>
    </persistence-unit>
    </persistence>

    but i’m getting this error when i deploy

    — MBeans waiting for other MBeans —
    ObjectName: persistence.units:unitName=ehrEJB_persistence
    State: NOTYETINSTALLED
    I Depend On:
    jboss.jca:name=postgresDS,service=DataSourceBinding

    — MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM —
    ObjectName: jboss.jca:name=postgresDS,service=DataSourceBinding
    State: NOTYETINSTALLED
    Depends On Me:
    persistence.units:unitName=ehrEJB_persistence

    #271654 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev

    Which tutorial?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: persistence.xml error for ejb 3

You must be logged in to post in the forum log in