Apache + mod_jk + Tomcat ... SSL Problems

2005-09-15 Thread Oliver Schoenwald

Hello,

we are using the following versions:
Apache 2.0.47
mod_jk (not mod_jk2)
Tomcat 5.5.9

The SSL-Feature is backed by openssl 0.9.7c.

We configured mod_jk to send the SSL information to the tomcat engine:
JkHTTPSIndicator HTTPS
JkSESSIONIndicator SSL_SESSION_ID
JkCIPHERIndicator SSL_CIPHER
JkCERTSIndicator SSL_CLIENT_CERT

And we configured the SSL-Module of Apache to use the SSL-Cache and to 
hold the SSL Session for 30 Minutes.

SSLSessionCache dbm:logs/ssl_scache
SSLSessionCacheTimeout  1800

Using the trick described in the tomcat documenation, I could activate 
and use the Session Tracking via the SSL Session ID,
which is exactly what we wanted because so we don't need cookies or 
URL-Rewriting.
To manage the SSL Sessions I implemented my own SSLSessionManager-Class 
in my Webapplication and all worked fine,
except one little problem: The SSL Session Key seems to get lost by 
Apache or mod_ssl or OpenSSL!


I used a test application in my servlet engine to experiment with the 
session tracking via ssl session id-feature. That application
showed me if the SSL Session ID was set, what value it has, what my own 
SessionManagement-Class knew about that session
(when it was created, when it was used last time, how long until 
expiration, which attributes are managed for that session).
The SessionManager was configured to hold every SSL Session for 
unlimited time, only to set an internal invalid-flag after

a configured time of 30 minutes.

The test application showed that in newly started application instances 
(apache, tomcat) the SSL Session worked properly and
the SSL Session ID was created. When reloading the test application 
repeatedly, that SSL Session ID kept its value. Bingo!

All that I needed.

But then...

Few minutes later the test application showed that there was *no* SSL 
Session ID available within the https-request any longer.
When I reloaded the test application again, a new SSL Session ID was 
created. This happened again and again later, always far earlier

than the SSLSessionCache was configured.

Then I used tomcat's web-connector and tried the same - and there the 
SSL Session ID worked properly and wasn't lost preemptively.


Does someone know something about problems with SSL Session IDs with 
Apache und mod_jk? Does someone have a solution how

to remove that problem?

Thank you in advance,

Oliver Schoenwald
University of Hagen, Germany


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



Apache httpd Tomcat 5 and SSL

2005-09-06 Thread James R. Marcus
I'm using mod_jk to connect httpd and two Tomcat servers running on
different ports.  Apache httpd is acting as the front end and mod_jk is
setup to failover to the second tomcat instance in the event that the
first one goes down.  Tomcat is running our own application servlet.
Before I post all my configurations and detailed explanation, I'll just
ask are there any good How-Tos or examples of dealing with SSL in this
situation.

Should SSL even be turned on in Apache httpd?

All I need Apache httpd to do is pass the client traffic to Tomcat and
back.

James



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



Apache and Tomcat on separate hosts?

2005-08-17 Thread Jeff Schroeder
I finally got Apache2 + mod_jk2 + tomcat 4.1 working with tomcat doing vhosting 
on my laptop for development. The management said that is great that I should 
now roll it over to the dev servers before putting it into production.

I started setting up everything and was down to creating the vhost in 
httpd.conf when I realized one fatal problem, Apache and Tomcat are on 2 
separate servers. The way that I understand it, Apache finds a jsp page in it's 
docroot and if the host is in workers2.properties, it gets handed over to 
tomcat. 

If the webapp is not on the same box, how do you let apache find it to hand 
over to tomcat? My first thought was NFS, but the change control board frowns 
on any sort of filesharing among the servers. It's kind of important to get 
this properly working, is there any other way? Thanks.

Jeff Schroeder
Web Administrator
Comair, Inc.



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



Re: Apache and Tomcat on separate hosts?

2005-08-17 Thread Viorel Dragomir

You can have the servers on different machines. Look more on mod_jk2 
configuration.
As I know, mod_jk2 project is no longer maintained so it's better to switch to 
mod_jk.



Viorel Dragomir

.
..
---



- Original Message - 
From: Jeff Schroeder 
To: tomcat-user@jakarta.apache.org 
Sent: Wednesday, August 17, 2005 15:17
Subject: Apache and Tomcat on separate hosts?


I finally got Apache2 + mod_jk2 + tomcat 4.1 working with tomcat doing vhosting 
on my laptop for development. The management said that is great that I should 
now roll it over to the dev servers before putting it into production.

I started setting up everything and was down to creating the vhost in 
httpd.conf when I realized one fatal problem, Apache and Tomcat are on 2 
separate servers. The way that I understand it, Apache finds a jsp page in it's 
docroot and if the host is in workers2.properties, it gets handed over to 
tomcat. 

If the webapp is not on the same box, how do you let apache find it to hand 
over to tomcat? My first thought was NFS, but the change control board frowns 
on any sort of filesharing among the servers. It's kind of important to get 
this properly working, is there any other way? Thanks.

Jeff Schroeder
Web Administrator
Comair, Inc.



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



RE: Apache and Tomcat on separate hosts?

2005-08-17 Thread Raghupathy,Gurumoorthy
Try ...

In the workers2.properties

Change
host=ipaddressoftheremotemachine

Regards
Guru

-Original Message-
From: Jeff Schroeder [mailto:[EMAIL PROTECTED] 
Sent: 17 August 2005 14:17
To: tomcat-user@jakarta.apache.org
Subject: Apache and Tomcat on separate hosts?


I finally got Apache2 + mod_jk2 + tomcat 4.1 working with tomcat doing
vhosting on my laptop for development. The management said that is great
that I should now roll it over to the dev servers before putting it into
production.

I started setting up everything and was down to creating the vhost in
httpd.conf when I realized one fatal problem, Apache and Tomcat are on 2
separate servers. The way that I understand it, Apache finds a jsp page in
it's docroot and if the host is in workers2.properties, it gets handed over
to tomcat. 

If the webapp is not on the same box, how do you let apache find it to
hand over to tomcat? My first thought was NFS, but the change control board
frowns on any sort of filesharing among the servers. It's kind of important
to get this properly working, is there any other way? Thanks.

Jeff Schroeder
Web Administrator
Comair, Inc.



-
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: Re: Apache and Tomcat on separate hosts?

2005-08-17 Thread Jeff Schroeder
 As I know, mod_jk2 project is no longer maintained so it's better to switch 
 to mod_jk.

With our java apps, mod_jk has an issue that causes apache to crash every 3-4 
days. mod_jk2 does not, so it's doubtful we will be changing.

Jeff Schroeder
Web Administrator
Comair, Inc.



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



Apache mod_rewrite + Tomcat clustering/ load balancing.

2005-08-04 Thread Sunkersett, Jeevan \(Cognizant\)

Hi,



I hv clustered 2 Tomcat (version 5.0.18) instances on 2 physically
different machines A and B.

Individually accessible as

http://machineA:8080 http://machinea:8080/  and
http://machineB:8080 http://machineb:8080/



I have Apache 2.0.54 installed on machine A and following the tomcat doc


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



I am trying to use Apache mod_rewrite to load balance/
failover between my 2 tomcat instances.



As per the doc modified the engine element in server.xml
to include the jvmRoute attribute

Configuring Apache was a headache.

The documentation assumes the reader is an expert with Apache.

It is not completely accurate. The reader cannot use it as is.

For instance it talks of creating balancer.conf but uses servers.conf in
http.



Anyways I discovered it and created a balancing.conf for
mod_rewrite as explained.

   

Edited apache's httpd.conf as given in the tomcat doc.

And with both tomcat instances working browsed
to


http://localhost/servlets-examples/servlet/RequestInfoExample

But it did not work. Error log gave:

File does not exist:
proxy:http://machineA:8080/servlets-examples/servlet/RequestInfoExample



   But I could get the expected page when I replaced [P, L]
in the RewriteRule for Location /servlets-examples with only [L]

   

The funny thing however is I browse to


http://localhost/servlets-examples/servlet/RequestInfoExample

but that later automatically changes to either


http://machineA:8080/servlets-examples/servlet/RequestInfoExample or


http://machineB:8080/servlets-examples/servlet/RequestInfoExample

depending upon which Tomcat instance served my request.



Any clues as to why the URL in the browser changes?



PS: My entries in httpd.conf

   RewriteMap SERVERS rnd:path to the balancer.conf
created above
Location /servlets-examples
RewriteEngine On
RewriteCond %{HTTP_COOKIE}
(^|;\s*)jsessionid=\w*\.(\w+)($|;)
RewriteRule (.*)
http://${SERVERS:%2}%{REQUEST_URI};  [P,L]
RewriteRule ^.*;jsessionid=\w*\.(\w+)($|;)
http://${SERVERS:$1}%{REQUEST_URI};  [P,L]
RewriteRule (.*)
http://${SERVERS:ALL}%{REQUEST_URI}; [P,L]
/Location



 I had to replace [P,L] with [L] to make it work

   

rgds,

G1







This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com

[ANN] Apache Jakarta Tomcat v5.5.10-alpha Released

2005-07-24 Thread Yoav Shapira
The Apache Jakarta Tomcat team is proud to announce the immediate availability
of Tomcat 5.5.10-alpha. This build contains 110 improvements, including bug
fixes, enhancements, and documentation updates.  There are several interesting
new features, such as Apache Portable Runtime (APR)-based HTTP/1.1 and AJP/1.3
protocol handlers with SSL support, an experimental NIO-Socket channel for the
AJP/1.3 connector, improved support for Java 5 using the Eclipse 3.1 JDT,
clustering support at the Engine and Host levels, and more.

The Release notes are available at
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES

Please refer to the change log for the list of changes:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/changelog.html

Downloads: Binaries: http://jakarta.apache.org/site/binindex.cgi#tomcat-5.5
Sources: http://jakarta.apache.org/site/sourceindex.cgi#tomcat-5.5

The Apache Jakarta Tomcat Team 

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



Re: apache and tomcat

2005-07-06 Thread Rajasekar
Hello guys,
 Could you please give me the steps to making mod_jk for tomcat?
 Regards
 Raj
 

 On 7/5/05, Alan Chandler [EMAIL PROTECTED] wrote: 
 
 ganesan malairaja writes:
 
  hi guys ..
 
  i am confused now.. i need help undeerstanding apache and tomcat ..
 
  what purpose each serve and how to link both them ...
 
 
 Apache is a web server - with lots of usage and good experience with in
 terms of security facing the internet. You can get modules for it to run
 scripting languages (for instance php), but it doesn't run java
 applications.
 
 Tomcat is primarily an engine for running web based applications in java,
 but it also has the ability to serve static html. In this latter process 
 it
 does not have the security background of apache - so whilst it could be 
 used
 as a web server and an application server, it is normal to separate the 
 two
 (the web server may run in the dmz, the application server may run behind 
 a
 second firewall).
 
 In order to link the two, you need to set up the mod_jk module.
 
 
 
  i want to know how to link html and applets in tomcat htdoc folder to
  jsp codes in tomcat webapps folder ..
 
 
 It is possible (if the two servers are running on the same machine) to map
 the apache location around the tomcat directory via an alias statement
 
 (I think there is a mod_jk directive - something like jkautoalias that 
 does
 the same thing)
 
 --
 Alan Chandler
 [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
--
Thanks and Regards

Rajasekar V.R


Re: apache and tomcat

2005-07-06 Thread Alan Chandler
On Wednesday 06 July 2005 08:25, Rajasekar wrote:
 Hello guys,
  Could you please give me the steps to making mod_jk for tomcat?
  Regards
  Raj



mod_jk is an apache module.  I am running apache2 and tomcat4 on linux and I 
downloaded the binary module from 

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


There seems to be instructions for building for several platforms from source 
at

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

-- 
Alan Chandler
http://www.chandlerfamily.org.uk

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



apache and tomcat

2005-07-05 Thread ganesan malairaja

hi guys ..

i am confused now.. i need help undeerstanding apache and tomcat ..

what purpose each serve and how to link both them ...

i want to know how to link html and applets   in tomcat htdoc folder to jsp 
codes in tomcat webapps folder ..


thank you guys..


i am new apache and tomcat ..



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



Re: apache and tomcat

2005-07-05 Thread Alan Chandler
ganesan malairaja writes: 

hi guys .. 

i am confused now.. i need help undeerstanding apache and tomcat .. 

what purpose each serve and how to link both them ... 



Apache is a web server - with lots of usage and good experience with in 
terms of security facing the internet.  You can get modules for it to run 
scripting languages (for instance php), but it doesn't run java 
applications. 

Tomcat is primarily an engine for running web based applications in java, 
but it also has the ability to serve static html.  In this latter process it 
does not have the security background of apache - so whilst it could be used 
as a web server and an application server, it is normal to separate the two 
(the web server may run in the dmz, the application server may run behind a 
second firewall). 

In order to link the two, you need to set up the mod_jk module. 




i want to know how to link html and applets   in tomcat htdoc folder to 
jsp codes in tomcat webapps folder ..



It is possible (if the two servers are running on the same machine) to map 
the apache location around the tomcat directory via an alias statement 

(I think there is a mod_jk directive - something like jkautoalias that does 
the same thing) 


--
Alan Chandler
[EMAIL PROTECTED] 



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



Apache Jakarta-Tomcat using very slow

2005-07-04 Thread Lars Nielsen Lind
Hi.

 

I am using Apache 2.0.54 and Jakarta-Tomcat-5.5.9 with mod_jk 1.2.10, and
after some time it is becomming very slow. When I restarts Apache and
Jakarta-Tomcat the server regains resources.

 

Any solutions?

 

 

 

thanks,

 

Lars Nielsen Lind



Re: Apache Jakarta-Tomcat using very slow

2005-07-04 Thread Mark Winslow
Sounds like some sort of memory/trash collector
thrashing.  Do you have enough memory?  Does it run
slowly when you run just static web pages and not your
app?  It could be some funky code in your app.


--- Lars Nielsen Lind [EMAIL PROTECTED] wrote:

 Hi.
 
  
 
 I am using Apache 2.0.54 and Jakarta-Tomcat-5.5.9
 with mod_jk 1.2.10, and
 after some time it is becomming very slow. When I
 restarts Apache and
 Jakarta-Tomcat the server regains resources.
 
  
 
 Any solutions?
 
  
 
  
 
  
 
 thanks,
 
  
 
 Lars Nielsen Lind
 
 




 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

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



RE: Apache Jakarta-Tomcat using very slow

2005-07-04 Thread Lars Nielsen Lind
It is the whole machine that hangs - it runs very slowly - and so does all
of the webpages.

So when I am trying to see the logfiles before stopping the server it takes
a lot of time for the server just to open the different screen windows.

Thanks,

Lars Nielsen Lind

-Original Message-
From: Mark Winslow [mailto:[EMAIL PROTECTED] 
Sent: 4. juli 2005 14:46
To: Tomcat Users List
Subject: Re: Apache  Jakarta-Tomcat using very slow

Sounds like some sort of memory/trash collector
thrashing.  Do you have enough memory?  Does it run
slowly when you run just static web pages and not your
app?  It could be some funky code in your app.


--- Lars Nielsen Lind [EMAIL PROTECTED] wrote:

 Hi.
 
  
 
 I am using Apache 2.0.54 and Jakarta-Tomcat-5.5.9
 with mod_jk 1.2.10, and
 after some time it is becomming very slow. When I
 restarts Apache and
 Jakarta-Tomcat the server regains resources.
 
  
 
 Any solutions?
 
  
 
  
 
  
 
 thanks,
 
  
 
 Lars Nielsen Lind
 
 




 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.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: Apache Jakarta-Tomcat using very slow

2005-07-04 Thread Daniel Fanjul
It sounds a garbage collection problem.
 What VM are you using? What is the max memory assigned to the heap of the 
VM? What are the free/total memory?

 2005/7/4, Lars Nielsen Lind [EMAIL PROTECTED]: 
 
 It is the whole machine that hangs - it runs very slowly - and so does all
 of the webpages.
 
 So when I am trying to see the logfiles before stopping the server it 
 takes
 a lot of time for the server just to open the different screen windows.
 
 Thanks,
 
 Lars Nielsen Lind
 
 -Original Message-
 From: Mark Winslow [mailto:[EMAIL PROTECTED]
 Sent: 4. juli 2005 14:46
 To: Tomcat Users List
 Subject: Re: Apache  Jakarta-Tomcat using very slow
 
 Sounds like some sort of memory/trash collector
 thrashing. Do you have enough memory? Does it run
 slowly when you run just static web pages and not your
 app? It could be some funky code in your app.
 
 --- Lars Nielsen Lind [EMAIL PROTECTED] wrote:
 
  Hi.
 
 
 
  I am using Apache 2.0.54 and Jakarta-Tomcat-5.5.9
  with mod_jk 1.2.10, and
  after some time it is becomming very slow. When I
  restarts Apache and
  Jakarta-Tomcat the server regains resources.
 
 
 
  Any solutions?
 
 
 
 
 
 
 
  thanks,
 
 
 
  Lars Nielsen Lind
 
 
 
 
 Yahoo! Sports
 Rekindle the Rivalries. Sign up for Fantasy Football
 http://football.fantasysports.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]
 



Apache 2 Tomcat 5.5

2005-06-30 Thread Paul Wallace
Hello,
   Can somneone point me in the right (any) direction of
documentation/resource on how to integrate the above two please?

-- thanks

Paul.

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



RE: Apache 2 Tomcat 5.5

2005-06-30 Thread dan stephens
I used these in reference to Tomcat 5.0.28 and Apache 2. Maybe they will 
send you in the right direction.


http://httpd.apache.org/docs-2.0/install.html#page-header Build apache, 
compile,  install etc..


http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html?page=1  
configuration extras.


http://johnturner.com/howto/winxp-howto.html more how to’s.. but on Windows.

http://www.thebluesmokeband.com/mod_ntlm.php Mod_ntlm

http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html#s73 Mod_jk 
how to’s.


http://johnturner.com/howto/apache2-tomcat4112-sol8-howto.html build mod_jk



From: Paul Wallace [EMAIL PROTECTED]
Reply-To: Paul Wallace [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Subject: Apache 2  Tomcat 5.5
Date: Thu, 30 Jun 2005 16:54:02 +0800

Hello,
   Can somneone point me in the right (any) direction of
documentation/resource on how to integrate the above two please?

-- thanks

Paul.

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



_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



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



RE: Connector for apache and tomcat

2005-06-16 Thread Christine Ho
I fixed the problem already.

thanks,
Christine

--- Christine Ho [EMAIL PROTECTED] wrote:

 Thanks. I have tried it and I still cant make it
 work.
 But it is better than before. I got HTTP status 404
 -
 /jsp-eg/index.html. 
 
 In error.log in apache, I got the following:
 
 [Wed Jun 15 15:33:04 2005] [emerg] No JkShmFile
 defined in httpd.conf. LoadBalancer will not
 function
 properly!
 No JkShmFile defined in httpd.conf. LoadBalancer
 will
 not function properly!
 [Wed Jun 15 15:33:08 2005] [emerg] No JkShmFile
 defined in httpd.conf. LoadBalancer will not
 function
 properly!
 
 In mod_jk.log in apache, I got the following:
 
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_connection_tcp_get_message::jk_ajp_common.c
 (1024): received from ajp13 pos=0 len=96 max=8192
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_unmarshal_response::jk_ajp_common.c (606):
 status
 = 404
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_unmarshal_response::jk_ajp_common.c (613):
 Number
 of headers is = 2
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_unmarshal_response::jk_ajp_common.c (669):
 Header[0] [Content-Type] = [text/html;charset=utf-8]
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_unmarshal_response::jk_ajp_common.c (669):
 Header[1] [Content-Length] = [1019]
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_connection_tcp_get_message::jk_ajp_common.c
 (1024): received from ajp13 pos=0 len=1023 max=8192
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ws_write::mod_jk.c (380): writing 1019 (1019) out of
 1019
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_connection_tcp_get_message::jk_ajp_common.c
 (1024): received from ajp13 pos=0 len=2 max=8192
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_done::jk_ajp_common.c (2046): recycling
 connection
 cache slot=0 for worker ajp13
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 jk_handler::mod_jk.c (1959): Service finished with
 status=404 for worker=ajp13
 
 I am not sure what went wrong.
 
 In httpd.conf in apache, I added/modified the
 following lines:
 
 ServerRoot /export/chrisho/apache2
 
 LoadModule jk_module libexec/mod_jk.so
 
 Directory

/export/chrisho/jakarta-tomcat-5.5.9/webapps/jsp-examples/WEB-INF
   Options -Indexes FollowSymLinks
   Deny from all
 /Directory
 
 JkWorkersFile conf/workers.properties
 JkLogfile logs/mod_jk.log
 JkLogLevel debug
 
 Alias /jsp-eg

/export/chrisho/jakarta-tomcat-5.5.9/webapps/jsp-examples
 Alias /servlets-eg

/export/chrisho/jakarta-tomcat-5.5.9/webapps/servlets-examples
 
 JkMount /jsp-eg/*.jsp ajp13
 JkMount /jsp-eg/*.html ajp13
 JkMount /servlets-eg/*.html ajp13
 
 The workers.properties in apache2 looks like the
 following:
 

workers.tomcat_home=/export/chrisho/jakarta-tomcat-5.5.9
 ps=/
 worker.list=ajp13
 worker.ajp13.port=8009
 worker.ajp13.host=localhost
 worker.ajp13.type=ajp13
 worker.ajp13.lbfactor=1
 
 
 In server.xml in tomcat 5.5.9, I added/modified the
 following lines:
 
 Listener
 className=org.apache.jk.config.ApacheConfig
   configHome=/export/chrisho/jakarta-tomcat-5.5.9
   modJk=/export/chrisho/apache2/libexec/mod_jk.so
   jkWorker=ajp13
   forwardAll=False
   jkLog=/export/chrisho/apache2/logs/jk-tomcat.log
   jkDebug=debug
   noRoot=False
  

workersConfig=/export/chrisho/apache2/conf/workers.properties
 /
 Connector port=8009

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
 redirectPort=8443 protocol=AJP/1.3 /
 
 Then I restart the tomcat and apache respectively. I
 have no problem to go to the following link through
 tomcat:
 
 http://localhost:8080/jsp-examples/index.html
 
 But I have problem to go to the following link
 through
 apache:
 
 http://localhost/jsp-eg/index.html
 
 Can somebody please help me.
 
 thanks,
 Christine
 
 
 --- [EMAIL PROTECTED] wrote:
 
  Please refer to message 128209 for a complete
 howto.
  
   
  
  Request it by sending an email to :
  
   
  
  [EMAIL PROTECTED]
  
   
  
   
  
  
 
 
 
   
 __ 
 Discover Yahoo! 
 Get on-the-go sports scores, stock quotes, news and
 more. Check it out! 
 http://discover.yahoo.com/mobile.html
 

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



RE: Connector for apache and tomcat

2005-06-16 Thread luc_boudreau
Please verify first that you did not added a secont connector on port 8009 in 
tomcat/conf/server.xml for they cannot listen both on the same port.

Second, the instructions i've provided are for mod_jk.so version 1 minor 13. 
Please make sure you've got the right module library. It seems to me that your 
module is expecting something that I didn't configure and This particular 
configuration works fine for me.

Luc Boudreau
Universit du Qubec
Canada


-Message d'origine-
De: Christine Ho [mailto:[EMAIL PROTECTED] 
Envoy: 15 juin 2005 20:15
: Tomcat Users List
Objet: RE: Connector for apache and tomcat

Thanks. I have tried it and I still cant make it work.
But it is better than before. I got HTTP status 404 -
/jsp-eg/index.html. 

In error.log in apache, I got the following:

[Wed Jun 15 15:33:04 2005] [emerg] No JkShmFile
defined in httpd.conf. LoadBalancer will not function
properly!
No JkShmFile defined in httpd.conf. LoadBalancer will
not function properly!
[Wed Jun 15 15:33:08 2005] [emerg] No JkShmFile
defined in httpd.conf. LoadBalancer will not function
properly!

In mod_jk.log in apache, I got the following:

[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1024): received from ajp13 pos=0 len=96 max=8192
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (606): status
= 404
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (613): Number
of headers is = 2
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (669):
Header[0] [Content-Type] = [text/html;charset=utf-8]
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (669):
Header[1] [Content-Length] = [1019]
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1024): received from ajp13 pos=0 len=1023 max=8192
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ws_write::mod_jk.c (380): writing 1019 (1019) out of
1019
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1024): received from ajp13 pos=0 len=2 max=8192
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_done::jk_ajp_common.c (2046): recycling connection
cache slot=0 for worker ajp13
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
jk_handler::mod_jk.c (1959): Service finished with
status=404 for worker=ajp13

I am not sure what went wrong.

In httpd.conf in apache, I added/modified the
following lines:

ServerRoot /export/chrisho/apache2

LoadModule jk_module libexec/mod_jk.so

Directory
/export/chrisho/jakarta-tomcat-5.5.9/webapps/jsp-examples/WEB-INF
  Options -Indexes FollowSymLinks
  Deny from all
/Directory

JkWorkersFile conf/workers.properties
JkLogfile logs/mod_jk.log
JkLogLevel debug

Alias /jsp-eg
/export/chrisho/jakarta-tomcat-5.5.9/webapps/jsp-examples
Alias /servlets-eg
/export/chrisho/jakarta-tomcat-5.5.9/webapps/servlets-examples

JkMount /jsp-eg/*.jsp ajp13
JkMount /jsp-eg/*.html ajp13
JkMount /servlets-eg/*.html ajp13

The workers.properties in apache2 looks like the
following:

workers.tomcat_home=/export/chrisho/jakarta-tomcat-5.5.9
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1


In server.xml in tomcat 5.5.9, I added/modified the
following lines:

Listener
className=org.apache.jk.config.ApacheConfig
  configHome=/export/chrisho/jakarta-tomcat-5.5.9
  modJk=/export/chrisho/apache2/libexec/mod_jk.so
  jkWorker=ajp13
  forwardAll=False
  jkLog=/export/chrisho/apache2/logs/jk-tomcat.log
  jkDebug=debug
  noRoot=False
 
workersConfig=/export/chrisho/apache2/conf/workers.properties
/
Connector port=8009
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
redirectPort=8443 protocol=AJP/1.3 /

Then I restart the tomcat and apache respectively. I
have no problem to go to the following link through
tomcat:

http://localhost:8080/jsp-examples/index.html

But I have problem to go to the following link through
apache:

http://localhost/jsp-eg/index.html

Can somebody please help me.

thanks,
Christine


--- [EMAIL PROTECTED] wrote:

 Please refer to message 128209 for a complete howto.
 
  
 
 Request it by sending an email to :
 
  
 
 [EMAIL PROTECTED]
 
  
 
  
 
 




__ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html

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



Connector for apache and tomcat

2005-06-15 Thread Christine Ho
Hi,
  I am running the apache server 2.x and tomcat 5.5.x
on RHEL4. I tried to setup the connector (JK1.2)
between them and it didnt work. I know how to do the
configuration on apache side. And I have documentation
how to modify the Tomcat 4.1.x's server.xml file so
that the tomcat can listen to the AJP13 requests.
However, the jar files in tomcat 5.5.x is quite
different from the ones in tomcat 4.1.x. I am not sure
what needs to be modified in the tomcat 5.5.x's
server.xml. Please give me some pointers how to do it.
Besides the server.xml and workers.properties, what
other things are required for tomcat 5.5.x to run on
the connector?

The integration between apache and tomcat is a must
for my project. I cannot use just apache alone or
tomcat alone.

thanks,
Christine



__ 
Discover Yahoo! 
Stay in touch with email, IM, photo sharing and more. Check it out! 
http://discover.yahoo.com/stayintouch.html

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



RE: Connector for apache and tomcat

2005-06-15 Thread luc_boudreau
Please refer to message 128209 for a complete howto.

 

Request it by sending an email to :

 

[EMAIL PROTECTED]

 

 



RE: Connector for apache and tomcat

2005-06-15 Thread Christine Ho
Thanks. I have tried it and I still cant make it work.
But it is better than before. I got HTTP status 404 -
/jsp-eg/index.html. 

In error.log in apache, I got the following:

[Wed Jun 15 15:33:04 2005] [emerg] No JkShmFile
defined in httpd.conf. LoadBalancer will not function
properly!
No JkShmFile defined in httpd.conf. LoadBalancer will
not function properly!
[Wed Jun 15 15:33:08 2005] [emerg] No JkShmFile
defined in httpd.conf. LoadBalancer will not function
properly!

In mod_jk.log in apache, I got the following:

[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1024): received from ajp13 pos=0 len=96 max=8192
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (606): status
= 404
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (613): Number
of headers is = 2
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (669):
Header[0] [Content-Type] = [text/html;charset=utf-8]
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (669):
Header[1] [Content-Length] = [1019]
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1024): received from ajp13 pos=0 len=1023 max=8192
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ws_write::mod_jk.c (380): writing 1019 (1019) out of
1019
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1024): received from ajp13 pos=0 len=2 max=8192
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_done::jk_ajp_common.c (2046): recycling connection
cache slot=0 for worker ajp13
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
jk_handler::mod_jk.c (1959): Service finished with
status=404 for worker=ajp13

I am not sure what went wrong.

In httpd.conf in apache, I added/modified the
following lines:

ServerRoot /export/chrisho/apache2

LoadModule jk_module libexec/mod_jk.so

Directory
/export/chrisho/jakarta-tomcat-5.5.9/webapps/jsp-examples/WEB-INF
  Options -Indexes FollowSymLinks
  Deny from all
/Directory

JkWorkersFile conf/workers.properties
JkLogfile logs/mod_jk.log
JkLogLevel debug

Alias /jsp-eg
/export/chrisho/jakarta-tomcat-5.5.9/webapps/jsp-examples
Alias /servlets-eg
/export/chrisho/jakarta-tomcat-5.5.9/webapps/servlets-examples

JkMount /jsp-eg/*.jsp ajp13
JkMount /jsp-eg/*.html ajp13
JkMount /servlets-eg/*.html ajp13

The workers.properties in apache2 looks like the
following:

workers.tomcat_home=/export/chrisho/jakarta-tomcat-5.5.9
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1


In server.xml in tomcat 5.5.9, I added/modified the
following lines:

Listener
className=org.apache.jk.config.ApacheConfig
  configHome=/export/chrisho/jakarta-tomcat-5.5.9
  modJk=/export/chrisho/apache2/libexec/mod_jk.so
  jkWorker=ajp13
  forwardAll=False
  jkLog=/export/chrisho/apache2/logs/jk-tomcat.log
  jkDebug=debug
  noRoot=False
 
workersConfig=/export/chrisho/apache2/conf/workers.properties
/
Connector port=8009
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
redirectPort=8443 protocol=AJP/1.3 /

Then I restart the tomcat and apache respectively. I
have no problem to go to the following link through
tomcat:

http://localhost:8080/jsp-examples/index.html

But I have problem to go to the following link through
apache:

http://localhost/jsp-eg/index.html

Can somebody please help me.

thanks,
Christine


--- [EMAIL PROTECTED] wrote:

 Please refer to message 128209 for a complete howto.
 
  
 
 Request it by sending an email to :
 
  
 
 [EMAIL PROTECTED]
 
  
 
  
 
 




__ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html

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



ssl traffic between apache and tomcat via mod_jk

2005-06-05 Thread Liz Donaldson

Hi,

I have a apache https enabled webserver and tomcat server an and am 
using the mod_jk connection module. From all the documentation I have 
read, it indicates that apache handles all the SSL negotiations and that 
the traffic between apache and tomcat is clear text. How can I enable 
communications between apache and tomcat to be encrpypted.


Thank You in advance,
Liz


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



Re: ssl traffic between apache and tomcat via mod_jk

2005-06-05 Thread Michael Echerer
Liz Donaldson wrote:
 Hi,
 
 I have a apache https enabled webserver and tomcat server an and am
 using the mod_jk connection module. From all the documentation I have
 read, it indicates that apache handles all the SSL negotiations and that
 the traffic between apache and tomcat is clear text. How can I enable
Well in fact the traffic uses ajp13, a protocol which is not really
clear text. It's a binary format for optimization reasons.
Nevertheless it's of course not crypted (if you know the protocol), but
it might suffice for minor security demands as you cannot simply read
it using sniffer tools.
 communications between apache and tomcat to be encrpypted.
For mod_jk and Tomcat I doubt you can encrypt it. I never
heard/read/seen anything in the docu, too.
You could maybe try things with an ssl tunnel like stunnel.org, but
that's just a guess...

BTW: Why is the communication between Apache and Tomcat an issue at all?
Usually/Hopefully you're already in a secure environment with your
Apache behind a firewall etc.

Cheers,
Michael
 
 Thank You in advance,
 Liz
 
 
 -
 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: ssl traffic between apache and tomcat via mod_jk

2005-06-05 Thread Liz Donaldson
Thanks for quick reply!! Yes my tomcat server is behind the firewall, 
but corporate security guidelines also is demanding that the 
communications between apache and tomcat be ssl encrypted. I am going to 
check out stunnel.org.


Thanks!

Michael Echerer wrote:


Liz Donaldson wrote:
 


Hi,

I have a apache https enabled webserver and tomcat server an and am
using the mod_jk connection module. From all the documentation I have
read, it indicates that apache handles all the SSL negotiations and that
the traffic between apache and tomcat is clear text. How can I enable
   


Well in fact the traffic uses ajp13, a protocol which is not really
clear text. It's a binary format for optimization reasons.
Nevertheless it's of course not crypted (if you know the protocol), but
it might suffice for minor security demands as you cannot simply read
it using sniffer tools.
 


communications between apache and tomcat to be encrpypted.
   


For mod_jk and Tomcat I doubt you can encrypt it. I never
heard/read/seen anything in the docu, too.
You could maybe try things with an ssl tunnel like stunnel.org, but
that's just a guess...

BTW: Why is the communication between Apache and Tomcat an issue at all?
Usually/Hopefully you're already in a secure environment with your
Apache behind a firewall etc.

Cheers,
Michael
 


Thank You in advance,
Liz


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



Apache vs Tomcat WRT Security

2005-05-19 Thread Mark
I was very interested in the discussion concerning Apache vs Tomcat
WRT Performance.  While I cannot argue with the performance numbers, I
do like putting Apache in front of Tomcat for 2 reasons that I have
found so far.

1. SSL.  If I am going to be serving pages whether they be dynamic or
static, I think Apache handles the SSL communications and key storage
better.  In tests that I have run, the crypto that needs to be done to
support SSL is faster in C than Java.  Also, Tomcat stores any key
information in a flat file, where Apache will prompt for a password on
startup.  Now some administrators might like this better, because
Tomcat will then start automatically at boot time, I would not want
any password of mine sitting in the clear in a test file.
2. If you are hosting your site using port 80 on Unix boxes this means
running Tomcat as root.  I can think of very few reasons why Tomcat
needs to be run as root.  Apache has the ability to 'downgrade' user
privileges once Apache is started.

Please do not think that I am bashing Tomcat, juts pointing out some
interesting findings that I have come across over time.  I have been a
supporter and user of tomcat back to the 3.x days and will continue.

Thank you.

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



Re: Apache vs Tomcat WRT Security

2005-05-19 Thread David Smith
I won't argue with no. 1 since I don't use SSL connectors in Tomcat. 
However, no. 2 can be mitigated with the commons-daemon project among
other tricks and IMHO, not a valid argument against having Tomcat out front.

Just my thoughts on the subject. :-)

-David

Mark wrote:

I was very interested in the discussion concerning Apache vs Tomcat
WRT Performance.  While I cannot argue with the performance numbers, I
do like putting Apache in front of Tomcat for 2 reasons that I have
found so far.

1. SSL.  If I am going to be serving pages whether they be dynamic or
static, I think Apache handles the SSL communications and key storage
better.  In tests that I have run, the crypto that needs to be done to
support SSL is faster in C than Java.  Also, Tomcat stores any key
information in a flat file, where Apache will prompt for a password on
startup.  Now some administrators might like this better, because
Tomcat will then start automatically at boot time, I would not want
any password of mine sitting in the clear in a test file.
2. If you are hosting your site using port 80 on Unix boxes this means
running Tomcat as root.  I can think of very few reasons why Tomcat
needs to be run as root.  Apache has the ability to 'downgrade' user
privileges once Apache is started.

Please do not think that I am bashing Tomcat, juts pointing out some
interesting findings that I have come across over time.  I have been a
supporter and user of tomcat back to the 3.x days and will continue.

Thank you.

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

  



-- 
===
David Smith
Network Operations Supervisor
Department of Entomology
College of Agriculture  Life Sciences
Cornell University
2132 Comstock Hall
Ithaca, NY  14853
Phone: 607.255.9571
Fax: 607.255.0939



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



Re: Apache vs Tomcat WRT Security

2005-05-19 Thread Remy Maucherat
On 5/19/05, Mark [EMAIL PROTECTED] wrote:
 I was very interested in the discussion concerning Apache vs Tomcat
 WRT Performance.  While I cannot argue with the performance numbers, I
 do like putting Apache in front of Tomcat for 2 reasons that I have
 found so far.
 
 1. SSL.  If I am going to be serving pages whether they be dynamic or
 static, I think Apache handles the SSL communications and key storage
 better.  In tests that I have run, the crypto that needs to be done to
 support SSL is faster in C than Java.  Also, Tomcat stores any key
 information in a flat file, where Apache will prompt for a password on
 startup.  Now some administrators might like this better, because
 Tomcat will then start automatically at boot time, I would not want
 any password of mine sitting in the clear in a test file.

The next Tomcat 5.5 release will include APR based connectors, where
SSL will (predictably) use OpenSSL.

 2. If you are hosting your site using port 80 on Unix boxes this means
 running Tomcat as root.  I can think of very few reasons why Tomcat
 needs to be run as root.  Apache has the ability to 'downgrade' user
 privileges once Apache is started.

I think you should have googled for that. You can use either kernel
level redirection (iptables, for example), or use jsvc.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

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



Re: Apache vs Tomcat WRT Security

2005-05-19 Thread Peter Lin
I don't know about others, but I prefer to run tomcat on port 8080 and
then setup the router to redirect port 80 to 8080. it's rather easy to
setup these days.

peter


On 5/19/05, Remy Maucherat [EMAIL PROTECTED] wrote:
 On 5/19/05, Mark [EMAIL PROTECTED] wrote:
  I was very interested in the discussion concerning Apache vs Tomcat
  WRT Performance.  While I cannot argue with the performance numbers, I
  do like putting Apache in front of Tomcat for 2 reasons that I have
  found so far.
 
  1. SSL.  If I am going to be serving pages whether they be dynamic or
  static, I think Apache handles the SSL communications and key storage
  better.  In tests that I have run, the crypto that needs to be done to
  support SSL is faster in C than Java.  Also, Tomcat stores any key
  information in a flat file, where Apache will prompt for a password on
  startup.  Now some administrators might like this better, because
  Tomcat will then start automatically at boot time, I would not want
  any password of mine sitting in the clear in a test file.
 
 The next Tomcat 5.5 release will include APR based connectors, where
 SSL will (predictably) use OpenSSL.
 
  2. If you are hosting your site using port 80 on Unix boxes this means
  running Tomcat as root.  I can think of very few reasons why Tomcat
  needs to be run as root.  Apache has the ability to 'downgrade' user
  privileges once Apache is started.
 
 I think you should have googled for that. You can use either kernel
 level redirection (iptables, for example), or use jsvc.
 
 --
 x
 Rémy Maucherat
 Developer  Consultant
 JBoss Group (Europe) SàRL
 x
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



Re: Apache vs Tomcat WRT Security

2005-05-19 Thread Mark
OK, so I will admit that I am out of the loop with regards to #2.  But
I still have an issue with storing and passwords required to open key
files in the clear.  Is there some function that will handle this for
me...



On 5/19/05, Peter Lin [EMAIL PROTECTED] wrote:
 I don't know about others, but I prefer to run tomcat on port 8080 and
 then setup the router to redirect port 80 to 8080. it's rather easy to
 setup these days.
 
 peter
 
 
 On 5/19/05, Remy Maucherat [EMAIL PROTECTED] wrote:
  On 5/19/05, Mark [EMAIL PROTECTED] wrote:
   I was very interested in the discussion concerning Apache vs Tomcat
   WRT Performance.  While I cannot argue with the performance numbers, I
   do like putting Apache in front of Tomcat for 2 reasons that I have
   found so far.
  
   1. SSL.  If I am going to be serving pages whether they be dynamic or
   static, I think Apache handles the SSL communications and key storage
   better.  In tests that I have run, the crypto that needs to be done to
   support SSL is faster in C than Java.  Also, Tomcat stores any key
   information in a flat file, where Apache will prompt for a password on
   startup.  Now some administrators might like this better, because
   Tomcat will then start automatically at boot time, I would not want
   any password of mine sitting in the clear in a test file.
 
  The next Tomcat 5.5 release will include APR based connectors, where
  SSL will (predictably) use OpenSSL.
 
   2. If you are hosting your site using port 80 on Unix boxes this means
   running Tomcat as root.  I can think of very few reasons why Tomcat
   needs to be run as root.  Apache has the ability to 'downgrade' user
   privileges once Apache is started.
 
  I think you should have googled for that. You can use either kernel
  level redirection (iptables, for example), or use jsvc.
 
  --
  x
  Rémy Maucherat
  Developer  Consultant
  JBoss Group (Europe) SàRL
  x
 
  -
  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: Apache vs Tomcat WRT Security

2005-05-19 Thread Mark Thomas
Mark wrote:
OK, so I will admit that I am out of the loop with regards to #2.  But
I still have an issue with storing and passwords required to open key
files in the clear.  Is there some function that will handle this for
me...
Assuming that the file is sensibly protected with OS security if an 
attacker is able to read this file then the chances are they already own 
the box or are well on the way to owning it and you have much bigger 
problems.

As always with security, you need to consider the all of threats to your 
system, the possible mitigation actions and the balance between 
effort/cost of the mitigation and the acceptable level of risk for your 
system.

In my experience the balance is usually in favour of availability rather 
than using a password on startup but each system is unique.

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


Re: Apache vs Tomcat WRT Security

2005-05-19 Thread Pete Stevens
On Thu, 19 May 2005, Mark wrote:

 I was very interested in the discussion concerning Apache vs Tomcat
 WRT Performance.  While I cannot argue with the performance numbers, I
 do like putting Apache in front of Tomcat for 2 reasons that I have
 found so far.

 1. SSL.  If I am going to be serving pages whether they be dynamic or
 static, I think Apache handles the SSL communications and key storage
 better.  In tests that I have run, the crypto that needs to be done to
 support SSL is faster in C than Java.  Also, Tomcat stores any key
 information in a flat file, where Apache will prompt for a password on
 startup.  Now some administrators might like this better, because
 Tomcat will then start automatically at boot time, I would not want
 any password of mine sitting in the clear in a test file.

Agreed.

 2. If you are hosting your site using port 80 on Unix boxes this means
 running Tomcat as root.  I can think of very few reasons why Tomcat
 needs to be run as root.  Apache has the ability to 'downgrade' user
 privileges once Apache is started.

jscv will allow you to do this with Tomcat, a simple guide to setting this up
is here

http://www.mythic-beasts.com/support/topic_vds_java.html

Yours,

Pete Stevens

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

  the Flat Earth Society announced in 1995 that their membership was global

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



Re: Apache vs Tomcat WRT Security

2005-05-19 Thread Nikola Milutinovic
David Smith wrote:
I won't argue with no. 1 since I don't use SSL connectors in Tomcat. 
However, no. 2 can be mitigated with the commons-daemon project among
other tricks and IMHO, not a valid argument against having Tomcat out front.

Just my thoughts on the subject. :-)
 

I'll just add to the mix...
The way I see it, you will use Apache as a front end for other reasons. 
Some of them might be:

1. You already have a web site, into which you would like to plug-in 
your applications
2. You would like to use Apache's mod_rewrite
3. You would like to mix PHP, ASP, Perl or something else on your global 
site
4. You have a need for exotic authentication, like LDAP or 
Kerberos5/SPNEGO (read: MS Active Directory)
5. You have a need for any of those nifty modules of Apache
6. You would like to use dedicated servers for TC's application serving 
and load balance

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


apache + jakarta tomcat twice a time?

2005-04-06 Thread Tamer Higazi
Hi! 
I am asking myself if it is possible to run both servers twice a time?!
The goal is that different Webapplications with different engines (php,
JSP) should run on the server. 

For any comment, 

Thank you


Tamer


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



Re: apache + jakarta tomcat twice a time?

2005-04-06 Thread Trond G. Ziarkowski
Hi,
not sure I understand your question (twice a time?). If you are 
wondering if you can have them both running at the same time the answer 
is yes. To have Tomcat and Apache work together you need mod_jk or 
mod_proxy.

mod_jk can be found here:
http://jakarta.apache.org/tomcat/connectors-doc/
Trond
Tamer Higazi wrote:
Hi! 
I am asking myself if it is possible to run both servers twice a time?!
The goal is that different Webapplications with different engines (php,
JSP) should run on the server. 

For any comment, 

Thank you
Tamer
-
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]


Apache 2.0.53 + Tomcat 5.5.7 + mod_jk 1.2.10 on GNU/Linux

2005-04-06 Thread jesper
I made a brief how-to on SUBJECT.
hope somebody finds use of it
regards.

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



Re: Apache 2.0.53 + Tomcat 5.5.7 + mod_jk 1.2.10 on GNU/Linux

2005-04-06 Thread jesper
Torsdag den 7. april 2005 01:36 skrev jesper:
 I made a brief how-to on SUBJECT.
I guess an url would be usefull to
http://zvf.dk/how-to/index.html

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



Apache - JK2 - Tomcat Question

2005-04-05 Thread Geoff Wiggs
I have a 'newbie' jk2 / Tomcat question.

I am running Tomcat behind Apache with mod_jk2 interfacing the two.

If I hit the URL www.myserver.com/contextname I get the JSP/servlet that I
am hoping for.  I am using the correct mapping ([URI:/contextname/*]) in the
workers2.properties and everything up to this point makes sense.

I am also running multiple virtual hosts through Apache.  I want to be able
to hit URLs such as dev.myserver.com or www.myVirtualServer.com/contextname.
If I use a redirect in the Apache httpd file, I can redirect the incoming
request back to www.myserver.com/context, but this seems hocky.  

How do I 'connect' alternate inbound URLs to a Tomcat context?  What is
controlling the connection between www.myserver.com and Tomcat?  

This is a great list and I really appreciate all the advice that I've
gleaned from it so far.

PS - Using Tomcat 5.5 and Apache 2.?

Regards,

Geoff Wiggs
Orcas Technologies, Inc
[EMAIL PROTECTED]




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



RE: Apache - JK2 - Tomcat Question

2005-04-05 Thread Vaneet Sharma


Try the virtual host directive in httpd...

I think you can do something there

Though I will be implementing the same tomorrow :)

Regards
Vaneet

-Original Message-
From: Geoff Wiggs [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 7:59 PM
To: tomcat-user@jakarta.apache.org
Subject: Apache - JK2 - Tomcat Question


I have a 'newbie' jk2 / Tomcat question.

I am running Tomcat behind Apache with mod_jk2 interfacing the two.

If I hit the URL www.myserver.com/contextname I get the JSP/servlet that
I am hoping for.  I am using the correct mapping ([URI:/contextname/*])
in the workers2.properties and everything up to this point makes sense.

I am also running multiple virtual hosts through Apache.  I want to be
able to hit URLs such as dev.myserver.com or
www.myVirtualServer.com/contextname.
If I use a redirect in the Apache httpd file, I can redirect the
incoming request back to www.myserver.com/context, but this seems hocky.


How do I 'connect' alternate inbound URLs to a Tomcat context?  What is
controlling the connection between www.myserver.com and Tomcat?  

This is a great list and I really appreciate all the advice that I've
gleaned from it so far.

PS - Using Tomcat 5.5 and Apache 2.?

Regards,

Geoff Wiggs
Orcas Technologies, Inc
[EMAIL PROTECTED]




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



Vaneet Sharma
executive manager   
iDeasTank Limited   
an iwg business
dolphins' court po 388
valletta, m-malta/europe
mobile:  +356 9943 8263
skype:   CALLVANEET
fax: +356 9952 
phone:   +356 9942 

[EMAIL PROTECTED]
call me on www.skype.com - my ID is CALLVANEET

Want a signature like this? - www.plaxo.com\signature

iwg is a global e-mobile company creating, building and growing new businesses. 
 iwg founders are pioneers in creating multi-billion dollar mobile and Internet 
businesses in Europe, Asia and the US.

www.iWG.info
www.countryprofiler.com/iWG
www.visitmalta.com
www.mfc.com.mt


Privileged/Confidential Information may be contained in this message.  If you 
are not the addressee indicated in this message (or responsible for delivery of 
the message to such person), you may not copy or deliver this message to 
anyone. In such case, you should destroy this message and kindly notify the 
sender by reply email.

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



RE: Apache - JK2 - Tomcat Question

2005-04-05 Thread Richard Mixon (qwest)
Geoff Wiggs wrote:
 I have a 'newbie' jk2 / Tomcat question.

 I am running Tomcat behind Apache with mod_jk2 interfacing the two.
snip

Just so you are aware, jk2 is deprecated in favor of jk. As of version
1.2.10 of jk, most useful features in jk2 should be in jk.

See http://jakarta.apache.org/tomcat/connectors-doc/

This does not mean you cannot use jk2, it just has little support if
any.

HTH - Richard


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



Apache 2.0.53 , Tomcat 5.0.28 on AIX 5.1 segmentation fault at apachectl start when trying to use either mod_jk or mod_jk2

2005-04-01 Thread Bruce . Lightsey
I'm a new user of this stuff - except AIX.  With the default installs , I
can get to both Apache (port 80) and to Tomcat (port 8080).
 But, after compiling/making mod_jk, stopping both apache and tomcat,
modifying httpd.conf to load the modules/mod_jk.so:  ( LoadModule jk_module
modules/mod_jk.so ) ,
issuing apachectl start results in :
apachectl[80]: 565328 Segmentation fault(coredump)

I'm trying to set up this machine so that I can run ArcIMS ( from ESRI ).

The ArcIMS doc claims to want the mod_jk2 installed - same result as with
mod_jk on the apache start

If it helps, the machine/software config:
2-way p630 with 4G memory, sufficient disk space
AIX 5.1 latest fixpack, latest JDK 1.4 from IBM, Apache 2.0.53 built from
downloaded source, Tomcat 5.0.28 also built from source, jk2-2.0.4 from
source, jk-1.2.10 from source

Ideas/advice/etc welcome

thanks,
Bruce


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



Re: Apache 2.0.53 , Tomcat 5.0.28 on AIX 5.1 segmentation fault at apachectl start when trying to use either mod_jk or mod_jk2

2005-04-01 Thread gotti
Probably there is a problem in source, perheps try use transparent porxy to get 
apache and tomcat working together and check result


On Fri, 1 Apr 2005 10:38:27 -0600
[EMAIL PROTECTED] wrote:

 I'm a new user of this stuff - except AIX.  With the default installs , I
 can get to both Apache (port 80) and to Tomcat (port 8080).
  But, after compiling/making mod_jk, stopping both apache and tomcat,
 modifying httpd.conf to load the modules/mod_jk.so:  ( LoadModule jk_module
 modules/mod_jk.so ) ,
 issuing apachectl start results in :
 apachectl[80]: 565328 Segmentation fault(coredump)
 
 I'm trying to set up this machine so that I can run ArcIMS ( from ESRI ).
 
 The ArcIMS doc claims to want the mod_jk2 installed - same result as with
 mod_jk on the apache start
 
 If it helps, the machine/software config:
 2-way p630 with 4G memory, sufficient disk space
 AIX 5.1 latest fixpack, latest JDK 1.4 from IBM, Apache 2.0.53 built from
 downloaded source, Tomcat 5.0.28 also built from source, jk2-2.0.4 from
 source, jk-1.2.10 from source
 
 Ideas/advice/etc welcome
 
 thanks,
 Bruce
 
 
 -
 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]



is there an already build of apache+jk+tomcat bundle available

2005-03-28 Thread FRANCOIS Dufour
hi to all
i ad a problem naming my server mycompany.exemple.somting so i mooved to a 
.org
same bug if i use mysite.org as server name tomcat simply dosent anwser so 
im wondering if
there is a bundle containing apache+jk+tomcat somwere

[EMAIL PROTECTED]
administrateur http://monteregiechat.org

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


[ANN] Apache Jakarta Tomcat v5.5.9-alpha Released

2005-03-27 Thread Yoav Shapira
The Apache Jakarta Tomcat team is proud to announce the immediate availability
of Tomcat 5.5.9-alpha. This build contains numerous bug fixes, documentation
updates, and other improvements.

Release notes: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES

Please refer to the change log for the list of changes:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/changelog.html

Downloads: Binaries: http://jakarta.apache.org/site/binindex.cgi#tomcat-5.5
Sources: http://jakarta.apache.org/site/sourceindex.cgi#tomcat-5.5

The Apache Jakarta Tomcat Team 

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



HEAD method doesn't propagate from apache to tomcat over mod_jk

2005-03-21 Thread Arnar Gestsson




Hi,

I've stumbled over a bug in the mod_jk, which can be described by: 

If I send request using HEAD method to a servlet, the servlet allways shows the method as GET. POST method works as expected.

I've made attached servlet to verify the nature of the problem. I'm using the following environment

OS: Linux Redhat 9.0 on intel platform
Tomcat version: 4.1.31
Tomcat component: mod_jk(1.2.8)
JVM: sun java 1.4.2_03
Webserver: Apache 2.0.53

I've not seen this problem mentioned anywhere, but it surely is there. I would appreciate any comment about the matter.

BR. Arnar

Arnar Gestsson, MSc, Electrical Engineering
TrackWell Software


import java.util.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class RequestType extends HttpServlet {

 public void doGet(HttpServletRequest req, HttpServletResponse rsp)
   throws ServletException, IOException {
   rsp.setContentType(text/html);
   PrintWriter out = rsp.getWriter();

   String requestType = req.getMethod();
   rsp.setHeader(Arnar,  was here);
   rsp.setHeader(Content-Type, arnar);
   rsp.setHeader(Request-Type, requestType);



   out.println(html);
   out.println(headtitle Request Type:  + requestType +
/title/head);
   out.println(body);
   out.println(pThis page is the result of a  + requestType +
request./p);
   String name = user-agent;
   String value = req.getHeader(name);
if (value == null) {
// The request header was not present
}

// Get all request headers
Enumeration enum = req.getHeaderNames();
for (; enum.hasMoreElements(); ) {
// Get the name of the request header
name = (String)enum.nextElement();
out.println(name);

// Get a value of the request header
value = req.getHeader(name);

// If the request header can appear more than once, get all values
Enumeration valuesEnum = req.getHeaders(name);
for (; valuesEnum.hasMoreElements(); ) {
// Get a value of the request header
value = (String)valuesEnum.nextElement();

out.println(+value);
}
}
   out.println(/body/html);
out.close();
 }

 public void doPost(HttpServletRequest req, HttpServletResponse rsp)
   throws ServletException, IOException {
   doGet(req,rsp);
 }

 public void doHead(HttpServletRequest req, HttpServletResponse rsp)
  throws ServletException, IOException {
   String requestType = req.getMethod();
   rsp.setHeader(Arnar,  sent head);
   rsp.setHeader(Request-Type, requestType);
 }

}


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

Re: HEAD method doesn't propagate from apache to tomcat over mod_jk

2005-03-21 Thread Mladen Turk
Arnar Gestsson wrote:
If I send request using HEAD method to a servlet, the servlet allways 
shows the method as GET.  POST method works as expected.

This has been fixed already see:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c?r1=1.77r2=1.78diff_format=h
So you'll need 1.2.9 for HEAD method to work.
Regards,
Mladen

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


[ANN] Apache Jakarta Tomcat 5.5.8-alpha Released

2005-02-20 Thread Yoav Shapira
The Apache Jakarta Tomcat team is proud to announce the immediate availability
of Tomcat 5.5.8-alpha. This build contains numerous bug fixes, documentation
updates, and other improvements. 

Release notes: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES 

Please refer to the change log for the list of changes:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/changelog.html 

Downloads: Binaries: http://jakarta.apache.org/site/binindex.cgi#tomcat-5.5 
Sources: http://jakarta.apache.org/site/sourceindex.cgi#tomcat-5.5 

The Apache Jakarta Tomcat Team

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



mod_jk2 + Apache 2.0.49 + Tomcat 5.0.19

2005-01-27 Thread Arantza Lozano
Hi,
 
I´m configuring mod_jk2 with Apache 2.0.49 and Tomcat 5.0.19
I've read a lot of documentation but I still have doubts about which 
configuration is better. This one:
 
Location /application/*
JkUriSet group ajp13:localhost:8009 
/Location
 
or this one: 
 
[uri:www.home.org/application/*]
group=ajp13:localhost:8009
 
I've read that when using the JkUriSet commands within a Location block the 
configuration gets confused 
between vhosts. Is that true? Why? 
 
I prefer the first configuration because I want to centralize the configuration 
independently in each Virtualhost
instead of having all uri mappings in the workers2.properties file.
 
Could you help me please?
 
Thanks in advanced.
 
Arantza

**  DISCLAIMER ***

This message may contain confidential, proprietary or legally privileged 
information. 
If you are not the intended recipient of this message, please notify it to the 
sender and delete without resending or backing it, as it is legally prohibited.

**  AVISO LEGAL **

Este mensaje puede contener información confidencial, en propiedad o legalmente 
protegida.
Si usted no es el destinatario, le rogamos lo comunique al remitente y proceda 
a borrarlo, sin reenviarlo ni conservarlo, ya que su uso no autorizado está 
prohibido legalmente.
 
**



RE: mod_jk2 + Apache 2.0.49 + Tomcat 5.0.19

2005-01-27 Thread Cox, Charlie
Jk2 is deprecated, so you may want to look at mod_jk 1.2.8 which has all the 
jk2 enhancements(but still uses the jk syntax).

If you still need to use jk2, the Location matching works fine with 2.0.49. I 
have been using it for quite a while now with multiple vhosts.

Charlie

 -Original Message-
 From: Arantza Lozano [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 27, 2005 6:48 AM
 To: tomcat-user@jakarta.apache.org
 Subject: mod_jk2 + Apache 2.0.49 + Tomcat 5.0.19
 
 Hi,
 
 I´m configuring mod_jk2 with Apache 2.0.49 and Tomcat 5.0.19
 I've read a lot of documentation but I still have doubts about which
 configuration is better. This one:
 
 Location /application/*
 JkUriSet group ajp13:localhost:8009
 /Location
 
 or this one:
 
 [uri:www.home.org/application/*]
 group=ajp13:localhost:8009
 
 I've read that when using the JkUriSet commands within a Location block the
 configuration gets confused
 between vhosts. Is that true? Why?
 
 I prefer the first configuration because I want to centralize the
 configuration independently in each Virtualhost
 instead of having all uri mappings in the workers2.properties file.
 
 Could you help me please?
 
 Thanks in advanced.
 
 Arantza
 
 **  DISCLAIMER ***
 
 This message may contain confidential, proprietary or legally privileged
 information.
 If you are not the intended recipient of this message, please notify it to the
 sender and delete without resending or backing it, as it is legally
 prohibited.
 
 **  AVISO LEGAL **
 
 Este mensaje puede contener información confidencial, en propiedad o
 legalmente protegida.
 Si usted no es el destinatario, le rogamos lo comunique al remitente y proceda
 a borrarlo, sin reenviarlo ni conservarlo, ya que su uso no autorizado está
 prohibido legalmente.
 
 **


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



Cannot solve error - No Host name matches server name. Apache 2.0.52, Tomcat 5.5.7

2005-01-25 Thread Tom Kennelly
I am running Apache 2.0.52, Tomcat 5.5.7 (and have tested with Tomcat 
5.5.4 as well) and  mod_jk is 1.28.  All of these major components were 
download in binary mode (no compiling on any component) to run on my 
Fedora system.  Just to clarify both Apache and Tomcat are running on 
the same machine.

I cannot determine why I am getting a  No Host name matches server 
nameerror when trying to execute a jsp on Tomcat through the 
ajp13 connector from Apache.  According to the logs below I believe the 
request is flowing from Apache to Tomcat correctly.

Here is the error I receive according to the Catalina log (see last line):
Jan 25, 2005 11:07:52 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 25, 2005 11:07:53 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 12252 ms
Jan 25, 2005 11:07:56 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 25, 2005 11:07:56 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.7
Jan 25, 2005 11:07:56 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jan 25, 2005 11:08:07 AM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: 
[org.apache.webapp.balancer.RuleChain: 
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: 
News / Redirect URL: http://www.cnn.com], 
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param 
name: paramName / Target param value: paramValue / Redirect URL: 
http://www.yahoo.com], 
[org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: 
http://jakarta.apache.org]]
Jan 25, 2005 11:08:09 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jan 25, 2005 11:08:09 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jan 25, 2005 11:08:11 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jan 25, 2005 11:08:11 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jan 25, 2005 11:08:12 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jan 25, 2005 11:08:12 AM org.apache.catalina.startup.ContextConfig 
applicationWebConfig
INFO: Missing application web.xml, using defaults only 
StandardEngine[Catalina].StandardHost[tkennelly].StandardContext[/mydefaults]
Jan 25, 2005 11:08:13 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 25, 2005 11:08:14 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jan 25, 2005 11:08:14 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/146  config=null
Jan 25, 2005 11:08:14 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jan 25, 2005 11:08:15 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 21274 ms
Jan 25, 2005 1:34:50 PM org.apache.catalina.valves.RequestDumperValve invoke
INFO: REQUEST URI   =/tomk.jsp
Jan 25, 2005 1:34:50 PM org.apache.catalina.valves.RequestDumperValve invoke
INFO:   authType=null
Jan 25, 2005 1:34:50 PM org.apache.catalina.valves.RequestDumperValve invoke
INFO:  characterEncoding=null
Jan 25, 2005 1:34:50 PM org.apache.catalina.valves.RequestDumperValve invoke
INFO:  contentLength=0
Jan 25, 2005 1:34:50 PM org.apache.catalina.valves.RequestDumperValve invoke
INFO:contentType=null
Jan 25, 2005 1:34:50 PM org.apache.catalina.valves.RequestDumperValve invoke
INFO:contextPath=null
Jan 25, 2005 1:34:50 PM org.apache.catalina.valves.RequestDumperValve invoke
INFO: header=host=tkennelly.gotdns.com
Jan 25, 2005 1:34:50 PM org.apache.catalina.valves.RequestDumperValve invoke
INFO: header=user-agent=Mozilla/5.0 (Windows; U; Windows NT 
5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Jan 25, 2005 1:34:50 PM org.apache.catalina.valves.RequestDumperValve invoke
INFO: 
header=accept=text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Jan 25, 2005 1:34:50 PM org.apache.catalina.valves.RequestDumperValve invoke
INFO: header=accept-language=en-us,en;q=0.5
Jan 25, 2005 1:34:50 PM org.apache.catalina.valves.RequestDumperValve invoke
INFO: header=accept-encoding=gzip,deflate
Jan 25, 2005 1:34:50 PM org.apache.catalina.valves.RequestDumperValve invoke
INFO: header=accept-charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7
Jan 25, 2005 1:34:50 PM org.apache.catalina.valves.RequestDumperValve invoke
INFO: header=keep-alive=300
Jan 25, 2005 1:34:50 PM org.apache.catalina.valves.RequestDumperValve invoke
INFO: header=connection=keep-alive
Jan 25, 2005 1:34:50 PM

Re: Cannot solve error - No Host name matches server name. Apache 2.0.52, Tomcat 5.5.7

2005-01-25 Thread Mladen Turk
Tom Kennelly wrote:
I am running Apache 2.0.52, Tomcat 5.5.7 (and have tested with Tomcat 
5.5.4 as well) and  mod_jk is 1.28.  All of these major components were 
download in binary mode (no compiling on any component) to run on my 
Fedora system.  Just to clarify both Apache and Tomcat are running on 
the same machine.

You are using mod_jk 1.2.6 not 1.2.8 ;).
Also try to set:
Host name=tkennelly.gotdns.com ...
Aliastkennelly/Alias
...
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Cannot solve error - No Host name matches server name. Apache 2.0.52, Tomcat 5.5.7

2005-01-25 Thread Tom Kennelly
Should I also rename the folder in CATALINA_HOME/conf/Catalina from
tkennelly to tkennelly.gotdns.com ?
- Original Message - 
From: Mladen Turk [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, January 25, 2005 2:18 PM
Subject: Re: Cannot solve error - No Host name matches server name. Apache
2.0.52, Tomcat 5.5.7


 Tom Kennelly wrote:
  I am running Apache 2.0.52, Tomcat 5.5.7 (and have tested with Tomcat
  5.5.4 as well) and  mod_jk is 1.28.  All of these major components were
  download in binary mode (no compiling on any component) to run on my
  Fedora system.  Just to clarify both Apache and Tomcat are running on
  the same machine.
 

 You are using mod_jk 1.2.6 not 1.2.8 ;).

 Also try to set:

 Host name=tkennelly.gotdns.com ...
 Aliastkennelly/Alias
 ...

 Mladen.

 -
 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: Cannot solve error - No Host name matches server name. Apache 2.0.52, Tomcat 5.5.7

2005-01-25 Thread Tom Kennelly
BTW good catch on the mod-Jk 1.2.6.  I went back and discovered that I can
go down the 1.2.8 path but the resultant binaries on apache.org are all
1.2.6.

- Original Message - 
From: Mladen Turk [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, January 25, 2005 2:18 PM
Subject: Re: Cannot solve error - No Host name matches server name. Apache
2.0.52, Tomcat 5.5.7


 Tom Kennelly wrote:
  I am running Apache 2.0.52, Tomcat 5.5.7 (and have tested with Tomcat
  5.5.4 as well) and  mod_jk is 1.28.  All of these major components were
  download in binary mode (no compiling on any component) to run on my
  Fedora system.  Just to clarify both Apache and Tomcat are running on
  the same machine.
 

 You are using mod_jk 1.2.6 not 1.2.8 ;).

 Also try to set:

 Host name=tkennelly.gotdns.com ...
 Aliastkennelly/Alias
 ...

 Mladen.

 -
 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: Cannot solve error - No Host name matches server name. Apache 2.0.52, Tomcat 5.5.7

2005-01-25 Thread Tom Kennelly
I switched the host name and alias as suggested below, recycled both Tomcat
and Apache and received the same error.
- Original Message - 
From: Mladen Turk [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, January 25, 2005 2:18 PM
Subject: Re: Cannot solve error - No Host name matches server name. Apache
2.0.52, Tomcat 5.5.7


 Tom Kennelly wrote:
  I am running Apache 2.0.52, Tomcat 5.5.7 (and have tested with Tomcat
  5.5.4 as well) and  mod_jk is 1.28.  All of these major components were
  download in binary mode (no compiling on any component) to run on my
  Fedora system.  Just to clarify both Apache and Tomcat are running on
  the same machine.
 

 You are using mod_jk 1.2.6 not 1.2.8 ;).

 Also try to set:

 Host name=tkennelly.gotdns.com ...
 Aliastkennelly/Alias
 ...

 Mladen.

 -
 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: Cannot solve error - No Host name matches server name. Apache 2.0.52, Tomcat 5.5.7

2005-01-25 Thread Mladen Turk
Tom Kennelly wrote:
I switched the host name and alias as suggested below, recycled both Tomcat
and Apache and received the same error.
Did you set all the permissions correctly?
Is your vhost directory readable by the tomcat user?
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Cannot solve error - No Host name matches server name. Apache 2.0.52, Tomcat 5.5.7

2005-01-25 Thread Tom Kennelly
Great question.  I rechecked the permissions and set them at 777 to make
sure.

- Original Message - 
From: Mladen Turk [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, January 25, 2005 3:41 PM
Subject: Re: Cannot solve error - No Host name matches server name. Apache
2.0.52, Tomcat 5.5.7


 Tom Kennelly wrote:
  I switched the host name and alias as suggested below, recycled both
Tomcat
  and Apache and received the same error.

 Did you set all the permissions correctly?
 Is your vhost directory readable by the tomcat user?

 Mladen.

 -
 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: [ANN] Apache Jakarta Tomcat 5.5.7-alpha Released

2005-01-21 Thread Pawson, David

Lionel Farbos wrote:
 Question :
 What is the reference or stable version for servlet 2.4 ?
 Is it Tomcat 5.0.28 or Tomcat 5.5.4 ?
 
 I don't understand why you implement 2 versions (2 
branches) for this servlet API ...?


http://jakarta.apache.org/site/binindex.cgi

Also has 5.0.30.

Stability for production use seems pretty low on the priorities list.

regards DaveP

** snip here **


-- 
DISCLAIMER:

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged.  If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system.

RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants.  However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent
those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk




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



Re: [ANN] Apache Jakarta Tomcat 5.5.7-alpha Released

2005-01-21 Thread Lionel Farbos
On Thu, 20 Jan 2005 19:05:52 +
Mark Thomas [EMAIL PROTECTED] wrote:

 Lionel Farbos wrote:
  Question :
  What is the reference or stable version for servlet 2.4 ?
  Is it Tomcat 5.0.28 or Tomcat 5.5.4 ?
  
  I don't understand why you implement 2 versions (2 branches) for this 
  servlet API ...?
 
 http://jakarta.apache.org/tomcat/index.html has answers to these 
 questions and more.

If I post theses questions, it's because theses answers are not clear for me...
So, I re-post my question differently :

For production purposes, I want the most stable Tomcat Version (Servlet API 2.3 
or 2.4); so, what version should I use ? TC4.1.31, TC5.0.28 or TC5.5.4 ?

In my memories, TC5.0.x was not usable before 5.0.19 but she was announced 
stable...
So I prefer requiring Tomcat developers' point of view.

In advance, Thank you.

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



Re: [ANN] Apache Jakarta Tomcat 5.5.7-alpha Released

2005-01-21 Thread Remy Maucherat
On Fri, 21 Jan 2005 11:15:37 +0100, Lionel Farbos [EMAIL PROTECTED] wrote:
 On Thu, 20 Jan 2005 19:05:52 +
 Mark Thomas [EMAIL PROTECTED] wrote:
 
  Lionel Farbos wrote:
   Question :
   What is the reference or stable version for servlet 2.4 ?
   Is it Tomcat 5.0.28 or Tomcat 5.5.4 ?
  
   I don't understand why you implement 2 versions (2 branches) for this 
   servlet API ...?
 
  http://jakarta.apache.org/tomcat/index.html has answers to these
  questions and more.
 
 If I post theses questions, it's because theses answers are not clear for 
 me...
 So, I re-post my question differently :
 
 For production purposes, I want the most stable Tomcat Version (Servlet API 
 2.3 or 2.4); so, what version should I use ? TC4.1.31, TC5.0.28 or TC5.5.4 ?
 
 In my memories, TC5.0.x was not usable before 5.0.19 but she was announced 
 stable...
 So I prefer requiring Tomcat developers' point of view.

5.5.4 is quite stable. The place where it had issues is the webapp hot
deployer, which was rewritten (the 5.0.x deployer didn't do hot
deployment very well overall, so I suppose you're losing something,
but not much). I think the problems have now been addressed in the
latest 5.5.7 build (which hasn't been rated stable yet). Virtually all
the other issues were bugs affecting 5.0.x as well, and those weren't
all backported yet.

You can see the changelog here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/changelog.html

If you're deploying on a new server, I recommend starting your process
using the latest stable branch. If you're updating, and since there's
likely a new stable build coming soon, you could wait for it.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

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



[ANN] Apache Jakarta Tomcat 5.5.7-alpha Released

2005-01-20 Thread Remy Maucherat
The Apache Jakarta Tomcat team is proud to announce the immediate 
availability of Tomcat 5.5.7-alpha. This build contains numerous bug 
fixes, documentation updates, and other improvements.

Release notes: 
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES

Please refer to the change log for the list of changes:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/changelog.html
Downloads: Binaries: http://jakarta.apache.org/site/binindex.cgi#tomcat-5.5
Sources: http://jakarta.apache.org/site/sourceindex.cgi#tomcat-5.5
The Apache Jakarta Tomcat Team
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [ANN] Apache Jakarta Tomcat 5.5.7-alpha Released

2005-01-20 Thread Lionel Farbos
Question :
What is the reference or stable version for servlet 2.4 ?
Is it Tomcat 5.0.28 or Tomcat 5.5.4 ?

I don't understand why you implement 2 versions (2 branches) for this servlet 
API ...?


On Thu, 20 Jan 2005 15:31:28 +0100
Remy Maucherat [EMAIL PROTECTED] wrote:

 The Apache Jakarta Tomcat team is proud to announce the immediate 
 availability of Tomcat 5.5.7-alpha. This build contains numerous bug 
 fixes, documentation updates, and other improvements.

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



jk apache and tomcat

2005-01-20 Thread Selcuk Yazar
Hi,
I've installed on my w2k server machine
jakarta-tomcat-4.1.31 and apache_2.0.52 .
everything is fine tomcat samples running with no error, then i've try to
install
mod_jk-1.2.8-apache-2.0.52.so module for apache, and added load module
direction
httpd.conf file  and i create worker.properties file in tomcat conf/jk
directory
like below.
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
when i try http://localhost/examples/jsp/index.html get list of examples
but
they didn't work,
i got internal server error.
what should i do working this system. i've read few sample how to document
but i'cant achieved
run the samples. Also running Oracle 9.0.2 in my machine, my apache
installed port 8100.
thanks in advance
_
Yagmura yakalanmamak için sadece semsiyenize degil, MSN hava durumuna 
güvenin! http://www.msn.com.tr/havadurumu/

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


Re: jk apache and tomcat

2005-01-20 Thread Mladen Turk
Selcuk Yazar wrote:
Hi,
I've installed on my w2k server machine
jakarta-tomcat-4.1.31 and apache_2.0.52 .
everything is fine tomcat samples running with no error, then i've try to
install
mod_jk-1.2.8-apache-2.0.52.so module for apache, and added load module
direction
httpd.conf file  and i create worker.properties file in tomcat conf/jk
directory
like below.
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

OK. That is correct.

when i try http://localhost/examples/jsp/index.html get list of examples

Inside http.conf add:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkLogLevel error
JkLogFile logs/mod_jk.log
JkMount /examples/* ajp13
Also is it worker.properties or workers.properties ?
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [ANN] Apache Jakarta Tomcat 5.5.7-alpha Released

2005-01-20 Thread Mark Thomas
Lionel Farbos wrote:
Question :
What is the reference or stable version for servlet 2.4 ?
Is it Tomcat 5.0.28 or Tomcat 5.5.4 ?
I don't understand why you implement 2 versions (2 branches) for this servlet API ...?
http://jakarta.apache.org/tomcat/index.html has answers to these 
questions and more.


On Thu, 20 Jan 2005 15:31:28 +0100
Remy Maucherat [EMAIL PROTECTED] wrote:

The Apache Jakarta Tomcat team is proud to announce the immediate 
availability of Tomcat 5.5.7-alpha. This build contains numerous bug 
fixes, documentation updates, and other improvements.

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


Recommendations for connector from Apache to Tomcat

2005-01-12 Thread Justin Crabtree
I am going to soon be attempting to setup an existing Apache web server 
on a Windows Server 2003 machine with a connnector to a new install of 
Tomcat.  Any recommendations on what connector to use?  Problems to 
watch out for?  Any good documentation on how to do this?  Here are my 
specs.

Windows Server 2003
Apache 2.0.50
Tomcat 5.5.4
Java 1.5.0 Update 1
I am a newbie so I need something relatively easy to setup.  Thanks.
--
Justin Crabtree
Java Programmer
Ozarks Technical Community College
447-7533

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


RE: Recommendations for connector from Apache to Tomcat

2005-01-12 Thread Didier McGillis
http://johnturner.com/howto/apache-tomcat-howto.html
try that one, there are a couple of Windows ones.
From: Justin Crabtree [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat User List tomcat-user@jakarta.apache.org
Subject: Recommendations for connector from Apache to Tomcat
Date: Wed, 12 Jan 2005 09:15:31 -0600
I am going to soon be attempting to setup an existing Apache web server on 
a Windows Server 2003 machine with a connnector to a new install of Tomcat. 
 Any recommendations on what connector to use?  Problems to watch out for? 
 Any good documentation on how to do this?  Here are my specs.

Windows Server 2003
Apache 2.0.50
Tomcat 5.5.4
Java 1.5.0 Update 1
I am a newbie so I need something relatively easy to setup.  Thanks.
--
Justin Crabtree
Java Programmer
Ozarks Technical Community College
447-7533

-
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: RES: Apache and Tomcat VirtualHost Config Problem

2004-12-30 Thread Aphra Behn
Does anyone know how to do what he is suggesting?  What lines should be 
inserted or edited in these files to differentiate the requests for jsp for 
each virtual host?  Or does anyone know any better documentation that 
explains how to do this?

From: Roberto Rios [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: 'Aphra Behn' [EMAIL PROTECTED]
Subject: RES: Apache and Tomcat VirtualHost Config Problem
Date: Thu, 30 Dec 2004 10:59:16 -0200
Hi,
Looking into your apache config, every jsp request that arrives to it
will be forwarded to ajp13:localhost:8009.
In your tomcat config you are telling to tomcat that every request that
arrives for www.home.net or localhost or www or 10.0.0.10 will be
handled by the application in /opt/jakarta-tomcat-5.0.28/webapps/home.
So, the application in /opt/jakarta-tomcat-5.0.28/webapps/sample will
NEVER be reached...
I'm not an expert, but I think that the only way to do what you want, is
doing some kind of differentiation between the requests for home and
sample.
Doing this, apache will be able to know to each tomcat host forward the
requests.
Bob
-Mensagem original-
De: Aphra Behn [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 29 de dezembro de 2004 23:55
Para: tomcat-user@jakarta.apache.org
Assunto: Apache and Tomcat VirtualHost Config Problem
Hi,
I am currently using Apache httpd 2.0.52, Tomcat 5.0.28 and mod_jk2
configured with workers2.properties and so that tomcat can listen to
apache requests.  I want Apache httpd to serve static files and Tomcat
to serve dynamic files (ex. jsp's).
This all works fine if I have all dynamic files located on the url as
www.mysite.com/home/file.jsp
However, I cannot seem to get the dynamic files to work properly if I
want them to be at the same location on the url as the static files so
that www.mysite.com/file.jsp (served by Tomcat as requested by Apache
httpd) and www.mysite.com/index.htm (served by Apache httpd) coexist
without any problems.
I did come up with a config that works partially for jsps at
www.mysite.com/file.jsp but there are some problems.  This is the main
problem:
Eventhough I am able to access all the jsp page inside
CATALINA_HOME/webapp/home, I am no longer able to access any jsp page
inside other directory such as CATALINA_HOME/webapp/sample directory.
I have included all relevant config settings below this paragraph.
What can I do diffrently so that Apache can make a direct request to
both CATALINA_HOME/webapp/home and CATALINA_HOME/webapp/sample instead
of just one?  It seems to me that with my original setting (above
mentioned as www.mysite.com/home/file.jsp), requests from Apache will
start from CATALINA_HOME/webapp and start going through different
directory and display it through the url each time it enter a
subdirectory.  However, with my current setting, instead of starting
at CATALINA_HOME/webapp, I just start at CATALINA_HOME/webapp/home, so
eventhough I make a request from www.mysite.com, home does not show
up anymore, but that also makes it impossible to access files from a
directory such as CATALINA_HOME/webapp/sample.  What kind of
configuration do I need to make Apache access a jsp page from Tomcat
without showing up a long url path but instead just something like
www.mysite.com/file.jsp no matter which folder the jsp page is located
inside tomcat?
Here are the relevant config lines:

---
1)Inside server.xml, I enter the following:
  Host name=www.home.net debug=0
  appBase=/opt/jakarta-tomcat-5.0.28/webapps/home
   unpackWARs=true autoDeploy=true
  Aliaslocalhost/Alias
  Aliaswww/Alias
  Alias10.0.0.10/Alias
  Context path= docBase= debug=1/
  Valve
className=org.apache.catalina.valves.AccessLogValve
   directory=logs  prefix=home_access_log. suffix=.txt
   pattern=common resolveHosts=false/
  /Host
  Host name=www.root.net debug=0
  appBase=/opt/jakarta-tomcat-5.0.28/webapps/sample
  unpackWARs=true autoDeploy=true
  Context path= docBase= debug=1/
  Valve
className=org.apache.catalina.valves.AccessLogValve
   directory=logs  prefix=cust2_log. suffix=.txt
   pattern=common resolveHosts=false/
  /Host
2) Inside worker2.properties, I include the following:
  uri:www.home.net/*.jsp]
  worker=ajp13:localhost:8009
  [uri:www.sample.net/*.jsp]
  worker=ajp13:localhost:8009
3)  Inside httpd.conf, I include the following:
VirtualHost 10.0.0.10:80
  DocumentRoot /usr/local/httpd-2.0.52/htdocs/www.mysite.com
  ServerName www.mysite.com
  Location /*.jsp
  JkUriSet worker ajp13:localhost:8009
  /Location
/VirtualHost

---
If anybody knows of a great source

Apache and Tomcat VirtualHost Config Problem

2004-12-29 Thread Aphra Behn
Hi,
I am currently using Apache httpd 2.0.52, Tomcat 5.0.28 and mod_jk2
configured with workers2.properties and so that tomcat can listen to
apache requests.  I want Apache httpd to serve static files and Tomcat
to serve dynamic files (ex. jsp's).
This all works fine if I have all dynamic files located on the url as
www.mysite.com/home/file.jsp
However, I cannot seem to get the dynamic files to work properly if I
want them to be at the same location on the url as the static files so
that www.mysite.com/file.jsp (served by Tomcat as requested by Apache
httpd) and www.mysite.com/index.htm (served by Apache httpd) coexist
without any problems.
I did come up with a config that works partially for jsps at
www.mysite.com/file.jsp but there are some problems.  This is the main
problem:
Eventhough I am able to access all the jsp page inside
CATALINA_HOME/webapp/home, I am no longer able to access any jsp page
inside other directory such as CATALINA_HOME/webapp/sample directory.
I have included all relevant config settings below this paragraph.
What can I do diffrently so that Apache can make a direct request to
both CATALINA_HOME/webapp/home and CATALINA_HOME/webapp/sample instead
of just one?  It seems to me that with my original setting (above
mentioned as www.mysite.com/home/file.jsp), requests from Apache will
start from CATALINA_HOME/webapp and start going through different
directory and display it through the url each time it enter a
subdirectory.  However, with my current setting, instead of starting
at CATALINA_HOME/webapp, I just start at CATALINA_HOME/webapp/home, so
eventhough I make a request from www.mysite.com, home does not show
up anymore, but that also makes it impossible to access files from a
directory such as CATALINA_HOME/webapp/sample.  What kind of
configuration do I need to make Apache access a jsp page from Tomcat
without showing up a long url path but instead just something like
www.mysite.com/file.jsp no matter which folder the jsp page is located
inside tomcat?
Here are the relevant config lines:
---
1)Inside server.xml, I enter the following:
 Host name=www.home.net debug=0
 appBase=/opt/jakarta-tomcat-5.0.28/webapps/home
  unpackWARs=true autoDeploy=true
 Aliaslocalhost/Alias
 Aliaswww/Alias
 Alias10.0.0.10/Alias
 Context path= docBase= debug=1/
 Valve className=org.apache.catalina.valves.AccessLogValve
  directory=logs  prefix=home_access_log. suffix=.txt
  pattern=common resolveHosts=false/
 /Host
 Host name=www.root.net debug=0
 appBase=/opt/jakarta-tomcat-5.0.28/webapps/sample
 unpackWARs=true autoDeploy=true
 Context path= docBase= debug=1/
 Valve className=org.apache.catalina.valves.AccessLogValve
  directory=logs  prefix=cust2_log. suffix=.txt
  pattern=common resolveHosts=false/
 /Host
2) Inside worker2.properties, I include the following:
 uri:www.home.net/*.jsp]
 worker=ajp13:localhost:8009
 [uri:www.sample.net/*.jsp]
 worker=ajp13:localhost:8009
3)  Inside httpd.conf, I include the following:
VirtualHost 10.0.0.10:80
 DocumentRoot /usr/local/httpd-2.0.52/htdocs/www.mysite.com
 ServerName www.mysite.com
 Location /*.jsp
 JkUriSet worker ajp13:localhost:8009
 /Location
/VirtualHost
---
If anybody knows of a great source of documentation on this I would
like to know.  I have searched online and read through a lot of
documentation such as  Apache 2.0.43 - Tomcat 4.1.12 - jk2 - virtual
host HOWTO at 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/printer/vhosthowto.html,
document about mod_jk2 at http://rimuhosting.com/mod_jk2.jsp  and at
http://www.pixelfreak.net/howto/apache2_jk2_tomcat/socket.html,
document about server.xml at
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/host.html,
document about virtual host  at
http://httpd.apache.org/docs-2.0/mod/core.html#virtualhost .

Thanks in advance for your help!
_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

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


[ANN] Apache Jakarta Tomcat 5.5.6-alpha Released

2004-12-12 Thread Yoav Shapira
The Apache Jakarta Tomcat team is proud to announce the immediate availability
of Tomcat 5.5.6-alpha. This build contains numerous bug fixes, documentation
updates, and other improvements. 

Release notes: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES 

Please refer to the change log for the list of changes:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/changelog.html 

Downloads: Binaries: http://jakarta.apache.org/site/binindex.cgi#tomcat-5.5 
Sources: http://jakarta.apache.org/site/sourceindex.cgi#tomcat-5.5 

The Apache Jakarta Tomcat Team


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



Apache 2.0 + Tomcat 5.5.4 scalability

2004-12-08 Thread Dave Fetterman
Dear Tomcat users,
I'm a new tomcat user evaluating it for FreeBSD5.2.  I'm trying to ascertain 
how well Tomcat will scale from 1- to  2- and 4-proc BSD machines.  The only 
problem is, no matter how I configure workers.properties and server.xml, I 
get about the same RPS and TTLB for all setups, despite adding workers.  
I'm using mod_jk (JK-connector-1.2.6) with Apache 2.0.

One Tomcat installation uses 8001 as its primary port, the other 9009, and I 
run startup.sh and both, spawning 2 times 46 = 92 java processes.  Is there 
something fundamental about Tomcat scalability that I'm missing, or is my 
definition of worker processes off?  My server.xml is copied exactly from 
the distribution.  The important parts of the other files are below.

Many thanks,
Dave
In httpd.conf:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile /home/tomcat/conf/workers.properties
JkLogFile /home/tomcat/logs/mod_jk.log
JkLogLevel info
JkLogStampFormat [%a %b %d %H:%M:%S %Y] 
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat %w %V %T
JkMount /jsp/*.jsp router
---
In workers.properties:
# The advanced router LB worker
worker.list=router
# Define a 'local_worker' worker using ajp13
worker.worker1.port=8001
worker.worker1.host=127.0.0.1
worker.worker1.type=ajp13
worker.worker1.lbfactor=1
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
#worker.worker1.local_worker=1
# Define another 'local_worker' worker using ajp13
worker.worker2.port=9009
worker.worker2.host=127.0.0.1
worker.worker2.type=ajp13
worker.worker2.lbfactor=1
worker.worker2.socket_keepalive=1
worker.worker2.socket_timeout=300
#worker.worker2.local_worker=1
# Define the LB worker
worker.router.type=lb
worker.router.balanced_workers=worker1
#worker.router.local_worker_only=1
--
_
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement

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


[ANN] Apache Jakarta Tomcat 5.5.5-alpha Released

2004-12-03 Thread Shapira, Yoav

The Apache Jakarta Tomcat team is proud to announce the immediate
availability of Tomcat 5.5.5-alpha. This build contains numerous bug
fixes and other improvements on top of the stable 5.5.4 release.

Release notes:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES

Please refer to the change log for the list of changes:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/changelog.html

Downloads: Binaries:
http://jakarta.apache.org/site/binindex.cgi#tomcat-5.5
Sources: http://jakarta.apache.org/site/sourceindex.cgi#tomcat-5.5

The Apache Jakarta Tomcat Team




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: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released

2004-12-03 Thread Andoni
Ok, forgive my ignorance but can someone show me where there are
descriptions for the files available:
http://apache.mirrors.esat.net/jakarta/tomcat-5/v5.5.5/README.html
gives brief descriptions but I have other questions:

Do the .zip and .exe contain all the others? If not which do they contain,
just the Admin App.?

Why would I want the admin app separately? What previous versions of TC will
it run under if any?

When would I use a standalone deployer? What is it? Can I deploy from my PC
up to a server with it?

When would I use an embedded version?


If there are docs to answer these questions somewhere please point me that
way. If not I will get the info and type it up if anyone wants me to.

Thanks in advance,
Andoni.

- Original Message - 
From: Shapira, Yoav [EMAIL PROTECTED]
Newsgroups: gmane.comp.jakarta.tomcat.user,gmane.comp.jakarta.tomcat.devel
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, December 03, 2004 3:34 PM
Subject: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released



The Apache Jakarta Tomcat team is proud to announce the immediate
availability of Tomcat 5.5.5-alpha. This build contains numerous bug
fixes and other improvements on top of the stable 5.5.4 release.

Release notes:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES

Please refer to the change log for the list of changes:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/changelog.html

Downloads: Binaries:
http://jakarta.apache.org/site/binindex.cgi#tomcat-5.5
Sources: http://jakarta.apache.org/site/sourceindex.cgi#tomcat-5.5

The Apache Jakarta Tomcat Team




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: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released

2004-12-03 Thread Allistair Crossley
Hi Andoni,

The docs have sections on Deployer and Admin, not sure about Embedded. 

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

I know what you mean, and I am currently working on complete new documentation 
set for some of these missing areas (although you may find that someone says 
they are on a wiki somewhere). 

Watch this space ... did you actually want answers or were you making a point? 
;)

Allistair.

 -Original Message-
 From: Andoni [mailto:[EMAIL PROTECTED]
 Sent: 03 December 2004 16:17
 To: Tomcat Users List
 Subject: Re: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released
 
 
 Ok, forgive my ignorance but can someone show me where there are
 descriptions for the files available:
 http://apache.mirrors.esat.net/jakarta/tomcat-5/v5.5.5/README.html
 gives brief descriptions but I have other questions:
 
 Do the .zip and .exe contain all the others? If not which do 
 they contain,
 just the Admin App.?
 
 Why would I want the admin app separately? What previous 
 versions of TC will
 it run under if any?
 
 When would I use a standalone deployer? What is it? Can I 
 deploy from my PC
 up to a server with it?
 
 When would I use an embedded version?
 
 
 If there are docs to answer these questions somewhere please 
 point me that
 way. If not I will get the info and type it up if anyone wants me to.
 
 Thanks in advance,
 Andoni.
 
 - Original Message - 
 From: Shapira, Yoav [EMAIL PROTECTED]
 Newsgroups: 
 gmane.comp.jakarta.tomcat.user,gmane.comp.jakarta.tomcat.devel
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Friday, December 03, 2004 3:34 PM
 Subject: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released
 
 
 
 The Apache Jakarta Tomcat team is proud to announce the immediate
 availability of Tomcat 5.5.5-alpha. This build contains numerous bug
 fixes and other improvements on top of the stable 5.5.4 release.
 
 Release notes:
 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES
 
 Please refer to the change log for the list of changes:
 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/changelog.html
 
 Downloads: Binaries:
 http://jakarta.apache.org/site/binindex.cgi#tomcat-5.5
 Sources: http://jakarta.apache.org/site/sourceindex.cgi#tomcat-5.5
 
 The Apache Jakarta Tomcat Team
 
 
 
 
 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]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



RE: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released

2004-12-03 Thread Shapira, Yoav

Hi,

Ok, forgive my ignorance but can someone show me where there are
descriptions for the files available:
http://apache.mirrors.esat.net/jakarta/tomcat-5/v5.5.5/README.html
gives brief descriptions but I have other questions:

We intend for the description on the download pages to be sufficient.

Do the .zip and .exe contain all the others? If not which do they
contain,
just the Admin App.?

There are several .zip files: which one are you asking about?  The main
one (jakarta-tomcat-x.y.z.zip) contains Tomcat.  Others are specialized
versions and subcomponents that are probably of no interest to you as a
general user.

Why would I want the admin app separately? What previous versions of TC
will
it run under if any?

Whether you want it separately or not, we package it separately starting
with Tomcat 5.5 to reduce the download size of the main distributions.
No everyone uses the admin webapp, so not everyone should have to
download/install it.

It has nothing to do with running it on previous versions on TC.

When would I use a standalone deployer? What is it? Can I deploy from
my PC
up to a server with it?

The deployer is well-documented at
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/deployer-howto.html.
You'd use it if/when you felt like it.  It's not needed.

When would I use an embedded version?

When you're embedding Tomcat in your own application.

If there are docs to answer these questions somewhere please point me
that
way. If not I will get the info and type it up if anyone wants me to.

The majority of users will only get jakarta-tomcat-x.y.z.zip.  It
contains the Tomcat core.  If you want to install on Windows as a
service, you'd get the exe.  If you want to embed Tomcat inside your
app, you'd get the embedded zip.  If you want the Admin webapp, you'd
get its zip file and add it to whatever else you have going.  If you
want to use the deployer by itself, you'd get that zip.  We provide
.tar.gz versions of all these because there's demand for them from unix
folks, for compatibility across a wider range of platforms, and for
historical reasons.

Yoav Shapira http://www.yoavshapira.com




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: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released

2004-12-03 Thread Andoni
Hi,

I wanted answers to some bits and others were a bit of point-making.

I think Yoav has answered most of my questions though except:

Does the full standard Tomcat package contain the Deployer? I know it
doesn't contain the Admin app. but not sure about the deployer.

Glad to hear you are working on the Docs. I am always eager to help in that
area if you need any. Just let me know.

Andoni.


- Original Message - 
From: Allistair Crossley [EMAIL PROTECTED]
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Friday, December 03, 2004 4:22 PM
Subject: RE: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released


Hi Andoni,

The docs have sections on Deployer and Admin, not sure about Embedded.

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

I know what you mean, and I am currently working on complete new
documentation set for some of these missing areas (although you may find
that someone says they are on a wiki somewhere).

Watch this space ... did you actually want answers or were you making a
point? ;)

Allistair.

 -Original Message-
 From: Andoni [mailto:[EMAIL PROTECTED]
 Sent: 03 December 2004 16:17
 To: Tomcat Users List
 Subject: Re: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released


 Ok, forgive my ignorance but can someone show me where there are
 descriptions for the files available:
 http://apache.mirrors.esat.net/jakarta/tomcat-5/v5.5.5/README.html
 gives brief descriptions but I have other questions:

 Do the .zip and .exe contain all the others? If not which do
 they contain,
 just the Admin App.?

 Why would I want the admin app separately? What previous
 versions of TC will
 it run under if any?

 When would I use a standalone deployer? What is it? Can I
 deploy from my PC
 up to a server with it?

 When would I use an embedded version?


 If there are docs to answer these questions somewhere please
 point me that
 way. If not I will get the info and type it up if anyone wants me to.

 Thanks in advance,
 Andoni.

 - Original Message - 
 From: Shapira, Yoav [EMAIL PROTECTED]
 Newsgroups:
 gmane.comp.jakarta.tomcat.user,gmane.comp.jakarta.tomcat.devel
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Friday, December 03, 2004 3:34 PM
 Subject: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released



 The Apache Jakarta Tomcat team is proud to announce the immediate
 availability of Tomcat 5.5.5-alpha. This build contains numerous bug
 fixes and other improvements on top of the stable 5.5.4 release.

 Release notes:
 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES

 Please refer to the change log for the list of changes:
 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/changelog.html

 Downloads: Binaries:
 http://jakarta.apache.org/site/binindex.cgi#tomcat-5.5
 Sources: http://jakarta.apache.org/site/sourceindex.cgi#tomcat-5.5

 The Apache Jakarta Tomcat Team




 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]




FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



RE: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released

2004-12-03 Thread Allistair Crossley
when I am done I could forward you a private URL and you could see what you 
think / make changes/additions etc.. 

at the moment I have a concept and I want to get it up to scratch, then I think 
the more people the better!

i am constantly saving mails off this list now to add into the docs ;)

cheers, Allistair.

 -Original Message-
 From: Andoni [mailto:[EMAIL PROTECTED]
 Sent: 03 December 2004 16:43
 To: Tomcat Users List
 Subject: Re: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released
 
 
 Hi,
 
 I wanted answers to some bits and others were a bit of point-making.
 
 I think Yoav has answered most of my questions though except:
 
 Does the full standard Tomcat package contain the Deployer? I know it
 doesn't contain the Admin app. but not sure about the deployer.
 
 Glad to hear you are working on the Docs. I am always eager 
 to help in that
 area if you need any. Just let me know.
 
 Andoni.
 
 
 - Original Message - 
 From: Allistair Crossley [EMAIL PROTECTED]
 Newsgroups: gmane.comp.jakarta.tomcat.user
 Sent: Friday, December 03, 2004 4:22 PM
 Subject: RE: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released
 
 
 Hi Andoni,
 
 The docs have sections on Deployer and Admin, not sure about Embedded.
 
 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/index.html
 
 I know what you mean, and I am currently working on complete new
 documentation set for some of these missing areas (although 
 you may find
 that someone says they are on a wiki somewhere).
 
 Watch this space ... did you actually want answers or were 
 you making a
 point? ;)
 
 Allistair.
 
  -Original Message-
  From: Andoni [mailto:[EMAIL PROTECTED]
  Sent: 03 December 2004 16:17
  To: Tomcat Users List
  Subject: Re: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released
 
 
  Ok, forgive my ignorance but can someone show me where there are
  descriptions for the files available:
  http://apache.mirrors.esat.net/jakarta/tomcat-5/v5.5.5/README.html
  gives brief descriptions but I have other questions:
 
  Do the .zip and .exe contain all the others? If not which do
  they contain,
  just the Admin App.?
 
  Why would I want the admin app separately? What previous
  versions of TC will
  it run under if any?
 
  When would I use a standalone deployer? What is it? Can I
  deploy from my PC
  up to a server with it?
 
  When would I use an embedded version?
 
 
  If there are docs to answer these questions somewhere please
  point me that
  way. If not I will get the info and type it up if anyone 
 wants me to.
 
  Thanks in advance,
  Andoni.
 
  - Original Message - 
  From: Shapira, Yoav [EMAIL PROTECTED]
  Newsgroups:
  gmane.comp.jakarta.tomcat.user,gmane.comp.jakarta.tomcat.devel
  Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Friday, December 03, 2004 3:34 PM
  Subject: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released
 
 
 
  The Apache Jakarta Tomcat team is proud to announce the immediate
  availability of Tomcat 5.5.5-alpha. This build contains numerous bug
  fixes and other improvements on top of the stable 5.5.4 release.
 
  Release notes:
  http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES
 
  Please refer to the change log for the list of changes:
  http://jakarta.apache.org/tomcat/tomcat-5.5-doc/changelog.html
 
  Downloads: Binaries:
  http://jakarta.apache.org/site/binindex.cgi#tomcat-5.5
  Sources: http://jakarta.apache.org/site/sourceindex.cgi#tomcat-5.5
 
  The Apache Jakarta Tomcat Team
 
 
 
 
  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]
 
 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
 ---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;www.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT
 
 
 -
 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: servlet config on apache 1.3 tomcat 3.3

2004-11-26 Thread Bill Barker
Since your context is called '/servlet', the correct URL is 
http://www.example.com/servlet/servlet/HelloServlet (without a 
servlet-mapping) or http://www.example.com/servlet/servlet/helloservlet 
(with a servlet-mapping).  You probably want to change your servlet-mapping 
to have:  url-pattern/helloservlet/url-pattern.

Marek Podmaka [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Hi!

 I'm trying to set up servlet access on one virtual host using apache 
 1.3.26,
 tomcat 3.3 and mod_jk 3.3, all on debian stable. Myself I don't use jsp or
 servlets, so I'm little confused with all those java-specific terms. I was
 trying to get it to work using many howtos (found by google), but there is
 still something wrong.

 *** OK, so this is how my httpd.conf looks like:
 IfModule mod_jk.c
 # The following line is for apacheconfig - DO NOT REMOVE!
 JkWorkersFile /etc/tomcat/jk/workers.properties
 JkLogFile /usr/share/tomcat/logs/mod_jk.log
 JkLogLevel info
 JkMount /*.jsp vhosts
 JkMount /servlet/* vhosts
 /IfModule

 VirtualHost *:80
  ServerName   www.example.com
  DocumentRoot /home/web/example.com/www
 /VirtualHost


 *** File /etc/tomcat/jk/workers.properties:
 worker.list=vhosts
 worker.vhosts.port=8009
 worker.vhosts.host=localhost
 worker.vhosts.type=ajp13
 worker.vhosts.lbfactor=1
 worker.vhosts.socket_timeout=60

 *** File /etc/tomcat/apps-vhosts.xml
 ?xml version=1.0 encoding=ISO-8859-1?
 Server
Host name=www.example.com
  Context path=/servlet docBase=/home/web/example.com/www/servlet
 debug=1/
/Host
 /Server

 *** File /etc/tomcat/server.xml
 ?xml version=1.0 encoding=ISO-8859-1?
 Server
 ContextManager workDir=work 
LoaderInterceptor11  useApplicationLoader=true
  use11Loader=true /
TrustedLoader /
LogSetter name=tc_log timestamps=true
   verbosityLevel=INFORMATION  /
LogEvents enabled=false /
!-- Backward compat: read the Context declarations from 
 server.xml--
ContextXmlReader config=conf/server.xml /
!-- Separated Context --
ContextXmlReader config=conf/apps.xml /
AutoDeploy source=modules target=modules
redeploy=true /
AutoWebApp dir=modules host=DEFAULT trusted=true/
AutoDeploy source=webapps target=webapps /
AutoWebApp dir=webapps host=DEFAULT /
PolicyLoader securityManagerClass=java.lang.SecurityManager
  policyFile=conf/tomcat.policy /
SimpleMapper1 /
SessionExpirer checkInterval=60 /
!-- For development you can use randomClass=java.util.Random --
SessionIdGenerator randomClass=java.security.SecureRandom
randomFile=/dev/urandom /
LogSetter name=servlet_log
   timestamps=true
   verbosityLevel = INFORMATION
   path=logs/servlet.log
   /
LogSetter  name=JASPER_LOG
   timestamps=true
   path=logs/jasper.log
   verbosityLevel = INFORMATION  /
WebXmlReader validate=true /
ErrorHandler showDebugInfo=true /
WorkDirSetup cleanWorkDir=false /
Jdk12Interceptor /
!-- Non-standard invoker, for backward compat. ( /servlet/* ) --
InvokerInterceptor /
!-- you can add javaCompiler=jikes --
JspInterceptor keepGenerated=true
largeFile=false
useJspServlet=false
javaCompiler=jikes
/
StaticInterceptor listings=true /
ReloadInterceptor fullReload=true /
SimpleSessionStore maxActiveSessions=-1 /
AccessInterceptor /
CredentialsInterceptor /
SimpleRealm  filename=conf/users/global-users.xml /

LoadOnStartupInterceptor /
Servlet22Interceptor /
DecodeInterceptor /
SessionId cookiesFirst=true noCookies=false /

JniConnector /
Ajp13Connector port=8009 address=127.0.0.1 pools=true /
 /ContextManager
 /Server

 *** File /home/web/example.com/www/servlet/WEB-INF/web.xml
 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
 web-app
  servlet
servlet-nameHelloServlet/servlet-name
servlet-classHelloServlet/servlet-class
  /servlet
  servlet-mapping
servlet-nameHelloServlet/servlet-name
url-pattern/servlet/helloservlet/url-pattern
  /servlet-mapping
 /web-app


 OK, so tomcat and apache are running, request to
 http://www.example.com/servlet/hello.jsp is correctly processed by tomcat. 
 But
 trying to access http://www.example.com/servlet/helloservlet gives out 404
 error:
 Original request: /servlet/helloservlet
 Not found request: /servlet/helloservlet

 and I don't know why. I have file HelloServlet.class in classes subdir of
 WEB-INF. All tomcat-related logs

servlet config on apache 1.3 tomcat 3.3

2004-11-25 Thread Marek Podmaka
Hi!

I'm trying to set up servlet access on one virtual host using apache 1.3.26,
tomcat 3.3 and mod_jk 3.3, all on debian stable. Myself I don't use jsp or
servlets, so I'm little confused with all those java-specific terms. I was
trying to get it to work using many howtos (found by google), but there is
still something wrong.

*** OK, so this is how my httpd.conf looks like:
IfModule mod_jk.c
# The following line is for apacheconfig - DO NOT REMOVE!
JkWorkersFile /etc/tomcat/jk/workers.properties
JkLogFile /usr/share/tomcat/logs/mod_jk.log
JkLogLevel info
JkMount /*.jsp vhosts
JkMount /servlet/* vhosts
/IfModule

VirtualHost *:80
  ServerName   www.example.com
  DocumentRoot /home/web/example.com/www
/VirtualHost


*** File /etc/tomcat/jk/workers.properties:
worker.list=vhosts
worker.vhosts.port=8009
worker.vhosts.host=localhost
worker.vhosts.type=ajp13
worker.vhosts.lbfactor=1
worker.vhosts.socket_timeout=60

*** File /etc/tomcat/apps-vhosts.xml
?xml version=1.0 encoding=ISO-8859-1?
Server
Host name=www.example.com
  Context path=/servlet docBase=/home/web/example.com/www/servlet
debug=1/
/Host
/Server

*** File /etc/tomcat/server.xml
?xml version=1.0 encoding=ISO-8859-1?
Server
 ContextManager workDir=work 
LoaderInterceptor11  useApplicationLoader=true
  use11Loader=true /
TrustedLoader /
LogSetter name=tc_log timestamps=true
   verbosityLevel=INFORMATION  /
LogEvents enabled=false /
!-- Backward compat: read the Context declarations from server.xml--
ContextXmlReader config=conf/server.xml /
!-- Separated Context --
ContextXmlReader config=conf/apps.xml /
AutoDeploy source=modules target=modules
redeploy=true /
AutoWebApp dir=modules host=DEFAULT trusted=true/
AutoDeploy source=webapps target=webapps /
AutoWebApp dir=webapps host=DEFAULT /
PolicyLoader securityManagerClass=java.lang.SecurityManager
  policyFile=conf/tomcat.policy /
SimpleMapper1 /
SessionExpirer checkInterval=60 /
!-- For development you can use randomClass=java.util.Random --
SessionIdGenerator randomClass=java.security.SecureRandom
randomFile=/dev/urandom /
LogSetter name=servlet_log
   timestamps=true
   verbosityLevel = INFORMATION
   path=logs/servlet.log
   /
LogSetter  name=JASPER_LOG
   timestamps=true
   path=logs/jasper.log
   verbosityLevel = INFORMATION  /
WebXmlReader validate=true /
ErrorHandler showDebugInfo=true /
WorkDirSetup cleanWorkDir=false /
Jdk12Interceptor /
!-- Non-standard invoker, for backward compat. ( /servlet/* ) --
InvokerInterceptor /
!-- you can add javaCompiler=jikes --
JspInterceptor keepGenerated=true
largeFile=false
useJspServlet=false
javaCompiler=jikes
/
StaticInterceptor listings=true /
ReloadInterceptor fullReload=true /
SimpleSessionStore maxActiveSessions=-1 /
AccessInterceptor /
CredentialsInterceptor /
SimpleRealm  filename=conf/users/global-users.xml /

LoadOnStartupInterceptor /
Servlet22Interceptor /
DecodeInterceptor /
SessionId cookiesFirst=true noCookies=false /

JniConnector /
Ajp13Connector port=8009 address=127.0.0.1 pools=true /
 /ContextManager
/Server

*** File /home/web/example.com/www/servlet/WEB-INF/web.xml
?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
  servlet
servlet-nameHelloServlet/servlet-name
servlet-classHelloServlet/servlet-class
  /servlet
  servlet-mapping
servlet-nameHelloServlet/servlet-name
url-pattern/servlet/helloservlet/url-pattern
  /servlet-mapping
/web-app


OK, so tomcat and apache are running, request to
http://www.example.com/servlet/hello.jsp is correctly processed by tomcat. But
trying to access http://www.example.com/servlet/helloservlet gives out 404
error:
Original request: /servlet/helloservlet
Not found request: /servlet/helloservlet

and I don't know why. I have file HelloServlet.class in classes subdir of
WEB-INF. All tomcat-related logs are silent. I have also tried url-pattern
without the initial /servlet, but result was the same. Is there anything else I
have to configure?

   many thanks


-- 
  bYE, Marki


This message was sent using IMP, the Internet Messaging Program.

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

Re: Apache 2.0.52 Tomcat 5.5.4

2004-11-18 Thread Peter O'Reilly
Thanks for you're help but I still can't get it working yet.  I downloaded and 
compiled j2k and I think at this point it is a properties configuration issue, 
but I'm not sure.

This is the line I added to http.conf
LoadModule jk2_module modules/mod_jk2.so

From the apache error log,

[Thu Nov 18 13:03:13 2004] [notice] Apache/2.0.52 (Unix) mod_jk2/2.0.4 
configured -- resuming normal operations

So it looks like it loaded but with wrong configuration.

This is my j2.properties file,
--
# Set the desired handler list
handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default: 
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:

apr.jniModeSo=/usr/local/apache2/modules/mod_jk.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
apr.jniModeSo=inprocess
--


This is my workers.properties file, (located in the same directory as http.conf)
-
[logger]
level=DEBUG

[config:]
file=${serverRoot}/conf/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=0

# Alternate file logger
#[logger.file:0]
#level=DEBUG
#file=${serverRoot}/logs/jk2.log

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess 
servers
file=${serverRoot}/logs/jk2.shm
size=100
debug=0
disabled=0

[workerEnv:]
info=Global server options
timing=1
debug=0
# Default Native Logger (apache2 or win32 ) 
# can be overriden to a file logger, useful 
# when tracing win32 related issues
#logger=logger.file:0

[lb:lb]
info=Default load balancer.
debug=0

[lb:lb_1]
info=A second load balancer.
debug=0

[channel.socket:localhost:8009]
port=8009
host=localhost
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[channel.socket:localhost:8019]
info=A second tomcat instance. 
debug=0
tomcatId=localhost:8019
lb_factor=1
#group=lb
group:lb:lb
#group=lb_1
group:lb:lb_1
disabled=0

[channel.un:/opt/33/work/jk2.socket]
info=A second channel connecting to localhost:8019 via unix socket
tomcatId=localhost:8019
lb_factor=1
debug=0

[channel.jni:jni]
info=The jni channel, used if tomcat is started inprocess

[status:]
info=Status worker, displays runtime informations

[vm:]
info=Parameters used to load a JVM in the server process
#JVM=C:\jdk\jre\bin\hotspot\jvm.dll
classpath=${TOMCAT_HOME}/bin/tomcat-jni.jar
classpath=${TOMCAT_HOME}/server/lib/commons-logging.jar
OPT=-Dtomcat.home=${TOMCAT_HOME}
OPT=-Dcatalina.home=${TOMCAT_HOME}
OPT=-Xmx128M
#OPT=-Djava.compiler=NONE
disabled=1

[worker.jni:onStartup]
info=Command to be executed by the VM on startup. This one will start tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=start
# For Tomcat 5 use the 'stard' for startup argument
# ARG=stard
disabled=1
stdout=${serverRoot}/logs/stdout.log
stderr=${serverRoot}/logs/stderr.log

[worker.jni:onShutdown]
info=Command to be executed by the VM on shutdown. This one will stop tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=stop
disabled=1

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:


[uri:/examples]
info=Example webapp in the default context. 
context=/examples
debug=0

# POR added
[uri:/iat/*]
worker=ajp13:localhost:8009

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

[uri:/examples1/*]
info=A second webapp, this time going to the second tomcat only.
group=lb_1
debug=0

[uri:/examples/servlet/*]
info=Prefix mapping

[uri:/examples/*.jsp]
info=Extension mapping

[uri:/examples/*]
info=Map the whole webapp

[uri:/examples/servlet/HelloW]
info=Example with debug enabled.
debug=10
---

Where do you configure tomcat with the correct 'context'?
Do you know how to auto generate the properties file with 
/tomcat/bin/startup.sh -jkconf?


Thank you,
Peter





QM [EMAIL PROTECTED] wrote:

On Wed, Nov 17, 2004 at 11:23:14AM -0500, Peter O'Reilly wrote:
:  I can browse my website, www.123.com, but when I click a button the servlet 
I need to execute doesn't and I get a Apache error.  I know its a connector 
issue because I can browse www.123.com:8080/mydir and get to the site, click 
the button, and the servlet does what it's supposed.
: 
: Can someone outline the steps and file I need to configure?  I've read the 
documents and can't get this to work...

For such a question, it *really* helps for you to post the relevant
config files. In this case, those would be the mod_jk configs.

You could also be kind and explain what connector you use (jk vs jk2).

-QM

-- 

software  -- http

Apache 2.0.52 Tomcat 5.5.4

2004-11-17 Thread Peter O'Reilly
To all,

 I can browse my website, www.123.com, but when I click a button the servlet I 
need to execute doesn't and I get a Apache error.  I know its a connector issue 
because I can browse www.123.com:8080/mydir and get to the site, click the 
button, and the servlet does what it's supposed.

Can someone outline the steps and file I need to configure?  I've read the 
documents and can't get this to work...

Thanks for the help.

Jim

__
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

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



Re: Apache 2.0.52 Tomcat 5.5.4

2004-11-17 Thread QM
On Wed, Nov 17, 2004 at 11:23:14AM -0500, Peter O'Reilly wrote:
:  I can browse my website, www.123.com, but when I click a button the servlet 
I need to execute doesn't and I get a Apache error.  I know its a connector 
issue because I can browse www.123.com:8080/mydir and get to the site, click 
the button, and the servlet does what it's supposed.
: 
: Can someone outline the steps and file I need to configure?  I've read the 
documents and can't get this to work...

For such a question, it *really* helps for you to post the relevant
config files. In this case, those would be the mod_jk configs.

You could also be kind and explain what connector you use (jk vs jk2).

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: Apache 2.0.52 Tomcat 5.5.4

2004-11-17 Thread Peter O'Reilly
Her goes, 

  It's JK2

1  My httt.conf has this line,
LoadModule jk2_module modules/mod_jk2.so

2  In the same directory as the http.conf file above i have 
workers2.properties with the following entries,
*STARRT WORKERS.PROPERTIES ***
[logger]
level=DEBUG

[config:]
file=${serverRoot}/conf/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=0

# Alternate file logger
#[logger.file:0]
#level=DEBUG
#file=${serverRoot}/logs/jk2.log

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess 
servers
file=${serverRoot}/logs/jk2.shm
size=100
debug=0
disabled=0

[workerEnv:]
info=Global server options
timing=1
debug=0
# Default Native Logger (apache2 or win32 ) 
# can be overriden to a file logger, useful 
# when tracing win32 related issues
#logger=logger.file:0

[lb:lb]
info=Default load balancer.
debug=0

[lb:lb_1]
info=A second load balancer.
debug=0

[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[channel.socket:localhost:8019]
info=A second tomcat instance. 
debug=0
tomcatId=localhost:8019
lb_factor=1
#group=lb
group:lb:lb
#group=lb_1
group:lb:lb_1
disabled=0

[channel.un:/opt/33/work/jk2.socket]
info=A second channel connecting to localhost:8019 via unix socket
tomcatId=localhost:8019
lb_factor=1
debug=0

[channel.jni:jni]
info=The jni channel, used if tomcat is started inprocess

[status:]
info=Status worker, displays runtime informations

[vm:]
info=Parameters used to load a JVM in the server process
#JVM=C:\jdk\jre\bin\hotspot\jvm.dll
classpath=${TOMCAT_HOME}/bin/tomcat-jni.jar
classpath=${TOMCAT_HOME}/server/lib/commons-logging.jar
OPT=-Dtomcat.home=${TOMCAT_HOME}
OPT=-Dcatalina.home=${TOMCAT_HOME}
OPT=-Xmx128M
#OPT=-Djava.compiler=NONE
disabled=1

[worker.jni:onStartup]
info=Command to be executed by the VM on startup. This one will start tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=start
# For Tomcat 5 use the 'stard' for startup argument
# ARG=stard
disabled=1
stdout=${serverRoot}/logs/stdout.log
stderr=${serverRoot}/logs/stderr.log

[worker.jni:onShutdown]
info=Command to be executed by the VM on shutdown. This one will stop tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=stop
disabled=1

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:


[uri:/examples]
info=Example webapp in the default context. 
context=/examples
debug=0

[uri:/mydir/*]
worker=ajp13:localhost:8009

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

[uri:/examples1/*]
info=A second webapp, this time going to the second tomcat only.
group=lb_1
debug=0

[uri:/examples/servlet/*]
info=Prefix mapping

[uri:/examples/*.jsp]
info=Extension mapping

[uri:/examples/*]
info=Map the whole webapp

[uri:/examples/servlet/HelloW]
info=Example with debug enabled.
debug=10

**END WORKERS.PROPERTIES *

My apache Error_Log file is as follows,
**START APACHE ERROR_LOG***
[Wed Nov 17 21:40:19 2004] [notice] caught SIGTERM, shutting down
[Wed Nov 17 21:42:27 2004] [notice] config.update(): done logger
[Wed Nov 17 21:42:27 2004] [notice] config.update(): done config:
[Wed Nov 17 21:42:27 2004] [notice] config.update(): done uriMap:
[Wed Nov 17 21:42:27 2004] [notice] config.update(): done shm:
[Wed Nov 17 21:42:27 2004] [notice] config.update(): done workerEnv:
[Wed Nov 17 21:42:27 2004] [notice] config.update(): done lb:lb
[Wed Nov 17 21:42:27 2004] [notice] config.update(): done lb:lb_1
[Wed Nov 17 21:42:27 2004] [notice] config.update(): done 
channel.socket:localhost:8009
[Wed Nov 17 21:42:27 2004] [notice] config.update(): done ajp13:localhost:8009
[Wed Nov 17 21:42:27 2004] [notice] config.update(): done 
channel.socket:localhost:8019
[Wed Nov 17 21:42:27 2004] [notice] config.update(): done 
channel.un:/opt/33/work/jk2.socket
[Wed Nov 17 21:42:27 2004] [error] env.createBean2(): Factory error creating 
channel.jni:jni ( channel.jni, jni)
[Wed Nov 17 21:42:27 2004] [error] config.update(): Can't create channel.jni:jni
[Wed Nov 17 21:42:27 2004] [notice] config.update(): done status:
[Wed Nov 17 21:42:27 2004] [error] env.createBean2(): Factory error creating 
vm: ( vm, )
[Wed Nov 17 21:42:27 2004] [error] config.update(): Can't create vm:
[Wed Nov 17 21:42:27 2004] [error] env.createBean2(): Factory error creating 
worker.jni:onStartup ( worker.jni, onStartup)
[Wed Nov 17 21:42:27 2004] [error] config.update(): Can't create 
worker.jni:onStartup
[Wed Nov 17 21:42:27 2004] [error] env.createBean2(): Factory error creating 
worker.jni:onShutdown ( worker.jni, onShutdown)
[Wed Nov 17 21:42:27 2004] [error] config.update(): Can't create 
worker.jni:onShutdown
[Wed Nov 17 21:42:27 2004] [notice] config.update(): done uri:/jkstatus/*
[Wed Nov 17 21:42:27 2004] [notice

apache/mod_jk/tomcat/jsp-compression

2004-11-01 Thread Christoph Fischer
--
Hello,
I'm forwarding servlet-data to jsp-pages which do the
final html design. Is it enough to activate compression
in the apache-conf to compress all data coming from
tomcat or is there an additional setting in an tomcat file?
Thanks
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[ANN] Apache Jakarta Tomcat 5.5.4-alpha Released

2004-10-30 Thread Yoav Shapira
The Apache Jakarta Tomcat team is proud to announce the immediate availability
of Tomcat 5.5.4-alpha. This build contains numerous bug fixes and other
improvments, and hopefully gets us closer to the first stable 5.5 release. 

Release notes: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES 

Please refer to the change log for the list of changes:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/changelog.html 

Downloads: Binaries: http://jakarta.apache.org/site/binindex.cgi#tomcat-5.5 
Sources: http://jakarta.apache.org/site/sourceindex.cgi#tomcat-5.5 

The Apache Jakarta Tomcat Team 

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



mod_rewrite mod_proxy issues with apache and tomcat

2004-10-29 Thread Pablo
To anyone who can help,
 I currently am looking into alternative to mod_jk2 for apache and 
tomcat . Simply because of latency issues. One of the avenues that I am 
attempting is using mod_proxy and mod_rewrite.  I have followed the 
directions from this url

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html
the only difference between these directions and my implementation is 
that I have this

Location /jsp-examples
RewriteEngine On
RewriteCond %{HTTP_COOKIE}  
(^|;\s*)JSESSIONID=\w*\.(\w+)($|;)
RewriteRule (.*)
			http://${SERVERS:%2|${SERVERS:ALL}}%{REQUEST_URI}  [P,L]
RewriteRule ^.*;jsessionid=\w*\.(\w+)($|;)  
	http://${SERVERS:$1|${SERVERS:ALL}}%{REQUEST_URI}  [P,L]
RewriteRule (.*)   			 
http://${SERVERS:ALL}%{REQUEST_URI}; [P,L]
/Location


instead of what the apache how to  implements
Location /webapp
RewriteEngine On
RewriteCond %{HTTP_COOKIE}  
(^|;\s*)jsessionid=\w*\.(\w+)($|;)
RewriteRule (.*)
			http://${SERVERS:%2}%{REQUEST_URI};  [P,L]
RewriteRule ^.*;jsessionid=\w*\.(\w+)($|;)  
	http://${SERVERS:$1}%{REQUEST_URI};  [P,L]
RewriteRule (.*)
			http://${SERVERS:ALL}%{REQUEST_URI}; [P,L]
/Location

That was just a little tip that I got from a website.
I can get to the urls just fine.  For instance if I go to one off my 
apps (notice ssl)

https://sdp-webprod.phila.k12.pa.us/masterlogin/
I get there with no problem .  Should I take away the trailing slash  
and hit enter I end up with the following in my url string

http://170.235.31.19:8080/masterlogin/
Any suggestions?
-Pablo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


JK2: mapping urls from Apache to Tomcat

2004-10-25 Thread Andrzej Jan Taramina
Still hoping for some enlightenment on this

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. 

Anyone figured out a way to do such URI mapping using JK2?  Is it even 
possible?

Thanks!

Andrzej Jan Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com


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



Re: JK2: mapping urls from Apache to Tomcat

2004-10-25 Thread Lars George
Andrzej,
If you are referring to rewriting URI's before hitting the app servers 
then we do this with mod_rewrite which executes before mod_jk. So fr 
example if we have to change a legacy URI to a new one then we do this 
with a rewrite rule before even mod_jk is called. Works great for us.

HTH,
Lars George
WorldLingo
Andrzej Jan Taramina wrote:
Still hoping for some enlightenment on this
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. 

Anyone figured out a way to do such URI mapping using JK2?  Is it even 
possible?

Thanks!
Andrzej Jan Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.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]


Apache 2.0.51, Tomcat 5.0.x, mod_jk (not supported?!)

2004-10-19 Thread Lukas Bradley
Running Red Hat Fed Core 2, Apache 2.0.51, Tomcat 5.0.x.
I'm trying to configure Apache and Tomcat like I have countless times 
before.  The only mod_jk source or binary I can find is for Apache 
2.0.50.  If I try to use it with 2.0.51 it's a no-go.

Since the documentation on mod_jk2 is horrendous, and I've NEVER been 
able to properly get it to work, I really would like to continue with 
mod_jk without re-installing Apache 2.0.50.

More disturbingly, I saw this archive email:
 Should we see the works on mod_proxy and ajp support in the upcoming 
2.0.51 ?

 No, not in 2.0.51 (and to your following question of 2.0.x later
 releases, also likely no.)
http://www.mail-archive.com/[EMAIL PROTECTED]/msg22326.html

So, is mod_jk not being supported with a 2.0.51 version?
Does anyone have a better option for me?  Can anyone show me the Holy 
Grail of mod_jk2 properties file documentation?

Any other options?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache 2.0.51, Tomcat 5.0.x, mod_jk (not supported?!)

2004-10-19 Thread tomcat
Ah im in the same boat as you. Though I can get one site working well with
mod_jk2 but multiple instances are not working unless I map all extensions
using uri in workers2.properties.

How many instances are your running? 1 or multiple?  dealing with one is
very easy.

John

 Running Red Hat Fed Core 2, Apache 2.0.51, Tomcat 5.0.x.

 I'm trying to configure Apache and Tomcat like I have countless times
 before.  The only mod_jk source or binary I can find is for Apache
 2.0.50.  If I try to use it with 2.0.51 it's a no-go.

 Since the documentation on mod_jk2 is horrendous, and I've NEVER been
 able to properly get it to work, I really would like to continue with
 mod_jk without re-installing Apache 2.0.50.

 More disturbingly, I saw this archive email:

   Should we see the works on mod_proxy and ajp support in the upcoming
 2.0.51 ?
  
   No, not in 2.0.51 (and to your following question of 2.0.x later
   releases, also likely no.)
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg22326.html

 So, is mod_jk not being supported with a 2.0.51 version?

 Does anyone have a better option for me?  Can anyone show me the Holy
 Grail of mod_jk2 properties file documentation?

 Any other options?


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



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



Re: Apache 2.0.51, Tomcat 5.0.x, mod_jk (not supported?!)

2004-10-19 Thread Lukas Bradley
[EMAIL PROTECTED] wrote:
How many instances are your running? 1 or multiple?  dealing with one is
very easy.
If by instances, do you mean root processes- then 1 of each.
I am running multiple connector threads for httpd and java, but 
everything is running on the same machine.

This should be a very simple operation with JK, but it seems to be not 
supported with 2.0.51

Unless I am mistaken, and I hope I am.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache 2.0.51, Tomcat 5.0.x, mod_jk (not supported?!)

2004-10-19 Thread tomcat
Hello,

I meant multiple tomcats running on different ports on the same machine.
Im currently working on getting this working since ive gone too far to
turn back to mod_jk.

Also - I hear rumor (may be true) that mod_jk2 is no longer in dev and
focus is on pulling features from mod_jk2 to mod_jk. Kind of a twist of
the knife is you ask me.

Ive also read somewhere that mod_jk2 isnt suitable for multiple jvm hosting.

 [EMAIL PROTECTED] wrote:
 How many instances are your running? 1 or multiple?  dealing with one is
 very easy.

 If by instances, do you mean root processes- then 1 of each.

 I am running multiple connector threads for httpd and java, but
 everything is running on the same machine.

 This should be a very simple operation with JK, but it seems to be not
 supported with 2.0.51

 Unless I am mistaken, and I hope I am.


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



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



Re: Apache 2.0.51, Tomcat 5.0.x, mod_jk (not supported?!)

2004-10-19 Thread Lukas Bradley
Ive also read somewhere that mod_jk2 isnt suitable for multiple jvm hosting.
mod_jk2 is so devious, it isn't suitable for torturing your worst enemy. 
  I don't want too much of my geekdom to show, but this bad boy is 
going to be one of the horrendous programs uploaded to the Monolith in 
3001 when it returns to destroy humanity.

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


[ANN] Apache Jakarta Tomcat 5.5.3 now Beta

2004-10-18 Thread Shapira, Yoav

The Apache Jakarta Tomcat team is proud to announce that after prolonged
testing internally and externally, the 5.5.3 release is now labeled a
Beta release.  That means it's more stable and mature than previous
Alpha releases on the Tomcat 5.5 branch, and we encourage more users to
download and test it.

Please note that it is not yet a stable release.  We expect that with
the wider testing given betas, additional issues will be discovered.
These will be addressed in the coming 5.5 builds and hopefully we will
have a stable release soon.

The changelog, release notes, download locations, and other
documentation is the same as for the original 5.5.3 release
announcement:
http://jakarta.apache.org/site/news/news-2004-2ndHalf.html#20041006.1

Yoav Shapira http://www.yoavshapira.com





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: [ANN] Apache Jakarta Tomcat 5.5.3-alpha Released

2004-10-08 Thread Remy Maucherat
On Fri, 08 Oct 2004 00:08:30 -0500, Jacob Kjome [EMAIL PROTECTED] wrote:
 At 09:37 AM 10/7/2004 -0400, you wrote:
  
  Hi,
  Looking at the left-overs from my 5.5.3 build directory, it could be
  that I had a misconfigured build that resulted in the tomcat5.exe and
  tomcat5w.exe missing from the .zip.  I'll have to double-check, but it
  could be that what I said below is wrong in practice (though still
  correct in spirit).  So I guess hold on for 5.5.4 is the message anyhow
  ;)
  
 
 Hmm...   I avoid the .exe installer like the plague.  I like being able to
 simply extract Tomcat to a directory and run it.  I want to have full
 control over what it does to my system.  I don't want a .exe installer
 adding registry entries behind my back.  The .zip file is fine as it is.  I
 understand leaving out xercesImpl.jar and xml-apis.jar since the JDK comes
 with an XML parser.  That's fine.  But the JDK doesn't come with
 tomcat5.exe and tomcat5w.exe.  I can see the .tar.gz distribution not
 containing those two files since it is more meant for non-windows
 boxes.  But the .zip dist is meant for windows boxes and I will never,
 ever, use the .exe installer.  I don't see the benefit in removing the .exe
 files.  Why worry about dist file size when bandwidth is getting cheaper
 and cheaper by the day?  Ok, if this saved 10 meg, I could see it, but this
 is hardly worth worrying about.  Please leave them in the .zip distribution
 for 5.5.4 and beyond.

-1 from me.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

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



Re: [ANN] Apache Jakarta Tomcat 5.5.3-alpha Released

2004-10-08 Thread Mladen Turk
Remy Maucherat wrote:
On Fri, 08 Oct 2004 00:08:30 -0500, Jacob Kjome [EMAIL PROTECTED] wrote:
At 09:37 AM 10/7/2004 -0400, you wrote:

Hi,
Looking at the left-overs from my 5.5.3 build directory, it could be
that I had a misconfigured build that resulted in the tomcat5.exe and
tomcat5w.exe missing from the .zip.  I'll have to double-check, but it
could be that what I said below is wrong in practice (though still
correct in spirit).  So I guess hold on for 5.5.4 is the message anyhow
;)

Hmm...   I avoid the .exe installer like the plague.  I like being able to
simply extract Tomcat to a directory and run it.  I want to have full
control over what it does to my system.  I don't want a .exe installer
adding registry entries behind my back.  The .zip file is fine as it is.  I
understand leaving out xercesImpl.jar and xml-apis.jar since the JDK comes
with an XML parser.  That's fine.  But the JDK doesn't come with
tomcat5.exe and tomcat5w.exe.  I can see the .tar.gz distribution not
containing those two files since it is more meant for non-windows
boxes.  But the .zip dist is meant for windows boxes and I will never,
ever, use the .exe installer.  I don't see the benefit in removing the .exe
files.  Why worry about dist file size when bandwidth is getting cheaper
and cheaper by the day?  Ok, if this saved 10 meg, I could see it, but this
is hardly worth worrying about.  Please leave them in the .zip distribution
for 5.5.4 and beyond.

-1 from me.
Here is what I send to Yoav directly yesterday:
I think that those two should be present inside .zip file,
cause one can not install the service without them.
The tar.gz distribution doesn't need those two exe's.

Other option is to move them to separate package
(together with service.bat). Also making the same with
jsvc.gz on tar.gz distributions.

For example:
jakarta-tomcat-5.5.X-daemon.tar.gz
jsvc.tar.gz + commons-daemon.jar + deps.
jakarta-tomcat-5.5.X-daemon.zip
tomcat5.exe + tomcat5w.exe + service.bat
The problem is that you have a 'service.bat', but no way
to use it, so It's pretty confusing.
Perhaps having additional distros holding only the daemon
code would be a way to go if the modularity to that level
is needed.
Regards,
MT.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [ANN] Apache Jakarta Tomcat 5.5.3-alpha Released

2004-10-08 Thread Jacob Kjome
Quoting Mladen Turk [EMAIL PROTECTED]:

 Here is what I send to Yoav directly yesterday:

  I think that those two should be present inside .zip file,
  cause one can not install the service without them.
  The tar.gz distribution doesn't need those two exe's.
  
  Other option is to move them to separate package
  (together with service.bat). Also making the same with
  jsvc.gz on tar.gz distributions.
  
  For example:
  jakarta-tomcat-5.5.X-daemon.tar.gz
  jsvc.tar.gz + commons-daemon.jar + deps.
  jakarta-tomcat-5.5.X-daemon.zip
  tomcat5.exe + tomcat5w.exe + service.bat

 The problem is that you have a 'service.bat', but no way
 to use it, so It's pretty confusing.


Exactly my point, but better stated.

 Perhaps having additional distros holding only the daemon
 code would be a way to go if the modularity to that level
 is needed.


Fine by me.  Having service.bat there with no daemon executables is pretty
pointless.


Jake


 Regards,
 MT.





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



RE: [ANN] Apache Jakarta Tomcat 5.5.3-alpha Released

2004-10-07 Thread Shapira, Yoav

Hi,

The tomcat5.exe and tomcat5w.exe seem to be missing from 5.5.3.  They
exist
in
5.5.2.  Might need to release 5.5.4.

These are present in the .exe download only, by design.  One of our
goals with 5.5 is to reduce download size, and while these two files by
themselves aren't much, overall we've made great progress in this area.
We also hope to make it easier for new users by not including a ton of
stuff they don't necessarily need.

Regardless, 5.5.4 will be coming fairly soon, and even sooner (most
likely today) will come a one-class, non-essential hotfix to 5.5.3.

Yoav





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: [ANN] Apache Jakarta Tomcat 5.5.3-alpha Released

2004-10-07 Thread Shapira, Yoav

Hi,
Looking at the left-overs from my 5.5.3 build directory, it could be
that I had a misconfigured build that resulted in the tomcat5.exe and
tomcat5w.exe missing from the .zip.  I'll have to double-check, but it
could be that what I said below is wrong in practice (though still
correct in spirit).  So I guess hold on for 5.5.4 is the message anyhow
;)

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Shapira, Yoav
Sent: Thursday, October 07, 2004 8:27 AM
To: Tomcat Users List
Subject: RE: [ANN] Apache Jakarta Tomcat 5.5.3-alpha Released


Hi,

The tomcat5.exe and tomcat5w.exe seem to be missing from 5.5.3.  They
exist
in
5.5.2.  Might need to release 5.5.4.

These are present in the .exe download only, by design.  One of our
goals with 5.5 is to reduce download size, and while these two files by
themselves aren't much, overall we've made great progress in this area.
We also hope to make it easier for new users by not including a ton of
stuff they don't necessarily need.

Regardless, 5.5.4 will be coming fairly soon, and even sooner (most
likely today) will come a one-class, non-essential hotfix to 5.5.3.

Yoav





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]




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: [ANN] Apache Jakarta Tomcat 5.5.3-alpha Released

2004-10-07 Thread Remy Maucherat
On Thu, 7 Oct 2004 08:26:40 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote:
 
 Hi,
 
 The tomcat5.exe and tomcat5w.exe seem to be missing from 5.5.3.  They
 exist
 in
 5.5.2.  Might need to release 5.5.4.
 
 These are present in the .exe download only, by design.  One of our
 goals with 5.5 is to reduce download size, and while these two files by
 themselves aren't much, overall we've made great progress in this area.
 We also hope to make it easier for new users by not including a ton of
 stuff they don't necessarily need.

Yes, having a small download is important. However, in that case, the
idea is to have a cleaner distribution. For example, the .exe will not
include any of the scripts in bin. It will only have the two JARs and
the two .exe.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

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



  1   2   3   4   5   6   7   8   9   10   >