Newbie to Apache/Tomcat configuration

2004-03-11 Thread Nancy Clark


Hi,
Here is what I'm trying to do
Set non-html home page for  www.foo.com to abc.bar ( a file processed by Tomcat)
 
I've tried editing httpd.conf to include :
 
ProxyPass /dir  Maps to tomcat dir of the form http://localhost:port#/dir
and ProxyReverse with the same settings.
 
Now if I type localhost/dir/abc.bar, everything works but what I really want is for it 
to resolve at the localhost level to a file as against a directory. 
 
Any ideas?
 
HTH,
Nancy





-
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.

Apache/Tomcat configuration

2004-03-11 Thread Nancy Clark
Just wondering if anyone has answers to this...
 
Thanks in advance for your time,
N


Hi,
Here is what I'm trying to do
Set non-html home page for  www.foo.com to abc.bar ( a file processed by Tomcat)
 
I've tried editing httpd.conf to include :
 
ProxyPass /dir  Maps to tomcat dir of the form http://localhost:port#/dir
and ProxyReverse with the same settings.
 
Now if I type localhost/dir/abc.bar, everything works but what I really want is for it 
to resolve at the localhost level to a file as against a directory. 
 
Any ideas?
 
HTH,
Nancy




-
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.


-
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.

Apache-Tomcat configuration question

2003-07-02 Thread Atreya Basu
Hello,

Is it possible to have a directory where all the HTML files and file
permissions etc. are handled by Apache and all the JSPs and servlets
handled by Tomcat?

I have Tomcat and Apache working successfully using JK2.  What I want to
do is the following:

Say I have a directory: /mydirectory

And I want to access HTML pages (handled by Apache) via:
http://myhost/mydirectory/
But I want to access servlets and JSPs also (handled by Tomcat) via:
http://myhost/mydirectory/

Is there any way to do this without having to create a separate
directory for the JSPs and servlets?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca




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



Re: Apache-Tomcat configuration question

2003-07-02 Thread John Turner
Use a map.

JK example:

JkMount /*.jsp ajp13

JK2 example

[uri:/examples/*.jsp]
worker=ajp13:localhost:8009
John

On Wed, 02 Jul 2003 12:28:18 -0300, Atreya Basu 
[EMAIL PROTECTED] wrote:

Hello,

Is it possible to have a directory where all the HTML files and file
permissions etc. are handled by Apache and all the JSPs and servlets
handled by Tomcat?
I have Tomcat and Apache working successfully using JK2.  What I want to
do is the following:
Say I have a directory: /mydirectory

And I want to access HTML pages (handled by Apache) via:
http://myhost/mydirectory/
But I want to access servlets and JSPs also (handled by Tomcat) via:
http://myhost/mydirectory/
Is there any way to do this without having to create a separate
directory for the JSPs and servlets?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca


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



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Apache-Tomcat configuration question

2003-07-02 Thread Atreya Basu
Could I ask you to elaborate a bit more?

Say I have the following, would it be correct?

[httpd.conf]
Alias /myDir /var/web/someDir

[server.xml]
context path=/myDir docBase=/var/web/someDir /

[workers2.proeprties]
[uri:/myDir/*.jsp]
worker=ajp13:localhost:8009
context=myDir

In that case what about the Servlet mapping?


_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: July 2, 2003 12:34 PM
To: Tomcat Users List
Subject: Re: Apache-Tomcat configuration question


Use a map.

JK example:

JkMount /*.jsp ajp13

JK2 example

[uri:/examples/*.jsp]
worker=ajp13:localhost:8009

John

On Wed, 02 Jul 2003 12:28:18 -0300, Atreya Basu 
[EMAIL PROTECTED] wrote:

 Hello,

 Is it possible to have a directory where all the HTML files and file
 permissions etc. are handled by Apache and all the JSPs and servlets
 handled by Tomcat?

 I have Tomcat and Apache working successfully using JK2.  What I want
to
 do is the following:

 Say I have a directory: /mydirectory

 And I want to access HTML pages (handled by Apache) via:
 http://myhost/mydirectory/
 But I want to access servlets and JSPs also (handled by Tomcat) via:
 http://myhost/mydirectory/

 Is there any way to do this without having to create a separate
 directory for the JSPs and servlets?
 _
 Atreya Basu
 Developer,
 Greenfield Research Inc.
 e-mail: atreya (at) greenfieldresearch (dot) ca




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





-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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




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



Re: Apache-Tomcat configuration question

2003-07-02 Thread John Turner
Most people don't mix servlets and JSP, in which case you would use 
something like

[uri:/myDir/servlet/*]
worker=ajp13:localhost:8009
In the case of something like Struts, servlets are mapped to URLs ending 
in *.do, so you would do the same as with JSP:

[uri:/myDir/*.do]
worker=ajp13:localhost:8009
John

On Wed, 02 Jul 2003 12:46:04 -0300, Atreya Basu 
[EMAIL PROTECTED] wrote:

Could I ask you to elaborate a bit more?

Say I have the following, would it be correct?

[httpd.conf]
Alias /myDir /var/web/someDir
[server.xml]
context path=/myDir docBase=/var/web/someDir /
[workers2.proeprties]
[uri:/myDir/*.jsp]
worker=ajp13:localhost:8009
context=myDir
In that case what about the Servlet mapping?

_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] Sent: July 2, 2003 
12:34 PM
To: Tomcat Users List
Subject: Re: Apache-Tomcat configuration question

Use a map.

JK example:

JkMount /*.jsp ajp13

JK2 example

[uri:/examples/*.jsp]
worker=ajp13:localhost:8009
John

On Wed, 02 Jul 2003 12:28:18 -0300, Atreya Basu 
[EMAIL PROTECTED] wrote:

Hello,

Is it possible to have a directory where all the HTML files and file
permissions etc. are handled by Apache and all the JSPs and servlets
handled by Tomcat?
I have Tomcat and Apache working successfully using JK2.  What I want
to
do is the following:

Say I have a directory: /mydirectory

And I want to access HTML pages (handled by Apache) via:
http://myhost/mydirectory/
But I want to access servlets and JSPs also (handled by Tomcat) via:
http://myhost/mydirectory/
Is there any way to do this without having to create a separate
directory for the JSPs and servlets?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca


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






--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Apache-Tomcat configuration question

2003-07-02 Thread Atreya Basu
Could I do the following:

[uri:myDir/Servlet/*]
context=myDir

Context path=/myDir docRoot =.. /

Is that the proper use of the URI directive?

_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: July 2, 2003 12:53 PM
To: Tomcat Users List
Subject: Re: Apache-Tomcat configuration question


Most people don't mix servlets and JSP, in which case you would use 
something like

[uri:/myDir/servlet/*]
worker=ajp13:localhost:8009
 In the case of something like Struts, servlets are mapped to URLs
ending 
in *.do, so you would do the same as with JSP:

[uri:/myDir/*.do]
worker=ajp13:localhost:8009

John

On Wed, 02 Jul 2003 12:46:04 -0300, Atreya Basu 
[EMAIL PROTECTED] wrote:

 Could I ask you to elaborate a bit more?

 Say I have the following, would it be correct?

 [httpd.conf]
 Alias /myDir /var/web/someDir

 [server.xml]
 context path=/myDir docBase=/var/web/someDir /

 [workers2.proeprties]
 [uri:/myDir/*.jsp]
 worker=ajp13:localhost:8009
 context=myDir

 In that case what about the Servlet mapping?


 _
 Atreya Basu
 Developer,
 Greenfield Research Inc.
 e-mail: atreya (at) greenfieldresearch (dot) ca

 -Original Message-
 From: John Turner [mailto:[EMAIL PROTECTED] Sent: July 2,
2003 
 12:34 PM
 To: Tomcat Users List
 Subject: Re: Apache-Tomcat configuration question


 Use a map.

 JK example:

 JkMount /*.jsp ajp13

 JK2 example

 [uri:/examples/*.jsp]
 worker=ajp13:localhost:8009

 John

 On Wed, 02 Jul 2003 12:28:18 -0300, Atreya Basu 
 [EMAIL PROTECTED] wrote:

 Hello,

 Is it possible to have a directory where all the HTML files and file
 permissions etc. are handled by Apache and all the JSPs and servlets
 handled by Tomcat?

 I have Tomcat and Apache working successfully using JK2.  What I want
 to
 do is the following:

 Say I have a directory: /mydirectory

 And I want to access HTML pages (handled by Apache) via:
 http://myhost/mydirectory/
 But I want to access servlets and JSPs also (handled by Tomcat) via:
 http://myhost/mydirectory/

 Is there any way to do this without having to create a separate
 directory for the JSPs and servlets?
 _
 Atreya Basu
 Developer,
 Greenfield Research Inc.
 e-mail: atreya (at) greenfieldresearch (dot) ca




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








-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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




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



Re: Apache-Tomcat configuration question

2003-07-02 Thread John Turner
I don't use JK2.  It looks good to me, the easiest answer is test it and 
see.

John

On Wed, 02 Jul 2003 13:05:15 -0300, Atreya Basu 
[EMAIL PROTECTED] wrote:

Could I do the following:

[uri:myDir/Servlet/*]
context=myDir
Context path=/myDir docRoot =.. /

Is that the proper use of the URI directive?

_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] Sent: July 2, 2003 
12:53 PM
To: Tomcat Users List
Subject: Re: Apache-Tomcat configuration question

Most people don't mix servlets and JSP, in which case you would use 
something like

[uri:/myDir/servlet/*]
worker=ajp13:localhost:8009
In the case of something like Struts, servlets are mapped to URLs
ending in *.do, so you would do the same as with JSP:
[uri:/myDir/*.do]
worker=ajp13:localhost:8009
John

On Wed, 02 Jul 2003 12:46:04 -0300, Atreya Basu 
[EMAIL PROTECTED] wrote:

Could I ask you to elaborate a bit more?

Say I have the following, would it be correct?

[httpd.conf]
Alias /myDir /var/web/someDir
[server.xml]
context path=/myDir docBase=/var/web/someDir /
[workers2.proeprties]
[uri:/myDir/*.jsp]
worker=ajp13:localhost:8009
context=myDir
In that case what about the Servlet mapping?

_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] Sent: July 2,
2003
12:34 PM
To: Tomcat Users List
Subject: Re: Apache-Tomcat configuration question
Use a map.

JK example:

JkMount /*.jsp ajp13

JK2 example

[uri:/examples/*.jsp]
worker=ajp13:localhost:8009
John

On Wed, 02 Jul 2003 12:28:18 -0300, Atreya Basu 
[EMAIL PROTECTED] wrote:

Hello,

Is it possible to have a directory where all the HTML files and file
permissions etc. are handled by Apache and all the JSPs and servlets
handled by Tomcat?
I have Tomcat and Apache working successfully using JK2.  What I want
to
do is the following:

Say I have a directory: /mydirectory

And I want to access HTML pages (handled by Apache) via:
http://myhost/mydirectory/
But I want to access servlets and JSPs also (handled by Tomcat) via:
http://myhost/mydirectory/
Is there any way to do this without having to create a separate
directory for the JSPs and servlets?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca


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









--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Newbie: Apache Tomcat Configuration.

2003-06-13 Thread John Turner
You shouldn't have to add anything to server.xml to get Apache working with 
Tomcat.  There is a JK/JK2-compatible connector configured for port 8009 by 
default in server.xml, no changes are necessary.

Complete HOWTO, step by step, for Win 2K Pro and XP Pro:

http://www.johnturner.com/howto

John

On Thu, 12 Jun 2003 18:21:10 +0500, Sohail Muhammad 
[EMAIL PROTECTED] wrote:

u see that's the problem. this is what i have in tomcat\conf

web_22.dtd
tld_11.dtd
web_23.dtd
tld_12.dtd
catalina.policy
tomcat-users.xml
web.xml
server.xml
and this is whats in  tomcat\server\lib

warp.jar
catalina.jar
jaxp.jar
jakarta-regexp-1.2.jar
crimson.jar
i think i forgot to mention that im on win2k platform.

Regards,

Muhammad Sohail
Assistant Programmer Analyst
SSD, UBL I.T  T Division, Karachi
Voice: 90332418,90332415-6
-Original Message-
From: Kevin Passey [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 5:10 PM
To: 'Tomcat Users List'
Subject: RE: Newbie: Apache  Tomcat Configuration.
Muhammad

You actually configure apache to call tomcat when ever it needs it - i.e
tomcat runs in-process
This configuration is done in your jk2 config file in the tomcat/conf
directory and in your apache2/conf workers2.properties file.
If you search on Google you will find lots of info on the subject - I 
have
just configured the latest versions of apache,tomcat and mod_jk2.dll to 
run
on a win2k machine - my next job is to get it running on rh7.2.

Good luck.

Regards

Kevin

-Original Message-
From: Sohail Muhammad [mailto:[EMAIL PROTECTED]
Sent: 12 June 2003 10:33
To: Tomcat Users List
Subject: RE: Newbie: Apache  Tomcat Configuration.
Hello,

i have added the following lines in my conf/server.xml file:

Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 
minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/

when i start the tomcat server i get the ClassNotFoundException for
org.apache.ajp.tomcat4.Ajp13Connector
is there some file missing in my tomcat. i'm using tomcat 4.0

Regards,

Muhammad Sohail
Assistant Programmer Analyst
SSD, UBL I.T  T Division, Karachi
Voice: 90332418,90332415-6
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 8:37 PM
To: Tomcat Users List
Subject: Re: Newbie: Apache  Tomcat Configuration.


No, AJP is a protocol.

John

On Wed, 11 Jun 2003 10:32:53 -0400, Phillip Qin [EMAIL PROTECTED] 
wrote:

Is there a connector called ajp14?

-Original Message-
From: Michele Neylon :: Blacknight Solutions
[mailto:[EMAIL PROTECTED] Sent: June 11, 2003 5:24 AM
To: [EMAIL PROTECTED]
Subject: Re: Newbie: Apache  Tomcat Configuration.

Hello All,

Newbie Question:

I believe these questions have been answered before but i have not been
able to grasp the procedure.
1)  I want to use Tomcat 4.0 with Apache 2.0.43 . How do i integrate 
the
two?
If you look in the archive some links to tutorials were posted 
yesterday.
General consensus is to use mod_jk either v1 or v2

2)  After these are integrated what should i do to make the Apache
webserver transfer requests for servlet and jsp execution to   Tomcat
and the other way around i.e. transfer http requests from Tomcat to
Apache?
See the links mentioned. Basically you would be  using an ajp13 or ajp14
handler to pass the requests from one to the other.
3)  Is it possible to adjust both Apache and Tomcat in such a
way that whenever Apache is started Tomcat starts automatically and
whenever Apache stops Tomcat also shutsdown?
That would be nice. If anybody has a simple way of doing it please 
please
share :-)






--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Newbie: Apache Tomcat Configuration.

2003-06-12 Thread Sohail Muhammad
Hello,

i have added the following lines in my conf/server.xml file:

Connector className=org.apache.ajp.tomcat4.Ajp13Connector 
   port=8009 minProcessors=5 maxProcessors=75 
   acceptCount=10 debug=0/ 

when i start the tomcat server i get the ClassNotFoundException for 
org.apache.ajp.tomcat4.Ajp13Connector

is there some file missing in my tomcat. i'm using tomcat 4.0

Regards,

Muhammad Sohail
Assistant Programmer Analyst
SSD, UBL I.T  T Division, Karachi
Voice: 90332418,90332415-6


-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 8:37 PM
To: Tomcat Users List
Subject: Re: Newbie: Apache  Tomcat Configuration.



No, AJP is a protocol.

John

On Wed, 11 Jun 2003 10:32:53 -0400, Phillip Qin [EMAIL PROTECTED] 
wrote:

 Is there a connector called ajp14?

 -Original Message-
 From: Michele Neylon :: Blacknight Solutions
 [mailto:[EMAIL PROTECTED] Sent: June 11, 2003 5:24 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Newbie: Apache  Tomcat Configuration.


 Hello All,

 Newbie Question:

 I believe these questions have been answered before but i have not been
 able to grasp the procedure.

 1)  I want to use Tomcat 4.0 with Apache 2.0.43 . How do i integrate the
 two?

 If you look in the archive some links to tutorials were posted yesterday.
 General consensus is to use mod_jk either v1 or v2

 2)  After these are integrated what should i do to make the Apache
 webserver transfer requests for servlet and jsp execution to   Tomcat
 and the other way around i.e. transfer http requests from Tomcat to
 Apache?

 See the links mentioned. Basically you would be  using an ajp13 or ajp14
 handler to pass the requests from one to the other.

 3)  Is it possible to adjust both Apache and Tomcat in such a
 way that whenever Apache is started Tomcat starts automatically and
 whenever Apache stops Tomcat also shutsdown?

 That would be nice. If anybody has a simple way of doing it please please
 share :-)




-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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


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



RE: Newbie: Apache Tomcat Configuration.

2003-06-12 Thread Kevin Passey
Muhammad

You actually configure apache to call tomcat when ever it needs it - i.e
tomcat runs in-process

This configuration is done in your jk2 config file in the tomcat/conf
directory and in your apache2/conf workers2.properties file.

If you search on Google you will find lots of info on the subject - I have
just configured the latest versions of apache,tomcat and mod_jk2.dll to run
on a win2k machine - my next job is to get it running on rh7.2.

Good luck.

Regards

Kevin

-Original Message-
From: Sohail Muhammad [mailto:[EMAIL PROTECTED]
Sent: 12 June 2003 10:33
To: Tomcat Users List
Subject: RE: Newbie: Apache  Tomcat Configuration.


Hello,

i have added the following lines in my conf/server.xml file:

Connector className=org.apache.ajp.tomcat4.Ajp13Connector 
   port=8009 minProcessors=5 maxProcessors=75 
   acceptCount=10 debug=0/ 

when i start the tomcat server i get the ClassNotFoundException for
org.apache.ajp.tomcat4.Ajp13Connector

is there some file missing in my tomcat. i'm using tomcat 4.0

Regards,

Muhammad Sohail
Assistant Programmer Analyst
SSD, UBL I.T  T Division, Karachi
Voice: 90332418,90332415-6


-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 8:37 PM
To: Tomcat Users List
Subject: Re: Newbie: Apache  Tomcat Configuration.



No, AJP is a protocol.

John

On Wed, 11 Jun 2003 10:32:53 -0400, Phillip Qin [EMAIL PROTECTED] 
wrote:

 Is there a connector called ajp14?

 -Original Message-
 From: Michele Neylon :: Blacknight Solutions
 [mailto:[EMAIL PROTECTED] Sent: June 11, 2003 5:24 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Newbie: Apache  Tomcat Configuration.


 Hello All,

 Newbie Question:

 I believe these questions have been answered before but i have not been
 able to grasp the procedure.

 1)  I want to use Tomcat 4.0 with Apache 2.0.43 . How do i integrate the
 two?

 If you look in the archive some links to tutorials were posted yesterday.
 General consensus is to use mod_jk either v1 or v2

 2)  After these are integrated what should i do to make the Apache
 webserver transfer requests for servlet and jsp execution to   Tomcat
 and the other way around i.e. transfer http requests from Tomcat to
 Apache?

 See the links mentioned. Basically you would be  using an ajp13 or ajp14
 handler to pass the requests from one to the other.

 3)  Is it possible to adjust both Apache and Tomcat in such a
 way that whenever Apache is started Tomcat starts automatically and
 whenever Apache stops Tomcat also shutsdown?

 That would be nice. If anybody has a simple way of doing it please please
 share :-)




-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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


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

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



RE: Newbie: Apache Tomcat Configuration.

2003-06-12 Thread Sohail Muhammad
u see that's the problem. this is what i have in tomcat\conf

web_22.dtd
tld_11.dtd
web_23.dtd
tld_12.dtd
catalina.policy
tomcat-users.xml
web.xml
server.xml

and this is whats in  tomcat\server\lib

warp.jar
catalina.jar
jaxp.jar
jakarta-regexp-1.2.jar
crimson.jar

i think i forgot to mention that im on win2k platform.

Regards,

Muhammad Sohail
Assistant Programmer Analyst
SSD, UBL I.T  T Division, Karachi
Voice: 90332418,90332415-6


-Original Message-
From: Kevin Passey [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 5:10 PM
To: 'Tomcat Users List'
Subject: RE: Newbie: Apache  Tomcat Configuration.


Muhammad

You actually configure apache to call tomcat when ever it needs it - i.e
tomcat runs in-process

This configuration is done in your jk2 config file in the tomcat/conf
directory and in your apache2/conf workers2.properties file.

If you search on Google you will find lots of info on the subject - I have
just configured the latest versions of apache,tomcat and mod_jk2.dll to run
on a win2k machine - my next job is to get it running on rh7.2.

Good luck.

Regards

Kevin

-Original Message-
From: Sohail Muhammad [mailto:[EMAIL PROTECTED]
Sent: 12 June 2003 10:33
To: Tomcat Users List
Subject: RE: Newbie: Apache  Tomcat Configuration.


Hello,

i have added the following lines in my conf/server.xml file:

Connector className=org.apache.ajp.tomcat4.Ajp13Connector 
   port=8009 minProcessors=5 maxProcessors=75 
   acceptCount=10 debug=0/ 

when i start the tomcat server i get the ClassNotFoundException for
org.apache.ajp.tomcat4.Ajp13Connector

is there some file missing in my tomcat. i'm using tomcat 4.0

Regards,

Muhammad Sohail
Assistant Programmer Analyst
SSD, UBL I.T  T Division, Karachi
Voice: 90332418,90332415-6


-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 8:37 PM
To: Tomcat Users List
Subject: Re: Newbie: Apache  Tomcat Configuration.



No, AJP is a protocol.

John

On Wed, 11 Jun 2003 10:32:53 -0400, Phillip Qin [EMAIL PROTECTED] 
wrote:

 Is there a connector called ajp14?

 -Original Message-
 From: Michele Neylon :: Blacknight Solutions
 [mailto:[EMAIL PROTECTED] Sent: June 11, 2003 5:24 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Newbie: Apache  Tomcat Configuration.


 Hello All,

 Newbie Question:

 I believe these questions have been answered before but i have not been
 able to grasp the procedure.

 1)  I want to use Tomcat 4.0 with Apache 2.0.43 . How do i integrate the
 two?

 If you look in the archive some links to tutorials were posted yesterday.
 General consensus is to use mod_jk either v1 or v2

 2)  After these are integrated what should i do to make the Apache
 webserver transfer requests for servlet and jsp execution to   Tomcat
 and the other way around i.e. transfer http requests from Tomcat to
 Apache?

 See the links mentioned. Basically you would be  using an ajp13 or ajp14
 handler to pass the requests from one to the other.

 3)  Is it possible to adjust both Apache and Tomcat in such a
 way that whenever Apache is started Tomcat starts automatically and
 whenever Apache stops Tomcat also shutsdown?

 That would be nice. If anybody has a simple way of doing it please please
 share :-)




-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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


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

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


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



Newbie: Apache Tomcat Configuration.

2003-06-11 Thread Sohail Muhammad
Hello All,

Newbie Question:

I believe these questions have been answered before but i have not been able to grasp 
the procedure.

1)  I want to use Tomcat 4.0 with Apache 2.0.43 . How do i integrate the two?
2)  After these are integrated what should i do to make the Apache webserver transfer 
requests for servlet and jsp execution to   Tomcat and the other way around i.e. 
transfer http requests from Tomcat to Apache?
3)  Is it possible to adjust both Apache and Tomcat in such a way that whenever Apache 
is started Tomcat starts automatically and whenever Apache stops Tomcat also shutsdown?

Thanks for the time.

Regards,

Muhammad Sohail
UBL I.T  T Centre,
Pakistan




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



Re: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread Michele Neylon :: Blacknight Solutions

 Hello All,

 Newbie Question:

 I believe these questions have been answered before but i have not been
 able to grasp the procedure.

 1)  I want to use Tomcat 4.0 with Apache 2.0.43 . How do i integrate the
 two?

If you look in the archive some links to tutorials were posted yesterday.
General consensus is to use mod_jk either v1 or v2

2)  After these are integrated what should i do to make the Apache
 webserver transfer requests for servlet and jsp execution to   Tomcat
 and the other way around i.e. transfer http requests from Tomcat to
 Apache?

See the links mentioned. Basically you would be  using an ajp13 or ajp14
handler to pass the requests from one to the other.

3)  Is it possible to adjust both Apache and Tomcat in such a
 way that whenever Apache is started Tomcat starts automatically and
 whenever Apache stops Tomcat also shutsdown?

That would be nice. If anybody has a simple way of doing it please please
share :-)

-- 
Mr. Michele Neylon
Blacknight Solutions
http://www.blacknightsolutions.com/
Shell hosting now available



#
This message (and any attachment) is intended only for the 
recipient and may contain confidential and/or privileged 
material.  If you have received this in error, please contact the 
sender and delete this message immediately.  Disclosure, copying 
or other action taken in respect of this email or in 
reliance to it is prohibited. 


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



Re: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread John Turner
On Wed, 11 Jun 2003 14:13:46 +0500, Sohail Muhammad 
[EMAIL PROTECTED] wrote:

I believe these questions have been answered before but i have not been 
able to grasp the procedure.
They're answered daily.

1)  I want to use Tomcat 4.0 with Apache 2.0.43 . How do i integrate the 
two?
With a connector, either mod_jk.so or mod_jk2.so.  See 
http://tomcatfaq.sourceforge.net/apache.html

2)  After these are integrated what should i do to make the Apache 
webserver transfer requests for servlet and jsp execution to   Tomcat and 
the other way around i.e. transfer http requests from Tomcat to Apache?
Depends what connector you use, each has its own configuration directives.  
See http://tomcatfaq.sourceforge.net/apache.html

3)  Is it possible to adjust both Apache and Tomcat in such a way that 
whenever Apache is started Tomcat starts automatically and whenever 
Apache stops Tomcat also shutsdown?
Possible, yes.  Actually accomplished in production, not that I know of.  
Write a wrapper script to do it...this is easily done.

John

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread Jason Bainbridge
On Wed, 11 Jun 2003 20:27, John Turner wrote:
  3)  Is it possible to adjust both Apache and Tomcat in such a way that
  whenever Apache is started Tomcat starts automatically and whenever
  Apache stops Tomcat also shutsdown?

 Possible, yes.  Actually accomplished in production, not that I know of.
 Write a wrapper script to do it...this is easily done.

If an intranet counts as production I do it with mod_jk2 and JNI in process on 
Windows 2000. I have heard that JNI doesn't like to work on Linux though for 
some reason, I'm yet to try it.

Regards,
-- 
Jason Bainbridge
http://jblinux.org

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



RE: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread Phillip Qin
Is there a connector called ajp14?

-Original Message-
From: Michele Neylon :: Blacknight Solutions
[mailto:[EMAIL PROTECTED] 
Sent: June 11, 2003 5:24 AM
To: [EMAIL PROTECTED]
Subject: Re: Newbie: Apache  Tomcat Configuration.


 Hello All,

 Newbie Question:

 I believe these questions have been answered before but i have not been
 able to grasp the procedure.

 1)  I want to use Tomcat 4.0 with Apache 2.0.43 . How do i integrate the
 two?

If you look in the archive some links to tutorials were posted yesterday.
General consensus is to use mod_jk either v1 or v2

2)  After these are integrated what should i do to make the Apache
 webserver transfer requests for servlet and jsp execution to   Tomcat
 and the other way around i.e. transfer http requests from Tomcat to
 Apache?

See the links mentioned. Basically you would be  using an ajp13 or ajp14
handler to pass the requests from one to the other.

3)  Is it possible to adjust both Apache and Tomcat in such a
 way that whenever Apache is started Tomcat starts automatically and
 whenever Apache stops Tomcat also shutsdown?

That would be nice. If anybody has a simple way of doing it please please
share :-)

-- 
Mr. Michele Neylon
Blacknight Solutions
http://www.blacknightsolutions.com/
Shell hosting now available



#
This message (and any attachment) is intended only for the 
recipient and may contain confidential and/or privileged 
material.  If you have received this in error, please contact the 
sender and delete this message immediately.  Disclosure, copying 
or other action taken in respect of this email or in 
reliance to it is prohibited. 


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


Re: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread John Turner
No, AJP is a protocol.

John

On Wed, 11 Jun 2003 10:32:53 -0400, Phillip Qin [EMAIL PROTECTED] 
wrote:

Is there a connector called ajp14?

-Original Message-
From: Michele Neylon :: Blacknight Solutions
[mailto:[EMAIL PROTECTED] Sent: June 11, 2003 5:24 AM
To: [EMAIL PROTECTED]
Subject: Re: Newbie: Apache  Tomcat Configuration.

Hello All,

Newbie Question:

I believe these questions have been answered before but i have not been
able to grasp the procedure.
1)  I want to use Tomcat 4.0 with Apache 2.0.43 . How do i integrate the
two?
If you look in the archive some links to tutorials were posted yesterday.
General consensus is to use mod_jk either v1 or v2
2)  After these are integrated what should i do to make the Apache
webserver transfer requests for servlet and jsp execution to   Tomcat
and the other way around i.e. transfer http requests from Tomcat to
Apache?
See the links mentioned. Basically you would be  using an ajp13 or ajp14
handler to pass the requests from one to the other.
3)  Is it possible to adjust both Apache and Tomcat in such a
way that whenever Apache is started Tomcat starts automatically and
whenever Apache stops Tomcat also shutsdown?
That would be nice. If anybody has a simple way of doing it please please
share :-)


--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Apache/Tomcat Configuration Problem

2003-05-29 Thread Johannes Lietz
This is a minor problem, but I have no idea yet:

In httpd.conf I configured VirtualHosts with a DocumentRoot like this:

VirtualHost *
...
DocumentRoot /usr/local/bin/tomcat/webapps
...
Location /*.jsp
JkUriSet worker ajp13:localhost:8009
/Location
Location ~ /*/servlet/*
JkUriSet worker ajp13:localhost:8009
/Location
...
/VirtualHost
This makes Apache serve all static content, and it works for all 
webapps but the ROOT webapp because Apache will not look for static 
content in /usr/local/bin/tomcat/webapps/ROOT.

Who knows how to do this properly?

Thanks,
Johannes


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


Re: Apache/Tomcat Configuration Problem

2003-05-29 Thread John Turner
You're saying that if you make your DocumentRoot webapps/ROOT that Apache 
doesn't serve content in that directory?  What error message does Apache 
display?

The ROOT webapp is special as far as Tomcat is concerned.

John

On Wed, 28 May 2003 17:28:57 +0200, Johannes Lietz 
[EMAIL PROTECTED] wrote:

This is a minor problem, but I have no idea yet:

In httpd.conf I configured VirtualHosts with a DocumentRoot like this:

VirtualHost *
...
DocumentRoot /usr/local/bin/tomcat/webapps
...
Location /*.jsp
JkUriSet worker ajp13:localhost:8009
/Location
Location ~ /*/servlet/*
JkUriSet worker ajp13:localhost:8009
/Location
...
/VirtualHost
This makes Apache serve all static content, and it works for all webapps 
but the ROOT webapp because Apache will not look for static content in 
/usr/local/bin/tomcat/webapps/ROOT.

Who knows how to do this properly?

Thanks,
Johannes


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



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache/Tomcat Configuration Problem

2003-05-29 Thread Johannes Lietz
Sorry, I was mistaken:

I've got several webapps under tomcat/webapps and one virtualhost.
Let's say I've got app1 and app1/image.gif.
If I call:
http://localhost/app1/image.gif
Apache will look for:
/usr/local/bin/tomcat/webapps/app1/image.gif
and everything is perfect.
Then I've got the root-app and ROOT/image.gif.
If I call:
http://localhost/image.gif
Apache will look for:
/usr/local/bin/tomcat/webapps/image.gif
and give a 404 because my gif actually is in 
/usr/local/bin/tomcat/webapps/ROOT/image.gif

Therefore I need something to redirect requests for the root app to 
/usr/local/bin/tomcat/webapps/ROOT.

- Johannes



On Mittwoch, Mai 28, 2003, at 07:20  Uhr, John Turner wrote:

You're saying that if you make your DocumentRoot webapps/ROOT that 
Apache doesn't serve content in that directory?  What error message 
does Apache display?

The ROOT webapp is special as far as Tomcat is concerned.

John

On Wed, 28 May 2003 17:28:57 +0200, Johannes Lietz 
[EMAIL PROTECTED] wrote:

This is a minor problem, but I have no idea yet:

In httpd.conf I configured VirtualHosts with a DocumentRoot like this:

VirtualHost *
...
DocumentRoot /usr/local/bin/tomcat/webapps
...
Location /*.jsp
JkUriSet worker ajp13:localhost:8009
/Location
Location ~ /*/servlet/*
JkUriSet worker ajp13:localhost:8009
/Location
...
/VirtualHost
This makes Apache serve all static content, and it works for all 
webapps but the ROOT webapp because Apache will not look for static 
content in /usr/local/bin/tomcat/webapps/ROOT.

Who knows how to do this properly?

Thanks,
Johannes


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



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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


Re: Apache/Tomcat Configuration Problem

2003-05-29 Thread John Turner
DocumentRoot /usr/local/bin/tomcat/webapps/ROOT

If / = ROOT, there shouldn't be any content in 
/usr/local/bin/tomcat/webapps at all, static or not.

John

On Wed, 28 May 2003 19:41:27 +0200, Johannes Lietz 
[EMAIL PROTECTED] wrote:

Sorry, I was mistaken:

I've got several webapps under tomcat/webapps and one virtualhost.
Let's say I've got app1 and app1/image.gif.
If I call:
http://localhost/app1/image.gif
Apache will look for:
/usr/local/bin/tomcat/webapps/app1/image.gif
and everything is perfect.
Then I've got the root-app and ROOT/image.gif.
If I call:
http://localhost/image.gif
Apache will look for:
/usr/local/bin/tomcat/webapps/image.gif
and give a 404 because my gif actually is in 
/usr/local/bin/tomcat/webapps/ROOT/image.gif

Therefore I need something to redirect requests for the root app to 
/usr/local/bin/tomcat/webapps/ROOT.

- Johannes



On Mittwoch, Mai 28, 2003, at 07:20  Uhr, John Turner wrote:

You're saying that if you make your DocumentRoot webapps/ROOT that 
Apache doesn't serve content in that directory?  What error message does 
Apache display?

The ROOT webapp is special as far as Tomcat is concerned.

John

On Wed, 28 May 2003 17:28:57 +0200, Johannes Lietz 
[EMAIL PROTECTED] wrote:

This is a minor problem, but I have no idea yet:

In httpd.conf I configured VirtualHosts with a DocumentRoot like this:

VirtualHost *
...
DocumentRoot /usr/local/bin/tomcat/webapps
...
Location /*.jsp
JkUriSet worker ajp13:localhost:8009
/Location
Location ~ /*/servlet/*
JkUriSet worker ajp13:localhost:8009
/Location
...
/VirtualHost
This makes Apache serve all static content, and it works for all 
webapps but the ROOT webapp because Apache will not look for static 
content in /usr/local/bin/tomcat/webapps/ROOT.

Who knows how to do this properly?

Thanks,
Johannes


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



-- Using M2, Opera's revolutionary e-mail client: 
http://www.opera.com/m2/

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


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



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Apache-Tomcat configuration on Win2k

2003-02-13 Thread Arun
Hi, 

I'm trying to configure Apache(1.3x) with Tomcat(4.1) using mod_jk on Win2k.

After configuring Tomcat, I defined a worker.proterties file under Tomcat as:

worker.list=testWorker
worker.testWorker.port=8009
worker.testWorker.host=localhost
worker.testWorker.type=ajp13

My httpd.conf look like this:
..
..
LoadModule jk_module libexec/mod_jk-1.3.26.dll
AddModule mod_jk.c 
JkWorkersFile C:/Tomcat4_1_12/conf/workers.properties
JkLogFile C:/Tomcat4_1_12/logs/mod_jk.log 
JkLogLevel debug 
Alias /examples C:/Tomcat4_1_12/webapps/examples 
JkMount /examples/servlet/* testWorker 
JkMount /examples/*.jsp testWorker 
Location /examples/WEB-INF/
AllowOverride None 
deny from all 
/Location

When I test, I'm getting the following error message: 

Syntax error on line 1024 of c:/program files/apache 
group/apache/conf/httpd.conf:  
JkWorkersFile takes one argument, the name of a worker file for the Jakarta 
servlet containers 


Please suggest..


Arun Mysore





Re: Apache-Tomcat configuration on Win2k

2003-02-13 Thread Jake Robb
Arun,

Try putting the paths to JkWorkersFile, JkLogFile, and your examples
directory in quotes, i.e.:

 LoadModule jk_module libexec/mod_jk-1.3.26.dll
 AddModule mod_jk.c
 JkWorkersFile C:/Tomcat4_1_12/conf/workers.properties
 JkLogFile C:/Tomcat4_1_12/logs/mod_jk.log
 JkLogLevel debug 
 Alias /examples C:/Tomcat4_1_12/webapps/examples
 JkMount /examples/servlet/* testWorker
 JkMount /examples/*.jsp testWorker
 Location /examples/WEB-INF/
 AllowOverride None
 deny from all 
 /Location


If that doesn't work, try using the standard Windows backslash for all local
pathing.

-Jake


Arun wrote:

   Hi, 
 
   I'm trying to configure Apache(1.3x) with Tomcat(4.1) using mod_jk on Win2k.
 
   After configuring Tomcat, I defined a worker.proterties file under Tomcat
 as:
   
   worker.list=testWorker
   worker.testWorker.port=8009
   worker.testWorker.host=localhost
   worker.testWorker.type=ajp13
 
   My httpd.conf look like this:
   ..
   ..
   LoadModule jk_module libexec/mod_jk-1.3.26.dll
   AddModule mod_jk.c
   JkWorkersFile C:/Tomcat4_1_12/conf/workers.properties
   JkLogFile C:/Tomcat4_1_12/logs/mod_jk.log
   JkLogLevel debug
   Alias /examples C:/Tomcat4_1_12/webapps/examples
   JkMount /examples/servlet/* testWorker
   JkMount /examples/*.jsp testWorker
   Location /examples/WEB-INF/
   AllowOverride None
   deny from all
   /Location
 
   When I test, I'm getting the following error message:
   
   Syntax error on line 1024 of c:/program files/apache
 group/apache/conf/httpd.conf:
   JkWorkersFile takes one argument, the name of a worker file for the
 Jakarta servlet containers
 
 
   Please suggest..
 
 
   Arun Mysore
   
 
 


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




RE: Apache Tomcat configuration Issue

2002-12-27 Thread Turner, John

Actually, I have read discussions on a PHP servlet for Tomcat...that is, a
servlet that will accept PHP files instead of JSP files (or whatever the
terminology is).  If memory serves, it's barely beta, probably alpha, if
ready to use at all.

Searching Google or the archives would probably help.

John


-Original Message-
From: Justin L. Spies [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 3:03 PM
To: 'Tomcat Users List'
Subject: RE: Apache Tomcat configuration Issue

Myles,
Sorry to say, but Jeffrey is correct--Tomcat will not service the PHP
requests.  That is link asking Micros...  ASP to service Tomcat
requests, it just doesn't work.  I haven't configured Apache 2.0.x yet
so I can't help with that other than to say this--don't try to get
everything running all at the same time.  Just work on getting the
examples going in a most minimalist way.  I know when I tried to first
setup Apache / Tomcat / mod_jk, I tried to setup all the bells and
whistles, but I ended up just spinning my wheels.  It wasn't until I
tried a piece at a time that I got it working.

Hope that this helps.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 2:52 PM
To: 'Tomcat Users List'
Subject: RE: Apache Tomcat configuration Issue


I do not know about tomcat and php, I would guess no.
 
however the www.apache.org http://www.apache.org  site lists this as
the link for php http://www.php.net/ http://www.php.net/ 
 
you might want to try the apache list group as well as any list group
list listed on the php site
 
good luck
Jeff
 
 
-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:49 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I've tried everything that I can, based on the references that you sent.
All without success. Perhaps there is another way. The only reason that
I wanted to have Apache on this particular machine is so that I could
use some of the functionality of PHP. Is there a way that I could have
Tomcat service PHP requests?
 

-Original Message- 
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 12:27 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html 
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html  (this is
mainly jk not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there
is a different tag for tomcat 4, see links above.  I prefer to hard code
the directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base. John Turner has a
collection of downloads.

While the online documentation does lag behind the actual code
development the information is out there and I have found the info on
the jakarta site to be quite helpful for mod_jk in the latest 4.1
release

Jeff



-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk
and most of the latest patches. I have successfully installed Apache
2.0.43 and it is running OK. I services my static web pages successfully
and also services PHP requests. I have installed Tomcat 4.1.17 with JDK
1.4.0.03. This works fine for serving my JSP pages and JavaBeans. Now, I
need to integrate the two so that whenever Apache, listening on port 80,
receives a request for a JSP it forwards the request to Tomcat,
currently listening in port 8081. I have downloaded the
MOD_JK2-2.0.43.dll, but, have no idea where to put it other than in the
\winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config
option in Tomcat. It suggest putting the ApacheConfig / directive in
the server.xml file directly below the AutoWebApp ... / directive. In
my file there is no such place, so, that's a dead end. I tried putting
the directive in anyway, to no avail. I tried creating a
WORKER2.PROPERTIES file from scratch and also modified

Apache Tomcat configuration Issue

2002-12-26 Thread Moutoux, Myles
This seems to be a very common issue, however, I have to submit is again because I am 
unable to get things to work properly. I have read all the documentation that I can 
find, but, end up more confused than when I started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk and most of 
the latest patches. I have successfully installed Apache 2.0.43 and it is running OK. 
I services my static web pages successfully and also services PHP requests. I have 
installed Tomcat 4.1.17 with JDK 1.4.0.03. This works fine for serving my JSP pages 
and JavaBeans. Now, I need to integrate the two so that whenever Apache, listening on 
port 80, receives a request for a JSP it forwards the request to Tomcat, currently 
listening in port 8081. I have downloaded the MOD_JK2-2.0.43.dll, but, have no idea 
where to put it other than in the \winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config option in Tomcat. 
It suggest putting the ApacheConfig / directive in the server.xml file directly 
below the AutoWebApp ... / directive. In my file there is no such place, so, that's 
a dead end. I tried putting the directive in anyway, to no avail. I tried creating a 
WORKER2.PROPERTIES file from scratch and also modified the JK2.PROPERTIES file as 
directed by some of the Jakarta documentation. None of this has accomplished anything.

Perhaps the people that put Tomcat and Apache together should consider putting some 
simple straight forward documentation together that describes exactly how to 
accomplish this task. At the moment it's way to complicated.

If anyone has any come up with a way of making this work, please let me know. I would 
appreciate any assistance. 

 

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




RE: Apache Tomcat configuration Issue

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html (this is mainly jk
not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there is
a different tag for tomcat 4, see links above.  I prefer to hard code the
directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base.
John Turner has a collection of downloads.

While the online documentation does lag behind the actual code development
the information is out there and I have found the info on the jakarta site
to be quite helpful for mod_jk in the latest 4.1 release

Jeff



-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk and
most of the latest patches. I have successfully installed Apache 2.0.43 and
it is running OK. I services my static web pages successfully and also
services PHP requests. I have installed Tomcat 4.1.17 with JDK 1.4.0.03.
This works fine for serving my JSP pages and JavaBeans. Now, I need to
integrate the two so that whenever Apache, listening on port 80, receives a
request for a JSP it forwards the request to Tomcat, currently listening in
port 8081. I have downloaded the MOD_JK2-2.0.43.dll, but, have no idea where
to put it other than in the \winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config option
in Tomcat. It suggest putting the ApacheConfig / directive in the
server.xml file directly below the AutoWebApp ... / directive. In my file
there is no such place, so, that's a dead end. I tried putting the directive
in anyway, to no avail. I tried creating a WORKER2.PROPERTIES file from
scratch and also modified the JK2.PROPERTIES file as directed by some of the
Jakarta documentation. None of this has accomplished anything.

Perhaps the people that put Tomcat and Apache together should consider
putting some simple straight forward documentation together that describes
exactly how to accomplish this task. At the moment it's way to
complicated.

If anyone has any come up with a way of making this work, please let me
know. I would appreciate any assistance. 

 

--
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: Apache Tomcat configuration Issue

2002-12-26 Thread Moutoux, Myles
I've tried everything that I can, based on the references that you sent. All without 
success. Perhaps there is another way. The only reason that I wanted to have Apache on 
this particular machine is so that I could use some of the functionality of PHP. Is 
there a way that I could have Tomcat service PHP requests?
 

-Original Message- 
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 12:27 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html (this is mainly jk
not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there is
a different tag for tomcat 4, see links above.  I prefer to hard code the
directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base.
John Turner has a collection of downloads.

While the online documentation does lag behind the actual code development
the information is out there and I have found the info on the jakarta site
to be quite helpful for mod_jk in the latest 4.1 release

Jeff



-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk and
most of the latest patches. I have successfully installed Apache 2.0.43 and
it is running OK. I services my static web pages successfully and also
services PHP requests. I have installed Tomcat 4.1.17 with JDK 1.4.0.03.
This works fine for serving my JSP pages and JavaBeans. Now, I need to
integrate the two so that whenever Apache, listening on port 80, receives a
request for a JSP it forwards the request to Tomcat, currently listening in
port 8081. I have downloaded the MOD_JK2-2.0.43.dll, but, have no idea where
to put it other than in the \winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config option
in Tomcat. It suggest putting the ApacheConfig / directive in the
server.xml file directly below the AutoWebApp ... / directive. In my file
there is no such place, so, that's a dead end. I tried putting the directive
in anyway, to no avail. I tried creating a WORKER2.PROPERTIES file from
scratch and also modified the JK2.PROPERTIES file as directed by some of the
Jakarta documentation. None of this has accomplished anything.

Perhaps the people that put Tomcat and Apache together should consider
putting some simple straight forward documentation together that describes
exactly how to accomplish this task. At the moment it's way to
complicated.

If anyone has any come up with a way of making this work, please let me
know. I would appreciate any assistance.



--
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]




attachment: winmail.dat--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: Apache Tomcat configuration Issue

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
I do not know about tomcat and php, I would guess no.
 
however the www.apache.org http://www.apache.org  site lists this as the
link for php
http://www.php.net/ http://www.php.net/ 
 
you might want to try the apache list group as well as any list group list
listed on the php site
 
good luck
Jeff
 
 
-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:49 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I've tried everything that I can, based on the references that you sent. All
without success. Perhaps there is another way. The only reason that I wanted
to have Apache on this particular machine is so that I could use some of the
functionality of PHP. Is there a way that I could have Tomcat service PHP
requests?
 

-Original Message- 
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 12:27 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html 
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html  (this is mainly
jk
not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there is
a different tag for tomcat 4, see links above.  I prefer to hard code the
directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base.
John Turner has a collection of downloads.

While the online documentation does lag behind the actual code development
the information is out there and I have found the info on the jakarta site
to be quite helpful for mod_jk in the latest 4.1 release

Jeff



-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk and
most of the latest patches. I have successfully installed Apache 2.0.43 and
it is running OK. I services my static web pages successfully and also
services PHP requests. I have installed Tomcat 4.1.17 with JDK 1.4.0.03.
This works fine for serving my JSP pages and JavaBeans. Now, I need to
integrate the two so that whenever Apache, listening on port 80, receives a
request for a JSP it forwards the request to Tomcat, currently listening in
port 8081. I have downloaded the MOD_JK2-2.0.43.dll, but, have no idea where
to put it other than in the \winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config option
in Tomcat. It suggest putting the ApacheConfig / directive in the
server.xml file directly below the AutoWebApp ... / directive. In my file
there is no such place, so, that's a dead end. I tried putting the directive
in anyway, to no avail. I tried creating a WORKER2.PROPERTIES file from
scratch and also modified the JK2.PROPERTIES file as directed by some of the
Jakarta documentation. None of this has accomplished anything.

Perhaps the people that put Tomcat and Apache together should consider
putting some simple straight forward documentation together that describes
exactly how to accomplish this task. At the moment it's way to
complicated.

If anyone has any come up with a way of making this work, please let me
know. I would appreciate any assistance.



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

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






RE: Apache Tomcat configuration Issue

2002-12-26 Thread Moutoux, Myles
I know that it works with Apache2. I've already had that working. What I was hoping 
was that there was a way to make a stand-alone Tomcat installation handle the requests.

-Original Message- 
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 2:52 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



I do not know about tomcat and php, I would guess no.

however the www.apache.org http://www.apache.org  site lists this as the
link for php
http://www.php.net/ http://www.php.net/

you might want to try the apache list group as well as any list group list
listed on the php site

good luck
Jeff


-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:49 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I've tried everything that I can, based on the references that you sent. All
without success. Perhaps there is another way. The only reason that I wanted
to have Apache on this particular machine is so that I could use some of the
functionality of PHP. Is there a way that I could have Tomcat service PHP
requests?


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Thu 12/26/2002 12:27 PM
To: 'Tomcat Users List'
Cc:
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html  (this is mainly
jk
not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there is
a different tag for tomcat 4, see links above.  I prefer to hard code the
directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base.
John Turner has a collection of downloads.

While the online documentation does lag behind the actual code development
the information is out there and I have found the info on the jakarta site
to be quite helpful for mod_jk in the latest 4.1 release

Jeff



-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk and
most of the latest patches. I have successfully installed Apache 2.0.43 and
it is running OK. I services my static web pages successfully and also
services PHP requests. I have installed Tomcat 4.1.17 with JDK 1.4.0.03.
This works fine for serving my JSP pages and JavaBeans. Now, I need to
integrate the two so that whenever Apache, listening on port 80, receives a
request for a JSP it forwards the request to Tomcat, currently listening in
port 8081. I have downloaded the MOD_JK2-2.0.43.dll, but, have no idea where
to put it other than in the \winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config option
in Tomcat. It suggest putting the ApacheConfig / directive in the
server.xml file directly below the AutoWebApp ... / directive. In my file
there is no such place, so, that's a dead end. I tried putting the directive
in anyway, to no avail. I tried creating a WORKER2.PROPERTIES file from
scratch and also modified the JK2.PROPERTIES file as directed by some of the
Jakarta documentation. None of this has accomplished anything.

Perhaps the people that put Tomcat and Apache together should consider
putting some simple straight forward documentation together

RE: Apache Tomcat configuration Issue

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
to the best of my knowledge tomcat will not perform php requests.  But then
again I have never used php so I have not needed to ask the question.  If
all you are interested in is PHP not getting apache/tomcat connected, I
would suggest reposting the question monday morning with a different subject
heading when more people will be back at work and checking their email.
Traffic this week has been at about 10% of its usual.
 
 
If you need mod_jk to work you might look at a post of mine from earlier
today under the subject so lost and confused that advice I gave there may be
of use to you
 
Jeff
 
 
-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:55 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I know that it works with Apache2. I've already had that working. What I was
hoping was that there was a way to make a stand-alone Tomcat installation
handle the requests.

-Original Message- 
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 2:52 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



I do not know about tomcat and php, I would guess no.

however the www.apache.org  http://www.apache.org http://www.apache.org 
site lists this as the
link for php
http://www.php.net/ http://www.php.net/   http://www.php.net/
http://www.php.net/ 

you might want to try the apache list group as well as any list group list
listed on the php site

good luck
Jeff


-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thursday, December 26, 2002 12:49 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I've tried everything that I can, based on the references that you sent. All
without success. Perhaps there is another way. The only reason that I wanted
to have Apache on this particular machine is so that I could use some of the
functionality of PHP. Is there a way that I could have Tomcat service PHP
requests?


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thu 12/26/2002 12:27 PM
To: 'Tomcat Users List'
Cc:
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html 
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html 
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html 
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html 
 http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html   (this is
mainly
jk
not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there is
a different tag for tomcat 4, see links above.  I prefer to hard code the
directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base.
John Turner has a collection of downloads.

While the online documentation does lag behind the actual code development
the information is out there and I have found the info on the jakarta site
to be quite helpful for mod_jk in the latest 4.1 release

Jeff



-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  ]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk and
most of the latest patches. I have successfully installed Apache 2.0.43 and
it is running OK. I services my static web pages successfully and also
services PHP requests. I have installed Tomcat 4.1.17 with JDK 1.4.0.03.
This works fine for serving my JSP pages and JavaBeans. Now, I need to
integrate the two so that whenever Apache, listening on port 80, receives a
request for a JSP it forwards the request to Tomcat, currently listening in
port 8081. I have downloaded the MOD_JK2-2.0.43.dll, but, have no idea where
to put it other than in the \winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config option
in Tomcat. It suggest putting the ApacheConfig / directive

RE: Apache Tomcat configuration Issue

2002-12-26 Thread Justin L. Spies
Myles,
Sorry to say, but Jeffrey is correct--Tomcat will not service the PHP
requests.  That is link asking Micros...  ASP to service Tomcat
requests, it just doesn't work.  I haven't configured Apache 2.0.x yet
so I can't help with that other than to say this--don't try to get
everything running all at the same time.  Just work on getting the
examples going in a most minimalist way.  I know when I tried to first
setup Apache / Tomcat / mod_jk, I tried to setup all the bells and
whistles, but I ended up just spinning my wheels.  It wasn't until I
tried a piece at a time that I got it working.

Hope that this helps.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 2:52 PM
To: 'Tomcat Users List'
Subject: RE: Apache Tomcat configuration Issue


I do not know about tomcat and php, I would guess no.
 
however the www.apache.org http://www.apache.org  site lists this as
the link for php http://www.php.net/ http://www.php.net/ 
 
you might want to try the apache list group as well as any list group
list listed on the php site
 
good luck
Jeff
 
 
-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:49 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I've tried everything that I can, based on the references that you sent.
All without success. Perhaps there is another way. The only reason that
I wanted to have Apache on this particular machine is so that I could
use some of the functionality of PHP. Is there a way that I could have
Tomcat service PHP requests?
 

-Original Message- 
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 12:27 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html 
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html  (this is
mainly jk not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there
is a different tag for tomcat 4, see links above.  I prefer to hard code
the directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base. John Turner has a
collection of downloads.

While the online documentation does lag behind the actual code
development the information is out there and I have found the info on
the jakarta site to be quite helpful for mod_jk in the latest 4.1
release

Jeff



-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk
and most of the latest patches. I have successfully installed Apache
2.0.43 and it is running OK. I services my static web pages successfully
and also services PHP requests. I have installed Tomcat 4.1.17 with JDK
1.4.0.03. This works fine for serving my JSP pages and JavaBeans. Now, I
need to integrate the two so that whenever Apache, listening on port 80,
receives a request for a JSP it forwards the request to Tomcat,
currently listening in port 8081. I have downloaded the
MOD_JK2-2.0.43.dll, but, have no idea where to put it other than in the
\winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config
option in Tomcat. It suggest putting the ApacheConfig / directive in
the server.xml file directly below the AutoWebApp ... / directive. In
my file there is no such place, so, that's a dead end. I tried putting
the directive in anyway, to no avail. I tried creating a
WORKER2.PROPERTIES file from scratch and also modified the
JK2.PROPERTIES file as directed by some of the Jakarta documentation.
None of this has accomplished anything.

Perhaps the people that put Tomcat and Apache together should consider
putting some simple straight forward documentation together that
describes exactly how to accomplish this task. At the moment it's way
to complicated.

If anyone has any come up with a way of making this work, please let me
know. I would appreciate any assistance.



--
To unsubscribe, e-mail:
 mailto:[EMAIL

RE: Apache Tomcat configuration Issue

2002-12-26 Thread Moutoux, Myles
Actually, I've been following that thread and believe I have applied all the changes 
that you suggested. After doing so, when I try to start Apache I get the following 
error:
 
-- apache: module 
C:\jakarta-tomcat-connectors-4.1.10-src\jk\native\apache-2.0\mod_jk.c is not 
-- compatible with this version of Apache (found 20020628, need 20020903).
-- Please contact the vendor for the correct version.
 
Please note that there is no reference to 
C:\jakarta-tomcat-connectors-4.1.10-src\jk\native\apache-2.0\mod_jk.c  in any of my 
setup files.
 
-Original Message- 
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 3:00 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



to the best of my knowledge tomcat will not perform php requests.  But then
again I have never used php so I have not needed to ask the question.  If
all you are interested in is PHP not getting apache/tomcat connected, I
would suggest reposting the question monday morning with a different subject
heading when more people will be back at work and checking their email.
Traffic this week has been at about 10% of its usual.


If you need mod_jk to work you might look at a post of mine from earlier
today under the subject so lost and confused that advice I gave there may be
of use to you

Jeff


-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:55 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I know that it works with Apache2. I've already had that working. What I was
hoping was that there was a way to make a stand-alone Tomcat installation
handle the requests.

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Thu 12/26/2002 2:52 PM
To: 'Tomcat Users List'
Cc:
Subject: RE: Apache Tomcat configuration Issue



I do not know about tomcat and php, I would guess no.

however the www.apache.org  http://www.apache.org http://www.apache.org 
site lists this as the
link for php
http://www.php.net/ http://www.php.net/   http://www.php.net/
http://www.php.net/ 

you might want to try the apache list group as well as any list group list
listed on the php site

good luck
Jeff


-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thursday, December 26, 2002 12:49 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I've tried everything that I can, based on the references that you sent. All
without success. Perhaps there is another way. The only reason that I wanted
to have Apache on this particular machine is so that I could use some of the
functionality of PHP. Is there a way that I could have Tomcat service PHP
requests?


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thu 12/26/2002 12:27 PM
To: 'Tomcat Users List'
Cc:
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html 
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html
 http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html   (this is
mainly
jk
not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there is
a different tag for tomcat 4, see links above.  I prefer to hard code the
directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base

RE: Apache Tomcat configuration Issue

2002-12-26 Thread Moutoux, Myles
Thanks, I was afraid of that. Actually, I am only trying to get the basics working. 
I'm a developer, not an integrator. I really only need minimal functionality for 
Apache and Tomcat. But I do need to be able to use a variety of development tools in 
my test environment such as JSP, PHP, Python, JPython, etc.

-Original Message- 
From: Justin L. Spies [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 3:02 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



Myles,
Sorry to say, but Jeffrey is correct--Tomcat will not service the PHP
requests.  That is link asking Micros...  ASP to service Tomcat
requests, it just doesn't work.  I haven't configured Apache 2.0.x yet
so I can't help with that other than to say this--don't try to get
everything running all at the same time.  Just work on getting the
examples going in a most minimalist way.  I know when I tried to first
setup Apache / Tomcat / mod_jk, I tried to setup all the bells and
whistles, but I ended up just spinning my wheels.  It wasn't until I
tried a piece at a time that I got it working.

Hope that this helps.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:52 PM
To: 'Tomcat Users List'
Subject: RE: Apache Tomcat configuration Issue


I do not know about tomcat and php, I would guess no.

however the www.apache.org http://www.apache.org  site lists this as
the link for php http://www.php.net/ http://www.php.net/

you might want to try the apache list group as well as any list group
list listed on the php site

good luck
Jeff


-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:49 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I've tried everything that I can, based on the references that you sent.
All without success. Perhaps there is another way. The only reason that
I wanted to have Apache on this particular machine is so that I could
use some of the functionality of PHP. Is there a way that I could have
Tomcat service PHP requests?


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Thu 12/26/2002 12:27 PM
To: 'Tomcat Users List'
Cc:
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html  (this is
mainly jk not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there
is a different tag for tomcat 4, see links above.  I prefer to hard code
the directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base. John Turner has a
collection of downloads.

While the online documentation does lag behind the actual code
development the information is out there and I have found the info on
the jakarta site to be quite helpful for mod_jk in the latest 4.1
release

Jeff



-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk
and most of the latest patches. I have

RE: Apache Tomcat configuration Issue

2002-12-26 Thread Moutoux, Myles
I know that I stepped out of this for awhile, however, I have been keeping up with the 
threads. I sent a message like the following a little bit ago. Did you get a chance to 
look at it?
-
Actually, I've been following that thread and believe I have applied all the changes 
that you suggested. After doing so, when I try to start Apache I get the following 
error:
 
-- apache: module 
C:\jakarta-tomcat-connectors-4.1.10-src\jk\native\apache-2.0\mod_jk.c is not 
-- compatible with this version of Apache (found 20020628, need 20020903).
-- Please contact the vendor for the correct version.
 
Please note that there is no reference to 
C:\jakarta-tomcat-connectors-4.1.10-src\jk\native\apache-2.0\mod_jk.c  in any of my 
setup files.

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thu 12/26/2002 12:27 PM
To: 'Tomcat Users List'
Cc:
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html 
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html
 http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html   (this is
mainly
jk
not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there is
a different tag for tomcat 4, see links above.  I prefer to hard code the
directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base.
John Turner has a collection of downloads.

While the online documentation does lag behind the actual code development
the information is out there and I have found the info on the jakarta site
to be quite helpful for mod_jk in the latest 4.1 release

Jeff



-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  ]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk and
most of the latest patches. I have successfully installed Apache 2.0.43 and
it is running OK. I services my static web pages successfully and also
services PHP requests. I have installed Tomcat 4.1.17 with JDK 1.4.0.03.
This works fine for serving my JSP pages and JavaBeans. Now, I need to
integrate the two so that whenever Apache, listening on port 80, receives a
request for a JSP it forwards the request to Tomcat, currently listening in
port 8081. I have downloaded the MOD_JK2-2.0.43.dll, but, have no idea where
to put it other than in the \winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config option
in Tomcat. It suggest putting the ApacheConfig / directive in the
server.xml file directly below the AutoWebApp ... / directive. In my file
there is no such place, so, that's a dead end. I tried putting the directive
in anyway, to no avail. I tried creating a WORKER2.PROPERTIES file from
scratch and also modified the JK2.PROPERTIES file as directed by some of the
Jakarta documentation. None of this has accomplished anything.

Perhaps the people that put Tomcat and Apache together should consider
putting some simple straight forward documentation together that describes
exactly how to accomplish this task. At the moment it's way to
complicated.

If anyone has any come up with a way

apache-tomcat configuration for java server pages

2002-11-21 Thread kala sunil
hi

we are in a project that which is a e-mail reader which involves jsp,
voicexml.the problem has arised with the part of trying to configure
apache-tomcat for java server pages.

please look into the folowing:
WEB.XML FILE

servlet
   servlet-nameWebAppRegistrant/servlet-name
   servlet-classorg.machino.gardenpath.WebAppRegistrant/servlet-class
   init-param
 param-namegardenpath.registry.url/param-name
 param-valuehttp://localhost:8080/gardenpath/registrar/param-value
   /init-param
   init-param
 param-namegardenpath.httpserver.port/param-name
 param-value8080/param-value
   /init-param
   load-on-startup1/load-on-startup
 /servlet

the default path taken by it is gardenpath as mentioned above.
for our project we need to configure the web.xml file in such a way
that it configures our javaserver pages.

could u please help us in this and as to what is going on  with this,
how to change the entire servlet code above to jsp and as to how to register 
to get our java server pages running.

also need information regarding as to how to use tomcat manager application.

we would be greatly helpful if u can help us in this regard.

waiting for ur reply.thanking u

sunil k.n.s







_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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



apache + tomcat configuration

2002-11-17 Thread Hong . Sun
hi,
I am trying to integrate apache 1.3.26 and tomcat 4.0.6 on win2000 server.
After an initial configuration, I can get them going, and I can also access
all the examples' servlet through apache, I mean without giving :8080, but
I still have the following problems:
__1. in my apache error.log, every time when I access to a servlet, I would
have an error logged as:
  client denied by server configuration:
c:/tomcat/webapps/examples/web-inf
__2. in my tomcat stderr.log, every time when I start tomcat, it logs:
  mod_jk location: modules\mod_jk.dll
  Make sure it is installed corectly or  set the config location
  Using ApacheConfig modJk=PATH_TO_MOD_JK.SO_OR_DLL /
__3. my mod_jk.log (same location as stderr.log) is always empty.

please help, thanks.

hong



__
The information contained in this message is confidential and is intended
for the addressee(s) only.  If you have received this message in error or
there are any problems please notify the originator immediately.  The
unauthorized use, disclosure, copying or alteration of this message is
strictly forbidden. Warman International Ltd will not be liable for direct,
special, indirect or consequential damages arising from alteration of the
contents of this message by a third party or as a result of any virus being
passed on.

Internet communications are not secure and therefore Warman International
Ltd. does not accept legal responsibility for the contents of this message.
Any views or opinions presented are solely those of the author and do not
necessarily represent those of Warman International Ltd.



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




RE: Apache+Tomcat Configuration problems

2002-10-25 Thread Turner, John

Yup, ditto Milt and Robert.  You've got JK directives but you're loading
JK2.  To get rid of your Apache config error, use mod_jk.so instead of
mod_jk2.so, or keep mod_jk2.so and change your config to a JK2 config.

John


 -Original Message-
 From: J.F. Noonan [mailto:jfn;msc.com]
 Sent: Thursday, October 24, 2002 5:29 PM
 To: [EMAIL PROTECTED]
 Subject: Apache+Tomcat Configuration problems
 
 
 
 OK, I'm about ready to scream.  Although I'm certain that I've
 missed something appallingly simple, I have no idea what that
 something is.
 
 I have installed Tomcat tomcat4-4.1.12-full.2jpp.noarch.rpm on a
 RH7.3 system.  I have compiled and installed Apache 1.3.27 with
 mod_ssl, EAPI, and mod_so.  I have read through:
 
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html
 
 more times than I care to count.  I have in httpd.conf:
 
 
 IfDefine HAVE_JK2
 LoadModule jk2_module modules/mod_jk2.so
 AddModule  mod_jk2.c
 /IfDefine
 
 JkWorkersFile /etc/httpd/conf/workers.properties
 JkMount  /*.jsp ajp13
 JkMount /servlet/* ajp13
 

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




Apache+Tomcat Configuration problems

2002-10-24 Thread J.F. Noonan

OK, I'm about ready to scream.  Although I'm certain that I've
missed something appallingly simple, I have no idea what that
something is.

I have installed Tomcat tomcat4-4.1.12-full.2jpp.noarch.rpm on a
RH7.3 system.  I have compiled and installed Apache 1.3.27 with
mod_ssl, EAPI, and mod_so.  I have read through:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html

more times than I care to count.  I have in httpd.conf:


IfDefine HAVE_JK2
LoadModule jk2_module modules/mod_jk2.so
AddModule  mod_jk2.c
/IfDefine

JkWorkersFile /etc/httpd/conf/workers.properties
JkMount  /*.jsp ajp13
JkMount /servlet/* ajp13



but apachectl configtest gives:

Syntax error on line 996 of /usr/local/apache/conf/httpd.conf:
Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by
a module not included in the server configuration

Any 'JkXyz' I put in the file does that, and so the server fails
to start.

The Tomcat server works fine standalone i.e.
http://blah.blah:8080/ brings up the expected servlet-ed content.

I have googled and read through archives, but I'm simply not
getting something right here.

I would be most grateful for any light anyone can shine on this
situation.

thx,


-- 

Joseph F. Noonan
Rigaku/MSC Inc.
[EMAIL PROTECTED]





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




Re: Apache+Tomcat Configuration problems

2002-10-24 Thread Milt Epstein
On Thu, 24 Oct 2002, J.F. Noonan wrote:

 OK, I'm about ready to scream.  Although I'm certain that I've
 missed something appallingly simple, I have no idea what that
 something is.

 I have installed Tomcat tomcat4-4.1.12-full.2jpp.noarch.rpm on a
 RH7.3 system.  I have compiled and installed Apache 1.3.27 with
 mod_ssl, EAPI, and mod_so.  I have read through:

 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html

 more times than I care to count.  I have in httpd.conf:

 IfDefine HAVE_JK2
 LoadModule jk2_module modules/mod_jk2.so
 AddModule  mod_jk2.c
 /IfDefine

 JkWorkersFile /etc/httpd/conf/workers.properties
 JkMount  /*.jsp ajp13
 JkMount /servlet/* ajp13

Your problem is that these latter three directives are *mod_jk*
directives, not *mod_jk2* directives.  Check the documentation or the
list archives for info on setting mod_jk2 up (or switch to mod_jk).


 

 but apachectl configtest gives:

 Syntax error on line 996 of /usr/local/apache/conf/httpd.conf:
 Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by
 a module not included in the server configuration

 Any 'JkXyz' I put in the file does that, and so the server fails
 to start.

 The Tomcat server works fine standalone i.e.
 http://blah.blah:8080/ brings up the expected servlet-ed content.

 I have googled and read through archives, but I'm simply not
 getting something right here.

 I would be most grateful for any light anyone can shine on this
 situation.

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




Re: Apache+Tomcat Configuration problems

2002-10-24 Thread Robert L Sowders
Looks like your getting jk2 and jk mixed up a bit. 

Have a look at http://www.pubbitch.org/jboss/mod_jk2.html.  Most of the 
JkMount stuff is done in worker2.properties via uri statements.  You can 
still do this in your httpd.conf file, it's just called JkUriSet now. 
Other JkSet commands work as well.

So you'll need a workers2.properties file as well as a jk2.properties 
file, (many examples are available, try google).  Not sure if it makes 
sense to have duplicate uri statements in both httpd.conf and wk2.prop 
files though.  It would make sense for virtual servers if the default 
server is not mapping it already in wk2.prop.

From the src, mod_jk2.c
/**
 * Set a property associated with a URI, using native Location 
 * directives.
 *
 * This is used if you want to use the native mapping and
 * integrate better into apache.
 *
 * Same behavior can be achieved by using uri.properties and/or JkSet.
 * 
 * Example:
 *   VirtualHost foo.com
 *  Location /examples
 * JkUriSet worker ajp13
 *  /Location
 *   /VirtualHost
 *
 * This is the best way to define a webapplication in apache. It is
 * scalable ( using apache native optimizations, you can have hundreds
 * of hosts and thousands of webapplications ), 'natural' to any
 * apache user.
 *
 * XXX This is a special configuration, for most users just use
 * the properties files.
 */

You should also try a search for JkUriSet and JkSet, to see how others 
have used it.

rls






J.F. Noonan [EMAIL PROTECTED]
10/24/2002 02:29 PM
Please respond to Tomcat Users List

 
To: [EMAIL PROTECTED]
cc: 
Subject:Apache+Tomcat Configuration problems


OK, I'm about ready to scream.  Although I'm certain that I've
missed something appallingly simple, I have no idea what that
something is.

I have installed Tomcat tomcat4-4.1.12-full.2jpp.noarch.rpm on a
RH7.3 system.  I have compiled and installed Apache 1.3.27 with
mod_ssl, EAPI, and mod_so.  I have read through:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html

more times than I care to count.  I have in httpd.conf:


IfDefine HAVE_JK2
LoadModule jk2_module modules/mod_jk2.so
AddModule  mod_jk2.c
/IfDefine

JkWorkersFile /etc/httpd/conf/workers.properties
JkMount  /*.jsp ajp13
JkMount /servlet/* ajp13



but apachectl configtest gives:

Syntax error on line 996 of /usr/local/apache/conf/httpd.conf:
Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by
a module not included in the server configuration

Any 'JkXyz' I put in the file does that, and so the server fails
to start.

The Tomcat server works fine standalone i.e.
http://blah.blah:8080/ brings up the expected servlet-ed content.

I have googled and read through archives, but I'm simply not
getting something right here.

I would be most grateful for any light anyone can shine on this
situation.

thx,


-- 

Joseph F. Noonan
Rigaku/MSC Inc.
[EMAIL PROTECTED]





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





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




Re: Strange differences in Apache/Tomcat configuration

2002-10-08 Thread Kent Perrier

On Mon, Oct 07, 2002 at 04:18:25PM -0400, Turner, John wrote:
 
 Sorry, I'm fresh out of ideas.  It sure sounds like a permissions issue to
 me, but I can't say for sure without investigation.
 
 Let us know what it was when you get it resolved.


I don't have this solved, yet, but I am working on it.  Here is what I 
have done.  I first tryed to access the tomcat instance with lynx locally
on my remote server.  I am getting a strange error here as well.  When I
attempt to go to http://localhost:8080/examples I get this error with
lynx: Alert! HTTP/1.1 400 No Host matches server name localhost 

At first I thought that this might me an issue with iptables, but running
/etc/init.d/iptables stop has had no effect, which I did not think it would,
but I wanted to make sure.

Checking on my local sandbox, I see the same behavior with lynx, so I am 
getting puzzled.  I do see that the DNS servers, that I have 0 control
over does not resolve localhost to 127.0.0.1.  Why the machine is not
going to the hosts file first, I don't know.  My /etc/nsswitch.conf
file has hosts:  files dns in it so it should go to the hosts file.

Oh well, the admin is the DNS server check into to.  Does anyone know
that if DNS is not operating correctly is there problems with Tomcat?

In order to move forward, I edited the server.xml file and removed the
address=localhost from the connector defination for port 8080, but I
still cannot access /examples or /tomcat-docs...  The HTML returned
to my browser is: htmlbody/body/html  Doing a tcpdump
on port 8080 and looking in the packets I see that I am getting the
save server error 400 No host matches server name error.  Right now
I am assuming that this is a issue with the, IMO, misconfiguration
of the DNS server.  

While I have not done an archive search on DNS issues with Tomcat, is
there a known issue with this?

Kent

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




RE: Strange differences in Apache/Tomcat configuration

2002-10-08 Thread Turner, John


As an aside, what happens if you try and access
http://127.0.0.1:8080/examples ?

John


 -Original Message-
 From: Kent Perrier [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 08, 2002 1:47 PM
 To: Tomcat Users List
 Subject: Re: Strange differences in Apache/Tomcat configuration
 
 
 On Mon, Oct 07, 2002 at 04:18:25PM -0400, Turner, John wrote:
  
  Sorry, I'm fresh out of ideas.  It sure sounds like a 
 permissions issue to
  me, but I can't say for sure without investigation.
  
  Let us know what it was when you get it resolved.
 
 
 I don't have this solved, yet, but I am working on it.  Here 
 is what I 
 have done.  I first tryed to access the tomcat instance with 
 lynx locally
 on my remote server.  I am getting a strange error here as 
 well.  When I
 attempt to go to http://localhost:8080/examples I get this error with
 lynx: Alert! HTTP/1.1 400 No Host matches server name localhost 
 
 At first I thought that this might me an issue with iptables, 
 but running
 /etc/init.d/iptables stop has had no effect, which I did not 
 think it would,
 but I wanted to make sure.
 
 Checking on my local sandbox, I see the same behavior with 
 lynx, so I am 
 getting puzzled.  I do see that the DNS servers, that I have 0 control
 over does not resolve localhost to 127.0.0.1.  Why the machine is not
 going to the hosts file first, I don't know.  My /etc/nsswitch.conf
 file has hosts:  files dns in it so it should go to the 
 hosts file.
 
 Oh well, the admin is the DNS server check into to.  Does anyone know
 that if DNS is not operating correctly is there problems with Tomcat?
 
 In order to move forward, I edited the server.xml file and removed the
 address=localhost from the connector defination for port 8080, but I
 still cannot access /examples or /tomcat-docs...  The HTML returned
 to my browser is: htmlbody/body/html  Doing a tcpdump
 on port 8080 and looking in the packets I see that I am getting the
 save server error 400 No host matches server name error.  Right now
 I am assuming that this is a issue with the, IMO, misconfiguration
 of the DNS server.  
 
 While I have not done an archive search on DNS issues with Tomcat, is
 there a known issue with this?
 
 Kent
 
 --
 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: Strange differences in Apache/Tomcat configuration

2002-10-08 Thread Kent Perrier

On Tue, Oct 08, 2002 at 01:54:43PM -0400, Turner, John wrote:
 
 As an aside, what happens if you try and access
 http://127.0.0.1:8080/examples ?

I tried that as well.  I get the same error, except that it says
127.0.0.1 instead of localhost :)

Kent

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




Re: Strange differences in Apache/Tomcat configuration

2002-10-08 Thread Kent Perrier

On Tue, Oct 08, 2002 at 01:54:43PM -0400, Turner, John wrote:
 
 As an aside, what happens if you try and access
 http://127.0.0.1:8080/examples ?
 

One more thing, the requests are even getting to the Tomcat server as 
nothing is being written to the tomcat logfiles.

Kent

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




Re: Strange differences in Apache/Tomcat configuration

2002-10-08 Thread Kent Perrier

On Tue, Oct 08, 2002 at 01:54:43PM -0400, Turner, John wrote:
 
 As an aside, what happens if you try and access
 http://127.0.0.1:8080/examples ?
 

One last thing, I see in the apache_log, on restart of Tomcat this
following is written to this file:

2002-10-08 13:19:49 [org.apache.catalina.connector.warp.WarpConnector] Error accepting 
requests
java.net.SocketException: Socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343)
at java.net.ServerSocket.implAccept(ServerSocket.java:438)
at java.net.ServerSocket.accept(ServerSocket.java:409)
at org.apache.catalina.connector.warp.WarpConnector.run(WarpConnector.java:590)
at java.lang.Thread.run(Thread.java:536)

This looks to deal with the warp connector.  Pardon my ignorance, but does
this have something to with the ajp13 or http connector?  According to
the docs at jakarta.apache.org, it appears that there is a connection between
the warp connector and the HTTP/1.1 connector, but the documentation is sparse
for the warp connector.

Does this open up any clues?

Kent

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




RE: Strange differences in Apache/Tomcat configuration

2002-10-08 Thread Turner, John


Not really.  The WARP connector is another connector...that may be why you
are getting the message.  If Apache is set to use WARP, but Tomcat isn't (or
vice versa) there wouldn't be an open socket, which might generate the
Apache error message that you see (client configuration).

Do you have control over the Tomcat server.xml?  Which connectors are
enabled in there?

John


 -Original Message-
 From: Kent Perrier [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 08, 2002 2:28 PM
 To: Tomcat Users List
 Subject: Re: Strange differences in Apache/Tomcat configuration
 
 
 On Tue, Oct 08, 2002 at 01:54:43PM -0400, Turner, John wrote:
  
  As an aside, what happens if you try and access
  http://127.0.0.1:8080/examples ?
  
 
 One last thing, I see in the apache_log, on restart of Tomcat this
 following is written to this file:
 
 2002-10-08 13:19:49 
 [org.apache.catalina.connector.warp.WarpConnector] Error 
 accepting requests
 java.net.SocketException: Socket closed
 at java.net.PlainSocketImpl.socketAccept(Native Method)
 at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343)
 at java.net.ServerSocket.implAccept(ServerSocket.java:438)
 at java.net.ServerSocket.accept(ServerSocket.java:409)
 at 
 org.apache.catalina.connector.warp.WarpConnector.run(WarpConne
 ctor.java:590)
 at java.lang.Thread.run(Thread.java:536)
 
 This looks to deal with the warp connector.  Pardon my 
 ignorance, but does
 this have something to with the ajp13 or http connector?  According to
 the docs at jakarta.apache.org, it appears that there is a 
 connection between
 the warp connector and the HTTP/1.1 connector, but the 
 documentation is sparse
 for the warp connector.
 
 Does this open up any clues?
 
 Kent
 
 --
 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: Strange differences in Apache/Tomcat configuration

2002-10-08 Thread Kent Perrier

On Tue, Oct 08, 2002 at 02:39:45PM -0400, Turner, John wrote:
 
 Not really.  The WARP connector is another connector...that may be why you
 are getting the message.  If Apache is set to use WARP, but Tomcat isn't (or
 vice versa) there wouldn't be an open socket, which might generate the
 Apache error message that you see (client configuration).
 
 Do you have control over the Tomcat server.xml?  Which connectors are
 enabled in there?

I am using the default server.xml right now.  It appears that the WARP
connector is enabled by default.   I have commented it out of the file
but that has not changed the behavior I am seeing.

Hu, sometimes, I hate computers

Kent

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




Strange differences in Apache/Tomcat configuration

2002-10-07 Thread Kent Perrier

All,

I am configuring an Apache (2.0.40) server to run in front of Tomcat (4.0.5)
on a machine, running RH 7.2, that is co-located at a hosting provider.  I 
have a local Linux box, also running RH 7.2, that I am working using as a
sandbox to play with before I attempt to get the server configured.  I have
identical software versions on both machines.  On my local machine, I can 
access http://local/examples/jsp/snp/snoop.jsp and it works fine.  If 
I attempt to access the remote server I get a blank page and, in the web
server error log I get this message:

[Mon Oct 07 10:17:16 2002] [error] [client xxx.xx.xxx.xxx] client denied by server 
configuration: index.jsp

I have both servers configured identically, as far as I can tell.  A diff
between my local httpd.conf file and the one on the remote server shows that
the only differences are path differences between the two machines and 
server names.

Does anyone have an idea why I am setting two different responces from, what
I think are identically different servers?

If you need my httpd.conf from both servers, please let me know.  I don't
want to add these files to this post if they are not necessary.

Thanks!

Kent

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




RE: Strange differences in Apache/Tomcat configuration

2002-10-07 Thread Turner, John


That's a standard Apache no auth error message.  So, my guess is there's
something going on with users (which user the web server is running as) vs.
who owns index.jsp, or maybe a rogue .htaccess file somewhere preventing the
web server from seeing index.jsp.  

Assuming, of course, that you're changing the URL from http://local to
http://remote. ;)

John


 -Original Message-
 From: Kent Perrier [mailto:[EMAIL PROTECTED]]
 Sent: Monday, October 07, 2002 11:46 AM
 To: [EMAIL PROTECTED]
 Subject: Strange differences in Apache/Tomcat configuration
 
 
 All,
 
 I am configuring an Apache (2.0.40) server to run in front of 
 Tomcat (4.0.5)
 on a machine, running RH 7.2, that is co-located at a hosting 
 provider.  I 
 have a local Linux box, also running RH 7.2, that I am 
 working using as a
 sandbox to play with before I attempt to get the server 
 configured.  I have
 identical software versions on both machines.  On my local 
 machine, I can 
 access http://local/examples/jsp/snp/snoop.jsp and it works fine.  If 
 I attempt to access the remote server I get a blank page and, 
 in the web
 server error log I get this message:
 
 [Mon Oct 07 10:17:16 2002] [error] [client xxx.xx.xxx.xxx] 
 client denied by server configuration: index.jsp
 
 I have both servers configured identically, as far as I can 
 tell.  A diff
 between my local httpd.conf file and the one on the remote 
 server shows that
 the only differences are path differences between the two 
 machines and 
 server names.
 
 Does anyone have an idea why I am setting two different 
 responces from, what
 I think are identically different servers?
 
 If you need my httpd.conf from both servers, please let me 
 know.  I don't
 want to add these files to this post if they are not necessary.
 
 Thanks!
 
 Kent
 
 --
 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: Strange differences in Apache/Tomcat configuration

2002-10-07 Thread Kent Perrier

On Mon, Oct 07, 2002 at 12:05:05PM -0400, Turner, John wrote:
 
 That's a standard Apache no auth error message.  So, my guess is there's
 something going on with users (which user the web server is running as) vs.
 who owns index.jsp, or maybe a rogue .htaccess file somewhere preventing the
 web server from seeing index.jsp.  

The webserver is running at user nobody, the tomcat instance is owned by
user tomcat, group tomcat and runs as user tomcat.  All of the file 
permissions are 775.  I would have gotten a different error, I believe, if
this was the problem.

The mod_jk.conf file has index.jsp listed a valid DirectoryIndex file
and there are no Allow or deny directives for the /examples directory.
(The WEB-INF and META-INF ones are there.)

 
 Assuming, of course, that you're changing the URL from http://local to
 http://remote. ;)

I am :)

Any other ideas?

Kent

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




RE: Strange differences in Apache/Tomcat configuration

2002-10-07 Thread Turner, John


Sorry, I'm fresh out of ideas.  It sure sounds like a permissions issue to
me, but I can't say for sure without investigation.

Let us know what it was when you get it resolved.

John


 -Original Message-
 From: Kent Perrier [mailto:[EMAIL PROTECTED]]
 Sent: Monday, October 07, 2002 12:15 PM
 To: Tomcat Users List
 Subject: Re: Strange differences in Apache/Tomcat configuration
 
 
 On Mon, Oct 07, 2002 at 12:05:05PM -0400, Turner, John wrote:
  
  That's a standard Apache no auth error message.  So, my 
 guess is there's
  something going on with users (which user the web server is 
 running as) vs.
  who owns index.jsp, or maybe a rogue .htaccess file 
 somewhere preventing the
  web server from seeing index.jsp.  
 
 The webserver is running at user nobody, the tomcat instance 
 is owned by
 user tomcat, group tomcat and runs as user tomcat.  All of the file 
 permissions are 775.  I would have gotten a different error, 
 I believe, if
 this was the problem.
 
 The mod_jk.conf file has index.jsp listed a valid DirectoryIndex file
 and there are no Allow or deny directives for the /examples directory.
 (The WEB-INF and META-INF ones are there.)
 
  
  Assuming, of course, that you're changing the URL from 
 http://local to
  http://remote. ;)
 
 I am :)
 
 Any other ideas?
 
 Kent
 
 --
 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]




Apache/Tomcat Configuration Question

2002-09-23 Thread John Green

All,

I have Apache and Tomcat integrated together using
mod_jk.  The problem is now when I hit my webserver,
it always defaults to the root context of tomcat.  No
matter what I set in my Apache httpd.conf file it gets
ignored.  I have tried to setup a virtual server in my
httpd.conf file to point to the docroot I want to
serve up as the default, but it is ignored. 
Originally I had my Apache working with PHP, but since
I installed Tomcat, I have been unable to figure out
how to serve up both.

Thanks,


John Green


__
Do you Yahoo!?
New DSL Internet Access from SBC  Yahoo!
http://sbc.yahoo.com

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




RE: Apache/Tomcat Configuration Question

2002-09-23 Thread Venkat Reddy Valluri

Did you change mod_jk.conf to point to document root where you are supposed to give 
apache doc root
  sample mod_jk.conf--

IfModule !mod_jk.c
  LoadModule jk_module /usr/local/apache2/modules/mod_jk.so
/IfModule

JkWorkersFile /tmp/workers.properties
JkLogFile /usr/local/apache2/logs/mod_jk.log

JkLogLevel debug


VirtualHost xxx.xx.xx.xx
ServerName www.xxx.com:80

 aurora.quinnfable.com:/manager 
DocumentRoot-- here you got to give your apache document root 
---
--
--
/virtulhost

-Original Message-
From:   John Green [mailto:[EMAIL PROTECTED]]
Sent:   Mon 9/23/2002 11:22 AM
To: [EMAIL PROTECTED]
Cc: 
Subject:Apache/Tomcat Configuration Question
All,

I have Apache and Tomcat integrated together using
mod_jk.  The problem is now when I hit my webserver,
it always defaults to the root context of tomcat.  No
matter what I set in my Apache httpd.conf file it gets
ignored.  I have tried to setup a virtual server in my
httpd.conf file to point to the docroot I want to
serve up as the default, but it is ignored. 
Originally I had my Apache working with PHP, but since
I installed Tomcat, I have been unable to figure out
how to serve up both.

Thanks,


John Green


__
Do you Yahoo!?
New DSL Internet Access from SBC  Yahoo!
http://sbc.yahoo.com

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





winmail.dat
--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


Re: Apache/Tomcat Configuration Question

2002-09-23 Thread Milt Epstein

On Mon, 23 Sep 2002, John Green wrote:

 All,

 I have Apache and Tomcat integrated together using mod_jk.  The
 problem is now when I hit my webserver, it always defaults to the
 root context of tomcat.  No matter what I set in my Apache
 httpd.conf file it gets ignored.  I have tried to setup a virtual
 server in my httpd.conf file to point to the docroot I want to serve
 up as the default, but it is ignored.  Originally I had my Apache
 working with PHP, but since I installed Tomcat, I have been unable
 to figure out how to serve up both.

You're going to need to provide a lot more specifics if you expect
anyone to give you specific advice.  Like your conf files.  And any
relevant messages from the logs.

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




Apache+tomcat configuration

2002-08-15 Thread Alarcon, Fabio

Hi guys
Is there a page or an archive list where I can found in order to run apache
together with Tomcat?
I know some of you has already configured sucessfuly

Thanks in advance for your replies

Fabio


--

Este mensaje y sus anexos están dirigidos exclusivamente a su destinatario y puede(n) 
contener información confidencial. En consecuencia, de conformidad con las leyes 
peruanas, está prohibida su reproducción o difusión a través de cualquier medio.

Si ha recibido esta comunicación por error, sírvase informarlo al remitente a través 
de correo electrónico o al teléfono (511) 611- y borrar de inmediato este mensaje. 
Muchas Gracias.

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




Re: Apache+tomcat configuration

2002-08-15 Thread Christoph Fischer

Hi,

take a look at this page:  http://www.ubeans.com/tomcat/
it's all in there.

Chris


Alarcon, Fabio wrote:

Hi guys
Is there a page or an archive list where I can found in order to run apache
together with Tomcat?
I know some of you has already configured sucessfuly

Thanks in advance for your replies

Fabio


--

Este mensaje y sus anexos están dirigidos exclusivamente a su destinatario y 
puede(n) contener información confidencial. En consecuencia, de conformidad con las 
leyes peruanas, está prohibida su reproducción o difusión a través de cualquier medio.

Si ha recibido esta comunicación por error, sírvase informarlo al remitente a través 
de correo electrónico o al teléfono (511) 611- y borrar de inmediato este 
mensaje. Muchas Gracias.

--
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: Newbie Question: Apache+Tomcat configuration

2002-06-12 Thread Turner, John


You basically need to choose between mod_jk and mod_webapp as your
Apache-to-Tomcat connector.  If you look in the mailing list archives for
yesterday (June 11, 2002) you will see a brief How-To that I posted for
installing and setting up mod_webapp (though that was with Apache 2).

This URL might help with Apache 1.3, though it only addresses pre-version 4
Tomcat:
http://www.galatea.com/flashguides/apache-tomcat-unix.xml

There seems to be some issues with restricting mod_webapp to JSP and
servlets only...apparently mod_webapp sends all HTTP requests to Tomcat,
even images and HTML documents, which is bad.  From what I have read so far,
restricting mod_jk to serving only JSP and servlets is something that has
been done and is working.

There's a fairly severe lack of documentation on how to get Apache and
Tomcat working together...if you get yours working successfully, it would be
great if you could post a brief How-To document.

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Stonix [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 9:54 PM
To: Tomcat Users List
Subject: Newbie Question: Apache+Tomcat configuration


Hi,

I am absolutely newbie on Tomcat.
I have a Linux RH 7.1 box and a Apache 1.3.19 running on it. 
I just installed Tomcat 4.0.3. Seems like it has been successfully 
installed because if test it on 8080 port all the java examples 
running perfect. Now, what have to be done for the rest? I guess 
I need to configure both Tomcat and Apache to have them work 
together. However I don't know where to start from. What I want 
are, the apache should be the primary web server, and only java 
JSP and serverlet will be thrown to Tomcat; and, both servers 
recognize same document directories for those virtual hosts.
If any one out there can give me a brief explaination abou this
or just recomend a article, please give me a hand. Thanks in
advance!

Alex

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



Newbie Question: Apache+Tomcat configuration

2002-06-11 Thread Stonix

Hi,

I am absolutely newbie on Tomcat.
I have a Linux RH 7.1 box and a Apache 1.3.19 running on it. 
I just installed Tomcat 4.0.3. Seems like it has been successfully 
installed because if test it on 8080 port all the java examples 
running perfect. Now, what have to be done for the rest? I guess 
I need to configure both Tomcat and Apache to have them work 
together. However I don't know where to start from. What I want 
are, the apache should be the primary web server, and only java 
JSP and serverlet will be thrown to Tomcat; and, both servers 
recognize same document directories for those virtual hosts.
If any one out there can give me a brief explaination abou this
or just recomend a article, please give me a hand. Thanks in
advance!

Alex

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




Apache-tomcat configuration

2002-01-22 Thread Tamim, Samir

Hi all,
 
Still trying to let Apache SSL  / Tomcat with Warp Connector to Work on
Solaris 8. 
 
JDK 1.3.1_02 / Apache 1.3.22 / Tomcat 4.0.1 
 
So still having the following  :
 
[Fri Jan 18 15:27:44 2002] [error] Cannot receive handshake WARP packet
[Fri Jan 18 15:27:44 2002] [error] Cannot read packet (pr_warp_config.c:139)
[Fri Jan 18 15:27:44 2002] [error] Cannot configure connection conn
[Fri Jan 18 15:27:47 2002] [notice] child pid 4883 exit signal Segmentation
Fault (11)
[Fri Jan 18 15:27:47 2002] [notice] child pid 4882 exit signal Segmentation
Fault (11)
..
Any help will appreciated.
 
Thanks
 
Sam
 



Apache-Tomcat configuration...

2001-12-20 Thread Marcelo Gabriel Demestri Felip



Hi everybody!

I want to install and Tomcat (4.0.1) like a servlet container and
jsp interpreter of an Apache (1.3.20) web server.  I work with Win2000, 
professional edition.

For this i need the web_module.so  Where i can download this file?
There is another step to achieve this goal (Apache+Tomcat)?
Thanks in advance.


Marcelo



_
MSN Photos es la manera más sencilla de compartir e imprimir sus fotos: 
http://photos.latam.msn.com/Support/WorldWide.aspx


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




Re: Apache-Tomcat configuration...

2001-12-20 Thread Denny Chambers

The webapps module for win32:

http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/win32/




Marcelo Gabriel Demestri Felip wrote:
 
 Hi everybody!
 
 I want to install and Tomcat (4.0.1) like a servlet container and
 jsp interpreter of an Apache (1.3.20) web server.  I work with Win2000,
 professional edition.
 
 For this i need the web_module.so  Where i can download this file?
 There is another step to achieve this goal (Apache+Tomcat)?
 Thanks in advance.
 
 Marcelo
 
 _
 MSN Photos es la manera más sencilla de compartir e imprimir sus fotos:
 http://photos.latam.msn.com/Support/WorldWide.aspx
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

-- 
Denny Chambers
Quantum Corporation, Inc.
Network Attached Storage Division
Java Linux Engineer
Phone: 334-478-5730
IM: [EMAIL PROTECTED]

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




Re: Apache-Tomcat configuration

2001-08-03 Thread Neelakshi

Are you trying to load images from the relative path?
You will have to specify the path as 
/mycontext/images/myimage.gif 
instead of images/myimage.gif 
as later works only with tomcat, former with both.

Alexis Alarcón Barra wrote:
 
 Hi, i'm using Apache 1.3.12 and Tomcat 3.2.3. They work separately. Then
 i'll join them. This works but when i'm trying to load a jsp page, it
 works(executes the code) but it doesn't load any images. Anyone knows
 why ?
 
 Alexis
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com



Re: Apache-Tomcat configuration

2001-08-02 Thread Alexis Alarcón Barra

Hi ... i've changed the path adding the context name. It worked only using
tomcat but it still doesn't work using apache.

Alexis

Neelakshi wrote:

 Are you trying to load images from the relative path?
 You will have to specify the path as
 /mycontext/images/myimage.gif
 instead of images/myimage.gif
 as later works only with tomcat, former with both.

 Alexis Alarcón Barra wrote:
 
  Hi, i'm using Apache 1.3.12 and Tomcat 3.2.3. They work separately. Then
  i'll join them. This works but when i'm trying to load a jsp page, it
  works(executes the code) but it doesn't load any images. Anyone knows
  why ?
 
  Alexis
 
  _
  Do You Yahoo!?
  Get your free @yahoo.com address at http://mail.yahoo.com


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




java.net.SocketException in Apache + Tomcat configuration.... PLZ HELP !!

2001-06-12 Thread Chauhan, Anand

Hi ALL:

Could y'all please help me with the following errors. Although it doesn't hamper my 
flow of logic and control but I was just wondering why it should ever occur at the 
first place. My configuration includes Apache Web Server 1.3.14+ and
Tomcat 3.2.1. Here is the exception for your reference: 

java.net.SocketException: Connection reset by peer: JVM_recv in socket input str
eam read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at org.apache.tomcat.service.connector.TcpConnector.receiveFully(TcpConn
ector.java:150)
at org.apache.tomcat.service.connector.TcpConnector.receive(TcpConnector
.java:121)
at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processCon
nection(Ajp13ConnectionHandler.java:146)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:498)

Thanks in advance. 

Regards,
Anand Chauhan




AW: java.net.SocketException in Apache + Tomcat configuration.... PLZ HELP !!

2001-06-12 Thread Daniel Strobl

this happens if a user uses Internet Explorer and Internet Explorer already
has a resource in cache. IE will simply close the connection, thats what the
message says.

Daniel

-Ursprüngliche Nachricht-
Von: Chauhan, Anand [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 12. Juni 2001 18:39
An: [EMAIL PROTECTED]
Betreff: java.net.SocketException in Apache + Tomcat configuration
PLZ HELP !!


Hi ALL:

Could y'all please help me with the following errors. Although it doesn't
hamper my flow of logic and control but I was just wondering why it should
ever occur at the first place. My configuration includes Apache Web Server
1.3.14+ and
Tomcat 3.2.1. Here is the exception for your reference:

java.net.SocketException: Connection reset by peer: JVM_recv in socket input
str
eam read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at
org.apache.tomcat.service.connector.TcpConnector.receiveFully(TcpConn
ector.java:150)
at
org.apache.tomcat.service.connector.TcpConnector.receive(TcpConnector
.java:121)
at
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processCon
nection(Ajp13ConnectionHandler.java:146)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:498)

Thanks in advance.

Regards,
Anand Chauhan




RE: java.net.SocketException in Apache + Tomcat configuration.... PLZ HELP !!

2001-06-12 Thread Chauhan, Anand

Thanks Dan,

It did help me in getting the crux behind the problem. However, is there any way I 
could get rid of this exception. I tried a few settings in the IE Internet Options 
tab but to no avail. The problem persists. 

Regards,
Anand Chauhan 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001 2:00 PM
To: [EMAIL PROTECTED]
Subject: AW: java.net.SocketException in Apache + Tomcat
configuration PLZ HELP !! 


this happens if a user uses Internet Explorer and Internet Explorer already
has a resource in cache. IE will simply close the connection, thats what the
message says.

Daniel

-Ursprüngliche Nachricht-
Von: Chauhan, Anand [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 12. Juni 2001 18:39
An: [EMAIL PROTECTED]
Betreff: java.net.SocketException in Apache + Tomcat configuration
PLZ HELP !!


Hi ALL:

Could y'all please help me with the following errors. Although it doesn't
hamper my flow of logic and control but I was just wondering why it should
ever occur at the first place. My configuration includes Apache Web Server
1.3.14+ and
Tomcat 3.2.1. Here is the exception for your reference:

java.net.SocketException: Connection reset by peer: JVM_recv in socket input
str
eam read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at
org.apache.tomcat.service.connector.TcpConnector.receiveFully(TcpConn
ector.java:150)
at
org.apache.tomcat.service.connector.TcpConnector.receive(TcpConnector
.java:121)
at
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processCon
nection(Ajp13ConnectionHandler.java:146)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:498)

Thanks in advance.

Regards,
Anand Chauhan



Very Basic question about Apache-Tomcat configuration

2001-04-18 Thread Gerry Duhig

Help please!

I have Apache running with ApacheJServ  and working fine!

I want to test tomcat and consider it as a replacement for JServ.

I downloaded Tomcat and edited the Apache httpd.conf to include the
apache-tomcat.conf file, instead of the JServ file.

I start tomcat and I start Apache, Apache serves static html as expected, it
passes jsp requests to tomcat fine (the examples work), but it doesn't pass
servlet requests through at all.

I can test the servlet examples by using file://localhost:8080/examples, but
I cannot make Apache pass the requests across unless that port number is
explicitly used.

Am I supposed to find and use a special mod_jserv.so?

Am I supposed to create zone property files as in ApacheJserv?

What am I supposed to do?

Gerry




Re: Very Basic question about Apache-Tomcat configuration

2001-04-18 Thread Sam Newman

If you access file://localhost:8080/examples you are completely
circumventing Apache and going straight to tomcat. Assuming this is not what
your doing to get the jsp's to work, I'd hazard a guess that your web
context defined in server.xml under tomcat isn't correctly set. I would
suggest you try temporarily removing the use of JServ, and instead look at
using mod_jk. Tomcat automatically creates a configuration file for
inclusion in httpd.conf which configires apache to use Tomcat in line with
the server.xml file. As a minimum on a clean tomcat install, this will
automatically let you access the example servlets via apache with the
minimum effort. I take it you have consulted the Apache-tomcat howto?

sam
- Original Message -
From: "Gerry Duhig" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 12:11 PM
Subject: Very Basic question about Apache-Tomcat configuration


 Help please!

 I have Apache running with ApacheJServ  and working fine!

 I want to test tomcat and consider it as a replacement for JServ.

 I downloaded Tomcat and edited the Apache httpd.conf to include the
 apache-tomcat.conf file, instead of the JServ file.

 I start tomcat and I start Apache, Apache serves static html as expected,
it
 passes jsp requests to tomcat fine (the examples work), but it doesn't
pass
 servlet requests through at all.

 I can test the servlet examples by using file://localhost:8080/examples,
but
 I cannot make Apache pass the requests across unless that port number is
 explicitly used.

 Am I supposed to find and use a special mod_jserv.so?

 Am I supposed to create zone property files as in ApacheJserv?

 What am I supposed to do?

 Gerry





Re: Very Basic question about Apache-Tomcat configuration

2001-04-18 Thread Gerry Duhig

Sam,

Thanks for the response. I understand that I am circumventing apache by
using localhost:8080, but it was useful in proving that tomcat was alive.

And you are correct that I was not using 8080 to get the jsp pages to work!

Which confused me entirely, because clearly tomcat knows what it is doing,
Apache knows what to do with jsp references but the basic servlet bit
failed!

By the time I received your response I was just editing the
worker.properties file having downloaded mod_jk.so - and it works!

I had in the meantime downloaded the special mod_jserv for linux tomcat but
that failed as well.

I've read every stitch of doc I can find!

Anyway, I am running now (examples at least - now I have to make my real job
work!) thanks again for the clues.

Gerry

- Original Message -
From: "Sam Newman" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 18, 2001 12:57 PM
Subject: Re: Very Basic question about Apache-Tomcat configuration


 If you access file://localhost:8080/examples you are completely
 circumventing Apache and going straight to tomcat. Assuming this is not
what
 your doing to get the jsp's to work, I'd hazard a guess that your web
 context defined in server.xml under tomcat isn't correctly set. I would
 suggest you try temporarily removing the use of JServ, and instead look at
 using mod_jk. Tomcat automatically creates a configuration file for
 inclusion in httpd.conf which configires apache to use Tomcat in line with
 the server.xml file. As a minimum on a clean tomcat install, this will
 automatically let you access the example servlets via apache with the
 minimum effort. I take it you have consulted the Apache-tomcat howto?

 sam
 - Original Message -
 From: "Gerry Duhig" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, April 18, 2001 12:11 PM
 Subject: Very Basic question about Apache-Tomcat configuration


  Help please!
 
  I have Apache running with ApacheJServ  and working fine!
 
  I want to test tomcat and consider it as a replacement for JServ.
 
  I downloaded Tomcat and edited the Apache httpd.conf to include the
  apache-tomcat.conf file, instead of the JServ file.
 
  I start tomcat and I start Apache, Apache serves static html as
expected,
 it
  passes jsp requests to tomcat fine (the examples work), but it doesn't
 pass
  servlet requests through at all.
 
  I can test the servlet examples by using file://localhost:8080/examples,
 but
  I cannot make Apache pass the requests across unless that port number is
  explicitly used.
 
  Am I supposed to find and use a special mod_jserv.so?
 
  Am I supposed to create zone property files as in ApacheJserv?
 
  What am I supposed to do?
 
  Gerry
 





Apache + Tomcat Configuration

2001-04-06 Thread Zhengan Cai

Hi, everyone:

I am trying to setup Apache + Tomcat to run JSP and Servlets on Win. 2000. I
am using Apache 1.3.19, and Tomcat 3.2.1.

I created my own directory in
%TOMCAT_HOME%/webapps/mytest, copied the structure from
%TOMCAT_HOME%/webapps/examples such as WEB-INF, META-INF I put my
servlets .class files in the ../mytest/WEB-INF/classes/aaa.class.

I did some configurations in Tomcat: Server.xml, Tomcat-Apache.conf,
Tomcat.conf; and in Apache: httpd.conf

Now I can use Apache + Tomcat to run my JSP files, BUT I can  ONLY  run  the
system provided  sample Servlets files. I CAN'T run my own Servelts files no
matter where I put the .class files.

Could you give me a help for the configuration as my assignment is almost
due  ?

Thank you very much for your time and concern.

E-mail: [EMAIL PROTECTED]

Zhengan Cai




Apache + Tomcat configuration

2001-04-06 Thread Zhengan Cai

Hi, everyone:

I am trying to setup Apache + Tomcat to run JSP and Servlets on Win. 2000. I
am using Apache 1.3.19, and Tomcat 3.2.1.

I created my own directory in
%TOMCAT_HOME%/webapps/mytest, copied the structure from
%TOMCAT_HOME%/webapps/examples such as WEB-INF, META-INF I put my
servlets .class files in the ../mytest/WEB-INF/classes/aaa.class.

I did some configurations in Tomcat: Server.xml, Tomcat-Apache.conf,
Tomcat.conf; and in Apache: httpd.conf

Now I can use Apache + Tomcat to run my JSP files, BUT I can  ONLY  run  the
system provided  sample Servlets files. I CAN'T run my own Servelts files no
matter where I put the .class files.

Could you give me a help for the configuration as my assignment is almost
due  ?

Thank you very much for your time and concern.

E-mail: [EMAIL PROTECTED]

Zhengan Cai




RE: Apache + Tomcat Configuration

2001-04-06 Thread Michael Wentzel

 I am trying to setup Apache + Tomcat to run JSP and Servlets 
 on Win. 2000. I
 am using Apache 1.3.19, and Tomcat 3.2.1.
 
 I created my own directory in
 %TOMCAT_HOME%/webapps/mytest, copied the structure from
 %TOMCAT_HOME%/webapps/examples such as WEB-INF, META-INF I put my
 servlets .class files in the ../mytest/WEB-INF/classes/aaa.class.
 
 I did some configurations in Tomcat: Server.xml, Tomcat-Apache.conf,
 Tomcat.conf; and in Apache: httpd.conf
 
 Now I can use Apache + Tomcat to run my JSP files, BUT I can  
 ONLY  run  the
 system provided  sample Servlets files. I CAN'T run my own 
 Servelts files no
 matter where I put the .class files.
 
 Could you give me a help for the configuration as my 
 assignment is almost
 due  ?

First, posting the same question multiple times will not expedite a
faster response to your question.  People might just get ticked off
and not reply at all.

Now, I will pose a couple questions:
1.  How are you trying to access your servlets? (/mytest/servlets/aaa,
mytest/aaa, etc...)
2.  What are your configurations, in your webapps web.xml, for your
servlets?
3.  What is the exact error message you are receiving? 404? 500? etc...

The more information you can provide the faster a solution can be found.


---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com



RE: Apache + Tomcat Configuration

2001-04-06 Thread David DELGRANCHE

Dear Michael,

I just reach the TomCat mailing List this morning and even if I'm using 
mailing list for a long time, I'm a little bit supprised by your behaviour. 
What is exactly your role on this list? Trying sharing knowledge like a lot 
of people or just controlling all the mails that are posted? It seems that 
you have nothing else to do than being boring with people. A mailing list 
is something alive. Even if there can be mails that doesn't match exactly 
the subject, a lot of people could find them interesting.
Hope people on this list are more open-minded than you are!

David.

-Message d'origine-
De: Michael Wentzel [SMTP:[EMAIL PROTECTED]]
Date:   vendredi 6 avril 2001 15:20
A:  '[EMAIL PROTECTED]'
Objet:  RE: Apache + Tomcat Configuration

 I am trying to setup Apache + Tomcat to run JSP and Servlets
 on Win. 2000. I
 am using Apache 1.3.19, and Tomcat 3.2.1.

 I created my own directory in
 %TOMCAT_HOME%/webapps/mytest, copied the structure from
 %TOMCAT_HOME%/webapps/examples such as WEB-INF, META-INF I put my
 servlets .class files in the ../mytest/WEB-INF/classes/aaa.class.

 I did some configurations in Tomcat: Server.xml, Tomcat-Apache.conf,
 Tomcat.conf; and in Apache: httpd.conf

 Now I can use Apache + Tomcat to run my JSP files, BUT I can
 ONLY  run  the
 system provided  sample Servlets files. I CAN'T run my own
 Servelts files no
 matter where I put the .class files.

 Could you give me a help for the configuration as my
 assignment is almost
 due  ?

First, posting the same question multiple times will not expedite a
faster response to your question.  People might just get ticked off
and not reply at all.

Now, I will pose a couple questions:
1.  How are you trying to access your servlets? (/mytest/servlets/aaa,
mytest/aaa, etc...)
2.  What are your configurations, in your webapps web.xml, for your
servlets?
3.  What is the exact error message you are receiving? 404? 500? etc...

The more information you can provide the faster a solution can be found.


---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com




Re: Apache + Tomcat configuration

2001-04-06 Thread Pae Choi

Did you put in another context entry in the server.xml file
similar to this:

Context path="/examples"
docBase="webapps/examples"
crossContext="false"
debug="0"
reloadable="true" 
/Context

(exchange "examples" with your own directory "mytest")

-Original Message-
From: Zhengan Cai [mailto:[EMAIL PROTECTED]]
Sent: 06 April 2001 15:00
To: Apache/Tomcat
Subject: Apache + Tomcat configuration


Hi, everyone:

I am trying to setup Apache + Tomcat to run JSP and Servlets on Win. 2000.
I
am using Apache 1.3.19, and Tomcat 3.2.1.

I created my own directory in
%TOMCAT_HOME%/webapps/mytest, copied the structure from
%TOMCAT_HOME%/webapps/examples such as WEB-INF, META-INF I put my
servlets .class files in the ../mytest/WEB-INF/classes/aaa.class.

I did some configurations in Tomcat: Server.xml, Tomcat-Apache.conf,
Tomcat.conf; and in Apache: httpd.conf

Now I can use Apache + Tomcat to run my JSP files, BUT I can  ONLY  run
the
system provided  sample Servlets files. I CAN'T run my own Servelts files
no
matter where I put the .class files.

Did you restart the TC?  --- "Just want to make sure!!!" :-)

Pae


Could you give me a help for the configuration as my assignment is almost
due  ?

Thank you very much for your time and concern.

E-mail: [EMAIL PROTECTED]

Zhengan Cai




** Apache Tomcat Configuration on Linux - Error while doing the same: Needhelp **

2001-04-03 Thread Prashantha . Marathe

Hi,

I am trying to configure Tomcat+Apache on Linux. I am having some problems
while configuring the same.

Please help resolving following problem.

Apache:error_log says
Tue Apr  3 12:42:41 2001] [emerg] (2)No such file or directory: Error while
opening the workers

Tomcat : mod_jk.log says
[jk_ajp12_worker.c (201)]: In jk_worker_t::validate, resolve failed
[jk_ajp12_worker.c (203)]: In jk_worker_t::validate, Error localhost 8007
[jk_worker.c (164)]: wc_create_worker validate failed for ajp12
[jk_worker.c (229)]: build_worker_map failed to create workerajp12

Regards,
Prashanth Marathe D




Re: Help with Apache-Tomcat configuration

2001-03-15 Thread Gerard BORREILL

Sorry for this late answer but my company was moving.

 I think you have now the answer.
 As far as I remember DSO modules are modules that are loaded dynamically. This
allows to add or remove a module without stopping
apache.
 mod_jk is a DSO module.

 To compile apache with DSO I am using

./configure \
 --prefix=/usr/local/apache \
 --enable-rule=SHARED_CORE \
 --enable-module=so

make
make install

Grard,

Martin Mauri wrote:

 Dear Gerard,

 I'm sorry, but I'm afraid I didn't know anything about DSO, what does DSO
 mean?

 How can I recompile Apache  with the DSO support option?

 thanks in advance!!

 Martin

  Hum,
Well I do not remember exactly the error message, but I remember that if
 you
  do not compile Apache to support DSO an error like this  one may occur:
 Apache
  does not recognize the module as an apache module. So the solution is to
 compile
  Apache with DSO support.
 
I hope this helps,
 
  Grard
 
  Martin Mauri wrote:
 
   Hi!
  
   I'm trying to configure Apache with Tomcat using mod_jk as the adapter,
 and
   then I write it in the httpd.conf but when I install the mod_jk.so and
 start
   Apache, I get the following error:
  
   API module structure 'jk_module' in file /etc/httpd/modules/mod_jk.so is
   garbled
   - perhaps this is not an Apache module?
  
   please if anyone have some information, I'll be very happy!! :)
  
   regards.
  
   Lic. Martin O. Mauri
   Profesion + Auge A.F.J.P
   Parana 666 - Cap. Federal
   TE: (011) - 43737786/7
   [EMAIL PROTECTED]
   www.profesi.com.ar
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]




Help with Apache-Tomcat configuration

2001-03-12 Thread Martin Mauri

Hi!

I'm trying to configure Apache with Tomcat using mod_jk as the adapter, and
then I write it in the httpd.conf but when I install the mod_jk.so and start
Apache, I get the following error:

API module structure 'jk_module' in file /etc/httpd/modules/mod_jk.so is
garbled
- perhaps this is not an Apache module?

please if anyone have some information, I'll be very happy!! :)

regards.

Lic. Martin O. Mauri
Profesion + Auge A.F.J.P
Parana 666 - Cap. Federal
TE: (011) - 43737786/7
[EMAIL PROTECTED]
www.profesi.com.ar



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Help with Apache-Tomcat configuration

2001-03-12 Thread Gerard BORREILL

Hum,
  Well I do not remember exactly the error message, but I remember that if you
do not compile Apache to support DSO an error like this  one may occur: Apache
does not recognize the module as an apache module. So the solution is to compile
Apache with DSO support.

  I hope this helps,

Grard

Martin Mauri wrote:

 Hi!

 I'm trying to configure Apache with Tomcat using mod_jk as the adapter, and
 then I write it in the httpd.conf but when I install the mod_jk.so and start
 Apache, I get the following error:

 API module structure 'jk_module' in file /etc/httpd/modules/mod_jk.so is
 garbled
 - perhaps this is not an Apache module?

 please if anyone have some information, I'll be very happy!! :)

 regards.

 Lic. Martin O. Mauri
 Profesion + Auge A.F.J.P
 Parana 666 - Cap. Federal
 TE: (011) - 43737786/7
 [EMAIL PROTECTED]
 www.profesi.com.ar

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Help with Apache-Tomcat configuration

2001-03-12 Thread John Towell

The 'garbled' message indicates problems in the mod_jk.so build.  See:
[EMAIL PROTECTED]; 

For instructions on rebuilding mod_jk or use mod_jk-howto that comes with
Tomcat source...

good luck 

-Original Message-
From: Gerard BORREILL
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: 3/12/01 7:40 AM
Subject: Re: Help with Apache-Tomcat configuration

Hum,
  Well I do not remember exactly the error message, but I remember that
if you
do not compile Apache to support DSO an error like this  one may occur:
Apache
does not recognize the module as an apache module. So the solution is to
compile
Apache with DSO support.

  I hope this helps,

Grard

Martin Mauri wrote:

 Hi!

 I'm trying to configure Apache with Tomcat using mod_jk as the
adapter, and
 then I write it in the httpd.conf but when I install the mod_jk.so and
start
 Apache, I get the following error:

 API module structure 'jk_module' in file /etc/httpd/modules/mod_jk.so
is
 garbled
 - perhaps this is not an Apache module?

 please if anyone have some information, I'll be very happy!! :)

 regards.

 Lic. Martin O. Mauri
 Profesion + Auge A.F.J.P
 Parana 666 - Cap. Federal
 TE: (011) - 43737786/7
 [EMAIL PROTECTED]
 www.profesi.com.ar

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Help with Apache-Tomcat configuration

2001-03-10 Thread John Towell

This happened to me - exactly the same message.  You need to recompile your
mod_jk.so.  Get the source for Tomcat from the Jakarta site, and compile the
mod_jk.so according to the instructions in mod_jk-howto which comes with
Tomcat.  Good luck... 

-Original Message-
From: Martin Mauri
To: [EMAIL PROTECTED]
Sent: 3/9/01 2:48 PM
Subject: Help with Apache-Tomcat configuration

Hi!

I'm trying to configure Apache with Tomcat using mod_jk as the adapter,
and
then I write it in the httpd.conf but when I install the mod_jk.so and
start
Apache, I get the following error:

API module structure 'jk_module' in file /etc/httpd/modules/mod_jk.so is
garbled
- perhaps this is not an Apache module.

please if anyone have some information, I'll be very happy!! :)

regards.

Lic. Martin O. Mauri
Profesion + Auge A.F.J.P
Parana 666 - Cap. Federal
TE: (011) - 43737786/7
[EMAIL PROTECTED]
www.profesi.com.ar


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Help with Apache-Tomcat configuration

2001-03-10 Thread John Towell

Also - for additional mod_jk information and binaries, see:

http://willow.cc.edu/docs/adminguide/  

-Original Message-
From: John Towell
To: '[EMAIL PROTECTED]'
Sent: 3/10/01 9:02 AM
Subject: RE: Help with Apache-Tomcat configuration

This happened to me - exactly the same message.  You need to recompile
your
mod_jk.so.  Get the source for Tomcat from the Jakarta site, and compile
the
mod_jk.so according to the instructions in mod_jk-howto which comes with
Tomcat.  Good luck... 

-Original Message-
From: Martin Mauri
To: [EMAIL PROTECTED]
Sent: 3/9/01 2:48 PM
Subject: Help with Apache-Tomcat configuration

Hi!

I'm trying to configure Apache with Tomcat using mod_jk as the adapter,
and
then I write it in the httpd.conf but when I install the mod_jk.so and
start
Apache, I get the following error:

API module structure 'jk_module' in file /etc/httpd/modules/mod_jk.so is
garbled
- perhaps this is not an Apache module.

please if anyone have some information, I'll be very happy!! :)

regards.

Lic. Martin O. Mauri
Profesion + Auge A.F.J.P
Parana 666 - Cap. Federal
TE: (011) - 43737786/7
[EMAIL PROTECTED]
www.profesi.com.ar


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Help with Apache-Tomcat configuration

2001-03-10 Thread RameshBabu R Muthuvel

Hi

Installing  mod_jserv


1)Uncompress the download in some sensible place.

2)Copy the "ApacheModuleJServ.dll"  file into the Apache modules directory ( 
in our case c:\program files\apache group\apache\modules directory)

3)Start tomcat and keep it running

4)Edit the "httpd.conf" file ( in our case available in c:\progam 
files\apache group\apache\conf directory)

5)Add the following line to the end,

6)Include "c:\Program Files\Apache 
Group\jakarta-tomcat-3.2.1\conf\tomcat-apache.conf"

(use the correct path in your installation)

7)Save the file and stop Tomcat



Follow the above instructions. this worked for me

cheers

ramesh
[EMAIL PROTECTED]

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Help with Apache-Tomcat configuration

2001-03-09 Thread Martin Mauri

Hi!

I'm trying to configure Apache with Tomcat using mod_jk as the adapter, and
then I write it in the httpd.conf but when I install the mod_jk.so and start
Apache, I get the following error:

API module structure 'jk_module' in file /etc/httpd/modules/mod_jk.so is
garbled
- perhaps this is not an Apache module.

please if anyone have some information, I'll be very happy!! :)

regards.

Lic. Martin O. Mauri
Profesion + Auge A.F.J.P
Parana 666 - Cap. Federal
TE: (011) - 43737786/7
[EMAIL PROTECTED]
www.profesi.com.ar


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




bug or wrong Apache+Tomcat configuration???

2001-03-07 Thread Herchel Wojciech

Hi all!
I've encountered following problem. i have a protected area defined in my
web.xml file:

security-constraint
  web-resource-collection
 web-resource-nameProtected Area/web-resource-name
  url-pattern/protected/*/url-pattern
  http-methodDELETE/http-method
  http-methodGET/http-method
  http-methodPOST/http-method
http-methodPUT/http-method
 /web-resource-collection
 auth-constraint
   role-nametest/role-name
 role-namedevelope/role-name
 role-nameagent/role-name
 /auth-constraint
/security-constraint

under /protected I have serveral jsp files and they cannot be accessed
without authorization. however html and js files can be easily accessed
without authorization, simply by requesting a proper URL
(http://mydomain/protected/somefile.html) !! why is that?


vVolf

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Apache/Tomcat configuration with IRIX 6.5.x

2001-03-01 Thread Craig Bush

Just wanted to let everyone running Irix know some shortcuts to a
successful installation of
Apache 1.3.19
Tomcat 3.3m1

Need copy of GNU make.  Irix make doesn't work.  Back it up.

Apache...
Need to do:
./configure \
--prefix=/usr/local/apache \
--enable-rule=SHARED_CORE \
--enable-module=so

make
make install

Pretty easy.

For building mod_jk.so with Tomcat
Need to do two things:

1) cd /path/to/tomcat/native/mod_jk/apache1.3
   Edit line 47 of build-unix.sh and make it look like this.
   JAVA_INCLUDE="-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/irix"

2) Modify /path/to/tomcat/native/mod_jk/common/jk_pool.h
   Add following to end of code block:
   
   #elif defined(IRIX)
typedef long long  jk_pool_atom_t;

Run build-unix.sh
Run install-unix.sh  ...and copy of mod_jk.so goes to
.../apache/libexec.

Thanks go out to Mike Braden for the help.
 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Craig R. Bush
  Bioinformatics Software Engineer
  Sealy Center for Structural Biology
  Dept. of Human Biological Chemistry  Genetics
  University of Texas Medical Branch
  Galveston, TX  77555-1157 (409)747-6809; Fax -6850
  http://www.bioinfo.utmb.edu http://www.hbcg.utmb.edu
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Apache Tomcat Configuration

2001-02-05 Thread Mike Glose

Hello,

Do you have a list of companies who are using the Apache/Tomcat
configuration in their production environment?  I would like to find some
references at the technical and executive level.

Thank you,
---
Mike Glose
Unix System Administration
Requisite Technology 303-474-8146
Cell 303-888-2260
Pager 888-712-9405
"E-CONTENT SOLUTIONS THAT POWER B2B E-COMMERCE"




CONFIDENTIALITY NOTICE
This electronic mail transmission and any accompanying documents contain
information belonging to the sender 
("Information") that may be confidential and legally privileged.  If you are
not the intended recipient, any disclosure, copying,
distribution or action taken in reliance on the Information is strictly
prohibited.  If you have received the Information in error,
please contact the sender by reply email and destroy all copies of the
original email.
 Thank you.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Apache-Tomcat configuration problems: PLEASE HELP

2000-12-18 Thread Dave Emerson

Hi, I've been trying to get Tomcat and Apache configured to avoid the need 
to reference the port number in the URL.  Instead of 
http://localhost:8080/, I want to be able to say 
http://localhost/servlet/.   Isn't that what mod_jk is supposed to do for 
me?  At the moment I just like to get the same display of the default 
static web page that displays when I enter http://localhost:8080/.  Am I 
missing something fundamental here?

I've followed mod_jk-howto, apache-tomcat-howto, workers-howto.  My 
configuration is entirely vanilla.  Tomcat works fine standalone.  Apache 
works fine standalone (including virtual hosts).

My software is as follows:
OS - Win2000 Server
Apache - 1.3.14
JKD - 1.3
Tomcat - 3.2.1

excerpts from various config files and logs are:

###
SERVER.XML:
except for enabling debugging and the host section below, the server.xml 
file is as shipped with 3.2.1
###

 Host name="127.0.0.1" 
Context path=""
 docBase="webapps/examples" /
Context path="/examples"
 docBase="webapps/ROOT" /
 /Host


###
HTTPD.CONF
except for setting the following, the httpd.conf is as shipped with 1.3.14
###

ServerRoot "i:/program files/Apache-1.3.14"
DocumentRoot "i:/program files/Apache-1.3.14/htdocs"
Directory "i:/program files/Apache-1.3.14/htdocs"
ServerName localhost

include I:/Dev/jakarta-tomcat/conf/mod_jk.conf

NameVirtualHost *

VirtualHost *
 ServerName localhost
 DocumentRoot "i:/program files/Apache-1.3.14/htdocs"
 JkMount /*.jsp ajp12
 JkMount /servlet/* ajp12
/VirtualHost
VirtualHost *
 ServerAdmin [EMAIL PROTECTED]
 DocumentRoot "I:/DataFiles/SabrewingRoot"
 ServerName www.sabrewing.com
 ErrorLog logs/www.sabrewing.com-error_log
 JkMount /*.jsp ajp12
 JkMount /servlet/* ajp12
 CustomLog logs/www.sabrewing.com-access_log common
/VirtualHost


###
MOD_JK.CONF
###

###
# Auto generated configuration. Dated: Sun Dec 17 08:14:13 EST 2000
###

#
# The following line instructs Apache to load the jk module
#
LoadModule jk_module modules/mod_jk.dll

JkWorkersFile "I:/Dev/jakarta-tomcat/conf/workers.properties"
JkLogFile "I:/Dev/jakarta-tomcat/logs/mod_jk.log"

#
# Log level to be used by mod_jk
#
JkLogLevel debug

###
# SSL configuration   #
#
# By default mod_jk is configured to collect SSL information from
# the apache environment and send it to the Tomcat workers. The
# problem is that there are many SSL solutions for Apache and as
# a result the environment variable names may change.
#
# The following (commented out) JK related SSL configureation
# can be used to customize mod_jk's SSL behaviour.
#
# Should mod_jk send SSL information to Tomact (default is On)
# JkExtractSSL Off
#
# What is the indicator for SSL (default is HTTPS)
# JkHTTPSIndicator HTTPS
#
# What is the indicator for SSL session (default is SSL_SESSION_ID)
# JkSESSIONIndicator SSL_SESSION_ID
#
# What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
# JkCIPHERIndicator SSL_CIPHER
#
# What is the indicator for the client SSL certificated (default is 
SSL_CLIENT_CERT)
# JkCERTSIndicator SSL_CLIENT_CERT
#
# #
###

#
# Root context mounts for Tomcat
#
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12

#
# Auto configuration for the /examples context starts.
#

#
# The following line makes apache aware of the location of the /examples 
context
#
Alias /examples "I:/Dev/jakarta-tomcat/webapps/examples"
Directory "I:/Dev/jakarta-tomcat/webapps/examples"
 Options Indexes FollowSymLinks
/Directory

#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /examples/servlet/* ajp12
JkMount /examples/*.jsp ajp12

#
# The following line prohibits users from directly accessing WEB-INF
#
Location "/examples/WEB-INF/"
 AllowOverride None
 deny from all
/Location
#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
Directory "I:/Dev/jakarta-tomcat/webapps/examples/WEB-INF/"
 AllowOverride None
 deny from all
/Directory

#
# The following line prohibits users from directly accessing META-INF
#

Re: Apache-Tomcat configuration problems: PLEASE HELP

2000-12-18 Thread Dave Smith

Dave,

For me, the epiphany came when I figured out
that the server.xml Context needs to match up
with the apache directory you are serving out of.

See how your server.xml is mapping
the docBase to webapps/examples? That is
most likely a folder in the tomcat installation.
Apache doesn't know anything about that. To
synch them up, do something like this:

DocumentRoot for apache:  "i:/program files/Apache-1.3.14/htdocs"

in server.xml:

Context path=""
docBase="i:/program files/Apache-1.3.14/htdocs"
debug="1" reloadable="true"
/Context

This should get you working.

Regards,

Dave
- Original Message -
From: "Dave Emerson" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 18, 2000 9:43 AM
Subject: Apache-Tomcat configuration problems: PLEASE HELP


 Hi, I've been trying to get Tomcat and Apache configured to avoid the need
 to reference the port number in the URL.  Instead of
 http://localhost:8080/, I want to be able to say
 http://localhost/servlet/.   Isn't that what mod_jk is supposed to do for
 me?  At the moment I just like to get the same display of the default
 static web page that displays when I enter http://localhost:8080/.  Am I
 missing something fundamental here?

 I've followed mod_jk-howto, apache-tomcat-howto, workers-howto.  My
 configuration is entirely vanilla.  Tomcat works fine standalone.  Apache
 works fine standalone (including virtual hosts).

 My software is as follows:
 OS - Win2000 Server
 Apache - 1.3.14
 JKD - 1.3
 Tomcat - 3.2.1

 excerpts from various config files and logs are:

 ###
 SERVER.XML:
 except for enabling debugging and the host section below, the server.xml
 file is as shipped with 3.2.1
 ###

  Host name="127.0.0.1" 
 Context path=""
  docBase="webapps/examples" /
 Context path="/examples"
  docBase="webapps/ROOT" /
  /Host


 ###
 HTTPD.CONF
 except for setting the following, the httpd.conf is as shipped with 1.3.14
 ###

 ServerRoot "i:/program files/Apache-1.3.14"
 DocumentRoot "i:/program files/Apache-1.3.14/htdocs"
 Directory "i:/program files/Apache-1.3.14/htdocs"
 ServerName localhost

 include I:/Dev/jakarta-tomcat/conf/mod_jk.conf

 NameVirtualHost *

 VirtualHost *
  ServerName localhost
  DocumentRoot "i:/program files/Apache-1.3.14/htdocs"
  JkMount /*.jsp ajp12
  JkMount /servlet/* ajp12
 /VirtualHost
 VirtualHost *
  ServerAdmin [EMAIL PROTECTED]
  DocumentRoot "I:/DataFiles/SabrewingRoot"
  ServerName www.sabrewing.com
  ErrorLog logs/www.sabrewing.com-error_log
  JkMount /*.jsp ajp12
  JkMount /servlet/* ajp12
  CustomLog logs/www.sabrewing.com-access_log common
 /VirtualHost


 ###
 MOD_JK.CONF
 ###

 ###
 # Auto generated configuration. Dated: Sun Dec 17 08:14:13 EST 2000
 ###

 #
 # The following line instructs Apache to load the jk module
 #
 LoadModule jk_module modules/mod_jk.dll

 JkWorkersFile "I:/Dev/jakarta-tomcat/conf/workers.properties"
 JkLogFile "I:/Dev/jakarta-tomcat/logs/mod_jk.log"

 #
 # Log level to be used by mod_jk
 #
 JkLogLevel debug

 ###
 # SSL configuration   #
 #
 # By default mod_jk is configured to collect SSL information from
 # the apache environment and send it to the Tomcat workers. The
 # problem is that there are many SSL solutions for Apache and as
 # a result the environment variable names may change.
 #
 # The following (commented out) JK related SSL configureation
 # can be used to customize mod_jk's SSL behaviour.
 #
 # Should mod_jk send SSL information to Tomact (default is On)
 # JkExtractSSL Off
 #
 # What is the indicator for SSL (default is HTTPS)
 # JkHTTPSIndicator HTTPS
 #
 # What is the indicator for SSL session (default is SSL_SESSION_ID)
 # JkSESSIONIndicator SSL_SESSION_ID
 #
 # What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
 # JkCIPHERIndicator SSL_CIPHER
 #
 # What is the indicator for the client SSL certificated (default is
 SSL_CLIENT_CERT)
 # JkCERTSIndicator SSL_CLIENT_CERT
 #
 # #
 ##

apache - tomcat configuration- urgent

2000-12-08 Thread Kotturi, Rajendra

Hi,
  I have an application which consists of pure Java Servlets (not the
jsp) . I would like the request for these .class servlets to be sent tomcat
server by the apache. How should I configure my Tomcat  apache for doin
this. And where should I locate these class files. And what will be my URL
to access these servlets.

Thanks 
Rajendra