-->
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.  [ 4 posts ] 
Author Message
 Post subject: Error initializing hb3 in WSAD Start up.
PostPosted: Mon Sep 12, 2005 1:49 am 
Newbie

Joined: Mon Sep 12, 2005 1:42 am
Posts: 2
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

I am getting this error when trying to start the WSAD server in Websphere 5.1 am trying to figure out what the problem is but any pointers would be helpful. I am migrating from hibernate 2.1.7 where this code and hibernate works flawlessly to hibernate 3 followed the migration guide and refactored the classes as explained.

What am i missing ????

Thanks
Chandu



Hibernate version:
hibernate3

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

*** Starting the server ***
************ Start Display Current Environment ************
WebSphere Platform 5.0 [BASE 5.0.2 ptf2M0325.01] running with process name localhost\localhost\server1 and process id 2172
Host Operating System is Windows 2000, version 5.0
Java version = J2RE 1.3.1 IBM Windows 32 build cn131-20030711a (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5
user.install.root = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5
Java Home = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5\java\jre
ws.ext.dirs = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/java/lib;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/classes;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/classes;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/lib;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/lib/ext;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/web/help;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1/wstools/eclipse/plugins/com.ibm.etools.webservice_5.1.0/runtime/worf.jar
Classpath = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/properties;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/properties;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/lib/bootstrap.jar;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/lib/j2ee.jar;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/lib/lmproxy.jar;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.0/runtime/wteServers.jar;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.0/runtime/wasToolsCommon.jar
Java Library path = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/java/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/java/jre/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\eclipse\jre\bin;.;C:\axis-1.2.1\lib;C:\Ant\apache-ant-1.6.5\bin;C:\j2sdk1.4.2_04\bin;C:\jdk1.4\bin;C:\sybase\JS-12_5\bin;C:\sybase\OCS-12_5\lib3p;C:\sybase\OCS-12_5\dll;C:\sybase\OCS-12_5\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WINNT\system32\nls;C:\WINNT\system32\nls\ENGLISH;C:\Sybase\DLL;C:\Sybase\BIN;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\cygwin\bin;C:\Program Files\Novell\ZENworks\;Z:.;C:\local\xmlapi\jwsdp-shared\bin;C:\Program Files\SSH Communications Security\SSH Secure Shell;Z:.
************* End Display Current Environment *************
[12/09/05 15:28:09:328 EST] 4f9a79c1 ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
[12/09/05 15:28:10:312 EST] 4f9a79c1 AdminInitiali A ADMN0015I: AdminService initialized
[12/09/05 15:28:12:312 EST] 4f9a79c1 Configuration A SECJ0215I: Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.login.Configuration.
[12/09/05 15:28:12:500 EST] 4f9a79c1 SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.SecurityDM registered successfully: true.
[12/09/05 15:28:12:672 EST] 4f9a79c1 SecurityCompo I SECJ0309I: Java 2 Security is disabled.
[12/09/05 15:28:12:672 EST] 4f9a79c1 SecurityCompo I SECJ0212I: WCCM JAAS configuration information successfully pushed to login provider class.
[12/09/05 15:28:12:688 EST] 4f9a79c1 SecurityCompo I SECJ0240I: Security service initialization completed successfully
[12/09/05 15:28:12:703 EST] 4f9a79c1 JMSRegistrati A MSGS0602I: WebSphere Embedded Messaging Client only has been installed
[12/09/05 15:28:23:000 EST] 4f9a79c1 CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
[12/09/05 15:28:31:156 EST] 4f9a79c1 JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
[12/09/05 15:28:31:203 EST] 4f9a79c1 SecurityCompo I SECJ0243I: Security service started successfully
[12/09/05 15:28:31:203 EST] 4f9a79c1 SecurityCompo I SECJ0210I: Security enabled false
[12/09/05 15:28:32:453 EST] 4f9a79c1 ApplicationMg A WSVR0200I: Starting application: IBMUTC
[12/09/05 15:28:36:219 EST] 4f9a79c1 WebContainer A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2002
[12/09/05 15:28:36:312 EST] 4f9a79c1 WebContainer A SRVE0162I: Servlet Specification Level: 2.3
[12/09/05 15:28:36:312 EST] 4f9a79c1 WebContainer A SRVE0163I: Supported JSP Specification Level: 1.2
[12/09/05 15:28:36:516 EST] 4f9a79c1 WebContainer A SRVE0169I: Loading Web Module: IBM Universal Test Client.
[12/09/05 15:28:36:969 EST] 4f9a79c1 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: JSP 1.2 Processor: init
[12/09/05 15:28:37:141 EST] 4f9a79c1 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: SimpleFileServlet: init
[12/09/05 15:28:37:219 EST] 4f9a79c1 ApplicationMg A WSVR0221I: Application started: IBMUTC
[12/09/05 15:28:37:234 EST] 4f9a79c1 ApplicationMg A WSVR0200I: Starting application: DefaultEAR
[12/09/05 15:28:42:062 EST] 4f9a79c1 WebContainer A SRVE0169I: Loading Web Module: hibernateproj.
[12/09/05 15:28:42:172 EST] 4f9a79c1 WebGroup I SRVE0180I: [hibernateproj] [/hibernateproj] [Servlet.LOG]: JSP 1.2 Processor: init
[12/09/05 15:28:46:078 EST] 4f9a79c1 WebGroup I SRVE0180I: [hibernateproj] [/hibernateproj] [Servlet.LOG]: SimpleFileServlet: init
[12/09/05 15:28:46:125 EST] 4f9a79c1 WebGroup I SRVE0180I: [hibernateproj] [/hibernateproj] [Servlet.LOG]: InvokerServlet: init
[12/09/05 15:28:46:234 EST] 4f9a79c1 WebGroup I SRVE0180I: [hibernateproj] [/hibernateproj] [Servlet.LOG]: action: init
[12/09/05 15:28:46:281 EST] 4f9a79c1 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
[12/09/05 15:28:46:312 EST] 4f9a79c1 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
[12/09/05 15:28:47:125 EST] 4f9a79c1 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='au.com.hibernateproj.resources.ApplicationResources', returnNull=true
[12/09/05 15:28:47:141 EST] 4f9a79c1 ApplicationMg A WSVR0221I: Application started: DefaultEAR
[12/09/05 15:28:47:234 EST] 4f9a79c1 HttpTransport A SRVE0171I: Transport http is listening on port 9,080.
[12/09/05 15:28:49:781 EST] 4f9a79c1 HttpTransport A SRVE0171I: Transport https is listening on port 9,443.
[12/09/05 15:28:49:859 EST] 4f9a79c1 RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
[12/09/05 15:28:49:953 EST] 4f9a79c1 WsServer A WSVR0001I: Server server1 open for e-business
[12/09/05 15:29:05:984 EST] 108c79d0 WebGroup I SRVE0180I: [hibernateproj] [/hibernateproj] [Servlet.LOG]: /AddContact.jsp: init
[12/09/05 15:29:05:984 EST] 108c79d0 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[12/09/05 15:29:06:266 EST] 108c79d0 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
[12/09/05 15:29:06:281 EST] 108c79d0 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[12/09/05 15:29:06:281 EST] 108c79d0 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[12/09/05 15:29:06:281 EST] 108c79d0 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[12/09/05 15:29:06:281 EST] 108c79d0 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[12/09/05 15:29:11:828 EST] 108c79d0 WebGroup E SRVE0026E: [Servlet Error]-[LinkageError while defining class: org.hibernate.HibernateException
Could not be defined due to: org/hibernate/HibernateException (Unsupported major.minor version 48.0)
This is often caused by having a class defined at multiple
locations within the classloader hierarchy. Other potential causes
include compiling against an older or newer version of the class
that has an incompatible method signature.
Dumping the current context classloader hierarchy:
==> indicates defining classloader
==>[0]
com.ibm.ws.classloader.CompoundClassLoader@1ce079cf
Local ClassPath: C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\classes;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\cglib-full-2.0.1.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\classes12dms.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-beanutils.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-collections-2.1.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-collections.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-digester.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-fileupload.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-lang-1.0.1.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-lang.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-logging-1.0.3.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-logging.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-pool-1.1.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-validator.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\db2java.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\dbbeans.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\dom.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\dom4j-1.4.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\ehcache-0.7.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\hibernate3.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\i18n.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\j2ee.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\jaas.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\jakarta-oro.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\jaxen-full.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\jaxp-api.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\jdbc2_0-stdext.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\jspsql.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\jstl.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\log4j-1.2.8.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\sax.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\saxpath.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\sqlj.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\standard.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\struts.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-application.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-datetime.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-mailer.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-page.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-request.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-response.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-session.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-string.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\utility.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\xalan.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\xercesImpl.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\xml-apis.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent;
Delegation Mode: PARENT_FIRST
[1] com.ibm.ws.classloader.JarClassLoader@876149199 Local Classpath: Delegation mode: PARENT_FIRST
[2] com.ibm.ws.classloader.ExtJarClassLoader@186251724 Local ClassPath: C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5\lib\app; Delegation Mode: PARENT_LAST
[3] com.ibm.ws.classloader.ProtectionClassLoader@4e7639c9
[4] com.ibm.ws.bootstrap.ExtClassLoader@4f90b9c1
[5] sun.misc.Launcher$AppClassLoader@4c67b9c1
[6] sun.misc.Launcher$ExtClassLoader@4c62f9c1
---Original exception---
java.lang.UnsupportedClassVersionError: org/hibernate/HibernateException (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:407)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:261)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:262)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:231)
at org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:326)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:268)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:435)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)

--- end Original exception----
]: java.lang.LinkageError: LinkageError while defining class: org.hibernate.HibernateException
Could not be defined due to: org/hibernate/HibernateException (Unsupported major.minor version 48.0)
This is often caused by having a class defined at multiple
locations within the classloader hierarchy. Other potential causes
include compiling against an older or newer version of the class
that has an incompatible method signature.
Dumping the current context classloader hierarchy:
==> indicates defining classloader
==>[0]
com.ibm.ws.classloader.CompoundClassLoader@1ce079cf
Local ClassPath: C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\classes;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\cglib-full-2.0.1.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\classes12dms.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-beanutils.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-collections-2.1.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-collections.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-digester.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-fileupload.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-lang-1.0.1.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-lang.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-logging-1.0.3.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-logging.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-pool-1.1.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\commons-validator.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\db2java.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\dbbeans.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\dom.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\dom4j-1.4.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\ehcache-0.7.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\hibernate3.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\i18n.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\j2ee.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\jaas.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\jakarta-oro.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\jaxen-full.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\jaxp-api.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\jdbc2_0-stdext.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\jspsql.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\jstl.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\log4j-1.2.8.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\sax.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\saxpath.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\sqlj.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\standard.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\struts.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-application.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-datetime.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-mailer.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-page.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-request.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-response.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-session.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\taglibs-string.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\utility.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\xalan.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\xercesImpl.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent\WEB-INF\lib\xml-apis.jar;C:\wsad51_workspace\wsad51_hibernate_sample2\hibernateproj\WebContent;
Delegation Mode: PARENT_FIRST
[1] com.ibm.ws.classloader.JarClassLoader@876149199 Local Classpath: Delegation mode: PARENT_FIRST
[2] com.ibm.ws.classloader.ExtJarClassLoader@186251724 Local ClassPath: C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5\lib\app; Delegation Mode: PARENT_LAST
[3] com.ibm.ws.classloader.ProtectionClassLoader@4e7639c9
[4] com.ibm.ws.bootstrap.ExtClassLoader@4f90b9c1
[5] sun.misc.Launcher$AppClassLoader@4c67b9c1
[6] sun.misc.Launcher$ExtClassLoader@4c62f9c1
---Original exception---
java.lang.UnsupportedClassVersionError: org/hibernate/HibernateException (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:407)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:261)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:262)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:231)
at org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:326)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:268)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:435)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)

--- end Original exception----

at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:452)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:261)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:262)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:231)
at org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:326)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:268)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:435)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)




Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 13, 2005 6:59 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
What JDK are you using

_________________
Emmanuel


Top
 Profile  
 
 Post subject: Error initializing hb3 in WSAD Start up
PostPosted: Tue Sep 13, 2005 7:14 pm 
Newbie

Joined: Mon Sep 12, 2005 1:42 am
Posts: 2
I am using
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
Classic VM (build 1.3.1, J2RE 1.3.1 IBM Windows 32 build cn131-20021107 (JIT ena
bled: jitc))


Thanks
Regards
Chandu


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 13, 2005 7:38 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
You might have to recompile with your JDK. You're the first having such pb in WSAD AFAIK.
Check the forum to recompile on JDK 1.3, you will have to "fake" some third party jars since they were compiled with JDK 1.4

_________________
Emmanuel


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

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.