you didn't give us what error you get, maybe the catalina.sh in Tomcat 4.x is not picking up your LD_LIBRARY_PATH, make sure it gets explicitely set in there,
another thought is that you are running with the security manager enabled and it restricts you from doing so Filip > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2003 1:06 PM > To: [EMAIL PROTECTED] > Subject: Error Migrating from Tomcat 3.2.3 to 4.0.1 in .so > > > Hi All, > > I am migrating my applications from TC 3.2.3 to 4.0.1 in the > Unix server . > Everything is working fine except I am using a JNI to call a C library > called sample.so and I am getting error when it is trying to > access the > sample.so library. The sample.so is already in my .profile . > I don't get > that error when I run in 3.2.3 > > Anyone have any idea what am I doing wrong or am I missing > any steps for > migration. > I did the following steps. > > 1. Stopped the 3.2.3 > 2. I copied all my *.war files from 3.2.3 ~/webapps/*.war to the > ~/webapps/*war in 4.0.1 > 3. I started the 4.0.1 > > Access the JSP files and they came up without problem but as > soon as I use > the sample.so it stop working. > > Appreciate any help. > > Amir. > > -----Original Message----- > From: grenoml [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2003 3:37 PM > To: Tomcat Users List > Subject: Re: jk2 and passing env vars > > > Yes, my Apache2 is 2.0.43 and I built mod_jk2.so locally. BTW, do > you know if there is bug open on this in bugzilla? Do you think this > is just a lack of configuration documentation or should this be posted > as a bug? > > Regards, > Gerry > > > --- NormW <[EMAIL PROTECTED]> wrote: > > Good morning. > > If you are using the 2.0.43.dll version of JK2 you are not alone. > > N > > > > ----- Original Message ----- > > From: "grenoml" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, March 19, 2003 6:14 AM > > Subject: jk2 and passing env vars > > > > > > > Is the method for passing environment vars between Apache2 and > > Tomcat > > > the same for mod_jk and mod_jk2? I am using jk2 now and when I > > tried > > > adding the line: 'JkEnvVar MyEnvVar' to httpd.conf it results in > > this > > > error when starting Apache2: > > > Invalid command 'JkEnvVar', perhaps mis-spelled or defined by a > > module > > > not included in the server configuration. > > > I have the LoadModule directive declared for jk2_module and the > > > connector is working fine otherwise. Does jk2 not recognize the > > Jk* > > > directives? It doesn't seem to recognize any of them. > > > > > > Thanks :-) > > > > > > > > > > > > __________________________________________________ > > > Do you Yahoo!? > > > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your > > desktop! > > > http://platinum.yahoo.com > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! > http://platinum.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]