File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hibernate3 weblogic 10.3.0 web app ExceptionInInitializerError