The moose likes BEA/Weblogic and the fly likes Hibernate3 weblogic 10.3.0 web app ExceptionInInitializerError Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "Hibernate3 weblogic 10.3.0 web app ExceptionInInitializerError" Watch "Hibernate3 weblogic 10.3.0 web app ExceptionInInitializerError" New topic
Author

Hibernate3 weblogic 10.3.0 web app ExceptionInInitializerError

Swetha Mulgavker
Greenhorn

Joined: Oct 19, 2011
Posts: 1
Hello All,

I am trying to deploy a web application which was developed using java 1.6 and tomcat on weblogic 10.3.0.0 server.

My hibernate.cfg.xml file contains --




I also have a connection.property file which contains --




I have a helper class which helps me to get a new session object using the connection.property file . The contents are





The application is running fine in tomcat 6 but when I try to deploy it on weblogic 10.3.0.0 I get the following error --



Am I missing something in my hibernate.cfg.xml ? Any help will be greatly appreciated!
muralidhar vejendla
Greenhorn

Joined: Sep 11, 2011
Posts: 5
iam not sure , but lets try by replacing XE with XA , its driver , im not sure XE driver exists.

<property name="hibernate.connection.url">jdbc: oracle:thin:@localhost:1521:XE</property>
modify as
<property name="hibernate.connection.url">jdbc: oracle:thin:@localhost:1521:XA</property>

please post the solution, whenever you resolved the issue.

Thanks.
 
 
subject: Hibernate3 weblogic 10.3.0 web app ExceptionInInitializerError
 
Threads others viewed
Need help mapping Hibernate with Netbeans
Problem in insert query
NullPointerException at the SessionFactory create line.
Could not read mappings from resource ?
Can i mix hibernate configuration data in properties and hibernate.cfg.xml files
IntelliJ Java IDE