-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Location of Hibernate Jars for WebSphere
PostPosted: Fri Jan 20, 2012 9:48 am 
Newbie

Joined: Wed Jan 18, 2012 10:17 am
Posts: 2
Hi All,
I am using the WebSphere server using EJB1 and I am using EAR files for deployment. When I start up the ear for my Data access service Ear.

I am getting an exception in a start up bean. Its in DocumentAppStartUpBean implements javax.ejb.SessionBean.
Right when we try to get the session factory for hibernate it throws the exception.
The code is blowing up in sessionFactory = new Configuration().configure("hibernate.cfg.xml").buildSessionFactory();
The error occurs when I am starting up our data DataAccessServiceEar. So if I was running under Tomcat
I would guess that the hibernate3.jar needed to be in the WEB-INF directory; however, since this i
s WebSphere and we are using EJB I am not sure where to look next.

I guess the WebSphere server is not seeing the hibernate jars?

The directory for the server is C:\Program Files (x86)\IBM\WID7_WTE\runtimes\bi_v7\lib I put the jars there as well and still no luck...

Any suggestions...
Thanks,
Mark


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.