• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Hibernate3 weblogic 10.3.0 web app ExceptionInInitializerError

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic