Hi,
I am new in JNI area. I would like to call a library written in C from my web
application. Unfortunately, it does not work well, but when I call it from a
standard Java application with same parameters it works well. In addition, I
attempted to put some logging information to a file with
Hi folks,
I am a newbie ... I have been trying to do a simple .jsp page that
makes use of a JNI call to a simple HelloWorld .so lib. Here is what i
did..
1. Made a class called HelloWorld.java inside a package "cal" with a
native method displayHello()
2. compiled it with javac
-
:03 PM
To: tomcat-user@jakarta.apache.org
Subject: JNI loading problem
Hi folks,
I am trying to load a simple JNI based .so lib file with Tomcat
5.5.4.(on linux) I am trying to load the .so file within the JSP page.
I am not sure if this is allowed. I have tried all the following
methods..
1
Hi folks,
I am trying to load a simple JNI based .so lib file with Tomcat
5.5.4.(on linux) I am trying to load the .so file within the JSP page.
I am not sure if this is allowed. I have tried all the following
methods..
1. putting the .so file in JAVA_HOME//jre/lib/i386/
2. setting the
Hi folks,
Correct me if I sound stupid here :)
I am trying to load a simple JNI based .so lib file with Tomcat
5.5.4.(on linux) I am trying to load the .so file within the JSP page.
I am not sure if this is allowed. I have tried all the following
methods..
1. putting the .so file in JAVA_HOME
Hi folks,
Correct me if I sound stupid here :)
I am trying to load a simple JNI based .so lib file with Tomcat
5.5.4.(on linux) I am trying to load the .so file within the JSP page.
I am not sure if this is allowed. I have tried all the following
methods..
1. putting the .so file in JAVA_HOME
Hi all,
I use tomcat with jboss 3.2.3, and i try to load a jni extension, but it is not
working.
When i start jboss, i set the java library path, and i put my extension there,
but, it can't
load the library (i think, because, when i try to access something from that ,
i get unsatisfied
Hey Folks,
We have a C++ SDK that we HAVE to integrate using JNI. We are able to
create a console Java app that works perfectly (and beautifully) using
JNI and our C++ SDK. When we wrap this up in servlets and attempt to run
it within Tomcat 5.0.28, we get an UnsatisfiedLinkError
tiple child server processes created.
Does that mean there will be multiple jvms and hence multiple tomcat instances
instantiated? Or is the jvm somehow "shared" across processes?
Is it a requirement of using the jni worker that the number of child server
processes is limited to 1 in th
I have a heap of JNI code, written in C++. It works fine on Windows,
inside and outside Tomcat, when compiled with VC++ 7.1. The underlying
C++ is clean in Purify, or as clean as any code that uses STL ever gets.
On Solaris 2.8, compiled with Forte6u2 (5.3), current patches, + JDK
1.4.2_05, it
Tomcat won't do anything to manage this. I think this is more a generic
JNI question.
Multiple threads can access your native library concurrently. What it's
going to boil down to is whether or not you native library is
thread-safe, and whether you want to impose some degree
Hi,
No.
Yoav Shapira http://www.yoavshapira.com
>-Original Message-
>From: Dan Barron [mailto:[EMAIL PROTECTED]
>Sent: Friday, November 19, 2004 11:59 AM
>To: [EMAIL PROTECTED]
>Subject: JNI, tomcat & thread safety
>
>Hello,
>
>I'm loading a native
Hello,
I'm loading a native library within tomcat - the library is loaded with the
System.loadLibrary() via a static object so that it is only loaded once -
will tomcat manage any threading issues for calls to the library from the
JNI wrapper class?
Thanks
Hello,
How can you determine in Tomcat if a JNI library has been loaded as a
shared resource for web applications? I have a Wrapper class and the
library both living /shared/lib.
Thanks.
Dan
-
To unsubscribe, e-mail: [EMAIL
Hello,
I am having trouble loading a native library for use within Tomcat web
applications. I read the wiki entry and found the latest JNI posts - but I
still don't quite get it and still have an error. I'm hoping someone out
there has been through this and has some sugges
Hi,
I have problems starting the Tomcat as an inprocess of Apache via Jni.
I tried that with the examples of the Jakarta Hompage.
Running Apache and Tomcat seperatly and connect both with a
Socket-Connection is no problem and works fine.
That tells me that the mod_jk2 is well working.
My
Users List
Subject: RE: tomcat 5.0.29 service start problem (JNI)
> From: shyam [mailto:[EMAIL PROTECTED]
> Subject: RE: tomcat 5.0.29 service start problem (JNI)
>
> I have enough memory . I have set it up to use 1500mb where as I have
> enough ram of 2000.
This has nothing to do
> From: shyam [mailto:[EMAIL PROTECTED]
> Subject: RE: tomcat 5.0.29 service start problem (JNI)
>
> I have enough memory . I have set it up to use 1500mb where as I have
> enough ram of 2000.
This has nothing to do with physical memory. The maximum heap size is dependent
problem
Thanks
shyam
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 10:00 AM
To: Tomcat Users List
Subject: RE: tomcat 5.0.29 service start problem (JNI)
Hi,
I bet your -Xmx parameter is too big for your physical hardware.
Yoav Shapira http
Hi,
I bet your -Xmx parameter is too big for your physical hardware.
Yoav Shapira http://www.yoavshapira.com
>-Original Message-
>From: shyam [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 14, 2004 9:41 AM
>To: 'Tomcat Users List'
>Subject: tomcat 5.0.29 s
Hi All,
I have a problem starting tomcat as a service. I get this error in the
tomcat log for Jakarta_service log.
JNI Error occurred during initialization of VM
[2004-10-14 01:22:29] [info] JNI
[2004-10-14 01:22:29] [info] JNI Could not reserve enough space for
object heap
[2004-10-14 01:22:29
]
channel=channel.socket:192.62.22.154:8009
# Define the comunication channel
[channel.jni:jni]
info=The jni channel, used if tomcat is started inprocess
# Define the parameters for the Java Virtual Machine
[vm:]
info=Parameters used to load a
Hi all,
I've some trouble running a web application that use JNI to access a dll.
The os is windows 2000/XP and I'm running Tomcat 5.0.26 (tried also with 27
and 28).
I've done the following step:
- put my dll in the %ApacheInstallDir%/common/lib
- started Tomcat service
- open th
diminish the number of exceptions by changing the shm file from anon to
a real file on the system. I'm thinking this is slowing down the JNI
somehow? (leading me back to the collisions theory).
Any help is greatly appreciated! Otherwise I'm left with trying to read
the code an
Hi
I'm trying to call a JNI package from a Tomcat servlet.
I thought I had this working but I got in a mess the last couple of
days and reinstalled my webapp and it's not behaving as before
but I can't find what's different (I must have forgotten something
but).
The packa
the class loading it is inside a JAR in $CATALINA_HOME/shared/lib.
Beside the JNI library is a native library libBar.dylib.
I'm running Tomcat 5.0.25 on Mac OS X 10.3.4
Here's the exception:
UnsatisfiedLinkError:
/Users/henryson/Library/Java/Extensions/libFoo.jnilib:
java.lang.Unsatisfi
no email please
-Mensaje original-
De: Tim Penhey [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles 7 de Julio de 2004 14:33
Para: Tomcat Users List
Asunto: Re: UnsatisfiedLinkError - JNI
Josef Henryson wrote:
> Hi!
>
> I get an UnsatisfiedLinkError when trying to System.loadLib
Josef Henryson wrote:
Hi!
I get an UnsatisfiedLinkError when trying to System.loadLibrary("foo")
from a class instantiated within a Servlet. The library libFoo.jnilib
is in a folder within java.library.path and the class loading it is
inside a JAR in $CATALINA_HOME/shared/lib. Besi
Hi!
I get an UnsatisfiedLinkError when trying to System.loadLibrary("foo")
from a class instantiated within a Servlet. The library libFoo.jnilib
is in a folder within java.library.path and the class loading it is
inside a JAR in $CATALINA_HOME/shared/lib. Beside the JNI library is
Title: JK2 / Apache / JNI Inprocess
Apologies for the resend but I cant find this in the archive and i never received it back
Hi,
After being assured by someone on this list that JNI worked on the latest tomcat and JK2 versions I thought I'd give it another shot.
As far as I can
Title: JK2 / Apache / JNI Inprocess
Hi,
After being assured by someone on this list that JNI worked on the latest tomcat and JK2 versions I thought I'd give it another shot.
As far as I can tell there is no way its going to apart from possibly on windows.
Can anyone te
I was wondering if you have figured all of this out. I am running into the same
problem. I am trying to figure out how to get around the gdbm library problem.
---Original Message---
> From: Yang Xiao <[EMAIL PROTECTED]>
> Subject: RE: JK2 JNI link bug [Was: Re:
Yang Xiao wrote:
Hem, unfortunately, I tried that, which worked, but then tomcat complains
about another XML library not being linked. I'm building Apache from scratch
now... please help.
Well, you can always try to get it all. Re-building Apache from scratch might be
a scarry task. You'll need a
PM
To: Tomcat Users List
Subject: Re: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5]
Yang Xiao wrote:
>Hi,
>Thanks for the help
>I went back and modified the Makefile with all 3 libraries as you have
said,
>recompiled and now I'm getting a different error:
>INFO: APR
Yang Xiao wrote:
Hi,
Thanks for the help
I went back and modified the Makefile with all 3 libraries as you have said,
recompiled and now I'm getting a different error:
INFO: APR not loaded, disabling jni components: java.io.IOException:
java.lang.UnsatisfiedLinkError: /usr/local/apache/mo
-Original Message-
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 13, 2004 1:49 AM
To: Tomcat Users List
Subject: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5]
Yang Xiao wrote:
> Hi list,
> I'm trying to get Apache 2.0.49/JK2/Tomcat 5.0.19 to w
Yang Xiao wrote:
Hi list,
I'm trying to get Apache 2.0.49/JK2/Tomcat 5.0.19 to work
I was able to get JK2 to compile and placed the mod_jk2.so and libjkjni.so
in /usr/local/apache/modules
But when I start the Tomcat server, I'm getting this error
INFO: APR not loaded, disabling jni
Hi,
I am trying to connect tomcat 5.0 and Apache 2.0.48 through JK2
connector using JNI on Windows 2000. The channel.jni:jni init is failing.
I greatly appreciate any help with this.
Thanks,
Sreeni
Following are the errors from the log file mod_jk2.log
Hi!
Does someone have a working Configuration with Windows/IIS and where the
Tomcat 4.1.x is started via jni_connect.dll? I have this config running
with Tomcat 3.2.1 and got it running with jk2 and tomcat 4.1.27, but
with jk2 I have strange problems concerning put requests (stream gets
mixed
integrate apache and tomcat with jni
Thank you for telling me this.But can i ask why?
Yes,I have already have apache2.0.40 and tomcat5.19 running together using
ajp13.
>From: "David Short" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>To: "'Tomcat U
gt;
Subject: RE: Error while trying to integrate apache and tomcat with jni
Date: Tue, 23 Mar 2004 20:06:51 -0800
I don't believe you can run Tomcat inprocess with Apache on Unix. You need
to use sockets.
-Original Message-
From: Zheng Neil [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March
I don't believe you can run Tomcat inprocess with Apache on Unix. You need
to use sockets.
-Original Message-
From: Zheng Neil [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 7:58 PM
To: [EMAIL PROTECTED]
Subject: Error while trying to integrate apache and tomcat with jni
Hi,
I tried hard these days to make tomcat and apache work together with jni
but only to find this in the [apache_home_dir]/logs/error_log
*
error_log
*
[Tue Mar 23 08:37:46 2004] [notice] Apache/2.0.49 (Unix) mod_jk2/2.0.2
configure
d -- resuming normal operations
[Tue Mar 23 08
I tried hard these days to make tomcat and apache work together with jni
but only to find these in the [apache_home_dir]/logs/error_log
*
error_log
*
[Tue Mar 23 08:37:46 2004] [notice] Apache/2.0.49 (Unix) mod_jk2/2.0.2
configure
d -- resuming normal operations
[Tue Mar 23 08:37
Did you ever get this working?
-Original Message-
From: Tim Stewart [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 11:42 PM
To: Tomcat Users List
Subject: Re: J2K in process JNI with Tomcat 5.0.19 and apache 2
Ok it doesn't like my properties files
jk2.properties
## THIS
Hi:
I am deploying Axis based web services in Tomcat (4.0.6). My web
app .jar files need to be dynamically updated...
However, since some of the helper .jar files use Native (JNI) dlls,
I am unable to do this...I get the following error when Axis tries to
re-load the web app
elJni
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config is working
shm.file=c:/Apache2/logs/jk2.shm
#size=10485760
# In order to enable jni use any channelJni dire
Here are my props.
- Original Message -
From:
Tim Stewart
To: Tomcat Users List
Sent: Friday, March 19, 2004 12:37
AM
Subject: J2K in process JNI with Tomcat
5.0.19 and apache 2
I got the ajp13 to work great with standalone
tomcat.
I tried to
? Or even better, anyone know of any documentation/articles about using JNI
with tomcat?
(I read in digest mode, please reply-to-all, thanks)
Thanks,
-Marc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
# Default Native Logger (apache2 or win32 )
> # can be overriden to a file logger, useful
> # when tracing win32 related issues
> #logger=logger.file:0
> [channel.socket:localhost:8009]
> info=Ajp13 forwarding over socket
> debug=0
> tomcatId=localhost:8009
>
> [channel.jni
ming=1
> debug=0
> # Default Native Logger (apache2 or win32 )
> # can be overriden to a file logger, useful
> # when tracing win32 related issues
> #logger=logger.file:0
> [channel.socket:localhost:8009]
> info=Ajp13 forwarding over socket
> debug=0
> tomcatId=localho
useful
# when tracing win32 related issues
#logger=logger.file:0
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009
[channel.jni:jni]
info=The jni channel, used if tomcat is started inprocess
[status:]
info=Status worker, displays runtime informat
ctor seems better
documented than the jk2).
My workers.properties looks like:
workers.apache_log=D:\Program Files\Apache Group\Tomcat 4.1\logs\isapi.log
workers.tomcat_home=D:\Program Files\Apache Group\Tomcat 4.1
workers.java_home=C:\j2sdk1.4.1_02
worker.list=defWorker
worker.defWorker.type=
I have a web app that utilizes various 3rd party/in-house JNI DLLs, but
System.loadLibrary() fails to locate them only when Tomcat 4.1 is run as a
service under Win2k. Two odd surrounding issues:
(a) Tomcat is run from Drive D:, the DLLs are located drive D:\myDLLs and
the system PATH has D
I'm having a problem using servlets and maybe some of you can help me to
figure out what's going on. Here's the deal: I have a servlet that loads
a C library and uses some of these C native methods. In addition, I have
some JSPs that invoke the routines contained in this servlet. My C
applicati
Hi Pablo
we also use JNI in our web apps. it works (except the reloading issue, but
that's another story).
we use the ./bin/setenv.sh script for our settings, therefore:
...
# must contain the ACE Agent JNI library "libaceagent.so":
LD_LIBRARY_PATH=/home/bgo/deploy/sr-hl
Did you try to startup Tomcat with the same script, without using your
library, in order to check if the script works right?
YES I start up the tomcat with the same script to test other
applications that doesn't work with JNI and everything goes fine.
Pablo Vidal
From: Giu
> Then I made a script to start the tomcat with the LD_LIBRARY_PATH
> environment variable set up:
> -
> #!/bin/sh
> export JAVA_HOME=/opt/java
> export CATALINA_HOME=/usr/local/jakarta-tomcat
> export PATH=${JAVA_HOME}/bin:${PATH}
> expor
Hello.
I'm running a JSP based Web aplicacion using Tomcat wich uses a Java Class
that loads a
native library (JNI).
The files are created as follows:
> javac extractor/HTDInterface.java
> javah extractor.HTDInterface
then I compile my c++ source code with the
Do someone know if it is possible to use JNI with IIS?
April
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Put the class in common/lib
-Original Message-
From: Maxime Colas des Francs [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 9:38 AM
To: Tomcat Users List
Subject: JNI & loadLibrary
Hi
Tomcat 5.0.16 release-note says :
"... the application must also ensure that th
Hi all,
Can someone explain me how do I configure the tomcat to work with JNI and
IIS 5?
Regards,
Yuval
“This email message and any attachments hereto are intended only for use by
the addressee(s) named above, and may contain legally privileged and/or
confidential information. If you are not
Hi
Tomcat 5.0.16 release-note says :
"... the application must also ensure that the library is
not loaded more than once. If the above code were placed in a class inside
the web application (i.e. under /WEB-INF/classes or /WEB-INF/lib), and the
application were reloaded, the loadLibrary() call w
Hi all,
Can someone explain me how do I configure the tomcat to work with JNI and
IIS 5?
Regards,
Yuval Zantkeren
Domain The Net Technologies Ltd.
81 Sokolov St.
Ramat-Hasharon
Israel 47238
Tel: 972-3-7600500
Fax: 972-3-7600505
www.DomainTheNet.com
“This email message and any attachments
Hi
I use Tomcat 5.0.16 and attempt to call natives methods from one of my DLL
by JNI (works fine outside tomcat).
I follow these steps :
1) I put -Djava.library.path=/path/to/dll in CATALINA_OPTS environement
variable.
I use System.loadLibrary("mylib") in a static context of a
e two different web-applications that use JNI to access a C device driver and a
VB DLL for some server software on one of our cabinets. In general, we would get
something along the lines of an unsatisfied link error on the line where you first
make a call to the native function (not w
Yiannis Mavroukakis wrote:
Yep I see what you mean know (fog of stupidity lifts).
Ok so to iterate, the problem is that since linux
has multiple workers, these workers will want to attach
themselves to their own tomcat instance.
How about this then..instead of launching
several tomcat instances (
> -Original Message-
> From: Yiannis Mavroukakis
>
> Yep I see what you mean know (fog of stupidity lifts).
> Ok so to iterate, the problem is that since linux has
> multiple workers, these workers will want to attach
> themselves to their own tomcat instance.
> How about this then..
Mladen Turk wrote:
Look at the thread.
Unfortunately the JNI isn't of much use on Linux, or to be more specific, on
any multi child mpm.
If you manage to maintain the single worker process (like winnt-mpm does),
then you can use the JNI.
The reason for that is quite simple; You cannot hav
or the documentation.
-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED]
Sent: 08 January 2004 17:54
To: 'Tomcat Users List'
Subject: RE: mod_jk2 JNI question for the brave :)
> From: Yiannis Mavroukakis
>
> I thought I had a rough understanding but it turns out
08, 2004 10:57 PM
Subject: JNI and TOMCAT problem
> Hi.
>
> I'm runnin a JSP based Web aplicacion wich uses a Java Class that loads
a
> native library (JNI). This Class is placed in a jar file at /common/lib/
> The .so file is placed inside the jdk at /JAVA_HOME/jre/lib/
> From: Nikola Milutinovic
> Sent: 9. siječanj 2004 10:18
> To: Tomcat Users List
> Subject: Re: mod_jk2 JNI question for the brave :)
>
> >>
> >>What is the real benefit of running TC from within Apache via JNI?
> >
> > It should be a faster, caus
Mladen Turk wrote:
That was the thing that I considered, but again if you have
multiple
workers, what would be the benefit of having that much Tomcat
instances running.
What is the real benefit of running TC from within Apache via JNI?
It should be a faster, cause there is no socket channel
> From: Nikola Milutinovic
> Sent: 9. siječanj 2004 7:31
> To: Tomcat Users List
> Subject: Re: mod_jk2 JNI question for the brave :)
>
> Mladen Turk wrote:
>
> >>From: Yiannis Mavroukakis
> >>Sent: 8. siječanj 2004 16:34
> >>
> >>Would
Mladen Turk wrote:
From: Yiannis Mavroukakis
Sent: 8. siječanj 2004 16:34
Would it not be possible to bind JNI under a single worker
and then isolate that worker from the rest of the pool
(possibly provide the ability for workers to carry some sort
of identification bit with regards to who can
Hi.
I'm runnin a JSP based Web aplicacion wich uses a Java Class that loads a
native library (JNI). This Class is placed in a jar file at /common/lib/
The .so file is placed inside the jdk at /JAVA_HOME/jre/lib/i386/
I sucesfully build and test a standalone application for the use o
Hi.
I'm runnin a Web aplicacion wich uses a Java Class that loads a native
library (JNI). This Class is placed in a jar file at /common/lib/
The .so file is placed inside the jdk at /JAVA_HOME/jre/lib/i386/
I sucesfully build and test an standalone application to the use of the
JNI.
> From: Yiannis Mavroukakis
>
> I thought I had a rough understanding but it turns out that I
> dont %-) Do you mean that JNI will work only under one worker
> containing a single child process?
>
Are you using the Tomcat as in or out of the process?
In process to
standing but it turns out that I dont %-)
Do you mean that JNI will work only under one worker containing
a single child process?
>The JK2 code (from CVS) will in that case refuse to load the inprocess jvm,
>and the code snippet in you exhibit is meant to be used for that.
>At least the cod
OK . . . when I take a break from job searching I'll
look at that and the missing -laprutil-0 in
server/apache2/Makefile
It's probably missing in the appropriate mod_jk
Makefile as well.
/mde/
just my two cents . . . .
> Yes.
> Few months ago we decided to use the APR as
> mandatory for JK2.
>
> From: Mark Eggers
> Sent: 8. siječanj 2004 18:09
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: RE: mod_jk2 JNI question for the brave :)
>
> I've tried compiling the jk2 code in
> jakarta-tomcat-connectors from CVS and get the following
> err
I've tried compiling the jk2 code in
jakarta-tomcat-connectors from CVS and get the
following error for this file:
common/jk_channel_socket.c
common/jk_channel_socket.c:74:2: #error
"jk_channel_socket is deprecated"
Any thoughts?
I've gotten both IP and UNIX sockets to work on Fedora
Core 1 usi
> From: Yiannis Mavroukakis
> Sent: 8. siječanj 2004 16:34
>
> Would it not be possible to bind JNI under a single worker
> and then isolate that worker from the rest of the pool
> (possibly provide the ability for workers to carry some sort
> of identification bit wi
Hi Mladen, thank you for the reply that helps me gain some understanding in
the issue.
Would it not be possible to bind JNI under a single worker and then isolate
that worker from the rest of the pool (possibly provide the ability for
workers to
carry some sort of identification bit with regards
> From: Yiannis Mavroukakis
> Subject: mod_jk2 JNI question for the brave :)
>
> Hi everyone,
>
> Bringing the woes of jk2+JNI again here with the dreaded
> "Can't find child xx in scoreboard", since I haven't found a
> satisfactory answer by
Hi everyone,
Bringing the woes of jk2+JNI again here with the dreaded "Can't find child
xx in scoreboard", since I haven't found
a satisfactory answer by anyone.
Using TC5 with Apache 2.0.x under Linux, I can get jk2 to work using
sockets. However the fun begins when
I try to
No. When it starts, I see the following error:
.
org.apache.jk.server.JkMain newHandler
SEVERE: No class name for channelJni channelJni
org.apache.jk.server.JkMain start
INFO: APR not loaded, disabling jni componentes: java.io.IOException:
java.lang.UnsatisfiedLinkError: no jnjni in
Does your tomcat installation run fine? i.e. in a standalone mode?
Wade
-Original Message-
From: Tony [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 12:20 AM
To: [EMAIL PROTECTED]
Subject: tomcat jni configuration...
hi,
all
i have a problem trying to configurate my
hi,
all
i have a problem trying to configurate my apache 2.x with Tomcat 4 (jni using jk2)...
everything looks fine when i initiate apache, but when i try to access the examples
apps (localhost/examples) i got the following error on error.log (apache directory):
Tue Dec 02 03:08:56 2003
Ah, in the java tree! I'm too hung up on Tomcat and overlooked the obvious.
Thanks,
Jim.
Phillip Qin wrote:
$JAVA_HOME/jre/lib/i386
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: November 10, 2003 10:27 AM
To: Tomcat Users List
Subject: Where to I put .so fo
TED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Sent: Monday, November 10, 2003 4:26 PM
Subject: Where to I put .so for JNI access?
> I've searched google for jni and tomcat, but I can't figure out where to
> put a shared lib so a Tomcat application will find it. All the peo
$JAVA_HOME/jre/lib/i386
-Original Message-
From: Jim Lynch [mailto:[EMAIL PROTECTED]
Sent: November 10, 2003 10:27 AM
To: Tomcat Users List
Subject: Where to I put .so for JNI access?
I've searched google for jni and tomcat, but I can't figure out where to
put a shared lib s
I've searched google for jni and tomcat, but I can't figure out where to
put a shared lib so a Tomcat application will find it. All the people
looking for help have already figured this out, apparently.
Anyway, running Linux on Intel, Tomcat 4.1.24. Where does my .so file
Hi all,
After this has gotten on my nerves I can't hold up any longer...
My web app depends on a third party component that uses JNI. My
development env is Tomcat 4.1.18 with JRE 1.4.0_02 on XP.
The app runs without a flaw as long as I don't publish new servlets or
JSP and reload Tom
hi,
can any one help me in connecting tomcat5.0.9 with
apache2.0.47 with jk2-2.0.43.
I have connected Tomcat5.0.9 and Apache2.0.47 with
jk2-2.0.43 on channel socket.
I want to connect them with channel jni.
please any one tell me the step by step procedure.
Thanking you.
My e-mail address
Hi,
Hi, I have a stand alone Java Application that access native library (C++
DLL) via JNI. The application works properly in stand alone mode.
However, when I need to run it from a Servlet into Tomcat
* System.loadLibrary("MYdll") works properly. Library is found in the
java.librar
CTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 16, 2003 1:05 PM
Subject: Re: JNI and Tomcat
> Hi,
>
> I have exactly the same problem !
> do you found a solution ?
>
> Thanks,
>
> David LAFAY
>
>
Hi,
I have exactly the same problem !
do you found a solution ?
Thanks,
David LAFAY
--
"Harald Wehr" <[EMAIL PROTECTED]> a écrit dans le message news:
[EMAIL PROTECTED]
> I use tomcat 4.0.1 on a Su
Hi there and good afternoon world,
I have a question regarding JNI and Tomcat (4.1.27):
A servlet loads a DLL via
static {
System.loadLibrary("SharedLib");
}
This statement placed directly in my servlet works fine.
But when another servlet is about to use some
Hello everyboy, is there an Tomcat-JNI expert out there ?
The setting:
I have serveral servlets in one Tomcat (4.1.24) instance using different
functions being bundeled in one DLL (.so respectively).
Since native libraries cannot be laoded more than once I wrote
a simple loader like this
1 - 100 of 311 matches
Mail list logo