Re: Tomcat - Apache - Jk

2005-06-09 Thread Anto Paul
On 6/9/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Is it normal that Apache configured to relay jsp's to Tomcat doesn't write 
 the contents of the page (jpeg, gif, css and others) in it's access log ?
 
 
 
 I've configured Apache to relay only .jsp and .do requests, how is it that 
 the images don't show up in the access log ???
 
 

I dont know answer to your question but this may help you debug
the problem. You can enable the AccessLogValve in Tomcat's server.xml
to see what is being served by Tomcat.


-- 
rgds
Anto Paul

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



Re: Tomcat/Apache/JK(2)?

2005-05-20 Thread Darryl Wilburn
The only change I made to httpd.conf was to add the
line:  Include C:\Program Files\Apache Software
Foundation\Tomcat 5.5\conf\mod_jk.conf.  (You can put
the .conf file anywhere, you just have to tell Apache
where it's located.)

I did find that the HowTo instructions directed you to
use Auto-configure.  I ran that once to build the
mod_jk.conf-auto file.  What I found was that it
didn't  build it correctly.  The JKMount paths didn't
match what I had in Tomcat.  I don't recall what it
put in the file, but it wasn't right.  I ended up
removing the line that they tell you to add to
server.xml to auto-configure once I had the format of
the mod_jk.conf file.  Also, if you examine the
mod_jk.conf file, one of the first things it does is
to instruct Apache to LoadModule jk_module
modules/mod_jk.so, so it isn't necessary to add that
to the httpd.conf file.  I did populate the
information for JkWorkersFile and JkLogfile.  Once I
had the url's correctly defined, it just worked.

I wondered if it would be helpful for those who have
been successful at configuring the connector to just
publish a document for the various versions of Tomcat;
4.x, 5.0.x, and 5.5.x.  I only say that because even
the HowTo document that I used seemed to only get me
about 50% of the way there.

DW

--- Tom Holmes Jr. [EMAIL PROTECTED] wrote:

 I agree I should work with the files first to see if
 I can get it to 
 work.  I used the sample workers.properties file
 from Tomcat 5.5 in 
 order to create my working workers,properties file. 
   So, now when I 
 restart Apache2, it doesn't complain and it looks
 like it is 
 communicating with Tomcat 5.5.
 
 However, when I try my JSP page, I get a big 'OK' at
 the top of the 
 screen and then I get this error message:
 The server encountered an internal error or
 misconfiguration and was 
 unable to complete your request.
 
 Please contact the server administrator,
 [EMAIL PROTECTED] 
 and inform them of the time the error occurred, and
 anything you might 
 have done that may have caused the error.
 
 More information about this error may be available
 in the server error log.
 
 So . after reading the documentation you
 referred me to, it looks 
 like I need to update my httpd.conf file a bit more.
   I mean I got the 
 LoadModule working, but it looks like I need to add
 some Jk commands 
 like JkMount to my httpd.conf file.   So, I am
 playing with that now.
 
 I might need your files as a sample, but I'll work
 on this on my own for 
 a little while. Thanks very much.
 
Tom
 
 Darryl Wilburn wrote:
 
 Tom,
 If you need them, I can send you my actual files. 
 Although I encourage you to do all you can do on
 your
 own to figure it out.  It'll pay huge dividends in
 the
 end if you understand what you had to do to make it
 work.
 
 DW
 
 --- Tom Holmes Jr. [EMAIL PROTECTED] wrote:
   
 
 I can't thank you enough.  I was wondering if
 anyone
 had done it, and 
 you certainly have.
 
 The sample files I have has always been the
 biggest
 hurdle for me also.  
 The mod_jk.so I am using is
 mod_jk-1.2.13-apache-2.0.54.so which I 
 think is for Windows.
 
 I'll refer to the same directions you used, and I
 am
 sure I will get it 
 also.   
 Thanks for giving me hope that it can be done! 
 Now
 I just have to get 
 past those sample files also.
 
 Thanks again!
 
   Tom
 
 Darryl Wilburn wrote:
 
 
 
 Tom,
 I have Tomcat 5.5.7, Apache 2.0.54, JRE 1.5.0_03,
   
 
 JK
 
 
 1.2.11, running on Win2k3 server with no
 problems. 
 The biggest hurdle I had to get over was making
 the
 necessary changes on the sample files included
 with
 the software.  (the worker names didn't match) 
 The
 files required are mod_jk.so (downloaded at
   
 

http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/)
 
 
  The instructions I followed are at
   
 

http://jakarta.apache.org/tomcat/connectors-doc/howto/apache.html.
 
 
 The other files involved are workers.properties,
 mod_jk.conf.  The HowTo instructions at the above
   
 
 link
 
 
 are excellent.
 
 DW
 
 --- Tom Holmes Jr. [EMAIL PROTECTED] wrote:
  
 
   
 
 Ok, I'm not a newbie to Apache 2.x, Tomcat 4.x,
 
 
 JK2
 
 
 with Java SDK 1.4.x  
 ... I have gotten these to work over the years
 
 
 with
 
 
 few problems either 
 on a Windows or Linux environment.  I've
 modified
 the httpd.conf file 
 and workers2.properties files under Apache 2.x,
 
 
 and
 
 
 the server.xml and 
 jk2.properties under Tomcat 4.x.
 
 However, now I am in unfamiliar territory once
 
 
 more.
 
 
 I am working on 
 Windows 2000, and I want to use Apache 2.x which
 I
 have no problems 
 working with.  But now, I want it to work with
 Tomcat 5.5.x ...  so, 
 here the questions begins:
 
 I understand that I should be using the Java SDK
 
 
 1.5
 
 
 now with Tomcat 
 5.5.x, is that correct?
 
 I 

Re: Tomcat/Apache/JK(2)?

2005-05-20 Thread Tom Holmes Jr.
I have Tomcat 5.5.9 using JK to communicate with Apache 2.0.54 just 
fine.  The workers.properties file is configured correctly, the 
httpd.conf is configured correctly, and I had to make a small change to 
server.xml to call my new site.   This is all running on one Windows 
2000 Server machine.

When I first started this I was getting the problem listed below.   
Looking at the mod_jk.log I found that Tomcat 5.5.9 wasn't listening.   
So, basically what I had to do was start Tomcat MANUALLY, and then 
everything worked perfectly.

So, what I'd like to do is configure JNI so with JK (not JK2 since it is 
now deprecated) and get Apache 2.0.54 to automatically start Tomcat 
5.5.9.   Or, I'd like to use JK (via Apache 2.0.54) to start Tomcat 
5.5.9 in-process.

In short, can I do this? If I can, can someone refer me to the steps 
I have to take in workers.properties, server.xml, and httpd.config to 
make this happen.  

BTW, in my research I have found people using JK to connect Apache 2.0.x 
to Tomat 4.x, but it usually involves modifying server.xml to use the 
Tomcat4 CoyoteConnector, and I wasn;t sure if that was available for 
Tomcat 5.5.

Any help would be much appreciated, and if you need any more information 
from me, please let me know.   Thanks.

  Tom
Tom Holmes Jr. wrote:
I agree I should work with the files first to see if I can get it to 
work.  I used the sample workers.properties file from Tomcat 5.5 in 
order to create my working workers,properties file.So, now when I 
restart Apache2, it doesn't complain and it looks like it is 
communicating with Tomcat 5.5.

However, when I try my JSP page, I get a big 'OK' at the top of the 
screen and then I get this error message:
The server encountered an internal error or misconfiguration and was 
unable to complete your request.

Please contact the server administrator, 
[EMAIL PROTECTED] and inform them of the time the error 
occurred, and anything you might have done that may have caused the 
error.

More information about this error may be available in the server error 
log.

So . after reading the documentation you referred me to, it looks 
like I need to update my httpd.conf file a bit more.   I mean I got 
the LoadModule working, but it looks like I need to add some Jk 
commands like JkMount to my httpd.conf file.   So, I am playing with 
that now.

I might need your files as a sample, but I'll work on this on my own 
for a little while. Thanks very much.

  Tom
Darryl Wilburn wrote:
Tom,
If you need them, I can send you my actual files. Although I 
encourage you to do all you can do on your
own to figure it out.  It'll pay huge dividends in the
end if you understand what you had to do to make it
work.

DW
--- Tom Holmes Jr. [EMAIL PROTECTED] wrote:
 

I can't thank you enough.  I was wondering if anyone
had done it, and you certainly have.
The sample files I have has always been the biggest
hurdle for me also.  The mod_jk.so I am using is
mod_jk-1.2.13-apache-2.0.54.so which I think is for Windows.
I'll refer to the same directions you used, and I am
sure I will get it also.   Thanks for giving me hope that it can be 
done!  Now
I just have to get past those sample files also.

Thanks again!
 Tom
Darryl Wilburn wrote:
  

Tom,
I have Tomcat 5.5.7, Apache 2.0.54, JRE 1.5.0_03,

JK
  

1.2.11, running on Win2k3 server with no problems. The biggest 
hurdle I had to get over was making the
necessary changes on the sample files included with
the software.  (the worker names didn't match)  The
files required are mod_jk.so (downloaded at

http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/)
  

The instructions I followed are at

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

The other files involved are workers.properties,
mod_jk.conf.  The HowTo instructions at the above

link
  

are excellent.
DW
--- Tom Holmes Jr. [EMAIL PROTECTED] wrote:


Ok, I'm not a newbie to Apache 2.x, Tomcat 4.x,
  

JK2
  

with Java SDK 1.4.x  ... I have gotten these to work over the years
  

with
  

few problems either on a Windows or Linux environment.  I've modified
the httpd.conf file and workers2.properties files under Apache 2.x,
  

and
  

the server.xml and jk2.properties under Tomcat 4.x.
However, now I am in unfamiliar territory once
  

more.
  

I am working on Windows 2000, and I want to use Apache 2.x which I
have no problems working with.  But now, I want it to work with
Tomcat 5.5.x ...  so, here the questions begins:
I understand that I should be using the Java SDK
  

1.5
  

now with Tomcat 5.5.x, is that correct?
I always thought that JK2 was the new version of
  

JK.
  

I have always used JK2 to connect tomcat 4.x to Apache 2.x.  I
understand that JK2 is now deprecated and is no longer getting any 
support?  Does this mean I should now use JK to connect Tomcat 
5.5.x 

Re: Tomcat/Apache/JK(2)?

2005-05-19 Thread Darryl Wilburn
Tom,
If you need them, I can send you my actual files. 
Although I encourage you to do all you can do on your
own to figure it out.  It'll pay huge dividends in the
end if you understand what you had to do to make it
work.

DW

--- Tom Holmes Jr. [EMAIL PROTECTED] wrote:
 I can't thank you enough.  I was wondering if anyone
 had done it, and 
 you certainly have.
 
 The sample files I have has always been the biggest
 hurdle for me also.  
 The mod_jk.so I am using is
 mod_jk-1.2.13-apache-2.0.54.so which I 
 think is for Windows.
 
 I'll refer to the same directions you used, and I am
 sure I will get it 
 also.   
 Thanks for giving me hope that it can be done!  Now
 I just have to get 
 past those sample files also.
 
 Thanks again!
 
   Tom
 
 Darryl Wilburn wrote:
 
 Tom,
 I have Tomcat 5.5.7, Apache 2.0.54, JRE 1.5.0_03,
 JK
 1.2.11, running on Win2k3 server with no problems. 
 The biggest hurdle I had to get over was making the
 necessary changes on the sample files included with
 the software.  (the worker names didn't match)  The
 files required are mod_jk.so (downloaded at

http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/)
   The instructions I followed are at

http://jakarta.apache.org/tomcat/connectors-doc/howto/apache.html.
  The other files involved are workers.properties,
 mod_jk.conf.  The HowTo instructions at the above
 link
 are excellent.
 
 DW
 
 --- Tom Holmes Jr. [EMAIL PROTECTED] wrote:
   
 
 Ok, I'm not a newbie to Apache 2.x, Tomcat 4.x,
 JK2
 with Java SDK 1.4.x  
 ... I have gotten these to work over the years
 with
 few problems either 
 on a Windows or Linux environment.  I've modified
 the httpd.conf file 
 and workers2.properties files under Apache 2.x,
 and
 the server.xml and 
 jk2.properties under Tomcat 4.x.
 
 However, now I am in unfamiliar territory once
 more.
  I am working on 
 Windows 2000, and I want to use Apache 2.x which I
 have no problems 
 working with.  But now, I want it to work with
 Tomcat 5.5.x ...  so, 
 here the questions begins:
 
 I understand that I should be using the Java SDK
 1.5
 now with Tomcat 
 5.5.x, is that correct?
 
 I always thought that JK2 was the new version of
 JK.
  I have always used 
 JK2 to connect tomcat 4.x to Apache 2.x.  I
 understand that JK2 is now 
 deprecated and is no longer getting any support?  
 Does this mean I 
 should now use JK to connect Tomcat 5.5.x with
 Apache 2.x?   Do I still 
 need a workers2.properties file?
 
 Where can I find documentation on using JK in
 order
 to connect Apache 
 2.x with Tomcat 5.5.x?   Any sample files I need?
 
 I know I've seen a lot of questions about this on
 this list and on the 
 net (yes, Google is my friend), but I only get
 bits
 and pieces of the 
 whole, I was looking for anything more
 comprehensive.
 
 Thanks for any help you guys can provide!
 
   
  
 
 Tom
 
 
 
 

-
   
 
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 
 
  
 __ 
 Yahoo! Mail Mobile 
 Take Yahoo! Mail with you! Check email on your
 mobile phone. 
 http://mobile.yahoo.com/learn/mail 
 

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




__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

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



Re: Tomcat/Apache/JK(2)?

2005-05-19 Thread Tom Holmes Jr.
I agree I should work with the files first to see if I can get it to 
work.  I used the sample workers.properties file from Tomcat 5.5 in 
order to create my working workers,properties file.So, now when I 
restart Apache2, it doesn't complain and it looks like it is 
communicating with Tomcat 5.5.

However, when I try my JSP page, I get a big 'OK' at the top of the 
screen and then I get this error message:
The server encountered an internal error or misconfiguration and was 
unable to complete your request.

Please contact the server administrator, [EMAIL PROTECTED] 
and inform them of the time the error occurred, and anything you might 
have done that may have caused the error.

More information about this error may be available in the server error log.
So . after reading the documentation you referred me to, it looks 
like I need to update my httpd.conf file a bit more.   I mean I got the 
LoadModule working, but it looks like I need to add some Jk commands 
like JkMount to my httpd.conf file.   So, I am playing with that now.

I might need your files as a sample, but I'll work on this on my own for 
a little while. Thanks very much.

  Tom
Darryl Wilburn wrote:
Tom,
If you need them, I can send you my actual files. 
Although I encourage you to do all you can do on your
own to figure it out.  It'll pay huge dividends in the
end if you understand what you had to do to make it
work.

DW
--- Tom Holmes Jr. [EMAIL PROTECTED] wrote:
 

I can't thank you enough.  I was wondering if anyone
had done it, and 
you certainly have.

The sample files I have has always been the biggest
hurdle for me also.  
The mod_jk.so I am using is
mod_jk-1.2.13-apache-2.0.54.so which I 
think is for Windows.

I'll refer to the same directions you used, and I am
sure I will get it 
also.   
Thanks for giving me hope that it can be done!  Now
I just have to get 
past those sample files also.

Thanks again!
 Tom
Darryl Wilburn wrote:
   

Tom,
I have Tomcat 5.5.7, Apache 2.0.54, JRE 1.5.0_03,
 

JK
   

1.2.11, running on Win2k3 server with no problems. 
The biggest hurdle I had to get over was making the
necessary changes on the sample files included with
the software.  (the worker names didn't match)  The
files required are mod_jk.so (downloaded at
 

http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/)
   

The instructions I followed are at
 

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

The other files involved are workers.properties,
mod_jk.conf.  The HowTo instructions at the above
 

link
   

are excellent.
DW
--- Tom Holmes Jr. [EMAIL PROTECTED] wrote:
 

Ok, I'm not a newbie to Apache 2.x, Tomcat 4.x,
   

JK2
   

with Java SDK 1.4.x  
... I have gotten these to work over the years
   

with
   

few problems either 
on a Windows or Linux environment.  I've modified
the httpd.conf file 
and workers2.properties files under Apache 2.x,
   

and
   

the server.xml and 
jk2.properties under Tomcat 4.x.

However, now I am in unfamiliar territory once
   

more.
   

I am working on 
Windows 2000, and I want to use Apache 2.x which I
have no problems 
working with.  But now, I want it to work with
Tomcat 5.5.x ...  so, 
here the questions begins:

I understand that I should be using the Java SDK
   

1.5
   

now with Tomcat 
5.5.x, is that correct?

I always thought that JK2 was the new version of
   

JK.
   

I have always used 
JK2 to connect tomcat 4.x to Apache 2.x.  I
understand that JK2 is now 
deprecated and is no longer getting any support?  
Does this mean I 
should now use JK to connect Tomcat 5.5.x with
Apache 2.x?   Do I still 
need a workers2.properties file?

Where can I find documentation on using JK in
   

order
   

to connect Apache 
2.x with Tomcat 5.5.x?   Any sample files I need?

I know I've seen a lot of questions about this on
this list and on the 
net (yes, Google is my friend), but I only get
   

bits
   

and pieces of the 
whole, I was looking for anything more
comprehensive.

Thanks for any help you guys can provide!

   

   

  
Tom

  

   

-
   


 

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

   

		
__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your
 

mobile phone. 
   

http://mobile.yahoo.com/learn/mail 

 

-
   

To unsubscribe, e-mail:
 

[EMAIL PROTECTED]
   

For additional commands, e-mail:
 

[EMAIL PROTECTED]
   


 

   

-
 

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

RE: Tomcat/Apache/JK(2)?

2005-05-18 Thread Didier McGillis
I too am a Apache/Tomcat/Modjk2 vet.  I have begun looking at moving to 
Tomcat 5.5 and evaluating the need for Apache, as well as other connectors 
for Modjk2.  One you can look at would be Apache Mod Proxy, apparently that 
has caught on as an excellent way to connect Apache to Tomcat.

From: Tom Holmes Jr. [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: tomcat-user@jakarta.apache.org
Subject: Tomcat/Apache/JK(2)?
Date: Wed, 18 May 2005 11:02:00 -0400
Ok, I'm not a newbie to Apache 2.x, Tomcat 4.x, JK2 with Java SDK 1.4.x  
... I have gotten these to work over the years with few problems either on 
a Windows or Linux environment.  I've modified the httpd.conf file and 
workers2.properties files under Apache 2.x, and the server.xml and 
jk2.properties under Tomcat 4.x.

However, now I am in unfamiliar territory once more.  I am working on 
Windows 2000, and I want to use Apache 2.x which I have no problems working 
with.  But now, I want it to work with Tomcat 5.5.x ...  so, here the 
questions begins:

I understand that I should be using the Java SDK 1.5 now with Tomcat 5.5.x, 
is that correct?

I always thought that JK2 was the new version of JK.  I have always used 
JK2 to connect tomcat 4.x to Apache 2.x.  I understand that JK2 is now 
deprecated and is no longer getting any support?   Does this mean I should 
now use JK to connect Tomcat 5.5.x with Apache 2.x?   Do I still need a 
workers2.properties file?

Where can I find documentation on using JK in order to connect Apache 2.x 
with Tomcat 5.5.x?   Any sample files I need?

I know I've seen a lot of questions about this on this list and on the net 
(yes, Google is my friend), but I only get bits and pieces of the whole, I 
was looking for anything more comprehensive.

Thanks for any help you guys can provide!
   
 Tom

-
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: Tomcat/Apache/JK(2)?

2005-05-18 Thread Darryl Wilburn
Tom,
I have Tomcat 5.5.7, Apache 2.0.54, JRE 1.5.0_03, JK
1.2.11, running on Win2k3 server with no problems. 
The biggest hurdle I had to get over was making the
necessary changes on the sample files included with
the software.  (the worker names didn't match)  The
files required are mod_jk.so (downloaded at
http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/)
  The instructions I followed are at
http://jakarta.apache.org/tomcat/connectors-doc/howto/apache.html.
 The other files involved are workers.properties,
mod_jk.conf.  The HowTo instructions at the above link
are excellent.

DW

--- Tom Holmes Jr. [EMAIL PROTECTED] wrote:
 Ok, I'm not a newbie to Apache 2.x, Tomcat 4.x, JK2
 with Java SDK 1.4.x  
 ... I have gotten these to work over the years with
 few problems either 
 on a Windows or Linux environment.  I've modified
 the httpd.conf file 
 and workers2.properties files under Apache 2.x, and
 the server.xml and 
 jk2.properties under Tomcat 4.x.
 
 However, now I am in unfamiliar territory once more.
  I am working on 
 Windows 2000, and I want to use Apache 2.x which I
 have no problems 
 working with.  But now, I want it to work with
 Tomcat 5.5.x ...  so, 
 here the questions begins:
 
 I understand that I should be using the Java SDK 1.5
 now with Tomcat 
 5.5.x, is that correct?
 
 I always thought that JK2 was the new version of JK.
  I have always used 
 JK2 to connect tomcat 4.x to Apache 2.x.  I
 understand that JK2 is now 
 deprecated and is no longer getting any support?  
 Does this mean I 
 should now use JK to connect Tomcat 5.5.x with
 Apache 2.x?   Do I still 
 need a workers2.properties file?
 
 Where can I find documentation on using JK in order
 to connect Apache 
 2.x with Tomcat 5.5.x?   Any sample files I need?
 
 I know I've seen a lot of questions about this on
 this list and on the 
 net (yes, Google is my friend), but I only get bits
 and pieces of the 
 whole, I was looking for anything more
 comprehensive.
 
 Thanks for any help you guys can provide!
 
 
 
 Tom
 

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



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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



Re: Tomcat/Apache/JK(2)?

2005-05-18 Thread Tom Holmes Jr.
I can't thank you enough.  I was wondering if anyone had done it, and 
you certainly have.

The sample files I have has always been the biggest hurdle for me also.  
The mod_jk.so I am using is mod_jk-1.2.13-apache-2.0.54.so which I 
think is for Windows.

I'll refer to the same directions you used, and I am sure I will get it 
also.   
Thanks for giving me hope that it can be done!  Now I just have to get 
past those sample files also.

Thanks again!
 Tom
Darryl Wilburn wrote:
Tom,
I have Tomcat 5.5.7, Apache 2.0.54, JRE 1.5.0_03, JK
1.2.11, running on Win2k3 server with no problems. 
The biggest hurdle I had to get over was making the
necessary changes on the sample files included with
the software.  (the worker names didn't match)  The
files required are mod_jk.so (downloaded at
http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/)
 The instructions I followed are at
http://jakarta.apache.org/tomcat/connectors-doc/howto/apache.html.
The other files involved are workers.properties,
mod_jk.conf.  The HowTo instructions at the above link
are excellent.

DW
--- Tom Holmes Jr. [EMAIL PROTECTED] wrote:
 

Ok, I'm not a newbie to Apache 2.x, Tomcat 4.x, JK2
with Java SDK 1.4.x  
... I have gotten these to work over the years with
few problems either 
on a Windows or Linux environment.  I've modified
the httpd.conf file 
and workers2.properties files under Apache 2.x, and
the server.xml and 
jk2.properties under Tomcat 4.x.

However, now I am in unfamiliar territory once more.
I am working on 
Windows 2000, and I want to use Apache 2.x which I
have no problems 
working with.  But now, I want it to work with
Tomcat 5.5.x ...  so, 
here the questions begins:

I understand that I should be using the Java SDK 1.5
now with Tomcat 
5.5.x, is that correct?

I always thought that JK2 was the new version of JK.
I have always used 
JK2 to connect tomcat 4.x to Apache 2.x.  I
understand that JK2 is now 
deprecated and is no longer getting any support?  
Does this mean I 
should now use JK to connect Tomcat 5.5.x with
Apache 2.x?   Do I still 
need a workers2.properties file?

Where can I find documentation on using JK in order
to connect Apache 
2.x with Tomcat 5.5.x?   Any sample files I need?

I know I've seen a lot of questions about this on
this list and on the 
net (yes, Google is my friend), but I only get bits
and pieces of the 
whole, I was looking for anything more
comprehensive.

Thanks for any help you guys can provide!
   
   
Tom

   

-
 

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


		
__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

-
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: Tomcat + Apache Web Server

2005-04-07 Thread Mike Millson
 Well the Coyote connector for one definitely has compression available
 and compresses content nicely, even dynamic content. 

OK, I see this now. And I see that you can configure the MIME types you
want to compress. Very good.

 I'm not sure of
 the specifics of the caching mechanisms used internally to Tomcat but
 it achieves caching nicely giving 304 not modified responses where
 applicable and often the browser will cache the static content so a
 request isn't even made.

I just test Tomcat standalone and checked the 5.0 code, and there is
nothing that sets the expires or cache-control max-age. Content will not
be pulled from local cache unless these are specified, unless your
browser is performing some magic. So it looks to me the best you can do
w/ Tomcat is achieve a 304 response.

304 responses are inefficient for truly static content like images,
style sheets, external JavaScript files, and perhaps some html and/or
test pages. These resources should be served from the browser cache
directly w/o connecting to the server. A server is only able to handle
so many connections, so it limits scalability.

But I have seen filters that do this w/ Tomcat. If Tomcat would allow a
configurable out-of-box way to set headers for static content, I may be
out of arguments for why I personally like to use Apache to handle
static content.

Mike


Merit Online Systems, Inc.
http://www.meritonlinesystems.com



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



RE: Tomcat + Apache Web Server

2005-04-06 Thread Pete Stevens
 Consider the following Apache modules:
 mod_headers
 mod_expire
 mod_deflate

 I've never seen a web application that wouldn't benefit from one or all
 of these modules. And the performance improvements would likely more
 than outweigh any overhead.

 If Tomcat provides any of the functionality of mod_headers, mod_expire,
 or mod_deflate, it's news to me. So, why reinvent the wheel (e.g. w/ a
 filter) when this functionality is available in Apache?

 I'm still unconvinced that running Apache in front of Tomcat isn't
 almost always a good thing. But I'm listening if someone can convince me
 otherwise.

Configuring Tomcat is a challenge. Configuring Tomcat + mod_jk + apache is
even more of a challenge (see the number of posts on this list alone!). The
chance of you dropping a security screw-up into the more complicated setup is
much higher than the simple set up.[*] Unless you really need the performance
benefit of the above modules - and many many people don't - why go to the
extra setup effort, and extra risk of making mistakes?

My benchmarks showed that on cheap new hardware (P4, 2.5Ghz) that apache and
tomcat were both capable at webserving at a speed that would cost me a fortune
in bandwidth and any delay would be in the application code, not the
performance of the webserver. My tomcat install survived a direct slashdot
without issue, so all I care about is manageability, performance (for me) is a
solved problem.

Of course, if you're trying to run something the size of ebay it's a little
different.

Pete

[*] Pick a random website running java. Try to download
foo.com/WEB-INF/web.xml. Be scared how often it succeeds.

--
Pete Stevens
[EMAIL PROTECTED]
http://www.ex-parrot.com/~pete/

 I have kleptomania, but when it gets bad, I take something for it.
   -- Anonymous

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



RE: Tomcat + Apache Web Server

2005-04-06 Thread Mike Millson
On Wed, 2005-04-06 at 07:18, Pete Stevens wrote:
  Consider the following Apache modules:
  mod_headers
  mod_expire
  mod_deflate
 
  I've never seen a web application that wouldn't benefit from one or all
  of these modules. And the performance improvements would likely more
  than outweigh any overhead.
 
  If Tomcat provides any of the functionality of mod_headers, mod_expire,
  or mod_deflate, it's news to me. So, why reinvent the wheel (e.g. w/ a
  filter) when this functionality is available in Apache?
 
  I'm still unconvinced that running Apache in front of Tomcat isn't
  almost always a good thing. But I'm listening if someone can convince me
  otherwise.
 
 Configuring Tomcat is a challenge. Configuring Tomcat + mod_jk + apache is
 even more of a challenge (see the number of posts on this list alone!). The
 chance of you dropping a security screw-up into the more complicated setup is
 much higher than the simple set up.[*] Unless you really need the performance
 benefit of the above modules - and many many people don't - why go to the
 extra setup effort, and extra risk of making mistakes?
 
 
Every web application can benefit from compressing and caching static
resources. It decreases the number of connections your server must
handle. To not have caching, I think, is to ignore a best practice. Or
at the very least ignore the opportunity to improve the user experience
with faster response times. It's not that hard to integrate Apache w/
Tomcat, and I still benefits to this approach that standalone Tomcat
does not offer.

Mike
-- 
Merit Online Systems, Inc.
http://www.meritonlinesystems.com



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



Re: Tomcat + Apache Web Server

2005-04-06 Thread Jason Bainbridge
On Apr 6, 2005 11:20 AM, Mike Millson [EMAIL PROTECTED] wrote:

 Every web application can benefit from compressing and caching static
 resources. It decreases the number of connections your server must
 handle. To not have caching, I think, is to ignore a best practice. Or
 at the very least ignore the opportunity to improve the user experience
 with faster response times. It's not that hard to integrate Apache w/
 Tomcat, and I still benefits to this approach that standalone Tomcat
 does not offer.

Well the Coyote connector for one definitely has compression available
and compresses content nicely, even dynamic content. I'm not sure of
the specifics of the caching mechanisms used internally to Tomcat but
it achieves caching nicely giving 304 not modified responses where
applicable and often the browser will cache the static content so a
request isn't even made.

Regards,
-- 
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Personal Site - http://jasonbainbridge.com

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



Re: Tomcat + Apache Web Server

2005-04-05 Thread Jorge Davila
You most configure mod_proxy in apache to get the configuration desired.

The idea is that apache receive the request and if the request is for
tomcat apache send the request at the respective servlet.

http://httpd.apache.org/docs-2.0/mod/mod_proxy.html

Best regards,

Jorge Dvila.

El mar, 05-04-2005 a las 16:50 -0400, Magnotta, Salvatore escribi:
 Hello,
 
 I'm new with Apache products and this is my first post.  Please see the 
 background info - it explains what versions I have and what I have done.
 
 Question: How can I have both Apache and Tomcat running on a Windows platform 
 using Internet Explorer and do the following:
 
 http://localhost/servlet/HelloServlet  (no Tomcat default port 8080)
 
 instead of 
 
 http://localhost:8080/servlet/HelloServlet
 
 ?
 
 If I try to do http://localhost/servlet/HelloServlet  I get an internal 
 server error.  It cannot find where this is located.
 Apache is trying to find it at C:\Documents and Settings\username\My 
 Documents\My Website\localhost\www\servlet\HelloServlet
 
 instead of 
 
 C:\Program Files\Apache Software Foundation\Tomcat 
 5.5\webapps\ROOT\WEB-INF\classes\HelloServlet
 
 -
 Background:  
 
 Apache 2.0.53  (Port 80 - default)
 Tomcat 5.5.7(Port 8080 - default)
 mod_jk 1.2.8 (to connect the two together)
 
 Operating System: Win 2K Server
 
 I installed both Apache and Tomcat as Windows Services using the install 
 programs that are available.  
 
 I am able to access  http://localhost and http://localhost:80  (Apache Web 
 server page comes up)
 I am able to access http://localhost:8080  (Tomcat page comes up)
 I am able to create basic servlets and run them.  For example, 
 http://localhost:8080/servlet/HelloServlet
 I am able to access this host from another machine running Win XP.  I can 
 bring up the Apache and Tomcat home pages on that PC's browser, and the 
 servlets.
 
 I have placed the following in my httpd.conf file:
 
 LoadModule jk_module modules/mod_jk.so
 JkWorkersFile C:/Program Files/Apache Software Foundation/Tomcat 
 5.5/conf/workers.properties
 JkLogFile C:/Program Files/Apache Group/Apache2/logs/mod_jk.log
 JkLogLevel info
 JkLogStampFormat [%a %b %d %H:%M:%S %Y] 
 
 I have the workers.properties file also set up:
 
 worker.ajp13.port=8009
 worker.ajp13.host=localhost
 worker.ajp13.type=ajp13
 worker.ajp13.lbfactor=2
 
 worker.loadbalancer.type=lb
 worker.loadbalancer.balanced_workers=ajp12, ajp13
 
 
 Thank you,
 Sal
 
 
 
 
 


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



RE: Tomcat + Apache Web Server

2005-04-05 Thread Caldarale, Charles R
 From: Magnotta, Salvatore [mailto:[EMAIL PROTECTED] 
 Subject: Tomcat + Apache Web Server
 
 Question: How can I have both Apache and Tomcat running on a 
 Windows platform using Internet Explorer and do the following:

Before introducing that complexity, why are you using Apache httpd at
all?  Peter Lin's recent testing showed little performance improvement
using httpd vs. Tomcat 5.5.7 for static content.  See
http://cvs.apache.org/~woolfel/benchmark_summary.doc for details.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



RE: Tomcat + Apache Web Server

2005-04-05 Thread Magnotta, Salvatore
Well, it is a project here at work and that is what the requirements are for 
this project.  I'll do more research and see if I can change some minds...

Is the only solution using a reverse proxy server for example to redirect the 
client requests?

e.g. ProxyPass /servlet http://localhost:8080/servlet   or something like this ?

...Thanks for the link.

-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 05, 2005 5:58 PM
To: Tomcat Users List
Subject: RE: Tomcat + Apache Web Server


 From: Magnotta, Salvatore [mailto:[EMAIL PROTECTED] 
 Subject: Tomcat + Apache Web Server
 
 Question: How can I have both Apache and Tomcat running on a 
 Windows platform using Internet Explorer and do the following:

Before introducing that complexity, why are you using Apache httpd at
all?  Peter Lin's recent testing showed little performance improvement
using httpd vs. Tomcat 5.5.7 for static content.  See
http://cvs.apache.org/~woolfel/benchmark_summary.doc for details.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
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: Tomcat + Apache Web Server

2005-04-05 Thread Jorge Davila
Are you suggesting that we can drop apache and only use tomcat in some
cases?

El mar, 05-04-2005 a las 16:58 -0500, Caldarale, Charles R escribi:
  From: Magnotta, Salvatore [mailto:[EMAIL PROTECTED] 
  Subject: Tomcat + Apache Web Server
  
  Question: How can I have both Apache and Tomcat running on a 
  Windows platform using Internet Explorer and do the following:
 
 Before introducing that complexity, why are you using Apache httpd at
 all?  Peter Lin's recent testing showed little performance improvement
 using httpd vs. Tomcat 5.5.7 for static content.  See
 http://cvs.apache.org/~woolfel/benchmark_summary.doc for details.
 
  - Chuck
 
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail
 and its attachments from all computers.
 
 -
 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: Tomcat + Apache Web Server

2005-04-05 Thread Magnotta, Salvatore
The solution is:

ProxyRequests Off
ProxyPass /servlet http://localhost:8080/servlet/

Thanks Jorge!

-Original Message-
From: Jorge Davila [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 05, 2005 4:57 PM
To: Tomcat Users List
Subject: Re: Tomcat + Apache Web Server


You most configure mod_proxy in apache to get the configuration desired.

The idea is that apache receive the request and if the request is for
tomcat apache send the request at the respective servlet.

http://httpd.apache.org/docs-2.0/mod/mod_proxy.html

Best regards,

Jorge Dvila.

El mar, 05-04-2005 a las 16:50 -0400, Magnotta, Salvatore escribi:
 Hello,
 
 I'm new with Apache products and this is my first post.  Please see the 
 background info - it explains what versions I have and what I have done.
 
 Question: How can I have both Apache and Tomcat running on a Windows platform 
 using Internet Explorer and do the following:
 
 http://localhost/servlet/HelloServlet  (no Tomcat default port 8080)
 
 instead of 
 
 http://localhost:8080/servlet/HelloServlet
 
 ?
 
 If I try to do http://localhost/servlet/HelloServlet  I get an internal 
 server error.  It cannot find where this is located.
 Apache is trying to find it at C:\Documents and Settings\username\My 
 Documents\My Website\localhost\www\servlet\HelloServlet
 
 instead of 
 
 C:\Program Files\Apache Software Foundation\Tomcat 
 5.5\webapps\ROOT\WEB-INF\classes\HelloServlet
 
 -
 Background:  
 
 Apache 2.0.53  (Port 80 - default)
 Tomcat 5.5.7(Port 8080 - default)
 mod_jk 1.2.8 (to connect the two together)
 
 Operating System: Win 2K Server
 
 I installed both Apache and Tomcat as Windows Services using the install 
 programs that are available.  
 
 I am able to access  http://localhost and http://localhost:80  (Apache Web 
 server page comes up)
 I am able to access http://localhost:8080  (Tomcat page comes up)
 I am able to create basic servlets and run them.  For example, 
 http://localhost:8080/servlet/HelloServlet
 I am able to access this host from another machine running Win XP.  I can 
 bring up the Apache and Tomcat home pages on that PC's browser, and the 
 servlets.
 
 I have placed the following in my httpd.conf file:
 
 LoadModule jk_module modules/mod_jk.so
 JkWorkersFile C:/Program Files/Apache Software Foundation/Tomcat 
 5.5/conf/workers.properties
 JkLogFile C:/Program Files/Apache Group/Apache2/logs/mod_jk.log
 JkLogLevel info
 JkLogStampFormat [%a %b %d %H:%M:%S %Y] 
 
 I have the workers.properties file also set up:
 
 worker.ajp13.port=8009
 worker.ajp13.host=localhost
 worker.ajp13.type=ajp13
 worker.ajp13.lbfactor=2
 
 worker.loadbalancer.type=lb
 worker.loadbalancer.balanced_workers=ajp12, ajp13
 
 
 Thank you,
 Sal
 
 
 
 
 


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



RE: Tomcat + Apache Web Server

2005-04-05 Thread Caldarale, Charles R
 From: Jorge Davila [mailto:[EMAIL PROTECTED] 
 Subject: RE: Tomcat + Apache Web Server
 
 Are you suggesting that we can drop apache and only use 
 tomcat in some cases?

Certainly.  Think of the overhead being _added_ by passing a request
through httpd just to get to Tomcat.  If the vast majority of the
requests are for static content and only very few for dynamic, then
using httpd in front of Tomcat makes sense; but if a significant
fraction of the requests are targeting JSPs or servlets, then standalone
Tomcat 5.5 may well result in better overall response time.
Front-ending a set of Tomcats with Apache httpd for load-balancing or
redundancy is also a highly appropriate (and relatively inexpensive)
approach.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



RE: Tomcat + Apache Web Server

2005-04-05 Thread Mike Millson
On Tue, 2005-04-05 at 18:42, Caldarale, Charles R wrote:
  From: Jorge Davila [mailto:[EMAIL PROTECTED] 
  Subject: RE: Tomcat + Apache Web Server
  
  Are you suggesting that we can drop apache and only use 
  tomcat in some cases?
 
 Certainly.  Think of the overhead being _added_ by passing a request
 through httpd just to get to Tomcat.  If the vast majority of the
 requests are for static content and only very few for dynamic, then
 using httpd in front of Tomcat makes sense; but if a significant
 fraction of the requests are targeting JSPs or servlets, then standalone
 Tomcat 5.5 may well result in better overall response time.
 Front-ending a set of Tomcats with Apache httpd for load-balancing or
 redundancy is also a highly appropriate (and relatively inexpensive)
 approach.
 

Consider the following Apache modules:
mod_headers
mod_expire
mod_deflate

I've never seen a web application that wouldn't benefit from one or all
of these modules. And the performance improvements would likely more
than outweigh any overhead.

If Tomcat provides any of the functionality of mod_headers, mod_expire,
or mod_deflate, it's news to me. So, why reinvent the wheel (e.g. w/ a
filter) when this functionality is available in Apache?

I'm still unconvinced that running Apache in front of Tomcat isn't
almost always a good thing. But I'm listening if someone can convince me
otherwise.

Mike

-- 
Merit Online Systems, Inc.
http://www.meritonlinesystems.com



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



Re: Tomcat, Apache connected in interesting way

2004-11-23 Thread Tim Funk
Nope. That is my prefered way to go. Let apache do what it does best. Let 
tomcat do what it does best. You'll notice that it'll also take longer before 
you need to add more tomcats in your cluster by doing this.

What you need to be wary of are any security issues where some static assets 
need to be protected. Under this scheme - you'll need to duplicate your 
security in apache - or make sure those static assets are served by tomcat.

-Tim
Joshua Szmajda wrote:
Hi all,
I run a pretty high traffic site using Tomcat. We've gone through a 
number of configurations in the past, and I wanted to share with you the 
newest setup that we're using. It's a bit unorthodox perhaps, and I was 
wondering if anyone could think of possible problems? It does seem to be 
the fastest and most stable setup we've had yet.

Previously we've used Apache and Tomcat connected through jk1 and jk2. 
Also we've run direct to tomcat's http connector. JK1 was ok, but very 
slow. JK2 was fast (using unixSocket communication), but very buggy and 
crash prone. Tomcat alone was good, but it lacked some advanced apache 
stuff we wanted (Mostly URL Rewriting and good SSL handling).

After reading about the upcoming mod_proxy ajp connector for apache 2.2, 
I had the idea to use stuff that's in the current RHEL apache 2.0 
release to accomplish what I feel to be a similar effect. We've set up 
apache to reverse proxy requests for .jsp and .do (we're using struts) 
to tomcat's standard http connector.
 From the httpd.conf:

Proxy *
 Order deny,allow
 Allow from all
/Proxy
ProxyRequests off
RewriteEngine on
RewriteRule ^/$ http://128.121.26.205/index.jsp [P,NC]
RewriteRule ^/(.*.jsp.*)$ http://128.121.26.205/$1 [P,NC]
RewriteRule ^/(.*.do.*)$ http://128.121.26.205/$1 [P,NC]
This allows apache to process additional rewriting things (I left them 
out) and also to serve images and other static content. I felt that 
apache would be better at handling static content than tomcat in 
general, so this will be an overall speed improvement.

Anyway, any flaws here I should be aware of? Comments? Thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat, Apache connected in interesting way

2004-11-23 Thread Matt Bathje
Joshua Szmajda wrote:
Hi all,
I run a pretty high traffic site using Tomcat. We've gone through a 
number of configurations in the past, and I wanted to share with you the 
newest setup that we're using. It's a bit unorthodox perhaps, and I was 
wondering if anyone could think of possible problems? It does seem to be 
the fastest and most stable setup we've had yet.

Previously we've used Apache and Tomcat connected through jk1 and jk2. 
Also we've run direct to tomcat's http connector. JK1 was ok, but very 
slow. JK2 was fast (using unixSocket communication), but very buggy and 
crash prone. Tomcat alone was good, but it lacked some advanced apache 
stuff we wanted (Mostly URL Rewriting and good SSL handling).

After reading about the upcoming mod_proxy ajp connector for apache 2.2, 
I had the idea to use stuff that's in the current RHEL apache 2.0 
release to accomplish what I feel to be a similar effect. We've set up 
apache to reverse proxy requests for .jsp and .do (we're using struts) 
to tomcat's standard http connector.
 From the httpd.conf:

Proxy *
 Order deny,allow
 Allow from all
/Proxy
ProxyRequests off
RewriteEngine on
RewriteRule ^/$ http://128.121.26.205/index.jsp [P,NC]
RewriteRule ^/(.*.jsp.*)$ http://128.121.26.205/$1 [P,NC]
RewriteRule ^/(.*.do.*)$ http://128.121.26.205/$1 [P,NC]
This allows apache to process additional rewriting things (I left them 
out) and also to serve images and other static content. I felt that 
apache would be better at handling static content than tomcat in 
general, so this will be an overall speed improvement.

Anyway, any flaws here I should be aware of? Comments? Thanks!

Joshua -
Are tomcat and apache running on the same server? If so, it appears from 
what you have here that they are on the same port...so...what am I missing?

Also, how do you handle .jsps and .dos that need to be handled by Tomcat 
securely (using SSL). This seems to pass them all off to the non-secure 
version. Would it just be a more complex RewriteRule that tests for 
https vs. http?


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


Re: Tomcat, Apache connected in interesting way

2004-11-23 Thread Joshua Szmajda
Both are on the same server, yes. They are however listening on 
different IP addresses. If needed, you could set the tomcat http 
connector to listen on a different port and adjust the rewrite rule 
accordingly.

As far as SSL goes, the SSL encryption will be in place from the client 
to apache, but not from apache to tomcat. This is ok because apache and 
tomcat are both in the same trusted subnet (in fact, on the same 
machine). If that weren't the case, you could alter the rewrite rule on 
the SSL vhost to send requests to tomcat's ssl connector, thereby 
encrypting all connections.

-Josh
Joshua -
Are tomcat and apache running on the same server? If so, it appears 
from what you have here that they are on the same port...so...what am 
I missing?

Also, how do you handle .jsps and .dos that need to be handled by 
Tomcat securely (using SSL). This seems to pass them all off to the 
non-secure version. Would it just be a more complex RewriteRule that 
tests for https vs. http?


Thanks,
Matt
-
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: tomcat/apache problem when using ssl

2004-11-02 Thread Goldman, Stephen CIV SWRMC
I'm experiencing the same problem.  The issue is that microsoft (article Q316431) will 
not display a file from a SSL site if the cache is set to no-cache.  It seems that 
Tomcat automatically generates a Contect-Type header that includes this parameter.  
I have not yet found out how to change it.  If you look in the /conf/web.xml file 
under mime type mappings you will see this.

Hopefully someone will have the answer.

Stephen 

-Original Message-
From: Nandish Rudra [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 10:30
To: Tomcat Users List (E-mail)
Subject: tomcat/apache problem when using ssl


Hello,

I am having problem accessing my webapps deployed in tomcat, through apache.
I have setup apache to use SSL. When I attempt to access any files within
tomcat I see the following error in apache's error logs. The browser says
the connections was broken unexpectedly. I am running apache 2.0.49, tomcat
5.0.28 on redhat 9. 

[Tue Nov 02 13:06:25 2004] [error] Error ajp_marshal_into_msgb - No such
method \x80g\x01\x03
[Tue Nov 02 13:06:25 2004] [error] ajp13.service(): error marshaling
[Tue Nov 02 13:06:25 2004] [error] mod_jk2.handler() Error connecting to
tomcat 12, status 0

Has anyone seen this error before?

Regards,
Nandish
ECI Conference Call Services, LLC


-
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: tomcat/apache problem when using ssl

2004-11-02 Thread Nandish Rudra
Hello Stephen,

From what you said it seems like you encountered the problem from IE, but i
am not using IE and still see the error. Also, I can't even get images from
the DoucmentRoot, which I have set to webapps in tomcat. 

Please do let me know if you come across a solution.

Nandish Rudra

-Original Message-
From: Goldman, Stephen CIV SWRMC [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 1:51 PM
To: Tomcat Users List
Subject: RE: tomcat/apache problem when using ssl


I'm experiencing the same problem.  The issue is that microsoft (article
Q316431) will not display a file from a SSL site if the cache is set to
no-cache.  It seems that Tomcat automatically generates a Contect-Type
header that includes this parameter.  I have not yet found out how to change
it.  If you look in the /conf/web.xml file under mime type mappings you will
see this.

Hopefully someone will have the answer.

Stephen 

-Original Message-
From: Nandish Rudra [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 10:30
To: Tomcat Users List (E-mail)
Subject: tomcat/apache problem when using ssl


Hello,

I am having problem accessing my webapps deployed in tomcat, through apache.
I have setup apache to use SSL. When I attempt to access any files within
tomcat I see the following error in apache's error logs. The browser says
the connections was broken unexpectedly. I am running apache 2.0.49, tomcat
5.0.28 on redhat 9. 

[Tue Nov 02 13:06:25 2004] [error] Error ajp_marshal_into_msgb - No such
method \x80g\x01\x03
[Tue Nov 02 13:06:25 2004] [error] ajp13.service(): error marshaling
[Tue Nov 02 13:06:25 2004] [error] mod_jk2.handler() Error connecting to
tomcat 12, status 0

Has anyone seen this error before?

Regards,
Nandish
ECI Conference Call Services, LLC


-
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: Tomcat - Apache with JK2: mapping urls...

2004-10-18 Thread Johann Uhrmann
Andrzej Jan Taramina wrote:
Douglas WF Acheson has said late last year:

# Define the Manager proxy that comes with Tomcat
[uri:/tomcat/manager/*]
context=/manager
info=Manager prefix mapping
But, after frustrating attempts I cannot seem to get it correct.  I have
search the mail archives and a few people have asked similar questions, but I
have not see any replies.  Hope someone can help me ...

I'm trying to do the same thing. I want Apache/JK2 to trap a specific URI 
(tomcat/manager/* in this example), but to map it to something else (eg. 
manager) before it sends the request on to Tomcat through the JK 
connection.

The context parameter shown above in workers2.properties does not do this, in 
fact, who knows what it does. I agree with Doug that the JK2 docs are 
abysmal. 
Hi Andrzej,
I am trying to deploy a web application to multiple instances of Tomcat and it would
be great to have a mapping like /tomcat1/axis - /axis on the first worker and
/tomcat2/axis - /axis on the second worker.
Unfortunately, the context parameter is ignored and just as You mentioned, the jk2 docs
are lousy. It seems that there is no other choice but digging through the source code
of JK2 or trashing JK2/Tomcat and using something well documented.
Has anyone already been through the hell of digging through the source code and is
there a usable documentation about jk2?
Regards,
Hans
(sorry for being rude, but in my oppinion some guys have not discovered that the
 best software is worth nothing without documentation)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat - Apache with JK2: mapping urls...

2004-10-18 Thread Cox, Charlie
Have you tried location matching and mod_rewrite with Apache to change your
URL before jk2 takes the request?

Location /tomcat1/*
RewriteRule ...
JkUriSet tomcat1
/Location

Location /tomcat2/*
RewriteRule ...
JkUriSet tomcat2
/Location

you would use JkUriSet in place of the workers2.properties [uri: mappings

Charlie

 -Original Message-
 From: Johann Uhrmann [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 18, 2004 9:58 AM
 To: Tomcat Users List
 Subject: Re: Tomcat - Apache with JK2: mapping urls...
 
 Andrzej Jan Taramina wrote:
  Douglas WF Acheson has said late last year:
 
 
 # Define the Manager proxy that comes with Tomcat
 [uri:/tomcat/manager/*]
 context=/manager
 info=Manager prefix mapping
 
 But, after frustrating attempts I cannot seem to get it correct.  I have
 search the mail archives and a few people have asked similar questions,
but
 I
 have not see any replies.  Hope someone can help me ...
 
 
  I'm trying to do the same thing. I want Apache/JK2 to trap a specific
URI
  (tomcat/manager/* in this example), but to map it to something else (eg.
  manager) before it sends the request on to Tomcat through the JK
  connection.
 
  The context parameter shown above in workers2.properties does not do
this,
 in
  fact, who knows what it does. I agree with Doug that the JK2 docs are
  abysmal.
 
 Hi Andrzej,
 
 I am trying to deploy a web application to multiple instances of Tomcat
and it
 would
 be great to have a mapping like /tomcat1/axis - /axis on the first worker
and
 /tomcat2/axis - /axis on the second worker.
 
 Unfortunately, the context parameter is ignored and just as You mentioned,
the
 jk2 docs
 are lousy. It seems that there is no other choice but digging through the
 source code
 of JK2 or trashing JK2/Tomcat and using something well documented.
 
 Has anyone already been through the hell of digging through the source
code
 and is
 there a usable documentation about jk2?
 
 
 Regards,
 
 Hans
 (sorry for being rude, but in my oppinion some guys have not discovered
that
 the
   best software is worth nothing without documentation)
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat-Apache and SSL- Re-Post

2004-09-14 Thread Bill Barker
The localPort that mod_jk(2) sends depends on the Apache setting for
UseCannonicalName.  If you set it to 'off', then it should always send the
TCP port (as opposed to the configured port).

Wade Billings [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
The AJP port is 8009 (stock), but the issue lies where our application
takes the port (80/8000) and determines whether or not the page is
suppose to be secure (https). Since the load balancer does all of the
SSL for us, everything is passed to the web/app server as http, and it
appears that tomcat is assuming that because it is http, it came from
port 80. Apache is currently configured to listen for http traffic on
both ports 80 and 8000.

Jrun is able to take the port number and pass that to the app. When we
do a request.getLocalPort(), it returns port 80, when it should be
returning port 8000.

Is there a way to tell tomcat (using the AJP/13 connector) to pass
through the port number from the requestor? Do you think that this is an
Apache, or Tomcat configuration issue?

Again, any help is greatly appreciated.

Cheers,

Q. Wade Billings

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
 Sent: Sunday, September 12, 2004 1:12 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat-Apache and SSL- Re-Post

 If 8000 is the Apache port, then use request.getLocalPort().  If 8000
is
 the
 AJP port, it can't be done.

 Wade Billings [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 Here is a fun one for ya all... We recently decided to migrate from a
 Jrun/Apahe platform to an Apache2.0/Tomcat5.0 platform. Everything
went
 great until we placed it into production and found that our SSL sites
 were broken.



 Here are the details, and forgive me, as I am not a developer so I may
 misquote some Java terminology Be patient...



 WE determine whether or not a page is secured via which port it is
 sourced from. We have a pair of load balancers, which handle all of
the
 SSL, and pass only HTTP/1.1 back to the actual web servers where the
JVM
 sits. IN order for the app to determine whether or not it is secure,
we
 source all SSL'ized traffic from port 8000. This setup works very well
 on Jrun, but not so well on Tomcat. It appears that for some reason,
the
 source port of 8000 is either lost or ignored during the
 Apache/AJP13/Tomcat conversation.



 What I need to be able to do is to get Tomcat to recognize that the
 source port from the load balancer has changed from port 80 to port
8000
 so our app will behave correctly and will present our pages as secure.



 Any help is greatly appreciated.



 Cheers,



 Q. Wade Billings







 -
 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: Tomcat-Apache and SSL- Re-Post

2004-09-14 Thread Wade Billings
Thank you for the suggestion, I will try this tomorrow and post the
results.

Cheers,

Q. Wade Billings

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
Sent: Tuesday, September 14, 2004 7:27 PM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat-Apache and SSL- Re-Post

The localPort that mod_jk(2) sends depends on the Apache setting for
UseCannonicalName.  If you set it to 'off', then it should always send
the
TCP port (as opposed to the configured port).

Wade Billings [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
The AJP port is 8009 (stock), but the issue lies where our application
takes the port (80/8000) and determines whether or not the page is
suppose to be secure (https). Since the load balancer does all of the
SSL for us, everything is passed to the web/app server as http, and it
appears that tomcat is assuming that because it is http, it came from
port 80. Apache is currently configured to listen for http traffic on
both ports 80 and 8000.

Jrun is able to take the port number and pass that to the app. When we
do a request.getLocalPort(), it returns port 80, when it should be
returning port 8000.

Is there a way to tell tomcat (using the AJP/13 connector) to pass
through the port number from the requestor? Do you think that this is an
Apache, or Tomcat configuration issue?

Again, any help is greatly appreciated.

Cheers,

Q. Wade Billings

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
 Sent: Sunday, September 12, 2004 1:12 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat-Apache and SSL- Re-Post

 If 8000 is the Apache port, then use request.getLocalPort().  If 8000
is
 the
 AJP port, it can't be done.

 Wade Billings [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 Here is a fun one for ya all... We recently decided to migrate from a
 Jrun/Apahe platform to an Apache2.0/Tomcat5.0 platform. Everything
went
 great until we placed it into production and found that our SSL sites
 were broken.



 Here are the details, and forgive me, as I am not a developer so I may
 misquote some Java terminology Be patient...



 WE determine whether or not a page is secured via which port it is
 sourced from. We have a pair of load balancers, which handle all of
the
 SSL, and pass only HTTP/1.1 back to the actual web servers where the
JVM
 sits. IN order for the app to determine whether or not it is secure,
we
 source all SSL'ized traffic from port 8000. This setup works very well
 on Jrun, but not so well on Tomcat. It appears that for some reason,
the
 source port of 8000 is either lost or ignored during the
 Apache/AJP13/Tomcat conversation.



 What I need to be able to do is to get Tomcat to recognize that the
 source port from the load balancer has changed from port 80 to port
8000
 so our app will behave correctly and will present our pages as secure.



 Any help is greatly appreciated.



 Cheers,



 Q. Wade Billings







 -
 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: Tomcat-Apache and SSL- Re-Post

2004-09-13 Thread Wade Billings
The AJP port is 8009 (stock), but the issue lies where our application
takes the port (80/8000) and determines whether or not the page is
suppose to be secure (https). Since the load balancer does all of the
SSL for us, everything is passed to the web/app server as http, and it
appears that tomcat is assuming that because it is http, it came from
port 80. Apache is currently configured to listen for http traffic on
both ports 80 and 8000.

Jrun is able to take the port number and pass that to the app. When we
do a request.getLocalPort(), it returns port 80, when it should be
returning port 8000. 

Is there a way to tell tomcat (using the AJP/13 connector) to pass
through the port number from the requestor? Do you think that this is an
Apache, or Tomcat configuration issue?

Again, any help is greatly appreciated.

Cheers,

Q. Wade Billings

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
 Sent: Sunday, September 12, 2004 1:12 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat-Apache and SSL- Re-Post
 
 If 8000 is the Apache port, then use request.getLocalPort().  If 8000
is
 the
 AJP port, it can't be done.
 
 Wade Billings [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 Here is a fun one for ya all... We recently decided to migrate from a
 Jrun/Apahe platform to an Apache2.0/Tomcat5.0 platform. Everything
went
 great until we placed it into production and found that our SSL sites
 were broken.
 
 
 
 Here are the details, and forgive me, as I am not a developer so I may
 misquote some Java terminology Be patient...
 
 
 
 WE determine whether or not a page is secured via which port it is
 sourced from. We have a pair of load balancers, which handle all of
the
 SSL, and pass only HTTP/1.1 back to the actual web servers where the
JVM
 sits. IN order for the app to determine whether or not it is secure,
we
 source all SSL'ized traffic from port 8000. This setup works very well
 on Jrun, but not so well on Tomcat. It appears that for some reason,
the
 source port of 8000 is either lost or ignored during the
 Apache/AJP13/Tomcat conversation.
 
 
 
 What I need to be able to do is to get Tomcat to recognize that the
 source port from the load balancer has changed from port 80 to port
8000
 so our app will behave correctly and will present our pages as secure.
 
 
 
 Any help is greatly appreciated.
 
 
 
 Cheers,
 
 
 
 Q. Wade Billings
 
 
 
 
 
 
 
 -
 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: Tomcat-Apache and SSL- Re-Post

2004-09-12 Thread Bill Barker
If 8000 is the Apache port, then use request.getLocalPort().  If 8000 is the
AJP port, it can't be done.

Wade Billings [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Here is a fun one for ya all... We recently decided to migrate from a
Jrun/Apahe platform to an Apache2.0/Tomcat5.0 platform. Everything went
great until we placed it into production and found that our SSL sites
were broken.



Here are the details, and forgive me, as I am not a developer so I may
misquote some Java terminology Be patient...



WE determine whether or not a page is secured via which port it is
sourced from. We have a pair of load balancers, which handle all of the
SSL, and pass only HTTP/1.1 back to the actual web servers where the JVM
sits. IN order for the app to determine whether or not it is secure, we
source all SSL'ized traffic from port 8000. This setup works very well
on Jrun, but not so well on Tomcat. It appears that for some reason, the
source port of 8000 is either lost or ignored during the
Apache/AJP13/Tomcat conversation.



What I need to be able to do is to get Tomcat to recognize that the
source port from the load balancer has changed from port 80 to port 8000
so our app will behave correctly and will present our pages as secure.



Any help is greatly appreciated.



Cheers,



Q. Wade Billings







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



RE: Tomcat + Apache + SSL

2004-07-01 Thread Lee, Paul NYC
http://jakarta.apache.org/tomcat/connectors-doc/jk2/index.html

-Original Message-
From: Lorenzo A. Jimenez Briceno [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 01, 2004 1:13 PM
To: Tomcat Users List
Subject: Tomcat + Apache + SSL
Importance: High


Hi,

Where can I find info about configuring Tomcat 5 and Apache 2, so I can
access apps thru SSL port 443.

Do I need only to install a certificate in Apache and with port 443, the
plugin connects directly.

Thanks

Lorenzo Jimenez


_ 
Lorenzo A. Jimenez Briceno
WebMaster
Banco Internacional de Costa Rica
( (506) 243-1077
1 (506) 243-1075
- [EMAIL PROTECTED]

BICSA ¡Un mundo de servicios financieros a su alcance! 
http://www.bicsa.com
7/1/2004 11:12 AM
Este mensaje puede ser confidencial. Si usted no es la persona a quien se
debió dirigir por favor notifíquenos de inmediato y borre el mensaje. BICSA
no acepta responsabilidad legal por ningún daño causado por virus, errores u
omisiones en el contenido de este mensaje. Todo uso o divulgación no
autorizado está prohibido. Gracias. 

This message may be confidential. If you are not the intended recipient,
please notify us immediately and delete this message. BICSA does not accept
liability for any damage caused by virus, errors, or omissions in the
contents of this message. Any unauthorized use or disclosure of its contents
is prohibited. Thank you. 

-
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: Tomcat + Apache + SSL

2004-07-01 Thread Lorenzo A. Jimenez Briceno
Thanks.


-Mensaje original-
De: Lee, Paul NYC [mailto:[EMAIL PROTECTED]
Enviado el: Jueves, 01 de Julio de 2004 11:30 a.m.
Para: 'Tomcat Users List'
Asunto: RE: Tomcat + Apache + SSL


http://jakarta.apache.org/tomcat/connectors-doc/jk2/index.html

-Original Message-
From: Lorenzo A. Jimenez Briceno [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 01, 2004 1:13 PM
To: Tomcat Users List
Subject: Tomcat + Apache + SSL
Importance: High


Hi,

Where can I find info about configuring Tomcat 5 and Apache 2, so I can
access apps thru SSL port 443.

Do I need only to install a certificate in Apache and with port 443, the
plugin connects directly.

Thanks

Lorenzo Jimenez


_ 
Lorenzo A. Jimenez Briceno
WebMaster
Banco Internacional de Costa Rica
( (506) 243-1077
1 (506) 243-1075
- [EMAIL PROTECTED]

BICSA ¡Un mundo de servicios financieros a su alcance! 
http://www.bicsa.com
7/1/2004 11:12 AM
Este mensaje puede ser confidencial. Si usted no es la persona a quien se
debió dirigir por favor notifíquenos de inmediato y borre el mensaje. BICSA
no acepta responsabilidad legal por ningún daño causado por virus, errores u
omisiones en el contenido de este mensaje. Todo uso o divulgación no
autorizado está prohibido. Gracias. 

This message may be confidential. If you are not the intended recipient,
please notify us immediately and delete this message. BICSA does not accept
liability for any damage caused by virus, errors, or omissions in the
contents of this message. Any unauthorized use or disclosure of its contents
is prohibited. Thank you. 

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



_ 
Lorenzo A. Jimenez Briceno
WebMaster
Banco Internacional de Costa Rica
( (506) 243-1077
1 (506) 243-1075
- [EMAIL PROTECTED]

BICSA ¡Un mundo de servicios financieros a su alcance! 
http://www.bicsa.com
7/1/2004 2:40 PM
Este mensaje puede ser confidencial. Si usted no es la persona a quien se debió 
dirigir por favor notifíquenos de inmediato y borre el mensaje. BICSA no acepta 
responsabilidad legal por ningún daño causado por virus, errores u omisiones en el 
contenido de este mensaje. Todo uso o divulgación no autorizado está prohibido. 
Gracias. 

This message may be confidential. If you are not the intended recipient, please notify 
us immediately and delete this message. BICSA does not accept liability for any damage 
caused by virus, errors, or omissions in the contents of this message. Any 
unauthorized use or disclosure of its contents is prohibited. Thank you. 

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



RE: Tomcat + Apache + SSL

2004-07-01 Thread Casas, Claudia
I followed John Turner's Web page: 
http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-how-to.html and it worked 
perfectly. 
This site is only for connecting Tomcat and apache through a connector.
But not sure about the ssl.


-Original Message-
From: Lorenzo A. Jimenez Briceno [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 01, 2004 2:41 PM
To: Tomcat Users List
Subject: RE: Tomcat + Apache + SSL
Importance: High

Thanks.


-Mensaje original-
De: Lee, Paul NYC [mailto:[EMAIL PROTECTED]
Enviado el: Jueves, 01 de Julio de 2004 11:30 a.m.
Para: 'Tomcat Users List'
Asunto: RE: Tomcat + Apache + SSL


http://jakarta.apache.org/tomcat/connectors-doc/jk2/index.html

-Original Message-
From: Lorenzo A. Jimenez Briceno [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 01, 2004 1:13 PM
To: Tomcat Users List
Subject: Tomcat + Apache + SSL
Importance: High


Hi,

Where can I find info about configuring Tomcat 5 and Apache 2, so I can
access apps thru SSL port 443.

Do I need only to install a certificate in Apache and with port 443, the
plugin connects directly.

Thanks

Lorenzo Jimenez


_ 
Lorenzo A. Jimenez Briceno
WebMaster
Banco Internacional de Costa Rica
( (506) 243-1077
1 (506) 243-1075
- [EMAIL PROTECTED]

BICSA ¡Un mundo de servicios financieros a su alcance! 
http://www.bicsa.com
7/1/2004 11:12 AM
Este mensaje puede ser confidencial. Si usted no es la persona a quien se
debió dirigir por favor notifíquenos de inmediato y borre el mensaje. BICSA
no acepta responsabilidad legal por ningún daño causado por virus, errores u
omisiones en el contenido de este mensaje. Todo uso o divulgación no
autorizado está prohibido. Gracias. 

This message may be confidential. If you are not the intended recipient,
please notify us immediately and delete this message. BICSA does not accept
liability for any damage caused by virus, errors, or omissions in the
contents of this message. Any unauthorized use or disclosure of its contents
is prohibited. Thank you. 

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



_ 
Lorenzo A. Jimenez Briceno
WebMaster
Banco Internacional de Costa Rica
( (506) 243-1077
1 (506) 243-1075
- [EMAIL PROTECTED]

BICSA ¡Un mundo de servicios financieros a su alcance! 
http://www.bicsa.com
7/1/2004 2:40 PM
Este mensaje puede ser confidencial. Si usted no es la persona a quien se debió 
dirigir por favor notifíquenos de inmediato y borre el mensaje. BICSA no acepta 
responsabilidad legal por ningún daño causado por virus, errores u omisiones en el 
contenido de este mensaje. Todo uso o divulgación no autorizado está prohibido. 
Gracias. 

This message may be confidential. If you are not the intended recipient, please notify 
us immediately and delete this message. BICSA does not accept liability for any damage 
caused by virus, errors, or omissions in the contents of this message. Any 
unauthorized use or disclosure of its contents is prohibited. Thank you. 

-
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: Tomcat + Apache + SSL

2004-07-01 Thread Lorenzo A. Jimenez Briceno
Thanks Claudia,

Do you know about TC5 and A2

-Mensaje original-
De: Casas, Claudia [mailto:[EMAIL PROTECTED]
Enviado el: Jueves, 01 de Julio de 2004 02:48 p.m.
Para: Tomcat Users List
Asunto: RE: Tomcat + Apache + SSL


I followed John Turner's Web page: 
http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-how-to.html and it worked 
perfectly. 
This site is only for connecting Tomcat and apache through a connector.
But not sure about the ssl.


-Original Message-
From: Lorenzo A. Jimenez Briceno [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 01, 2004 2:41 PM
To: Tomcat Users List
Subject: RE: Tomcat + Apache + SSL
Importance: High

Thanks.


-Mensaje original-
De: Lee, Paul NYC [mailto:[EMAIL PROTECTED]
Enviado el: Jueves, 01 de Julio de 2004 11:30 a.m.
Para: 'Tomcat Users List'
Asunto: RE: Tomcat + Apache + SSL


http://jakarta.apache.org/tomcat/connectors-doc/jk2/index.html

-Original Message-
From: Lorenzo A. Jimenez Briceno [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 01, 2004 1:13 PM
To: Tomcat Users List
Subject: Tomcat + Apache + SSL
Importance: High


Hi,

Where can I find info about configuring Tomcat 5 and Apache 2, so I can
access apps thru SSL port 443.

Do I need only to install a certificate in Apache and with port 443, the
plugin connects directly.

Thanks

Lorenzo Jimenez


_ 
Lorenzo A. Jimenez Briceno
WebMaster
Banco Internacional de Costa Rica
( (506) 243-1077
1 (506) 243-1075
- [EMAIL PROTECTED]

BICSA ¡Un mundo de servicios financieros a su alcance! 
http://www.bicsa.com
7/1/2004 11:12 AM
Este mensaje puede ser confidencial. Si usted no es la persona a quien se
debió dirigir por favor notifíquenos de inmediato y borre el mensaje. BICSA
no acepta responsabilidad legal por ningún daño causado por virus, errores u
omisiones en el contenido de este mensaje. Todo uso o divulgación no
autorizado está prohibido. Gracias. 

This message may be confidential. If you are not the intended recipient,
please notify us immediately and delete this message. BICSA does not accept
liability for any damage caused by virus, errors, or omissions in the
contents of this message. Any unauthorized use or disclosure of its contents
is prohibited. Thank you. 

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



_ 
Lorenzo A. Jimenez Briceno
WebMaster
Banco Internacional de Costa Rica
( (506) 243-1077
1 (506) 243-1075
- [EMAIL PROTECTED]

BICSA ¡Un mundo de servicios financieros a su alcance! 
http://www.bicsa.com
7/1/2004 2:40 PM
Este mensaje puede ser confidencial. Si usted no es la persona a quien se debió 
dirigir por favor notifíquenos de inmediato y borre el mensaje. BICSA no acepta 
responsabilidad legal por ningún daño causado por virus, errores u omisiones en el 
contenido de este mensaje. Todo uso o divulgación no autorizado está prohibido. 
Gracias. 

This message may be confidential. If you are not the intended recipient, please notify 
us immediately and delete this message. BICSA does not accept liability for any damage 
caused by virus, errors, or omissions in the contents of this message. Any 
unauthorized use or disclosure of its contents is prohibited. Thank you. 

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



_ 
Lorenzo A. Jimenez Briceno
WebMaster
Banco Internacional de Costa Rica
( (506) 243-1077
1 (506) 243-1075
- [EMAIL PROTECTED]

BICSA ¡Un mundo de servicios financieros a su alcance! 
http://www.bicsa.com
7/1/2004 3:46 PM
Este mensaje puede ser confidencial. Si usted no es la persona a quien se debió 
dirigir por favor notifíquenos de inmediato y borre el mensaje. BICSA no acepta 
responsabilidad legal por ningún daño causado por virus, errores u omisiones en el 
contenido de este mensaje. Todo uso o divulgación no autorizado está prohibido. 
Gracias. 

This message may be confidential. If you are not the intended recipient, please notify 
us immediately and delete this message. BICSA does not accept liability for any damage 
caused by virus, errors, or omissions in the contents of this message. Any 
unauthorized use or disclosure of its contents is prohibited. Thank you. 

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



RE: Tomcat + Apache + SSL

2004-07-01 Thread Casas, Claudia
I tried did try to install tomcat5 and apache2 with success following the same steps. 
BUT, I could not get the connector working since it is recommended that you use the 
jk2 connector when using tomcat5 already.

If you get it working, please let me know.

-Original Message-
From: Lorenzo A. Jimenez Briceno [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 01, 2004 3:46 PM
To: Tomcat Users List
Subject: RE: Tomcat + Apache + SSL
Importance: High

Thanks Claudia,

Do you know about TC5 and A2

-Mensaje original-
De: Casas, Claudia [mailto:[EMAIL PROTECTED]
Enviado el: Jueves, 01 de Julio de 2004 02:48 p.m.
Para: Tomcat Users List
Asunto: RE: Tomcat + Apache + SSL


I followed John Turner's Web page: 
http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-how-to.html and it worked 
perfectly. 
This site is only for connecting Tomcat and apache through a connector.
But not sure about the ssl.


-Original Message-
From: Lorenzo A. Jimenez Briceno [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 01, 2004 2:41 PM
To: Tomcat Users List
Subject: RE: Tomcat + Apache + SSL
Importance: High

Thanks.


-Mensaje original-
De: Lee, Paul NYC [mailto:[EMAIL PROTECTED]
Enviado el: Jueves, 01 de Julio de 2004 11:30 a.m.
Para: 'Tomcat Users List'
Asunto: RE: Tomcat + Apache + SSL


http://jakarta.apache.org/tomcat/connectors-doc/jk2/index.html

-Original Message-
From: Lorenzo A. Jimenez Briceno [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 01, 2004 1:13 PM
To: Tomcat Users List
Subject: Tomcat + Apache + SSL
Importance: High


Hi,

Where can I find info about configuring Tomcat 5 and Apache 2, so I can
access apps thru SSL port 443.

Do I need only to install a certificate in Apache and with port 443, the
plugin connects directly.

Thanks

Lorenzo Jimenez


_ 
Lorenzo A. Jimenez Briceno
WebMaster
Banco Internacional de Costa Rica
( (506) 243-1077
1 (506) 243-1075
- [EMAIL PROTECTED]

BICSA ¡Un mundo de servicios financieros a su alcance! 
http://www.bicsa.com
7/1/2004 11:12 AM
Este mensaje puede ser confidencial. Si usted no es la persona a quien se
debió dirigir por favor notifíquenos de inmediato y borre el mensaje. BICSA
no acepta responsabilidad legal por ningún daño causado por virus, errores u
omisiones en el contenido de este mensaje. Todo uso o divulgación no
autorizado está prohibido. Gracias. 

This message may be confidential. If you are not the intended recipient,
please notify us immediately and delete this message. BICSA does not accept
liability for any damage caused by virus, errors, or omissions in the
contents of this message. Any unauthorized use or disclosure of its contents
is prohibited. Thank you. 

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



_ 
Lorenzo A. Jimenez Briceno
WebMaster
Banco Internacional de Costa Rica
( (506) 243-1077
1 (506) 243-1075
- [EMAIL PROTECTED]

BICSA ¡Un mundo de servicios financieros a su alcance! 
http://www.bicsa.com
7/1/2004 2:40 PM
Este mensaje puede ser confidencial. Si usted no es la persona a quien se debió 
dirigir por favor notifíquenos de inmediato y borre el mensaje. BICSA no acepta 
responsabilidad legal por ningún daño causado por virus, errores u omisiones en el 
contenido de este mensaje. Todo uso o divulgación no autorizado está prohibido. 
Gracias. 

This message may be confidential. If you are not the intended recipient, please notify 
us immediately and delete this message. BICSA does not accept liability for any damage 
caused by virus, errors, or omissions in the contents of this message. Any 
unauthorized use or disclosure of its contents is prohibited. Thank you. 

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



_ 
Lorenzo A. Jimenez Briceno
WebMaster
Banco Internacional de Costa Rica
( (506) 243-1077
1 (506) 243-1075
- [EMAIL PROTECTED]

BICSA ¡Un mundo de servicios financieros a su alcance! 
http://www.bicsa.com
7/1/2004 3:46 PM
Este mensaje puede ser confidencial. Si usted no es la persona a quien se debió 
dirigir por favor notifíquenos de inmediato y borre el mensaje. BICSA no acepta 
responsabilidad legal por ningún daño causado por virus, errores u omisiones en el 
contenido de este mensaje. Todo uso o divulgación no autorizado está prohibido. 
Gracias. 

This message may be confidential. If you are not the intended recipient, please notify 
us immediately

RE: Tomcat , APache , Jserv

2004-04-19 Thread Ralph Einfeldt

- Tomcat is a servlet and jsp engine.

- Tomcat can be used as a stand alone webserver

- Apache is a webserver (with different features than tomcat,
  if it is better depends on the requirements)

- Apache can be integrated with tomcat by mod_jk[2]
  (So Apache replaces tomcats own http stack)

- jserv is a predessor of tomcat (historical,
  only in parts technical) and had no own http stack.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, April 19, 2004 2:03 PM
To: Tomcat Users List
Subject: Tomcat , APache , Jserv

1. Is Tomcat a separate servlet engine and  webserver ? 
2. Is Apache a webserver only ? 
3. Can  we integrate Tomcat and Apache ?? 
  
What i  understood was  Tomcat is a separate webser  servlet engine , Apache is a 
better webserver , we can have use  Tomcat  servlet engine and Apache Web server , 
 And waht is Jserve??? 
  
It will help me in making my basic strong 

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



RE: Tomcat , APache , Jserv

2004-04-19 Thread birendar . waldiya

Thanks a lot.

Birendar Singh Waldiya
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com





Ralph Einfeldt
[EMAIL PROTECTED] 
19-04-04 05:44 PM




Please respond to
Tomcat Users List [EMAIL PROTECTED]





To
Tomcat Users List
[EMAIL PROTECTED]


cc



Subject
RE: Tomcat , APache , Jserv









- Tomcat is a servlet and jsp engine.

- Tomcat can be used as a stand alone webserver

- Apache is a webserver (with different features than tomcat,
 if it is better depends on the requirements)

- Apache can be integrated with tomcat by mod_jk[2]
 (So Apache replaces tomcats own http stack)

- jserv is a predessor of tomcat (historical,
 only in parts technical) and had no own http stack.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, April 19, 2004 2:03 PM
To: Tomcat Users List
Subject: Tomcat , APache , Jserv

1. Is Tomcat a separate servlet engine and webserver ? 
2. Is Apache a webserver only ? 
3. Can we integrate Tomcat and Apache ?? 
 
What i understood was Tomcat is a separate webser  servlet
engine , Apache is a better webserver , we can have use Tomcat servlet
engine and Apache Web server , 
 And waht is Jserve??? 
 
It will help me in making my basic strong 

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


ForwardSourceID:NT4506
 

DISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the addressee. 
Unauthorized use, disclosure or copying is strictly prohibited and may constitute 
unlawful act and can possibly attract legal action, civil and/or criminal. The 
contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services takes any 
responsibility or liability towards the same. Opinions, conclusions and any other 
information contained in this message 
that do not relate to the official business of Tata Consultancy Services shall be 
understood as neither given nor endorsed by Tata Consultancy Services or any affiliate 
of Tata Consultancy Services. If you have received this message in error, you should 
destroy this message and may please notify the sender by e-mail. Thank you.


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

Re: Tomcat/Apache: error creating shm

2004-03-27 Thread Robert Mazur
On Friday 26 March 2004 23:18, Robert Mazur wrote:
 I am running into an error when launching tomcat:
 shm.create(): error creating shm 70014 End of file found

 I have set up the coyote connector on the following system:
 -SUSE9
 -Apache 2.0.49
 -Tomcat 5.0.19
 -jakarta-tomcat-connectors-jk2-2.0.4-src
 ...using instructions at:
 http://cymulacrum.net/writings/tomcat5/c831.html#USING_MOD_JK2

 Can someone point me towards what this might mean in catalina.out:
 ---start log snip--
 snip
 [Fri Mar 26 22:54:38 2004] ( info ) [jk_channel_un.c (152)] 
 channelUn.init(): extracted file from name
 /usr/local/tomcat-5.0.19/work/jk2.socket

 [Fri Mar 26 22:54:38 2004] (error ) [jk_shm.c (105)]  shm.create(): error
 creating shm 70014 End of file found

 [Fri Mar 26 22:54:38 2004] (error ) [jk_shm.c (178)]  shm.create(): error
 creating shm /usr/local/tomcat-5.0.19/logs/jk2.shm
 snip
 end log snip--

 The file jk2.shm exists at the location noted in the error message. 
 Creating the *.so files went fine.  I believe I have adjusted all config
 files accordingly (triple checked).  I am running everything as root (just
 during this test) to assure this isn't a permission problem.

 Apache also gives me a related message in the error log:
 [Fri Mar 26 23:12:09 2004] [error] shm.create(): error creating shm 70014
 End of file found
 [Fri Mar 26 23:12:09 2004] [error] shm.create(): error creating shm /usr/
 local/tomcat-5.0.19/logs/jk2.sh

 Can someone tell me what may be causing this?
 Thanks,
 Rob


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

UPDATE:
OK, if I drop back to using TCP sockets instead of unix domain sockets, the 
error creating the shm is clear, and everything works.  However I do get this 
in my catalina.log file while using tcp sockets:

Mar 27, 2004 10:36:21 AM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request


So I guess I still can not resolve two questions:

1) I am still wondering what is wrong with the unix socket option and why I'm 
getting shm errors.  What does this mean?  I've checked over and over for 
file permission issues:
[error] shm.create(): error creating shm 70014 End of file found
[error] shm.create(): error creating shm /usr/ local/tomcat-5.0.19/logs/jk2.sh

2) How scared should I be of the jk.common error above while using tcp 
sockets?  Unfortunately I can't wrap my mind around what that means.

Thanks folks,
Rob


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



Re: Tomcat/Apache Port Settings

2004-03-24 Thread Michael Kastner
Hello Neil,

under regular circumstances the HTTP server port should be set to listen 
on port 80. So you might want to change this setting in your httpd.conf 
file.

Pretty much at the start of your httpd.conf file there should be a line 
like this:

Listen *:80

or in your case

Listen *:8080

The asterisk can also be an ip address. Anyway, just change 8080 to 80 
and your Apache server should listen on port 80.

Sincerely

Michael Kastner

[EMAIL PROTECTED] schrieb:
I need to be able to run Apache HTTP Server and Apache Tomcat at the same time, but
they are both on port 8080. How can I change the configuration of one of either the HTTP
server or Tomcat to resolve this?
 
Thanks


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


Re: Tomcat Apache connector not working

2004-03-19 Thread Allan Bruce
 Allan, the problem lies with the link-edit while building the mod_jk2.so
 module. The Makefile produced in the some_path/native2/server/apache2/
 is buggy. There is some important libraries missing in the list.

 Also, I believe the configure is not checking everything properly. All
 prereqs should be check at the configure step and flagged if not
 satisfied.

 You can refer to the following final discussion in the current mailing
 list:

 http://www.mail-archive.com/[EMAIL PROTECTED]/msg104016.html

 What is missing, is the proper JK_LDFLAGS definition which should be:

 JK_LDFLAGS=-L${APACHE2_LIBDIR} -lcrypt -lapr-0 -laprutil-0 -lgdbm
 -lexpat -ldb-4.0 -lpthread -ldl

 In my case, everything after -lcrypt was missing. And since we are
 building shared objects, symbols are resolved at runtime rather than at
 compile or link-edit time.


I used an rpm to install the connector.  Do you suggest I uninstall the rpm
and compile the source?
Thanks
Allan


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



Re: Tomcat Apache connector not working

2004-03-19 Thread Daniel Savard
Le ven 19/03/2004 à 05:11, Allan Bruce a écrit :

 
 I used an rpm to install the connector.  Do you suggest I uninstall the rpm
 and compile the source?
 Thanks
 Allan
 

Before you may do the following check:

Locate the mod_jk2.so file and issue the following command:

ldd mod_jk2.so

It will list all the required libraries for the module to work properly.
I got the following list on my system:

/usr/lib/libgdkxft.so = /usr/lib/libgdkxft.so (0x4002c000)
libgcc_s.so.1 = /usr/local/lib/libgcc_s.so.1 (0x40031000)
libc.so.6 = /lib/i686/libc.so.6 (0x40054000)
libgtk-1.2.so.0 = /usr/lib/libgtk-1.2.so.0 (0x4019)
libgdk-1.2.so.0 = /usr/lib/libgdk-1.2.so.0 (0x402be000)
libgmodule-1.2.so.0 = /usr/lib/libgmodule-1.2.so.0 (0x402f4000)
libglib-1.2.so.0 = /usr/lib/libglib-1.2.so.0 (0x402f7000)
libdl.so.2 = /lib/libdl.so.2 (0x4031b000)
libXi.so.6 = /usr/lib/libXi.so.6 (0x4031f000)
libXext.so.6 = /usr/lib/libXext.so.6 (0x40327000)
libX11.so.6 = /usr/lib/libX11.so.6 (0x40336000)
libm.so.6 = /lib/i686/libm.so.6 (0x4040)
libXft.so.1 = /usr/lib/libXft.so.1 (0x40423000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
libXrender.so.1 = /usr/lib/libXrender.so.1 (0x4044d000)
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x40452000)
libz.so.1 = /usr/lib/libz.so.1 (0x404a3000)

If you get something similar, the problem may be with the
LD_LIBRARY_PATH or the /etc/ld.so.conf, your libraries are not located
were they are expected and they cannot be found to resolve the symbols
at runtime.

It seems to me the safest approach would be to recompile from source and
have some sort of control over what you are doing.

There are already some recent questions on the current mailing list
which described the options you should pass to the configure. Just be
warn if it fails at runtime with similar problem, the solution is to
edit manually the Makefile in native2/server/apache2 directory to
include manually the missing libraries at the JK_LDFLAGS definition
line.

I found db-4.0 is not required, another version of the Berkeley DB will
do as well, given you provide the correct naming to the -l option.

-- 

===
Daniel Savard

===



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



Re: Tomcat Apache connector not working

2004-03-19 Thread Allan Bruce

- Original Message - 
From: Daniel Savard [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, March 19, 2004 3:27 PM
Subject: Re: Tomcat Apache connector not working


 Le ven 19/03/2004 à 05:11, Allan Bruce a écrit :

 
  I used an rpm to install the connector.  Do you suggest I uninstall the
rpm
  and compile the source?
  Thanks
  Allan
 

 Before you may do the following check:

 Locate the mod_jk2.so file and issue the following command:

 ldd mod_jk2.so

 It will list all the required libraries for the module to work properly.
 I got the following list on my system:

 /usr/lib/libgdkxft.so = /usr/lib/libgdkxft.so (0x4002c000)
 libgcc_s.so.1 = /usr/local/lib/libgcc_s.so.1 (0x40031000)
 libc.so.6 = /lib/i686/libc.so.6 (0x40054000)
 libgtk-1.2.so.0 = /usr/lib/libgtk-1.2.so.0 (0x4019)
 libgdk-1.2.so.0 = /usr/lib/libgdk-1.2.so.0 (0x402be000)
 libgmodule-1.2.so.0 = /usr/lib/libgmodule-1.2.so.0 (0x402f4000)
 libglib-1.2.so.0 = /usr/lib/libglib-1.2.so.0 (0x402f7000)
 libdl.so.2 = /lib/libdl.so.2 (0x4031b000)
 libXi.so.6 = /usr/lib/libXi.so.6 (0x4031f000)
 libXext.so.6 = /usr/lib/libXext.so.6 (0x40327000)
 libX11.so.6 = /usr/lib/libX11.so.6 (0x40336000)
 libm.so.6 = /lib/i686/libm.so.6 (0x4040)
 libXft.so.1 = /usr/lib/libXft.so.1 (0x40423000)
 /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
 libXrender.so.1 = /usr/lib/libXrender.so.1 (0x4044d000)
 libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x40452000)
 libz.so.1 = /usr/lib/libz.so.1 (0x404a3000)

 If you get something similar, the problem may be with the
 LD_LIBRARY_PATH or the /etc/ld.so.conf, your libraries are not located
 were they are expected and they cannot be found to resolve the symbols
 at runtime.

 It seems to me the safest approach would be to recompile from source and
 have some sort of control over what you are doing.

 There are already some recent questions on the current mailing list
 which described the options you should pass to the configure. Just be
 warn if it fails at runtime with similar problem, the solution is to
 edit manually the Makefile in native2/server/apache2 directory to
 include manually the missing libraries at the JK_LDFLAGS definition
 line.

 I found db-4.0 is not required, another version of the Berkeley DB will
 do as well, given you provide the correct naming to the -l option.



My output is:

[EMAIL PROTECTED] apache2]# ldd mod_jk2.so
libc.so.6 = /lib/i686/libc.so.6 (0x4003)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)

is this a problem? I am quite new to linux so I dont know much about
libraries.
Thanks
Allan


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



Re: Tomcat Apache connector not working

2004-03-19 Thread Daniel Savard
Le ven 19/03/2004 à 12:30, Allan Bruce a écrit :

 
 My output is:
 
 [EMAIL PROTECTED] apache2]# ldd mod_jk2.so
 libc.so.6 = /lib/i686/libc.so.6 (0x4003)
 /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)
 
 is this a problem? I am quite new to linux so I dont know much about
 libraries.
 Thanks
 Allan
 

Yes, that is. Your output indicates the mod_jk2.so doesn't know it needs
to bind with many other shared libraries in order to resolve all
symbols. So, it will look only in the two above libraries to resolve all
the symbols, and will not find the ap_server_root (as well as many
others) symbol causing the error.

You may look at the list of symbols which will required to be resolved
at runtime with the nm command: nm mod_jk2.so and all lines beginning
with a U are for undefined symbols. Those with a T are defined within
the current library.

There is no other way than building the module yourself to make it aware
it requires to bind with all other libraries.


-- 

===
Daniel Savard

===



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



Re: Tomcat Apache connector not working

2004-03-18 Thread Daniel Savard
Le jeu 18/03/2004 à 06:27, Allan Bruce a écrit :
 I have apache and tomcat both up and running.  Now I want to be able to set
 up a connector so that I can browse the 'examples' directory of the tomcat
 installation through apaches port.  The below config doesnt seem to work,
 can somebody please tell me where I am going wrong?
 Thanks
 
 
 
 - catalina.out
 18-Mar-2004 10:01:57 org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on port 8080
 18-Mar-2004 10:01:58 org.apache.jk.server.JkMain start
 INFO: APR not loaded, disabling jni components: java.io.IOException:
 /usr/lib/apache2/mod_jk2.so: /usr/lib/apache2/mod_jk2.so: undefined symbol:
 ap_server_root
 18-Mar-2004 10:01:58 org.apache.jk.common.ChannelSocket init
 INFO: JK2: ajp13 listening on /0.0.0.0:8019
 18-Mar-2004 10:01:58 org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=23/505
 config=/usr/local/sites/tomcat/tomcat/conf/jk2.properties
 18-Mar-2004 10:01:58 org.apache.jk.server.JkMain start
 INFO: APR not loaded, disabling jni components: java.io.IOException:
 /usr/lib/apache2/mod_jk2.so: /usr/lib/apache2/mod_jk2.so: undefined symbol:
 ap_server_root
 18-Mar-2004 10:01:58 org.apache.jk.common.ChannelSocket init
 INFO: JK2: ajp13 listening on /0.0.0.0:8009
 18-Mar-2004 10:01:58 org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=5/126
 config=/usr/local/sites/tomcat/tomcat/conf/jk2.properties
 
 
 
 

Allan, the problem lies with the link-edit while building the mod_jk2.so
module. The Makefile produced in the some_path/native2/server/apache2/
is buggy. There is some important libraries missing in the list.

Also, I believe the configure is not checking everything properly. All
prereqs should be check at the configure step and flagged if not
satisfied.

You can refer to the following final discussion in the current mailing
list:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg104016.html

What is missing, is the proper JK_LDFLAGS definition which should be:

JK_LDFLAGS=-L${APACHE2_LIBDIR} -lcrypt -lapr-0 -laprutil-0 -lgdbm
-lexpat -ldb-4.0 -lpthread -ldl

In my case, everything after -lcrypt was missing. And since we are
building shared objects, symbols are resolved at runtime rather than at
compile or link-edit time.

-- 

===
Daniel Savard

===



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



RE: Tomcat, Apache, JK/JK2, mod_backhand

2004-02-10 Thread Krell, Andrew
This is the link to the Jakarta FAQ that answers the question which
connector should I use?
http://jakarta.apache.org/tomcat/faq/connectors.html#vs

Good luck
-Andrew
-Original Message-
From: Pete Stokes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 10, 2004 3:06 PM
To: Tomcat Users List
Subject: Tomcat, Apache, JK/JK2, mod_backhand


I'm currently playing about with the above bits, and mod_backhand needs
Apache 1.x, so I'm wondering if any1 can save me a little time by telling me
if I'm using Apache 1.3.x with Tomcat 5.0.18, which is the best connector to
use, jk / jk2 for a production environment ?

The jk docco on jakarta tell me loads but don't seem to make a real
distinction ?

Thanks
Pete.



***
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
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: Tomcat / Apache / SSl

2004-01-13 Thread johncoyle
Software: Apache - 2.0.48
Tomcat - 4.1.29
OpenSSL - 0.9.6l [engine] 04 Nov 2003

Hi,

I am trying to encrypt all data being transmitted from the client pc to
the webserver, and also from the webserver to tomcat. I have only been
working on tomcat for a couple of months but have experience on WebSphere.


I have enabled ssl on both apache and on tomcat, and both are accessible
directly:
apache: https://host
tomcat: https://host:8443



When I try set up a connector from apache to tomcat using port 8443 i get
an Internal Server Error and the follwoing errors in the mod_jk log:


[jk_ajp_common.c (661)]: In jk_endpoint_t::ajp_connect_to_endpoint,
connected sd = 16
[jk_ajp_common.c (693)]: sending to ajp13 #358
[jk_ajp_common.c (966)]: ajp_send_request 2: request body to send 0 -
request body to resend 0
[jk_ajp_common.c (755)]: ajp_connection_tcp_get_message: Error - Wrong
message format 0x1503
[jk_ajp_common.c (1137)]: Error reading reply from tomcat. Tomcat is down
or network problems.
[jk_ajp_common.c (1290)]: ERROR: Receiving from tomcat failed, recoverable
operation. err=2
[jk_ajp_common.c (1309)]: sending request to tomcat failed in send loop.
err=2
[jk_ajp_common.c (1318)]: Error connecting to tomcat. Tomcat is probably
not started or is listening on the wrong port. Failed errno = 0
[jk_ajp_common.c (1529)]: Into jk_endpoint_t::done, closing connection 0
[jk_ajp_common.c (605)]: In jk_endpoint_t::ajp_close_endpoint


Apache to Tomcat using the ajp13 connector over port 8009 works fine but I
have a requirement to encrypt all data. Any ideas?
Thanks,
John


Configs: 
--- Tomcat configs
## server.xml
...
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8443 minProcessors=5 maxProcessors=75 enableLookups=true
acceptCount=100 debug=0 scheme=https secure=true
useURIValidationHack=false disableUploadTimeout=true
Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory
clientAuth=true protocol=TLS / /Connector
...

## workers.properties

workers.tomcat_home=/usr/jakarta-tomcat-4.1.29/
workers.java_home=/usr/java/j2sdk1.4.1_03/bin/java
ps=/

worker.list=bob

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=bob

worker.bob.port=8443
worker.bob.host=10.0.0.10
worker.bob.type=ajp13

worker.bob.lbfactor=1

--- Apache configs
## httpd.conf
...
LoadModule jk_module modules/mod_jk.so

JkWorkersFile /usr/jakarta-tomcat-4.1.29/conf/workers.properties

JkLogFile /usr/httpd-2.0.48/logs/mod_jk-log
JkLogLevel debug

JkMount / bob
JkMount /* bob
...



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



RE: Tomcat / Apache / SSl

2004-01-13 Thread Oscar Carrillo
You will use the same connector over port 8009. No additional connector 
needed over any other port.

In your ssl.conf for apache, you will create a VirtualHost entry very
much like the one that's in your httpd.conf file. In there you will do 
your JkMount declaratives, etc.

BTW, I use 0.9.7c openssl because that one is patched for a 
vulnearability. Just thought I'd mention it eventhough you list yours as 
Nov 4, which probably means the patch was backported.

Oscar
http://daydream.stanford.edu/tomcat/install_web_services.html

On Tue, 13 Jan 2004 [EMAIL PROTECTED] wrote:

 Software: Apache - 2.0.48
 Tomcat - 4.1.29
 OpenSSL - 0.9.6l [engine] 04 Nov 2003
 
 Hi,
 
 I am trying to encrypt all data being transmitted from the client pc to
 the webserver, and also from the webserver to tomcat. I have only been
 working on tomcat for a couple of months but have experience on WebSphere.
 
 
 I have enabled ssl on both apache and on tomcat, and both are accessible
 directly:
 apache: https://host
 tomcat: https://host:8443
 
 
 
 When I try set up a connector from apache to tomcat using port 8443 i get
 an Internal Server Error and the follwoing errors in the mod_jk log:
 
 
 [jk_ajp_common.c (661)]: In jk_endpoint_t::ajp_connect_to_endpoint,
 connected sd = 16
 [jk_ajp_common.c (693)]: sending to ajp13 #358
 [jk_ajp_common.c (966)]: ajp_send_request 2: request body to send 0 -
 request body to resend 0
 [jk_ajp_common.c (755)]: ajp_connection_tcp_get_message: Error - Wrong
 message format 0x1503
 [jk_ajp_common.c (1137)]: Error reading reply from tomcat. Tomcat is down
 or network problems.
 [jk_ajp_common.c (1290)]: ERROR: Receiving from tomcat failed, recoverable
 operation. err=2
 [jk_ajp_common.c (1309)]: sending request to tomcat failed in send loop.
 err=2
 [jk_ajp_common.c (1318)]: Error connecting to tomcat. Tomcat is probably
 not started or is listening on the wrong port. Failed errno = 0
 [jk_ajp_common.c (1529)]: Into jk_endpoint_t::done, closing connection 0
 [jk_ajp_common.c (605)]: In jk_endpoint_t::ajp_close_endpoint
 
 
 Apache to Tomcat using the ajp13 connector over port 8009 works fine but I
 have a requirement to encrypt all data. Any ideas?
 Thanks,
 John
 
 
 Configs: 
 --- Tomcat configs
 ## server.xml
 ...
 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
 port=8443 minProcessors=5 maxProcessors=75 enableLookups=true
 acceptCount=100 debug=0 scheme=https secure=true
 useURIValidationHack=false disableUploadTimeout=true
 Factory className=org.apache.coyote.tomcat4.CoyoteServerSocketFactory
 clientAuth=true protocol=TLS / /Connector
 ...
 
 ## workers.properties
 
 workers.tomcat_home=/usr/jakarta-tomcat-4.1.29/
 workers.java_home=/usr/java/j2sdk1.4.1_03/bin/java
 ps=/
 
 worker.list=bob
 
 worker.loadbalancer.type=lb
 worker.loadbalancer.balanced_workers=bob
 
 worker.bob.port=8443
 worker.bob.host=10.0.0.10
 worker.bob.type=ajp13
 
 worker.bob.lbfactor=1
 
 --- Apache configs
 ## httpd.conf
 ...
 LoadModule jk_module modules/mod_jk.so
 
 JkWorkersFile /usr/jakarta-tomcat-4.1.29/conf/workers.properties
 
 JkLogFile /usr/httpd-2.0.48/logs/mod_jk-log
 JkLogLevel debug
 
 JkMount / bob
 JkMount /* bob
 ...
 
 
 
 -
 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: Tomcat-Apache vs. Jrun-Iplanet

2004-01-09 Thread Tim Funk
1) Look at the Tomcat Coyote connectors.
2) Look at raw apache performace (like a 1 pixel gif) - and make sure that 
this test works fast before adding tomcat into the mix

-Tim

Chris Boyce wrote:
We are in the process of trying to migrate from a JRun 3.1/IPlanet
environment to Tomcat 4.1.29 and Apache 1.3.29 (with the mod_jk
connector), and we are running into some significant performance
problems.  We are running on Solaris 8.  Apache is tuned and compiled as
recommended by apache's tuning guide.
Without any real load on the machine, we see a large discrepancy in
response times between Tomcat/Apache and Jrun/Iplanet.  Running a simple
probe of a tiny test jsp - which simply adds 1+1 and displays the result
- we are seeing a request response time of 4ms with Jrun and 104ms with
Tomcat.  The same JVM is used for both, with the same command line
options.
Again, this is not a question about load tolerance.  We are hoping to
improve the raw response time of Tomcat/Apache to be closer to that of
Jrun/Iplanet (if possible).  Our server.xml and sample jsp are below.  A
100ms difference between the two environments seems like a lot for such
a simple request.  

Thank you for any suggestions.

server.xml:
--
Server port=8005 shutdown=SHUTDOWN debug=0
  Service name=Tomcat-Apache
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=5 maxProcessors=150 acceptCount=10
debug=0/


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


RE: Tomcat-Apache Security

2003-12-17 Thread Shapira, Yoav

Howdy,
Maybe google or a book like this:
http://www.programming123.com/detail/apache/apache_1861008309.html

In the future, you might want to think about security before setting up
a production environment ;)

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Joaquin Corchero [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 4:53 AM
To: Tomcat Users List
Subject: Tomcat-Apache Security

Good morning.

I'm new in Tomcat-Apache administration and I just created a production
environment, but I need some guidelines to give securtity to my web
applications.

Can anyone give me some url's where I can find information about it?

Thank you very much.



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Tomcat-Apache Security

2003-12-17 Thread Pitre, Russell
I have this book and I like it.The java security manager is a little
over my head at this point in my Tomcat experiencesI'm sure I'll
pick it up soon.the chapters on the Realms are really good as well
as the second or third chapter on file security...I found it pretty
straight forward and to the point.One thing I would of liked to have
seen more of is programmatic application security..Overall, its
definitely worth having IMHO

Cheers
Russ




-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 17, 2003 9:05 AM
To: Tomcat Users List
Subject: RE: Tomcat-Apache Security


Howdy,
Maybe google or a book like this:
http://www.programming123.com/detail/apache/apache_1861008309.html

In the future, you might want to think about security before setting up
a production environment ;)

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Joaquin Corchero [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 4:53 AM
To: Tomcat Users List
Subject: Tomcat-Apache Security

Good morning.

I'm new in Tomcat-Apache administration and I just created a production
environment, but I need some guidelines to give securtity to my web
applications.

Can anyone give me some url's where I can find information about it?

Thank you very much.



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
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: tomcat + apache - reg

2003-12-06 Thread Ben Souther

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


On Friday 05 December 2003 11:52 pm, you wrote:
 I am Sudhakar. S working with Pace Automation Limited. We
  are running our web server using tomcat apache configuration using
  jk_mod(Linux Advanced server 2.1) we are having problem with java
  process I believe. We found that our webserver get hang frequently.
  after killing java process only we can able to browse our website.

  So that I am in need to have some help from you. plz kindly send me full
  configuration detail and is there any possible for tunning apache tomcat
  configuration.

  Today I increase JVm heap size in catalina.sh file using
  JAVA_OPTS=-mx520m

  And I am waiting for better performance after using above heap size

  Again I request you to send me apache tomcat configuration in detail.

  Advance thanks

  Awaiting Your reply

  Regards
 Sudhakar. S
 Jr. Engineer - Network
 Pace Automation Limited
 Chennai/

  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

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



Re: tomcat apache connection problem

2003-10-21 Thread javaerick
Dear friends,
 
I am up with the task of configuring tomcat and apache in linux environment.I had the 
problem that i explained below.I am yet to see some response to it.please gurus,do 
help me.
thanks and regards.
 
thanks and regards
sat
 
NB:- refer to the below post for the problem.
**
Hi folks,

I am currently using apache2.0.40 and tomcat 4.1.27 with jk2 connector for
inter communication of apache tomcat servers on linux9.0

I have a peculiar problem.
When i use the host name to get to the head page of the application it takes
me to default page.But when i use the machine ip it takes me to the head
page of the application.

The problem is, i am not able to progress to other jsp pages in tomcat.

On the other hand, if i replace the IP with the host name, tomcat responds
correctly.

i have checked the server.xml, workers.properties and httpd.conf to ensure i
have the host name entries only.

What could be the problem is beyond my imagination.
Can any one suggest a better solution for this
thanks and regards
sat



-
Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger

Re: Tomcat + Apache + SSL

2003-09-23 Thread Sean Bruton
You can use mod_rewrite in Apache. It's been a while but I believe
something such as this in your httpd.conf should do the trick:

RewriteEngine On
RewriteRule ^/securecontext(.*) https://servername/securecontext$1 [R]

I may be off a bit, so check the docs at:

http://httpd.apache.org/docs/mod/mod_rewrite.html

or this helpful guide:

http://www.engelschall.com/pw/apache/rewriteguide/

On Tue, 2003-09-23 at 12:04, Robert D. Abernethy IV wrote:
 I have apache set up to redirect requests for a specific context to
 Tomcat.  I am curious if there is a way to force all requests to that
 context to be redirected through SSL.
 
 http://servername/securecontext -- https://servername/sercurecontext
 http://servername/everythingelse -- http://servername/everythingelse
 
 Is this something I set up in workers2.properties or httpd.conf?  Can
 anyone point me at a decent tutorial?  Thanks.
 
 Rob Abernethy
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
-- 
Sean Bruton   [EMAIL PROTECTED]
Senior Engineer   Network Services
NeoSpire, Inc.www.neospire.net


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



RE: Tomcat + Apache + SSL

2003-09-23 Thread Robert D. Abernethy IV
I tried that with mixed results.  I was able to use mod_rewrite to
redirect non-Tomcat contexts, but was unable to redirect what I wanted.
Does apache process the mod_jk stuff first?  It looks like it is seeing
securecontext and passing it to Tomcat before it gets to the rewrite
rules.  Here's my results using mod_rewrite (foo is a directory in the
web server root, while secure context is a Tomcat webapp).

http://servername/* - http://servername/*
http://servername/foo - https://servername/foo
http://servername/securecontext - http://servername/securecontext

Rob Abernethy

-Original Message-
From: Sean Bruton [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 23, 2003 2:07 PM
To: Tomcat Users List
Subject: Re: Tomcat + Apache + SSL

You can use mod_rewrite in Apache. It's been a while but I believe
something such as this in your httpd.conf should do the trick:

RewriteEngine On
RewriteRule ^/securecontext(.*) https://servername/securecontext$1 [R]

I may be off a bit, so check the docs at:

http://httpd.apache.org/docs/mod/mod_rewrite.html

or this helpful guide:

http://www.engelschall.com/pw/apache/rewriteguide/

On Tue, 2003-09-23 at 12:04, Robert D. Abernethy IV wrote:
 I have apache set up to redirect requests for a specific context to
 Tomcat.  I am curious if there is a way to force all requests to that
 context to be redirected through SSL.
 
 http://servername/securecontext -- https://servername/sercurecontext
 http://servername/everythingelse -- http://servername/everythingelse
 
 Is this something I set up in workers2.properties or httpd.conf?  Can
 anyone point me at a decent tutorial?  Thanks.
 
 Rob Abernethy
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
-- 
Sean Bruton   [EMAIL PROTECTED]
Senior Engineer   Network Services
NeoSpire, Inc.www.neospire.net


-
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: Tomcat + Apache + SSL

2003-09-23 Thread Bill Barker
Where is Tim when you need him ;-).
http://jakarta.apache.org/tomcat/faq/security.html#https

Robert D. Abernethy IV [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I have apache set up to redirect requests for a specific context to
 Tomcat.  I am curious if there is a way to force all requests to that
 context to be redirected through SSL.

 http://servername/securecontext -- https://servername/sercurecontext
 http://servername/everythingelse -- http://servername/everythingelse

 Is this something I set up in workers2.properties or httpd.conf?  Can
 anyone point me at a decent tutorial?  Thanks.

 Rob Abernethy




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



Re: tomcat apache SSL

2003-09-02 Thread Bill Barker
My first guess is that you are running a version  4.1.27.  If so, you
should see all sorts of errors in your Tomcat logs telling you what didn't
work.

If you want to know why earlier version don't work, search the archives or
bugzilla.

Elif Akten [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Hi All,

 I use apache web server and for jsp files I configureted tomcat.

 I try to make SSL connection with client authentication. I configureted
 apache and did nothing with tomcat (should I do??), it works, asks me for
 client certificate and verifys it.

 Everything looks fine but when  I try to get client certificate from
servlet
 it returns null,

 anybody knows ?

 Please Help

 Elif

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




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



Re: tomcat+apache

2003-07-21 Thread John Turner
mod_jk.conf is included into httpd.conf.

If you make your changes in mod_jk.conf, they are included by default in 
httpd.conf.  There is no need to make them twice.

My HOWTO covers everything step-by-step, I really can't think of a way to 
describe what's needed any better:  http://www.johnturner.com/howto

John

On Mon, 21 Jul 2003 08:33:27 +0800, frankie [EMAIL PROTECTED] wrote:

Dear John,

you mean i need try to edit the mod_jk.conf?

but i remember that it so need to define another virtual host in Apache's 
httpd.conf??

so what i need to do now?i am very new in Linux...HELP ME!!

Frankie


You mean aside from the extensive documentation available at the Apache 
site (http://httpd.apache.org/docs-2.0/vhosts/)?

You could try here:  http://www.johnturner.com/howto/mod_jk_conf.html

John

On Fri, 18 Jul 2003 20:52:37 +0800, frankie [EMAIL PROTECTED] 
wrote:

 then how to define the virtual host in apache?any example?

 That's only half the solution, you'll also need to define another  
virtual host in Apache's httpd.conf.

 John

 On Fri, 18 Jul 2003 10:41:16 +0200, Samuel Le Berrigaud  
[EMAIL PROTECTED] wrote:

  I think you have only one virtual host in your Tomcat server.xml 
file
 
  Host name=localhost debug=0 appBase=webapps
  unpackWARs=true autoDeploy=true
  
 
  /Host
 
  you should add one with the name coresponding with your IP address 
 like :
 
  Host name=10.0.0.1 debug=0 appBase=webapps
  unpackWARs=true autoDeploy=true
  
 
  /Host
 
 
  I think then it will work...
 
  regards,
  SaM
 
  frankie wrote:
 
  Dear all,
  i can build the mod_jk and setup the apache + tomcat +   
j2sdk+mysql+jdbc  sucessfully,now i still have some problems want
  to ask you!!
  when i testing the server in local,i can access the jsp file 
without   specific the port number,
  for example:http://localhost/examples/jsp/index.htm
 
  when i use other computer to test it , it cannot access the  jsp 
file
  for example:http://10.0.0.1/examples/jsp/index,htm(can not 
access!!)
  but if specific the port 8080,it can works!!
 
 
  for example:http://10.0.0.1:8080/examples/jsp/index.htm(can 
access)
 
  Also the apache is work,i can see the apache welcome page if i
  type http://10.0.0.1
 
  regards,Frankie
  --
  Webmail
 
 
  --- 

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

-
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: tomcat-user- 
[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]


 --
 Webmail


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


--
Webmail
-
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: tomcat+apache

2003-07-20 Thread frankie
Dear John,

you mean i need try to edit the mod_jk.conf?

but i remember that it so need to define another 
virtual host in Apache's httpd.conf??

so what i need to do now?i am very new in Linux...HELP ME!!

Frankie


 You mean aside from the extensive documentation available at the 
 Apache site (http://httpd.apache.org/docs-2.0/vhosts/)?
 
 You could try here:  http://www.johnturner.com/howto/mod_jk_conf.html
 
 John
 
 On Fri, 18 Jul 2003 20:52:37 +0800, frankie [EMAIL PROTECTED] wrote:
 
  then how to define the virtual host in apache?any example?
 
  That's only half the solution, you'll also need to define another 
  virtual host in Apache's httpd.conf.
 
  John
 
  On Fri, 18 Jul 2003 10:41:16 +0200, Samuel Le Berrigaud 
  [EMAIL PROTECTED] wrote:
 
   I think you have only one virtual host in your Tomcat server.xml file
  
   Host name=localhost debug=0 appBase=webapps
   unpackWARs=true autoDeploy=true
   
  
   /Host
  
   you should add one with the name coresponding with your IP address 
  like :
  
   Host name=10.0.0.1 debug=0 appBase=webapps
   unpackWARs=true autoDeploy=true
   
  
   /Host
  
  
   I think then it will work...
  
   regards,
   SaM
  
   frankie wrote:
  
   Dear all,
   i can build the mod_jk and setup the apache + tomcat +  
  j2sdk+mysql+jdbc  sucessfully,now i still have some problems want
   to ask you!!
   when i testing the server in local,i can access the jsp file without 
   specific the port number,
   for example:http://localhost/examples/jsp/index.htm
  
   when i use other computer to test it , it cannot access the  jsp file
   for example:http://10.0.0.1/examples/jsp/index,htm(can not access!!)
   but if specific the port 8080,it can works!!
  
  
   for example:http://10.0.0.1:8080/examples/jsp/index.htm(can access)
  
   Also the apache is work,i can see the apache welcome page if i
   type http://10.0.0.1
  
   regards,Frankie
   --
   Webmail
  
  
   -
   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]
 
 
  --
  Webmail
 
 
  -
  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]


--
Webmail


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



Re: tomcat+apache

2003-07-18 Thread Samuel Le Berrigaud
I think you have only one virtual host in your Tomcat server.xml file

Host name=localhost debug=0 appBase=webapps
unpackWARs=true autoDeploy=true


/Host

you should add one with the name coresponding with your IP address like :

Host name=10.0.0.1 debug=0 appBase=webapps
unpackWARs=true autoDeploy=true


/Host


I think then it will work...

regards,
SaM

frankie wrote:

Dear all,
i can build the mod_jk and setup the apache + tomcat +  
j2sdk+mysql+jdbc sucessfully,now i still have some problems want
to ask you!!
when i testing the server in local,i can access the jsp file 
without specific the port number,

for example:http://localhost/examples/jsp/index.htm 

when i use other computer to test it , it cannot access the  
jsp file
   
  for example:http://10.0.0.1/examples/jsp/index,htm(can not access!!)

 but if specific the port 8080,it can works!! 


 for example:http://10.0.0.1:8080/examples/jsp/index.htm(can access)

Also the apache is work,i can see the apache welcome page if i
type http://10.0.0.1

  regards,Frankie
--
Webmail


-
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: tomcat+apache

2003-07-18 Thread John Turner
That's only half the solution, you'll also need to define another virtual 
host in Apache's httpd.conf.

John

On Fri, 18 Jul 2003 10:41:16 +0200, Samuel Le Berrigaud 
[EMAIL PROTECTED] wrote:

I think you have only one virtual host in your Tomcat server.xml file

Host name=localhost debug=0 appBase=webapps
unpackWARs=true autoDeploy=true

/Host

you should add one with the name coresponding with your IP address like :

Host name=10.0.0.1 debug=0 appBase=webapps
unpackWARs=true autoDeploy=true

/Host

I think then it will work...

regards,
SaM
frankie wrote:

Dear all,
i can build the mod_jk and setup the apache + tomcat +  j2sdk+mysql+jdbc 
sucessfully,now i still have some problems want
to ask you!!
when i testing the server in local,i can access the jsp file without 
specific the port number,
for example:http://localhost/examples/jsp/index.htm

when i use other computer to test it , it cannot access the  jsp file
for example:http://10.0.0.1/examples/jsp/index,htm(can not access!!)
but if specific the port 8080,it can works!!
for example:http://10.0.0.1:8080/examples/jsp/index.htm(can access)

Also the apache is work,i can see the apache welcome page if i
type http://10.0.0.1
regards,Frankie
--
Webmail
-
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]


Re: tomcat+apache

2003-07-18 Thread frankie
then how to define the virtual host in apache?any example?

 That's only half the solution, you'll also need to define another 
 virtual host in Apache's httpd.conf.
 
 John
 
 On Fri, 18 Jul 2003 10:41:16 +0200, Samuel Le Berrigaud 
 [EMAIL PROTECTED] wrote:
 
  I think you have only one virtual host in your Tomcat server.xml file
 
  Host name=localhost debug=0 appBase=webapps
  unpackWARs=true autoDeploy=true
  
 
  /Host
 
  you should add one with the name coresponding with your IP address like :
 
  Host name=10.0.0.1 debug=0 appBase=webapps
  unpackWARs=true autoDeploy=true
  
 
  /Host
 
 
  I think then it will work...
 
  regards,
  SaM
 
  frankie wrote:
 
  Dear all,
  i can build the mod_jk and setup the apache + tomcat +  j2sdk+mysql+jdbc 
  sucessfully,now i still have some problems want
  to ask you!!
  when i testing the server in local,i can access the jsp file without 
  specific the port number,
  for example:http://localhost/examples/jsp/index.htm
 
  when i use other computer to test it , it cannot access the  jsp file
  for example:http://10.0.0.1/examples/jsp/index,htm(can not access!!)
  but if specific the port 8080,it can works!!
 
 
  for example:http://10.0.0.1:8080/examples/jsp/index.htm(can access)
 
  Also the apache is work,i can see the apache welcome page if i
  type http://10.0.0.1
 
  regards,Frankie
  --
  Webmail
 
 
  -
  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]


--
Webmail


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



Re: tomcat+apache

2003-07-18 Thread John Turner
You mean aside from the extensive documentation available at the Apache 
site (http://httpd.apache.org/docs-2.0/vhosts/)?

You could try here:  http://www.johnturner.com/howto/mod_jk_conf.html

John

On Fri, 18 Jul 2003 20:52:37 +0800, frankie [EMAIL PROTECTED] wrote:

then how to define the virtual host in apache?any example?

That's only half the solution, you'll also need to define another 
virtual host in Apache's httpd.conf.

John

On Fri, 18 Jul 2003 10:41:16 +0200, Samuel Le Berrigaud 
[EMAIL PROTECTED] wrote:

 I think you have only one virtual host in your Tomcat server.xml file

 Host name=localhost debug=0 appBase=webapps
 unpackWARs=true autoDeploy=true
 

 /Host

 you should add one with the name coresponding with your IP address 
like :

 Host name=10.0.0.1 debug=0 appBase=webapps
 unpackWARs=true autoDeploy=true
 

 /Host


 I think then it will work...

 regards,
 SaM

 frankie wrote:

 Dear all,
 i can build the mod_jk and setup the apache + tomcat +  
j2sdk+mysql+jdbc  sucessfully,now i still have some problems want
 to ask you!!
 when i testing the server in local,i can access the jsp file without 
 specific the port number,
 for example:http://localhost/examples/jsp/index.htm

 when i use other computer to test it , it cannot access the  jsp file
 for example:http://10.0.0.1/examples/jsp/index,htm(can not access!!)
 but if specific the port 8080,it can works!!


 for example:http://10.0.0.1:8080/examples/jsp/index.htm(can access)

 Also the apache is work,i can see the apache welcome page if i
 type http://10.0.0.1

 regards,Frankie
 --
 Webmail


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


--
Webmail
-
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: tomcat+apache

2003-07-18 Thread Simon Pabst
If the 404 error comes from Apache your JkMount doesn't work properly (for 
10.0.0.1)
Look for errors in mod_jk.log or error_log.

Also try putting a proper ServerName in httpd.conf
(http://httpd.apache.org/docs/mod/core.html#servername)
and set UseCanonicalName off
(http://httpd.apache.org/docs/mod/core.html#usecanonicalname)
At 16:25 18.07.2003 +0800, you wrote:
Dear all,
i can build the mod_jk and setup the apache + tomcat +
j2sdk+mysql+jdbc sucessfully,now i still have some problems want
to ask you!!
when i testing the server in local,i can access the jsp file
without specific the port number,
for example:http://localhost/examples/jsp/index.htm

when i use other computer to test it , it cannot access the
jsp file
  for example:http://10.0.0.1/examples/jsp/index,htm(can not 
access!!)

 but if specific the port 8080,it can works!!

 for example:http://10.0.0.1:8080/examples/jsp/index.htm(can access)

Also the apache is work,i can see the apache welcome page if i
type http://10.0.0.1
  regards,Frankie
--
Webmail
-
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: Tomcat + Apache + mod_jk HOWTO

2003-07-16 Thread John Turner
If you consider localhost to be a VirtualHost (it is), then the HOWTOs 
should be OK.  If you need more info, this may help:

http://marc.theaimsgroup.com/?l=tomcat-userm=105778185321556w=2

The only thing I would change from my post earlier this month is that I 
would setup a separate director for each host that is not under 
CATALINA_HOME/webapps.

John

On Wed, 16 Jul 2003 12:58:28 -0300, Juan Nin [EMAIL PROTECTED] wrote:

Hi,

Can someone point me to a good Tomcat + Apache-1.3.x + mod_jk HOWTO that
covers Apache's VirtualHosts?
I found a nice one by Pascal Chong at
http://linux-sxs.org/internet_serving/tomcat4.1x.html
It's good for initial setup, but does not cover many more things...
I've got Tomcat working ok with mod_jk + Apache, but I'd like info on
configuring Apache's VirtualHosts to use Tomcat..
There's this HOWTO:
http://jakarta.apache.org/builds/jakarta-tomcat- 
connectors/jk2/doc/jk2/vhost
howto.html

but it covers Apache-2, and I tried it with my Apache-1.3.27 and doesn't
work..
Thanks in advanced,

Juan



-
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: Tomcat + Apache + mod_jk HOWTO

2003-07-16 Thread Juan Nin
From: John Turner [EMAIL PROTECTED]


 If you consider localhost to be a VirtualHost (it is), then the HOWTOs
 should be OK.  If you need more info, this may help:

 http://marc.theaimsgroup.com/?l=tomcat-userm=105778185321556w=2

 The only thing I would change from my post earlier this month is that I
 would setup a separate director for each host that is not under
 CATALINA_HOME/webapps.

thnx John!
it's now working..

the problem was that I was not defining the host in server.xml
I thought that while using it with mod_jk + apache y only had to define it
in httpd.conf

regards,

Juan



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



Re: Tomcat + Apache + mod_jk HOWTO

2003-07-16 Thread Juan Nin
From: John Turner [EMAIL PROTECTED]

 The only thing I would change from my post earlier this month is that I
 would setup a separate director for each host that is not under
 CATALINA_HOME/webapps.

what's the concept of director?

is there any advantage or something between having your apps under
CATALINA_HOME/webapps and not having them there?

sorry for all the bothering,

Juan



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



Re: Tomcat + Apache + mod_jk HOWTO

2003-07-16 Thread John Turner
Typo.  director = directory

The problem with having multiple webapps for multiple virtual hosts all 
under CATALINA_HOME/webapps is that things get a little messy.

For example, say you have two virtual hosts, host1 and host2.  You have two 
apps, app1 and app2.  So, you expect something like www.host1.com/app1 and 
www.host2.com/app2.

If you put app1 and app2 under webapps, both of your Hosts will have the 
same appBase (webapps).  Then things like the Tomcat manager will be cross- 
host, that is, app2 will also work for host1 (www.host1.com/app2) and app1 
will work for host2 (www.host2.com/app1).  That may or may not be 
acceptable...in some cases, app2 should not be accessible to anything other 
than host2.

In order to achieve this, you have to set different appBase's for each Host 
(like CATALINA_HOME/hosts/host1 and CATALINA_HOME/hosts/host2).  That's 
what I was describing earlier.

John

On Wed, 16 Jul 2003 17:36:30 -0300, Juan Nin [EMAIL PROTECTED] wrote:

From: John Turner [EMAIL PROTECTED]

The only thing I would change from my post earlier this month is that I
would setup a separate director for each host that is not under
CATALINA_HOME/webapps.
what's the concept of director?

is there any advantage or something between having your apps under
CATALINA_HOME/webapps and not having them there?
sorry for all the bothering,

Juan



-
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: Tomcat + Apache + mod_jk HOWTO

2003-07-16 Thread Juan Nin
From: John Turner [EMAIL PROTECTED]

 Typo.  director = directory

oh, ok, I thought maybe it was a typo  :)

 The problem with having multiple webapps for multiple virtual hosts all
 under CATALINA_HOME/webapps is that things get a little messy.

yes, I thought of that..

 If you put app1 and app2 under webapps, both of your Hosts will have the
 same appBase (webapps).  Then things like the Tomcat manager will be
cross-
 host, that is, app2 will also work for host1 (www.host1.com/app2) and app1
 will work for host2 (www.host2.com/app1).  That may or may not be
 acceptable...in some cases, app2 should not be accessible to anything
other
 than host2.

interesting, in my case they shouldn;t be accesible

 In order to achieve this, you have to set different appBase's for each
Host
 (like CATALINA_HOME/hosts/host1 and CATALINA_HOME/hosts/host2).  That's
 what I was describing earlier.

ok
now I get what you tried to say :)

in my case the VirtualHost's directory is /var/www/domain.com
and it's working with the folowwing section in my server.xml file:

 Host name=www.domain.com debug=0
appBase=/var/www/domain.com
unpackWARs=true autoDeploy=true

Context path= docBase= debug=1/

Valve className=org.apache.catalina.valves.AccessLogValve
 directory=logs  prefix=domain.com_access_log.
suffix=.txt
 pattern=common resolveHosts=false/
/Host

is this ok, or is there any problem?
I always see all of the examples putting things under CATALINA_HOME, but
this is working ok in /var/www/domain.com

thnx again for all!!!

Juan



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



Re: Tomcat + Apache + mod_jk HOWTO

2003-07-16 Thread John Turner
If its working for you as you need and expect, its OK.

John

On Wed, 16 Jul 2003 17:57:48 -0300, Juan Nin [EMAIL PROTECTED] wrote:

From: John Turner [EMAIL PROTECTED]

Typo.  director = directory
oh, ok, I thought maybe it was a typo  :)

The problem with having multiple webapps for multiple virtual hosts all
under CATALINA_HOME/webapps is that things get a little messy.
yes, I thought of that..

If you put app1 and app2 under webapps, both of your Hosts will have the
same appBase (webapps).  Then things like the Tomcat manager will be
cross-
host, that is, app2 will also work for host1 (www.host1.com/app2) and 
app1
will work for host2 (www.host2.com/app1).  That may or may not be
acceptable...in some cases, app2 should not be accessible to anything
other
than host2.
interesting, in my case they shouldn;t be accesible

In order to achieve this, you have to set different appBase's for each
Host
(like CATALINA_HOME/hosts/host1 and CATALINA_HOME/hosts/host2).  That's
what I was describing earlier.
ok
now I get what you tried to say :)
in my case the VirtualHost's directory is /var/www/domain.com
and it's working with the folowwing section in my server.xml file:
Host name=www.domain.com debug=0
appBase=/var/www/domain.com
unpackWARs=true autoDeploy=true
Context path= docBase= debug=1/

Valve className=org.apache.catalina.valves.AccessLogValve
directory=logs  prefix=domain.com_access_log.
suffix=.txt
pattern=common resolveHosts=false/
/Host
is this ok, or is there any problem?
I always see all of the examples putting things under CATALINA_HOME, but
this is working ok in /var/www/domain.com
thnx again for all!!!

Juan



-
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: Tomcat/Apache and mod_jk2

2003-07-15 Thread Simon Pabst
mod_jk2 needs Apache APR libraries to work.

These aren't included with Apache 1.x, only Apache 2.x

- The easier thing to build mod_jk2 is to do it with Apache 2,
- However you could also download and build the Apache APR libraries 
(http://www.apache.org/dist/apr/)
and then build mod_jk2 with them for Apache 1.x.

If you don't have any really strong reason for staying on Apache 1.x best 
thing is propably to go for Apache 2,
unless you're desperately looking for trouble ;-)

*me points at* 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/installhowto.html

At 17:21 15.07.2003 -0400, you wrote:
I'm trying to install the mod_jk2 connector under Apache 1.3.27 and Tomcat
4.1.18.  When I place the mod_jk2.so in apache/modules and run the apachectl
configtest I get the error message:
Syntax error on line 224 of /coi/home/apache/conf/httpd.conf:
Cannot load /coi/home/apache/modules/mod_jk2.so into server: ld.so.1:
/coi/home/apache/bin/httpd: fatal: relocation error: file
/coi/home/apache/modules/mod_jk2.so: symbol apr_pool_cleanup_null:
referenced symbol not found
Con anyone tell me why?


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


RE: Tomcat/Apache and mod_jk2

2003-07-15 Thread Daniel Herbison
Thank you I'll give that a try.

-Original Message-
From: Simon Pabst [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 5:08 PM
To: Tomcat Users List
Subject: Re: Tomcat/Apache and mod_jk2


mod_jk2 needs Apache APR libraries to work.

These aren't included with Apache 1.x, only Apache 2.x

- The easier thing to build mod_jk2 is to do it with Apache 2,
- However you could also download and build the Apache APR libraries 
(http://www.apache.org/dist/apr/)
and then build mod_jk2 with them for Apache 1.x.

If you don't have any really strong reason for staying on Apache 1.x best 
thing is propably to go for Apache 2,
unless you're desperately looking for trouble ;-)

*me points at* 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/installhowto.html


At 17:21 15.07.2003 -0400, you wrote:
I'm trying to install the mod_jk2 connector under Apache 1.3.27 and Tomcat
4.1.18.  When I place the mod_jk2.so in apache/modules and run the
apachectl
configtest I get the error message:

Syntax error on line 224 of /coi/home/apache/conf/httpd.conf:
Cannot load /coi/home/apache/modules/mod_jk2.so into server: ld.so.1:
/coi/home/apache/bin/httpd: fatal: relocation error: file
/coi/home/apache/modules/mod_jk2.so: symbol apr_pool_cleanup_null:
referenced symbol not found

Con anyone tell me why?


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



RE: Tomcat-Apache JSP compile error

2003-07-04 Thread Atreya Basu
Okay,

I looked at this and it seems to be an Ant script problem.  It appears
as if Ant can't find the javac executable.  I know that this is a common
problem because I've found some discussion about it on the Tomcat
website.  The thing is it almost seems that this problem hits only some
people.  Maybe I'll do a re-install and it'll go away.

Atreya

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

-Original Message-
From: Atreya Basu [mailto:[EMAIL PROTECTED] 
Sent: July 3, 2003 11:39 PM
To: Tomcat Users List
Subject: Tomcat-Apache JSP compile error

Hello,

I'm having a problem compiling JSPs dynamically when using mod_jk2.  
When I change a JSP file and try to access it I get the following error:

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.

And then a stack trace.

If the JSP is already compiled then of course I'm not getting the 
problem.  I can see the generated _jsp.java file but for some reason it 
won't compile.

If I use Tomcat alone everything works great.  I can then go back to 
using the JK2 connector because the class files are up to date.

Does anyone have any ideas about this?  Or has anyone seen anything like

this?

Atreya

-- 

Developer
Greenfield Research Inc.
atreya(AT)greenfieldresearch(DOT)ca
(902)422-9426




-
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: Tomcat-Apache JSP compile error

2003-07-04 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#compile
-Tim
Atreya Basu wrote:
Hello,

I'm having a problem compiling JSPs dynamically when using mod_jk2.  
When I change a JSP file and try to access it I get the following error:

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
   [javac] Since fork is true, ignoring compiler setting.
   [javac] Compiling 1 source file
   [javac] Since fork is true, ignoring compiler setting.
And then a stack trace.

If the JSP is already compiled then of course I'm not getting the 
problem.  I can see the generated _jsp.java file but for some reason it 
won't compile.

If I use Tomcat alone everything works great.  I can then go back to 
using the JK2 connector because the class files are up to date.

Does anyone have any ideas about this?  Or has anyone seen anything like 
this?

Atreya



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


RE: Tomcat-Apache JSP compile error

2003-07-04 Thread Atreya Basu
Hey Tim,

Yup, I read through that exact thing.  I tried all of the things there
without any luck. I'm thinking that it is simply a configuration error.
So I will just re-install everything.

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

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: July 4, 2003 9:04 AM
To: Tomcat Users List
Subject: Re: Tomcat-Apache JSP compile error

http://jakarta.apache.org/tomcat/faq/misc.html#compile
-Tim

Atreya Basu wrote:
 Hello,
 
 I'm having a problem compiling JSPs dynamically when using mod_jk2.  
 When I change a JSP file and try to access it I get the following
error:
 
 org.apache.jasper.JasperException: Unable to compile class for JSP
 
 An error occurred at line: -1 in the jsp file: null
 
 Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
 
 And then a stack trace.
 
 If the JSP is already compiled then of course I'm not getting the 
 problem.  I can see the generated _jsp.java file but for some reason
it 
 won't compile.
 
 If I use Tomcat alone everything works great.  I can then go back to 
 using the JK2 connector because the class files are up to date.
 
 Does anyone have any ideas about this?  Or has anyone seen anything
like 
 this?
 
 Atreya
 


-
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: tomcat/apache systems consultant available now?

2003-07-03 Thread David Rees
sander-martijn said:

 sorry for posting this but i'm not sure what else to do at this point.

 i'm desparately seeking help with the issue i posted earlier on this
 list under the subject Integration problems: tomcat 4.1, apache 1.3.x
 mod_jk (ajp13).

 since i haven't received a response and am really stuck until i do, I'll
 try the $ approach.  Please contact me immediately if you are available
 (immediately) to help me with this problem.  If you are interested in
 longer term systems administsration consulting, that may be available
 (part time as needed) but right now i simply need help with this issue.

Hi,

I would be able to help.  I've been running Apache 1.3.x and Tomcat 4.1
with mod_jk forever with no issues.  What platform are you running?

-Dave

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



Re: tomcat/apache systems consultant available now?

2003-07-03 Thread David Rees
David Rees said:
 sander-martijn said:

 sorry for posting this but i'm not sure what else to do at this point.

 i'm desparately seeking help with the issue i posted earlier on this
 list under the subject Integration problems: tomcat 4.1, apache 1.3.x
 mod_jk (ajp13).

 since i haven't received a response and am really stuck until i do, I'll
 try the $ approach.  Please contact me immediately if you are available
 (immediately) to help me with this problem.  If you are interested in
 longer term systems administsration consulting, that may be available
 (part time as needed) but right now i simply need help with this issue.

 I would be able to help.  I've been running Apache 1.3.x and Tomcat 4.1
 with mod_jk forever with no issues.  What platform are you running?

Oops, didn't mean to send that to the list.  If anyone else has specific
problems getting the above combination running you can contact me, too and
I'll see if I can answer your questions.  ;-)

-Dave

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



Re: Tomcat + Apache Problem

2003-06-27 Thread John Turner
What Tomcat version?

For version 4.1.x, See my Win2K/XP HOWTO:  http://www.johnturner.com/howto

John

On Thu, 26 Jun 2003 21:13:32 +0200, David Herranz [EMAIL PROTECTED] 
wrote:

Hello,
I trying to integrate Tomcat into the Apache server, but i
need the  file tomcat-Apache.conf, I read in some documents that this
file is created automatic when the tomcat start, but when I start the
tomcat server the file no create.
I explain you my environment:
W2000 workstation, Oracle server, Apache server,
and Tomcat.
Could you help me??
Sorry for my English


--
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: Tomcat + Apache Problem

2003-06-26 Thread Bill Barker
There hasn't been a tomcat-Apache.conf as long as I've been hanging out
here.  If you can give the versions on (especially) Tomcat, and Apache, you
might get more help.

David Herranz [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]


 Hello,

 I trying to integrate Tomcat into the Apache server, but i
 need the  file tomcat-Apache.conf, I read in some documents that this
 file is created automatic when the tomcat start, but when I start the
 tomcat server the file no create.


 I explain you my environment:

 W2000 workstation, Oracle server, Apache server,
 and Tomcat.


 Could you help me??

 Sorry for my English





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



Re: Tomcat, Apache, and SSL

2003-06-13 Thread Bill Barker
You should be taking a different approach.  Using mod_jk will handle the
secure problem better.

However, I believe that 4.1.25 will work with your config.

Eric Northam [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 What is the appropriate way to setup Apache to handle SSL and act as a
proxy
 to Tomcat? The Apache - Tomcat connection does not have to be over SSL
but
 I would like to use
transport-guaranteeCONFIDENTIAL/transport-guarantee
 as a user data constraint in Tomcat so that certain requests are
redirected
 to an SSL connection.

 I assumed that I could use two proxies in Apache going to different ports
on
 Tomcat. I tried to set this up with the following two Coyote connectors:
 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8081
 redirectPort=8081 proxyName=myproxy.com proxyPort=80/

 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8082
 scheme=https secure=true proxyName=myproxy.com proxyPort=8081/

 Where apache is running on on myproxy.com with http on port 80 and https
on
 port 8081. Even if I access myproxy.com:8081 and go to a secure page,
Tomcat
 attempts to redirect. Is it possible to set up Tomcat and Apache to work
in
 this manner or should I be taking a different approach?

 Eric





 DISCLAIMER: The information contained in this e-mail is, unless otherwise
 indicated, confidential and is intended solely for the use of the named
 addressee. Access, copying or re-use of the e-mail or any information
 contained therein by any other person is not authorized. If you are not
the
 intended recipient please notify us immediately by returning the e-mail to
 the originator.





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



Re: Tomcat/ Apache startup

2003-06-06 Thread John Turner
What is your script trying to do?  Start all of them?  That's not the 
optimal configuration.

You should really have 3 scripts, one for each.  Start them up in sequence 
in rc3-5.d.  MySQL, then Tomcat, then Apache.

Connection refused generally means that something is already started on 
that portdo you know which service is returning the connection refused 
message?

John

On Fri, 6 Jun 2003 14:22:42 -0500, David Nelson [EMAIL PROTECTED] 
ind.com wrote:

I'm sure this is cake to this list so here goes nothing.

I really need some help.  I've followed John Turners install instructions 
for tomcat 4.1.18 on RedHat integrating with Apache 2 and all works like 
a champ.

Unfortunately, now that I'm trying to integrate a startup script for 
Tomcat, Apache and MySQL, things aren't going so well.  The app returns 
connection refused.  I'm fairly certain the startup scripts are 
incorrect.

Can someone point me in the right direction here?  I've been to no 
telling how many sites and googling and I can not figure this one out.

Thanks in advance!

-
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: Tomcat/ Apache startup

2003-06-06 Thread David Nelson
Hello John,

Thanks for getting back to me.  Regarding other processes, I'm pretty certain nothing 
is being started just because I installed Apache, tomcat and MySQL from source 
removing the apache that comes with RedHat.  Previously I started those processes 
manually at prompt.

Regarding scripts, here's what I have:
etc/rc.d/init.d/tomcat
etc/rc.d/init.d/apache
etc/rc.d/init.d/mysql

here are the scripts:  for credit purposes, these originated at
http://www.raibledesigns.com/tomcat/boot-howto.html
#TOMCAT
#!/bin/bash
#
# apache
#
# chkconfig: 
# description:  Start up the Tomcat servlet engine.

# Source function library.
. /etc/init.d/functions

RETVAL=$?
TOMCATHOME=$TOMCAT_HOME

case $1 in
 start)
if [ -f $TOMCATHOME/bin/startup.sh ];
  then
echo $Starting Tomcat
/bin/su noone $TOMCATHOME/bin/startup.sh
fi
;;
 stop)
if [ -f $TOMCATHOME/bin/shutdown.sh ];
  then
echo $Stopping Tomcat
/bin/su noone $TOMCATHOME/bin/shutdown.sh
fi
;;
 *)
echo $Usage: $0 {start|stop}
exit 1
;;
esac

exit $RETVAL

-
Apache:
#!/bin/bash
#
# apache
#
# chkconfig: 
# description:  Start up the Apache web server.

# Source function library.
. /etc/init.d/functions

RETVAL=$?
APACHEHOME=$APACHE_HOME

case $1 in
 start)
if [ -f $APACHEHOME/bin/apachectl ]; then
echo $Starting Apache
$APACHEHOME/bin/apachectl start
fi
;;
 stop)
if [ -f $APACHEHOME/bin/apachectl ]; then
echo $Stopping Apache
$APACHEHOME/bin/apachectl stop
fi
;;
 *)
echo $Usage: $0 {start|stop}
exit 1
;;
esac

exit $RETVAL

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 2:37 PM
To: Tomcat Users List
Subject: Re: Tomcat/ Apache startup



What is your script trying to do?  Start all of them?  That's not the 
optimal configuration.

You should really have 3 scripts, one for each.  Start them up in sequence 
in rc3-5.d.  MySQL, then Tomcat, then Apache.

Connection refused generally means that something is already started on 
that portdo you know which service is returning the connection refused 
message?

John

On Fri, 6 Jun 2003 14:22:42 -0500, David Nelson [EMAIL PROTECTED] 
ind.com wrote:

 I'm sure this is cake to this list so here goes nothing.

 I really need some help.  I've followed John Turners install instructions 
 for tomcat 4.1.18 on RedHat integrating with Apache 2 and all works like 
 a champ.

 Unfortunately, now that I'm trying to integrate a startup script for 
 Tomcat, Apache and MySQL, things aren't going so well.  The app returns 
 connection refused.  I'm fairly certain the startup scripts are 
 incorrect.

 Can someone point me in the right direction here?  I've been to no 
 telling how many sites and googling and I can not figure this one out.

 Thanks in advance!

 -
 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: Tomcat/ Apache startup

2003-06-06 Thread Mark Eggers
David,

I don't know about Redhat 7.3, but the default
configuration in Redhat 9 restricts user noone and
nobody so that network access does not work.

I am using similar scripts, but installed Tomcat from
the binaries and made two users.

1. tomcat is a normal user and has rw access to the
/home/tomcat directory structure.

2. tomcat-op is a user in the same group, but only has
write access to the appropriate areas (temp, work,
logs - plus some other logging for specific apps).

This seems to work reasonably well, although I could
probably tie down the security in a better fashion.

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



Re: Tomcat/ Apache startup

2003-06-06 Thread John Turner
My guess is that Tomcat isn't starting, because the convention is to use 
CATALINA_HOME, not TOMCAT_HOME, which means that

TOMCATHOME=$TOMCAT_HOME

will make TOMCATHOME null.  Unless, of course, you have an environment 
variable called TOMCAT_HOME set somewhere.

Matt (Raible), if you're reading this thread, can you shed some light on 
the scripts for David?

John

On Fri, 6 Jun 2003 14:48:56 -0500, David Nelson [EMAIL PROTECTED] 
ind.com wrote:

Hello John,

Thanks for getting back to me.  Regarding other processes, I'm pretty 
certain nothing is being started just because I installed Apache, tomcat 
and MySQL from source removing the apache that comes with RedHat.  
Previously I started those processes manually at prompt.

Regarding scripts, here's what I have:
etc/rc.d/init.d/tomcat
etc/rc.d/init.d/apache
etc/rc.d/init.d/mysql
here are the scripts:  for credit purposes, these originated at
http://www.raibledesigns.com/tomcat/boot-howto.html
#TOMCAT
#!/bin/bash
#
# apache#
# chkconfig: # description: Start up the Tomcat servlet engine.
# Source function library.
. /etc/init.d/functions
RETVAL=$?
TOMCATHOME=$TOMCAT_HOME
case $1 in
start)
if [ -f $TOMCATHOME/bin/startup.sh ];
then
echo $Starting Tomcat
/bin/su noone $TOMCATHOME/bin/startup.sh
fi
;;
stop)
if [ -f $TOMCATHOME/bin/shutdown.sh ];
then
echo $Stopping Tomcat
/bin/su noone $TOMCATHOME/bin/shutdown.sh
fi
;;
*)
echo $Usage: $0 {start|stop}
exit 1
;;
esac
exit $RETVAL

-
Apache:
#!/bin/bash
#
# apache#
# chkconfig: # description: Start up the Apache web server.
# Source function library.
. /etc/init.d/functions
RETVAL=$?
APACHEHOME=$APACHE_HOME
case $1 in
start)
if [ -f $APACHEHOME/bin/apachectl ]; then
echo $Starting Apache
$APACHEHOME/bin/apachectl start
fi
;;
stop)
if [ -f $APACHEHOME/bin/apachectl ]; then
echo $Stopping Apache
$APACHEHOME/bin/apachectl stop
fi
;;
*)
echo $Usage: $0 {start|stop}
exit 1
;;
esac
exit $RETVAL

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 2:37 PM
To: Tomcat Users List
Subject: Re: Tomcat/ Apache startup


What is your script trying to do?  Start all of them?  That's not the 
optimal configuration.

You should really have 3 scripts, one for each.  Start them up in 
sequence in rc3-5.d.  MySQL, then Tomcat, then Apache.

Connection refused generally means that something is already started on 
that portdo you know which service is returning the connection 
refused message?

John

On Fri, 6 Jun 2003 14:22:42 -0500, David Nelson [EMAIL PROTECTED] 
ind.com wrote:

I'm sure this is cake to this list so here goes nothing.

I really need some help.  I've followed John Turners install 
instructions for tomcat 4.1.18 on RedHat integrating with Apache 2 and 
all works like a champ.

Unfortunately, now that I'm trying to integrate a startup script for 
Tomcat, Apache and MySQL, things aren't going so well.  The app returns 
connection refused.  I'm fairly certain the startup scripts are 
incorrect.

Can someone point me in the right direction here?  I've been to no 
telling how many sites and googling and I can not figure this one out.

Thanks in advance!

-
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: Tomcat/ Apache startup

2003-06-06 Thread David Nelson
Hello Mark,

Yes I set a tomcat account chown -R $TOMCAT_HOME/bin and replaced the noone with 
Tomcat.  Still nothing.  I'm a real newbie at trying to administer this unit so I 
really apprec the help.

-Original Message-
From: Mark Eggers [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 3:01 PM
To: Tomcat Users List
Subject: RE: Tomcat/ Apache startup


David,

I don't know about Redhat 7.3, but the default
configuration in Redhat 9 restricts user noone and
nobody so that network access does not work.

I am using similar scripts, but installed Tomcat from
the binaries and made two users.

1. tomcat is a normal user and has rw access to the
/home/tomcat directory structure.

2. tomcat-op is a user in the same group, but only has
write access to the appropriate areas (temp, work,
logs - plus some other logging for specific apps).

This seems to work reasonably well, although I could
probably tie down the security in a better fashion.

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

-
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: Tomcat/ Apache startup

2003-06-06 Thread David Nelson
I have both a TOMCAT_HOME and CATALINA_HOME env var.  The TOMCAT var was left over 
from my first try at install and I just kept it around.

I think my problem may lie in the way I'm trying to set permissions for my 'tomcat' 
user.  The user defiantly exists as I'm using it elsewhere but maybe it doesn't have 
rights to be used in the start-up script.  

Incidentally the 'MySQL' user is setup the same as 'tomcat' and neither scripts work 
when replacing the 'noone'.  What specific syntax and lines should I use to set the 
permissions at the shell prompt?

-Dave

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 3:02 PM
To: Tomcat Users List
Subject: Re: Tomcat/ Apache startup



My guess is that Tomcat isn't starting, because the convention is to use 
CATALINA_HOME, not TOMCAT_HOME, which means that

TOMCATHOME=$TOMCAT_HOME

will make TOMCATHOME null.  Unless, of course, you have an environment 
variable called TOMCAT_HOME set somewhere.

Matt (Raible), if you're reading this thread, can you shed some light on 
the scripts for David?

John

On Fri, 6 Jun 2003 14:48:56 -0500, David Nelson [EMAIL PROTECTED] 
ind.com wrote:

 Hello John,

 Thanks for getting back to me.  Regarding other processes, I'm pretty 
 certain nothing is being started just because I installed Apache, tomcat 
 and MySQL from source removing the apache that comes with RedHat.  
 Previously I started those processes manually at prompt.

 Regarding scripts, here's what I have:
 etc/rc.d/init.d/tomcat
 etc/rc.d/init.d/apache
 etc/rc.d/init.d/mysql

 here are the scripts:  for credit purposes, these originated at
 http://www.raibledesigns.com/tomcat/boot-howto.html
 #TOMCAT
 #!/bin/bash
 #
 # apache#
 # chkconfig: # description:   Start up the Tomcat servlet engine.

 # Source function library.
 . /etc/init.d/functions

 RETVAL=$?
 TOMCATHOME=$TOMCAT_HOME

 case $1 in
 start)
 if [ -f $TOMCATHOME/bin/startup.sh ];
 then
   echo $Starting Tomcat
 /bin/su noone $TOMCATHOME/bin/startup.sh
 fi
   ;;
 stop)
 if [ -f $TOMCATHOME/bin/shutdown.sh ];
 then
   echo $Stopping Tomcat
 /bin/su noone $TOMCATHOME/bin/shutdown.sh
 fi
   ;;
 *)
   echo $Usage: $0 {start|stop}
   exit 1
   ;;
 esac

 exit $RETVAL

 -
 Apache:
 #!/bin/bash
 #
 # apache#
 # chkconfig: # description:   Start up the Apache web server.

 # Source function library.
 . /etc/init.d/functions

 RETVAL=$?
 APACHEHOME=$APACHE_HOME

 case $1 in
 start)
   if [ -f $APACHEHOME/bin/apachectl ]; then
   echo $Starting Apache
 $APACHEHOME/bin/apachectl start
 fi
   ;;
 stop)
   if [ -f $APACHEHOME/bin/apachectl ]; then
   echo $Stopping Apache
 $APACHEHOME/bin/apachectl stop
 fi
   ;;
 *)
   echo $Usage: $0 {start|stop}
   exit 1
   ;;
 esac

 exit $RETVAL

 -Original Message-
 From: John Turner [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 06, 2003 2:37 PM
 To: Tomcat Users List
 Subject: Re: Tomcat/ Apache startup



 What is your script trying to do?  Start all of them?  That's not the 
 optimal configuration.

 You should really have 3 scripts, one for each.  Start them up in 
 sequence in rc3-5.d.  MySQL, then Tomcat, then Apache.

 Connection refused generally means that something is already started on 
 that portdo you know which service is returning the connection 
 refused message?

 John

 On Fri, 6 Jun 2003 14:22:42 -0500, David Nelson [EMAIL PROTECTED] 
 ind.com wrote:

 I'm sure this is cake to this list so here goes nothing.

 I really need some help.  I've followed John Turners install 
 instructions for tomcat 4.1.18 on RedHat integrating with Apache 2 and 
 all works like a champ.

 Unfortunately, now that I'm trying to integrate a startup script for 
 Tomcat, Apache and MySQL, things aren't going so well.  The app returns 
 connection refused.  I'm fairly certain the startup scripts are 
 incorrect.

 Can someone point me in the right direction here?  I've been to no 
 telling how many sites and googling and I can not figure this one out.

 Thanks in advance!

 -
 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: Tomcat/ Apache startup

2003-06-06 Thread Mark Eggers
David,

I am using the scripts from:

http://daydream.stanford.edu/tomcat/install_web_services.html

I modified them slightly, including using sudo -u
tomcat-ops for the Tomcat startup script.

These scripts take care of setting the appropriate
environment variables before starting, stopping, or
restarting Tomcat.

HTH

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



RE: Tomcat/ Apache startup

2003-06-06 Thread David Nelson
Mark

I've converted scripts over to those but I still get nothing.  Connection refused 
attempting to connect to localhost:8080.  Anything else at all?  How did you apply 
permissions to your user accounts?  I'm probably missing something in the syntax.

-Dave

-Original Message-
From: Mark Eggers [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 3:32 PM
To: Tomcat Users List
Subject: RE: Tomcat/ Apache startup


David,

I am using the scripts from:

http://daydream.stanford.edu/tomcat/install_web_services.html

I modified them slightly, including using sudo -u
tomcat-ops for the Tomcat startup script.

These scripts take care of setting the appropriate
environment variables before starting, stopping, or
restarting Tomcat.

HTH

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

-
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: Tomcat / Apache / JK2 impossible??

2003-05-31 Thread John Turner
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/

John

On Thu, 29 May 2003 14:39:55 +0530, deepa_narayanan 
[EMAIL PROTECTED] wrote:

I am trying to get Tomcat 4.1.24 and apache 2.0.45  working with mod_jk 
connector.
I need to install it for unix and windows.
Where do i get teh installables for these

-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 1:24 PM
To: Tomcat Users List
Subject: Re: Tomcat / Apache / JK2 impossible??
It is very possible, many of us are doing it as we speak...

Check out:

http://www.johnturner.com/howto/apache-tomcat-howto.html
and
http://tomcatfaq.sourceforge.net
Then go from there, if you still have problems then let us know.

Regards,


--
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: Tomcat / Apache / JK2 impossible??

2003-05-30 Thread Vincent J. Buonassisi
try putting the following line in your workers2.properties:

[shm]
file=/etc/httpd/logs/shm.file
size=1048576
On Giovedì, mag 29, 2003, at 03:27 US/Pacific, David Reche Martinez 
wrote:

Hi again,

Your first link don't tell anything about jk2 configuration and the 
faq's
don't say anything new.

I had been doing all LIKE they say. But don't work. Help me please. :-(

- Original Message -
From: Jason Bainbridge [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 9:53 AM
Subject: Re: Tomcat / Apache / JK2 impossible??

It is very possible, many of us are doing it as we speak...

Check out:

http://www.johnturner.com/howto/apache-tomcat-howto.html
and
http://tomcatfaq.sourceforge.net
Then go from there, if you still have problems then let us know.

Regards,
--
Jason Bainbridge
KDE Web Team - http://kde.org
[EMAIL PROTECTED]
On Thu, 29 May 2003 15:29, David Reche Martinez wrote:
Hi All,

I'm trying to integrate Apache and Tomcat using jk2 but I can't 
reach it

This is my configuration:
Apache 2.0.45
Tomcat 4.1.24
JK2 (2.0.1)
This are each configuration file:

***httpd.conf***
...
LoadModule jk2_module modules/mod_jk2.so
...
***jk2.properties***
All the file is commented
***workers2.properties***

# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp
***server.xml***
...
Connector className=org.apache.coyote.tomcat4.CoyoteConnector

port=8009 minProcessors=5 maxProcessors=75

enableLookups=true redirectPort=8443

acceptCount=10 debug=0 connectionTimeout=0

useURIValidationHack=false

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

...

When I try to access http:/server/examples Apache throw an error.
This is all the error message in the error_log:
[Wed May 28 16:05:21 2003] [error] shm.init(): No file
[Wed May 28 16:05:21 2003] [notice] Apache/2.0.45 (Unix) 
mod_jk2/2.0.0
configured -- resuming normal operations
[Wed May 28 16:05:21 2003] [error] shm.init(): No file
[Wed May 28 16:05:21 2003] [error] shm.init(): No file
[Wed May 28 16:05:21 2003] [error] shm.init(): No file
[Wed May 28 16:05:21 2003] [error] shm.init(): No file
[Wed May 28 16:05:21 2003] [error] shm.init(): No file
[Wed May 28 16:05:26 2003] [error] shm.init(): No file
[Wed May 28 16:05:34 2003] [error] workerEnv.init() create slot 
epStat.0
failed
[Wed May 28 16:05:34 2003] [error] lb.service() worker failed
ajp13:localhost:8009
[Wed May 28 16:05:34 2003] [error] lb.service() unrecoverable 
error...
[Wed May 28 16:05:34 2003] [error] mod_jk.handler() Error connecting 
to
tomcat 12
[Wed May 28 16:06:24 2003] [error] workerEnv.init() create slot 
epStat.2
failed
[Wed May 28 16:06:24 2003] [error] lb.service() worker failed
ajp13:localhost:8009
[Wed May 28 16:06:24 2003] [error] lb.service() unrecoverable 
error...
[Wed May 28 16:06:24 2003] [error] mod_jk.handler() Error connecting 
to
tomcat 12

I hope you can help me in this trouble.

Thank you.



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


Re: Tomcat / Apache / JK2 impossible??

2003-05-30 Thread David Reche Martinez
WONDERFULL!

Thanks!! Thanks!! Thanks!!
I love you !

You don't know how many time i have spent in this...

Thank you again.

- Original Message -
From: Vincent J. Buonassisi [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 4:28 PM
Subject: Re: Tomcat / Apache / JK2 impossible??


try putting the following line in your workers2.properties:

[shm]
file=/etc/httpd/logs/shm.file
size=1048576


On Giovedì, mag 29, 2003, at 03:27 US/Pacific, David Reche Martinez
wrote:

 Hi again,

 Your first link don't tell anything about jk2 configuration and the
 faq's
 don't say anything new.

 I had been doing all LIKE they say. But don't work. Help me please. :-(

 - Original Message -
 From: Jason Bainbridge [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Thursday, May 29, 2003 9:53 AM
 Subject: Re: Tomcat / Apache / JK2 impossible??


 It is very possible, many of us are doing it as we speak...

 Check out:

 http://www.johnturner.com/howto/apache-tomcat-howto.html
 and
 http://tomcatfaq.sourceforge.net

 Then go from there, if you still have problems then let us know.

 Regards,
 --
 Jason Bainbridge
 KDE Web Team - http://kde.org
 [EMAIL PROTECTED]

 On Thu, 29 May 2003 15:29, David Reche Martinez wrote:
 Hi All,

 I'm trying to integrate Apache and Tomcat using jk2 but I can't
 reach it

 This is my configuration:
 Apache 2.0.45
 Tomcat 4.1.24
 JK2 (2.0.1)

 This are each configuration file:

 ***httpd.conf***
 ...
 LoadModule jk2_module modules/mod_jk2.so
 ...

 ***jk2.properties***
 All the file is commented

 ***workers2.properties***

 # Define the communication channel
 [channel.socket:localhost:8009]
 info=Ajp13 forwarding over socket
 tomcatId=localhost:8009

 # Map the Tomcat examples webapp to the Web server uri space
 [uri:/examples/*]
 info=Map the whole webapp

 ***server.xml***
 ...

 Connector className=org.apache.coyote.tomcat4.CoyoteConnector

 port=8009 minProcessors=5 maxProcessors=75

 enableLookups=true redirectPort=8443

 acceptCount=10 debug=0 connectionTimeout=0

 useURIValidationHack=false

 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

 ...


 When I try to access http:/server/examples Apache throw an error.
 This is all the error message in the error_log:

 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [notice] Apache/2.0.45 (Unix)
 mod_jk2/2.0.0
 configured -- resuming normal operations
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:26 2003] [error] shm.init(): No file
 [Wed May 28 16:05:34 2003] [error] workerEnv.init() create slot
 epStat.0
 failed
 [Wed May 28 16:05:34 2003] [error] lb.service() worker failed
 ajp13:localhost:8009
 [Wed May 28 16:05:34 2003] [error] lb.service() unrecoverable
 error...
 [Wed May 28 16:05:34 2003] [error] mod_jk.handler() Error connecting
 to
 tomcat 12
 [Wed May 28 16:06:24 2003] [error] workerEnv.init() create slot
 epStat.2
 failed
 [Wed May 28 16:06:24 2003] [error] lb.service() worker failed
 ajp13:localhost:8009
 [Wed May 28 16:06:24 2003] [error] lb.service() unrecoverable
 error...
 [Wed May 28 16:06:24 2003] [error] mod_jk.handler() Error connecting
 to
 tomcat 12

 I hope you can help me in this trouble.

 Thank you.



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



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



Re: Tomcat / Apache / JK2 impossible??

2003-05-29 Thread Jason Bainbridge
It is very possible, many of us are doing it as we speak...

Check out:

http://www.johnturner.com/howto/apache-tomcat-howto.html
and
http://tomcatfaq.sourceforge.net

Then go from there, if you still have problems then let us know.

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
[EMAIL PROTECTED] 

On Thu, 29 May 2003 15:29, David Reche Martinez wrote:
 Hi All,

 I'm trying to integrate Apache and Tomcat using jk2 but I can't reach it

 This is my configuration:
 Apache 2.0.45
 Tomcat 4.1.24
 JK2 (2.0.1)

 This are each configuration file:

 ***httpd.conf***
 ...
 LoadModule jk2_module modules/mod_jk2.so
 ...

 ***jk2.properties***
 All the file is commented

 ***workers2.properties***

 # Define the communication channel
 [channel.socket:localhost:8009]
 info=Ajp13 forwarding over socket
 tomcatId=localhost:8009

 # Map the Tomcat examples webapp to the Web server uri space
 [uri:/examples/*]
 info=Map the whole webapp

 ***server.xml***
 ...

 Connector className=org.apache.coyote.tomcat4.CoyoteConnector

 port=8009 minProcessors=5 maxProcessors=75

 enableLookups=true redirectPort=8443

 acceptCount=10 debug=0 connectionTimeout=0

 useURIValidationHack=false

 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

 ...


 When I try to access http:/server/examples Apache throw an error.
 This is all the error message in the error_log:

 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [notice] Apache/2.0.45 (Unix) mod_jk2/2.0.0
 configured -- resuming normal operations
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:26 2003] [error] shm.init(): No file
 [Wed May 28 16:05:34 2003] [error] workerEnv.init() create slot epStat.0
 failed
 [Wed May 28 16:05:34 2003] [error] lb.service() worker failed
 ajp13:localhost:8009
 [Wed May 28 16:05:34 2003] [error] lb.service() unrecoverable error...
 [Wed May 28 16:05:34 2003] [error] mod_jk.handler() Error connecting to
 tomcat 12
 [Wed May 28 16:06:24 2003] [error] workerEnv.init() create slot epStat.2
 failed
 [Wed May 28 16:06:24 2003] [error] lb.service() worker failed
 ajp13:localhost:8009
 [Wed May 28 16:06:24 2003] [error] lb.service() unrecoverable error...
 [Wed May 28 16:06:24 2003] [error] mod_jk.handler() Error connecting to
 tomcat 12

 I hope you can help me in this trouble.

 Thank you.



 -
 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: Tomcat / Apache / JK2 impossible??

2003-05-29 Thread Joe
Hi all, I have the similar problem. According to this URL: 
http://www.johnturner.com/howto/apache-tomcat-howto.html

there's a link to download mod_jk-2.0.43.so, but not mod_jk.so

I've been trying to build a copy of mod_jk.so by using the tomcat source
connector file but can't get it to work. 


How I build the file are listed here:


I've downloaded jakarta-tomcat-connectors-4.1.24-src, untarz it and run
the following commond: 
/jakarta-tomcat-connects-4.1.24-src/jk/native/buildconf.sh, 
followed by: 
./configure --with-apxs=/usr/sbin/apxs 

Everything is fine at this point but when i try to run make, 
it gave me this error: 
libtoold: link: '../common/jk_ajp12_worker.lo' is not a valid libtool
object 
make[1]: *** [mod_jk.la] Error 1 
make[1]: Leaving directory
'/usr/local/jakarta-tomcat-connectors-4.1.24-src/jk/native/apache2.0' 
make: *** [all-recursive] Error 1



Regards,
Joe


-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 29, 2003 3:54 PM
To: Tomcat Users List
Subject: Re: Tomcat / Apache / JK2 impossible??

It is very possible, many of us are doing it as we speak...

Check out:

http://www.johnturner.com/howto/apache-tomcat-howto.html
and
http://tomcatfaq.sourceforge.net

Then go from there, if you still have problems then let us know.

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
[EMAIL PROTECTED] 

On Thu, 29 May 2003 15:29, David Reche Martinez wrote:
 Hi All,

 I'm trying to integrate Apache and Tomcat using jk2 but I can't reach
it

 This is my configuration:
 Apache 2.0.45
 Tomcat 4.1.24
 JK2 (2.0.1)

 This are each configuration file:

 ***httpd.conf***
 ...
 LoadModule jk2_module modules/mod_jk2.so
 ...

 ***jk2.properties***
 All the file is commented

 ***workers2.properties***

 # Define the communication channel
 [channel.socket:localhost:8009]
 info=Ajp13 forwarding over socket
 tomcatId=localhost:8009

 # Map the Tomcat examples webapp to the Web server uri space
 [uri:/examples/*]
 info=Map the whole webapp

 ***server.xml***
 ...

 Connector className=org.apache.coyote.tomcat4.CoyoteConnector

 port=8009 minProcessors=5 maxProcessors=75

 enableLookups=true redirectPort=8443

 acceptCount=10 debug=0 connectionTimeout=0

 useURIValidationHack=false

 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

 ...


 When I try to access http:/server/examples Apache throw an error.
 This is all the error message in the error_log:

 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [notice] Apache/2.0.45 (Unix) mod_jk2/2.0.0
 configured -- resuming normal operations
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:26 2003] [error] shm.init(): No file
 [Wed May 28 16:05:34 2003] [error] workerEnv.init() create slot
epStat.0
 failed
 [Wed May 28 16:05:34 2003] [error] lb.service() worker failed
 ajp13:localhost:8009
 [Wed May 28 16:05:34 2003] [error] lb.service() unrecoverable error...
 [Wed May 28 16:05:34 2003] [error] mod_jk.handler() Error connecting
to
 tomcat 12
 [Wed May 28 16:06:24 2003] [error] workerEnv.init() create slot
epStat.2
 failed
 [Wed May 28 16:06:24 2003] [error] lb.service() worker failed
 ajp13:localhost:8009
 [Wed May 28 16:06:24 2003] [error] lb.service() unrecoverable error...
 [Wed May 28 16:06:24 2003] [error] mod_jk.handler() Error connecting
to
 tomcat 12

 I hope you can help me in this trouble.

 Thank you.



 -
 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: Tomcat / Apache / JK2 impossible??

2003-05-29 Thread deepa_narayanan
I am trying to get Tomcat 4.1.24 and apache 2.0.45  working with mod_jk connector.
I need to install it for unix and windows.
Where do i get teh installables for these

-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 1:24 PM
To: Tomcat Users List
Subject: Re: Tomcat / Apache / JK2 impossible??


It is very possible, many of us are doing it as we speak...

Check out:

http://www.johnturner.com/howto/apache-tomcat-howto.html
and
http://tomcatfaq.sourceforge.net

Then go from there, if you still have problems then let us know.

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
[EMAIL PROTECTED] 

On Thu, 29 May 2003 15:29, David Reche Martinez wrote:
 Hi All,

 I'm trying to integrate Apache and Tomcat using jk2 but I can't reach it

 This is my configuration:
 Apache 2.0.45
 Tomcat 4.1.24
 JK2 (2.0.1)

 This are each configuration file:

 ***httpd.conf***
 ...
 LoadModule jk2_module modules/mod_jk2.so
 ...

 ***jk2.properties***
 All the file is commented

 ***workers2.properties***

 # Define the communication channel
 [channel.socket:localhost:8009]
 info=Ajp13 forwarding over socket
 tomcatId=localhost:8009

 # Map the Tomcat examples webapp to the Web server uri space
 [uri:/examples/*]
 info=Map the whole webapp

 ***server.xml***
 ...

 Connector className=org.apache.coyote.tomcat4.CoyoteConnector

 port=8009 minProcessors=5 maxProcessors=75

 enableLookups=true redirectPort=8443

 acceptCount=10 debug=0 connectionTimeout=0

 useURIValidationHack=false

 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

 ...


 When I try to access http:/server/examples Apache throw an error.
 This is all the error message in the error_log:

 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [notice] Apache/2.0.45 (Unix) mod_jk2/2.0.0
 configured -- resuming normal operations
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:21 2003] [error] shm.init(): No file
 [Wed May 28 16:05:26 2003] [error] shm.init(): No file
 [Wed May 28 16:05:34 2003] [error] workerEnv.init() create slot epStat.0
 failed
 [Wed May 28 16:05:34 2003] [error] lb.service() worker failed
 ajp13:localhost:8009
 [Wed May 28 16:05:34 2003] [error] lb.service() unrecoverable error...
 [Wed May 28 16:05:34 2003] [error] mod_jk.handler() Error connecting to
 tomcat 12
 [Wed May 28 16:06:24 2003] [error] workerEnv.init() create slot epStat.2
 failed
 [Wed May 28 16:06:24 2003] [error] lb.service() worker failed
 ajp13:localhost:8009
 [Wed May 28 16:06:24 2003] [error] lb.service() unrecoverable error...
 [Wed May 28 16:06:24 2003] [error] mod_jk.handler() Error connecting to
 tomcat 12

 I hope you can help me in this trouble.

 Thank you.



 -
 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: Tomcat / Apache / JK2 impossible??

2003-05-29 Thread David Reche Martinez
Hi again,

Your first link don't tell anything about jk2 configuration and the faq's
don't say anything new.

I had been doing all LIKE they say. But don't work. Help me please. :-(

- Original Message -
From: Jason Bainbridge [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 9:53 AM
Subject: Re: Tomcat / Apache / JK2 impossible??


 It is very possible, many of us are doing it as we speak...

 Check out:

 http://www.johnturner.com/howto/apache-tomcat-howto.html
 and
 http://tomcatfaq.sourceforge.net

 Then go from there, if you still have problems then let us know.

 Regards,
 --
 Jason Bainbridge
 KDE Web Team - http://kde.org
 [EMAIL PROTECTED]

 On Thu, 29 May 2003 15:29, David Reche Martinez wrote:
  Hi All,
 
  I'm trying to integrate Apache and Tomcat using jk2 but I can't reach it
 
  This is my configuration:
  Apache 2.0.45
  Tomcat 4.1.24
  JK2 (2.0.1)
 
  This are each configuration file:
 
  ***httpd.conf***
  ...
  LoadModule jk2_module modules/mod_jk2.so
  ...
 
  ***jk2.properties***
  All the file is commented
 
  ***workers2.properties***
 
  # Define the communication channel
  [channel.socket:localhost:8009]
  info=Ajp13 forwarding over socket
  tomcatId=localhost:8009
 
  # Map the Tomcat examples webapp to the Web server uri space
  [uri:/examples/*]
  info=Map the whole webapp
 
  ***server.xml***
  ...
 
  Connector className=org.apache.coyote.tomcat4.CoyoteConnector
 
  port=8009 minProcessors=5 maxProcessors=75
 
  enableLookups=true redirectPort=8443
 
  acceptCount=10 debug=0 connectionTimeout=0
 
  useURIValidationHack=false
 
  protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
 
  ...
 
 
  When I try to access http:/server/examples Apache throw an error.
  This is all the error message in the error_log:
 
  [Wed May 28 16:05:21 2003] [error] shm.init(): No file
  [Wed May 28 16:05:21 2003] [notice] Apache/2.0.45 (Unix) mod_jk2/2.0.0
  configured -- resuming normal operations
  [Wed May 28 16:05:21 2003] [error] shm.init(): No file
  [Wed May 28 16:05:21 2003] [error] shm.init(): No file
  [Wed May 28 16:05:21 2003] [error] shm.init(): No file
  [Wed May 28 16:05:21 2003] [error] shm.init(): No file
  [Wed May 28 16:05:21 2003] [error] shm.init(): No file
  [Wed May 28 16:05:26 2003] [error] shm.init(): No file
  [Wed May 28 16:05:34 2003] [error] workerEnv.init() create slot epStat.0
  failed
  [Wed May 28 16:05:34 2003] [error] lb.service() worker failed
  ajp13:localhost:8009
  [Wed May 28 16:05:34 2003] [error] lb.service() unrecoverable error...
  [Wed May 28 16:05:34 2003] [error] mod_jk.handler() Error connecting to
  tomcat 12
  [Wed May 28 16:06:24 2003] [error] workerEnv.init() create slot epStat.2
  failed
  [Wed May 28 16:06:24 2003] [error] lb.service() worker failed
  ajp13:localhost:8009
  [Wed May 28 16:06:24 2003] [error] lb.service() unrecoverable error...
  [Wed May 28 16:06:24 2003] [error] mod_jk.handler() Error connecting to
  tomcat 12
 
  I hope you can help me in this trouble.
 
  Thank you.
 
 
 
  -
  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: Tomcat+apache+reload application

2003-03-25 Thread Krzysztof Janiszewski
Hi!

 The Warp Connection doesn't refresh the connections. So, if 
 you put a new servlet or even upload a new version of an 
 existing servlet, the connection between Apache and Tomcat is lost.
 But you don't have to restart Tomcat, just Apache.

Is it the only solution?
It is hard to restart Apache which handles about 2000 vhosts during hi
traffic time :(
I want to give the ability to reload appliactions to my customers, and
they could reload applicationa even several times a minute, and
restarting apache several times in a minut is a bad thing.

Best regards
Krzysztof Janiszewski
IT Partner
--
Webdesign :: http://www.xds.pl/ ::
Hosting :: http://fr.pl/ ::



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



RE: Tomcat/Apache Connector does not work?

2003-03-19 Thread Marion McKelvie
Sylvia

Have you set up the context for the examples in the mod_jk.conf file?
Apache needs to know to send port 80 requests to Tomcat for this context.

Marion

-Original Message-
From: Wey Hueymeei [mailto:[EMAIL PROTECTED]
Sent: 19 March 2003 17:07
To: [EMAIL PROTECTED]
Subject: Tomcat/Apache Connector does not work?


hello,

I have configured tomcat 4.1.12 and Apache 2.0.43 connection using
mod_jk-2.0.43.so on solaris 8.

In catalina.out file, I found the following:

Mar 19, 2003 11:25:18 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=9/97
config=/usr/local/jakarta-tomcat-4.1.12/conf/jk
2.properties

In error_log file, there's the following
[Wed Mar 19 11:28:34 2003] [notice] Apache/2.0.43 (Unix) mod_jk/1.2.1
configured
 -- resuming normal operations

Tomcat (http://comptuername:8080/examples/) and Apache
(http://computername:800/) are both working ok

However when I change tomcat page port to Apache port
(http://computername:800/examples/) , I got a 404. I also tried to change
apache port to port 80 and got the same thing. (I  used port 800 becuase we
have iplanet using port 80 on the same machine)

Can anybody help? Thanks,

Sylvia


-
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: Tomcat/Apache Connector does not work?

2003-03-19 Thread Wey Hueymeei
Marion,

No I didn't. Isn't mod_jk.conf automatically generated everytime tomcat
starts? Should I edit it?

I found the following line in my server.xml

   !-- Tomcat Root Context --
!--
  Context path= docBase=ROOT debug=0/
--

!-- Tomcat Examples Context --
Context path=/examples docBase=examples debug=0
 reloadable=true crossContext=true
  Logger classNam ..

Is this where I need to edit?

Thanks,
Sylvia


 Sylvia

 Have you set up the context for the examples in the mod_jk.conf file?
 Apache needs to know to send port 80 requests to Tomcat for this context.

 Marion

 -Original Message-
 From: Wey Hueymeei [mailto:[EMAIL PROTECTED]
 Sent: 19 March 2003 17:07
 To: [EMAIL PROTECTED]
 Subject: Tomcat/Apache Connector does not work?


 hello,

 I have configured tomcat 4.1.12 and Apache 2.0.43 connection using
 mod_jk-2.0.43.so on solaris 8.

 In catalina.out file, I found the following:

 Mar 19, 2003 11:25:18 AM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=9/97
 config=/usr/local/jakarta-tomcat-4.1.12/conf/jk
 2.properties

 In error_log file, there's the following
 [Wed Mar 19 11:28:34 2003] [notice] Apache/2.0.43 (Unix) mod_jk/1.2.1
 configured
  -- resuming normal operations

 Tomcat (http://comptuername:8080/examples/) and Apache
 (http://computername:800/) are both working ok

 However when I change tomcat page port to Apache port
 (http://computername:800/examples/) , I got a 404. I also tried to change
 apache port to port 80 and got the same thing. (I  used port 800 becuase
we
 have iplanet using port 80 on the same machine)

 Can anybody help? Thanks,

 Sylvia


 -
 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: Tomcat/Apache Connector does not work?

2003-03-19 Thread Jackson, Stephen

Some step-by-step instructions.
http://raibledesigns.com/tomcat/index.html

-Original Message-
From: Wey Hueymeei [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 12:36 PM
To: Tomcat Users List
Subject: Re: Tomcat/Apache Connector does not work?


Marion,

No I didn't. Isn't mod_jk.conf automatically generated everytime tomcat
starts? Should I edit it?

I found the following line in my server.xml

   !-- Tomcat Root Context --
!--
  Context path= docBase=ROOT debug=0/
--

!-- Tomcat Examples Context --
Context path=/examples docBase=examples debug=0
 reloadable=true crossContext=true
  Logger classNam ..

Is this where I need to edit?

Thanks,
Sylvia


 Sylvia

 Have you set up the context for the examples in the mod_jk.conf file?
 Apache needs to know to send port 80 requests to Tomcat for this context.

 Marion

 -Original Message-
 From: Wey Hueymeei [mailto:[EMAIL PROTECTED]
 Sent: 19 March 2003 17:07
 To: [EMAIL PROTECTED]
 Subject: Tomcat/Apache Connector does not work?


 hello,

 I have configured tomcat 4.1.12 and Apache 2.0.43 connection using
 mod_jk-2.0.43.so on solaris 8.

 In catalina.out file, I found the following:

 Mar 19, 2003 11:25:18 AM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=9/97
 config=/usr/local/jakarta-tomcat-4.1.12/conf/jk
 2.properties

 In error_log file, there's the following
 [Wed Mar 19 11:28:34 2003] [notice] Apache/2.0.43 (Unix) mod_jk/1.2.1
 configured
  -- resuming normal operations

 Tomcat (http://comptuername:8080/examples/) and Apache
 (http://computername:800/) are both working ok

 However when I change tomcat page port to Apache port
 (http://computername:800/examples/) , I got a 404. I also tried to change
 apache port to port 80 and got the same thing. (I  used port 800 becuase
we
 have iplanet using port 80 on the same machine)

 Can anybody help? Thanks,

 Sylvia


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



Re: Tomcat/Apache Connector does not work?

2003-03-19 Thread wfung
I just got the same problem and posted the same question to the 
user-group!  I hope someone would answer that, 

William Fung
Unix Product Architect
Castel Inc.
Phone: 978-236-1000 x604
Email: [EMAIL PROTECTED]



Wey Hueymeei [EMAIL PROTECTED]
03/19/2003 12:06 PM
Please respond to Tomcat Users List


To
[EMAIL PROTECTED]
cc

bcc

Subject
Tomcat/Apache Connector does not work?



hello,

I have configured tomcat 4.1.12 and Apache 2.0.43 connection using
mod_jk-2.0.43.so on solaris 8.

In catalina.out file, I found the following:

Mar 19, 2003 11:25:18 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=9/97
config=/usr/local/jakarta-tomcat-4.1.12/conf/jk
2.properties

In error_log file, there's the following
[Wed Mar 19 11:28:34 2003] [notice] Apache/2.0.43 (Unix) mod_jk/1.2.1
configured
 -- resuming normal operations

Tomcat (http://comptuername:8080/examples/) and Apache
(http://computername:800/) are both working ok

However when I change tomcat page port to Apache port
(http://computername:800/examples/) , I got a 404. I also tried to change
apache port to port 80 and got the same thing. (I  used port 800 becuase 
we
have iplanet using port 80 on the same machine)

Can anybody help? Thanks,

Sylvia


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




RE: Tomcat/Apache Connector does not work?

2003-03-19 Thread Marion McKelvie

Leave the server.xml as it is.  You can edit mod_jk.conf - it is not
generated by tomcat.

Check that your mod_jk.conf contains something like:

#
# The following line makes apache aware of the location of the /examples
context
#
Alias /examples /var/tomcat4/webapps/examples
Directory /var/tomcat4/webapps/examples
Options Indexes FollowSymLinks
/Directory

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

#
# The following line prohibits users from directly access WEB-INF
#
Location /examples/WEB-INF/
AllowOverride None
deny from all
/Location


-Original Message-
From: Wey Hueymeei [mailto:[EMAIL PROTECTED]
Sent: 19 March 2003 17:36
To: Tomcat Users List
Subject: Re: Tomcat/Apache Connector does not work?


Marion,

No I didn't. Isn't mod_jk.conf automatically generated everytime tomcat
starts? Should I edit it?

I found the following line in my server.xml

   !-- Tomcat Root Context --
!--
  Context path= docBase=ROOT debug=0/
--

!-- Tomcat Examples Context --
Context path=/examples docBase=examples debug=0
 reloadable=true crossContext=true
  Logger classNam ..

Is this where I need to edit?

Thanks,
Sylvia


 Sylvia

 Have you set up the context for the examples in the mod_jk.conf file?
 Apache needs to know to send port 80 requests to Tomcat for this context.

 Marion

 -Original Message-
 From: Wey Hueymeei [mailto:[EMAIL PROTECTED]
 Sent: 19 March 2003 17:07
 To: [EMAIL PROTECTED]
 Subject: Tomcat/Apache Connector does not work?


 hello,

 I have configured tomcat 4.1.12 and Apache 2.0.43 connection using
 mod_jk-2.0.43.so on solaris 8.

 In catalina.out file, I found the following:

 Mar 19, 2003 11:25:18 AM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=9/97
 config=/usr/local/jakarta-tomcat-4.1.12/conf/jk
 2.properties

 In error_log file, there's the following
 [Wed Mar 19 11:28:34 2003] [notice] Apache/2.0.43 (Unix) mod_jk/1.2.1
 configured
  -- resuming normal operations

 Tomcat (http://comptuername:8080/examples/) and Apache
 (http://computername:800/) are both working ok

 However when I change tomcat page port to Apache port
 (http://computername:800/examples/) , I got a 404. I also tried to change
 apache port to port 80 and got the same thing. (I  used port 800 becuase
we
 have iplanet using port 80 on the same machine)

 Can anybody help? Thanks,

 Sylvia


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



  1   2   3   4   >