• 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

Problem in deploying entity bean in WSAD5.1

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear all,

I have created an entity bean with oracle 9i data base and generated deployed code fopr EJB jar with out errors.I have cereated web moulde with test servlet.

I am getting the follwoing error while starting the server in Wsad 5.1 test environment.Can any one help me to break that error.


error:
*** 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 3092
Host Operating System is Windows XP, version 5.1
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:\j2sdk1.4.2_05\bin;C:\j2sdk1.4.2_05\bin;C:\jakarta-tomcat-5.0.28\bin;C:\j2sdk1.4.2_05\bin;C:\jakarta-tomcat-5.0.28\bin;C:\OraHome9i\bin
************* End Display Current Environment *************
[7/8/05 14:49:37:963 IST] 4feb9267 ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
[7/8/05 14:49:38:604 IST] 4feb9267 AdminInitiali A ADMN0015I: AdminService initialized
[7/8/05 14:49:40:119 IST] 4feb9267 Configuration A SECJ0215I: Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.login.Configuration.
[7/8/05 14:49:40:182 IST] 4feb9267 SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.SecurityDM registered successfully: true.
[7/8/05 14:49:40:307 IST] 4feb9267 SecurityCompo I SECJ0309I: Java 2 Security is disabled.
[7/8/05 14:49:40:307 IST] 4feb9267 SecurityCompo I SECJ0212I: WCCM JAAS configuration information successfully pushed to login provider class.
[7/8/05 14:49:40:338 IST] 4feb9267 SecurityCompo I SECJ0240I: Security service initialization completed successfully
[7/8/05 14:49:40:354 IST] 4feb9267 JMSRegistrati A MSGS0602I: WebSphere Embedded Messaging Client only has been installed
[7/8/05 14:49:48:338 IST] 4feb9267 CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
[7/8/05 14:49:50:651 IST] 4feb9267 JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
[7/8/05 14:49:50:651 IST] 4feb9267 SecurityCompo I SECJ0243I: Security service started successfully
[7/8/05 14:49:50:651 IST] 4feb9267 SecurityCompo I SECJ0210I: Security enabled false
[7/8/05 14:49:52:026 IST] 4feb9267 ApplicationMg A WSVR0200I: Starting application: IBMUTC
[7/8/05 14:49:52:213 IST] 4feb9267 WebContainer A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2002
[7/8/05 14:49:52:291 IST] 4feb9267 WebContainer A SRVE0162I: Servlet Specification Level: 2.3
[7/8/05 14:49:52:291 IST] 4feb9267 WebContainer A SRVE0163I: Supported JSP Specification Level: 1.2
[7/8/05 14:49:52:479 IST] 4feb9267 WebContainer A SRVE0169I: Loading Web Module: IBM Universal Test Client.
[7/8/05 14:49:52:838 IST] 4feb9267 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: JSP 1.2 Processor: init
[7/8/05 14:49:52:994 IST] 4feb9267 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: SimpleFileServlet: init
[7/8/05 14:49:53:104 IST] 4feb9267 ApplicationMg A WSVR0221I: Application started: IBMUTC
[7/8/05 14:49:53:104 IST] 4feb9267 ApplicationMg A WSVR0200I: Starting application: Login
[7/8/05 14:49:53:119 IST] 4feb9267 EJBContainerI I WSVR0207I: Preparing to start EJB jar: LoginEJB.jar
[7/8/05 14:49:53:260 IST] 4feb9267 BeanMetaData E CNTR0075E: The user-provided class "light.bridge.EJSCMPTestLoginHomeBean_5622ecad" needed by the EnterpriseBean could not be found or loaded.
[7/8/05 14:49:53:291 IST] 4feb9267 EJBContainerI E WSVR0209E: Unable to prepare EJB jar LoginEJB.jar [class com.ibm.ws.runtime.component.DeployedModuleImpl], enterprise bean com.ibm.etools.ejb.impl.ContainerManagedEntityImpl(TestLogin) (reentrant: false) (version: 2.x, abstractSchemaName: TestLogin)
java.lang.LinkageError: LinkageError while defining class: light.bridge.EJSCMPTestLoginHomeBean_5622ecad
Could not be defined due to: light/bridge/EJSCMPTestLoginHomeBean_5622ecad (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@45ce1262
Local ClassPath: C:\IBMWebsphere\workspace\LoginWeb\WebContent\WEB-INF\classes;C:\IBMWebsphere\workspace\LoginEJB\ejbModule;
Delegation Mode: PARENT_FIRST
[1] com.ibm.ws.classloader.ExtJarClassLoader@448795242 Local ClassPath: C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5\lib\app; Delegation Mode: PARENT_LAST
[2] com.ibm.ws.classloader.ProtectionClassLoader@4508126f
[3] com.ibm.ws.bootstrap.ExtClassLoader@4fe15267
[4] sun.misc.Launcher$AppClassLoader@4c165267
[5] sun.misc.Launcher$ExtClassLoader@4c131267
---Original exception---
java.lang.UnsupportedClassVersionError: light/bridge/EJSCMPTestLoginHomeBean_5622ecad (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:357)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:261)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ejs.container.BeanMetaData.loadExistedClass(BeanMetaData.java:2550)
at com.ibm.ejs.container.BeanMetaData.<init>(BeanMetaData.java:877)
at com.ibm.ws.runtime.component.EJBContainerImpl.createBeanMetaData(EJBContainerImpl.java:934)
at com.ibm.ws.runtime.component.EJBContainerImpl.createModuleMetaData(EJBContainerImpl.java:761)
at com.ibm.ws.runtime.component.EJBContainerImpl.createMetaData(EJBContainerImpl.java:1471)
at com.ibm.ws.runtime.component.MetaDataMgrImpl.createFactoryMetaData(MetaDataMgrImpl.java:115)
at com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaData(MetaDataMgrImpl.java:159)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:347)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:575)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)

--- end Original exception----

at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:452)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:357)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:261)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ejs.container.BeanMetaData.loadExistedClass(BeanMetaData.java:2550)
at com.ibm.ejs.container.BeanMetaData.<init>(BeanMetaData.java:877)
at com.ibm.ws.runtime.component.EJBContainerImpl.createBeanMetaData(EJBContainerImpl.java:934)
at com.ibm.ws.runtime.component.EJBContainerImpl.createModuleMetaData(EJBContainerImpl.java:761)
at com.ibm.ws.runtime.component.EJBContainerImpl.createMetaData(EJBContainerImpl.java:1471)
at com.ibm.ws.runtime.component.MetaDataMgrImpl.createFactoryMetaData(MetaDataMgrImpl.java:115)
at com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaData(MetaDataMgrImpl.java:159)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:347)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:575)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)

[7/8/05 14:49:53:338 IST] 4feb9267 DeployedAppli W WSVR0206E: Module, LoginEJB.jar, of application, Login.ear/deployments/Login, failed to start
[7/8/05 14:49:53:354 IST] 4feb9267 ApplicationMg W WSVR0101W: An error occurred starting, Login
[7/8/05 14:49:53:432 IST] 4feb9267 ApplicationMg A WSVR0217I: Stopping application: Login
[7/8/05 14:49:53:448 IST] 4feb9267 ApplicationMg A WSVR0220I: Application stopped: Login
[7/8/05 14:49:53:541 IST] 4feb9267 HttpTransport A SRVE0171I: Transport http is listening on port 9,080.
[7/8/05 14:49:55:713 IST] 4feb9267 HttpTransport A SRVE0171I: Transport https is listening on port 9,443.
[7/8/05 14:49:55:776 IST] 4feb9267 RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
[7/8/05 14:49:55:854 IST] 4feb9267 WsServer A WSVR0001I: Server server1 open for e-business

Thnaks
reply
    Bookmark Topic Watch Topic
  • New Topic