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]



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]



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]



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]
 



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


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]


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]



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]



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]



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

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] 

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]


Re: Apache 1.3.29 + Tomcat 5 ...IMPOSIBLE!!!

2004-08-20 Thread nyhgan
 
QM,
 
 I would like to see an article that will covers the mod_jk connector.  The link you 
posted only uses the HttpConnector.
 
 
 
nyhgan
 
 
 


QM [EMAIL PROTECTED] wrote:
To the OP: if you're upgrading from Tomcat v4 - v5, feel free to take a
gander at this:

http://www.brandxdev.net/misc/tomcat_upgrade.site

It's a little raw, but covers the Connector issue (among others).

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



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

RE: Apache 1.3.29 + Tomcat 5 ...IMPOSIBLE!!!

2004-08-12 Thread César Martínez Cabanas
But the real problem is the versions no the combination between tomcat 
a apache
I install  tomcat 4 and apache 1.3.x - and tomcat 3... and tomcat 4 and 
apache 2...

but tomcat 5 - and apache 1.3.29.
I had a problem with ajp13Connector appear in the tomcat 5's API 
but no in his jar files.WHY?


At 09.05 11/8/04, you wrote:
Hola,
Perhaps one of the links here would be useful?
http://wiki.apache.org/jakarta-tomcat/Tomcat/Links
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: César Martínez Cabanas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 11, 2004 8:59 AM
To: [EMAIL PROTECTED]
Subject: Apache 1.3.29 + Tomcat 5 ...IMPOSIBLE!!!

 Hi list

 I have been fighting with tomcat twice a days without success.
 Can you help me??
 Why doesn´t ajp13Connector exist in tomcat 5
 How can i connect Apache 1.3.29 and Tomcat 5 in debian???

 Do you know the solution

 thanks

César Martínez Cabanas

Telematics Laboratory
Center for Innovation and Services
(CIS Galicia)
Telf.:  +34 981 33 71 33 / +34 981 33 71 25
Fax: +34 981 33 71 71


-
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]
César Martínez Cabanas

Lab. de Telemática
Centro de Innovación y Servicios de Galicia
(CIS Galicia)
Telf.: 981 33 71 25 / 981 33 71 33
Fax: 981 33 71 71
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache 1.3.29 + Tomcat 5 ...IMPOSIBLE!!!

2004-08-12 Thread David Smith
1) Complete sentences and a full description would be nice.  I don't 
know about anyone else on this list, but you aren't giving me enough to 
know what's going on with your system.

2) What exactly are you looking for?  I have Apache 2.0.48, Tomcat 
5.0.25 (5.0.27 is on my list of todo's), and mod_jk2 2.0.4 (again, 2.0.6 
is on my todo list) all working with out a problem.  In the past, I've 
had Tomcat 5, Apache 1.3.2x, and mod_jk 1.2 working as well.

I'm going to make a wild guess that you're moving from Tomcat 4 to 
Tomcat 5 and what you used to do in the Connector .../ tag isn't 
working anymore.  Take a look at the server.xml that comes with the 
Tomcat 5 download.  It has a lot of comments in it about the connectors.

--David
César Martínez Cabanas wrote:
But the real problem is the versions no the combination between 
tomcat a apache
I install  tomcat 4 and apache 1.3.x - and tomcat 3... and tomcat 4 
and apache 2...

but tomcat 5 - and apache 1.3.29.
I had a problem with ajp13Connector appear in the tomcat 5's 
API but no in his jar files.WHY?


At 09.05 11/8/04, you wrote:
Hola,
Perhaps one of the links here would be useful?
http://wiki.apache.org/jakarta-tomcat/Tomcat/Links
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: César Martínez Cabanas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 11, 2004 8:59 AM
To: [EMAIL PROTECTED]
Subject: Apache 1.3.29 + Tomcat 5 ...IMPOSIBLE!!!

 Hi list

 I have been fighting with tomcat twice a days without success.
 Can you help me??
 Why doesn´t ajp13Connector exist in tomcat 5
 How can i connect Apache 1.3.29 and Tomcat 5 in debian???

 Do you know the solution

 thanks

César Martínez Cabanas

Telematics Laboratory
Center for Innovation and Services
(CIS Galicia)
Telf.:  +34 981 33 71 33 / +34 981 33 71 25
Fax: +34 981 33 71 71


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

César Martínez Cabanas

Lab. de Telemática
Centro de Innovación y Servicios de Galicia
(CIS Galicia)
Telf.: 981 33 71 25 / 981 33 71 33
Fax: 981 33 71 71
-
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 1.3.29 + Tomcat 5 ...IMPOSIBLE!!!

2004-08-12 Thread César Martínez Cabanas
1) there were other messages ... ;)
2)
Operative System: Debian
Apache : 1.3.29
Tomcat: 5.0.27
mod_jk: 1.2.x
I had installed the binaries and tomcat haven´t the ajp13Connector
now a try to install the sources
At 07.48 12/8/04, you wrote:
1) Complete sentences and a full description would be nice.  I don't know 
about anyone else on this list, but you aren't giving me enough to know 
what's going on with your system.

2) What exactly are you looking for?  I have Apache 2.0.48, Tomcat 5.0.25 
(5.0.27 is on my list of todo's), and mod_jk2 2.0.4 (again, 2.0.6 is on my 
todo list) all working with out a problem.  In the past, I've had Tomcat 
5, Apache 1.3.2x, and mod_jk 1.2 working as well.

I'm going to make a wild guess that you're moving from Tomcat 4 to Tomcat 
5 and what you used to do in the Connector .../ tag isn't working 
anymore.  Take a look at the server.xml that comes with the Tomcat 5 
download.  It has a lot of comments in it about the connectors.

--David
César Martínez Cabanas wrote:
But the real problem is the versions no the combination between 
tomcat a apache
I install  tomcat 4 and apache 1.3.x - and tomcat 3... and tomcat 4 and 
apache 2...

but tomcat 5 - and apache 1.3.29.
I had a problem with ajp13Connector appear in the tomcat 5's API 
but no in his jar files.WHY?


At 09.05 11/8/04, you wrote:
Hola,
Perhaps one of the links here would be useful?
http://wiki.apache.org/jakarta-tomcat/Tomcat/Links
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: César Martínez Cabanas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 11, 2004 8:59 AM
To: [EMAIL PROTECTED]
Subject: Apache 1.3.29 + Tomcat 5 ...IMPOSIBLE!!!

 Hi list

 I have been fighting with tomcat twice a days without success.
 Can you help me??
 Why doesn´t ajp13Connector exist in tomcat 5
 How can i connect Apache 1.3.29 and Tomcat 5 in debian???

 Do you know the solution

 thanks

César Martínez Cabanas

Telematics Laboratory
Center for Innovation and Services
(CIS Galicia)
Telf.:  +34 981 33 71 33 / +34 981 33 71 25
Fax: +34 981 33 71 71


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

César Martínez Cabanas

Lab. de Telemática
Centro de Innovación y Servicios de Galicia
(CIS Galicia)
Telf.: 981 33 71 25 / 981 33 71 33
Fax: 981 33 71 71
-
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]
César Martínez Cabanas

Lab. de Telemática
Centro de Innovación y Servicios de Galicia
(CIS Galicia)
Telf.: 981 33 71 25 / 981 33 71 33
Fax: 981 33 71 71
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache 1.3.29 + Tomcat 5 ...IMPOSIBLE!!!

2004-08-12 Thread David Smith
Have you tried defining a connector in your server.xml like this:
Connector port=8009
  address=192.168.38.247
  enableLookups=false
  redirectPort=8443
  debug=0
  protocol=AJP/1.3 /
Note the protocol spec in the last attribute.  This works for me as far 
as Tomcat config goes.

--David
César Martínez Cabanas wrote:
1) there were other messages ... ;)
2)
Operative System: Debian
Apache : 1.3.29
Tomcat: 5.0.27
mod_jk: 1.2.x
I had installed the binaries and tomcat haven´t the ajp13Connector
now a try to install the sources
At 07.48 12/8/04, you wrote:
1) Complete sentences and a full description would be nice.  I don't 
know about anyone else on this list, but you aren't giving me enough 
to know what's going on with your system.

2) What exactly are you looking for?  I have Apache 2.0.48, Tomcat 
5.0.25 (5.0.27 is on my list of todo's), and mod_jk2 2.0.4 (again, 
2.0.6 is on my todo list) all working with out a problem.  In the 
past, I've had Tomcat 5, Apache 1.3.2x, and mod_jk 1.2 working as well.

I'm going to make a wild guess that you're moving from Tomcat 4 to 
Tomcat 5 and what you used to do in the Connector .../ tag isn't 
working anymore.  Take a look at the server.xml that comes with the 
Tomcat 5 download.  It has a lot of comments in it about the connectors.

--David
César Martínez Cabanas wrote:
But the real problem is the versions no the combination between 
tomcat a apache
I install  tomcat 4 and apache 1.3.x - and tomcat 3... and tomcat 4 
and apache 2...

but tomcat 5 - and apache 1.3.29.
I had a problem with ajp13Connector appear in the tomcat 5's 
API but no in his jar files.WHY?


At 09.05 11/8/04, you wrote:
Hola,
Perhaps one of the links here would be useful?
http://wiki.apache.org/jakarta-tomcat/Tomcat/Links
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: César Martínez Cabanas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 11, 2004 8:59 AM
To: [EMAIL PROTECTED]
Subject: Apache 1.3.29 + Tomcat 5 ...IMPOSIBLE!!!

 Hi list

 I have been fighting with tomcat twice a days without 
success.
 Can you help me??
 Why doesn´t ajp13Connector exist in tomcat 5
 How can i connect Apache 1.3.29 and Tomcat 5 in debian???

 Do you know the solution

 thanks

César Martínez Cabanas

Telematics Laboratory
Center for Innovation and Services
(CIS Galicia)
Telf.:  +34 981 33 71 33 / +34 981 33 71 25
Fax: +34 981 33 71 71


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

César Martínez Cabanas

Lab. de Telemática
Centro de Innovación y Servicios de Galicia
(CIS Galicia)
Telf.: 981 33 71 25 / 981 33 71 33
Fax: 981 33 71 71
-
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]

César Martínez Cabanas

Lab. de Telemática
Centro de Innovación y Servicios de Galicia
(CIS Galicia)
Telf.: 981 33 71 25 / 981 33 71 33
Fax: 981 33 71 71
-
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 1.3.29 + Tomcat 5 ...IMPOSIBLE!!!

2004-08-12 Thread QM

To the OP: if you're upgrading from Tomcat v4 - v5, feel free to take a
gander at this:

http://www.brandxdev.net/misc/tomcat_upgrade.site

It's a little raw, but covers the Connector issue (among others).

-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 1.3.29 + Tomcat 5 ...IMPOSIBLE!!!

2004-08-11 Thread Shapira, Yoav
Hola,
Perhaps one of the links here would be useful?
http://wiki.apache.org/jakarta-tomcat/Tomcat/Links


Yoav Shapira
Millennium Research Informatics


-Original Message-
From: César Martínez Cabanas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 11, 2004 8:59 AM
To: [EMAIL PROTECTED]
Subject: Apache 1.3.29 + Tomcat 5 ...IMPOSIBLE!!!

 Hi list

 I have been fighting with tomcat twice a days without success.
 Can you help me??
 Why doesn´t ajp13Connector exist in tomcat 5
 How can i connect Apache 1.3.29 and Tomcat 5 in debian???

 Do you know the solution

 thanks

César Martínez Cabanas

Telematics Laboratory
Center for Innovation and Services
(CIS Galicia)
Telf.:  +34 981 33 71 33 / +34 981 33 71 25
Fax: +34 981 33 71 71


-
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 mod_jk - tomcat paths

2004-06-07 Thread Oliver Nautsch
hi,
I have the same problem.
Apache 1.3 - mod_jk2 - tomcat 5.0.25
Everthing works fine but I don't want to configure every webapplication 
in the workers2.properties. URL's like

http:/xxx.xxx.xxx/javawebapps/webapp1/
http:/xxx.xxx.xxx/javawebapps/webapp2/
...
http:/xxx.xxx.xxx/javawebapps/webappn/
will be fine. In the workers2.properties I wrote:
...
[uri:/javawebapps/*]
group=ajp13:localhost:8009
debug=0
disabled=0
...
In server.xml I tried this:
...
  Host name=xxx.xxx.xxx/javawebapps debug=0 appBase=jwa
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
  /Host
...
But with this I have problems with the Tomcat Admin Application. Tomcat 
throws the follwing exceptions:

...
java.lang.IllegalArgumentException: Name
'Catalina:j2eeType=WebModule,name=//localhost/javawebapps/SimpleWAR,J2EEAppl
ication=none,J2EEServer=none' is not unique
...
javax.management.InstanceNotFoundException: MBeanServer cannot find
MBean with ObjectName
Catalina:type=Loader,path=/javawebapps/SimpleWAR,host=localhost
...
I can access http://xxx.xxx.xxx/javawebapps/SimpleWAR/ and It works fine.
Does somebody have such a configuration without problems? Or is there a 
better way as the
Host name=xxx.xxx.xxx/javawebapps
and my example in workers2.properties?

Regards
Oliver Nautsch
Christoph Loibl wrote:
hi!
i have the following directory setup for a user:
~user/public_html/
~user/webapps/
~user/webapps/ROOT
~user/webapps/app1
~user/webapps/app2
apache-webserver config:
Virtualhost bla 
  
  DocumentRoot path_to_userhome/public_html
  JkMount /webapps/* myworker
  
/Virtualhost
the tomcat application root is pointing to ~user/webapps
is it possible to access all the applications by using urls like this:
http://bla/webapps/
http://bla/webapps/app2/
http://bla/webapps/app1/
http://bla/static.html - access to public_html/static.html (no tc)
- the above configuration tries to access ~user/webapps/webapps but
probably it is possible to apply some directory mapping anywhere?
regards 

christoph loibl

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


Re: apache mod_jk - tomcat paths

2004-06-07 Thread Oliver Nautsch
hi,
I have to correct one line:
...
Host name=xxx.xxx.xxx/javawebapps debug=0 appBase=javawebapps
...
Regards
Oliver Nautsch
Oliver Nautsch wrote:
hi,
I have the same problem.
Apache 1.3 - mod_jk2 - tomcat 5.0.25
Everthing works fine but I don't want to configure every webapplication 
in the workers2.properties. URL's like

http:/xxx.xxx.xxx/javawebapps/webapp1/
http:/xxx.xxx.xxx/javawebapps/webapp2/
...
http:/xxx.xxx.xxx/javawebapps/webappn/
will be fine. In the workers2.properties I wrote:
...
[uri:/javawebapps/*]
group=ajp13:localhost:8009
debug=0
disabled=0
...
In server.xml I tried this:
...
  Host name=xxx.xxx.xxx/javawebapps debug=0 appBase=jwa
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
  /Host
...
But with this I have problems with the Tomcat Admin Application. Tomcat 
throws the follwing exceptions:

...
java.lang.IllegalArgumentException: Name
'Catalina:j2eeType=WebModule,name=//localhost/javawebapps/SimpleWAR,J2EEAppl 

ication=none,J2EEServer=none' is not unique
...
javax.management.InstanceNotFoundException: MBeanServer cannot find
MBean with ObjectName
Catalina:type=Loader,path=/javawebapps/SimpleWAR,host=localhost
...
I can access http://xxx.xxx.xxx/javawebapps/SimpleWAR/ and It works fine.
Does somebody have such a configuration without problems? Or is there a 
better way as the
Host name=xxx.xxx.xxx/javawebapps
and my example in workers2.properties?

Regards
Oliver Nautsch
Christoph Loibl wrote:
hi!
i have the following directory setup for a user:
~user/public_html/
~user/webapps/
~user/webapps/ROOT
~user/webapps/app1
~user/webapps/app2
apache-webserver config:
Virtualhost bla 
  
  DocumentRoot path_to_userhome/public_html
  JkMount /webapps/* myworker
  
/Virtualhost
the tomcat application root is pointing to ~user/webapps
is it possible to access all the applications by using urls like this:
http://bla/webapps/
http://bla/webapps/app2/
http://bla/webapps/app1/
http://bla/static.html - access to public_html/static.html 
(no tc)

- the above configuration tries to access ~user/webapps/webapps but
probably it is possible to apply some directory mapping anywhere?
regards
christoph loibl

-
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, mod_jk, tomcat hungs

2004-05-12 Thread nyhgan
 
 
Exactly. I have been on this user list for months and I still haven't seen anyone 
solve the mod_jk connector issue for apache and tomcat 4.1.x or above.  Now, I switch 
back to use Tomcat3.3 instead because it runs more stable than tomcat4.x and 5.x
 
We can't wait forever like this.  Maybe some experience c++ programmers out there can 
take a look at the source code for mod_jk and see if the problem can be fix.
 
 
Galam.
 
 


Daniel Gibby [EMAIL PROTECTED] wrote:All I can say is you are not alone. Requests of 
our sort never seem to 
be answered, and we've been asking them for months.
Actually, by being answered I'm not saying that people don't post 
replies, I just mean that I don't know of anyone who has fixed this 
issue on their system.

It sure sounds like the same issue that I'm having with mod_jk2 2.0.2, 
apache 2.0.40, tomcat 4.1.30 or tomcat 4.1.27... but I can't be sure 
that it is the same issue. My bet is that most of the tomcat developers 
don't use connectors because they would rather keep things stable, and 
introducing apache into the mix just means one more point of failure.

Sorry I can't be of more help right now. I've tried using JMeter to 
reproduce my lockups, and that hasn't helped me yet.
Is there someone out there who would like to be paid to run a profiler 
on some of my applications? Please contact me off-list, and if you can 
solve my issue, I'll post the results to the list... I'm in contact with 
two or three people from this list that are having the same type of 
issues, and more requests for help come into the list weekly. We'd all 
be happy for the help.

Daniel Gibby

Beat De Martin wrote:

Hello folks
I'm using Tomcat 3.3.1, Apache 1.3.27 and mod_jk 1.2.4.
Every two days my Tomcat hungs and I have to restart it.
Before Tomcat hungs I can see the following in mod_jk.log:
 ERROR: can't receive the response message from tomcat, network problems or
tomcat is down. err=-1
 [jk_ajp_common.c (1137)]: Error reading reply from tomcat. Tomcat is down
or network problems.
 [jk_ajp_common.c (1290)]: ERROR: Receiving from tomcat failed, recoverable
operation. err=0
 [jk_ajp_common.c (1309)]: sending request to tomcat failed in send loop.
err=0

Any ideas ?
Cheers
Beat

 



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



-
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2' 

Re: apache, mod_jk, tomcat hungs

2004-05-12 Thread Beat De Martin
 Before you restart, what sort of forensics do you do? e.g.
 - check whether the Tomcat process really is unavailable
 - check network connectivity between Apache/Tomcat
 - check limits on the Tomcat and Apache processes, such as number
   of open sockets
My tomcat process is ruunig, I can access it locally.
It doesn't seem taht there are too many tomcat threads.

My workers.properties file has the following parameters:
worker.estudiodb.cachesize=200
worker.estudiodb.cache_timeout=300
worker.estudiodb.socket_keepalive=1
worker.estudiodb.socket_timeout=300

In server.xml I have:
 Ajp13Connector port=8009 tomcatAuthentication=false maxThreads=150
maxSpareThreads=50 minSpareThreads=10 /

In httpd.conf I have:
MaxRequestsPerChild 200
MaxClients 150

Are my settings bad ?
Cheers
Beat De Martin
Zürich, Switzerland

 On Tue, May 11, 2004 at 12:26:47PM +0200, Beat De Martin wrote:
 : I'm using Tomcat 3.3.1, Apache 1.3.27 and mod_jk 1.2.4.
^
 Do you have a test system on which you can try out Tomcat 4.1 or 5?
 Even if you've found a legit Tomcat 3.x bug, IIRC that product is not
 under active development...
 
 
 : Every two days my Tomcat hungs and I have to restart it.
 : Before Tomcat hungs I can see the following in mod_jk.log:
 :  ERROR: can't receive the response message from tomcat, network problems
 or
 : tomcat is down. err=-1
 :   [jk_ajp_common.c (1137)]: Error reading reply from tomcat. Tomcat is
 down
 : or network problems.
 :   [jk_ajp_common.c (1290)]: ERROR: Receiving from tomcat failed,
 recoverable
 : operation. err=0
 :  [jk_ajp_common.c (1309)]: sending request to tomcat failed in send
 loop.
 : err=0
 
 Before you restart, what sort of forensics do you do? e.g.
 - check whether the Tomcat process really is unavailable
 - check network connectivity between Apache/Tomcat
 - check limits on the Tomcat and Apache processes, such as number
   of open sockets
 
 etc., etc., etc.
 
 -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]
 

-- 
Sie haben neue Mails! - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info


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



RE: apache, mod_jk, tomcat hungs

2004-05-12 Thread Bill Bruns
At our site we are fortunate so far to NOT have this problem -
is it related to the amount of traffic on the link that has problems?
We use Apache httpd 2.0.49; Tomcat 4.1.24; mod-jk 1.2.5 all on
Solaris-sparc.
Here is a little chart of the configuration data so far from these three
examples:

Hangups seen Apache  Tomcat  mod-jk  OS
 --  --  --  --
Daniel Gibby 2.0.40  4.1.30  2.0.2   ?
Daniel Gibby 2.0.40  4.1.27  2.0.2   ?
Beat De Mart 1.3.27  3.3.1   1.2.4   ?

No Hangups (so far!)
Bill Bruns   2.0.49  4.1.24  1.2.5   Solaris-sparc

-Original Message-
From: Daniel Gibby [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 7:28 AM
To: Tomcat Users List
Subject: Re: apache, mod_jk, tomcat hungs


All I can say is you are not alone. Requests of our sort never seem to
be answered, and we've been asking them for months.
Actually, by being answered I'm not saying that people don't post
replies, I just mean that I don't know of anyone who has fixed this
issue on their system.

It sure sounds like the same issue that I'm having with mod_jk2 2.0.2,
apache 2.0.40, tomcat 4.1.30 or tomcat 4.1.27... but I can't be sure
that it is the same issue. My bet is that most of the tomcat developers
don't use connectors because they would rather keep things stable, and
introducing apache into the mix just means one more point of failure.

Sorry I can't be of more help right now. I've tried using JMeter to
reproduce my lockups, and that hasn't helped me yet.
Is there someone out there who would like to be paid to run a profiler
on some of my applications? Please contact me off-list, and if you can
solve my issue, I'll post the results to the list... I'm in contact with
two or three people from this list that are having the same type of
issues, and more requests for help come into the list weekly. We'd all
be happy for the help.

Daniel Gibby

Beat De Martin wrote:

Hello folks
I'm using Tomcat 3.3.1, Apache 1.3.27 and mod_jk 1.2.4.
Every two days my Tomcat hungs and I have to restart it.
Before Tomcat hungs I can see the following in mod_jk.log:
 ERROR: can't receive the response message from tomcat, network problems or
tomcat is down. err=-1
  [jk_ajp_common.c (1137)]: Error reading reply from tomcat. Tomcat is down
or network problems.
  [jk_ajp_common.c (1290)]: ERROR: Receiving from tomcat failed,
recoverable
operation. err=0
 [jk_ajp_common.c (1309)]: sending request to tomcat failed in send loop.
err=0

Any ideas ?
Cheers
Beat






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



Re: apache, mod_jk, tomcat hungs

2004-05-11 Thread Daniel Gibby
All I can say is you are not alone. Requests of our sort never seem to 
be answered, and we've been asking them for months.
Actually, by being answered I'm not saying that people don't post 
replies, I just mean that I don't know of anyone who has fixed this 
issue on their system.

It sure sounds like the same issue that I'm having with mod_jk2 2.0.2, 
apache 2.0.40, tomcat 4.1.30 or tomcat 4.1.27... but I can't be sure 
that it is the same issue. My bet is that most of the tomcat developers 
don't use connectors because they would rather keep things stable, and 
introducing apache into the mix just means one more point of failure.

Sorry I can't be of more help right now. I've tried using JMeter to 
reproduce my lockups, and that hasn't helped me yet.
Is there someone out there who would like to be paid to run a profiler 
on some of my applications? Please contact me off-list, and if you can 
solve my issue, I'll post the results to the list... I'm in contact with 
two or three people from this list that are having the same type of 
issues, and more requests for help come into the list weekly. We'd all 
be happy for the help.

Daniel Gibby

Beat De Martin wrote:

Hello folks
I'm using Tomcat 3.3.1, Apache 1.3.27 and mod_jk 1.2.4.
Every two days my Tomcat hungs and I have to restart it.
Before Tomcat hungs I can see the following in mod_jk.log:
ERROR: can't receive the response message from tomcat, network problems or
tomcat is down. err=-1
 [jk_ajp_common.c (1137)]: Error reading reply from tomcat. Tomcat is down
or network problems.
 [jk_ajp_common.c (1290)]: ERROR: Receiving from tomcat failed, recoverable
operation. err=0
[jk_ajp_common.c (1309)]: sending request to tomcat failed in send loop.
err=0
Any ideas ?
Cheers
Beat
 



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


Re: apache, mod_jk, tomcat hungs

2004-05-11 Thread Beat De Martin
Thank for being in te same boat ...
Do you mean restarting nightly could help getting less of these locks ?
Kind regards
Beat De Martin
Switzerland

 All I can say is you are not alone. Requests of our sort never seem to 
 be answered, and we've been asking them for months.
 Actually, by being answered I'm not saying that people don't post 
 replies, I just mean that I don't know of anyone who has fixed this 
 issue on their system.
 
 It sure sounds like the same issue that I'm having with mod_jk2 2.0.2, 
 apache 2.0.40, tomcat 4.1.30 or tomcat 4.1.27... but I can't be sure 
 that it is the same issue. My bet is that most of the tomcat developers 
 don't use connectors because they would rather keep things stable, and 
 introducing apache into the mix just means one more point of failure.
 
 Sorry I can't be of more help right now. I've tried using JMeter to 
 reproduce my lockups, and that hasn't helped me yet.
 Is there someone out there who would like to be paid to run a profiler 
 on some of my applications? Please contact me off-list, and if you can 
 solve my issue, I'll post the results to the list... I'm in contact with 
 two or three people from this list that are having the same type of 
 issues, and more requests for help come into the list weekly. We'd all 
 be happy for the help.
 
 Daniel Gibby
 
 Beat De Martin wrote:
 
 Hello folks
 I'm using Tomcat 3.3.1, Apache 1.3.27 and mod_jk 1.2.4.
 Every two days my Tomcat hungs and I have to restart it.
 Before Tomcat hungs I can see the following in mod_jk.log:
  ERROR: can't receive the response message from tomcat, network problems
 or
 tomcat is down. err=-1
   [jk_ajp_common.c (1137)]: Error reading reply from tomcat. Tomcat is
 down
 or network problems.
   [jk_ajp_common.c (1290)]: ERROR: Receiving from tomcat failed,
 recoverable
 operation. err=0
  [jk_ajp_common.c (1309)]: sending request to tomcat failed in send loop.
 err=0
 
 Any ideas ?
 Cheers
 Beat
 
   
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-- 
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl


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



Re: apache, mod_jk, tomcat hungs

2004-05-11 Thread Daniel Gibby
Well, I just started restarting nightly last night. My lockups have been 
happening less often than that, so I'm guessing that this will prevent 
further lockups, unless my site usage goes up significantly.

Daniel

Beat De Martin wrote:

Thank for being in te same boat ...
Do you mean restarting nightly could help getting less of these locks ?
Kind regards
Beat De Martin
Switzerland
 

All I can say is you are not alone. Requests of our sort never seem to 
be answered, and we've been asking them for months.
Actually, by being answered I'm not saying that people don't post 
replies, I just mean that I don't know of anyone who has fixed this 
issue on their system.

It sure sounds like the same issue that I'm having with mod_jk2 2.0.2, 
apache 2.0.40, tomcat 4.1.30 or tomcat 4.1.27... but I can't be sure 
that it is the same issue. My bet is that most of the tomcat developers 
don't use connectors because they would rather keep things stable, and 
introducing apache into the mix just means one more point of failure.

Sorry I can't be of more help right now. I've tried using JMeter to 
reproduce my lockups, and that hasn't helped me yet.
Is there someone out there who would like to be paid to run a profiler 
on some of my applications? Please contact me off-list, and if you can 
solve my issue, I'll post the results to the list... I'm in contact with 
two or three people from this list that are having the same type of 
issues, and more requests for help come into the list weekly. We'd all 
be happy for the help.

Daniel Gibby

Beat De Martin wrote:

   

Hello folks
I'm using Tomcat 3.3.1, Apache 1.3.27 and mod_jk 1.2.4.
Every two days my Tomcat hungs and I have to restart it.
Before Tomcat hungs I can see the following in mod_jk.log:
ERROR: can't receive the response message from tomcat, network problems
 

or
   

tomcat is down. err=-1
[jk_ajp_common.c (1137)]: Error reading reply from tomcat. Tomcat is
 

down
   

or network problems.
[jk_ajp_common.c (1290)]: ERROR: Receiving from tomcat failed,
 

recoverable
   

operation. err=0
[jk_ajp_common.c (1309)]: sending request to tomcat failed in send loop.
err=0
Any ideas ?
Cheers
Beat


 

-
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, mod_jk, tomcat hungs

2004-05-11 Thread QM
On Tue, May 11, 2004 at 12:26:47PM +0200, Beat De Martin wrote:
: I'm using Tomcat 3.3.1, Apache 1.3.27 and mod_jk 1.2.4.
   ^
Do you have a test system on which you can try out Tomcat 4.1 or 5?
Even if you've found a legit Tomcat 3.x bug, IIRC that product is not
under active development...


: Every two days my Tomcat hungs and I have to restart it.
: Before Tomcat hungs I can see the following in mod_jk.log:
:  ERROR: can't receive the response message from tomcat, network problems or
: tomcat is down. err=-1
:   [jk_ajp_common.c (1137)]: Error reading reply from tomcat. Tomcat is down
: or network problems.
:   [jk_ajp_common.c (1290)]: ERROR: Receiving from tomcat failed, recoverable
: operation. err=0
:  [jk_ajp_common.c (1309)]: sending request to tomcat failed in send loop.
: err=0

Before you restart, what sort of forensics do you do? e.g.
- check whether the Tomcat process really is unavailable
- check network connectivity between Apache/Tomcat
- check limits on the Tomcat and Apache processes, such as number
  of open sockets

etc., etc., etc.

-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 Tomcat 5 connector location and configuration

2004-04-05 Thread QM
On Mon, Apr 05, 2004 at 10:42:18AM -0400, Myles Moutoux wrote:
: Does anyone know where the connectors for 
: other linux platforms are located? Does anyone have a functional 
: configuration that I could use as an example.


Have you checked the archives yet?
I'm pretty sure this has been discussed recently, and at great length.

Somewhere along the lines I've seen posts that detail instructions on
how to compile jk2, configure, etc.

-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 Tomcat 5 connector location and configuration

2004-04-05 Thread Shapira, Yoav

Howdy,
http://wiki.apache.org/jakarta-tomcat/Tomcat_2fLinks
including http://www.connecties.com/cymulacrum/tomcat5/book1.html.

Maybe one of these days users will research before ranting.  One can
only hope...

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Myles Moutoux [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 10:42 AM
To: Tomcat Users List
Subject: Apache 2 Tomcat 5 connector location and configuration

I have been using both Tomcat and Apache for a couple of year now and
finding and configuring the connector continues to be the most
frustrating  thing that I have ever encountered. I am running Apache
2.0.49 and Tomcat 5.0.19 on a Suse 8.0 server. I have both Apache and
Tomcat working independently and have reached this point without any
problem. Now, I'm trying to figure out how to connect the two together.
Initially, I intended to install the binary version of the JK2 connect.
Unfortunately, the only connectors that seem to be available are for
Fedora, Suse 9, and Suse PPC. Does anyone know where the connectors for
other linux platforms are located? Does anyone have a functional
configuration that I could use as an example. I've looked at the John
Turner howto and unfortunately he hasn't look at tomcat 5 yet.

Maybe one of these days the apache and tomcat developers will begin
communicating with each other on a regular basis and develop an easy to
install and configure connector that is always up to date with the
current releases. One can only hope.


-
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: Apache 2 Tomcat 5 connector location and configuration

2004-04-05 Thread Myles Moutoux
QM wrote:

On Mon, Apr 05, 2004 at 10:42:18AM -0400, Myles Moutoux wrote:
: Does anyone know where the connectors for 
: other linux platforms are located? Does anyone have a functional 
: configuration that I could use as an example.

Have you checked the archives yet?
I'm pretty sure this has been discussed recently, and at great length.
Somewhere along the lines I've seen posts that detail instructions on
how to compile jk2, configure, etc.
-QM

 

I have checked the archives and there is nothing for tomcat 5, which is 
supposed to be the newest release. I have also seen quite a few of the 
post, but, again they all refer to prior versions and I've tried using 
the MOD_JK.so from tomcat 4.x and it doesn't seem to have the proper 
linkages for Apache 2.0.49. It errors out when you try to load it thru 
the config file.

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


RE: Apache 2 Tomcat 5 connector location and configuration

2004-04-05 Thread Hamilton, Andrew
Compile the jk2 source yourself.  Binaries available for linux do not seem
to work for most folks.  The source is easy to compile.

Drew

-Original Message-
From: Myles Moutoux [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 11:08 AM
To: Tomcat Users List
Subject: Re: Apache 2 Tomcat 5 connector location and configuration


QM wrote:

On Mon, Apr 05, 2004 at 10:42:18AM -0400, Myles Moutoux wrote:
: Does anyone know where the connectors for 
: other linux platforms are located? Does anyone have a functional 
: configuration that I could use as an example.


Have you checked the archives yet?
I'm pretty sure this has been discussed recently, and at great length.

Somewhere along the lines I've seen posts that detail instructions on
how to compile jk2, configure, etc.

-QM

  

I have checked the archives and there is nothing for tomcat 5, which is 
supposed to be the newest release. I have also seen quite a few of the 
post, but, again they all refer to prior versions and I've tried using 
the MOD_JK.so from tomcat 4.x and it doesn't seem to have the proper 
linkages for Apache 2.0.49. It errors out when you try to load it thru 
the config file.


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


Re: Apache 2 Tomcat 5 connector location and configuration

2004-04-05 Thread QM
On Mon, Apr 05, 2004 at 11:08:26AM -0400, Myles Moutoux wrote:
: I have checked the archives and there is nothing for tomcat 5, which is 
: supposed to be the newest release. I have also seen quite a few of the 
: post, but, again they all refer to prior versions and I've tried using 
: the MOD_JK.so from tomcat 4.x and it doesn't seem to have the proper 
: linkages for Apache 2.0.49. It errors out when you try to load it thru 
: the config file.


What about this?

Tomcat 5 on Linux Step-By-Step
http://cymulacrum.net/writings/tomcat5/c831.html

The compilation instructions are for RH9 but my guess it should be
the same once the prerequisite packages are installed...

-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 Tomcat 5 connector location and configuration

2004-04-05 Thread Paul Mansfield
On Mon, 2004-04-05 at 16:08, Myles Moutoux wrote:
 I have checked the archives and there is nothing for tomcat 5, which is 
 supposed to be the newest release. I have also seen quite a few of the 

I agree that tomcat5 + mod_jk2 documentation is very lacking, yes,
there's discussions on the mailing lists etc, but surely it should be
prominent on the tomcat site itself?
It was my biggest pain to get going too. I tried to rely on the official
jakarta.apache.org website and of course drew mostly blank.


Anyway, I found the following doco which helped a lot, altho' it talks
about freebsd the info is still useful

http://www.thinlizard.com/lizard/modjk2.html

then
http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat





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



RE: Apache 2 Tomcat 5 connector location and configuration

2004-04-05 Thread kwilding
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0
/src/jakarta-tomcat-connectors-jk-1.2.0-src.tar.gz

- untar it

- go to jk/native directory

- use configure :

   ./configure --with-apxs=/your/path/to/apache2/apxs

- make the stuff

   make

- copy the mod_jk.so to apache 2 module dir

   cp apache-2.0/mod_jk.so /your/path/to/apache2/modules

-  Put in httpd.conf

   LoadModule jk_module /your/path/to/apache2/modules/mod_jk.so
   JkWorkersFile /your/path/to/apache2/conf/workers.properties
   JkLogFile /your/path/to/apache2/logs/mod_jk.log
   JkLogLevelerror

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

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

I think this was the version that worked for me using apache2.0.48 and
tomcat4 and/or tomcat5
Hope this helps.
Kevan

-Original Message-
From: Myles Moutoux [mailto:[EMAIL PROTECTED] 
Sent: 05 April 2004 15:42
To: Tomcat Users List
Subject: Apache 2 Tomcat 5 connector location and configuration


I have been using both Tomcat and Apache for a couple of year now and 
finding and configuring the connector continues to be the most 
frustrating  thing that I have ever encountered. I am running Apache 
2.0.49 and Tomcat 5.0.19 on a Suse 8.0 server. I have both Apache and 
Tomcat working independently and have reached this point without any 
problem. Now, I'm trying to figure out how to connect the two together. 
Initially, I intended to install the binary version of the JK2 connect. 
Unfortunately, the only connectors that seem to be available are for 
Fedora, Suse 9, and Suse PPC. Does anyone know where the connectors for 
other linux platforms are located? Does anyone have a functional 
configuration that I could use as an example. I've looked at the John 
Turner howto and unfortunately he hasn't look at tomcat 5 yet.

Maybe one of these days the apache and tomcat developers will begin 
communicating with each other on a regular basis and develop an easy to 
install and configure connector that is always up to date with the 
current releases. One can only hope.


-
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 1.3 tomcat 5.0.19

2004-04-02 Thread mariano
On Wednesday 31 March 2004 15:14, Emerson Cargnin wrote:


Hi, I run apache 1.3 whit Tomcat 4.1 and i use mod_jk2. Its works fine. 


 Ive being researching about mod_jk and as far as I can see, the mod_jk
 was made to work with apache 2 (even that it says that it works with 1.3).

 Do I have to build mod_jk again if I use jk2

 I have read that jk1.3 would be better suited to apache 1.3...

 What's the best connector to use with apache 1.3 and tomcat 5??

 thanks

 Randy Harrison wrote:
  Galem,
 
  Mod_jk and mod_jk2 are connectors between tomcat and a standard
  webserver(apache, etc.). If you are going to use tomcat as a stanalone
  sever you don't need to connect to apache.
 
  Short answer = no.
 
  Randy Harrison
  Developer, eWatch Services
  PR Newswire
  612 243-0601 x1120
  [EMAIL PROTECTED]
 
 
 
Galam
[EMAIL PROTECTED]To:   Tomcat Users
  List [EMAIL PROTECTED]
 
cc:
 
 Subject:  RE: apache 1.3
  tomcat 5.0.19 03/17/2004 04:59
PM
Please respond to
Tomcat Users
List
 
 
 
 
 
 
  Shapira,
 
  I have a question!
 
  If I use Tomcat5 standalone in production, do I still need to configure
  the mod_jk ?  The mod_jk has been giving me too much troubles, and it
  would be really great if it is not needed in standalone enviroment.
  Thanks!
 
  Galam.
 
 
 
 
  Shapira, Yoav [EMAIL PROTECTED] wrote:
  Hi,
  Tomcat 5 can be used standalone to serve static content including
  images, yes. The same is true for tomcat 3 and 4 as well. People are
  using tomcat in production without a front-end server to handle static
  content, yes. Is there a drop in performance? Probably yes, but it
  depends on the static content, the traffic your site gets, the hardware
  and software configuration, and a host of other variables: frequently
  the drop in performance is better than the additional maintenance and
  setup costs of a separate front-end.
 
  Yoav Shapira
  Millennium Research Informatics
 
 -Original Message-
 From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 17, 2004 2:16 PM
 To: Tomcat Users List
 Subject: Re: apache 1.3 tomcat 5.0.19
 
 I have a complementary question, taht I know that i have being asked
 before, but didn't find any answer, it's related to my previous
 
  question:
 - Tomcat 5 can be used directly (in production) without apache??? For
 serving static pages and images??? I mean, there are anybody using it
 direct in production, without any drop in performance?
 
 Emerson Cargnin wrote:
 Hi all
 
 I'm migrating a tomcat 3.2.3 isntallation to version 5.
 When using 3.2.3, I used to use automatic mod_jk.conf-auto generation
 for use by apache. Does version 5 has the same feature? Or do I have
 
  to
 
 configure it by hand?? any how-to?? It's not mentioned in tomcat 5
 
  docs..
 
 I used mod_jk, is jk2 prefered There's no linux release for it
 
  and
 
 when trying to build as the readme says, the buildI doesn't work at
 
 all...
 
 I'm using suse 9 / apache 1.3 and tomcat 5.
 
 --
 Emerson Cargnin
 Analista de Sistemas
 Setor de Desenvolvimento de Sistemas - TRE-SC
 tel : (048) - 251-3700 - Ramal 3181
 
 
 -
 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]
 
 
   Do you Yahoo!?
  Yahoo! Mail - More reliable, more storage, less spam
 
 
 
 
 
  -
  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 1.3 tomcat 5.0.19

2004-04-02 Thread Emerson Cargnin
Did you had to compile the mod_jk with the apr's ??? I installed APR's 
that comes with suse dist and it keeps giving missing so's from apr. How 
did you make it work???

[EMAIL PROTECTED] wrote:
On Wednesday 31 March 2004 15:14, Emerson Cargnin wrote:

Hi, I run apache 1.3 whit Tomcat 4.1 and i use mod_jk2. Its works fine. 



Ive being researching about mod_jk and as far as I can see, the mod_jk
was made to work with apache 2 (even that it says that it works with 1.3).
Do I have to build mod_jk again if I use jk2

I have read that jk1.3 would be better suited to apache 1.3...

What's the best connector to use with apache 1.3 and tomcat 5??

thanks

Randy Harrison wrote:

Galem,

Mod_jk and mod_jk2 are connectors between tomcat and a standard
webserver(apache, etc.). If you are going to use tomcat as a stanalone
sever you don't need to connect to apache.
Short answer = no.

Randy Harrison
Developer, eWatch Services
PR Newswire
612 243-0601 x1120
[EMAIL PROTECTED]


 Galam
 [EMAIL PROTECTED]To:   Tomcat Users
List [EMAIL PROTECTED]
 cc:

  Subject:  RE: apache 1.3
tomcat 5.0.19 03/17/2004 04:59
 PM
 Please respond to
 Tomcat Users
 List




Shapira,

I have a question!

If I use Tomcat5 standalone in production, do I still need to configure
the mod_jk ?  The mod_jk has been giving me too much troubles, and it
would be really great if it is not needed in standalone enviroment.
Thanks!
Galam.



Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
Tomcat 5 can be used standalone to serve static content including
images, yes. The same is true for tomcat 3 and 4 as well. People are
using tomcat in production without a front-end server to handle static
content, yes. Is there a drop in performance? Probably yes, but it
depends on the static content, the traffic your site gets, the hardware
and software configuration, and a host of other variables: frequently
the drop in performance is better than the additional maintenance and
setup costs of a separate front-end.
Yoav Shapira
Millennium Research Informatics

-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 2:16 PM
To: Tomcat Users List
Subject: Re: apache 1.3 tomcat 5.0.19
I have a complementary question, taht I know that i have being asked
before, but didn't find any answer, it's related to my previous
question:

- Tomcat 5 can be used directly (in production) without apache??? For
serving static pages and images??? I mean, there are anybody using it
direct in production, without any drop in performance?
Emerson Cargnin wrote:

Hi all

I'm migrating a tomcat 3.2.3 isntallation to version 5.
When using 3.2.3, I used to use automatic mod_jk.conf-auto generation
for use by apache. Does version 5 has the same feature? Or do I have
to


configure it by hand?? any how-to?? It's not mentioned in tomcat 5
docs..


I used mod_jk, is jk2 prefered There's no linux release for it
and


when trying to build as the readme says, the buildI doesn't work at
all...


I'm using suse 9 / apache 1.3 and tomcat 5.
--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
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]
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam




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






--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: apache 1.3 tomcat 5.0.19

2004-03-31 Thread Emerson Cargnin
Ive being researching about mod_jk and as far as I can see, the mod_jk 
was made to work with apache 2 (even that it says that it works with 1.3).

Do I have to build mod_jk again if I use jk2

I have read that jk1.3 would be better suited to apache 1.3...

What's the best connector to use with apache 1.3 and tomcat 5??

thanks

Randy Harrison wrote:
Galem,

Mod_jk and mod_jk2 are connectors between tomcat and a standard webserver(apache, 
etc.). If you are going to use tomcat as a stanalone sever you don't
need to connect to apache.
Short answer = no.

Randy Harrison
Developer, eWatch Services
PR Newswire
612 243-0601 x1120
[EMAIL PROTECTED]
  
  Galam   
  [EMAIL PROTECTED]To:   Tomcat Users List [EMAIL PROTECTED]   
  cc:
   Subject:  RE: apache 1.3 tomcat 5.0.19 
  03/17/2004 04:59
  PM  
  Please respond to   
  Tomcat Users   
  List   
  
  



Shapira,

I have a question!

If I use Tomcat5 standalone in production, do I still need to configure the mod_jk ?  
The mod_jk has been giving me too much troubles, and it would be
really great if it is not needed in standalone enviroment. Thanks!
Galam.



Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
Tomcat 5 can be used standalone to serve static content including
images, yes. The same is true for tomcat 3 and 4 as well. People are
using tomcat in production without a front-end server to handle static
content, yes. Is there a drop in performance? Probably yes, but it
depends on the static content, the traffic your site gets, the hardware
and software configuration, and a host of other variables: frequently
the drop in performance is better than the additional maintenance and
setup costs of a separate front-end.
Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 2:16 PM
To: Tomcat Users List
Subject: Re: apache 1.3 tomcat 5.0.19
I have a complementary question, taht I know that i have being asked
before, but didn't find any answer, it's related to my previous
question:

- Tomcat 5 can be used directly (in production) without apache??? For
serving static pages and images??? I mean, there are anybody using it
direct in production, without any drop in performance?
Emerson Cargnin wrote:

Hi all

I'm migrating a tomcat 3.2.3 isntallation to version 5.
When using 3.2.3, I used to use automatic mod_jk.conf-auto generation
for use by apache. Does version 5 has the same feature? Or do I have
to

configure it by hand?? any how-to?? It's not mentioned in tomcat 5
docs..

I used mod_jk, is jk2 prefered There's no linux release for it
and

when trying to build as the readme says, the buildI doesn't work at
all...

I'm using suse 9 / apache 1.3 and tomcat 5.




--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
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

Re: apache 1.3 tomcat 5.0.19

2004-03-31 Thread Walter Truitt
Someone else may have more luck getting mod_jk to work with Tomcat 5.
I found sites that give examples to use it with Tomcat 4.1.??.  I got
that working and can add to my list of statistics.

TomcatApache   Connector   Mean
Version   Version  Connection
--
4.1.301.3.29   mod_jk  40.59

I didn't compile mod_jk2 with 1.3.29, but would guess that would be
the recommended method if you are needing to use apache 1.3.29 and
tomcat 5.0.

 -walter

From: Emerson Cargnin [EMAIL PROTECTED]
Subject: Re: apache 1.3 tomcat 5.0.19
Date: Wed, 31 Mar 2004 15:14:00 -0300

 Ive being researching about mod_jk and as far as I can see, the mod_jk 
 was made to work with apache 2 (even that it says that it works with 1.3).
 
 Do I have to build mod_jk again if I use jk2
 
 I have read that jk1.3 would be better suited to apache 1.3...
 
 What's the best connector to use with apache 1.3 and tomcat 5??
 
 thanks

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



Re: apache + 2 tomcat cluster memory problem

2004-03-28 Thread Asim Alp
Thanks Filip.  I only found the thread of mails starting March 17 with  
the title Horrible memory leak in tomcat 5.0.19  If this is indeed  
the mails you advised me to look at, here is what I found out:

Our setup differs in a way that we are using mod_jk 1.2.5 instead of  
2.0.2.  So mod_jk 1.2.5 + Tomcat 5.0.19 has a memory leak problem as  
well.  This suggests that maybe the problem is with Tomcat 5.0.19 (?)   
Appearantly someone else (Robert Kruger) had exactly the same problem  
and it was solved when they downgraded to Tomcat 5.0.18.  We cannot do  
that either because of a bug fix regarding session states in 5.0.18.  I  
don't mind using mod_jk 2.0.2 as long as it solves our problem; however  
there already seems to be a memory leak with the mod_jk 2.0.2 + tomcat  
5.0.19 combination as well.

In Robert's email, he predicts that maybe the problem is related to JMX  
registration issue described in  
http://www.mail-archive.com/[EMAIL PROTECTED]/ 
msg53035.html.  I'll reply to his email to see if it was indeed the  
problem.

What's the next step?

Thanks,

Asim

On Mar 28, 2004, at 12:39 AM, Filip Hanik ((lists)) wrote:

there was an earlier email about a mem leak in the connector for  
mod_jk,
please go through the last weeks emails and let us know what you find  
out.

Filip

-Original Message-
From: Asim Alp [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 27, 2004 7:55 PM
To: Tomcat Users List
Subject: apache + 2 tomcat cluster memory problem
Hello everyone,

I have 2 Tomcats (both 5.0.19) running on two separate machines.  One
machine also has Apache 2.0.49 installed on it for load balancing.
Apache communicates with tomcat1 thru port 11005 and tomcat2 thru
12005.  tomcat1 and Apache are on the same machine.  Apache is set to
forward /* to the load balancer (and then to Tomcats).  We have over a
hundred virtual hosts on our tomcats, so we don't want to worry about
configuring Apache virtual hosts to serve the images and all the other
files (that's why we forward /*, not just /*.jsp and /servlet/*).  Both
tomcats also have their http connector ports listening to port 8080 on
their individual machines.  We're using mod_jk_1.2.5_2.0.47.dll for
Apache to Tomcat communication...  Both our tomcats are running with
the -Xms128m -Xmx256m options.
With this configuration everything works perfect for about an hour,
then our tomcats run out of memory...
When we turn off clustering, and run a single Tomcat on port 80 (of
course by shutting down Apache Httpd), we don't have any memory
problems at all (for now, we're planning to use clustering to avoid
down time, one server is actually enough to handle all the traffic).
Does anyone have any idea why we'd run out of memory when our tomcats
are talking to Apache through mod_jk?
Thanks,

Asim

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: apache + 2 tomcat cluster memory problem

2004-03-27 Thread Filip Hanik \(lists\)
there was an earlier email about a mem leak in the connector for mod_jk,
please go through the last weeks emails and let us know what you find out.

Filip

-Original Message-
From: Asim Alp [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 27, 2004 7:55 PM
To: Tomcat Users List
Subject: apache + 2 tomcat cluster memory problem


Hello everyone,

I have 2 Tomcats (both 5.0.19) running on two separate machines.  One
machine also has Apache 2.0.49 installed on it for load balancing.
Apache communicates with tomcat1 thru port 11005 and tomcat2 thru
12005.  tomcat1 and Apache are on the same machine.  Apache is set to
forward /* to the load balancer (and then to Tomcats).  We have over a
hundred virtual hosts on our tomcats, so we don't want to worry about
configuring Apache virtual hosts to serve the images and all the other
files (that's why we forward /*, not just /*.jsp and /servlet/*).  Both
tomcats also have their http connector ports listening to port 8080 on
their individual machines.  We're using mod_jk_1.2.5_2.0.47.dll for
Apache to Tomcat communication...  Both our tomcats are running with
the -Xms128m -Xmx256m options.

With this configuration everything works perfect for about an hour,
then our tomcats run out of memory...

When we turn off clustering, and run a single Tomcat on port 80 (of
course by shutting down Apache Httpd), we don't have any memory
problems at all (for now, we're planning to use clustering to avoid
down time, one server is actually enough to handle all the traffic).

Does anyone have any idea why we'd run out of memory when our tomcats
are talking to Apache through mod_jk?

Thanks,

Asim


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004


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



RE: apache 1.3 tomcat 5.0.19

2004-03-19 Thread Steve Gums
Mine worked fine when I tried it.
Steve

-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 18, 2004 9:48 AM
To: Tomcat Users List
Subject: Re: apache 1.3 tomcat 5.0.19

a second question: may I use the same mod_jk.so I used with tomcat 3.2.3??

Emerson Cargnin wrote:
 any answer to this question
 
 Emerson Cargnin wrote:
 
 my question is: does tomcat 5 have automatic generation of 
 mod_jk.conf and if does, is it the same of 3.2.3?


 Emerson Cargnin wrote:

 for the first question, any answer? :)


 Hi all

 I'm migrating a tomcat 3.2.3 isntallation to version 5.
 When using 3.2.3, I used to use automatic mod_jk.conf-auto 
 generation for use by apache. Does version 5 has the same feature? 
 Or do I have to configure it by hand?? any how-to?? It's not 
 mentioned in tomcat 5 docs..

 I used mod_jk, is jk2 prefered There's no linux release for it 
 and when trying to build as the readme says, the build doesn't work 
 at all...

 I'm using suse 9 / apache 1.3 and tomcat 5.








 
 


-- 
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181


-
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 1.3 tomcat 5.0.19

2004-03-18 Thread Emerson Cargnin
any answer to this question

Emerson Cargnin wrote:
my question is: does tomcat 5 have automatic generation of 
mod_jk.conf and if does, is it the same of 3.2.3?

Emerson Cargnin wrote:

for the first question, any answer? :)


Hi all

I'm migrating a tomcat 3.2.3 isntallation to version 5.
When using 3.2.3, I used to use automatic mod_jk.conf-auto 
generation for use by apache. Does version 5 has the same feature? 
Or do I have to configure it by hand?? any how-to?? It's not 
mentioned in tomcat 5 docs..

I used mod_jk, is jk2 prefered There's no linux release for it 
and when trying to build as the readme says, the build doesn't work 
at all...

I'm using suse 9 / apache 1.3 and tomcat 5.










--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: apache 1.3 tomcat 5.0.19

2004-03-18 Thread Emerson Cargnin
a second question: may I use the same mod_jk.so I used with tomcat 3.2.3??

Emerson Cargnin wrote:
any answer to this question

Emerson Cargnin wrote:

my question is: does tomcat 5 have automatic generation of 
mod_jk.conf and if does, is it the same of 3.2.3?

Emerson Cargnin wrote:

for the first question, any answer? :)


Hi all

I'm migrating a tomcat 3.2.3 isntallation to version 5.
When using 3.2.3, I used to use automatic mod_jk.conf-auto 
generation for use by apache. Does version 5 has the same feature? 
Or do I have to configure it by hand?? any how-to?? It's not 
mentioned in tomcat 5 docs..

I used mod_jk, is jk2 prefered There's no linux release for it 
and when trying to build as the readme says, the build doesn't work 
at all...

I'm using suse 9 / apache 1.3 and tomcat 5.












--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: apache 1.3 tomcat 5.0.19

2004-03-18 Thread Christopher Schultz
Emerson,

a second question: may I use the same mod_jk.so I used with tomcat 3.2.3??
The configuration of mod_jk is independent of the Tomcat version. As 
long as the version of Tomcat that you are using supports mod_jk (really 
ajp13), you can use mod_jk with it (including any existing configuration).

apj13 is supported by pretty much every version of Tomcat that you can 
get your hands on.

-chris


signature.asc
Description: OpenPGP digital signature


Re: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Emerson Cargnin
I have a complementary question, taht I know that i have being asked 
before, but didn't find any answer, it's related to my previous question:

- Tomcat 5 can be used directly (in production) without apache??? For 
serving static pages and images??? I mean, there are anybody using it 
direct in production, without any drop in performance?

Emerson Cargnin wrote:
Hi all

I'm migrating a tomcat 3.2.3 isntallation to version 5.
When using 3.2.3, I used to use automatic mod_jk.conf-auto generation 
for use by apache. Does version 5 has the same feature? Or do I have to 
configure it by hand?? any how-to?? It's not mentioned in tomcat 5 docs..

I used mod_jk, is jk2 prefered There's no linux release for it and 
when trying to build as the readme says, the buildI doesn't work at all...

I'm using suse 9 / apache 1.3 and tomcat 5.




--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Shapira, Yoav

Hi,
Tomcat 5 can be used standalone to serve static content including
images, yes.  The same is true for tomcat 3 and 4 as well.  People are
using tomcat in production without a front-end server to handle static
content, yes.  Is there a drop in performance?  Probably yes, but it
depends on the static content, the traffic your site gets, the hardware
and software configuration, and a host of other variables: frequently
the drop in performance is better than the additional maintenance and
setup costs of a separate front-end.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 2:16 PM
To: Tomcat Users List
Subject: Re: apache 1.3 tomcat 5.0.19

I have a complementary question, taht I know that i have being asked
before, but didn't find any answer, it's related to my previous
question:

- Tomcat 5 can be used directly (in production) without apache??? For
serving static pages and images??? I mean, there are anybody using it
direct in production, without any drop in performance?

Emerson Cargnin wrote:
 Hi all

 I'm migrating a tomcat 3.2.3 isntallation to version 5.
 When using 3.2.3, I used to use automatic mod_jk.conf-auto generation
 for use by apache. Does version 5 has the same feature? Or do I have
to
 configure it by hand?? any how-to?? It's not mentioned in tomcat 5
docs..

 I used mod_jk, is jk2 prefered There's no linux release for it
and
 when trying to build as the readme says, the buildI doesn't work at
all...

 I'm using suse 9 / apache 1.3 and tomcat 5.




--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181


-
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: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Emerson Cargnin
for the first question, any answer? :)


Hi all

I'm migrating a tomcat 3.2.3 isntallation to version 5.
When using 3.2.3, I used to use automatic mod_jk.conf-auto generation 
for use by apache. Does version 5 has the same feature? Or do I have 
to configure it by hand?? any how-to?? It's not mentioned in tomcat 5 
docs..

I used mod_jk, is jk2 prefered There's no linux release for it and 
when trying to build as the readme says, the build doesn't work at 
all...

I'm using suse 9 / apache 1.3 and tomcat 5.






--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Emerson Cargnin
my question is: does tomcat 5 have automatic generation of 
mod_jk.conf and if does, is it the same of 3.2.3?

Emerson Cargnin wrote:
for the first question, any answer? :)


Hi all

I'm migrating a tomcat 3.2.3 isntallation to version 5.
When using 3.2.3, I used to use automatic mod_jk.conf-auto generation 
for use by apache. Does version 5 has the same feature? Or do I have 
to configure it by hand?? any how-to?? It's not mentioned in tomcat 5 
docs..

I used mod_jk, is jk2 prefered There's no linux release for it 
and when trying to build as the readme says, the build doesn't work 
at all...

I'm using suse 9 / apache 1.3 and tomcat 5.








--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Galam
Shapira,
 
I have a question! 
 
If I use Tomcat5 standalone in production, do I still need to configure the mod_jk ?  
The mod_jk has been giving me too much troubles, and it would be really great if it is 
not needed in standalone enviroment. Thanks!
 
Galam.
 
 


Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
Tomcat 5 can be used standalone to serve static content including
images, yes. The same is true for tomcat 3 and 4 as well. People are
using tomcat in production without a front-end server to handle static
content, yes. Is there a drop in performance? Probably yes, but it
depends on the static content, the traffic your site gets, the hardware
and software configuration, and a host of other variables: frequently
the drop in performance is better than the additional maintenance and
setup costs of a separate front-end.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 2:16 PM
To: Tomcat Users List
Subject: Re: apache 1.3 tomcat 5.0.19

I have a complementary question, taht I know that i have being asked
before, but didn't find any answer, it's related to my previous
question:

- Tomcat 5 can be used directly (in production) without apache??? For
serving static pages and images??? I mean, there are anybody using it
direct in production, without any drop in performance?

Emerson Cargnin wrote:
 Hi all

 I'm migrating a tomcat 3.2.3 isntallation to version 5.
 When using 3.2.3, I used to use automatic mod_jk.conf-auto generation
 for use by apache. Does version 5 has the same feature? Or do I have
to
 configure it by hand?? any how-to?? It's not mentioned in tomcat 5
docs..

 I used mod_jk, is jk2 prefered There's no linux release for it
and
 when trying to build as the readme says, the buildI doesn't work at
all...

 I'm using suse 9 / apache 1.3 and tomcat 5.




--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181


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


Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

Re: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Adrian Lanning
Nope,
you only need jk or jk2 if you are using another webserver as a front-end to
Tomcat.
Adrian Lanning

- Original Message - 
From: Galam [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 5:59 PM
Subject: RE: apache 1.3 tomcat 5.0.19


 Shapira,

 I have a question!

 If I use Tomcat5 standalone in production, do I still need to configure
the mod_jk ?  The mod_jk has been giving me too much troubles, and it would
be really great if it is not needed in standalone enviroment. Thanks!

 Galam.




 Shapira, Yoav [EMAIL PROTECTED] wrote:
 Hi,
 Tomcat 5 can be used standalone to serve static content including
 images, yes. The same is true for tomcat 3 and 4 as well. People are
 using tomcat in production without a front-end server to handle static
 content, yes. Is there a drop in performance? Probably yes, but it
 depends on the static content, the traffic your site gets, the hardware
 and software configuration, and a host of other variables: frequently
 the drop in performance is better than the additional maintenance and
 setup costs of a separate front-end.

 Yoav Shapira
 Millennium Research Informatics


 -Original Message-
 From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 17, 2004 2:16 PM
 To: Tomcat Users List
 Subject: Re: apache 1.3 tomcat 5.0.19
 
 I have a complementary question, taht I know that i have being asked
 before, but didn't find any answer, it's related to my previous
 question:
 
 - Tomcat 5 can be used directly (in production) without apache??? For
 serving static pages and images??? I mean, there are anybody using it
 direct in production, without any drop in performance?
 
 Emerson Cargnin wrote:
  Hi all
 
  I'm migrating a tomcat 3.2.3 isntallation to version 5.
  When using 3.2.3, I used to use automatic mod_jk.conf-auto generation
  for use by apache. Does version 5 has the same feature? Or do I have
 to
  configure it by hand?? any how-to?? It's not mentioned in tomcat 5
 docs..
 
  I used mod_jk, is jk2 prefered There's no linux release for it
 and
  when trying to build as the readme says, the buildI doesn't work at
 all...
 
  I'm using suse 9 / apache 1.3 and tomcat 5.
 
 
 
 
 --
 Emerson Cargnin
 Analista de Sistemas
 Setor de Desenvolvimento de Sistemas - TRE-SC
 tel : (048) - 251-3700 - Ramal 3181
 
 
 -
 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]


 Do you Yahoo!?
 Yahoo! Mail - More reliable, more storage, less spam

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



RE: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Randy Harrison


Galem,

Mod_jk and mod_jk2 are connectors between tomcat and a standard webserver(apache, 
etc.). If you are going to use tomcat as a stanalone sever you don't
need to connect to apache.

Short answer = no.

Randy Harrison
Developer, eWatch Services
PR Newswire
612 243-0601 x1120
[EMAIL PROTECTED]


   
   
  Galam
   
  [EMAIL PROTECTED]To:   Tomcat Users List [EMAIL 
PROTECTED]   
  cc: 
   
   Subject:  RE: apache 1.3 tomcat 5.0.19  
   
  03/17/2004 04:59 
   
  PM   
   
  Please respond to
   
  Tomcat Users
   
  List
   
   
   
   
   




Shapira,

I have a question!

If I use Tomcat5 standalone in production, do I still need to configure the mod_jk ?  
The mod_jk has been giving me too much troubles, and it would be
really great if it is not needed in standalone enviroment. Thanks!

Galam.




Shapira, Yoav [EMAIL PROTECTED] wrote:
Hi,
Tomcat 5 can be used standalone to serve static content including
images, yes. The same is true for tomcat 3 and 4 as well. People are
using tomcat in production without a front-end server to handle static
content, yes. Is there a drop in performance? Probably yes, but it
depends on the static content, the traffic your site gets, the hardware
and software configuration, and a host of other variables: frequently
the drop in performance is better than the additional maintenance and
setup costs of a separate front-end.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 2:16 PM
To: Tomcat Users List
Subject: Re: apache 1.3 tomcat 5.0.19

I have a complementary question, taht I know that i have being asked
before, but didn't find any answer, it's related to my previous
question:

- Tomcat 5 can be used directly (in production) without apache??? For
serving static pages and images??? I mean, there are anybody using it
direct in production, without any drop in performance?

Emerson Cargnin wrote:
 Hi all

 I'm migrating a tomcat 3.2.3 isntallation to version 5.
 When using 3.2.3, I used to use automatic mod_jk.conf-auto generation
 for use by apache. Does version 5 has the same feature? Or do I have
to
 configure it by hand?? any how-to?? It's not mentioned in tomcat 5
docs..

 I used mod_jk, is jk2 prefered There's no linux release for it
and
 when trying to build as the readme says, the buildI doesn't work at
all...

 I'm using suse 9 / apache 1.3 and tomcat 5.




--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181


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


 Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

RE: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Galam
 
Thanks everyone!
 
Another question, is it possible to use tomcat standalone to serve files from the 
virtual sites in a virtual hosting enviroment?
 
Galam.
 
 
 


Randy Harrison [EMAIL PROTECTED] wrote:

Galem,

Mod_jk and mod_jk2 are connectors between tomcat and a standard webserver(apache, 
etc.). If you are going to use tomcat as a stanalone sever you don't
need to connect to apache.

Short answer = no.

Randy Harrison
Developer, eWatch Services
PR Newswire
612 243-0601 x1120
[EMAIL PROTECTED]



Galam 

 cc: 
Subject: RE: apache 1.3 tomcat 5.0.19 
03/17/2004 04:59 
PM 
Please respond to 
Tomcat Users 
List 






Shapira,

I have a question!

If I use Tomcat5 standalone in production, do I still need to configure the mod_jk ? 
The mod_jk has been giving me too much troubles, and it would be
really great if it is not needed in standalone enviroment. Thanks!

Galam.




Shapira, Yoav wrote:
Hi,
Tomcat 5 can be used standalone to serve static content including
images, yes. The same is true for tomcat 3 and 4 as well. People are
using tomcat in production without a front-end server to handle static
content, yes. Is there a drop in performance? Probably yes, but it
depends on the static content, the traffic your site gets, the hardware
and software configuration, and a host of other variables: frequently
the drop in performance is better than the additional maintenance and
setup costs of a separate front-end.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 2:16 PM
To: Tomcat Users List
Subject: Re: apache 1.3 tomcat 5.0.19

I have a complementary question, taht I know that i have being asked
before, but didn't find any answer, it's related to my previous
question:

- Tomcat 5 can be used directly (in production) without apache??? For
serving static pages and images??? I mean, there are anybody using it
direct in production, without any drop in performance?

Emerson Cargnin wrote:
 Hi all

 I'm migrating a tomcat 3.2.3 isntallation to version 5.
 When using 3.2.3, I used to use automatic mod_jk.conf-auto generation
 for use by apache. Does version 5 has the same feature? Or do I have
to
 configure it by hand?? any how-to?? It's not mentioned in tomcat 5
docs..

 I used mod_jk, is jk2 prefered There's no linux release for it
and
 when trying to build as the readme says, the buildI doesn't work at
all...

 I'm using suse 9 / apache 1.3 and tomcat 5.




--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181


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


Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam





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


Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

Re: apache 2, tomcat 5, and ROOT application

2004-02-26 Thread Christopher Schultz
Dean,

I want apache to handle static content
and tomcat to handle servlet related
stuff (jsp, etc). I am wondering how
to specify that in httpd.conf. If I set
DocumentRoot to /home/mywebsite/webapps/ROOT/
that will work for http://mywebsite.com/ but
it will not find myapp. If I set it to
/home/mywebsite/webapps/ it can find
http://mywebsite.com/myapp, but then I don't
know how it can find the ROOT directory.
Here's what you want. For each webapp, you need JkMounts and Aliases. 
You can use VirtualHosts if you have different server names, but this 
works, too.

# Here's the root stuff
DocumentRoot/path/to/webapps/ROOT
JkMount /*.jsp  root-worker
JkMount /whatever   root-worker
# Here's the stuff for 'app1'
Alias   /app1   /path/to/webapps/app1
JkMount /app1/*.jsp app1-worker
JkMount /app1/whatever  app1-worder
You can do this for each of your applications. Just alias the base URL 
to the webapp's directory and add JkMounts.

-chris


signature.asc
Description: OpenPGP digital signature


Re: Apache 2, Tomcat 4.1, RH 9 - servlet/jsp requests return only on second hit

2004-02-10 Thread David O'Brien
At 09:18 AM 2/10/2004, Brent Parker wrote:
My Config: Redhat 9, Apache 2.0.47, mod_jk 1.2.6, Tomcat 4.1.29

It takes a second request (to port 80) to get a jsp or servlet output to
display in the browser: I type in the url (jsp or servlet) and hit Enter,
the browser (Mozilla and IE) spins indefinitely. I then highlight the
address line and hit Enter a second time, and the page will immediately
load. Restated: All servlets/jsp requests do load - but only on the second
hit (request). However, any static html page (served through apache) loads
immediately on the first hit.
I had this same problem and never could find a fix...
I reverted back to 1.2.5 of the connectors and all was fine.
-Dave
The println's I put in the jsp/servlet reveal that they are getting hit on
the first request, and they print out repeatedly (thus the browser spin)
until I make the second request.
To isolate tomcat: If I configure the server.xml, and hit the jsp/servlet
through port 8080, it serves immediately. Maybe this isn't a tomcat problem,
but since it does involve tomcat, I figured this forum would have the best
shot at an answer.
The apache (access_log, error_log), mod_jk, and catalina logs do not show
any errors. The catalina_log.*.txt shows sporadic IOException Broken pipe
errors.
Any suggestions / advice would be appreciated. I suspect I have configured
something wrong - I would be glad to forward/post my config files if it
would help. I have been writing java apps for a couple of years - some
deployed to tomcat standalone, but this is my first adventure into tomcat
connected to apache.
Thanks!!
Brent
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


David G. O'Brien
Web Services Coordinator / Systems Administrator
NACCRRA
The Nation's Network of Child Care Resource  Referral
1319 F Street NW, Suite 500
Washington, DC 20004
(202) 393-5501 ext. 113
(202) 393-1109 fax


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


RE: Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2

2004-02-08 Thread David Short
Not sure what you're asking ...

-Original Message-
From: Enrique Herrera Noya [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 07, 2004 9:12 PM
To: Tomcat Users List
Subject: Re: Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2


Filip Hanik (lists) wrote:
 downgrade to 4.1.27that should solve it :)
what???

with 4.1.29 not found ?
and with 4.1.27 found?
thank you
Enrique


P.S. i apology for my spanglish


 Filip

 -Original Message-
 From: David Short [mailto:[EMAIL PROTECTED]
 Sent: Saturday, February 07, 2004 5:37 PM
 To: 'Tomcat Users List'
 Subject: Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2


 Does anyone have Tomcat 4.1.29 running in-process with Apache 2.0.48 and
 mod_jk2 on W2K?  I keep getting the following error when I start Apache:

 [Sat Feb 07 17:30:16 2004] [notice] Parent: Created child process 3192
 [Sat Feb 07 17:30:16 2004] [notice] Child 3192: Child process is running
 security properties not found. using defaults.
 [Sat Feb 07 17:30:17 2004] [error] Can't find class
 org/apache/jk/apr/AprImpl
 java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
   at java.lang.ClassLoader.defineClass0(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.access$100(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
   at java.lang.ClassLoader.defineClass0(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.access$100(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
 [Sat Feb 07 17:30:17 2004] [error] workerEnv.initWorkers() init failed for
 worker.jni:onStartup
 [Sat Feb 07 17:30:17 2004] [error] Can't find class
 org/apache/jk/apr/AprImpl
 java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
   at java.lang.ClassLoader.defineClass0(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.access$100(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
   at java.lang.ClassLoader.defineClass0(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.access$100(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
 [Sat Feb 07 17:30:17 2004] [error] workerEnv.initWorkers() init failed for
 worker.jni:onShutdown
 [Sat Feb 07 17:30:17 2004] [error] mod_jk child init 1 0
 [Sat Feb 07 17:30:17 2004] [notice] Child 3192: Acquired the start mutex.
 [Sat Feb 07 17:30:17 2004] [notice] Child 3192: Starting 250 worker
threads.

 Here's my workers2.properties [vm:] snippet:

 [vm:]
 info=Parameters used to load a JVM in the server process

OPT=-Djava.class.path=c:/Tomcat/server/lib/tomcat-jk2.jar;c:/Tomcat/server/l

ib/tomcat-jni.jar;c:/Tomcat/server/lib/commons-logging.jar;c:/tomcat/common/

lib/jmx.jar;c:/tomcat/bin/bootstrap.jar;c:/Tomcat/server/lib

Re: Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2

2004-02-08 Thread Terry Gregory


If you have Apache/Tomcat running as a single instance or context, but not
Apache as a stand alone, can you still use httpd.conf and .htaccess to
tweak settings.  The problem I am having is that I have a servlet that
will not run on Netscape (doesn't matter what version).  It's just
treating it as a text file:

e.g.,

htmlheadtitlepublic meetingmaker calendars/titleMETA
HTTP-EQUIV=Content-Type CONTENT=text/html; charset=iso-8859-1META
NAME=Author CONTENT=Meeting Maker, Inc.META NAME=Copyright
CONTENT=2001STYLE type=text/cssA  {color : #66;}A ...











This E-mail is for the sole use of the intended recipient(s) and contains information 
which is confidential and or legally privileged.  If you are not the
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or taking of any action in reliance on the contents of this E-mail 
information may be a violation of law and is strictly prohibited.  If you are not the 
intended recipient, please notify the sender and destroy all copies of 
the original message.


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



RE: Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2

2004-02-07 Thread Filip Hanik \(lists\)
downgrade to 4.1.27that should solve it :)

Filip

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 07, 2004 5:37 PM
To: 'Tomcat Users List'
Subject: Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2


Does anyone have Tomcat 4.1.29 running in-process with Apache 2.0.48 and
mod_jk2 on W2K?  I keep getting the following error when I start Apache:

[Sat Feb 07 17:30:16 2004] [notice] Parent: Created child process 3192
[Sat Feb 07 17:30:16 2004] [notice] Child 3192: Child process is running
security properties not found. using defaults.
[Sat Feb 07 17:30:17 2004] [error] Can't find class
org/apache/jk/apr/AprImpl
java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
[Sat Feb 07 17:30:17 2004] [error] workerEnv.initWorkers() init failed for
worker.jni:onStartup
[Sat Feb 07 17:30:17 2004] [error] Can't find class
org/apache/jk/apr/AprImpl
java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
[Sat Feb 07 17:30:17 2004] [error] workerEnv.initWorkers() init failed for
worker.jni:onShutdown
[Sat Feb 07 17:30:17 2004] [error] mod_jk child init 1 0
[Sat Feb 07 17:30:17 2004] [notice] Child 3192: Acquired the start mutex.
[Sat Feb 07 17:30:17 2004] [notice] Child 3192: Starting 250 worker threads.

Here's my workers2.properties [vm:] snippet:

[vm:]
info=Parameters used to load a JVM in the server process
OPT=-Djava.class.path=c:/Tomcat/server/lib/tomcat-jk2.jar;c:/Tomcat/server/l
ib/tomcat-jni.jar;c:/Tomcat/server/lib/commons-logging.jar;c:/tomcat/common/
lib/jmx.jar;c:/tomcat/bin/bootstrap.jar;c:/Tomcat/server/lib/commons-digeste
r.jar;c:/Tomcat/server/lib/commons-beanutils.jar;c:/Tomcat/server/lib/common
s-modeler.jar;c:/Tomcat/server/lib/tomcat-util.jar;c:/Tomcat/server/lib/tomc
at-coyote.jar;c:/Tomcat/common/lib/commons-collections.jar;c:/Tomcat/common/
lib/naming-common.jar;c:/Tomcat/common/lib/servlet-api.jar;c:/Tomcat/server/

Re: Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2

2004-02-07 Thread Enrique Herrera Noya
Filip Hanik (lists) wrote:
downgrade to 4.1.27that should solve it :)
what???

with 4.1.29 not found ?
and with 4.1.27 found?
thank you
Enrique
P.S. i apology for my spanglish


Filip

-Original Message-
From: David Short [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 07, 2004 5:37 PM
To: 'Tomcat Users List'
Subject: Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2
Does anyone have Tomcat 4.1.29 running in-process with Apache 2.0.48 and
mod_jk2 on W2K?  I keep getting the following error when I start Apache:
[Sat Feb 07 17:30:16 2004] [notice] Parent: Created child process 3192
[Sat Feb 07 17:30:16 2004] [notice] Child 3192: Child process is running
security properties not found. using defaults.
[Sat Feb 07 17:30:17 2004] [error] Can't find class
org/apache/jk/apr/AprImpl
java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
[Sat Feb 07 17:30:17 2004] [error] workerEnv.initWorkers() init failed for
worker.jni:onStartup
[Sat Feb 07 17:30:17 2004] [error] Can't find class
org/apache/jk/apr/AprImpl
java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
[Sat Feb 07 17:30:17 2004] [error] workerEnv.initWorkers() init failed for
worker.jni:onShutdown
[Sat Feb 07 17:30:17 2004] [error] mod_jk child init 1 0
[Sat Feb 07 17:30:17 2004] [notice] Child 3192: Acquired the start mutex.
[Sat Feb 07 17:30:17 2004] [notice] Child 3192: Starting 250 worker threads.
Here's my workers2.properties [vm:] snippet:

[vm:]
info=Parameters used to load a JVM in the server process
OPT=-Djava.class.path=c:/Tomcat/server/lib/tomcat-jk2.jar;c:/Tomcat/server/l
ib/tomcat-jni.jar;c:/Tomcat/server/lib/commons-logging.jar;c:/tomcat/common/
lib/jmx.jar;c:/tomcat/bin/bootstrap.jar;c:/Tomcat/server/lib/commons-digeste
r.jar;c:/Tomcat/server/lib/commons-beanutils.jar;c:/Tomcat/server/lib/common
s-modeler.jar;c:/Tomcat/server/lib/tomcat-util.jar;c:/Tomcat/server/lib/tomc

RE: Apache 2.048 + Tomcat 5 + Win 2k

2004-01-19 Thread David Short
I, too, am having difficulty getting Apache 2.0.48 to load Tomcat 4.1.29
in-process.  Apache installed and runs just fine, Tomcat installed and runs
just fine on it's own (I can access the examples JSPs and servlets, etc.)
and I'm using the latest mod_jk2.dll (in the Apache2\modules directory).  I
used this link
http://www.gregoire.org/howto/Apache2_Jk2_TC4.1.x_JSDK1.4.x.html to perform
the installations.

The server.xml file is out of the box unchanged.
I added LoadModule jk2_module modules/mod_jk2.dll to the httpd.conf file
(this was the only change).


Here's my jk2.properties file:

## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# 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=/opt/apache2/modules/mod_jk2.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


Here's my workers2.properties file:

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

[logger]
level=DEBUG

[config:]
#file=${serverRoot}/conf/workers2.properties
file=c:/Apache2/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]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009

#[channel.socket:localhost:8019]
#info=A second tomcat instance.
#debug=0
#tomcatId=localhost:8019
#lb_factor=1
#group=lb
#group=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

[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
disabled=0
stdout=c:/Apache2/logs/stdout.log
stderr=c:/Apache2/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=0

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

#[uri:127.0.0.1:8003]
#info=Example virtual host. Make sure myVirtualHost is in /etc/hosts to test
it
#alias=myVirtualHost:8003

#[uri:127.0.0.1:8003/ex]
#info=Example webapp in the virtual host. It'll go to lb_1 ( i.e.
localhost:8019 )
#context=/ex
#group=lb_1

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

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

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

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

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

[uri:/examples/servlets/HelloW]
info=Exampel with debug enabled.
debug=10

Here's the Apache2\logs\error.log

[Mon Jan 19 10:53:20 2004] [notice] Parent: Created child process 2852
[Mon Jan 19 10:53:21 2004] [notice] Child 2852: Child process is running
[Mon Jan 19 10:53:21 2004] [notice] jk2_init() Found child 2852 in
scoreboard slot 0
[Mon Jan 19 10:53:21 2004] [notice] vm.init(): Jni lib: C:\Program
Files\JavaSoft\JRE\1.3.1_03\bin\hotspot\jvm.dll
[Mon Jan 19 10:53:21 2004] [notice] vm.open2() done
[Mon Jan 19 10:53:21 2004] [notice] jni.validate() class=
org/apache/jk/apr/TomcatStarter
[Mon Jan 19 10:53:21 2004] [notice] Loaded org/apache/jk/apr/TomcatStarter
[Mon Jan 19 10:53:21 2004] [error] Can't find class
org/apache/jk/apr/AprImpl
java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
 at java.lang.ClassLoader.defineClass0(Native Method)
 at 

Re: Apache 2, Tomcat 5, and JK2.

2003-11-24 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/

Any where it say tomcat 4.1 (its probbaly the same for 5)

-Tim

John Bell wrote:

Hi,

Can anyone point me to a how-to please.
 


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


Re: Apache 2, Tomcat 5, and JK2.

2003-11-24 Thread Davide Gurgone
Thanks a lot!!!

Davide Gurgone!

 http://jakarta.apache.org/tomcat/faq/

 Any where it say tomcat 4.1 (its probbaly the same for 5)

 -Tim

 John Bell wrote:
  Hi,
 
  Can anyone point me to a how-to please.


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



Re: Apache 2, Tomcat 5, and JK2.

2003-11-23 Thread John Bell
Hi,

Can anyone point me to a how-to please.

Regards,

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



Re: Apache 1.3, Tomcat 5 and Panther

2003-11-19 Thread Giuliano Gavazzi
At 9:19 am -0500 2003/11/19, Carlton Ellis wrote:
Trying to setup a development environment on my Mac running OS 10.3 
(Panther).  Everything I see refers to Tomcat 4.1 - and nothing 
quite fits.  Has anyone done this yet?  I have placed Tomcat in 
/Library/Tomcat/jwsdp-1.3 and the Apache 1.3 is as delivered with 
Panther.  http://mywebsite brings up Apache 1.3 and 
http://mywebsite:8080 brings up Web Services Developer Pack 1.3. 
The samples do work under Tomcat.

Now I just need to connect.
do you mean that you want to be able to access to servlets/jsp on 
port 80 rather than 8080? Then you need mod_jk.
I have no experience with apache 1.3 anymore... but if you look at my page on

http://www.humph.com/docs/mod_jk.html

you will find the instructions to build both mod_jk and mod_jk2, 
under apache 2.
They were written for MacOSX10.2.6, but they should work under 10.3 
(I haven't had a chanche to test the build under the GM of 10.3 yet).

Giuliano

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


Re: (Apache Tomcat) || (Tomcat with CGI Support)?

2003-09-26 Thread John Turner
I've never tried it, but change the path to c:\progra~1.

John

Lawence wrote:

Dear All,
 
I need to accomondate some old cgi scripts on my website but primarily it uses java. I am wondering which comb is better in terms of simplicity and usability. 
 
By the way, I tried to enable CGI support with Tomcat, but since the installation path of Tomcat contains white space, it complaind that c:\programs does not exist (actually it is c:\program files). Anybody had the same experience?
 
Charlie

-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search


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


RE: (Apache Tomcat) || (Tomcat with CGI Support)?

2003-09-26 Thread Wilson, Allen
I just finished configuring my Tomcat system to run CGI scripts but that
was on a Solaris system. The main thing I can point out is make sure
your JDK is up to date and if it is not be sure to read the
compatibility issues on updating from an older version to a new one.

Allen

-Original Message-
From: Lawence [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 26, 2003 3:42 PM
To: [EMAIL PROTECTED]
Subject: (Apache  Tomcat) || (Tomcat with CGI Support)?


Dear All,
 
I need to accomondate some old cgi scripts on my website but primarily
it uses java. I am wondering which comb is better in terms of simplicity
and usability. 
 
By the way, I tried to enable CGI support with Tomcat, but since the
installation path of Tomcat contains white space, it complaind that
c:\programs does not exist (actually it is c:\program files). Anybody
had the same experience?
 
Charlie


-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

Re: Apache 2, Tomcat 5, mod_jk?

2003-09-17 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/connectors.html#vs

-Tim

Vaga Bond wrote:
Hey Guys,
  I've recently setup Apache2 and Tomcat 5 separately 
and was wondering if mod_jk or mod_jk2 can be used to link the two of 
them. Secondly, what's the difference between mod_jk and mod_jk2?

Awaiting your reply.

vagabond



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


Re: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2

2003-08-14 Thread John Turner
Are either of those directories in $LD_LIBRARY_PATH?

Without JNI, what's the error message then?  My advice: get it working 
without JNI first.  If its not working either way, pounding on JNI isn't 
going to help much.

John

Pat Pomatto wrote:

I have libjvm.so under JAVA_HOME/jre/lib/i386/server and
JAVA_HOME/jre/lib/i386/client. I can't get to work without jni either.
Pat

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 05, 2003 11:00 AM
To: Tomcat Users List
Subject: Re: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2

It can't find libjvm.so.  Do you have that installed?

Alternatively, does it work without JNI?

John

Pat Pomatto wrote:


Hi,



I'm running on Linux Apache 2.0.47, Tomcat 5.0.5 and trying to use JK2


connector 2.0.2 which I built successfully. I configured the connector


with jni.  I cannot seem to get the connector to work. In my 
apache/logs/error_log the error generated is:



[Tue Aug 05 10:31:53 2003] [error] vm.init(): no jvm_dll_path, will
use 

LD_LIBRARY_PATH libjvm.so

[Tue Aug 05 10:31:53 2003] [error] Can't load native library libjvm.so
: 

libjvm.so: cannot open shared object file:

No such file or directory

[Tue Aug 05 10:31:53 2003] [error] jni.loadJvm() Error - can't load
jvm dll

[Tue Aug 05 10:31:53 2003] [error] workerEnv.initChannel() init failed


for channel.jni:jni

[Tue Aug 05 10:31:53 2003] [error] workerEnv.initWorkers() init failed


for worker.jni:onStartup

[Tue Aug 05 10:31:53 2003] [error] workerEnv.initWorkers() init failed


for worker.jni:onShutdown

[Tue Aug 05 10:31:53 2003] [error] shm.init(): No file

[Tue Aug 05 10:31:53 2003] [error] uriEnv.init() map to invalid worker


/jsp-examples/* ajp13:localhost:8009

[Tue Aug 05 10:32:05 2003] [error] mod_jk.handle() No worker for 
/jsp-examples/index.html





Any ideas? Has anyone successfully gotten jk2 connector 2.0.2 working 
with Tomcat 5?



Thanks in Advance,

Pat





-
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 2.0.47 + Tomcat 4.1.27 + OpenSSL 0.9.7b on Win2k

2003-08-14 Thread Stuart Stephen
Jay,

Try going to http://hunter.campbus.com or for an archive of stuff try
http://tor.ath.cx/~hunter/apache/. Chris aka 'Hunter' (the person behind it
all) has compiled many win32 apache servers with SSL enabled.

Hope this gets you where you want to be.

Stuart

-Original Message-
From: Jay Garala [mailto:[EMAIL PROTECTED]
Sent: 13 August 2003 23:36
To: Tomcat User (E-mail)
Subject: Apache 2.0.47 + Tomcat 4.1.27 + OpenSSL 0.9.7b on Win2k


Hello,

Has anyone tried/build a working configuration of these components
working together using JK (1)?  Does JK (1) still work with the newer stuff?
If so, how or where could i get the information?

Thanks,

Jay



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



RE: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2

2003-08-14 Thread Pat Pomatto
Hi,

I have done everything you mentioned. I also reconfigured the connector
without jni. Tomcat does not throw any errors but apache does. Apache
errors:

[Thu Aug 07 12:39:45 2003] [error] mod_jk child init 1 0
[Thu Aug 07 12:39:45 2003] [error] jk2_init() Can't find child 9981 in
scoreboard
[Thu Aug 07 12:39:45 2003] [error] mod_jk child init 1 -2

Any ideas?

Thanks,
Pat



-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 05, 2003 1:30 PM
To: Tomcat Users List
Subject: Re: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2


Are either of those directories in $LD_LIBRARY_PATH?

Without JNI, what's the error message then?  My advice: get it working 
without JNI first.  If its not working either way, pounding on JNI isn't

going to help much.

John

Pat Pomatto wrote:

 I have libjvm.so under JAVA_HOME/jre/lib/i386/server and
 JAVA_HOME/jre/lib/i386/client. I can't get to work without jni either.
 
 Pat
 
 -Original Message-
 From: John Turner [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, August 05, 2003 11:00 AM
 To: Tomcat Users List
 Subject: Re: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2
 
 
 It can't find libjvm.so.  Do you have that installed?
 
 Alternatively, does it work without JNI?
 
 John
 
 Pat Pomatto wrote:
 
 
Hi,

 

I'm running on Linux Apache 2.0.47, Tomcat 5.0.5 and trying to use JK2
 
 
connector 2.0.2 which I built successfully. I configured the connector
 
 
with jni.  I cannot seem to get the connector to work. In my 
apache/logs/error_log the error generated is:

 

[Tue Aug 05 10:31:53 2003] [error] vm.init(): no jvm_dll_path, will
 
 use 
 
LD_LIBRARY_PATH libjvm.so

[Tue Aug 05 10:31:53 2003] [error] Can't load native library libjvm.so
 
 : 
 
libjvm.so: cannot open shared object file:

 No such file or directory

[Tue Aug 05 10:31:53 2003] [error] jni.loadJvm() Error - can't load
 
 jvm dll
 
[Tue Aug 05 10:31:53 2003] [error] workerEnv.initChannel() init failed
 
 
for channel.jni:jni

[Tue Aug 05 10:31:53 2003] [error] workerEnv.initWorkers() init failed
 
 
for worker.jni:onStartup

[Tue Aug 05 10:31:53 2003] [error] workerEnv.initWorkers() init failed
 
 
for worker.jni:onShutdown

[Tue Aug 05 10:31:53 2003] [error] shm.init(): No file

[Tue Aug 05 10:31:53 2003] [error] uriEnv.init() map to invalid worker
 
 
/jsp-examples/* ajp13:localhost:8009

[Tue Aug 05 10:32:05 2003] [error] mod_jk.handle() No worker for 
/jsp-examples/index.html

 

 

Any ideas? Has anyone successfully gotten jk2 connector 2.0.2 working 
with Tomcat 5?

 

Thanks in Advance,

Pat

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



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


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



RE: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2

2003-08-09 Thread Pat Pomatto








Hi,



I have done everything you mentioned. I also reconfigured the
connector without jni. Tomcat does not throw any errors but apache does. Apache

errors:



[Thu Aug 07 12:39:45 2003] [error] mod_jk child init 1 0

[Thu Aug 07 12:39:45 2003] [error] jk2_init() Can't find child 9981 in scoreboard


[Thu Aug 07 12:39:45 2003] [error] mod_jk child init 1 -2



Any ideas?



Thanks,

Pat







-Original Message-

From: John Turner [mailto:[EMAIL PROTECTED]]


Sent: Tuesday, August 05, 2003 1:30 PM

To: Tomcat
 Users List

Subject: Re: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2





Are either of those directories in $LD_LIBRARY_PATH?



Without JNI, what's the error message then? My advice: get
it working 

without JNI first. If its not working either way, pounding
on JNI isn't



going to help much.



John



Pat Pomatto wrote:



 I have libjvm.so under JAVA_HOME/jre/lib/i386/server and


 JAVA_HOME/jre/lib/i386/client. I can't get to work
without jni either.

 

 Pat

 

 -Original Message-

 From: John Turner [mailto:[EMAIL PROTECTED]]

 Sent: Tuesday, August 05, 2003 11:00 AM

 To: Tomcat Users List

 Subject: Re: Apache 2.0.47, Tomcat 5.0.5, JK2 connector
2.0.2

 

 

 It can't find libjvm.so. Do you have that installed?

 

 Alternatively, does it work without JNI?

 

 John

 

 Pat Pomatto wrote:

 

 

Hi,



 



I'm running on Linux Apache 2.0.47, Tomcat 5.0.5 and
trying to use JK2

 

 

connector 2.0.2 which I built successfully. I
configured the connector

 

 

with jni. I cannot seem to get the connector to
work. In my

apache/logs/error_log the error generated is:



 



[Tue Aug 05 10:31:53 2003] [error] vm.init(): no jvm_dll_path,
will

 

 use

 

LD_LIBRARY_PATH libjvm.so



[Tue Aug 05 10:31:53 2003] [error] Can't load native
library libjvm.so

 

 :

 

libjvm.so: cannot open shared object file:



 No such file or directory



[Tue Aug 05 10:31:53 2003] [error] jni.loadJvm()
Error - can't load

 

 jvm dll

 

[Tue Aug 05 10:31:53 2003] [error] workerEnv.initChannel()
init failed

 

 

for channel.jni:jni



[Tue Aug 05 10:31:53 2003] [error] workerEnv.initWorkers()
init failed

 

 

for worker.jni:onStartup



[Tue Aug 05 10:31:53 2003] [error] workerEnv.initWorkers()
init failed

 

 

for worker.jni:onShutdown



[Tue Aug 05 10:31:53 2003] [error] shm.init(): No
file



[Tue Aug 05 10:31:53 2003] [error] uriEnv.init() map
to invalid worker

 

 

/jsp-examples/* ajp13:localhost:8009



[Tue Aug 05 10:32:05 2003] [error] mod_jk.handle() No
worker for

/jsp-examples/index.html



 



 



Any ideas? Has anyone successfully gotten jk2
connector 2.0.2 working

with Tomcat 5?



 



Thanks in Advance,



Pat



 

 

 

 


-

 To unsubscribe, e-mail:
[EMAIL PROTECTED]

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

 

 

 


-

 To unsubscribe, e-mail: [EMAIL PROTECTED]

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

 







-

To unsubscribe, e-mail:
[EMAIL PROTECTED]

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





-

To unsubscribe, e-mail:
[EMAIL PROTECTED]

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












RE: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2

2003-08-08 Thread Pat Pomatto

I have libjvm.so under JAVA_HOME/jre/lib/i386/server and
JAVA_HOME/jre/lib/i386/client. I can't get to work without jni either.

Pat

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 05, 2003 11:00 AM
To: Tomcat Users List
Subject: Re: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2


It can't find libjvm.so.  Do you have that installed?

Alternatively, does it work without JNI?

John

Pat Pomatto wrote:

 Hi,
 
  
 
 I'm running on Linux Apache 2.0.47, Tomcat 5.0.5 and trying to use JK2

 connector 2.0.2 which I built successfully. I configured the connector

 with jni.  I cannot seem to get the connector to work. In my 
 apache/logs/error_log the error generated is:
 
  
 
 [Tue Aug 05 10:31:53 2003] [error] vm.init(): no jvm_dll_path, will
use 
 LD_LIBRARY_PATH libjvm.so
 
 [Tue Aug 05 10:31:53 2003] [error] Can't load native library libjvm.so
: 
 libjvm.so: cannot open shared object file:
 
  No such file or directory
 
 [Tue Aug 05 10:31:53 2003] [error] jni.loadJvm() Error - can't load
jvm dll
 
 [Tue Aug 05 10:31:53 2003] [error] workerEnv.initChannel() init failed

 for channel.jni:jni
 
 [Tue Aug 05 10:31:53 2003] [error] workerEnv.initWorkers() init failed

 for worker.jni:onStartup
 
 [Tue Aug 05 10:31:53 2003] [error] workerEnv.initWorkers() init failed

 for worker.jni:onShutdown
 
 [Tue Aug 05 10:31:53 2003] [error] shm.init(): No file
 
 [Tue Aug 05 10:31:53 2003] [error] uriEnv.init() map to invalid worker

 /jsp-examples/* ajp13:localhost:8009
 
 [Tue Aug 05 10:32:05 2003] [error] mod_jk.handle() No worker for 
 /jsp-examples/index.html
 
  
 
  
 
 Any ideas? Has anyone successfully gotten jk2 connector 2.0.2 working 
 with Tomcat 5?
 
  
 
 Thanks in Advance,
 
 Pat
 



-
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.47, Tomcat 5.0.5, JK2 connector 2.0.2

2003-08-06 Thread John Turner
It can't find libjvm.so.  Do you have that installed?

Alternatively, does it work without JNI?

John

Pat Pomatto wrote:

Hi,

 

Im running on Linux Apache 2.0.47, Tomcat 5.0.5 and trying to use JK2 
connector 2.0.2 which I built successfully. I configured the connector 
with jni.  I cannot seem to get the connector to work. In my 
apache/logs/error_log the error generated is:

 

[Tue Aug 05 10:31:53 2003] [error] vm.init(): no jvm_dll_path, will use 
LD_LIBRARY_PATH libjvm.so

[Tue Aug 05 10:31:53 2003] [error] Can't load native library libjvm.so : 
libjvm.so: cannot open shared object file:

 No such file or directory

[Tue Aug 05 10:31:53 2003] [error] jni.loadJvm() Error - can't load jvm dll

[Tue Aug 05 10:31:53 2003] [error] workerEnv.initChannel() init failed 
for channel.jni:jni

[Tue Aug 05 10:31:53 2003] [error] workerEnv.initWorkers() init failed 
for worker.jni:onStartup

[Tue Aug 05 10:31:53 2003] [error] workerEnv.initWorkers() init failed 
for worker.jni:onShutdown

[Tue Aug 05 10:31:53 2003] [error] shm.init(): No file

[Tue Aug 05 10:31:53 2003] [error] uriEnv.init() map to invalid worker 
/jsp-examples/* ajp13:localhost:8009

[Tue Aug 05 10:32:05 2003] [error] mod_jk.handle() No worker for 
/jsp-examples/index.html

 

 

Any ideas? Has anyone successfully gotten jk2 connector 2.0.2 working 
with Tomcat 5?

 

Thanks in Advance,

Pat



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


Re: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2

2003-08-05 Thread Eric J. Pinnell
Hi,

I have gotten Tomcat 5.0.4/Apache 2.0.47/JK2 2.0.2 working on a Solaris 7
box.  I set it up just like you would set it up in the FAQs.

My comment echos John's advice.  Forget the jni and just stick to TCP
sockets.

-e

On Tue, 5 Aug 2003, Pat Pomatto wrote:

 Hi,



 I'm running on Linux Apache 2.0.47, Tomcat 5.0.5 and trying to use JK2
 connector 2.0.2 which I built successfully. I configured the connector
 with jni.  I cannot seem to get the connector to work. In my
 apache/logs/error_log the error generated is:



 [Tue Aug 05 10:31:53 2003] [error] vm.init(): no jvm_dll_path, will use
 LD_LIBRARY_PATH libjvm.so

 [Tue Aug 05 10:31:53 2003] [error] Can't load native library libjvm.so :
 libjvm.so: cannot open shared object file:

  No such file or directory

 [Tue Aug 05 10:31:53 2003] [error] jni.loadJvm() Error - can't load jvm
 dll

 [Tue Aug 05 10:31:53 2003] [error] workerEnv.initChannel() init failed
 for channel.jni:jni

 [Tue Aug 05 10:31:53 2003] [error] workerEnv.initWorkers() init failed
 for worker.jni:onStartup

 [Tue Aug 05 10:31:53 2003] [error] workerEnv.initWorkers() init failed
 for worker.jni:onShutdown

 [Tue Aug 05 10:31:53 2003] [error] shm.init(): No file

 [Tue Aug 05 10:31:53 2003] [error] uriEnv.init() map to invalid worker
 /jsp-examples/* ajp13:localhost:8009

 [Tue Aug 05 10:32:05 2003] [error] mod_jk.handle() No worker for
 /jsp-examples/index.html





 Any ideas? Has anyone successfully gotten jk2 connector 2.0.2 working
 with Tomcat 5?



 Thanks in Advance,

 Pat



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



Re: Apache 1.3.27, Tomcat 4.1 mod_jk, not working

2003-07-17 Thread John Turner
A Tomcat 404 generally means there is no Context configured in server.xml 
to match the request.  In your case, it would typically mean that you're 
missing something like:

Context path=/webapp docBase=webapp
/Context
John

On Wed, 16 Jul 2003 19:57:16 -0700, Bongrip [EMAIL PROTECTED] wrote:

Simon Pabst wrote:
Since the 404 comes from Tomcat, Apache/mod_jk should be working.

Can you call the jsp over Tomcat's HTTP Connector (port 8080)?
like this http://localhost:8080/myapp/index.jsp
instead of http://localhost/myapp/index.jsp


Are there any errors in tomcat/logs/catalina.out or


snip

Oh my god, just shoot me. When I copied the test.jsp file I put it in 
$TOMCAT_HOME/webapps/test.jsp instead of 
$TOMCAT_HOME/webapps/ROOT/test.jsp.

That works now. However one final problem, I am sure it is a 
configuration error.

First, I created and alias under apache as so:
Alias /webapp/ /usr/local/tomcat/webapps/ROOT/
Directory /usr/local/tomcat/webapps/ROOT
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
/Directory
Second, I added a JkMount to httpd.conf file as so:
JkMount /webapp/*.jsp   worker1
So why do I get a 404 with this URL:
http://www.mydomain.com/webapp/test.jsp
The 404 error I get comes from Tomcat.

Thanks for all the help,
CC
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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


RE: Apache 1.3.27, Tomcat 4.1 mod_jk, not working

2003-07-16 Thread Ruchi Dayal
Try using the AJP13 connector in http.conf instead of the Coyote/AJP13
connector.
Also, comment out tomcat-standalone. i.e. comment out where Coyote
starts on port 80.

Hope this helps.

-Ruchi


-Original Message-
From: Bongrip [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 16, 2003 3:51 PM
To: Tomcat Users List
Subject: Apache 1.3.27, Tomcat 4.1  mod_jk, not working



I build an apache 1.3.27 server and mod_jk as a DSO and it loads 
correctly and is recognized by the apache server.

The mod_info module shows the module as being active and it lists my 
custom config.

Here is my config:
worker.list=worker1

worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600 worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300


I am enabled the Coyote connector on my Tomcat server.
Apache Tomcat/4.1.24
Jul 16, 2003 11:53:28 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jul 16, 2003 11:53:28 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jul 16, 2003 11:53:28 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/174 
config=/usr/local/tomcat/conf/jk2.properties
Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection
Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection
Jul 16, 2003 11:56:43 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection

When I try to access a jsp page it gives me error 404. But the file is 
there and is readable by all. (0644) I am running tomcat 4.1.24 and 
using Sun's j2sdk 1.4.1 rev 03. I get nothing logged to either the 
apache logs or the tomcat logs when I make a request.

Any ideas?

Thxc,
CC


-
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 1.3.27, Tomcat 4.1 mod_jk, not working

2003-07-16 Thread John Turner
Did you configure mod_jk?  JkMount, JkLogLevel, etc?

- change JkLogLevel to info and post the results from mod_jk log file

- post JkMount and the URL you are trying to use, as well as your Apache 
virtual host config

John

On Wed, 16 Jul 2003 12:50:57 -0700, Bongrip [EMAIL PROTECTED] wrote:

I build an apache 1.3.27 server and mod_jk as a DSO and it loads 
correctly and is recognized by the apache server.

The mod_info module shows the module as being active and it lists my 
custom config.

Here is my config:
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
I am enabled the Coyote connector on my Tomcat server.
Apache Tomcat/4.1.24
Jul 16, 2003 11:53:28 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jul 16, 2003 11:53:28 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jul 16, 2003 11:53:28 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/174 
config=/usr/local/tomcat/conf/jk2.properties
Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection
Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection
Jul 16, 2003 11:56:43 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection

When I try to access a jsp page it gives me error 404. But the file is 
there and is readable by all. (0644) I am running tomcat 4.1.24 and using 
Sun's j2sdk 1.4.1 rev 03. I get nothing logged to either the apache logs 
or the tomcat logs when I make a request.

Any ideas?

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



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


Re: Apache 1.3.27, Tomcat 4.1 mod_jk, not working

2003-07-16 Thread John Turner
Tomcat never starts on port 80 by default.

John

On Wed, 16 Jul 2003 15:57:43 -0400, Ruchi Dayal [EMAIL PROTECTED] wrote:

Try using the AJP13 connector in http.conf instead of the Coyote/AJP13
connector.
Also, comment out tomcat-standalone. i.e. comment out where Coyote
starts on port 80.
Hope this helps.

-Ruchi

-Original Message-
From: Bongrip [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 
3:51 PM
To: Tomcat Users List
Subject: Apache 1.3.27, Tomcat 4.1  mod_jk, not working



I build an apache 1.3.27 server and mod_jk as a DSO and it loads 
correctly and is recognized by the apache server.

The mod_info module shows the module as being active and it lists my 
custom config.

Here is my config:
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600 worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
I am enabled the Coyote connector on my Tomcat server.
Apache Tomcat/4.1.24
Jul 16, 2003 11:53:28 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jul 16, 2003 11:53:28 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jul 16, 2003 11:53:28 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/174 
config=/usr/local/tomcat/conf/jk2.properties
Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection
Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection
Jul 16, 2003 11:56:43 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection

When I try to access a jsp page it gives me error 404. But the file is 
there and is readable by all. (0644) I am running tomcat 4.1.24 and using 
Sun's j2sdk 1.4.1 rev 03. I get nothing logged to either the apache logs 
or the tomcat logs when I make a request.

Any ideas?

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



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


RE: Apache 1.3.27, Tomcat 4.1 mod_jk, not working

2003-07-16 Thread Ruchi Dayal
I apologize. 
It was a typo.

-Ruchi


-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 16, 2003 4:08 PM
To: Tomcat Users List
Subject: Re: Apache 1.3.27, Tomcat 4.1  mod_jk, not working



Tomcat never starts on port 80 by default.

John

On Wed, 16 Jul 2003 15:57:43 -0400, Ruchi Dayal [EMAIL PROTECTED]
wrote:

 Try using the AJP13 connector in http.conf instead of the Coyote/AJP13

 connector. Also, comment out tomcat-standalone. i.e. comment out where

 Coyote starts on port 80.

 Hope this helps.

 -Ruchi


 -Original Message-
 From: Bongrip [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 
 2003
 3:51 PM
 To: Tomcat Users List
 Subject: Apache 1.3.27, Tomcat 4.1  mod_jk, not working



 I build an apache 1.3.27 server and mod_jk as a DSO and it loads
 correctly and is recognized by the apache server.

 The mod_info module shows the module as being active and it lists my
 custom config.

 Here is my config:
 worker.list=worker1

 worker.worker1.type=ajp13
 worker.worker1.host=localhost
 worker.worker1.port=8009
 worker.worker1.lbfactor=50
 worker.worker1.cachesize=10
 worker.worker1.cache_timeout=600 worker.worker1.socket_keepalive=1 
 worker.worker1.socket_timeout=300


 I am enabled the Coyote connector on my Tomcat server.
 Apache Tomcat/4.1.24
 Jul 16, 2003 11:53:28 AM org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on port 8080
 Jul 16, 2003 11:53:28 AM org.apache.jk.common.ChannelSocket init
 INFO: JK2: ajp13 listening on /0.0.0.0:8009
 Jul 16, 2003 11:53:28 AM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=1/174
 config=/usr/local/tomcat/conf/jk2.properties
 Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket 
 processConnection
 INFO: server has been restarted or reset this connection
 Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket 
 processConnection
 INFO: server has been restarted or reset this connection
 Jul 16, 2003 11:56:43 AM org.apache.jk.common.ChannelSocket 
 processConnection
 INFO: server has been restarted or reset this connection

 When I try to access a jsp page it gives me error 404. But the file is
 there and is readable by all. (0644) I am running tomcat 4.1.24 and
using 
 Sun's j2sdk 1.4.1 rev 03. I get nothing logged to either the apache
logs 
 or the tomcat logs when I make a request.

 Any ideas?

 Thxc,
 CC


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


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





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

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


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



Re: Apache 1.3.27, Tomcat 4.1 mod_jk, not working

2003-07-16 Thread Simon Pabst
What does your mod_jk configuration in httpd.conf look like?
Any errors in mod_jk.log?
Does the 404 error come from tomcat or apache?
At 12:50 16.07.2003 -0700, you wrote:

I build an apache 1.3.27 server and mod_jk as a DSO and it loads correctly 
and is recognized by the apache server.

The mod_info module shows the module as being active and it lists my 
custom config.

Here is my config:
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
I am enabled the Coyote connector on my Tomcat server.
Apache Tomcat/4.1.24
Jul 16, 2003 11:53:28 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jul 16, 2003 11:53:28 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jul 16, 2003 11:53:28 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/174 config=/usr/local/tomcat/conf/jk2.properties
Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket processConnection
INFO: server has been restarted or reset this connection
Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket processConnection
INFO: server has been restarted or reset this connection
Jul 16, 2003 11:56:43 AM org.apache.jk.common.ChannelSocket processConnection
INFO: server has been restarted or reset this connection
When I try to access a jsp page it gives me error 404. But the file is 
there and is readable by all. (0644) I am running tomcat 4.1.24 and using 
Sun's j2sdk 1.4.1 rev 03. I get nothing logged to either the apache logs 
or the tomcat logs when I make a request.

Any ideas?

Thxc,
CC
-
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 1.3.27, Tomcat 4.1 mod_jk, not working

2003-07-16 Thread Simon Pabst
I think mod_jk works both with Coyote and old AJP13 connector (did for me 
at least).

The tomcat http port on 8080 shouldn't cause any trouble, besides it helps 
with testing -
if the JSP Page is accessible over 8080 then Apache/mod_jk is the problem.

At 15:57 16.07.2003 -0400, you wrote:
Try using the AJP13 connector in http.conf instead of the Coyote/AJP13
connector.
Also, comment out tomcat-standalone. i.e. comment out where Coyote
starts on port 80.
Hope this helps.

-Ruchi

-Original Message-
From: Bongrip [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 3:51 PM
To: Tomcat Users List
Subject: Apache 1.3.27, Tomcat 4.1  mod_jk, not working


I build an apache 1.3.27 server and mod_jk as a DSO and it loads
correctly and is recognized by the apache server.
The mod_info module shows the module as being active and it lists my
custom config.
Here is my config:
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600 worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
I am enabled the Coyote connector on my Tomcat server.
Apache Tomcat/4.1.24
Jul 16, 2003 11:53:28 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jul 16, 2003 11:53:28 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jul 16, 2003 11:53:28 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/174
config=/usr/local/tomcat/conf/jk2.properties
Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket
processConnection
INFO: server has been restarted or reset this connection
Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket
processConnection
INFO: server has been restarted or reset this connection
Jul 16, 2003 11:56:43 AM org.apache.jk.common.ChannelSocket
processConnection
INFO: server has been restarted or reset this connection
When I try to access a jsp page it gives me error 404. But the file is
there and is readable by all. (0644) I am running tomcat 4.1.24 and
using Sun's j2sdk 1.4.1 rev 03. I get nothing logged to either the
apache logs or the tomcat logs when I make a request.
Any ideas?

Thxc,
CC
-
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 1.3.27, Tomcat 4.1 mod_jk, not working

2003-07-16 Thread Bongrip
John Turner wrote:
Did you configure mod_jk?  JkMount, JkLogLevel, etc?

- change JkLogLevel to info and post the results from mod_jk log file

- post JkMount and the URL you are trying to use, as well as your Apache 
virtual host config

John

On Wed, 16 Jul 2003 12:50:57 -0700, Bongrip [EMAIL PROTECTED] wrote:

I build an apache 1.3.27 server and mod_jk as a DSO and it loads 
correctly and is recognized by the apache server.

The mod_info module shows the module as being active and it lists my 
custom config.

Here is my config:
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
I am enabled the Coyote connector on my Tomcat server.
Apache Tomcat/4.1.24
Jul 16, 2003 11:53:28 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jul 16, 2003 11:53:28 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jul 16, 2003 11:53:28 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/174 
config=/usr/local/tomcat/conf/jk2.properties
Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection
Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection
Jul 16, 2003 11:56:43 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection

When I try to access a jsp page it gives me error 404. But the file is 
there and is readable by all. (0644) I am running tomcat 4.1.24 and 
using Sun's j2sdk 1.4.1 rev 03. I get nothing logged to either the 
apache logs or the tomcat logs when I make a request.

Any ideas?

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




Okay, I think I fixed one problem but still getting 404 error. Here is 
my mod_jk.log after a fresh server start and a single request for a file 
called test.jsp:
cheeba:/usr/local/apache/logs #cat mod_jk.log
[Wed Jul 16 13:20:55 2003]  [jk_uri_worker_map.c (172)]: Into 
jk_uri_worker_map_t::uri_worker_map_alloc
[Wed Jul 16 13:20:55 2003]  [jk_uri_worker_map.c (375)]: Into 
jk_uri_worker_map_t::uri_worker_map_open
[Wed Jul 16 13:20:55 2003]  [jk_uri_worker_map.c (396)]: 
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 2
[Wed Jul 16 13:20:55 2003]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /.jsp=worker1 was 
added
[Wed Jul 16 13:20:55 2003]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule 
/webapp/.jsp=worker1 was added
[Wed Jul 16 13:20:55 2003]  [jk_uri_worker_map.c (408)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, there are 2 rules
[Wed Jul 16 13:20:55 2003]  [jk_uri_worker_map.c (422)]: 
jk_uri_worker_map_t::uri_worker_map_open, done
[Wed Jul 16 13:20:55 2003]  [jk_worker.c (88)]: Into wc_open
[Wed Jul 16 13:20:55 2003]  [jk_worker.c (222)]: Into build_worker_map, 
creating 1 workers
[Wed Jul 16 13:20:55 2003]  [jk_worker.c (228)]: build_worker_map, 
creating worker worker1
[Wed Jul 16 13:20:55 2003]  [jk_worker.c (148)]: Into wc_create_worker
[Wed Jul 16 13:20:55 2003]  [jk_worker.c (162)]: wc_create_worker, about 
to create instance worker1 of ajp13
[Wed Jul 16 13:20:55 2003]  [jk_ajp13_worker.c (108)]: Into 
ajp13_worker_factory
[Wed Jul 16 13:20:55 2003]  [jk_worker.c (171)]: wc_create_worker, about 
to validate and init worker1
[Wed Jul 16 13:20:55 2003]  [jk_ajp_common.c (1343)]: Into 
jk_worker_t::validate
[Wed Jul 16 13:20:55 2003]  [jk_ajp_common.c (1364)]: In 
jk_worker_t::validate for worker worker1 contact is localhost:8009
[Wed Jul 16 13:20:55 2003]  [jk_ajp_common.c (1397)]: Into jk_worker_t::init
[Wed Jul 16 13:20:55 2003]  [jk_ajp_common.c (1421)]: In 
jk_worker_t::init, setting socket timeout to 300
[Wed Jul 16 13:20:55 2003]  [jk_worker.c (187)]: wc_create_worker, done
[Wed Jul 16 13:20:55 2003]  [jk_worker.c (238)]: build_worker_map, 
removing old worker1 worker
[Wed Jul 16 13:20:55 2003]  [jk_worker.c (250)]: build_worker_map, done
[Wed Jul 16 13:20:55 2003]  [jk_worker.c (111)]: wc_open, done 1
[Wed Jul 16 13:20:55 2003]  [jk_uri_worker_map.c (172)]: Into 
jk_uri_worker_map_t::uri_worker_map_alloc
[Wed Jul 16 13:20:55 2003]  [jk_uri_worker_map.c (375)]: Into 
jk_uri_worker_map_t::uri_worker_map_open
[Wed Jul 16 13:20:55 2003]  [jk_uri_worker_map.c (396)]: 
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 2
[Wed Jul 16 13:20:55 2003]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /.jsp=worker1 was 
added
[Wed Jul 16 13:20:55 2003]  [jk_uri_worker_map.c (299)]: Into 

Re: Apache 1.3.27, Tomcat 4.1 mod_jk, not working

2003-07-16 Thread Bongrip
Simon Pabst wrote:
What does your mod_jk configuration in httpd.conf look like?
Any errors in mod_jk.log?
Does the 404 error come from tomcat or apache?
At 12:50 16.07.2003 -0700, you wrote:

I build an apache 1.3.27 server and mod_jk as a DSO and it loads 
correctly and is recognized by the apache server.

The mod_info module shows the module as being active and it lists my 
custom config.

Here is my config:
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
I am enabled the Coyote connector on my Tomcat server.
Apache Tomcat/4.1.24
Jul 16, 2003 11:53:28 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jul 16, 2003 11:53:28 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jul 16, 2003 11:53:28 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/174 
config=/usr/local/tomcat/conf/jk2.properties
Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection
Jul 16, 2003 11:53:59 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection
Jul 16, 2003 11:56:43 AM org.apache.jk.common.ChannelSocket 
processConnection
INFO: server has been restarted or reset this connection

When I try to access a jsp page it gives me error 404. But the file is 
there and is readable by all. (0644) I am running tomcat 4.1.24 and 
using Sun's j2sdk 1.4.1 rev 03. I get nothing logged to either the 
apache logs or the tomcat logs when I make a request.

Any ideas?

Thxc,
CC
-
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]
The 404 error comes from Tomcat.

-Chuck



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


  1   2   3   4   >