Re: tomcat 4.0.4 and oracle

2002-09-19 Thread Ben Walding

One thing to be aware of... the thin-jdbc drivers don't support Oracle 
name servers (ONAME)


Felix Schumacher wrote:

If you are using the oci-jdbc driver, you have to make tomcat see
the native oracle dlls. (LD_LIBRARY_PATH under linux, don't know 
under windows)

Try using the thin-jdbc driver first (by changing the jdbc-url)
-- Original Nachricht --

  

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?












Online Fotoalben - jetzt kostenlos bei http://www.ePost.de



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


  





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




tomcat 4.0.4 and oracle

2002-09-18 Thread Koes, Derrick

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?




RE: tomcat 4.0.4 and oracle

2002-09-18 Thread Mark Schmeets

I have at times had to put classes12.jar, ocrs12.jar in the WEB-INF/lib
directory. On one NT setup I also ended up putting the ocijdbc9.dll in there
as well. Enough to make you wonder if there is a black art to this

Mark

-Original Message-
From: Koes, Derrick [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 3:09 PM
To: '[EMAIL PROTECTED]'
Subject: tomcat 4.0.4 and oracle


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?



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: tomcat 4.0.4 and oracle

2002-09-18 Thread Felix Schumacher


If you are using the oci-jdbc driver, you have to make tomcat see
the native oracle dlls. (LD_LIBRARY_PATH under linux, don't know
under windows)

Try using the thin-jdbc driver first (by changing the jdbc-url)
-- Original Nachricht --

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?










Online Fotoalben - jetzt kostenlos bei http://www.ePost.de



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]