WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

java.lang.LinkageError after upgrading WebSphere Application Server from v8.5.5.10 to v8.5.5.13.

  • 1.  java.lang.LinkageError after upgrading WebSphere Application Server from v8.5.5.10 to v8.5.5.13.

    Posted Tue February 20, 2024 10:15 AM

    We upgraded our WebSphere Application Server nodes from v8.5.5.10 to 8.5.5.13( also JAVA8 from 8.0.3.0 to 8.0.5.6 )
    and we started getting the following error:
    SRVE0293E: [Servlet Error]-[com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor]: java.lang.BootstrapMethodError: java.lang.LinkageError: loading constraint violation when overriding method "org/mozilla/javascript/Callable.call(Lorg/mozilla/javascript/Context;Lorg/mozilla/javascript/Scriptable;Lorg/mozilla/javascript/Scriptable;[Ljava/lang/Object;)Ljava/lang/Object;" during creation of class "org/mozilla/javascript/NativeJavaObject$$Lambda$52/000000007987A670": loader "java/lang/InternalAnonymousClassLoader@dff54be9" of class "org/mozilla/javascript/NativeJavaObject$$Lambda$52/000000007987A670" and loader "com/ibm/ws/classloader/CompoundClassLoader@a7ff889c" of class "org/mozilla/javascript/Callable" have different types for the method signature
        at org.mozilla.javascript.NativeJavaObject.<clinit>(NativeJavaObject.java:877)
        at org.mozilla.javascript.ScriptRuntime.initSafeStandardObjects(ScriptRuntime.java:188)
        at org.mozilla.javascript.ScriptRuntime.initStandardObjects(ScriptRuntime.java:300)
        at org.mozilla.javascript.Context.initStandardObjects(Context.java:1076)
        at org.mozilla.javascript.Context.initStandardObjects(Context.java:980)
        ....
        at org.apache.wicket.Application.initApplication(Application.java:953)
        at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:429)
        at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:353)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:145)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:607)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:514)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:319)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:392)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:931)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4028)
        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1016)
        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:287)
        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1187)
        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.readyInboundPostHandshake(SSLConnectionLink.java:768)
        at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyHandshakeCompletedCallback.complete(SSLConnectionLink.java:464)
        at com.ibm.ws.ssl.channel.impl.SSLUtils.handleHandshake(SSLUtils.java:1137)
        at com.ibm.ws.ssl.channel.impl.SSLHandshakeIOCallback.complete(SSLHandshakeIOCallback.java:87)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
    Caused by: java.lang.LinkageError: loading constraint violation when overriding method "org/mozilla/javascript/Callable.call(Lorg/mozilla/javascript/Context;Lorg/mozilla/javascript/Scriptable;Lorg/mozilla/javascript/Scriptable;[Ljava/lang/Object;)Ljava/lang/Object;" during creation of class "org/mozilla/javascript/NativeJavaObject$$Lambda$52/000000007987A670": loader "java/lang/InternalAnonymousClassLoader@dff54be9" of class "org/mozilla/javascript/NativeJavaObject$$Lambda$52/000000007987A670" and loader "com/ibm/ws/classloader/CompoundClassLoader@a7ff889c" of class "org/mozilla/javascript/Callable" have different types for the method signature
        at java.lang.invoke.InnerClassLambdaMetafactory.spinInnerClass(InnerClassLambdaMetafactory.java:339)
        at java.lang.invoke.InnerClassLambdaMetafactory.buildCallSite(InnerClassLambdaMetafactory.java:206)
        at java.lang.invoke.LambdaMetafactory.metafactory(LambdaMetafactory.java:315)
        at java.lang.invoke.DirectHandle.invokeExact_thunkArchetype_L(DirectHandle.java:302)
        at java.lang.invoke.AsTypeHandle.invokeExact_thunkArchetype_X(AsTypeHandle.java:49)
        at java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle.java:841)



    ------------------------------
    Dave Schlick
    WebSphere Support Specialist
    IBM UK Limited
    Portsmouth
    ------------------------------


  • 2.  RE: java.lang.LinkageError after upgrading WebSphere Application Server from v8.5.5.10 to v8.5.5.13.
    Best Answer

    Posted Tue February 20, 2024 11:10 AM
    This is a known issue addressed through apar IJ03716 which was fixed in jdk 8.0.5.10.
    https://www.ibm.com/support/pages/apar/IJ03716
     
    To fix the error:
    1.You can upgrade your WAS and jdk to the latest fixpack levels:
    https://www.ibm.com/support/pages/recommended-updates-websphere-application-server
     
    OR
    2. If you cannot upgrade WAS, upgrade your jdk to 8.0.5.10 or higher 
    SDK 8.0.5.10:
    https://www.ibm.com/support/pages/node/587245


    ------------------------------
    GEETA NADELLA
    ------------------------------