onment for all services as once.
> The tomcat service integration does not include any help in this area.
>
> -Original Message-
> From: Michael Ivanov [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 13, 2005 12:51 PM
> To: Benson Margulies; tomcat-user@jakarta.apache.org
@jakarta.apache.org
Subject: Re: java.library.path when running as a service
Thank you for the reply. I was not aware, is the PATH variable
different for each service? How can it be set? This would likely be
the cause of my problem if it's true.
On 7/13/05, Benson Margulies <[EMAIL PROTECTED
[mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 12, 2005 10:02 PM
> To: Benson Margulies; tomcat-user@jakarta.apache.org
> Subject: Re: java.library.path when running as a service
>
> My PATH variable already includes $CATALINA_HOME\common\lib, and it
> definitely has worked in the
Ivanov [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 12, 2005 10:02 PM
To: Benson Margulies; tomcat-user@jakarta.apache.org
Subject: Re: java.library.path when running as a service
My PATH variable already includes $CATALINA_HOME\common\lib, and it
definitely has worked in the past. Wouldn't
iginal Message-
> From: Michael Ivanov [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 12, 2005 7:13 PM
> To: tomcat-user@jakarta.apache.org
> Subject: java.library.path when running as a service
>
> I have been running a servlet with Tomcat 5.5.7 for a few months, I
&
, July 12, 2005 7:13 PM
To: tomcat-user@jakarta.apache.org
Subject: java.library.path when running as a service
I have been running a servlet with Tomcat 5.5.7 for a few months, I
left it alone for a while, and now I get an UnsatisfiedLinkError when
the servlet tries to load a native DLL. The error
I have been running a servlet with Tomcat 5.5.7 for a few months, I
left it alone for a while, and now I get an UnsatisfiedLinkError when
the servlet tries to load a native DLL. The error says the DLL cannot
be found in java.library.path. The DLL I want to load is located in
$CATALINA_HOME
>Date: 04/07/2005 15:18
>Subject: RE: java.library.path - DLL - Domino ..why not use CORBA?
>
>Jesper,
>I seemed to me that there would be a performance increase in using
>the DLL, since the servlet is running on the same machine as Domino.
>Using the CORBA method to connect to the s
[mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 3:03 AM
To: Tomcat Users List
Subject: Re: java.library.path - DLL - Domino ..why not use CORBA?
Hi
I'm wondering why you're using the Domino DLLs to access Domino?
Domino has a Corba interface which enables you to access all
esper B. Kiaer
http://www.jezzper.com
-"Durfee, Bernard" <[EMAIL PROTECTED]> wrote: -
>To: Tomcat Users List
>From: "Durfee, Bernard"
>Date: 04/06/2005 22:33
>Subject: java.library.path - DLL - Domino
>
>I am trying to use the native library for connecting
Problem solved, I restarted Eclipse, waved my hands a couple times and
presto, the DLL is found no problem. The wonders of Java on Windows.
Although it would be great if someone could explain how with a DLL in a
path in the "java.library.path" could not be found.
Bernard Durfee
---
The DLL was found when I put it in the "C:\JavaTools\JRE1.5.0\bin" which
is in the "sun.boot.library.path". Looking through the code in
ClassLoader.java, it should search the paths in "java.library.path"
after it searches "sun.boot.library.path". ClassLoade
tgroup.com/
-Original Message-
From: Durfee, Bernard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 4:18 PM
To: Tomcat Users List
Subject: RE: java.library.path - DLL - Domino
Yes, I started by making sure that the DLL was in the Windows system
path. I also tried running the DLL as you sug
class loader is expected to find libraries and such. So
the question is, where do I put my DLL so that the web application class
loader can find it? Apparently the answer is not "java.library.path",
unless there is a bug in Tomcat preventing it from properly parsing the
path.
Bern
ind the DLL, but complain about the invalid entry point.
Jay
Vertical Technology Group
http://www.vtgroup.com/
-Original Message-
From: Durfee, Bernard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 3:34 PM
To: Tomcat Users List
Subject: java.library.path - DLL - Domino
I am
On Apr 6, 2005 3:53 PM, Durfee, Bernard <[EMAIL PROTECTED]> wrote:
> No dice. It just seems that a call to System.loadLibrary() is not using
> the 'java.library.path', otherwise how could it possibly not see the
> DLL?
>
> Bernard Durfee
Next try adding the Domin
No dice. It just seems that a call to System.loadLibrary() is not using
the 'java.library.path', otherwise how could it possibly not see the
DLL?
Bernard Durfee
-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 4:43 PM
To: To
On Apr 6, 2005 3:33 PM, Durfee, Bernard <[EMAIL PROTECTED]> wrote:
> I am trying to use the native library for connecting to Domino from a
> servlet. I was under the impression that the DLL needed to be in the
> path specified by the java.library.path system property. However, this
I am trying to use the native library for connecting to Domino from a
servlet. I was under the impression that the DLL needed to be in the
path specified by the java.library.path system property. However, this
does not seem to work.
I got to the point where even brute force did not work
ROTECTED]
Sent: Wednesday, May 05, 2004 4:38 PM
To: Tomcat Users List
Subject: Re: java.library.path
are you saying that passing in -Djava.library.path=xxx
in catalina.bat (JAVA_OPTS) doesn't work for you?
- Original Message -
From: "Cocalea, Eugen" <[EMAIL PROTECT
are you saying that passing in -Djava.library.path=xxx
in catalina.bat (JAVA_OPTS) doesn't work for you?
- Original Message -
From: "Cocalea, Eugen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 05, 2004 3:45 AM
Subject: java.library.path
H
Hello,
In the file RELEASE-PLAN-4.1.txt, found in the src dir of Tomcat, it says
something like:
[quote]
Nice To Have Fixes Before Final Release:
---
Catalina
...
5858 Add tomcat dir to java.library.path
...
[/quote]
I wonder when this
Some hints to get you there...
Think about how you start Tomcat (assuming it's not as a Windows
service). If you were to edit that startup script to add your dll
location to the java.library.path, then it would be available when you
run. If you're running with low-level tools, th
her into a
configuration file.
Which config file/startup file do I modify so that the java.library.path
System property will
hold this path???
i.e.
System.getProperty("java.library.path") needs to also have my DLL's
directory in it
---
I had this problem, and got it work by having the ojdbc14.jar in the
'$CATALINA_HOME/common/lib' directory ONLY.
If I kept a copy of ojdbc14.jar in my application's 'WEB-INF/lib' directory,
the thing just did not work.
Strange. I cannot explain it!
Harry Mantheakis
London, UK
> Hey All.
>
> I'
ava.lang.UnsatisfiedLinkError: no ojdbc14 in java.library.path
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
java.lang.Runtime.loadLibrary0(Runtime.java:788)
java.lang.System.loadLibrary(System.java:834)
HelloWor
;
> *exception*
>
> javax.servlet.ServletException: Servlet execution threw an exception
> filters.ExampleFilter.doFilter(ExampleFilter.java:149)
>
> *root cause*
>
> java.lang.UnsatisfiedLinkError: no ojdbc14 in java.library.path
> java.lang.ClassLoader.loadLibrary
ernal error () that
prevented it from fulfilling this request._
*exception*
javax.servlet.ServletException: Servlet execution threw an exception
filters.ExampleFilter.doFilter(ExampleFilter.java:149)
*root cause*
java.lang.UnsatisfiedLinkError: no ojdbc14 in java.library
i did not have to add any database connections under the tomcat web
admin tool.
catalina.properties remains the same.
is there a stack trace with an exception in any logs? (ClassNotFound or
any other such exceptions)
could you also describe what symptoms you are seeing? does the app hang
or doe
Thanks Apu,
I am using the thin client and it's still not working. I've put ojdbc14
in common/lib and still nothing. Did you have to add a database
connection under the tomcat web administration tool ? And if you did,
did you include a path to your ojdbc.jar file?
I'm also wondering if may
i have multiple webapps connecting to oracle within the same tomcat
instance.
removing ojdbc14.jar from all the webapps WEB-INF/lib and keeping only
one copy of ojdbc14.jar in common/lib works for me on tomcat 5.
if you are connecting via oci drivers, make sure that your
LD_LIBRARY_PATH points
Hey All.
I've been trying to write a servlet that uses a jdbc driver to connect
to a remote Oracle server. I've manage to compile my own standalone app
to connect to the DB. I included the ojdbc14.jar in my classpath and
everything seemed to work fine. I can't seem to get the same code to
w
I have a problem with Tomcat and the java-library.path.
(My problem isn't Oracle-specific but it is when I use Oracle that problem
appears since Oracle uses the java.library.path)
What I have managed to do:
Oracle JDBC with works fine if I:
- put ojdbc14.jar in ${CATALINA_HOME}/commo
July 30, 2003 5:37 PM
Subject: Can't find ocijdbc9 in java.library.path
> I have 2 separate directory structures containing two copies of Tomcat 4.0
> and two copies of my application. The applications connect to 2 different
> Oracle databases via JDBC, which exist in the same Oracle
dumb or my BAT file is
wrong, but there it is for future reference.
> -Original Message-
> From: Mike Curwen [mailto:[EMAIL PROTECTED]
> Sent: 30 July 2003 22:59
> To: 'Tomcat Users List'
> Subject: RE: Can't find ocijdbc9 in java.library.path
>
>
&g
sday, July 30, 2003 4:37 PM
> To: '[EMAIL PROTECTED]'
> Subject: Can't find ocijdbc9 in java.library.path
>
>
> I have 2 separate directory structures containing two copies
> of Tomcat 4.0 and two copies of my application. The
> applications connect to 2 dif
get an error saying Tomcat
can't find ocijdbc9 in java.library.path.
I have checked:
1) that the directory containing ocijdbc9.dll is in the PATH
2) that "classes12.zip" - the file containing the Oracle JDBC driver is the
right one for the release of Oracle we are using an
Original Message-
> From: Andy Richards [mailto:[EMAIL PROTECTED]]
> Sent: February 12, 2003 11:53 AM
> To: Tomcat Users List
> Subject: RE: java.io.IOException: no jkjni in java.library.path
>
> Created a symlink from apache2 modules where libjkjni.so is, and linked
> libapr
Original Message-
From: Andy Richards [mailto:[EMAIL PROTECTED]]
Sent: February 12, 2003 11:53 AM
To: Tomcat Users List
Subject: RE: java.io.IOException: no jkjni in java.library.path
Created a symlink from apache2 modules where libjkjni.so is, and linked
libapr-0.so.0 to apache2/lib/libap
les
>
>
>
>
>
>
>
>
> -Original Message-
> From: Andy Richards [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 12, 2003 11:39 AM
> To: Tomcat Users List
> Cc: [EMAIL PROTECTED]
> Subject: RE: java.io.IOException: no jkjni in java.l
a.io.IOException: no jkjni in java.library.path
is it in the same directory as libjkjni.so? -- /usr/local/apache2/modules
-Original Message-
From: Andy Richards [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 11:39 AM
To: Tomcat Users List
Cc: [EMAIL PR
java.library.path
Thanks...
Know i get java.io.IOException: /usr/local/apache2/modules/libjkjni.so:
libapr-0.so.0: cannot open shared object file: No such file or directory
Not sure where to put libapr-0.so.0.
Has anyone actually got a unixSocket to work or "am i clutching at straws
bruary 12, 2003 11:28 AM
To: [EMAIL PROTECTED]
Subject: java.io.IOException: no jkjni in java.library.path
Hi anyone know how to rectify this?
java.io.IOException: no jkjni in java.library.path
I have compiled connectors-4.1.20 and copied mod_jk2.so and libjkjni.so
to apache2 modules directory. I am
Guy Thinks He Knows What He Is Doing"
-Original Message-
From: Andy Richards [mailto:[EMAIL PROTECTED]]
Sent: February 12, 2003 11:28 AM
To: [EMAIL PROTECTED]
Subject: java.io.IOException: no jkjni in java.library.path
Hi anyone know how to rectify this?
java.io.IOException: no jkjn
Hi anyone know how to rectify this?
java.io.IOException: no jkjni in java.library.path
I have compiled connectors-4.1.20 and copied mod_jk2.so and libjkjni.so
to apache2 modules directory. I am trying to get a unixSocket to work to
connect apache2 and tomcat-4.1.20...
Cheers
Andy
y require jdbc v2?
>
> Andy
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: 18 April 2002 13:43
> > To: Tomcat Users List
> > Subject: Re: java.library.path and database connection
> >
> >
> > Hello
Fabio,
jdk1.4 includes jdbc v3 as standard. Perhaps your database drivers
explicitly require jdbc v2?
Andy
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 18 April 2002 13:43
> To: Tomcat Users List
> Subject: Re: java.library.pa
Hello again,
I've sent an email about the error
java.sql.SQLException: java.lang.UnsatisfiedLinkError: no db2jdbc in
java.library.path
Changed the JVM from 1.4 to 1.3.1 and things get going.
Despite the happiness to see the database connection working, I want to
understand w
s).
I have several servlets on tomcat/webapps/some-dir/WEB-INF/classes. The DB2
driver (db2java.jar) is on tomcat/classes/lib. When I try to execute anything
(that connects to the database), I get the message:
java.sql.SQLException: java.lang.UnsatisfiedLinkError: no db2jdbc in
java.library.path
UnsatisfiedLinkError...no ocijdbc8 in java.library.path
I am developing a web application on tomcat 3.2.2 with Apache 1.2.22 on
Solaris 2.8.
I to make connections to Oracle database from this application using the
oci driver.
I am having this error whenever i use oci client for making a
50 matches
Mail list logo