Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Hibernate
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Hibernate section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 2nd, 2006, 09:44 AM
Registered User
Join Date: Jan 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default WSAD error while running Hibernate Project

Hi frnds,
           I m getting an error while running a Hibernate Project on WSAD from Run on Server option. Following is the error produced at stack trace :

63e995a3 J2CXAResource E J2CA0036E: An exception occurred while invoking method setDataSourceProperties on com.ibm.ws.rsadapter.spi.WSManagedConnectionFactor yImpl used by resource translationDS : java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:41)
    at java.lang.reflect.Method.invoke(Method.java:386)
    at com.ibm.ejs.j2c.J2CXAResourceFactory.createMCFEntr y(J2CXAResourceFactory.java:375)
    at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.creat eMCFandPM(ConnectionFactoryBuilderImpl.java:1418)
    at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getOb jectInstance(ConnectionFactoryBuilderImpl.java:120 5)
    at javax.naming.spi.NamingManager.getObjectInstance(N amingManager.java:313)
    at com.ibm.ws.naming.util.Helpers.processSerializedOb jectForLookupExt(Helpers.java:873)
    at com.ibm.ws.naming.util.Helpers.processSerializedOb jectForLookup(Helpers.java:680)
    at com.ibm.ws.naming.jndicos.CNContextImpl.processRes olveResults(CNContextImpl.java:1712)
    at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(C NContextImpl.java:1567)
    at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(C NContextImpl.java:1480)
    at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt( CNContextImpl.java:1187)
    at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNC ontextImpl.java:1067)
    at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCt x.java:132)
    at javax.naming.InitialContext.lookup(InitialContext. java:360)
    at net.sf.hibernate.connection.DatasourceConnectionPr ovider.configure(DatasourceConnectionProvider.java :44)
    at net.sf.hibernate.connection.ConnectionProviderFact ory.newConnectionProvider(ConnectionProviderFactor y.java:83)
    at net.sf.hibernate.cfg.SettingsFactory.buildSettings (SettingsFactory.java:64)
    at net.sf.hibernate.cfg.Configuration.buildSettings(C onfiguration.java:1119)
    at net.sf.hibernate.cfg.Configuration.buildSessionFac tory(Configuration.java:748)
    at com.bunge.translation.hibernate.HibernateUtil.crea teFactory(HibernateUtil.java:53)
    at com.bunge.translation.hibernate.HibernateUtil.getS ession(HibernateUtil.java:32)
    at com.bunge.translation.dao.HibernateTranslateDAO.fi ndAllUnivesalAttributes(HibernateTranslateDAO.java :390)
    at com.bunge.translation.util.RequestValidator.valida te(RequestValidator.java:57)
    at com.bunge.translation.ejb.TranslationServiceBean.t ranslateInfo(TranslationServiceBean.java:54)
    at com.bunge.translation.ejb.EJSRemoteStatelessTransl ationService_782af9ae.translateInfo(EJSRemoteState lessTranslationService_782af9ae.java:22)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:41)
    at java.lang.reflect.Method.invoke(Method.java:386)

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL hibernate connection error kadimijagan Hibernate 2 May 11th, 2009 06:31 AM
Hibernate Spring and HSQLDB Error chfarooq Hibernate 0 January 10th, 2008 11:18 AM
Error while invoking stored procedure in hibernate avinash_thm Hibernate 5 April 25th, 2007 03:46 AM
Getting error while running CaseStudy Project badercheema BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 0 March 27th, 2006 03:25 PM
Error while running/executing project thePhile seetha_l BOOK: ASP.NET Website Programming Problem-Design-Solution 0 June 11th, 2004 11:31 AM

All times are GMT -4. The time now is 07:39 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.