You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jonathan Eric Miller <je...@uchicago.edu> on 2001/09/05 19:29:16 UTC

Where to place native code called by JNI?

Not sure if this is a FAQ or not, but, is there a recommended location where
to put native code that is called by a servlet?

Currently, I put code similar to the following in startup.sh to tell it
where to look.

LD_LIBRARY_PATH=/path/to/native/code
export LD_LIBRARY_PATH

Is this what everyone else is doing? Or is there some other recommended way
of doing it? i.e. is there a directory within Tomcat 4's directory structure
specifically where it will look for native code (similar to how it looks for
.jar files)?

Jon



prevent browsing

Posted by hatim <ha...@free.fr>.
hy

I m using tomcat 3.2 with apache 1.3.20 ( i use mod_jk-auto in the httpd.conf 
)
i want to prevent browsing some directory from the web 
by defaut , tomcat prevent browsing WEB-inf , but i want to add more then 
that directory to be denied from "browsability "
i m talking about directories that tomcat manage and not apache ( directorie 
declared in the server.xml)

how can i do that

thanks

Hatim