Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

com.sun.appserv.server.ServerLifecycleException: java.lang.LinkageError!

843833Dec 26 2009 — edited Dec 26 2009
guys,

I am having this problem:

[#|2009-12-26T19:58:33.343+0800|WARNING|sun-appserver-pe9.0|javax.enterprise|_ThreadID=10;_ThreadName=main;_RequestID=2aa12511-bcac-499c-b3e9-59c84b85f9a7;|LCM0203: Lifecycle module [JBIFramework] threw ServerLifecycleException
com.sun.appserv.server.ServerLifecycleException: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "com.sun.jbi.framework.EnvironmentContext.getProvider()Lcom/sun/jbi/JBIProvider;" the class loader (instance of java/net/URLClassLoader) of the current class, com/sun/jbi/framework/EnvironmentContext, and the class loader (instance of java/net/URLClassLoader) for interface com/sun/jbi/EnvironmentContext have different Class objects for the type com/sun/jbi/JBIProvider used in the signature
at com.sun.jbi.framework.sun.SunASJBIFramework.handleEvent(SunASJBIFramework.java:138)
at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:210)
at com.sun.appserv.server.ServerLifecycleModule.onInitialization(ServerLifecycleModule.java:241)
at com.sun.appserv.server.LifecycleModuleService.initialize(LifecycleModuleService.java:198)
at com.sun.appserv.server.LifecycleModuleService.onInitialization(LifecycleModuleService.java:129)
at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:238)
at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:93)
at com.sun.enterprise.server.PEMain.run(PEMain.java:316)
at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
Caused by: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "com.sun.jbi.framework.EnvironmentContext.getProvider()Lcom/sun/jbi/JBIProvider;" the class loader (instance of java/net/URLClassLoader) of the current class, com/sun/jbi/framework/EnvironmentContext, and the class loader (instance of java/net/URLClassLoader) for interface com/sun/jbi/EnvironmentContext have different Class objects for the type com/sun/jbi/JBIProvider used in the signature
at com.sun.jbi.framework.JBIFramework.init(JBIFramework.java:118)
at com.sun.jbi.framework.sun.SunASJBIFramework.handleEvent(SunASJBIFramework.java:93)
... 13 more

I am unable to start the sun java app server. Do you have any idea what cause this? I have two choices to solve this problem:
1) reinstall the app server (i don't know it will help or not buy my boss likes this solution)
2) check what is the problem (i prefer this as I need to know what is happening...sure my boss not gonna like this)

Can anyone help me??
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 23 2010
Added on Dec 26 2009
1 comment
216 views