Oracle jar cannot start | Community
Skip to main content
Level 3
November 24, 2021

Oracle jar cannot start

  • November 24, 2021
  • 1 reply
  • 1987 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Kiran_Vedantam
Community Advisor
Community Advisor
November 24, 2021

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.

ariesyinnAuthor
Level 3
November 24, 2021

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.

 

Kiran_Vedantam
Community Advisor
Community Advisor
November 24, 2021

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>