If I run tomcat from the Windows command prompt using startup.bat, I get:

 

Exception during startup processing

java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorI

java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA

sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

Caused by: java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path

...

 

However, if I run from the start menu I don't have this problem.

 

I gather that somewhere an oracle library is not being loaded, but I'm not
sure how to fix this.

I have put classes12.jar in the common/lib because I'm using Oracle for
authentication.

 

Other than that, everything is default.

 

Can anyone help?

Reply via email to