You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Am...@VerizonWireless.com on 2003/03/18 22:06:22 UTC

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:grenoml@yahoo.com]
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 <no...@bocnet.com.au> wrote:
> Good morning.
> If you are using the 2.0.43.dll version of JK2 you are not alone.
> N
> 
> ----- Original Message ----- 
> From: "grenoml" <gr...@yahoo.com>
> To: <to...@jakarta.apache.org>
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org