RE: in-process howto

2001-04-11 Thread Michael Klimkin

Does it works on your machine? When I make changes to the worker.properties
and set up worker.list=inprocess (or jni), change uniworkermap.properties
and set up /*=inprocess (or jni) IIS doesn't redirect all requests to
tomcat. But when univorkermap.properties contains string /*=ajp12 and
worker.properties doesn't contain inprocess or jni in the worker.list, IIS
works!

Michael


-Original Message-
From: Mark Mynsted [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 3:24 AM
To: [EMAIL PROTECTED]
Subject: in-process howto


The in-process howto is very good however, it is not clear to me how this
works without making any changes to IIS.  When I do the out of process
method with tomcat, I must set up filter to use isapi_redirect.dll, but I
need do nothing to use the inprocess method?




RE: installing tomcat

2001-04-11 Thread Michael Klimkin

You should add to the PATH variable string %JAVA_HOME%\bin

-Original Message-
From: GoldenDawn Fan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 11, 2001 7:28 PM
To: [EMAIL PROTECTED]
Subject: installing tomcat


Hi, I am having problem installing tomcat. I set the
TOMCAT_HOME to c:\tomcat and and JAVA_HOME to
c:\jdk1.2.1. But how do I "add the Java interpreter to
your PATH environment variable"? Any help would be
much appreciated.
Thanks in advance. 



__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



RE: SSL & IIS

2001-04-11 Thread Michael Klimkin

You can simply integrate Tomcat & IIS and configure IIS to use SSL.

-Original Message-
From: Lyle H. Ward [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 11, 2001 6:47 PM
To: [EMAIL PROTECTED]
Subject: Re: SSL & IIS


Roberto,

I asked this general question late last week and didn't get and responses.
I've just started setting up my workstation to try it. My best guess is that
Tomcat will have to be run "in process" with IIS. There's a how to for
setting up in process on IIS. I'd prefer a separate process for Tomcat. Will
post my problems when they arrive.

Lyle


At 04:32 PM 4/11/2001 +0200, you wrote:
>Dear,
>I'm developing a web application using tomcat as a servlet engine, and IIS
>as a web server. I even want to use SSL for my application. How should I
>configure tomcat?
>Thanks in advance,
>Roberto
>
>-
>Roberto Ratti
>TXT e-solutions S.p.A.
>Via Frigia, 27 - 20126 Milano - ITALY
>Phone: +39 2 25771.230
>Fax: +39 2 2578994
>e-mail: [EMAIL PROTECTED]
>Web: http://www.txt.it
>ICQ #104796434
>
>
>



RE: Apache, SSL and TOMCAT

2001-04-11 Thread Michael Klimkin


Try to use
http://www.ccl.net/cca/software/UNIX/apache/solaris-t3.2b5/README.shtml

It really helps me

Michael

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 11, 2001 6:28 PM
To: [EMAIL PROTECTED]
Subject: Apache, SSL and TOMCAT


Hi,

 I'm confused and can't find any good documentation dealing with TOMCAT,SSL
and
Apache.  I'm using a 128 bit SSL key from Verisign with my Apache web
server.
I noticed in the TOMCAT's server.xml file a series of steps to be completed
if
I need SSL support.  I don't understand step 1 and 3. I'm new at this so
please
forgive me.  But what is JSSE and where do I added it to the CLASSPATH.  If
I'm
intergrating TOMCAT with Apache why do I generate key as outlined in Step 3.

Dave



work directory

2001-04-11 Thread Michael Klimkin

Hi!

Do you know is it possible to change the names of the directories under the
work directory?

They look like localhost_8080 ant etc. 

Thank you

Michael



stderr.log

2001-04-09 Thread Michael Klimkin

Hi all!

How can I get rid from the stderr.log that appears each time tomcat starts
as a service?

Thank you




mod_jk.so building

2000-12-19 Thread Michael Klimkin

> Hi!
> 
> Help me if you can...
> 
> I'm trying to build the mod_jk.so on Solaris 7:
> 
> 
> #/usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS \ 
> -I${JAVA_HOME}/include/solaris \ 
> -I../jk -I${JAVA_HOME}/include \ 
> -l posix4 -c *.c ../jk/*.c
> 
> This script writes such rows:
> 
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c mod_jk.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_ajp12_worker.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_ajp13.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_ajp13_worker.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_connect.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_jni_worker.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_lb_worker.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_map.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_msg_buff.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_nwmain.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_pool.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_sockbuf.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_uri_worker_map.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_util.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_worker.c
>   -o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o
> jk_pool.o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o
> jk_jni_worker.o jk_connect.o jk_ajp13_worker.o jk_ajp13.o
> jk_ajp12_worker.o mod_jk.o -lposix4 
> apxs:Break: Command failed with rc=16777215
> 
> When i try to execute
> 
> #gcc -shared -o mod_jk.so *.o ,
> 
> it returns
> 
> Text relocation remains referenced
> against symbol  offset  in file
>0x858   jk_ajp12_worker.o
>0x84c   jk_ajp12_worker.o
>0x85c   jk_ajp12_worker.o
>0x848   jk_ajp12_worker.o
>0x604   jk_ajp12_worker.o
>0x5e8   jk_ajp12_worker.o
>0x828   jk_ajp12_worker.o
>0x83c   jk_ajp12_worker.o
>0x838   jk_ajp12_worker.o
>0x82c   jk_ajp12_worker.o
>0x5ec   jk_ajp12_worker.o
>0x600   jk_ajp12_worker.o
>0x2cjk_ajp12_worker.o
>0xe4jk_ajp12_worker.o
>0xe8jk_ajp12_worker.o
>0xf4jk_ajp12_worker.o
>  memcpy  0xf18   jk_map.o
> memcpy  0xee0   jk_map.o
> memcpy  0x2e8   jk_pool.o
> memcpy  0x108   jk_sockbuf.o
> memcpy  0x3a4   jk_pool.o
> memcpy  0x53c   jk_pool.o
> memcpy  0x1dc   jk_sockbuf.o
> memcpy   

mod_jk.so building

2000-12-19 Thread Michael Klimkin

Hi!

Help me if you can...

I'm trying to build the mod_jk.so on Solaris 7:


#/usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS \ 
-I${JAVA_HOME}/include/solaris \ 
-I../jk -I${JAVA_HOME}/include \ 
-l posix4 -c *.c ../jk/*.c

This script writes such rows:

gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c mod_jk.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c ../jk/jk_ajp12_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c ../jk/jk_ajp13.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c ../jk/jk_ajp13_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c ../jk/jk_connect.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c ../jk/jk_jni_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c ../jk/jk_lb_worker.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c ../jk/jk_map.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c ../jk/jk_msg_buff.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c ../jk/jk_nwmain.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c ../jk/jk_pool.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c ../jk/jk_sockbuf.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c ../jk/jk_uri_worker_map.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c ../jk/jk_util.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
-I/usr/java/include -DSOLARIS  -c ../jk/jk_worker.c
  -o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o
jk_pool.o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o jk_jni_worker.o
jk_connect.o jk_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o mod_jk.o
-lposix4 
apxs:Break: Command failed with rc=16777215

When i try to execute

#gcc -shared -o mod_jk.so *.o ,

it returns

Text relocation remains referenced
against symbol  offset  in file
   0x858   jk_ajp12_worker.o
   0x84c   jk_ajp12_worker.o
   0x85c   jk_ajp12_worker.o
   0x848   jk_ajp12_worker.o
   0x604   jk_ajp12_worker.o
   0x5e8   jk_ajp12_worker.o
   0x828   jk_ajp12_worker.o
   0x83c   jk_ajp12_worker.o
   0x838   jk_ajp12_worker.o
   0x82c   jk_ajp12_worker.o
   0x5ec   jk_ajp12_worker.o
   0x600   jk_ajp12_worker.o
   0x2cjk_ajp12_worker.o
   0xe4jk_ajp12_worker.o
   0xe8jk_ajp12_worker.o
   0xf4jk_ajp12_worker.o
 memcpy  0xf18   jk_map.o
memcpy  0xee0   jk_map.o
memcpy  0x2e8   jk_pool.o
memcpy  0x108   jk_sockbuf.o
memcpy  0x3a4   jk_pool.o
memcpy  0x53c   jk_pool.o
memcpy  0x1dc   jk_sockbuf.o
memcpy  0x160   jk_connect.o
gethostbyname   0xfcjk_connect.o
close   0x3c4   jk_connect.o
setsockopt  

mod_jk.so building

2000-12-19 Thread Michael Klimkin

> Hi!
> 
> Help me if you can...
> 
> I'm trying to build the mod_jk.so on Solaris 7:
> 
> 
> #/usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS \ 
> -I${JAVA_HOME}/include/solaris \ 
> -I../jk -I${JAVA_HOME}/include \ 
> -l posix4 -c *.c ../jk/*.c
> 
> This script writes such rows:
> 
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c mod_jk.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_ajp12_worker.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_ajp13.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_ajp13_worker.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_connect.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_jni_worker.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_lb_worker.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_map.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_msg_buff.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_nwmain.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_pool.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_sockbuf.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_uri_worker_map.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_util.c
> gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> -I/usr/local/apache/include -I/usr/java/include/solaris -I../jk
> -I/usr/java/include -DSOLARIS  -c ../jk/jk_worker.c
>   -o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o
> jk_pool.o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o
> jk_jni_worker.o jk_connect.o jk_ajp13_worker.o jk_ajp13.o
> jk_ajp12_worker.o mod_jk.o -lposix4 
> apxs:Break: Command failed with rc=16777215
> 
> When i try to execute
> 
> #gcc -shared -o mod_jk.so *.o ,
> 
> it returns
> 
> Text relocation remains referenced
> against symbol  offset  in file
>0x858   jk_ajp12_worker.o
>0x84c   jk_ajp12_worker.o
>0x85c   jk_ajp12_worker.o
>0x848   jk_ajp12_worker.o
>0x604   jk_ajp12_worker.o
>0x5e8   jk_ajp12_worker.o
>0x828   jk_ajp12_worker.o
>0x83c   jk_ajp12_worker.o
>0x838   jk_ajp12_worker.o
>0x82c   jk_ajp12_worker.o
>0x5ec   jk_ajp12_worker.o
>0x600   jk_ajp12_worker.o
>0x2cjk_ajp12_worker.o
>0xe4jk_ajp12_worker.o
>0xe8jk_ajp12_worker.o
>0xf4jk_ajp12_worker.o
>  memcpy  0xf18   jk_map.o
> memcpy  0xee0   jk_map.o
> memcpy  0x2e8   jk_pool.o
> memcpy  0x108   jk_sockbuf.o
> memcpy  0x3a4   jk_pool.o
> memcpy  0x53c   jk_pool.o
> memcpy  0x1dc   jk_sockbuf.o
> memcpy