RE: Tomcat dies

2002-12-13 Thread Meyer, James
I also have been using tomcat on solaris 8 with great success.
Hover I do not use the startup/shutdown scripts have you tried calling the
catalina script directly  (catalina.sh start  or catalina.sh stop)


-Original Message-
From: Hamilton, Andrew [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 10:13 AM
To: Tomcat Users List
Subject: RE: Tomcat dies


I have been using Tomcat on Solaris 8 for months and it backgrounds for me
just fine.  What do the logs say?

Regards,

Drew

-Original Message-
From: Matthew Ritenburg [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 10:53 AM
To: Tomcat Users List
Subject: Tomcat dies


I have asked this question before.  I have been all over the net looking for
information.  The problem remains:  On Solaris 2.8 Tomcat started from the
commaned line via startup.sh does not background properly and dies when the
controlling tty is exited.  I have tested this on a Sunfire 280r that IU
built and 2 domains of a Sunfire 6800 build by Sun filed engineers.  I have
read the suggestions of putting nohup in and .  None of this works. All
of the other processes startup and background properly.  Who can tell me why
Tomcat does not backgroun properly on Solaris 8?

Thanks again!

Matthew Ritenburg



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

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

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




RE: Tomcat dies

2002-12-13 Thread Meyer, James
If you are using ssh the problem you described occurs,
one way around it is to start tomcat with the following command
/usr/local/tomcat/bin/tomcat.sh start/dev/null /dev/null 2/dev/null


-Original Message-
From: Jon Eaves [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 10:37 AM
To: Tomcat Users List
Subject: Re: Tomcat dies


If that is the cause, what's wrong with using 'nohup' ?

(Or am I missing something here?)

Cheers,
-- jon

Matthew Ritenburg wrote:
 The logs say nothing.  Tomcat is dying because it is not backgrounding
 properly on solaris 8.  The process never detaches it self from the
 controlling tty.  You close the console/xterm and Tomcat dies.  My
 question is: Why doesn't tomcat background properly on Solaris 8?
 
 Thanks again!
 
 Matt

[ snip ]
-- 
Jon Eaves [EMAIL PROTECTED]
http://www.eaves.org/jon/


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

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




tomcat 4 ssl post parameters being dropped

2002-10-24 Thread Meyer, James
We currently have a link on our webpage that when clicked it  issues's a
post that  redirect the entire site into ssl mode and also sends some
parameters to show that the link has been clicked.  

What's currently happening is that the parameters showing the link has been
clicked is dropped and the site is placed in secure mode. The user then
needs to click the button again to finish the transaction.
his only happens when using ie 5/5.5  with tomcat 4.  Tomcat 3.2 with ie
does not have this problem.

Will someone please explain why this is happening?

-james

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




Tomcat 4 ssl migration problems

2002-10-23 Thread Meyer, James
Hello list,

We are attempting to move our multiframed website from Tomcat v3 to Tomcat
v4.0.6.  In most of the browsers everything is working okay, but we are
seeing some odd things in IE5.5 and 5.0.  
It appears whenever we switch over to a secured mode (order page), Tomcat
switches all the frames into ssl mode but never updates the screen to
reflect that the user clicked a button.  The user then needs to click the
button again to switch to the order page.  
Obviously having your user click twice is unacceptable.  Do you have any
ideas or suggestions?  
When using Tomcat 3.2.24 everything worked correctly.

Here is our setup
OS: solaris 8 
Apache 1.3.27  with modjk ajp13
Tomcat 4.0.6
Big IP with ssl acceleration.
Sun JDK 1.4

Thanks
James Meyer
[EMAIL PROTECTED]

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




RE: Tomcat 4.0.1 Webapp Module

2001-11-20 Thread Meyer, James

I had the same problem and went back to using mod_jk with tomcat 4.0.1.

Your old apache + mod_jk config files will still work. However just make
sure you have enabled the ajp13 or ajp12 worker in tomcat's server.xml file

-James Meyer

-Original Message-
From: Matt Sales [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 10:53 AM
To: Tomcat Users List
Subject: Tomcat 4.0.1  Webapp Module


Hello,
I am upgrading from JServ to Tomcat 4.0.1 on RH Linux 7.2 with Apache
1.3.22.  Under JServ, I relied heavily upon JSSI.  Now, I'm migrating the
.jhtml files to .jsp.  However, with mod_webapp, it seems I can only map
_directory paths_ to servlets, not _file extensions_.  With JServ--or even
tomcat 3.2.x-- you could map specific file extensions to be handled by the
servlet engine using mod_jserv or mod_jk (i.e., ApJServAction and ApJkMount
directives).  In the Tomcat 4.0.1 documentation I see no mention of
mod_jserv (understandably) or mod_jk, and mod_webapp does not seem to be
capable of routing of document requests to Tomcat from Apache on a
file-by-file basis.  Am I missing the point on mod_webapp?  It doesn't seem
like a very capable replacement for mod_jk (or mod_jserv).  Is it possible
to integrate mod_jk into Tomcat 4.0.1?  How else could I parse .jsp files
from a directory under apache rather than a webapp directory?

Thank you in advance.


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

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




tomcat 4.0 catalina cluster

2001-11-19 Thread Meyer, James





Hello everybody.
I am looking at upgrading to tomcat 4.0.1.  I have everything working
correctly except for clustering/load balancing.  I have scanned the
documentation and have not found anything suggesting how to setup load
balancing.Can anybody give me an example or point me towards some
documentation on how to do this under tomcat 4.0.1.

The environment consists on 2 Sun Solaris Servers running apache 1.3.19 with
mod_jk as the connector.

Thanks in advance.

-James Meyer
[EMAIL PROTECTED]

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




tomcat 4.0 catalina cluster

2001-11-16 Thread Meyer, James

Hello everybody.
I am looking at upgrading to tomcat 4.0.1.  I have everything working
correctly except for clustering/load balancing.  I have scanned the
documentation and have not found anything suggesting how to setup load
balancing.Can anybody give me an example or point me towards some
documentation on how to do this under tomcat 4.0.1.

The environment consists on 2 Sun Solaris Servers running apache 1.3.19 with
mod_jk as the connector.

Thanks in advance.

-James Meyer


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




RE: Get tomcat to top accepting sessions?

2001-11-12 Thread Meyer, James

Mike,
Take a look at the following URL
http://mikal.org/interests/java/tomcat/archive/view?mesg=15194
Here you will find a patch by Michael Kuz.  I am currently using this patch
on Solaris 2.8/apache 1.3.19/tomcat 3.2.2.

The only problem that I have encountered, is that I have to restart every
apache just to take one machine out of service. To combat this annoyance I
crafted a simple menu shell script that uses ssh/sudo to restart all the
machines for me.

-James Meyer
Senior Unix Admin
Experian AIS

-Original Message-
From: Mike Comb [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 2:56 PM
To: Tomcat Users List
Cc: James Chuang
Subject: Re: Get tomcat to top accepting sessions?


Not quite what I am going for.  I have 6 instances of tomcat running 
accross two machines.  What I want to be able to do is take a couple of 
those instances down for servicing.  The way that I did that with my 
previous app server (ATG Dynamo) is tell the desired instances to stop 
accepting new sessions, wait half an hour for current users to go away, and 
then take down just those two instances.  Meanwhile the other four 
instances continue to serve the site.  This allowed me to easily do site 
updates, app server updates, etc without having to take down the site or 
wait for off-peek times.

So, any suggestions?

-Mike

--On Monday, November 12, 2001 12:31 PM -0800 James Chuang 
[EMAIL PROTECTED] wrote:

 Mike:

 Seems like you can just have your servlet redirect requests that requires
 starting of a new session.  It's a bit more expensive, but you can direct
 them to a JSP page that has a nice error msg to come back in 15 minutes or
 something

 jchuang

 - Original Message -
 From: Mike Comb [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, November 12, 2001 11:53 AM
 Subject: Get tomcat to top accepting sessions?


 Hi, is there any way to get tomcat to stop accepting new sessions, but
 allow active sessions to continue?  I am trying to figure out how to
 gracefully shutdown tomcat without kicking current users off.

 Thanks,
 -Mike

 ---
 Mike Comb
 Lead Engineer
 SoftCoin, Inc
 [EMAIL PROTECTED]

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



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



---
Mike Comb
Lead Engineer
SoftCoin, Inc
[EMAIL PROTECTED]


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

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




RE: mod_jk for solaris

2001-07-12 Thread Meyer, James

I have just finished compiling mod_jk.so for solaris 8 using gcc 2.9.5 so I
know it works :) 

 The problem that I was having involved getting a rc=255 error at the end of
the apxs procedure. This was fixed by adding /usr/ccs/bin to the path(this
is where ld lives).  The following is the script that I used to compile,
please note that everything below the export commands is one line.

cd $TOMCAT/src/native/apache1.3 

--start script
#!/usr/bin/bash
export APACHE_HOME=/usr/local/apache
export PATH=$PATH:/usr/ccs/bin
/usr/local/apache/bin/apxs -o mod_jk.so  -DSOLARIS -I../jk
-I/usr/java/include -I/usr/java/include/solaris  -lposix4 -c *.c ../jk/*.c
---end script---

-James

-Original Message-
From: Paul Lombardo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 10:52 AM
To: [EMAIL PROTECTED]
Subject: RE: mod_jk for solaris


Yep!  and if I find it I'll send it to you.  I am recompileng Apache
woth the mod_so configured in so I hope the apxs stuff will work.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 11:18 AM
To: [EMAIL PROTECTED]
Subject: Re: mod_jk for solaris


Hi Paul,

It appears we are fighting the same battle at the same time.  I have
ripped
through this for an entire night.  Not only isn't there a build script
for
solaris in the default  tar, the apxs compile directions are wrong!

I have simply asked some one for a recompiled version.  It is easier.
BTW,
then you have to work with the mod_jk.conf file and start configuring
what
gets passed.

If I get the file, I will send it to you.

ab

Paul Lombardo wrote:

 Good morning all -

 I am attempting to setup and configure Tomcat 3.2.2. to use with
Apache
 1.3.x  on a Solaris 2.6 machine.

 I have Apache in and running.  I have Tomcat installed and handling
 requests on port 8080.

 I now need to set things up so that Apache will hand off requests for
 jsp to tomcat and I am assuming that for that I need to setup mod_jk
(or
 is that mod_jk.so)

 Now in my jakarta-tomcat-3.2.2-src/src/native/apache1.3  dorectory I
 have:

 Makefile.freebsd  Makefile.linuxMakefile.nw   mod_jk.c
 mod_jk.dsp

 I don't see one for Solaris.  I went tp the web and downloaded a
 mod_jk.so and tried that, but upon inspection the source file was full
 of garbage and was useless.

 I am so close I can taste it.  any suggestions?

 Paul

 This document may contain confidential information, as well as
 proprietary information, of ICICI Infotech, Inc.  Your company and its
 employees agree to keep the material in this document confidential and
 any violation of this paragraph is strictly prohibited.
  Paul V. Lombardo (Business Fax).vcf



removing a tomcat worker

2001-06-27 Thread Meyer, James

Hello all,
Is there any way to remove a tomcat worker from a load balancing pool,
without restarting tomcat or at least adjust it weight?
This would come in very handy when working on one  of our servers.  

Basically I'm looking for a way to tell a worker to stop accepting new
sessions, and finish it's current workload.  Then when it's done I can
update the site without any session loss.


I am using apache 1.3.19 tomcat 3.2.1 on Solaris 2.8

Thanks in advance

-James

-Original Message-
From: Mario Vera [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 2:03 PM
To: TOMCAT
Subject: Workers in tomcat


¿Necesito Apache forzosamente para poder utilizar los workers de Tomcat y
tener varias instancias de tomcat al mismo tiempo?

Saludos!!

Do I need Apache unavoidably to be able to use the workers of Tomcat and to
have several tomcat instances at the same time?

Regards



RE: Where can I tune the Server-load ?

2001-06-14 Thread Meyer, James



You 
can set the number of apache process in the httpd.conf file and the number of 
tomcat threads in the tomcat server.xml file. 

http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.html
goto 
that link and search for Configuring the Thread Pool 

-James

  -Original Message-From: Francesco Marchioni 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 14, 2001 
  12:11 PMTo: [EMAIL PROTECTED]Subject: Where 
  can I tune the Server-load ?
  Hi tomcat-users,
  
  sorry for posting the question again but I'm stil 
  looking for an answer :(
  
  I'd like to know where can I tune the number of 
  Threads/Process that will start
  or peak...through Apache configuration or through 
  Tomcat ? 
  in other words, the configuration in Tomcat 
  overrides the Apache httpd.conf ? or viceversa?
  Thanks
  Francesco
  


tomcat/apache failover

2001-06-12 Thread Meyer, James

Hello all,
My current setup involves an alteon ace director3 as a load balancer and two
sun solaris machines.  

Currently both machines have apache1.3.19 and tomcat 3.2.1 running on them.
What I would like to setup is to have the alteon round robin requests to the
apache servers and then apache will hand the jsp requests to the correct
tomcat server based off of session id. 
Is this possible? Currently it seems that tomcat is only able to handle one
apache and 1 tomcat's   

Any suggestions would be helpful.


Also currently the alteon is not able to keep track of session information
and it will be to much $$$ to upgrade for this ability.

Thanks

-James Meyer