This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate3 weblogic 10.3.0 web app ExceptionInInitializerError

 
Swetha Mulgavker
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic