You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by STEVE R BURRUS <st...@yahoo.com> on 2002/06/24 18:35:34 UTC

Hi Rory, this is ........

 Rory, u don't know me at all--just your "good luck" right?? :)--I am Steve
Burrus, and I was just now reading your msg. in which you mentioned the Apache
2.0.39 HTTP Server! I downloaded/installed just yesterday Apache, and was just
wondering how you go about integrating it with Tomcat?!!! I looked at the main
configuration file for Apache, but saw no guidance there for how you do this!!   

***********************************************************************************
--- "Douglas, Rory" <Ro...@na.sunchem.com> wrote:
> Hello all
> 
> I have a working binary of mod_jk2.dll (working with Apache 2.0.39 on Win2k
> Server) if anyone would like to try it out. No guarantees though!
> 
> You can get it here --> http://www.mycgiserver.com/~worrel
> 
> cheers
> 
> Rory Douglas
> Sun Chemical Corporation
> (201) 224-4600 x133
> rory.douglas@na.sunchem.com <ma...@na.sunchem.com> 
> > --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


how do I load a native library?

Posted by Andreas Hirner <an...@projektinter.net>.
Hi,

I would like to load a native library for all applications in the
common/lib directory.
So I wrote the following code:

 public class InitMapserver
 {
   static
  {
     try {
        System.loadLibrary("mapscript");
        System.err.println("libmapscript.so loaded");
     } catch (UnsatisfiedLinkError e) {
        System.err.println("libmapscript.so not loaded: " + e);
     }
   }
 }

then I created a jar file and copied it into the common/lib directory.
After restarting tomcat, I called the class in a servlet using the
Class.forName method. Unfortunately this does not work.

What did I wrong?

Thanks Andreas



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>