Skip to Main Content

Java Development Tools

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!

weblogic.application.ModuleException: java.lang.ClassNotFoundException: oracle.rules.sdk2.dictionary

Ahmed-MamdouhMar 7 2019 — edited May 25 2019

I face classpath issue when running a custom worklist client application through j-developer 12.2.1.3.0 and using IntegeratedWeblogicServer

I added the following jars in my project [got it from \..\soa\soa\modules].

bpm-services.jar

oracle.bpm.bpm-services.client.jar

oracle.bpm.bpm-services.interface.jar

oracle.bpm.casemgmt.interface.jar

Also I considered oracle.rules and oracle.soa.workflow.wc in weblogic.xml file and insure that two jars as a shared library in IntegeratedWeblogicServer console

Although when I deploy the same application as ear file in standalone weblogic everything works fine

log stack:

<Mar 7, 2019 9:28:55,048 AM EET> <Warning> <JAXRSIntegration> <BEA-2192510> <Cannot add Jersey servlet for application class oracle.integration.platform.blocks.rest.bc.service.resource.JaxRSApplication because ApplicationPath annotation is not set on it.>

<Mar 7, 2019 9:28:55,122 AM EET> <Warning> <JAXRSIntegration> <BEA-2192511> <The list of resource packages: oracle.integration.platform.blocks.rest.bc.service.resource>

<Mar 7, 2019 9:28:55,713 AM EET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "67158999747633" for task "7" on [partition-name: DOMAIN]. Error is: "weblogic.application.ModuleException: java.lang.ClassNotFoundException: oracle.rules.sdk2.dictionary.RuleDictionary"

weblogic.application.ModuleException: java.lang.ClassNotFoundException: oracle.rules.sdk2.dictionary.RuleDictionary

at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)

at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:192)

at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:187)

at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:83)

Truncated. see log file for complete stacktrace

Caused By: java.lang.ClassNotFoundException: oracle.rules.sdk2.dictionary.RuleDictionary

at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)

at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)

at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)

at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)

at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:496)

Truncated. see log file for complete stacktrace

>

<Mar 7, 2019 9:28:55,978 AM EET> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "CustomBPMWorklist".>

<Mar 7, 2019 9:28:55,979 AM EET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004

weblogic.application.ModuleException: java.lang.ClassNotFoundException: oracle.rules.sdk2.dictionary.RuleDictionary

at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)

at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:192)

at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:187)

at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:83)

Truncated. see log file for complete stacktrace

Caused By: java.lang.ClassNotFoundException: oracle.rules.sdk2.dictionary.RuleDictionary

at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)

at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)

at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)

at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)

at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:496)

Truncated. see log file for complete stacktrace

>

[09:28:56 AM] Deployment cancelled.

[09:28:56 AM] ----  Deployment incomplete  ----.

[09:28:56 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

#### Cannot run application CustomBPMWorklist due to error deploying to IntegratedWebLogicServer.

[09:28:56 AM] Cancel requested

[Application CustomBPMWorklist stopped and undeployed from IntegratedWebLogicServer]

This post has been answered by Ahmed-Mamdouh on May 25 2019
Jump to Answer
Comments
Post Details
Added on Mar 7 2019
6 comments
1,209 views