- This topic has 1 reply, 2 voices, and was last updated 15 years, 6 months ago by support-joy.
-
AuthorPosts
-
RupeshMemberHI all , I am developing enterprise applications using EJB3.0 on Jboss 4.2 and also using Oracle 9i as a database vendor for my application . The problem is that , when I deploy my application it says incomplete deployement with the following error :
———————————————————————————————————–— MBeans waiting for other MBeans —
ObjectName: persistence.units:ear=MyBank.ear,jar=EJBComp.jar,unitName=persistenc
e_unit
State: FAILED
Reason: javax.persistence.PersistenceException: org.hibernate.HibernateExcepti
on: unknown Oracle major version [0]
I Depend On:
jboss.jca:service=DataSourceBinding,name=jdbc/OracleDS
Depends On Me:
jboss.j2ee:ear=MyBank.ear,jar=EJBComp.jar,name=BankFacadeBean,service=EJB3ObjectName: jboss.j2ee:ear=MyBank.ear,jar=EJBComp.jar,name=BankFacadeBean,servic
e=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=MyBank.ear,jar=EJBComp.jar,unitName=persistence_unit— MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM —
ObjectName: persistence.units:ear=MyBank.ear,jar=EJBComp.jar,unitName=persistenc
e_unit
State: FAILED
Reason: javax.persistence.PersistenceException: org.hibernate.HibernateExcepti
on: unknown Oracle major version [0]
I Depend On:
jboss.jca:service=DataSourceBinding,name=jdbc/OracleDS
Depends On Me:
jboss.j2ee:ear=MyBank.ear,jar=EJBComp.jar,name=BankFacadeBean,service=EJB3————————————————————————————————————
Well , I tried using toplink-essentials.jar for resolving the problem , but it couldn’t work. Also when I add Oracle JDBC driver (both classes12.jar and ojdbc5.jar) , it is still giving the same error.
Please help me out….
thankx…
support-joyMemberrupeshsaxena.
Can you copy and paste your installation details? You can find it under MyEclipse > Installation Summary > Installation Details.
I notice that you have used classes12.jar and ojdbc5.jar. If you’re using the old classes12 driver lib there appears to be an issue where OracleDriver.getMajorVersion returns 0, this in turn confuses hibernate. classes12 represents Java 1.2. For Java 1.4 and later the library is ojdbc14.jar.
If you are using ME6.5.x, I would like to inform you that it had an issue. If the above doesn’t work, then I would recommend you to upgrade to ME 6.6 or ME 7.1.1.
-
AuthorPosts