-
1. Re: Persistence Unit NOTYETINSTALLED
ganton516 Oct 18, 2006 10:31 AM (in response to ganton516)I figured this out, my DD for persistence.xml was not named correctly.
-
2. Re: Persistence Unit NOTYETINSTALLED
mludlum Nov 10, 2006 5:18 PM (in response to ganton516)Ganton,
I'm having this same problem. Can you elaborate on your solution? What do you mean by DD? Data Dictionary? -
3. Re: Persistence Unit NOTYETINSTALLED
jasonshaffer Nov 11, 2006 12:02 PM (in response to ganton516)I am also experiencing this exact problem and have been searching for two days straight with no resolve. Please help!
-
4. Re: Persistence Unit NOTYETINSTALLED
straiver Nov 13, 2006 12:42 AM (in response to ganton516)I have troubles with Persistence unit too:
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS State: NOTYETINSTALLED Depends On Me: jboss.ejb:service=EJBTimerService,persistencePolicy=database jboss.mq:service=StateManager jboss.mq:service=PersistenceManager ObjectName: persistence.units:jar=ru.srpu.jtest.dao.jar,unitName=jtests State: FAILED Reason: org.hibernate.MappingException: Unable to find column with logical name: id in org.hibernate.mapping.Table(Test) and its related supertables and secondary tables I Depend On: jboss.jca:service=ManagedConnectionFactory,name=MySqlDS Depends On Me: jboss.j2ee:jar=ru.srpu.jtest.dao.jar,name=UserBean,service=EJB3
-
5. Re: Persistence Unit NOTYETINSTALLED
diablo341 Nov 16, 2006 7:55 AM (in response to ganton516)I had a similar problem. Make sure your datasource.xml file that defines your connection is in the server/default/deploy directory.
-
6. Re: Persistence Unit NOTYETINSTALLED
dilator Nov 22, 2006 9:56 AM (in response to ganton516)I found that if in my persistence.xml I had the jta-data-source set as java:/xyz then then in the datasource.xml the jndi-name needed to be just xyz on its own
-
7. Re: Persistence Unit NOTYETINSTALLED
pj.prashant Sep 5, 2013 5:19 AM (in response to ganton516)When we apply tow injection on the same class in One web application like
1) EJB injection by @stateless
2) and Hibernet injection by @PersistenceContext
Its ok and working fine
but like this way if you have two project in jboss (C:\jboss-4.2.3.GA\server\default\deploy) and both the project have the Object have the above things
It gives message
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: persistence.units:unitName=hdgPersistCtxUnitName
State: NOTYETINSTALLED
Depends On Me:
jboss.j2ee:ear=appOne.ear,jar=EOne.jar,name=CPProcess,service=EJB3
My single web application is working but as soon I deploy the second web application it show me the error.
I think that when a global PersistCtx will also load both object (web app1 and web app2) now when web app2 is loaded EJB injection can't be apply and wail for release of MBEANS from hibernet.
My web app2 is a copy of we app1 but I seperate the context, database, hibernet perstence context name, mssqlApp1-ds.xml and mssqlApp2-ds.xml
I found no issue with the Object have only @PersistenceContext but not @stateless
or @stateless but not @PersistenceContext
Anyhow this is unsolved issue for me.