IBM Support

RS03094: CLASSNOTFOUND EXCEPTION WHEN DEPLOY ODM 8.9.1 ON WEBLOGIC 12.2.1.3.0

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When trying to deploy ODM 8.9.1 ear file to Weblogic 12.2.1.3.0
    it failed with the following error:
    
    <Mar 7, 2018 3:21:38,189 AM PST> <Error> <Deployer>
    <BEA-149205> <Failed to initialize the application
    "jrules-teamserver-WL12" due to error
    weblogic.management.DeploymentException:
    java.lang.ClassNotFoundException:
    org.springframework.security.oauth2.client.token.AccessTokenRequ
    est weblogic.management.DeploymentException:
    java.lang.ClassNotFoundException:
    org.springframework.security.oauth2.client.token.AccessTokenRequ
    est at
    weblogic.application.internal.BaseDeployment.throwAppException(B
    aseDeployment.java:132) at
    weblogic.application.internal.BaseDeployment.prepare(BaseDeploym
    ent.java:244) at
    weblogic.application.internal.EarDeployment.prepare(EarDeploymen
    t.java:66) at
    weblogic.application.internal.DeploymentStateChecker.prepare(Dep
    loymentStateChecker.java:158) at
    weblogic.deploy.internal.targetserver.AppContainerInvoker.prepar
    e(AppContainerInvoker.java:65) Truncated. see log file for
    complete stacktrace Caused By:
    java.lang.ClassNotFoundException:
    org.springframework.security.oauth2.client.token.AccessTokenRequ
    est at
    weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Ge
    nericClassLoader.java:1029) at
    weblogic.utils.classloaders.GenericClassLoader.findClass(Generic
    ClassLoader.java:990) at
    weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(Cha
    ngeAwareClassLoader.java:104) at
    weblogic.utils.classloaders.GenericClassLoader.doFindClass(Gener
    icClassLoader.java:611) at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(Generic
    ClassLoader.java:543) Truncated. see log file for complete
    stacktrace
    

Local fix

  • remove the decisioncenter-api module from the ear file.
    

Problem summary

  • When deploying teamserver 8.9.1.0 ear file to Weblogic
    12.2.1.3.0 it failed with the following error:
     <Error> <Deployer> <BEA-149205> <Failed to initialize the
    application "jrules-teamserver-WL12" due to error
    weblogic.management.DeploymentException:
    java.lang.ClassNotFoundException:
    org.springframework.security.oauth2.client.token.AccessTokenRequ
    est weblogic.management.DeploymentException:
    java.lang.ClassNotFoundException:
    org.springframework.security.oauth2.client.token.AccessTokenRequ
    est at
    weblogic.application.internal.BaseDeployment.throwAppException(B
    aseDeployment.java:132) at
    weblogic.application.internal.BaseDeployment.prepare(BaseDeploym
    ent.java:244) at
    weblogic.application.internal.EarDeployment.prepare(EarDeploymen
    t.java:66) at
    weblogic.application.internal.DeploymentStateChecker.prepare(Dep
    loymentStateChecker.java:158) at
    weblogic.deploy.internal.targetserver.AppContainerInvoker.prepar
    e(AppContainerInvoker.java:65) Truncated. see log file for
    complete stacktrace Caused By:
    java.lang.ClassNotFoundException:
    org.springframework.security.oauth2.client.token.AccessTokenRequ
    est at
    weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Ge
    nericClassLoader.java:1029) at
    weblogic.utils.classloaders.GenericClassLoader.findClass(Generic
    ClassLoader.java:990) at
    weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(Cha
    ngeAwareClassLoader.java:104) at
    weblogic.utils.classloaders.GenericClassLoader.doFindClass(Gener
    icClassLoader.java:611) at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(Generic
    ClassLoader.java:543) Truncated. see log file for complete
    stacktrace
    The issue is caused by the spring-boot-autoconfigure.jar
    embeded in Weblogic 12.2.1 and the
    spring-boot-autoconfigure-1.5.3.RELEASE.jar embeded in
    decisioncenter-api war. The decisioncenter-api jar need to be
    updated to version 1.5.5 or later to fix the issue.
    

Problem conclusion

  • The code is fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS03094

  • Reported component name

    WS DECISION CTR

  • Reported component ID

    5725B6900

  • Reported release

    891

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-04-13

  • Closed date

    2018-04-25

  • Last modified date

    2018-04-25

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • 999
    

Fix information

  • Fixed component name

    WS DECISION CTR

  • Fixed component ID

    5725B6900

Applicable component levels

  • R891 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"891","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 November 2021