Expand my Community achievements bar.

Oracle jar cannot start

Avatar

Level 4

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.

4 Replies

Avatar

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.

Avatar

Level 4

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

 

Avatar

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>

 

 

Avatar

Level 4

Hi @Kiran_Vedantam ,

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

Avatar

Community Advisor

Hi @ariesyinn 

 

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

 

Thanks,

Kiran Vedantam.

Avatar

Level 4

Yes. I added it in core pom.xml. I saw the error as belwo.

ariesyinn_0-1638423909680.png

 

page footer