Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Oracle jar cannot start

ariesyinn
Level 3
Level 3

Hi all,

 

I upgrade AEM 6.2 to 6.5.0. I already updated the uber jar 6.5.0. But, OracleDriver (OracleDriver) show "Installed" status, not "Active." Saw this error below:

javax.activity -- Cannot be resolved

javax.rmi -- Cannot be resolved

javax.rmi.CORBA -- Cannot be resolved

 

May I know how to tackle this?

 

Thanks in advance.

5 Replies
Kiran_Vedantam
Community Advisor
Community Advisor

Hi @ariesyinn 

 

This issue occurs when the dependency is not available for the bundle. Please check if the "javax.*" is installed in your instance by your build. If not

  1. Add it in your pom.xml and core/pom.xml and try
  2. Try installing it manually by downloading it 

Hope this helps.

 

Thanks,

Kiran Vedantam.

ariesyinn
Level 3
Level 3

Hi @Kiran_Vedantam ,

 

Thanks for the reply. There is no "javax.*"  in my pom.xml. Normally, I make changes in backend pom.xml and deployed to main bundle (Our core bundle also faced the issue). For oracle driver, may I know how to generate war file to upload in AEM.

ariesyinn_0-1637746935691.png

 

Kiran_Vedantam
Community Advisor
Community Advisor

Try adding these in parent pom and core pom and build the code.

 

<!-- https://mvnrepository.com/artifact/clojure-interop/javax.activity -->
<dependency>
<groupId>clojure-interop</groupId>
<artifactId>javax.activity</artifactId>
<version>1.0.0</version>
</dependency>

 

<!-- https://mvnrepository.com/artifact/org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec -->
<dependency>
<groupId>org.jboss.spec.javax.rmi</groupId>
<artifactId>jboss-rmi-api_1.0_spec</artifactId>
<version>1.0.6.Final</version>
</dependency>

 

 

ariesyinn
Level 3
Level 3

Hi @Kiran_Vedantam ,

I added these dependency , build the code and deployed into Main bundle. But, I still face the same issue.

Kiran_Vedantam
Community Advisor
Community Advisor

Hi @ariesyinn 

 

Did u add them in core pom also? What issue are you seeing now?

 

Thanks,

Kiran Vedantam.