Not Found (404)/tomcat-3.3a/ trouble with redirecting url

2002-09-05 Thread Yu Zhang

Hi,
 I set a IIS server and a tomcat-3.3a(standalone) in the same machine. and a
web based database application running on both servers. servlets on tomcat
redirect to form pages on iis server by using :
   response.sendRedirect("http://www.sss.com/top/sub/page2.html";);
but, sometimes user got error message as below:
   Not Found (404)
 Original request: /top/sub/page2.html
 Not found request: /top/sub/page2.html
 I guess tomcat confused by the url, and it seems tomcat treated the url as
a virtual url.

Could anybody tell me why and what the solution is?

cheers

Yu


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via mod_jk.dll on Win2k

2002-08-19 Thread Turner, John


No problem, glad to help.

John


-Original Message-
From: Matt Partain [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 2:20 PM
To: Tomcat Users List
Subject: RE: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via
mod_jk.dll on Win2k


You were absolutely right- all I did was move the whole Tomcat installation
to c:\tc33a and change the httpd.conf include (leaving off the quotes this
time), mod_jk.conf, and worker.processes to match the new directory.
Started Tomcat and then started Apache just fine!

Thank you so much for your help!

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 11:08 AM
To: 'Tomcat Users List'
Subject: RE: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via
mod_jk.dll on Win2k



One thing I would change right off the bat is using spaces in the pathname,
double quotes or not.  Yes, the Apache installer puts things there, but the
Apache installer doesn't know that you are going to be using mod_jk and
tomcat.  I've had fewer problems ever since I moved things to places like
c:\tomcat or c:\apache on my development workstation.

Also, the file "mod_jk.conf" is generated by tomcat only if there are
Listener directives in server.xml (and I'm not even sure 3.3 does it,
perhaps it does).  Are those directives in place?

In addition, as far as I know, the correct path for an auto-generated
mod_jk.conf file is $CATALINA_HOME/conf/auto, not $CATALINA_HOME/conf/jk,
though again, I'm using Tomcat 4 on RH 7.2 with apache on my server.

John Turner
[EMAIL PROTECTED]


-Original Message-
From: Matt Partain [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 2:02 PM
To: Jakarta Users List
Subject: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via
mod_jk.dll on Win2k


Per all the instructions I could find, I brought down the Apache and Tomcat
services.  I have ensured that TOMCAT_HOME and JAVA_HOME (JDK 1.3) are both
defined on my system and put the dll in Apache's "modules" folder, per the
instructions.  Added the following line to httpd.conf:

Include "C:/Program Files/Apache Group/Tomcat 3.3a/conf/jk/mod_jk.conf"

Tried it with and without the quotation marks- apache doesn't seem to like
it.  When I try to bring up the service, it dies immediately, leaving no
errors, until I comment out that line.  I also tried including the
mod_jk.conf contents in httpd.conf, skipping the include directive
altogether, with the same results (same crash).  Here are my mod_jk.conf
contents:

LoadModule jk_module modules/mod_jk.dll



JkWorkersFile C:/Program Files/Apache Group/Tomcat
3.3a/conf/jk/workers.properties
JkLogFile  logs/jk.log
JkLogLevel error
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
JkMount /examples/* ajp12



So what do you think I might have done wrong?  Thanks in advance for your
help!

Matt Partain
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via mod_jk.dll on Win2k

2002-08-19 Thread Matt Partain

You were absolutely right- all I did was move the whole Tomcat installation
to c:\tc33a and change the httpd.conf include (leaving off the quotes this
time), mod_jk.conf, and worker.processes to match the new directory.
Started Tomcat and then started Apache just fine!

Thank you so much for your help!

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 11:08 AM
To: 'Tomcat Users List'
Subject: RE: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via
mod_jk.dll on Win2k



One thing I would change right off the bat is using spaces in the pathname,
double quotes or not.  Yes, the Apache installer puts things there, but the
Apache installer doesn't know that you are going to be using mod_jk and
tomcat.  I've had fewer problems ever since I moved things to places like
c:\tomcat or c:\apache on my development workstation.

Also, the file "mod_jk.conf" is generated by tomcat only if there are
Listener directives in server.xml (and I'm not even sure 3.3 does it,
perhaps it does).  Are those directives in place?

In addition, as far as I know, the correct path for an auto-generated
mod_jk.conf file is $CATALINA_HOME/conf/auto, not $CATALINA_HOME/conf/jk,
though again, I'm using Tomcat 4 on RH 7.2 with apache on my server.

John Turner
[EMAIL PROTECTED]


-Original Message-
From: Matt Partain [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 2:02 PM
To: Jakarta Users List
Subject: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via
mod_jk.dll on Win2k


Per all the instructions I could find, I brought down the Apache and Tomcat
services.  I have ensured that TOMCAT_HOME and JAVA_HOME (JDK 1.3) are both
defined on my system and put the dll in Apache's "modules" folder, per the
instructions.  Added the following line to httpd.conf:

Include "C:/Program Files/Apache Group/Tomcat 3.3a/conf/jk/mod_jk.conf"

Tried it with and without the quotation marks- apache doesn't seem to like
it.  When I try to bring up the service, it dies immediately, leaving no
errors, until I comment out that line.  I also tried including the
mod_jk.conf contents in httpd.conf, skipping the include directive
altogether, with the same results (same crash).  Here are my mod_jk.conf
contents:

LoadModule jk_module modules/mod_jk.dll



JkWorkersFile C:/Program Files/Apache Group/Tomcat
3.3a/conf/jk/workers.properties
JkLogFile  logs/jk.log
JkLogLevel error
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
JkMount /examples/* ajp12



So what do you think I might have done wrong?  Thanks in advance for your
help!

Matt Partain
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via mod_jk.dll on Win2k

2002-08-19 Thread Turner, John


One thing I would change right off the bat is using spaces in the pathname,
double quotes or not.  Yes, the Apache installer puts things there, but the
Apache installer doesn't know that you are going to be using mod_jk and
tomcat.  I've had fewer problems ever since I moved things to places like
c:\tomcat or c:\apache on my development workstation.

Also, the file "mod_jk.conf" is generated by tomcat only if there are
Listener directives in server.xml (and I'm not even sure 3.3 does it,
perhaps it does).  Are those directives in place?

In addition, as far as I know, the correct path for an auto-generated
mod_jk.conf file is $CATALINA_HOME/conf/auto, not $CATALINA_HOME/conf/jk,
though again, I'm using Tomcat 4 on RH 7.2 with apache on my server.

John Turner
[EMAIL PROTECTED]


-Original Message-
From: Matt Partain [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 2:02 PM
To: Jakarta Users List
Subject: Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via
mod_jk.dll on Win2k


Per all the instructions I could find, I brought down the Apache and Tomcat
services.  I have ensured that TOMCAT_HOME and JAVA_HOME (JDK 1.3) are both
defined on my system and put the dll in Apache's "modules" folder, per the
instructions.  Added the following line to httpd.conf:

Include "C:/Program Files/Apache Group/Tomcat 3.3a/conf/jk/mod_jk.conf"

Tried it with and without the quotation marks- apache doesn't seem to like
it.  When I try to bring up the service, it dies immediately, leaving no
errors, until I comment out that line.  I also tried including the
mod_jk.conf contents in httpd.conf, skipping the include directive
altogether, with the same results (same crash).  Here are my mod_jk.conf
contents:

LoadModule jk_module modules/mod_jk.dll



JkWorkersFile C:/Program Files/Apache Group/Tomcat
3.3a/conf/jk/workers.properties
JkLogFile  logs/jk.log
JkLogLevel error
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
JkMount /examples/* ajp12



So what do you think I might have done wrong?  Thanks in advance for your
help!

Matt Partain
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Cannot get Apache 1.3.26, Tomcat 3.3a to play nice via mod_jk.dll on Win2k

2002-08-19 Thread Matt Partain

Per all the instructions I could find, I brought down the Apache and Tomcat
services.  I have ensured that TOMCAT_HOME and JAVA_HOME (JDK 1.3) are both
defined on my system and put the dll in Apache's "modules" folder, per the
instructions.  Added the following line to httpd.conf:

Include "C:/Program Files/Apache Group/Tomcat 3.3a/conf/jk/mod_jk.conf"

Tried it with and without the quotation marks- apache doesn't seem to like
it.  When I try to bring up the service, it dies immediately, leaving no
errors, until I comment out that line.  I also tried including the
mod_jk.conf contents in httpd.conf, skipping the include directive
altogether, with the same results (same crash).  Here are my mod_jk.conf
contents:

LoadModule jk_module modules/mod_jk.dll



JkWorkersFile C:/Program Files/Apache Group/Tomcat
3.3a/conf/jk/workers.properties
JkLogFile  logs/jk.log
JkLogLevel error
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
JkMount /examples/* ajp12



So what do you think I might have done wrong?  Thanks in advance for your
help!

Matt Partain
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a as a W2k Service

2002-04-24 Thread Short, Dave

Would you mind sending a copy of your wrapper.properties file?

-Original Message-
From: Lecaros, Noel [mailto:[EMAIL PROTECTED]]
Sent: April 23, 2002 10:55 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


When you say "the logs are not written," do you mean the file jvm.stderr in
the logs subdirectory for Tomcat?  On version 3.3.1, there is an issue with
jk_nt_service in that it does not properly interpret the wrapper.properties
file supplied in the distribution.  Specifically, the wrapper.jvm.options
property cannot be blank.  You might want to remove this property from
wrapper.cmd_line located at the bottom of this file, or add an option, some
samples of which are given in the same file.  I have mine set to:

wrapper.jvm.options=-Xrs

since I use JDK1.3.1

Cheers,
Noel

-Original Message-
From: Short, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 10:49 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


I tried that and it still didn't work.  On the version of jk_nt_service.exe
that I'm using the "-a" stands for "Set startup as automatic".

I'm in the correct directory and address/ports are not in use.  I can start
Tomcat from the command line ok...

-Original Message-
From: John Roth [mailto:[EMAIL PROTECTED]]
Sent: April 23, 2002 10:40 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


Try: jk_nt_service -i Tomcat -a wrapper.properties (the "-a" being an
addition)

Also:
1) be sure you are in the directory where wrapper.properties exists
2) verify your address/ports are not in use elsewhere

Thanks,
john


-Original Message-
From: Short, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 1:35 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.3a as a W2k Service


I'm not having much success trying to run Tomcat 3.3a as a W2K service.
"jk_nt_service -s Tomcat" just gives me the following dialog:

Asked (and given) winsock 1.1
Starting Tomcat.
Tomcat failed to start.

The logs are not written and there is no trace of any type of error message.
The service was installed as follows:

jk_nt_service -i Tomcat wrapper.properties

Any help would be greatly appreciated.



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a as a W2k Service

2002-04-24 Thread Short, Dave

I mean any logs - none are written.  What is the latest and greatest version
of jk_nt_service.exe?  Can you tell me what the wrapper.jvm.options setting
would be for JDK1.2.2?

-Original Message-
From: Lecaros, Noel [mailto:[EMAIL PROTECTED]]
Sent: April 23, 2002 10:55 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


When you say "the logs are not written," do you mean the file jvm.stderr in
the logs subdirectory for Tomcat?  On version 3.3.1, there is an issue with
jk_nt_service in that it does not properly interpret the wrapper.properties
file supplied in the distribution.  Specifically, the wrapper.jvm.options
property cannot be blank.  You might want to remove this property from
wrapper.cmd_line located at the bottom of this file, or add an option, some
samples of which are given in the same file.  I have mine set to:

wrapper.jvm.options=-Xrs

since I use JDK1.3.1

Cheers,
Noel

-Original Message-
From: Short, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 10:49 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


I tried that and it still didn't work.  On the version of jk_nt_service.exe
that I'm using the "-a" stands for "Set startup as automatic".

I'm in the correct directory and address/ports are not in use.  I can start
Tomcat from the command line ok...

-Original Message-
From: John Roth [mailto:[EMAIL PROTECTED]]
Sent: April 23, 2002 10:40 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


Try: jk_nt_service -i Tomcat -a wrapper.properties (the "-a" being an
addition)

Also:
1) be sure you are in the directory where wrapper.properties exists
2) verify your address/ports are not in use elsewhere

Thanks,
john


-Original Message-
From: Short, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 1:35 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.3a as a W2k Service


I'm not having much success trying to run Tomcat 3.3a as a W2K service.
"jk_nt_service -s Tomcat" just gives me the following dialog:

Asked (and given) winsock 1.1
Starting Tomcat.
Tomcat failed to start.

The logs are not written and there is no trace of any type of error message.
The service was installed as follows:

jk_nt_service -i Tomcat wrapper.properties

Any help would be greatly appreciated.



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a as a W2k Service

2002-04-23 Thread Lecaros, Noel

When you say "the logs are not written," do you mean the file jvm.stderr in
the logs subdirectory for Tomcat?  On version 3.3.1, there is an issue with
jk_nt_service in that it does not properly interpret the wrapper.properties
file supplied in the distribution.  Specifically, the wrapper.jvm.options
property cannot be blank.  You might want to remove this property from
wrapper.cmd_line located at the bottom of this file, or add an option, some
samples of which are given in the same file.  I have mine set to:

wrapper.jvm.options=-Xrs

since I use JDK1.3.1

Cheers,
Noel

-Original Message-
From: Short, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 10:49 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


I tried that and it still didn't work.  On the version of jk_nt_service.exe
that I'm using the "-a" stands for "Set startup as automatic".

I'm in the correct directory and address/ports are not in use.  I can start
Tomcat from the command line ok...

-Original Message-
From: John Roth [mailto:[EMAIL PROTECTED]]
Sent: April 23, 2002 10:40 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


Try: jk_nt_service -i Tomcat -a wrapper.properties (the "-a" being an
addition)

Also:
1) be sure you are in the directory where wrapper.properties exists
2) verify your address/ports are not in use elsewhere

Thanks,
john


-Original Message-
From: Short, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 1:35 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.3a as a W2k Service


I'm not having much success trying to run Tomcat 3.3a as a W2K service.
"jk_nt_service -s Tomcat" just gives me the following dialog:

Asked (and given) winsock 1.1
Starting Tomcat.
Tomcat failed to start.

The logs are not written and there is no trace of any type of error message.
The service was installed as follows:

jk_nt_service -i Tomcat wrapper.properties

Any help would be greatly appreciated.



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a as a W2k Service

2002-04-23 Thread Short, Dave

I tried that and it still didn't work.  On the version of jk_nt_service.exe
that I'm using the "-a" stands for "Set startup as automatic".

I'm in the correct directory and address/ports are not in use.  I can start
Tomcat from the command line ok...

-Original Message-
From: John Roth [mailto:[EMAIL PROTECTED]]
Sent: April 23, 2002 10:40 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


Try: jk_nt_service -i Tomcat -a wrapper.properties (the "-a" being an
addition)

Also:
1) be sure you are in the directory where wrapper.properties exists
2) verify your address/ports are not in use elsewhere

Thanks,
john


-Original Message-
From: Short, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 1:35 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.3a as a W2k Service


I'm not having much success trying to run Tomcat 3.3a as a W2K service.
"jk_nt_service -s Tomcat" just gives me the following dialog:

Asked (and given) winsock 1.1
Starting Tomcat.
Tomcat failed to start.

The logs are not written and there is no trace of any type of error message.
The service was installed as follows:

jk_nt_service -i Tomcat wrapper.properties

Any help would be greatly appreciated.



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a as a W2k Service

2002-04-23 Thread John Roth

Try: jk_nt_service -i Tomcat -a wrapper.properties (the "-a" being an
addition)

Also:
1) be sure you are in the directory where wrapper.properties exists
2) verify your address/ports are not in use elsewhere

Thanks,
john


-Original Message-
From: Short, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 1:35 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.3a as a W2k Service


I'm not having much success trying to run Tomcat 3.3a as a W2K service.
"jk_nt_service -s Tomcat" just gives me the following dialog:

Asked (and given) winsock 1.1
Starting Tomcat.
Tomcat failed to start.

The logs are not written and there is no trace of any type of error message.
The service was installed as follows:

jk_nt_service -i Tomcat wrapper.properties

Any help would be greatly appreciated.



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Tomcat 3.3a as a W2k Service

2002-04-23 Thread Short, Dave

I'm not having much success trying to run Tomcat 3.3a as a W2K service.
"jk_nt_service -s Tomcat" just gives me the following dialog:

Asked (and given) winsock 1.1
Starting Tomcat.
Tomcat failed to start.

The logs are not written and there is no trace of any type of error message.
The service was installed as follows:

jk_nt_service -i Tomcat wrapper.properties

Any help would be greatly appreciated.



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Pbs with tomcat 3.3a and IIS connector : windows auth fails

2002-04-02 Thread Ignacio J. Ortega

> De: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Enviado el: martes 2 de abril de 2002 21:07

> Make sure that you set tomcatAuthentication="false" on the
> Ajp13Connector element in the server.xml file.  Otherwise,
> Tomcat 3.3.x ignores any authentication done by IIS.

AFAIK There is a problem ( i think it's not a bug until iis5) in
isapi_redirector ,
 has the
explanation why, never itched by this so never found time to do it, :)..
but it's not very difficult to solve ( maybe trivial ), if one knows in
which IIS version it's running.. me Not ;)

Saludos ,
Ignacio J. Ortega



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Pbs with tomcat 3.3a and IIS connector : windows auth fails

2002-04-02 Thread Larry Isaacs

Make sure that you set tomcatAuthentication="false" on the
Ajp13Connector element in the server.xml file.  Otherwise,
Tomcat 3.3.x ignores any authentication done by IIS.

Cheers,
Larry


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, April 02, 2002 3:30 AM
> To: [EMAIL PROTECTED]
> Subject: Pbs with tomcat 3.3a and IIS connector : windows auth fails
> 
> 
> I'm using W2K Professionnal with IIS 5 + Tomcat 3.3a,
> Tomcat configured with IIS connector.
> 
> "Jakarta" virtual dir authentication method setted like this :
> - anonymous access : unchecked
> - basic authentication : unckecked
> - windows auth : checked
> 
> I try to read the current windows user with 
> request.getUserPrincipal() but it
> always says null : can someone help ?
> 
> Thanks
> 
> [EMAIL PROTECTED]
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending requests

2002-04-02 Thread Mike McGuinness

Jay,

mod_jk does work on AIX. Although I'm on AIX 5.1, I've got apache 1.3
communicating with tomcat 4 just fine.

With help form others in this group, I was finally able to compile the
module. If you like, I can get you my copy of the hacked-for-aix apxs
and the build script. Maybe a re-compile would solve your problem.

Mike



On Fri, 2002-03-29 at 10:24, Jay Balunas wrote:

Larry,

 When Access Apache content everything works fine.  Also when access
the examples directly through tomcat's http server (the embedded one)
everything works fine.  It is only going through the mod_jk that croaks.
That is why I leaning towards some configuration with mod_jk or something.
but everything else works fine.

 We're not crazy or anything, the does work on other people machine
right?  mod_jk on AIX ?

Thanks Again,
Jay




   
   
Larry Isaacs   
   
 
sas.com> cc:   
   
     Subject: RE: Tomcat 3.3a and mod_jk 
on AIX 4.3.3 built OK, but not sending  requests 
03/29/2002 
   
10:15 AM   
   
Please respond 
   
to "Tomcat 
   
Users List"
   
   
   
   
   




Jay,

What happens if you try to access Apache content, such as
with just http://host:8080/? Does Apache successfully serve
content, or does these requests hang too?

Larry

> -Original Message-
> From: Jay Balunas [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 29, 2002 10:01 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK,
> but not sending requests
>
>
>
> Larry,
>
>  Thanks for the info on the ajp12.id file.  We may have
> started tomcat
> twice or something.  We'll keep an eye out for that.
>
>  The Tomcat log shows this at the end of the log after
> initialization.
> that looks good compared to other OSes that we have this running on.
>
>  2002-03-29 08:59:54 - Http10Interceptor: Starting on 8081
>  2002-03-29 08:59:54 - Ajp12Interceptor: Starting on 8007
>  2002-03-29 08:59:55 - Ajp13Interceptor: Starting on 8009
>
>  The test request we are trying is the tomcat Examples so
> "http://host:8080/examples";  Where 8080 is the port apache is
> on.   All
> that happens on the AIX box when we do this is the browser
> hangs, waiting
> for a response.
>
>  On one of the Solaris boxes I turned the log level up to
> "debug" on
> mod_jk, and saw all alot more information from where the AIX
> box mod_jk log
> stopped.  I also saw it checking all of the requests like you
> said , it is
> actually pretty cool.   So here it what I think we are
> missing in the AIX
> mod_jk log that is showing up on the Solaris box.
>
>  [Fri Mar 29 09:44:23 2002]  [jk_uri_worker_map.c (368)]:
> Attempting to
> map URI '/examples/'
>  [Fri Mar 29 09:44:23 2002]  [jk_uri_worker_map.c (391)]:
> jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 ->
> /examples/
>  [Fri Mar 29 09:44:23 2002]  [jk_worker.c (123)]: Into
> wc_get_worker_for_name ajp13
>  [Fri Mar 29 09:44:23 2002]  [jk_worker.c (127)]:
> wc_get_worker_for

Pbs with tomcat 3.3a and IIS connector : windows auth fails

2002-04-02 Thread henri . simoes

I'm using W2K Professionnal with IIS 5 + Tomcat 3.3a,
Tomcat configured with IIS connector.

"Jakarta" virtual dir authentication method setted like this :
- anonymous access : unchecked
- basic authentication : unckecked
- windows auth : checked

I try to read the current windows user with request.getUserPrincipal() but it
always says null : can someone help ?

Thanks

[EMAIL PROTECTED]

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending requests

2002-03-29 Thread Larry Isaacs


> -Original Message-
> From: Jay Balunas [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, March 29, 2002 11:35 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, 
> but not sending requests
> 
> 
> 
> Larry,
> 
>  Well, thanks for all of your help.  We will try you idea with the
> "worker.ajp13.host".
> 
>  We just did a clean install of apache and tomcat with none of our
> other configuration stuff, and got the same problem.  We are leaning
> towards the fact that it could be our build of the mod_jk.so 
> file.  Even
> though it initializes correctly maybe there is just something screwy.
> 
>  You don't happen to have a AIX mod_jk.so binary kicking around?

Sorry, no.  Don't currently have access to an AIX system either.

Larry

> 
> Thanks again,
> 
> Jay
> 
> 
> 
>   
>   
>   
> Larry Isaacs  
>   
>   
>  Users List' <[EMAIL PROTECTED]>  
>
> sas.com> cc:  
>   
>   
>  Subject: RE: 
> Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending 
>   requests
> 03/29/2002
>   
>   
> 10:51 AM  
>   
>   
> Please respond
>   
>   
> to "Tomcat
>   
>   
> Users List"   
>   
>   
>   
>   
>   
>   
>   
>   
> 
> 
> 
> 
> Jay,
> 
> Sounds like the problem is in the forwarding.  If you have
> a second system available with Apache and/or Tomcat you might
> try using the "worker.ajp13.host" property in workers.properties
> to cross connect the Apaches and Tomcats and see if the
> problem is on the mod_jk/Apache side and/or on the Tomcat/JVM
> side.  I haven't worked with AIX, so I don't have any specific
> help I can give.
> 
> Larry
> 
> > -Original Message-
> > From: Jay Balunas [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, March 29, 2002 10:25 AM
> > To: Tomcat Users List
> > Subject: RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK,
> > but not sending requests
> >
> >
> >
> > Larry,
> >
> >  When Access Apache content everything works fine.  Also
> > when access
> > the examples directly through tomcat's http server (the 
> embedded one)
> > everything works fine.  It is only going through the mod_jk
> > that croaks.
> > That is why I leaning towards some configuration with mod_jk
> > or something.
> > but everything else works fine.
> >
> >  We're not crazy or anything, the does work on other
> > people machine
> > right?  mod_jk on AIX ?
> >
> > Thanks Again,
> > Jay
> >
> >
> >
> >
> >
> >
> >
> > Larry Isaacs
> >
> >
> >  > Users List' <[EMAIL PROTECTED]>
> >
> > sas.com> cc:
> >
> >
> >  Subject: RE:
> > Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending
> >  requests
> > 03/29/2002
> >
> >
> > 10:15 AM
> >
> >
> > Please respond
> >
> >
> > to "Tomcat
> >
> >
> >  

RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending requests

2002-03-29 Thread Jay Balunas


Larry,

 Well, thanks for all of your help.  We will try you idea with the
"worker.ajp13.host".

 We just did a clean install of apache and tomcat with none of our
other configuration stuff, and got the same problem.  We are leaning
towards the fact that it could be our build of the mod_jk.so file.  Even
though it initializes correctly maybe there is just something screwy.

 You don't happen to have a AIX mod_jk.so binary kicking around?

Thanks again,

Jay



   
   
Larry Isaacs   
   
 
sas.com> cc:   
   
 Subject:     RE: Tomcat 3.3a and mod_jk on 
AIX 4.3.3 built OK, but not sending   requests
03/29/2002 
   
10:51 AM   
   
Please respond 
   
to "Tomcat 
   
Users List"
   
   
   
   
   




Jay,

Sounds like the problem is in the forwarding.  If you have
a second system available with Apache and/or Tomcat you might
try using the "worker.ajp13.host" property in workers.properties
to cross connect the Apaches and Tomcats and see if the
problem is on the mod_jk/Apache side and/or on the Tomcat/JVM
side.  I haven't worked with AIX, so I don't have any specific
help I can give.

Larry

> -Original Message-
> From: Jay Balunas [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 29, 2002 10:25 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK,
> but not sending requests
>
>
>
> Larry,
>
>  When Access Apache content everything works fine.  Also
> when access
> the examples directly through tomcat's http server (the embedded one)
> everything works fine.  It is only going through the mod_jk
> that croaks.
> That is why I leaning towards some configuration with mod_jk
> or something.
> but everything else works fine.
>
>  We're not crazy or anything, the does work on other
> people machine
> right?  mod_jk on AIX ?
>
> Thanks Again,
> Jay
>
>
>
>
>
>
>
> Larry Isaacs
>
>
>      Users List' <[EMAIL PROTECTED]>
>
> sas.com> cc:
>
>
>  Subject: RE:
> Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending
>  requests
> 03/29/2002
>
>
> 10:15 AM
>
>
> Please respond
>
>
> to "Tomcat
>
>
> Users List"
>
>
>
>
>
>
>
>
>
>
>
>
> Jay,
>
> What happens if you try to access Apache content, such as
> with just http://host:8080/? Does Apache successfully serve
> content, or does these requests hang too?
>
> Larry
>
> > -Original Message-
> > From: Jay Balunas [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, March 29, 2002 10:01 AM
> > To: Tomcat Users List
> > Subject: RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK,
> > but not sending requests
> >
> >
> >
> > Larry,
> >
> >  Thanks for the info on the ajp12.id file.  We may have
> > started tomcat
> > twice or something.  We'll keep an eye out for that.
> >
> >  The Tomcat log shows this at the end of the log after
> > initialization.
> > that looks good compared to other OSes that we have this running on.
> >
> >  2002-03-29 08:59:54 - Http10Interceptor: Starti

RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending requests

2002-03-29 Thread Larry Isaacs

Jay,

Sounds like the problem is in the forwarding.  If you have
a second system available with Apache and/or Tomcat you might
try using the "worker.ajp13.host" property in workers.properties
to cross connect the Apaches and Tomcats and see if the
problem is on the mod_jk/Apache side and/or on the Tomcat/JVM
side.  I haven't worked with AIX, so I don't have any specific
help I can give.

Larry

> -Original Message-
> From: Jay Balunas [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, March 29, 2002 10:25 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, 
> but not sending requests
> 
> 
> 
> Larry,
> 
>  When Access Apache content everything works fine.  Also 
> when access
> the examples directly through tomcat's http server (the embedded one)
> everything works fine.  It is only going through the mod_jk 
> that croaks.
> That is why I leaning towards some configuration with mod_jk 
> or something.
> but everything else works fine.
> 
>  We're not crazy or anything, the does work on other 
> people machine
> right?  mod_jk on AIX ?
> 
> Thanks Again,
> Jay
> 
> 
> 
> 
>   
>   
>   
> Larry Isaacs  
>   
>   
>  Users List' <[EMAIL PROTECTED]>  
>
> sas.com> cc:      
>   
>   
>  Subject: RE: 
> Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending 
>  requests 
> 03/29/2002
>   
>   
> 10:15 AM  
>   
>   
> Please respond
>   
>   
> to "Tomcat
>   
>   
> Users List"   
>   
>   
>   
>   
>   
>   
>   
>   
> 
> 
> 
> 
> Jay,
> 
> What happens if you try to access Apache content, such as
> with just http://host:8080/? Does Apache successfully serve
> content, or does these requests hang too?
> 
> Larry
> 
> > -Original Message-
> > From: Jay Balunas [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, March 29, 2002 10:01 AM
> > To: Tomcat Users List
> > Subject: RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK,
> > but not sending requests
> >
> >
> >
> > Larry,
> >
> >  Thanks for the info on the ajp12.id file.  We may have
> > started tomcat
> > twice or something.  We'll keep an eye out for that.
> >
> >  The Tomcat log shows this at the end of the log after
> > initialization.
> > that looks good compared to other OSes that we have this running on.
> >
> >  2002-03-29 08:59:54 - Http10Interceptor: Starting on 8081
> >  2002-03-29 08:59:54 - Ajp12Interceptor: Starting on 8007
> >  2002-03-29 08:59:55 - Ajp13Interceptor: Starting on 8009
> >
> >  The test request we are trying is the tomcat Examples so
> > "http://host:8080/examples";  Where 8080 is the port apache is
> > on.   All
> > that happens on the AIX box when we do this is the browser
> > hangs, waiting
> > for a response.
> >
> >  On one of the Solaris boxes I turned the log level up to
> > "debug" on
> > mod_jk, and saw all alot more information from where the AIX
> > box mod_jk log
> > stopped.  I also saw it checking all of the requests like you
> > said , it is
> > actually pretty cool.   So here it what I think we are
> > missing in the AIX
>

RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending requests

2002-03-29 Thread Jay Balunas


Larry,

 When Access Apache content everything works fine.  Also when access
the examples directly through tomcat's http server (the embedded one)
everything works fine.  It is only going through the mod_jk that croaks.
That is why I leaning towards some configuration with mod_jk or something.
but everything else works fine.

 We're not crazy or anything, the does work on other people machine
right?  mod_jk on AIX ?

Thanks Again,
Jay




   
   
Larry Isaacs   
   
 
sas.com> cc:   
   
 Subject:     RE: Tomcat 3.3a and mod_jk on 
AIX 4.3.3 built OK, but not sending  requests 
03/29/2002 
   
10:15 AM   
   
Please respond 
   
to "Tomcat 
   
Users List"
   
   
   
   
   




Jay,

What happens if you try to access Apache content, such as
with just http://host:8080/? Does Apache successfully serve
content, or does these requests hang too?

Larry

> -Original Message-
> From: Jay Balunas [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 29, 2002 10:01 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK,
> but not sending requests
>
>
>
> Larry,
>
>  Thanks for the info on the ajp12.id file.  We may have
> started tomcat
> twice or something.  We'll keep an eye out for that.
>
>  The Tomcat log shows this at the end of the log after
> initialization.
> that looks good compared to other OSes that we have this running on.
>
>  2002-03-29 08:59:54 - Http10Interceptor: Starting on 8081
>  2002-03-29 08:59:54 - Ajp12Interceptor: Starting on 8007
>  2002-03-29 08:59:55 - Ajp13Interceptor: Starting on 8009
>
>  The test request we are trying is the tomcat Examples so
> "http://host:8080/examples";  Where 8080 is the port apache is
> on.   All
> that happens on the AIX box when we do this is the browser
> hangs, waiting
> for a response.
>
>  On one of the Solaris boxes I turned the log level up to
> "debug" on
> mod_jk, and saw all alot more information from where the AIX
> box mod_jk log
> stopped.  I also saw it checking all of the requests like you
> said , it is
> actually pretty cool.   So here it what I think we are
> missing in the AIX
> mod_jk log that is showing up on the Solaris box.
>
>  [Fri Mar 29 09:44:23 2002]  [jk_uri_worker_map.c (368)]:
> Attempting to
> map URI '/examples/'
>  [Fri Mar 29 09:44:23 2002]  [jk_uri_worker_map.c (391)]:
> jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 ->
> /examples/
>  [Fri Mar 29 09:44:23 2002]  [jk_worker.c (123)]: Into
> wc_get_worker_for_name ajp13
>  [Fri Mar 29 09:44:23 2002]  [jk_worker.c (127)]:
> wc_get_worker_for_name, done  found a worker
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (865)]: Into
> jk_worker_t::get_endpoint
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (775)]: Into
> jk_endpoint_t::service
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13.c (403)]: Into
> ajp13_marshal_into_msgb
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13.c (537)]:
> ajp13_marshal_into_msgb - Done
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (206)]: sending to
> ajp13 #190
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (645)]:
> send_request 2:
> request body to send 0 - request body to resend 0
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (258)]:
> received from
> ajp13 

RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending requests

2002-03-29 Thread Larry Isaacs

Jay,

What happens if you try to access Apache content, such as
with just http://host:8080/? Does Apache successfully serve
content, or does these requests hang too?

Larry

> -Original Message-
> From: Jay Balunas [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, March 29, 2002 10:01 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, 
> but not sending requests
> 
> 
> 
> Larry,
> 
>  Thanks for the info on the ajp12.id file.  We may have 
> started tomcat
> twice or something.  We'll keep an eye out for that.
> 
>  The Tomcat log shows this at the end of the log after 
> initialization.
> that looks good compared to other OSes that we have this running on.
> 
>  2002-03-29 08:59:54 - Http10Interceptor: Starting on 8081
>  2002-03-29 08:59:54 - Ajp12Interceptor: Starting on 8007
>  2002-03-29 08:59:55 - Ajp13Interceptor: Starting on 8009
> 
>  The test request we are trying is the tomcat Examples so
> "http://host:8080/examples";  Where 8080 is the port apache is 
> on.   All
> that happens on the AIX box when we do this is the browser 
> hangs, waiting
> for a response.
> 
>  On one of the Solaris boxes I turned the log level up to 
> "debug" on
> mod_jk, and saw all alot more information from where the AIX 
> box mod_jk log
> stopped.  I also saw it checking all of the requests like you 
> said , it is
> actually pretty cool.   So here it what I think we are 
> missing in the AIX
> mod_jk log that is showing up on the Solaris box.
> 
>  [Fri Mar 29 09:44:23 2002]  [jk_uri_worker_map.c (368)]: 
> Attempting to
> map URI '/examples/'
>  [Fri Mar 29 09:44:23 2002]  [jk_uri_worker_map.c (391)]:
> jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 ->
> /examples/
>  [Fri Mar 29 09:44:23 2002]  [jk_worker.c (123)]: Into
> wc_get_worker_for_name ajp13
>  [Fri Mar 29 09:44:23 2002]  [jk_worker.c (127)]:
> wc_get_worker_for_name, done  found a worker
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (865)]: Into
> jk_worker_t::get_endpoint
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (775)]: Into
> jk_endpoint_t::service
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13.c (403)]: Into
> ajp13_marshal_into_msgb
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13.c (537)]:
> ajp13_marshal_into_msgb - Done
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (206)]: sending to
> ajp13 #190
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (645)]: 
> send_request 2:
> request body to send 0 - request body to resend 0
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (258)]: 
> received from
> ajp13 #28
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13.c (584)]:
> ajp13_unmarshal_response: status = 200
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13.c (591)]:
> ajp13_unmarshal_response: Number of headers is = 1
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13.c (634)]:
> ajp13_unmarshal_response: Header[0] [Content-Type] = [text/html]
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (258)]: 
> received from
> ajp13 #1276
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (258)]: 
> received from
> ajp13 #2
>  [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (549)]: Into
> jk_endpoint_t::done
> 
> So something on the AIX is not letting the mod_jk get to 
> these logs.  On
> AIX we never get the "sending to ajp13 #190" message or the 
> "received from
> ajp13 #28".
> 
> We are going to try some other stuff, as well as another 
> clean install and
> see if that helps.  Please let me know if you have any other idea?
> 
> Thanks for all your help,
> Jay
> 
> 
> 
> 
>   
>   
>   
> Larry Isaacs  
>       
>   
>  Users List' <[EMAIL PROTECTED]>  
>
> sas.com> cc:  
>   
>   
>  Subject: RE: 
> Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending 
>   requests
> 03/29/2002
>   
>   
> 09:34 AM  
>

RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending requests

2002-03-29 Thread Jay Balunas


Larry,

 Thanks for the info on the ajp12.id file.  We may have started tomcat
twice or something.  We'll keep an eye out for that.

 The Tomcat log shows this at the end of the log after initialization.
that looks good compared to other OSes that we have this running on.

 2002-03-29 08:59:54 - Http10Interceptor: Starting on 8081
 2002-03-29 08:59:54 - Ajp12Interceptor: Starting on 8007
 2002-03-29 08:59:55 - Ajp13Interceptor: Starting on 8009

 The test request we are trying is the tomcat Examples so
"http://host:8080/examples";  Where 8080 is the port apache is on.   All
that happens on the AIX box when we do this is the browser hangs, waiting
for a response.

 On one of the Solaris boxes I turned the log level up to "debug" on
mod_jk, and saw all alot more information from where the AIX box mod_jk log
stopped.  I also saw it checking all of the requests like you said , it is
actually pretty cool.   So here it what I think we are missing in the AIX
mod_jk log that is showing up on the Solaris box.

 [Fri Mar 29 09:44:23 2002]  [jk_uri_worker_map.c (368)]: Attempting to
map URI '/examples/'
 [Fri Mar 29 09:44:23 2002]  [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 ->
/examples/
 [Fri Mar 29 09:44:23 2002]  [jk_worker.c (123)]: Into
wc_get_worker_for_name ajp13
 [Fri Mar 29 09:44:23 2002]  [jk_worker.c (127)]:
wc_get_worker_for_name, done  found a worker
 [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (865)]: Into
jk_worker_t::get_endpoint
 [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (775)]: Into
jk_endpoint_t::service
 [Fri Mar 29 09:44:23 2002]  [jk_ajp13.c (403)]: Into
ajp13_marshal_into_msgb
 [Fri Mar 29 09:44:23 2002]  [jk_ajp13.c (537)]:
ajp13_marshal_into_msgb - Done
 [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (206)]: sending to
ajp13 #190
 [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (645)]: send_request 2:
request body to send 0 - request body to resend 0
 [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (258)]: received from
ajp13 #28
 [Fri Mar 29 09:44:23 2002]  [jk_ajp13.c (584)]:
ajp13_unmarshal_response: status = 200
 [Fri Mar 29 09:44:23 2002]  [jk_ajp13.c (591)]:
ajp13_unmarshal_response: Number of headers is = 1
 [Fri Mar 29 09:44:23 2002]  [jk_ajp13.c (634)]:
ajp13_unmarshal_response: Header[0] [Content-Type] = [text/html]
 [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (258)]: received from
ajp13 #1276
 [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (258)]: received from
ajp13 #2
 [Fri Mar 29 09:44:23 2002]  [jk_ajp13_worker.c (549)]: Into
jk_endpoint_t::done

So something on the AIX is not letting the mod_jk get to these logs.  On
AIX we never get the "sending to ajp13 #190" message or the "received from
ajp13 #28".

We are going to try some other stuff, as well as another clean install and
see if that helps.  Please let me know if you have any other idea?

Thanks for all your help,
Jay




   
   
Larry Isaacs   
   
 
sas.com> cc:   
   
     Subject: RE: Tomcat 3.3a and mod_jk on 
AIX 4.3.3 built OK, but not sending   requests
03/29/2002 
   
09:34 AM   
   
Please respond 
   
to "Tomcat 
   
Users List"
   
   
   
   
   




The ajp12.id file is used only for shutdown.  It isn't used
at all by mod_jk.  However, a "bug/feature" in tomcat.sh
would delete this file if Tomcat was started two time in
a row, making it necessary to specify the Ajp12 port in the
shutdown

RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending requests

2002-03-29 Thread Larry Isaacs

The ajp12.id file is used only for shutdown.  It isn't used
at all by mod_jk.  However, a "bug/feature" in tomcat.sh
would delete this file if Tomcat was started two time in
a row, making it necessary to specify the Ajp12 port in the
shutdown command.  I'm not sure if this is what is occurring,
or the absence of ajp12.id is an indication that Tomcat did
not start successfully.

Does the Tomcat log show that the Interceptors are starting
successfully on ports 8080,8007, and 8009?

Also, what is the "test" request you are trying to execute
in your browser?  What is the response you get?  With
JkLogLevel set to debug, you should see evidence in mod_jk's
log of its inspection of every request that Apache receives.
I'm not sure why you would see any indication of the requests
Apache is receiving.

Cheers,
Larry

> -Original Message-
> From: Jay Balunas [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, March 29, 2002 9:09 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, 
> but not sending requests
> 
> 
> 
> Larry,
> 
>  Thanks for the response.
> 
>  I'm Seeing two different things.  When the "ajp12.id" file is not
> working correctly we get this in the log
>   [jk_connect.c (108)]: Into jk_open_socket
>   [jk_connect.c (115)]: jk_open_socket, try to 
> connect socket = 6
>   [jk_connect.c (124)]: jk_open_socket, after connect ret = -1
>   [jk_connect.c (143)]: jk_open_socket, connect() 
> failed errno = 79
> 
>  We think this is because ajp12.id file does not get 
> created correctly
> or is deleted automatically. So mod_jk has issues with the connection.
> 
>  When the ajp.id file is working correctly we see:
> 
>   [jk_worker.c (177)]: wc_create_worker, done
> [jk_worker.c (223)]: build_worker_map, removing old ajp13
> worker
> [jk_worker.c (235)]: build_worker_map, done
> [jk_worker.c (102)]: wc_open, done
>   [jk_uri_worker_map.c (345)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
>   [jk_uri_worker_map.c (407)]:
> jk_uri_worker_map_t::map_uri_to_worker, Found a match ajp13
>   [jk_worker.c (123)]: Into wc_get_worker_for_name ajp13
>   [jk_worker.c (127)]: wc_get_worker_for_name, done  
> found a worker
>   [jk_ajp13_worker.c (654)]: Into jk_worker_t::get_endpoint
>   [jk_ajp13_worker.c (539)]: Into jk_endpoint_t::service
>   [jk_ajp13.c (346)]: Into ajp13_marshal_into_msgb
>   [jk_ajp13.c (480)]: ajp13_marshal_into_msgb - Done
>   [jk_connect.c (108)]: Into jk_open_socket
>   [jk_connect.c (115)]: jk_open_socket, try to 
> connect socket = 6
>   [jk_connect.c (124)]: jk_open_socket, after connect ret = 0
>   [jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
>   [jk_connect.c (140)]: jk_open_socket, return, sd = 6
>   [jk_ajp13_worker.c (167)]: In 
> jk_endpoint_t::connect_to_tomcat,
> connected sd = 6
> 
> 
>  This is the end of that log (set on debug).  I do not 
> actually see
> where is says it passes on to Tomcat, and tomcat never gets 
> the request.
> We are not sure what is causing either of these problems.  Is there a
> particular user that tomcat or apache must be started as?  Do the file
> permission's/groups have something to so with it.  We are 
> starting as a
> special user but all of the files under Apache, and tomcat 
> are awned by it.
> 
> Thanks for any help,
> Jay
> 
> 
> 
> 
>   
>   
>   
> Larry Isaacs  
>   
>   
>      Users List' <[EMAIL PROTECTED]>  
>
> sas.com> cc:  
>   
>   
>  Subject: RE: 
> Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending 
>  requests 
> 03/29/2002
>   
>   
> 08:34 AM  
>   
>

RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending requests

2002-03-29 Thread Jay Balunas


Larry,

 Thanks for the response.

 I'm Seeing two different things.  When the "ajp12.id" file is not
working correctly we get this in the log
  [jk_connect.c (108)]: Into jk_open_socket
  [jk_connect.c (115)]: jk_open_socket, try to connect socket = 6
  [jk_connect.c (124)]: jk_open_socket, after connect ret = -1
  [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 79

 We think this is because ajp12.id file does not get created correctly
or is deleted automatically. So mod_jk has issues with the connection.

 When the ajp.id file is working correctly we see:

  [jk_worker.c (177)]: wc_create_worker, done
[jk_worker.c (223)]: build_worker_map, removing old ajp13
worker
[jk_worker.c (235)]: build_worker_map, done
[jk_worker.c (102)]: wc_open, done
  [jk_uri_worker_map.c (345)]: Into
jk_uri_worker_map_t::map_uri_to_worker
  [jk_uri_worker_map.c (407)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a match ajp13
  [jk_worker.c (123)]: Into wc_get_worker_for_name ajp13
  [jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
  [jk_ajp13_worker.c (654)]: Into jk_worker_t::get_endpoint
  [jk_ajp13_worker.c (539)]: Into jk_endpoint_t::service
  [jk_ajp13.c (346)]: Into ajp13_marshal_into_msgb
  [jk_ajp13.c (480)]: ajp13_marshal_into_msgb - Done
  [jk_connect.c (108)]: Into jk_open_socket
  [jk_connect.c (115)]: jk_open_socket, try to connect socket = 6
  [jk_connect.c (124)]: jk_open_socket, after connect ret = 0
  [jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
  [jk_connect.c (140)]: jk_open_socket, return, sd = 6
  [jk_ajp13_worker.c (167)]: In jk_endpoint_t::connect_to_tomcat,
connected sd = 6


 This is the end of that log (set on debug).  I do not actually see
where is says it passes on to Tomcat, and tomcat never gets the request.
We are not sure what is causing either of these problems.  Is there a
particular user that tomcat or apache must be started as?  Do the file
permission's/groups have something to so with it.  We are starting as a
special user but all of the files under Apache, and tomcat are awned by it.

Thanks for any help,
Jay




   
   
Larry Isaacs   
   
 
sas.com> cc:   
   
     Subject: RE: Tomcat 3.3a and mod_jk on 
AIX 4.3.3 built OK, but not sending  requests 
03/29/2002 
   
08:34 AM   
   
Please respond 
   
to "Tomcat 
   
Users List"
   
   
   
   
   




Ajp13 should be the one to use.  Does the mod_jk.log indicate
that the request is or isn't being forwarded to Tomcat?

Cheers,
Larry

> -Original Message-
> From: Jay Balunas [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 28, 2002 4:24 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but
> not sending requests
>
>
> The mod_jk has been built successfully, and everything starts
> but mod_jk
> does not seem to be sending requests through.  This exact same
> configuration and mod_jk.conf files work on Solaris, and HP, with no
> problems.
>
> Pages served directly through Apache work fine, as well as
> pages served
> directly through tomcat.  When we access a page that goes
> through Apache
> and then uses the mod_jk to route to Tomcat we have problems.
>  The requests
> just never seem to make it to the servlets.  even the Tomcat
> examples do
> not work.

RE: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending requests

2002-03-29 Thread Larry Isaacs

Ajp13 should be the one to use.  Does the mod_jk.log indicate
that the request is or isn't being forwarded to Tomcat?

Cheers,
Larry

> -Original Message-
> From: Jay Balunas [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, March 28, 2002 4:24 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but 
> not sending requests
> 
> 
> The mod_jk has been built successfully, and everything starts 
> but mod_jk
> does not seem to be sending requests through.  This exact same
> configuration and mod_jk.conf files work on Solaris, and HP, with no
> problems.
> 
> Pages served directly through Apache work fine, as well as 
> pages served
> directly through tomcat.  When we access a page that goes 
> through Apache
> and then uses the mod_jk to route to Tomcat we have problems. 
>  The requests
> just never seem to make it to the servlets.  even the Tomcat 
> examples do
> not work.
> 
> Logs do not really show anything even when turned up.  Also 
> the ajp12.id
> file seems to get deleted randomly, but this could be something else.
> Should ajp13 work fine in AIX 4.3.3 or should we use ajp12.
> 
> Any idea would be great and Thanks,
> Jay
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Tomcat 3.3a and mod_jk on AIX 4.3.3 built OK, but not sending requests

2002-03-28 Thread Jay Balunas

The mod_jk has been built successfully, and everything starts but mod_jk
does not seem to be sending requests through.  This exact same
configuration and mod_jk.conf files work on Solaris, and HP, with no
problems.

Pages served directly through Apache work fine, as well as pages served
directly through tomcat.  When we access a page that goes through Apache
and then uses the mod_jk to route to Tomcat we have problems.  The requests
just never seem to make it to the servlets.  even the Tomcat examples do
not work.

Logs do not really show anything even when turned up.  Also the ajp12.id
file seems to get deleted randomly, but this could be something else.
Should ajp13 work fine in AIX 4.3.3 or should we use ajp12.

Any idea would be great and Thanks,
Jay



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Tomcat 3.3a - error-page context problem

2002-03-11 Thread Chris Murphy

Thanks! The one place I didn't look. I'll no better next time. Thanks
again!

Chris Murphy

On Mon, 2002-03-11 at 08:13, Larry Isaacs wrote:
> This sounds like Bugzilla Bug 6887, see:
> 
> <http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=6887>
> 
> It is fixed in the current Tomcat 3.3.x and will appear
> in Tomcat 3.3.1 Final.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: Chris Murphy [mailto:[EMAIL PROTECTED]] 
> > Sent: Sunday, March 10, 2002 7:16 PM
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat 3.3a - error-page context problem
> > 
> > 
> > Hello,
> > 
> > I'm having quite a bit of trouble figuring this one out. I 
> > have Tomcat 3.3a installed with Apache mod_jk support. I've 
> > declared a virtual host under tomcat in file apps-x.x.x.x.xml:
> >  
> > 
> > 
> > 
> >  >  docBase="/virtual1/www/webapp/xxx" 
> >  debug="9"
> >  reloadable="true"
> >  trusted="true"/>
> > 
> > 
> > 
> > The deployed application works fine, except when an exception 
> > gets thrown. The error-page directive in my web.xml seems to 
> > be getting called outside of the context.  Here's the 
> > error-page definition:
> > 
> >   
> > java.lang.Exception
> > /error.jsp
> >   
> > 
> > Here's what the log says when it tries to call my error page on an
> > exception:
> > 
> > 
> > 2002-03-10 18:24:13 - Ctx() : Class not found: 
> > TOMCAT/JSP/error.jsp 2002-03-10 18:24:13 - Ctx(/xxx) : Status 
> > code:404 request:R( /xxx + test.do + null) msg:null)
> > 
> > It looks like the error.jsp call is not being called in the 
> > /xxx context as I would expect.  All the documentation and 
> > archive e-mails that I've read seem to imply that the call to 
> > the  definition would be in the context of the web app.
> > 
> > Any help would be greatly appreciated.
> > Chris Murphy
> > 
> > 
> > 
> > 
> > 
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> > 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a - error-page context problem

2002-03-11 Thread Larry Isaacs

This sounds like Bugzilla Bug 6887, see:

<http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=6887>

It is fixed in the current Tomcat 3.3.x and will appear
in Tomcat 3.3.1 Final.

Cheers,
Larry

> -Original Message-
> From: Chris Murphy [mailto:[EMAIL PROTECTED]] 
> Sent: Sunday, March 10, 2002 7:16 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.3a - error-page context problem
> 
> 
> Hello,
> 
> I'm having quite a bit of trouble figuring this one out. I 
> have Tomcat 3.3a installed with Apache mod_jk support. I've 
> declared a virtual host under tomcat in file apps-x.x.x.x.xml:
>  
> 
> 
> 
>   docBase="/virtual1/www/webapp/xxx" 
>debug="9"
>reloadable="true"
>trusted="true"/>
> 
> 
> 
> The deployed application works fine, except when an exception 
> gets thrown. The error-page directive in my web.xml seems to 
> be getting called outside of the context.  Here's the 
> error-page definition:
> 
>   
> java.lang.Exception
> /error.jsp
>   
> 
> Here's what the log says when it tries to call my error page on an
> exception:
> 
> 
> 2002-03-10 18:24:13 - Ctx() : Class not found: 
> TOMCAT/JSP/error.jsp 2002-03-10 18:24:13 - Ctx(/xxx) : Status 
> code:404 request:R( /xxx + test.do + null) msg:null)
> 
> It looks like the error.jsp call is not being called in the 
> /xxx context as I would expect.  All the documentation and 
> archive e-mails that I've read seem to imply that the call to 
> the  definition would be in the context of the web app.
> 
> Any help would be greatly appreciated.
> Chris Murphy
> 
> 
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Tomcat 3.3a - error-page context problem

2002-03-10 Thread Chris Murphy

Hello,

I'm having quite a bit of trouble figuring this one out. I have Tomcat
3.3a installed with Apache mod_jk support. I've declared a virtual host
under tomcat in file apps-x.x.x.x.xml:
 







The deployed application works fine, except when an exception gets
thrown. The error-page directive in my web.xml seems to be getting
called outside of the context.  Here's the error-page definition:

  
java.lang.Exception
/error.jsp
  

Here's what the log says when it tries to call my error page on an
exception:


2002-03-10 18:24:13 - Ctx() : Class not found: TOMCAT/JSP/error.jsp
2002-03-10 18:24:13 - Ctx(/xxx) : Status code:404 request:R( /xxx +
test.do + null) msg:null)

It looks like the error.jsp call is not being called in the /xxx context
as I would expect.  All the documentation and archive e-mails that I've
read seem to imply that the call to the  definition would be
in the context of the web app.

Any help would be greatly appreciated.
Chris Murphy





--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Tomcat 3.3a

2002-02-27 Thread Hostmaster of the day

I installed Tomcat 3.3 several times successfully
on RedHat 7.2 systems.

Tomcat 3.3a against it got the following error messages :

/etc/init.d/tomcat3: /etc/tomcat3/conf/tomcat3.conf: line 27: 
unexpected EOF while looking for matching `"'
/etc/init.d/tomcat3: /etc/tomcat3/conf/tomcat3.conf: line 37: 
syntax error: unexpected end of file

I've never seen such error before.

What can I do to get rid of that problem.

I can't find an error on line 27 or 37 :-(

-- Mark Wollner


P.S.: Are there no Tomcat archives available ?


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Help with User Authentication in Tomcat 3.3a

2002-02-19 Thread Larry Isaacs

Neither of the URL's  http://localhost:8080/chi2002/index.html or
http://localhost:8080/chi2002 match the "/chi2002/demos/*" pattern.
What happens if you access a JSP page under the "demos" directory?

Cheers,
Larry

> -Original Message-
> From: Wise, Bowden (CRD) [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 18, 2002 5:14 PM
> To: 'tomcat-user'
> Subject: Help with User Authentication in Tomcat 3.3a
> 
> 
> 
> I am tyring to set understand the various user authentication
> schemes available under Tomcat 3.3.
> 
> I would like to eventually be able to use JDBCRealm with mysql.
> I found the instructions on the tomcat site, but so far I
> have been unsusccessful to get it to work.
> 
> So I thought I would first try SimpleRealm but even after
> following the examples provided, I can't get this to work
> either!  I would appreciate any suggestions!
> 
> I used the example under the JSP files that includes
> a protected area using form login.  I copied almost
> exactly, for some reason, whenever I reference the
> protected area in my browser, it never invokes
> the authentication and pop-up a form.
> 
> SIMPLE REALM
> 
> 1) Created a new web app and used ant to distribute to TOMCAT
>webapps with the following structure
> 
>   chi2002/
>  /demos
>  /accepts
>  /proofs
>  /rejects
> 
>   Browsing to http://localhost:8080/chi2002/ works great.  Below
>   I tried to protect the URL /chi2002/demos/* so if I browse to
>   a file such as http://localhost:8080/chi2002/index.html or
>   http://localhost:8080/chi2002 shouldn't the FORM login pop-up?
>   
>   The FORM never appears and requires a login.  So what am I 
>   Missing??
> 
> 2) web.xml for this app is:
> 
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" 
> "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> 
> 
> 
> 
> 
> 
> chi2002
> 
> CHI2002 DEMO FILES
> 
> 
> 
> XMLTransformServlet
>   
>   
> 
> com.ge.crd.smg.tg.XMLTransformServlet
> 
> 
> 
> XMLTransformServlet
> /XMLTransformServlet
> 
> 
> 
> 
>   
>  Protected Area
>
>  /chi2002/demos/*
>
>DELETE
>  GET
>  POST
>PUT
>   
>   
>  
>  chi2002
>   
> 
> 
> 
> 
> 
> 
> 
>   FORM
>   Example Form-Based Authentication Area
>   
> /login.jsp
> /error.jsp
>   
> 
> 
> 
> 
> 
> 3) Created apps-chi2002.xml for :
> 
> 
> 
> 
>  docBase="webapps/chi2002" 
>  crossContext="false"
>  debug="1" 
>  reloadable="true" >
>   
>   
> 
>   
>
> 
> 
> 
> 4) Created conf/users/chi2002-users.xml
> 
> 
>   
> 
> 
> 
> > Bowden
> > g GE Global Research Center 
> > 
> __
> _
> > 
> G. Bowden Wise
> mailto:[EMAIL PROTECTED]
> Information and Decision Technologies
> GE Global Research Center
> Building K1, Room 5B2C
> PO Box 8| One Research Circle
> Schenectady, NY 12301   | Niskayuna NY 12309
> Fax: 518-387-6104
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Help with User Authentication in Tomcat 3.3a

2002-02-18 Thread Wise, Bowden (CRD)


I am tyring to set understand the various user authentication
schemes available under Tomcat 3.3.

I would like to eventually be able to use JDBCRealm with mysql.
I found the instructions on the tomcat site, but so far I
have been unsusccessful to get it to work.

So I thought I would first try SimpleRealm but even after
following the examples provided, I can't get this to work
either!  I would appreciate any suggestions!

I used the example under the JSP files that includes
a protected area using form login.  I copied almost
exactly, for some reason, whenever I reference the
protected area in my browser, it never invokes
the authentication and pop-up a form.

SIMPLE REALM

1) Created a new web app and used ant to distribute to TOMCAT
   webapps with the following structure

  chi2002/
 /demos
   /accepts
   /proofs
   /rejects

  Browsing to http://localhost:8080/chi2002/ works great.  Below
  I tried to protect the URL /chi2002/demos/* so if I browse to
  a file such as http://localhost:8080/chi2002/index.html or
  http://localhost:8080/chi2002 shouldn't the FORM login pop-up?
  
  The FORM never appears and requires a login.  So what am I 
  Missing??

2) web.xml for this app is:

http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>






chi2002

CHI2002 DEMO FILES



XMLTransformServlet


com.ge.crd.smg.tg.XMLTransformServlet



XMLTransformServlet
/XMLTransformServlet




  
 Protected Area
 
 /chi2002/demos/*
 
 DELETE
 GET
 POST
 PUT
  
  
 
 chi2002
  







  FORM
  Example Form-Based Authentication Area
  
/login.jsp
/error.jsp
  





3) Created apps-chi2002.xml for :




   




   



4) Created conf/users/chi2002-users.xml


  



> Bowden
> g GE Global Research Center 
> 
>___
> 
G. Bowden Wise
mailto:[EMAIL PROTECTED]
Information and Decision Technologies
GE Global Research Center
Building K1, Room 5B2C
PO Box 8| One Research Circle
Schenectady, NY 12301   | Niskayuna NY 12309
Fax: 518-387-6104



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk

2002-02-18 Thread Larry Isaacs

The last line of the mod_jk.log indicates the request is being
forwarded to Tomcat.  Now we need to look at Tomcat's log
to see details of how it is responding to this forwarded request.
Tomcat 3.3 defaults sending the "tc_log" output to stderr.  You
can add:

  path="logs/tomcat.log"

to server.xml to send it to a "logs/tomcat.log" file, if that
would help.

Cheers,
Larry

> -Original Message-
> From: Miguel Paulino Gómez Herrero [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 18, 2002 11:12 AM
> To: Tomcat Users List
> Subject: Re: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems 
> with mod_jk
> 
> 
> Hello,
> 
> I  attach some logs:
> 
> Apache HTTP server access_log:
> 
> 127.0.0.1 - - [18/Feb/2002:17:01:48 +0100] "GET /forcap 
> HTTP/1.0" 403 271
> 127.0.0.1 - - [18/Feb/2002:17:01:51 +0100] "GET
> /forcap/informes2002?tipo=informe&formato=pdf&anexo=11&numsolicitud=3
> HTTP/1.0" 403 284
> 
> Apache HTTP server error_log:
> 
> [Mon Feb 18 17:01:42 2002] [notice] Apache/1.3.22 (Unix) mod_jk/1.1.0
> configured -- resuming normal operations
> [Mon Feb 18 17:01:42 2002] [info] Server built: Oct 15 2001 12:21:38
> [Mon Feb 18 17:01:42 2002] [notice] Accept mutex: sysvsem 
> (Default: sysvsem)
> 
> Log of my own context:
> 
> 2002-02-18 16:58:30 - /forcap: Adding servlet=jsp-> ServletH jsp(null)
> 2002-02-18 16:58:30 - /forcap: Map *.jsp -> ServletH jsp(null)
> 2002-02-18 16:58:30 - /forcap: Reading
> /opt/jakarta-tomcat-3.3a/webapps/forcap/WEB-INF/web.xml
> 2002-02-18 16:58:30 - /forcap: Adding servlet=informes2002-> ServletH
> informes2002(SW (null CN=tdi.a2002.generaInforme))
> 2002-02-18 16:58:30 - /forcap: Map /informes2002 -> ServletH 
> informes2002(SW
> (null CN=tdi.a2002.generaInforme))
> 2002-02-18 16:58:30 - /forcap: Adding 
> servlet=tomcat.exceptionHandler->
> tomcat.exceptionHandler
> 2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.statusHandler->
> tomcat.statusHandler
> 2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.redirectHandler->
> tomcat.redirectHandler
> 2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.notFoundHandler->
> tomcat.notFoundHandler
> 2002-02-18 16:58:30 - /forcap: Adding 
> servlet=tomcat.jspPrecompileHandler->
> tomcat.jspPrecompileHandler
> 2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.fileHandler->
> tomcat.fileHandler
> 2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.dirHandler->
> tomcat.dirHandler
> 
> Tomcat mod_jk log (large):
> [Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (159)]: Into
> jk_uri_worker_map_t::uri_worker_map_alloc
> [Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (199)]: Into
> jk_uri_worker_map_t::uri_worker_map_open
> [Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (217)]:
> jk_uri_worker_map_t::uri_worker_map_open, rule map size is 3
> [Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (273)]: Into
> jk_uri_worker_map_t::uri_worker_map_open, match rule 
> /forcap/servlet/=ajp13
> was added
> [Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (262)]: Into
> jk_uri_worker_map_t::uri_worker_map_open, suffix rule 
> /forcap/.jsp=ajp13 was
> added
> [Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (291)]: Into
> jk_uri_worker_map_t::uri_worker_map_open, exact rule
> /forcap/informes2002=ajp13 was added
> [Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (302)]: Into
> jk_uri_worker_map_t::uri_worker_map_open, there are 3 rules
> [Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (324)]:
> jk_uri_worker_map_t::uri_worker_map_open, done
> [Mon Feb 18 16:57:09 2002]  [jk_worker.c (82)]: Into wc_open
> [Mon Feb 18 16:57:09 2002]  [jk_worker.c (207)]: Into 
> build_worker_map,
> creating 1 workers
> [Mon Feb 18 16:57:09 2002]  [jk_worker.c (213)]: 
> build_worker_map, creating
> worker ajp13
> [Mon Feb 18 16:57:09 2002]  [jk_worker.c (138)]: Into wc_create_worker
> [Mon Feb 18 16:57:09 2002]  [jk_worker.c (152)]: 
> wc_create_worker, about to
> create instance ajp13 of ajp13
> [Mon Feb 18 16:57:09 2002]  [jk_ajp13_worker.c (922)]: Into
> ajp13_worker_factory
> [Mon Feb 18 16:57:09 2002]  [jk_worker.c (161)]: 
> wc_create_worker, about to
> validate and init ajp13
> [Mon Feb 18 16:57:09 2002]  [jk_ajp13_worker.c (443)]: Into
> jk_worker_t::validate
> [Mon Feb 18 16:57:09 2002]  [jk_ajp13_worker.c (456)]: In
> jk_worker_t::validate for worker ajp13 contact is localhost:8009
> [Mon Feb 18 16:57:09 2002]  [jk_ajp13_worker.c (482)]: Into
> jk_worker_t::init
> [Mon Feb 18 16:57:09 2002]  [jk_worker.c (177)]: 
> wc_create_worker, done
> [Mon Feb 18 16:57:09 2002]  [jk_worker.c (223)]: 
> build_worker_map, removing
> o

Re: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk

2002-02-18 Thread Miguel Paulino Gómez Herrero

Hello,

I  attach some logs:

Apache HTTP server access_log:

127.0.0.1 - - [18/Feb/2002:17:01:48 +0100] "GET /forcap HTTP/1.0" 403 271
127.0.0.1 - - [18/Feb/2002:17:01:51 +0100] "GET
/forcap/informes2002?tipo=informe&formato=pdf&anexo=11&numsolicitud=3
HTTP/1.0" 403 284

Apache HTTP server error_log:

[Mon Feb 18 17:01:42 2002] [notice] Apache/1.3.22 (Unix) mod_jk/1.1.0
configured -- resuming normal operations
[Mon Feb 18 17:01:42 2002] [info] Server built: Oct 15 2001 12:21:38
[Mon Feb 18 17:01:42 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)

Log of my own context:

2002-02-18 16:58:30 - /forcap: Adding servlet=jsp-> ServletH jsp(null)
2002-02-18 16:58:30 - /forcap: Map *.jsp -> ServletH jsp(null)
2002-02-18 16:58:30 - /forcap: Reading
/opt/jakarta-tomcat-3.3a/webapps/forcap/WEB-INF/web.xml
2002-02-18 16:58:30 - /forcap: Adding servlet=informes2002-> ServletH
informes2002(SW (null CN=tdi.a2002.generaInforme))
2002-02-18 16:58:30 - /forcap: Map /informes2002 -> ServletH informes2002(SW
(null CN=tdi.a2002.generaInforme))
2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.exceptionHandler->
tomcat.exceptionHandler
2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.statusHandler->
tomcat.statusHandler
2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.redirectHandler->
tomcat.redirectHandler
2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.notFoundHandler->
tomcat.notFoundHandler
2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.jspPrecompileHandler->
tomcat.jspPrecompileHandler
2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.fileHandler->
tomcat.fileHandler
2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.dirHandler->
tomcat.dirHandler

Tomcat mod_jk log (large):
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (159)]: Into
jk_uri_worker_map_t::uri_worker_map_alloc
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (199)]: Into
jk_uri_worker_map_t::uri_worker_map_open
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (217)]:
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 3
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (273)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule /forcap/servlet/=ajp13
was added
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (262)]: Into
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /forcap/.jsp=ajp13 was
added
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (291)]: Into
jk_uri_worker_map_t::uri_worker_map_open, exact rule
/forcap/informes2002=ajp13 was added
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (302)]: Into
jk_uri_worker_map_t::uri_worker_map_open, there are 3 rules
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (324)]:
jk_uri_worker_map_t::uri_worker_map_open, done
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (82)]: Into wc_open
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (207)]: Into build_worker_map,
creating 1 workers
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (213)]: build_worker_map, creating
worker ajp13
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (138)]: Into wc_create_worker
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (152)]: wc_create_worker, about to
create instance ajp13 of ajp13
[Mon Feb 18 16:57:09 2002]  [jk_ajp13_worker.c (922)]: Into
ajp13_worker_factory
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (161)]: wc_create_worker, about to
validate and init ajp13
[Mon Feb 18 16:57:09 2002]  [jk_ajp13_worker.c (443)]: Into
jk_worker_t::validate
[Mon Feb 18 16:57:09 2002]  [jk_ajp13_worker.c (456)]: In
jk_worker_t::validate for worker ajp13 contact is localhost:8009
[Mon Feb 18 16:57:09 2002]  [jk_ajp13_worker.c (482)]: Into
jk_worker_t::init
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (177)]: wc_create_worker, done
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (223)]: build_worker_map, removing
old ajp13 worker
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (235)]: build_worker_map, done
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (102)]: wc_open, done
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (109)]: Into wc_close
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (111)]: wc_close, done
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (177)]: Into
jk_uri_worker_map_t::uri_worker_map_free
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (332)]: Into
jk_uri_worker_map_t::uri_worker_map_close
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (109)]: Into wc_close
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (111)]: wc_close, done
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (177)]: Into
jk_uri_worker_map_t::uri_worker_map_free
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (332)]: Into
jk_uri_worker_map_t::uri_worker_map_close
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (109)]: Into wc_close
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (111)]: wc_close, done
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (177)]: Into
jk_uri_worker_map_t::uri_worker_map_free
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (332)]: Into
jk_uri_worker_map_t::uri_worker_map_close
[Mon Feb 18 16:57:15 20

RE: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk

2002-02-18 Thread Larry Isaacs

Can you give an example request and provide the associated
entries in the various log files?  Without more detail, it
is hard to guess what the problem is.

Cheers,
Larry


> -Original Message-
> From: Miguel Paulino Gómez Herrero [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 18, 2002 9:59 AM
> To: Tomcat Users List
> Subject: Re: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems 
> with mod_jk
> 
> 
> Hello,
> 
> I've the same problem using tomcat 3.3a + Apache 1.3 on Linux
> Slackware 8.0, it seem that tomcat don't work well because apache http
> server forwards all request to tomcat but I get a "403 
> Forbidden " response.
> I think that there is a mistake on the tomcat configuration 
> but I don't know
> what is.
> 
> Cheers,
> Miguel
> 
> - Original Message -
> From: "Larry Isaacs" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Monday, February 18, 2002 2:36 PM
> Subject: RE: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems 
> with mod_jk
> 
> 
> I don't do a lot of testing on Linux but I don't know why this
> wouldn't work.  I assume you looked for the mod_jk.conf under
> the "conf/auto" directory?  Are you using the RPM or the tar.gz?
> To diagnose why Apache and Tomcat 3.3a aren't communicating,
> more information than "I didn't get tomcat" will be needed.
> A portion of the jk.log relating to a failed request would help.
> 
> Cheers,
> Larry
> 
> 
> > -Original Message-
> > From: Kaemmerer, Stefan [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, February 18, 2002 1:40 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk
> >
> >
> > I have installed apache and tomcat 3.3a on my Suse Linux.
> >
> > with http://skaehome I'm getiing my apache server. with
> > http://skaehome:8080/examples I'M getting tomcat. But 
> without the port
> > number I didn't get tomcat. At the time I'm using
> > /etc/tomcat3/conf/jk/mod_jk.conf which looks like the following.
> >
> > LoadModule jk_module modules/mod_jk.so
> > AddModule  mod_jk.c
> >
> > 
> >
> > JkWorkersFile /etc/tomcat3/conf/jk/workers.properties
> > JkLogFile /etc/tomcat3/conf/jk/jk.log
> > JkLogLevel info
> > JkMount /*.jsp ajp13
> > JkMount /servlet/* ajp13
> > JkMount /examples/* ajp13
> >
> > 
> >
> > I tried to generate an mod_jk.conf with tomcat3 run jkconf,
> > but this doesn't
> > work. No mod_jk.conf will be generated.
> >
> > Mit freundlichen Grüßen
> > Stefan Kämmerer
> >
> > Software AG Systemhaus GmbH
> > Technical Consultant
> > Email mailto:[EMAIL PROTECTED]
> > Fon +49 711 72093 0
> > Fax +49 7085 9230 56 (Home Office)
> > Fax +49 711 72093 165
> > Mobil +49 172 680 7285
> > Web http://www.softwareag.com
> >
> >
> > --
> > To unsubscribe:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands: 
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> >
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk

2002-02-18 Thread Miguel Paulino Gómez Herrero

Hello,

I've the same problem using tomcat 3.3a + Apache 1.3 on Linux
Slackware 8.0, it seem that tomcat don't work well because apache http
server forwards all request to tomcat but I get a "403 Forbidden " response.
I think that there is a mistake on the tomcat configuration but I don't know
what is.

Cheers,
Miguel

- Original Message -
From: "Larry Isaacs" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Monday, February 18, 2002 2:36 PM
Subject: RE: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk


I don't do a lot of testing on Linux but I don't know why this
wouldn't work.  I assume you looked for the mod_jk.conf under
the "conf/auto" directory?  Are you using the RPM or the tar.gz?
To diagnose why Apache and Tomcat 3.3a aren't communicating,
more information than "I didn't get tomcat" will be needed.
A portion of the jk.log relating to a failed request would help.

Cheers,
Larry


> -Original Message-
> From: Kaemmerer, Stefan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 18, 2002 1:40 AM
> To: '[EMAIL PROTECTED]'
> Subject: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk
>
>
> I have installed apache and tomcat 3.3a on my Suse Linux.
>
> with http://skaehome I'm getiing my apache server. with
> http://skaehome:8080/examples I'M getting tomcat. But without the port
> number I didn't get tomcat. At the time I'm using
> /etc/tomcat3/conf/jk/mod_jk.conf which looks like the following.
>
> LoadModule jk_module modules/mod_jk.so
> AddModule  mod_jk.c
>
> 
>
> JkWorkersFile /etc/tomcat3/conf/jk/workers.properties
> JkLogFile /etc/tomcat3/conf/jk/jk.log
> JkLogLevel info
> JkMount /*.jsp ajp13
> JkMount /servlet/* ajp13
> JkMount /examples/* ajp13
>
> 
>
> I tried to generate an mod_jk.conf with tomcat3 run jkconf,
> but this doesn't
> work. No mod_jk.conf will be generated.
>
> Mit freundlichen Grüßen
> Stefan Kämmerer
>
> Software AG Systemhaus GmbH
> Technical Consultant
> Email mailto:[EMAIL PROTECTED]
> Fon +49 711 72093 0
> Fax +49 7085 9230 56 (Home Office)
> Fax +49 711 72093 165
> Mobil +49 172 680 7285
> Web http://www.softwareag.com
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk

2002-02-18 Thread Larry Isaacs

I don't do a lot of testing on Linux but I don't know why this
wouldn't work.  I assume you looked for the mod_jk.conf under
the "conf/auto" directory?  Are you using the RPM or the tar.gz?
To diagnose why Apache and Tomcat 3.3a aren't communicating,
more information than "I didn't get tomcat" will be needed.
A portion of the jk.log relating to a failed request would help.

Cheers,
Larry


> -Original Message-
> From: Kaemmerer, Stefan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 18, 2002 1:40 AM
> To: '[EMAIL PROTECTED]'
> Subject: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk
> 
> 
> I have installed apache and tomcat 3.3a on my Suse Linux.
> 
> with http://skaehome I'm getiing my apache server. with
> http://skaehome:8080/examples I'M getting tomcat. But without the port
> number I didn't get tomcat. At the time I'm using
> /etc/tomcat3/conf/jk/mod_jk.conf which looks like the following.
> 
> LoadModule jk_module modules/mod_jk.so
> AddModule  mod_jk.c
> 
> 
> 
> JkWorkersFile /etc/tomcat3/conf/jk/workers.properties
> JkLogFile /etc/tomcat3/conf/jk/jk.log
> JkLogLevel info
> JkMount /*.jsp ajp13
> JkMount /servlet/* ajp13
> JkMount /examples/* ajp13
> 
> 
> 
> I tried to generate an mod_jk.conf with tomcat3 run jkconf, 
> but this doesn't
> work. No mod_jk.conf will be generated.
> 
> Mit freundlichen Grüßen
> Stefan Kämmerer
> 
> Software AG Systemhaus GmbH
> Technical Consultant 
> Email mailto:[EMAIL PROTECTED]
> Fon +49 711 72093 0
> Fax +49 7085 9230 56 (Home Office)
> Fax +49 711 72093 165
> Mobil +49 172 680 7285
> Web http://www.softwareag.com
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk

2002-02-17 Thread Kaemmerer, Stefan

I have installed apache and tomcat 3.3a on my Suse Linux.

with http://skaehome I'm getiing my apache server. with
http://skaehome:8080/examples I'M getting tomcat. But without the port
number I didn't get tomcat. At the time I'm using
/etc/tomcat3/conf/jk/mod_jk.conf which looks like the following.

LoadModule jk_module modules/mod_jk.so
AddModule  mod_jk.c



JkWorkersFile /etc/tomcat3/conf/jk/workers.properties
JkLogFile /etc/tomcat3/conf/jk/jk.log
JkLogLevel info
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /examples/* ajp13



I tried to generate an mod_jk.conf with tomcat3 run jkconf, but this doesn't
work. No mod_jk.conf will be generated.

Mit freundlichen Grüßen
Stefan Kämmerer

Software AG Systemhaus GmbH
Technical Consultant 
Email mailto:[EMAIL PROTECTED]
Fon +49 711 72093 0
Fax +49 7085 9230 56 (Home Office)
Fax +49 711 72093 165
Mobil +49 172 680 7285
Web http://www.softwareag.com


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a and context loading order

2002-02-15 Thread Larry Isaacs

Having the contexts declared outside of server.xml was the
intent.  I think having multiple contexts in an apps-ordered.xml
is appropriate.

Cheers,
Larry

> -Original Message-
> From: Mario Felarca [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 14, 2002 5:43 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.3a and context loading order
> 
> 
> Hello,
> 
> In Tomcat 3.2.x one could specify the order in which contexts were 
> initialized by the order in which they were entered in the 
> server.xml file.
> 
> In Tomcat 3.3 I have not found a way to do this yet, short of 
> putting the 
> contexts into one file (be it the server.xml file or an 
> apps-ordered.xml 
> file). Does anyone know of a better way to do this?
> 
> Thanks in advance,
> 
> Mario-
> 
> 
> 
> _
> 
> Do You Yahoo!?
> 
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Tomcat 3.3a and context loading order

2002-02-14 Thread Mario Felarca

Hello,

In Tomcat 3.2.x one could specify the order in which contexts were 
initialized by the order in which they were entered in the server.xml file.

In Tomcat 3.3 I have not found a way to do this yet, short of putting the 
contexts into one file (be it the server.xml file or an apps-ordered.xml 
file). Does anyone know of a better way to do this?

Thanks in advance,

Mario-


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Tomcat 3.3a - classloader hirearchy questions

2002-02-12 Thread Mario Felarca

At 08:34 AM 02/12/2002 -0500, you wrote:

>Tomcat 3.3 follows the JDK implementation for classloaders
>where child classloaders delegate to their parent classloaders
>first, before attempting to load a class themselves.  This is
>why Base1.class is found in the CLASSPATH classloader even though
>it exists in other classloaders in the chain.
>
>Per the Servlet 2.3 spec, Tomcat 4.x implements the classloader
>behavior differently.  Classloaders may attempt to load the
>class first before delegating to their parent classloader.
>In this case, your scenario would have worked.

Thanks for your help in clarifying this for me Larry!!

Mario-



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Tomcat 3.3a - classloader hirearchy questions

2002-02-12 Thread Larry Isaacs



> -Original Message-
> From: Mario Felarca [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 11, 2002 7:40 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.3a - classloader hirearchy questions 
> 
> 
> Hello, I had a problem a few days ago with Tomcat 3.3a and 
> loading classes 
> that I have tracked down. I wanted to ask if my understanding of the 
> classloader hirearchy is correct or if there are other people 
> that have 
> experienced similar behavior.
> 
> I was running Tomcat 3.3a as a service, and on the 
> -Djava.class.path was 
> tomcat.jar and one other directory that had a copy of one of 
> my classes, 
> we'll call it Base1.class.
> 
> Now, Base1.class was also in a jar that I had put in 
> tomcat/lib/apps and 
> was thus loaded by the apps classloader. The problem I was 
> running into, 
> was that I had another class in that same jar, loaded by the apps 
> classloader, that extended from Base1.class. We'll call this class 
> SubClass1.class.
> 
> I expected SubClass1.class to load Base1.class from the apps 
> classloader, 
> since they were both in the same jar. What appeared to be 
> happening, was 
> that SubClass1.class was attempting to load Base1.class from 
> the system 
> classloader. Here, Base1.class got loaded (since there was a copy on 
> -Djava.class.path) but since Base1.class needed to load other 
> classes that 
> were not on the system classloader, things failed out.
> 
> I know that a solution is to remove the copy of Base1.class from the 
> -Djava.class.path location, but now I am curious as to if my 
> understanding 
> of the classloaders is incorrect.
> 
> Shouldn't the SubClass1.class look for any classes that it is 
> dependent on 
> in the same classloader first? In this case it would be the apps 
> classloader which should also have loaded Base1.class.
> 
> Or, does the apps classloader not load Base1.class since it 
> was already on 
> the -Djava.class.path?
> 
> Better yet, is this a configuration issue that I have simply 
> overlooked?

Tomcat 3.3 follows the JDK implementation for classloaders
where child classloaders delegate to their parent classloaders
first, before attempting to load a class themselves.  This is
why Base1.class is found in the CLASSPATH classloader even though
it exists in other classloaders in the chain.

Per the Servlet 2.3 spec, Tomcat 4.x implements the classloader
behavior differently.  Classloaders may attempt to load the
class first before delegating to their parent classloader.
In this case, your scenario would have worked.

> 
> Finally, I noticed that if I ran from the tomcat batch file, 
> and set the 
> CLASSPATH environment variable to be the same as the 
> -Djava.class.path 
> parameter that I used, the behavior was different and I did 
> not get the 
> same problems as I did when running as a service.
> 
> Any information or ideas would be appreciated.
> 
> Thanks so much in advance,
> 
> Mario-
> 
> 
> 
> _
> 
> Do You Yahoo!?
> 
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Tomcat 3.3a - classloader hirearchy questions

2002-02-11 Thread Mario Felarca

Hello, I had a problem a few days ago with Tomcat 3.3a and loading classes 
that I have tracked down. I wanted to ask if my understanding of the 
classloader hirearchy is correct or if there are other people that have 
experienced similar behavior.

I was running Tomcat 3.3a as a service, and on the -Djava.class.path was 
tomcat.jar and one other directory that had a copy of one of my classes, 
we'll call it Base1.class.

Now, Base1.class was also in a jar that I had put in tomcat/lib/apps and 
was thus loaded by the apps classloader. The problem I was running into, 
was that I had another class in that same jar, loaded by the apps 
classloader, that extended from Base1.class. We'll call this class 
SubClass1.class.

I expected SubClass1.class to load Base1.class from the apps classloader, 
since they were both in the same jar. What appeared to be happening, was 
that SubClass1.class was attempting to load Base1.class from the system 
classloader. Here, Base1.class got loaded (since there was a copy on 
-Djava.class.path) but since Base1.class needed to load other classes that 
were not on the system classloader, things failed out.

I know that a solution is to remove the copy of Base1.class from the 
-Djava.class.path location, but now I am curious as to if my understanding 
of the classloaders is incorrect.

Shouldn't the SubClass1.class look for any classes that it is dependent on 
in the same classloader first? In this case it would be the apps 
classloader which should also have loaded Base1.class.

Or, does the apps classloader not load Base1.class since it was already on 
the -Djava.class.path?

Better yet, is this a configuration issue that I have simply overlooked?

Finally, I noticed that if I ran from the tomcat batch file, and set the 
CLASSPATH environment variable to be the same as the -Djava.class.path 
parameter that I used, the behavior was different and I did not get the 
same problems as I did when running as a service.

Any information or ideas would be appreciated.

Thanks so much in advance,

Mario-


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




AW: Tomcat 3.3a & IIS & JDBC

2002-02-08 Thread Martin Jussel

... and no more CLASSPATH definition is needed!? I removed the entry for
the JDBC driver and it still works. Is this normal after copying the
stuff to TOMCAT_HOME/lib/common?

Maritn


> -Ursprüngliche Nachricht-
> Von: Martin Jussel 
> Gesendet: Donnerstag, 07. Februar 2002 19:37
> An: Tomcat Users List
> Betreff: AW: Tomcat 3.3a & IIS & JDBC
> 
> 
> Thanx. That's working!!!
> 
> Martin
> 
> 
> -Ursprüngliche Nachricht-
> Von: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 07. Februar 2002 19:17
> An: 'Tomcat Users List'
> Betreff: RE: Tomcat 3.3a & IIS & JDBC
> 
> 
> See method #1 under:
> 
> <http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.htm
> l#configur
> ing_classes>
> 
> You must create the "classes" directory yourself, under
> TOMCAT_HOME/lib/common for example.  It is not present by default.
> During startup Tomcat 3.3 looks for such "classes" directories and
> includes it in the corresponding classloader if found.
> 
> Cheers,
> Larry
> 
> 
> 
> > -Original Message-
> > From: Martin Jussel [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 07, 2002 1:11 PM
> > To: Tomcat Users List
> > Subject: AW: Tomcat 3.3a & IIS & JDBC
> > 
> > 
> > Sorry but there is no .jar file and the driver works while 
> copying the
> > stuff in WEB-INF/classes of each web. So it looks like that 
> jar files
> > are not needed to get tomcat running. Am I right? Otherwise: is it
> > possible to create a jar file myself if it's a Tomcat must-have?
> > 
> > Martin
> > 
> > 
> > 
> > -Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 07. Februar 2002 18:49
> > An: [EMAIL PROTECTED]
> > Betreff: RE: Tomcat 3.3a & IIS & JDBC
> > 
> > 
> > Your JDBC driver should have come in a .jar file (or multiples .jar
> > files)
> > and those should be put in the TOMCAT_HOME/lib/common 
> directory (there
> > are
> > README files in the lib/ tree explaining what all the directories in
> > there
> > are for).
> > 
> > Colin
> > 
> > > --
> > > From: Martin Jussel[SMTP:[EMAIL PROTECTED]]
> > > Reply To: Tomcat Users List
> > > Sent: Thursday, February 07, 2002 11:48 AM
> > > To:   Tomcat Users List
> > > Subject:  AW: Tomcat 3.3a & IIS & JDBC
> > > 
> > > Hi,
> > > 
> > > - There are only *.class files in the dir and no jar's ...
> > > - The driver should be usable from different webapps
> > > 
> > > Martin
> > > 
> > > 
> > > 
> > > -Ursprüngliche Nachricht-
> > > Von: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
> > > Gesendet: Donnerstag, 07. Februar 2002 18:37
> > > An: Tomcat Users List
> > > Betreff: RE: Tomcat 3.3a & IIS & JDBC
> > > 
> > > 
> > > put the jar file in the WEB-INF/lib directory of your webapp..
> > > 
> > > Mvgr,
> > > Martin
> > > 
> > > > -Original Message-
> > > > From: Martin Jussel [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, February 07, 2002 18:42
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Tomcat 3.3a & IIS & JDBC
> > > > 
> > > > 
> > > > Hi,
> > > > 
> > > > I'm a newbie: I installed Tomcat and the IIS redirector 
> > successfully
> > > and
> > > > found the solution to host multiple webs with this 
> configuration.
> > But
> > > > now I have to install a JDBC driver (SQLBase) and to 
> get it run, I
> > > found
> > > > only the solution to copy the complete JDBC driver path
> > > > (com.centurasoft.java.sqlbase) to the WEB-INF\classes 
> of each web
> > and
> > > > define the path in the web.xml.
> > > > 
> > > > Is there no *global* place for installing driver classes 
> > like this?
> > > > 
> > > > Regards,
> > > > Martin Jussel
> > > > 
> > > > 
> > > > --
> > > > To unsubscribe:
> > <mailto:[EMAIL PROTECTED]>
> > > > For additional commands:
> > <mailto:[EMAIL PROTECTED]>
> > > > Troubles with the list:
> > <mailto:[EMAIL PROTECTED]>
> > > > 
> > > >

RE: Tomcat 3.3a & IIS & JDBC

2002-02-07 Thread colin . madere

the lib/common is where all your web apps will look if a class is not found
in it's WEB-INF/classes dir.

It's there so you can share and easily maintain common libraries.  There is
no functional difference that I know of except that the WEB-INF solution
means the server has a copy of those classes loaded for every web app rather
than just one copy being used by all.

The jar file is just a nice clean way to put a bunch of classes (and other
files) in a single place rather than having to do the directory stuff you
are having to do.  You might be able to jar that class directory and put the
resulting .jar file in the lib/common dir and have it work.  Try it! :)

Colin

> --
> From: Martin Jussel[SMTP:[EMAIL PROTECTED]]
> Reply To: Tomcat Users List
> Sent: Thursday, February 07, 2002 12:11 PM
> To:   Tomcat Users List
> Subject:  AW: Tomcat 3.3a & IIS & JDBC
> 
> Sorry but there is no .jar file and the driver works while copying the
> stuff in WEB-INF/classes of each web. So it looks like that jar files
> are not needed to get tomcat running. Am I right? Otherwise: is it
> possible to create a jar file myself if it's a Tomcat must-have?
> 
> Martin
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 07. Februar 2002 18:49
> An: [EMAIL PROTECTED]
> Betreff: RE: Tomcat 3.3a & IIS & JDBC
> 
> 
> Your JDBC driver should have come in a .jar file (or multiples .jar
> files)
> and those should be put in the TOMCAT_HOME/lib/common directory (there
> are
> README files in the lib/ tree explaining what all the directories in
> there
> are for).
> 
> Colin
> 
> > --
> > From:   Martin Jussel[SMTP:[EMAIL PROTECTED]]
> > Reply To:   Tomcat Users List
> > Sent:   Thursday, February 07, 2002 11:48 AM
> > To: Tomcat Users List
> > Subject:AW: Tomcat 3.3a & IIS & JDBC
> > 
> > Hi,
> > 
> > - There are only *.class files in the dir and no jar's ...
> > - The driver should be usable from different webapps
> > 
> > Martin
> > 
> > 
> > 
> > -Ursprüngliche Nachricht-
> > Von: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 07. Februar 2002 18:37
> > An: Tomcat Users List
> > Betreff: RE: Tomcat 3.3a & IIS & JDBC
> > 
> > 
> > put the jar file in the WEB-INF/lib directory of your webapp..
> > 
> > Mvgr,
> > Martin
> > 
> > > -Original Message-
> > > From: Martin Jussel [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, February 07, 2002 18:42
> > > To: [EMAIL PROTECTED]
> > > Subject: Tomcat 3.3a & IIS & JDBC
> > > 
> > > 
> > > Hi,
> > > 
> > > I'm a newbie: I installed Tomcat and the IIS redirector successfully
> > and
> > > found the solution to host multiple webs with this configuration.
> But
> > > now I have to install a JDBC driver (SQLBase) and to get it run, I
> > found
> > > only the solution to copy the complete JDBC driver path
> > > (com.centurasoft.java.sqlbase) to the WEB-INF\classes of each web
> and
> > > define the path in the web.xml.
> > > 
> > > Is there no *global* place for installing driver classes like this?
> > > 
> > > Regards,
> > > Martin Jussel
> > > 
> > > 
> > > --
> > > To unsubscribe:
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands:
> <mailto:[EMAIL PROTECTED]>
> > > Troubles with the list:
> <mailto:[EMAIL PROTECTED]>
> > > 
> > > 
> > 
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> > 
> > 
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> > 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




AW: Tomcat 3.3a & IIS & JDBC

2002-02-07 Thread Martin Jussel

Thanx. That's working!!!

Martin


-Ursprüngliche Nachricht-
Von: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 07. Februar 2002 19:17
An: 'Tomcat Users List'
Betreff: RE: Tomcat 3.3a & IIS & JDBC


See method #1 under:

<http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configur
ing_classes>

You must create the "classes" directory yourself, under
TOMCAT_HOME/lib/common for example.  It is not present by default.
During startup Tomcat 3.3 looks for such "classes" directories and
includes it in the corresponding classloader if found.

Cheers,
Larry



> -Original Message-
> From: Martin Jussel [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 1:11 PM
> To: Tomcat Users List
> Subject: AW: Tomcat 3.3a & IIS & JDBC
> 
> 
> Sorry but there is no .jar file and the driver works while copying the
> stuff in WEB-INF/classes of each web. So it looks like that jar files
> are not needed to get tomcat running. Am I right? Otherwise: is it
> possible to create a jar file myself if it's a Tomcat must-have?
> 
> Martin
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 07. Februar 2002 18:49
> An: [EMAIL PROTECTED]
> Betreff: RE: Tomcat 3.3a & IIS & JDBC
> 
> 
> Your JDBC driver should have come in a .jar file (or multiples .jar
> files)
> and those should be put in the TOMCAT_HOME/lib/common directory (there
> are
> README files in the lib/ tree explaining what all the directories in
> there
> are for).
> 
> Colin
> 
> > --
> > From:   Martin Jussel[SMTP:[EMAIL PROTECTED]]
> > Reply To:   Tomcat Users List
> > Sent:   Thursday, February 07, 2002 11:48 AM
> > To: Tomcat Users List
> > Subject:AW: Tomcat 3.3a & IIS & JDBC
> > 
> > Hi,
> > 
> > - There are only *.class files in the dir and no jar's ...
> > - The driver should be usable from different webapps
> > 
> > Martin
> > 
> > 
> > 
> > -Ursprüngliche Nachricht-
> > Von: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 07. Februar 2002 18:37
> > An: Tomcat Users List
> > Betreff: RE: Tomcat 3.3a & IIS & JDBC
> > 
> > 
> > put the jar file in the WEB-INF/lib directory of your webapp..
> > 
> > Mvgr,
> > Martin
> > 
> > > -Original Message-
> > > From: Martin Jussel [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, February 07, 2002 18:42
> > > To: [EMAIL PROTECTED]
> > > Subject: Tomcat 3.3a & IIS & JDBC
> > > 
> > > 
> > > Hi,
> > > 
> > > I'm a newbie: I installed Tomcat and the IIS redirector 
> successfully
> > and
> > > found the solution to host multiple webs with this configuration.
> But
> > > now I have to install a JDBC driver (SQLBase) and to get it run, I
> > found
> > > only the solution to copy the complete JDBC driver path
> > > (com.centurasoft.java.sqlbase) to the WEB-INF\classes of each web
> and
> > > define the path in the web.xml.
> > > 
> > > Is there no *global* place for installing driver classes 
> like this?
> > > 
> > > Regards,
> > > Martin Jussel
> > > 
> > > 
> > > --
> > > To unsubscribe:
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands:
> <mailto:[EMAIL PROTECTED]>
> > > Troubles with the list:
> <mailto:[EMAIL PROTECTED]>
> > > 
> > > 
> > 
> > --
> > To unsubscribe:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands: 
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> > 
> > 
> > --
> > To unsubscribe:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands: 
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> > 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a & IIS & JDBC

2002-02-07 Thread Larry Isaacs

See method #1 under:

<http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_classes>

You must create the "classes" directory yourself, under
TOMCAT_HOME/lib/common for example.  It is not present by default.
During startup Tomcat 3.3 looks for such "classes" directories and
includes it in the corresponding classloader if found.

Cheers,
Larry



> -Original Message-
> From: Martin Jussel [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 1:11 PM
> To: Tomcat Users List
> Subject: AW: Tomcat 3.3a & IIS & JDBC
> 
> 
> Sorry but there is no .jar file and the driver works while copying the
> stuff in WEB-INF/classes of each web. So it looks like that jar files
> are not needed to get tomcat running. Am I right? Otherwise: is it
> possible to create a jar file myself if it's a Tomcat must-have?
> 
> Martin
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 07. Februar 2002 18:49
> An: [EMAIL PROTECTED]
> Betreff: RE: Tomcat 3.3a & IIS & JDBC
> 
> 
> Your JDBC driver should have come in a .jar file (or multiples .jar
> files)
> and those should be put in the TOMCAT_HOME/lib/common directory (there
> are
> README files in the lib/ tree explaining what all the directories in
> there
> are for).
> 
> Colin
> 
> > --
> > From:   Martin Jussel[SMTP:[EMAIL PROTECTED]]
> > Reply To:   Tomcat Users List
> > Sent:   Thursday, February 07, 2002 11:48 AM
> > To: Tomcat Users List
> > Subject:AW: Tomcat 3.3a & IIS & JDBC
> > 
> > Hi,
> > 
> > - There are only *.class files in the dir and no jar's ...
> > - The driver should be usable from different webapps
> > 
> > Martin
> > 
> > 
> > 
> > -Ursprüngliche Nachricht-
> > Von: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 07. Februar 2002 18:37
> > An: Tomcat Users List
> > Betreff: RE: Tomcat 3.3a & IIS & JDBC
> > 
> > 
> > put the jar file in the WEB-INF/lib directory of your webapp..
> > 
> > Mvgr,
> > Martin
> > 
> > > -Original Message-
> > > From: Martin Jussel [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, February 07, 2002 18:42
> > > To: [EMAIL PROTECTED]
> > > Subject: Tomcat 3.3a & IIS & JDBC
> > > 
> > > 
> > > Hi,
> > > 
> > > I'm a newbie: I installed Tomcat and the IIS redirector 
> successfully
> > and
> > > found the solution to host multiple webs with this configuration.
> But
> > > now I have to install a JDBC driver (SQLBase) and to get it run, I
> > found
> > > only the solution to copy the complete JDBC driver path
> > > (com.centurasoft.java.sqlbase) to the WEB-INF\classes of each web
> and
> > > define the path in the web.xml.
> > > 
> > > Is there no *global* place for installing driver classes 
> like this?
> > > 
> > > Regards,
> > > Martin Jussel
> > > 
> > > 
> > > --
> > > To unsubscribe:
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands:
> <mailto:[EMAIL PROTECTED]>
> > > Troubles with the list:
> <mailto:[EMAIL PROTECTED]>
> > > 
> > > 
> > 
> > --
> > To unsubscribe:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands: 
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> > 
> > 
> > --
> > To unsubscribe:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands: 
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> > 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




AW: Tomcat 3.3a & IIS & JDBC

2002-02-07 Thread Martin Jussel

Sorry but there is no .jar file and the driver works while copying the
stuff in WEB-INF/classes of each web. So it looks like that jar files
are not needed to get tomcat running. Am I right? Otherwise: is it
possible to create a jar file myself if it's a Tomcat must-have?

Martin



-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 07. Februar 2002 18:49
An: [EMAIL PROTECTED]
Betreff: RE: Tomcat 3.3a & IIS & JDBC


Your JDBC driver should have come in a .jar file (or multiples .jar
files)
and those should be put in the TOMCAT_HOME/lib/common directory (there
are
README files in the lib/ tree explaining what all the directories in
there
are for).

Colin

> --
> From: Martin Jussel[SMTP:[EMAIL PROTECTED]]
> Reply To: Tomcat Users List
> Sent: Thursday, February 07, 2002 11:48 AM
> To:   Tomcat Users List
> Subject:  AW: Tomcat 3.3a & IIS & JDBC
> 
> Hi,
> 
> - There are only *.class files in the dir and no jar's ...
> - The driver should be usable from different webapps
> 
> Martin
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 07. Februar 2002 18:37
> An: Tomcat Users List
> Betreff: RE: Tomcat 3.3a & IIS & JDBC
> 
> 
> put the jar file in the WEB-INF/lib directory of your webapp..
> 
> Mvgr,
> Martin
> 
> > -Original Message-
> > From: Martin Jussel [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 07, 2002 18:42
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat 3.3a & IIS & JDBC
> > 
> > 
> > Hi,
> > 
> > I'm a newbie: I installed Tomcat and the IIS redirector successfully
> and
> > found the solution to host multiple webs with this configuration.
But
> > now I have to install a JDBC driver (SQLBase) and to get it run, I
> found
> > only the solution to copy the complete JDBC driver path
> > (com.centurasoft.java.sqlbase) to the WEB-INF\classes of each web
and
> > define the path in the web.xml.
> > 
> > Is there no *global* place for installing driver classes like this?
> > 
> > Regards,
> > Martin Jussel
> > 
> > 
> > --
> > To unsubscribe:
<mailto:[EMAIL PROTECTED]>
> > For additional commands:
<mailto:[EMAIL PROTECTED]>
> > Troubles with the list:
<mailto:[EMAIL PROTECTED]>
> > 
> > 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




AW: Tomcat 3.3a & IIS & JDBC

2002-02-07 Thread Martin Jussel

Hi,

Did it but nothing changed (Tomcat was restarted). Is there no
additional setup necessary (editing server.xml, etc)?

Martin


-Ursprüngliche Nachricht-
Von: Randy Layman [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 07. Februar 2002 17:57
An: 'Tomcat Users List'
Betreff: RE: Tomcat 3.3a & IIS & JDBC


TOMCAT_HOME\lib\common

> -Original Message-
> From: Martin Jussel [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 12:42 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.3a & IIS & JDBC
> 
> 
> Hi,
> 
> I'm a newbie: I installed Tomcat and the IIS redirector 
> successfully and
> found the solution to host multiple webs with this configuration. But
> now I have to install a JDBC driver (SQLBase) and to get it 
> run, I found
> only the solution to copy the complete JDBC driver path
> (com.centurasoft.java.sqlbase) to the WEB-INF\classes of each web and
> define the path in the web.xml.
> 
> Is there no *global* place for installing driver classes like this?
> 
> Regards,
> Martin Jussel
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a & IIS & JDBC

2002-02-07 Thread colin . madere

Your JDBC driver should have come in a .jar file (or multiples .jar files)
and those should be put in the TOMCAT_HOME/lib/common directory (there are
README files in the lib/ tree explaining what all the directories in there
are for).

Colin

> --
> From: Martin Jussel[SMTP:[EMAIL PROTECTED]]
> Reply To: Tomcat Users List
> Sent: Thursday, February 07, 2002 11:48 AM
> To:   Tomcat Users List
> Subject:      AW: Tomcat 3.3a & IIS & JDBC
> 
> Hi,
> 
> - There are only *.class files in the dir and no jar's ...
> - The driver should be usable from different webapps
> 
> Martin
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 07. Februar 2002 18:37
> An: Tomcat Users List
> Betreff: RE: Tomcat 3.3a & IIS & JDBC
> 
> 
> put the jar file in the WEB-INF/lib directory of your webapp..
> 
> Mvgr,
> Martin
> 
> > -Original Message-
> > From: Martin Jussel [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 07, 2002 18:42
> > To: [EMAIL PROTECTED]
> > Subject: Tomcat 3.3a & IIS & JDBC
> > 
> > 
> > Hi,
> > 
> > I'm a newbie: I installed Tomcat and the IIS redirector successfully
> and
> > found the solution to host multiple webs with this configuration. But
> > now I have to install a JDBC driver (SQLBase) and to get it run, I
> found
> > only the solution to copy the complete JDBC driver path
> > (com.centurasoft.java.sqlbase) to the WEB-INF\classes of each web and
> > define the path in the web.xml.
> > 
> > Is there no *global* place for installing driver classes like this?
> > 
> > Regards,
> > Martin Jussel
> > 
> > 
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> > 
> > 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




AW: Tomcat 3.3a & IIS & JDBC

2002-02-07 Thread Martin Jussel

Hi,

- There are only *.class files in the dir and no jar's ...
- The driver should be usable from different webapps

Martin



-Ursprüngliche Nachricht-
Von: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 07. Februar 2002 18:37
An: Tomcat Users List
Betreff: RE: Tomcat 3.3a & IIS & JDBC


put the jar file in the WEB-INF/lib directory of your webapp..

Mvgr,
Martin

> -Original Message-
> From: Martin Jussel [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 18:42
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.3a & IIS & JDBC
> 
> 
> Hi,
> 
> I'm a newbie: I installed Tomcat and the IIS redirector successfully
and
> found the solution to host multiple webs with this configuration. But
> now I have to install a JDBC driver (SQLBase) and to get it run, I
found
> only the solution to copy the complete JDBC driver path
> (com.centurasoft.java.sqlbase) to the WEB-INF\classes of each web and
> define the path in the web.xml.
> 
> Is there no *global* place for installing driver classes like this?
> 
> Regards,
> Martin Jussel
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a & IIS & JDBC

2002-02-07 Thread Randy Layman

TOMCAT_HOME\lib\common

> -Original Message-
> From: Martin Jussel [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 12:42 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.3a & IIS & JDBC
> 
> 
> Hi,
> 
> I'm a newbie: I installed Tomcat and the IIS redirector 
> successfully and
> found the solution to host multiple webs with this configuration. But
> now I have to install a JDBC driver (SQLBase) and to get it 
> run, I found
> only the solution to copy the complete JDBC driver path
> (com.centurasoft.java.sqlbase) to the WEB-INF\classes of each web and
> define the path in the web.xml.
> 
> Is there no *global* place for installing driver classes like this?
> 
> Regards,
> Martin Jussel
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a & IIS & JDBC

2002-02-07 Thread Martin van den Bemt

put the jar file in the WEB-INF/lib directory of your webapp..

Mvgr,
Martin

> -Original Message-
> From: Martin Jussel [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 18:42
> To: [EMAIL PROTECTED]
> Subject: Tomcat 3.3a & IIS & JDBC
> 
> 
> Hi,
> 
> I'm a newbie: I installed Tomcat and the IIS redirector successfully and
> found the solution to host multiple webs with this configuration. But
> now I have to install a JDBC driver (SQLBase) and to get it run, I found
> only the solution to copy the complete JDBC driver path
> (com.centurasoft.java.sqlbase) to the WEB-INF\classes of each web and
> define the path in the web.xml.
> 
> Is there no *global* place for installing driver classes like this?
> 
> Regards,
> Martin Jussel
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Tomcat 3.3a & IIS & JDBC

2002-02-07 Thread Martin Jussel

Hi,

I'm a newbie: I installed Tomcat and the IIS redirector successfully and
found the solution to host multiple webs with this configuration. But
now I have to install a JDBC driver (SQLBase) and to get it run, I found
only the solution to copy the complete JDBC driver path
(com.centurasoft.java.sqlbase) to the WEB-INF\classes of each web and
define the path in the web.xml.

Is there no *global* place for installing driver classes like this?

Regards,
Martin Jussel


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: How do I configure Tomcat properly to not collide with other ISAP I apps (Tomcat 3.3a)?

2002-01-30 Thread Larry Isaacs

Take a look at:

<http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html#IISConfig>

Specifically, check out the forwardAll attribute.  Setting this to
false results in config files that most closely match those written
by Tomcat 3.2.x.

Cheers,
Larry

> -Original Message-
> From: Patrik Höiem [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 30, 2002 12:03 PM
> To: '[EMAIL PROTECTED]'
> Subject: How do I configure Tomcat properly to not collide with other
> ISAP I apps (Tomcat 3.3a)?
> 
> 
> Hi,
> 
> I have recently installed Tomcat 3.3a wich in some ways 
> differ from 3.2.3
> that we used before.
> The platform is W2K SP2.
> We have configured it so that it works to call it through the IIS.
> With Tomcat 3.2.3 we never experienced any collisions between 
> requests to
> the servlets handled by Tomcat and other requests handled by 
> an other app.
> This app also makes use of an ISAPI DLL on the same web site. 
> The situation
> is that tomcat is supposed to take care of all requests to
> http://IP_address/foo/servlet or http://IP_address/foo/jsp
> But when we tried out the new configuration with Tomcat 3.3a 
> we noticed that
> it snatched requests (mainly for pictures) from the other app...
> The tomcat is configured like this:
> apps-foo.xml
> 
> 
> 
> 
>   
> 
>reloadable="false" > 
>   
>path="logs/servlet_foo.log" servletLogger="true"/>
>   
> 
> 
> 
> 
> uri-workermap.properties
> 
> #
> # Simple worker configuration file
> #
> 
> # Mount the servlet context to the ajp12 worker
> /servlet/*=ajp12
> 
> # Mount the examples context to the ajp12 worker
> /examples/*=ajp12
> 
> # Mount the foo context to the ajp12 worker
> /foo/jsp/*.jsp=ajp12
> /foo/servlet/*=ajp12
> 
> # Advanced mount of the examples context
> # /examples/*.jsp=ajp12
> # /examples/servlet/*=ajp12
> 
> And when we made the auto-generated files by tomcat start 
> jkconf
> which you don't have to do in prior versions we noticed that the
> uri-workermap.properties under /auto looks like this:
> 
> ###
> # Auto generated configuration. Dated: Wed Jan 30 15:16:16 CET 2002
> ###
> 
> #
> # Default worker to be used through our mappings
> #
> default.worker=ajp13
> 
> /admin=$(default.worker)
> /admin/*=$(default.worker)
> /examples=$(default.worker)
> /examples/*=$(default.worker)
> /foo=$(default.worker)
> /foo/*.jsp=$(default.worker)
> 
> So we started to look at it and changed it to this:
> 
> ###
> # Auto generated configuration. Dated: Wed Jan 30 15:16:16 CET 2002
> ###
> 
> #
> # Default worker to be used through our mappings
> #
> default.worker=ajp13
> 
> /admin=$(default.worker)
> /admin/*=$(default.worker)
> /examples=$(default.worker)
> /examples/*=$(default.worker)
> /foo/jsp=$(default.worker)
> /foo/jsp/*.jsp=$(default.worker)
> /foo/servlet=$(default.worker)
> /foo/servlet/*=$(default.worker)
> 
> Then we got everything (as far as I know now) to work as 
> before (with Tomcat
> 3.2.3). But the question I'm asking is - it seems a little 
> awkward to edit
> an auto-generated file, can I do this in another way without 
> editing the
> auto-generated file?
> 
> Cheers!
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




How do I configure Tomcat properly to not collide with other ISAPI apps (Tomcat 3.3a)?

2002-01-30 Thread Patrik Höiem

Hi,

I have recently installed Tomcat 3.3a wich in some ways differ from 3.2.3
that we used before.
The platform is W2K SP2.
We have configured it so that it works to call it through the IIS.
With Tomcat 3.2.3 we never experienced any collisions between requests to
the servlets handled by Tomcat and other requests handled by an other app.
This app also makes use of an ISAPI DLL on the same web site. The situation
is that tomcat is supposed to take care of all requests to
http://IP_address/foo/servlet or http://IP_address/foo/jsp
But when we tried out the new configuration with Tomcat 3.3a we noticed that
it snatched requests (mainly for pictures) from the other app...
The tomcat is configured like this:
apps-foo.xml






 







uri-workermap.properties

#
# Simple worker configuration file
#

# Mount the servlet context to the ajp12 worker
/servlet/*=ajp12

# Mount the examples context to the ajp12 worker
/examples/*=ajp12

# Mount the foo context to the ajp12 worker
/foo/jsp/*.jsp=ajp12
/foo/servlet/*=ajp12

# Advanced mount of the examples context
# /examples/*.jsp=ajp12
# /examples/servlet/*=ajp12

And when we made the auto-generated files by tomcat start jkconf
which you don't have to do in prior versions we noticed that the
uri-workermap.properties under /auto looks like this:

###
# Auto generated configuration. Dated: Wed Jan 30 15:16:16 CET 2002
###

#
# Default worker to be used through our mappings
#
default.worker=ajp13

/admin=$(default.worker)
/admin/*=$(default.worker)
/examples=$(default.worker)
/examples/*=$(default.worker)
/foo=$(default.worker)
/foo/*.jsp=$(default.worker)

So we started to look at it and changed it to this:

###
# Auto generated configuration. Dated: Wed Jan 30 15:16:16 CET 2002
###

#
# Default worker to be used through our mappings
#
default.worker=ajp13

/admin=$(default.worker)
/admin/*=$(default.worker)
/examples=$(default.worker)
/examples/*=$(default.worker)
/foo/jsp=$(default.worker)
/foo/jsp/*.jsp=$(default.worker)
/foo/servlet=$(default.worker)
/foo/servlet/*=$(default.worker)

Then we got everything (as far as I know now) to work as before (with Tomcat
3.2.3). But the question I'm asking is - it seems a little awkward to edit
an auto-generated file, can I do this in another way without editing the
auto-generated file?

Cheers!

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Tomcat 3.3a & Apache 1.3.22 : Apache not hiding WEB-INF and not using default document (.jsp)

2002-01-29 Thread Elm Gysel


For anyone who may be interested I found the problem.

I've staticly linked with a few modules also with mod_access and mod_mime
and I had the LoadModule directive for those modules included in my
httpd.conf. When you load them dynamicly and link with them static you
really get a weird behavour!! So watch out of it!

Elm

>To see the some configuration of apache at runtime include the
>following in httpd.conf (If not already there):

>LoadModule info_module //lib/mod_info.so

>
>   
>SetHandler server-info
>
>a

>Hit the Url /server-info

> -Ursprüngliche Nachricht-
> Von: Elm Gysel [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 29. Januar 2002 10:17
> An: Tomcat Users List
> Betreff: Re: Tomcat 3.3a & Apache 1.3.22 : Apache not hiding
> WEB-INF and
> not using default document (.jsp)
>
>
>
> Yes, sorry for being not very clear. I do mean the WEB-INF
> directorie in the
> examples directory. Also on other mappings its not taking index.jsp as
> default as defined in the DirectoryIndex for that directory.
>
> But let me do say again that all this worked perfectly with
> 1.3.9 . I have
> also used other versions of Apache with this Tomcat release
> and it was also
> working.
>
> Elm
>
>
> >Do you mean with 'my directories' and 'WEB-INF'
> >directories that are in the examples directory ?
>
> >If not you must define the Directory and the
> >Location tag for your base directory.
>
> > -Ursprüngliche Nachricht-
> > Von: Elm Gysel [mailto:[EMAIL PROTECTED]]
> > Gesendet: Dienstag, 29. Januar 2002 09:56
> > An: Tomcat Users List
> > Betreff: Tomcat 3.3a & Apache 1.3.22 : Apache not hiding
> > WEB-INF and not
> > using default document (.jsp)
> 
> > I can browse all my directories through Apache, I can browse
> > WEB-INF without
> > problem?
> 
>
> > 
> > Options Indexes FollowSymLinks
> > DirectoryIndex index.jsp index.html index.htm
> > 
> >
> >
> > # Deny direct access to WEB-INF and META-INF
> > #
> > 
> > AllowOverride None
> > deny from all
> > 
> >
> > 
> > AllowOverride None
> > deny from all
> > 
> >
> > JkMount /examples/servlet/*  ajp13
> > JkMount /examples/*.jsp ajp13
> >
> >
> > Thanks for any suggestions.
> >
> > Elm
> >
> >
> > --
> > To unsubscribe:
<mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




AW: Tomcat 3.3a & Apache 1.3.22 : Apache not hiding WEB-INF and not using default document (.jsp)

2002-01-29 Thread Ralph Einfeldt

To see the some configuration of apache at runtime include the 
following in httpd.conf (If not already there):

LoadModule info_module //lib/mod_info.so



SetHandler server-info



Hit the Url /server-info

> -Ursprüngliche Nachricht-
> Von: Elm Gysel [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 29. Januar 2002 10:17
> An: Tomcat Users List
> Betreff: Re: Tomcat 3.3a & Apache 1.3.22 : Apache not hiding 
> WEB-INF and
> not using default document (.jsp)
> 
> 
> 
> Yes, sorry for being not very clear. I do mean the WEB-INF 
> directorie in the
> examples directory. Also on other mappings its not taking index.jsp as
> default as defined in the DirectoryIndex for that directory.
> 
> But let me do say again that all this worked perfectly with 
> 1.3.9 . I have
> also used other versions of Apache with this Tomcat release 
> and it was also
> working.
> 
> Elm
> 
> 
> >Do you mean with 'my directories' and 'WEB-INF'
> >directories that are in the examples directory ?
> 
> >If not you must define the Directory and the
> >Location tag for your base directory.
> 
> > -Ursprüngliche Nachricht-
> > Von: Elm Gysel [mailto:[EMAIL PROTECTED]]
> > Gesendet: Dienstag, 29. Januar 2002 09:56
> > An: Tomcat Users List
> > Betreff: Tomcat 3.3a & Apache 1.3.22 : Apache not hiding
> > WEB-INF and not
> > using default document (.jsp)
> 
> > I can browse all my directories through Apache, I can browse
> > WEB-INF without
> > problem?
> 
> 
> > 
> > Options Indexes FollowSymLinks
> > DirectoryIndex index.jsp index.html index.htm
> > 
> >
> >
> > # Deny direct access to WEB-INF and META-INF
> > #
> > 
> > AllowOverride None
> > deny from all
> > 
> >
> > 
> > AllowOverride None
> > deny from all
> > 
> >
> > JkMount /examples/servlet/*  ajp13
> > JkMount /examples/*.jsp ajp13
> >
> >
> > Thanks for any suggestions.
> >
> > Elm
> >
> >
> > --
> > To unsubscribe:   
<mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Tomcat 3.3a & Apache 1.3.22 : Apache not hiding WEB-INF and not using default document (.jsp)

2002-01-29 Thread Elm Gysel


Yes, sorry for being not very clear. I do mean the WEB-INF directorie in the
examples directory. Also on other mappings its not taking index.jsp as
default as defined in the DirectoryIndex for that directory.

But let me do say again that all this worked perfectly with 1.3.9 . I have
also used other versions of Apache with this Tomcat release and it was also
working.

Elm


>Do you mean with 'my directories' and 'WEB-INF'
>directories that are in the examples directory ?

>If not you must define the Directory and the
>Location tag for your base directory.

> -Ursprüngliche Nachricht-
> Von: Elm Gysel [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 29. Januar 2002 09:56
> An: Tomcat Users List
> Betreff: Tomcat 3.3a & Apache 1.3.22 : Apache not hiding
> WEB-INF and not
> using default document (.jsp)

> I can browse all my directories through Apache, I can browse
> WEB-INF without
> problem?


> 
> Options Indexes FollowSymLinks
> DirectoryIndex index.jsp index.html index.htm
> 
>
>
> # Deny direct access to WEB-INF and META-INF
> #
> 
> AllowOverride None
> deny from all
> 
>
> 
> AllowOverride None
> deny from all
> 
>
> JkMount /examples/servlet/*  ajp13
> JkMount /examples/*.jsp ajp13
>
>
> Thanks for any suggestions.
>
> Elm
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




AW: Tomcat 3.3a & Apache 1.3.22 : Apache not hiding WEB-INF and not using default document (.jsp)

2002-01-29 Thread Ralph Einfeldt

Do you mean with 'my directories' and 'WEB-INF'
directories that are in the examples directory ?

If not you must define the Directory and the 
Location tag for your base directory.

> -Ursprüngliche Nachricht-
> Von: Elm Gysel [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 29. Januar 2002 09:56
> An: Tomcat Users List
> Betreff: Tomcat 3.3a & Apache 1.3.22 : Apache not hiding 
> WEB-INF and not
> using default document (.jsp)

> I can browse all my directories through Apache, I can browse 
> WEB-INF without
> problem? 


> 
> Options Indexes FollowSymLinks
> DirectoryIndex index.jsp index.html index.htm
> 
> 
> 
> # Deny direct access to WEB-INF and META-INF
> #
> 
> AllowOverride None
> deny from all
> 
> 
> 
> AllowOverride None
> deny from all
> 
> 
> JkMount /examples/servlet/*  ajp13
> JkMount /examples/*.jsp ajp13
> 
> 
> Thanks for any suggestions.
> 
> Elm
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Tomcat 3.3a & Apache 1.3.22 : Apache not hiding WEB-INF and not using default document (.jsp)

2002-01-29 Thread Elm Gysel

Hello,


Tomcat seems to create all the configuration files as I want them
(with -jkconf) but apache doesn't seem to get them right.
I can browse all my directories through Apache, I can browse WEB-INF without
problem? When I click on a .jsp it goes through Tomcat as its supposed to.

This Tomcat configuration has worked on Apache 1.3.9. I don't know if this
is a Apache problem or a Tomcat problem or my problem :)
Is there a way to get the configuration from Apache at runtime? To see what
he really has loaded in what way?
Here is the file Tomcat generates and the one Apache includes.


  LoadModule jk_module /usr/lib/apache/1.3/mod_jk-3.3-ap13-noeapi.so


JkWorkersFile "/usr/local/jakarta-tomcat-3.3a/conf/jk/workers.properties"
JkLogFile "/usr/local/jakarta-tomcat-3.3a/logs/mod_jk.log"

JkLogLevel emerg


 /examples 

# Static files
Alias /examples "/usr/local/jakarta-tomcat-3.3a/webapps/examples"


Options Indexes FollowSymLinks
DirectoryIndex index.jsp index.html index.htm



# Deny direct access to WEB-INF and META-INF
#

AllowOverride None
deny from all



AllowOverride None
deny from all


JkMount /examples/servlet/*  ajp13
JkMount /examples/*.jsp ajp13


Thanks for any suggestions.

Elm


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a RPMs updated

2002-01-17 Thread GOMEZ Henri

The Tomcat 3.3 rpms has been updated to release 2 
to fix a problem with launchers configuration paths.

http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/rpms/

--
To unsubscribe:   
For additional commands: 
Troubles with the list: