JAVA_HOME problem with 4.1.18

2002-12-20 Thread Ben Ricker
HOME JAVA_HOME JAVA_OPTS This setup worked in 4.1.12 and 4.0.6. Now, when I start Tomcat using the startup.sh, I get this: [root@dev bin]# ./startup.sh The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program What gives? Ben Ricker --

Mod_jk/Tomcat issue?

2002-12-23 Thread Ben Ricker
cause this. Could it be related to soemthing in Tomcat? What exactly does this sequence of events tell me? Any light one can shed would be greatly appreciated. Ben Ricker -- Ben Ricker <[EMAIL PROTECTED]> Wellinx.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> Fo

Urgent - Issue with Tomcat/mod_jk?

2002-12-23 Thread Ben Ricker
Could this be a protocol issue? I am getting heat from my bosses on this one and I need to say SOMETHING! Please help if you can give me any clues or suggest possibilities. Thanks, Ben Ricker -Earlier Post- We saw a strange production issue this morning that seems to be related to Apac

Re: Urgent - Issue with Tomcat/mod_jk?

2002-12-23 Thread Ben Ricker
e developers to help me out here. Thanks again, Ben Ricker On Mon, 2002-12-23 at 16:07, Mark Eggers wrote: > Ben, > > Disclaimer: > > I'm not a Tomcat developer, but I do use it to develop > software and integrate applications. > > In $CATALINA_HOME/conf/se

RE: Urgent - Issue with Tomcat/mod_jk?

2002-12-26 Thread Ben Ricker
massive opening of database connections. Anyway, as to your problem: You may not have enough memory setup for your JVM. Do you send amx -Xm and -Xs parameters to Tomcat using JAVA_OPTS? You may be getting more load then Tomcat can handle due to a RAM constraint. Ben Ricker On Tue, 2002-12-24 at

RE: running tomcat as a non-root user?

2002-12-30 Thread Ben Ricker
at -c "/usr/local/tomcat2/bin/startup.sh" ;; That way, you CAN use root (and a startup script) to start Tomcat and still get the security benefits of running as an unpriveledged, locked user. Ben Ricker Wellinx.com On Mon, 2002-12-30 at 12:15, Turner, John wrote: > assume a user name

Re: running tomcat as a non-root user?

2003-01-02 Thread Ben Ricker
artup.sh using 'su'. The line would read something like: 'su tomcat -c "/path/to/startup.sh". Then, you can run the init script as root and, well, use it as an init script! Ben Ricker Wellinx.com > On Wed, Jan 01, 2003 at 02:21:47AM +0530, karthikeyan.balasubramanian w

RE: is this normal??

2003-01-02 Thread Ben Ricker
e PIDs sit there pegging the CPU incessently, you most likely have an issue. HTH, Ben Ricker On Thu, 2003-01-02 at 11:37, Randy Paries wrote: > I have a pretty busy web server > It has apache and tomcat > What I am trying to find out if I have a problem or not > I am linux guy but n

RE: is this normal??

2003-01-02 Thread Ben Ricker
if you can correlate a specific request with the the problem. Good Luck, Ben Ricker Wellinx.com On Thu, 2003-01-02 at 13:07, Randy Paries wrote: > I am running > > jakarta-tomcat-4.0.4 jdk1.3.1_04 apache-1.3.27-2 > > I have enabled server stats (thanks Jan) > > I stop

Re: Tomcat 4.x and Java Processes

2003-01-07 Thread Ben Ricker
Are you using Linux? Linux shows in-process threads as processes. If you are running Linux, then you are seeing threads within the Java process. You would expect to see a number of threads even with your simple config. Ben Ricker On Tue, 2003-01-07 at 14:07, Troy J. Kelley wrote: > I'

RE: Tomcat 4.x and Java Processes

2003-01-07 Thread Ben Ricker
omes to Unix; you might be able to list the Parent PIDS only by messing with the 'ps' options. I have never done that myself, so I suggest, if you feel the need, to look through the man pages for 'ps'. HTH, Ben Ricker > -Original Message- > From: Ben Ricker [mai

Re: concern about Apache + mod_jk + Tomcat cluster

2003-01-15 Thread Ben Ricker
servers. We have no performance issues and I am using the default Processor settings in server.xml. We go through roughly 1 million hits a month. HTH, Ben Ricker On Wed, 2003-01-15 at 11:04, YOU, JERRY (SBCSI) wrote: > Hi, > I installed the Apache1.3.27, mod_jk1.2.1 and Tomcat4.1.18 recen

Re: Tomcat won't auto-start on RedHat 7.3

2002-09-17 Thread Ben Ricker
On Tue, 2002-09-17 at 14:06, Kenny G. Dubuisson, Jr. wrote: > Very good question...I bet they aren't. Do you know where I would set those > for boot (or should I just put them in the script I wrote)? Thanks, > Kenny Put them in the script. Ben Ricker Wellinx.com > -

RE: two instances of tomcat (in diferent ports) on the same machi ne

2002-09-19 Thread Ben Ricker
its own connector port (whichever connector > you choose to use). At least, that is how it is set up on my server. > > John How do you have multiple server.xmls? Do you use the same startup script? Did you use a specific How-To? Thanks, Ben Ricker Wellinx.com > > -Original M

RE: Running multiple tomcat instances ?????

2002-09-24 Thread Ben Ricker
tested it with Tomcat, though. Good luck, Ben Ricker Wellinx, Inc. On Mon, 2002-09-23 at 15:17, Raj Mettai wrote: > Hi John, > > I have compiled the code and copied to $CATALINA_HOME$/bin > then added the following snippet into server.xml > > > > > > &

Problem with mod_jk.so

2002-09-30 Thread Ben Ricker
ed to upgrade gcc, possibly? What do the binaries rely upon? Thanks in advance, Ben Ricker -- Ben Ricker <[EMAIL PROTECTED]> Wellinx.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: Problem with mod_jk.so

2002-09-30 Thread Ben Ricker
; John > > > > -Original Message----- > > From: Ben Ricker [mailto:[EMAIL PROTECTED]] > > Sent: Monday, September 30, 2002 12:27 PM > > To: Tomcat Users List > > Subject: Problem with mod_jk.so > > > > > > I downloaded the binary of mod_jk.so from Jakarta

RE: Problem with mod_jk.so

2002-09-30 Thread Ben Ricker
nfo: I compiled Apache with ApacheToolbox. The modules are static but it has DSO support in it. Then again, I would expect an error much earlier in the load process then an undefined symbol. I cannot guarantee that it IS the 1.3 connectorthe filename suggests it is. Ben Ricker > > &g

Re: Load balancing + replicated sessions

2002-10-01 Thread Ben Ricker
See http://www.theserverside.com/resources/article.jsp?l=Tomcat. you can do in memmory session replication across JVMs through TCP. Ben Ricker On Tue, 2002-10-01 at 09:29, Luiz Ricardo wrote: > Hi, > > I would like to know if there is a way to configure Tomcat + Apache to > replic

RE: Problem with mod_jk.so

2002-10-01 Thread Ben Ricker
Just to let everyone know, I downloaded John Turner's mod_jk.so and the problem went away (have not finished testing, however). The URL is: http://www.johnturner.com/howto/apache-tomcat-howto.html. Thanks to John! Ben Ricker On Mon, 2002-09-30 at 12:53, Ben Ricker wrote: > On Mon, 20

Error 400 getting thrown

2002-10-01 Thread Ben Ricker
t::done, recycling connection [Tue Oct 01 11:01:11 2002] [jk_lb_worker.c (389)]: Into jk_endpoint_t::done What exactly is the Error 400 showing? Error 400 is a "Bad Request". Below are snippets of some conf files. Let me know if I need to show anyone the server.xml file. Thanks, Ben Ri

RE: Problem with mod_jk.so

2002-10-01 Thread Ben Ricker
Thanks for the info. I will go back through the docs and see what may have happened. I will let you know if I still have the issue after perusing the docs. Ben Ricker On Tue, 2002-10-01 at 10:54, Henri Gomez wrote: > >Just to let everyone know, I downloaded John Turner's mod_jk

400 Error Revisited

2002-10-01 Thread Ben Ricker
adbalancer.balanced_workers=tomcat1, tomcat2 # # END workers.properties # - My Connector configs from both tomcat instances This is in /usr/local/tomcat1/conf: This is in /usr/local/tomcat2/conf: -- Ben Ricker <[

RE: 400 Error Revisited

2002-10-01 Thread Ben Ricker
use, but it is something to examine. Good call! I missed that one. Fixed it and it made no difference Ben Ricker > -Original Message- > From: Ben Ricker [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 01, 2002 2:06 PM > To: 'Tomcat Users List' > Subject: 40

Problem with JK 1.2.0 docs?

2002-10-09 Thread Ben Ricker
which is the binary? Mod_jk.so is a symlink. Should I just move mod_jk.so.0.0.0 to the apache directory as mod_jk.so? The documentation is very vague on this point. I get around it by doing a 'make install' in the native directory and it installs a symlink to the the libexec director

Reloading w/ Manager on cluster?

2002-10-10 Thread Ben Ricker
Tomcat frequently? Has anyone worked around a cluster for the management app? Thanks, Ben -- Ben Ricker <[EMAIL PROTECTED]> Wellinx.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: Reloading w/ Manager on cluster?

2002-10-10 Thread Ben Ricker
centralized webapps directory in /usr/local/webapps. I run the tomcat processes with an unpriveledged use, 'tomcat'. HTH, Ben Ricker -Tomcat Startup Script--- #!/bin/sh # # tomcatStarts the Tomcat server # # Author: All kinds of people # # chkconfig: 345 50 50 # # processn

Re: Using daemontools to supervise Tomcat

2002-10-11 Thread Ben Ricker
. I myself gave up; the thought of creating all those environment variables was just too much, so I just rolled my own PID monitor whcih I am porting to Tomcat. Basically, it will grep out the PID and write to a file which I watch with a cronjob process. HTH, Ben Ricker On Fri, 2002-10-11 at

Re: Using daemontools to supervise Tomcat

2002-10-11 Thread Ben Ricker
On Fri, 2002-10-11 at 12:48, camccuk wrote: > --- Ben Ricker <[EMAIL PROTECTED]> wrote: > I'b be interested to see that Ben - one of the problems I had trying something > similar was that when tomcat gets swapped out, it appears on the process list > as [java] and

Re: Connecting Apache with remote Tomcat

2002-10-14 Thread Ben Ricker
Tomcat before you retry a connection? FYI, I am running two Apache 1.3.27 on Redhat load balancing across 4 Tomcats on two Solaris 8 servers. Ben Ricker On Mon, 2002-10-14 at 13:08, [EMAIL PROTECTED] wrote: > I have a jk connector that allows our Apache (version 1.3.22) web server on > Li

Re: Using daemontools to supervise Tomcat

2002-10-16 Thread Ben Ricker
Just an FYI: I utilized Will's wonderful instructions and now have Tomcat supervised by Daemontools. the 'svc' command even works for HUP'ing and such! Ben Ricker On Fri, 2002-10-11 at 16:30, Will Hartung wrote: > From: "camccuk" <[EMAIL PROTECTED]> &

Re: Where do I specify location of stdout and stderr?

2004-12-29 Thread Ben Ricker
We do this by finding the log entry in catalina.sh. It should be something like catalina.out. Change that to whatever you like. I moved it myself to fit how our other app servers work. Ben Ricker On Dec 29, 2004, at 12:39 AM, Stephen Charles Huey wrote: Ok, I just figured out that for the

Re: Can't compile mod_jk 1.2.8

2005-01-10 Thread Ben Ricker
from Apache to the http connector of Tomcat. Finally, if you have static content and/or need clustering, go with mod_jk. Ben Ricker On Jan 10, 2005, at 5:54 PM, Troy Simpson wrote: Parsons... How would mod_proxy() work? How is it used? I have not used it. Thanks, Troy -- Troy Simpson Applica

Re: Shutdown port

2005-01-12 Thread Ben Ricker
For an extra bit of security,replace "SHUTDOWN" with some sort of long, random string and then lock down the server.xml to 640. Someone who gains, or already has access to the box can shut it down the other way. Ben Ricker On Jan 12, 2005, at 6:55 AM, Frank Parato wrote: Is ther

Re: Jdeveloper 3.2.3 -> Tomcat 5.5 migration: Inordinate delay in JSPs returning XML

2005-01-14 Thread Ben Ricker
Rule number one when working with Internet Exploder: try other browsers. I usually try Netscape, Mozilla and Firefox. If they work on those browsers, you are dealing with (imagine this): an IE bug. Thing is a piece of.if I have to deal with one more IE specific bug. Ben Ricker On Jan 13

Re: Preferred Platform for Tomcat5

2005-02-03 Thread Ben Ricker
ssues with OOM errors when the DB started hanging on bad SQL). Ben Ricker On Thu, 03 Feb 2005 13:44:20 -0600, Paul <[EMAIL PROTECTED]> wrote: > I've usually used different distros of Linux. Mainly Slackware (8.x, > 9.x & 10.x) for 32bit x86 machines and Fedora Core 3 x86_64 on

Re: Preferred Platform for Tomcat5

2005-02-03 Thread Ben Ricker
hey > know nothing about like that. He hasn't done anything technical in years and > I don't know if he used Unix of any flavor. > > -Original Message- > From: Ben Ricker <[EMAIL PROTECTED]> > Sent: Feb 3, 2005 1:22 PM > To: Tomcat Users List , >

Issue compiling mod_jk 1.2.10 on AIX

2005-07-13 Thread Ben Ricker
/include -g -U__STR__ -D_THREAD_SAFE -D_USE_IRS -I /include -I /include/ -c jk_ajp12_worker.c My config was: "CC=cc_r" ./configure --with-apxs=/path/to/apache/bin/apxs" I also tried to use Gcc and it hung just the same as cc_r did. Any ideas, Ben RIcker

1.2.10 JK compile issue on AIX 5L

2005-07-13 Thread Ben Ricker
/include -g -U__STR__ -D_THREAD_SAFE -D_USE_IRS -I /include -I /include/ -c jk_ajp12_worker.c My config was: "CC=cc_r" ./configure --with-apxs=/path/to/apache/bin/apxs" I also tried to use Gcc and it hung just the same as cc_r did. -- Ben Ricker He's just this guy, you know? -

Re: How to Configure IIS/Tomcat to perform basic authentication

2005-07-13 Thread Ben Ricker
/tomcat/tomcat-5.0-doc/realm-howto.html. You may be most interested in the Memory Realm if you want simple, file-based auth. Ben Ricker On 7/13/05, Ikonne, Ike <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have been trying to configure IIS/Tomcat to perform basic > authenti

Re: Linking Tomcat to Apache

2005-07-13 Thread Ben Ricker
Check out http://jakarta.apache.org/tomcat/connectors-doc/ for infromation on how to configure mod_jk to server up specific sorts of URLs. Ben Ricker On 7/13/05, Ben Stuart <[EMAIL PROTECTED]> wrote: > I am trying to use ModJk to Link Apache 2 and Tomcat 5.5.9 > > I followed t

Setting multiple docbases in Tomcat

2005-08-01 Thread Ben Ricker
this (classloaders getting created for each context tag being one of them). Is there an easy way to setup locations like in Apache in Tomcat? These are not wars but static content to display help and guides, etc. Thanks, Ben Ricker -- Ben Ricker He's just this guy, you

Context.xml does not seem to work

2005-08-02 Thread Ben Ricker
behavior. I am using Tomcat 5.0.28 with IBM JDK 1.4.2 on AIX 5L. Any ideas? Something wrong with the syntax? -- Ben Ricker He's just this guy, you know? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: mod_jk or jk2??

2005-08-03 Thread Ben Ricker
--- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > ----- > To unsubscribe, e-mail: [EMAIL

Cannot get symlinks in war to work in tomcat 5.0.28

2005-08-04 Thread Ben Ricker
top level of the war file. I can cd into the link and it goes to the right directory. All of the files are readable to the world. Am I missing something? -- Ben Ricker He's just this guy, you know? - To unsubscribe, e-ma

Bug in "allowlinking" on AIX?

2005-08-04 Thread Ben Ricker
y be used to disable the check. Does anyone have symlinks working on 5.0.28? -- Ben Ricker He's just this guy, you know? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tomcat security

2005-08-09 Thread Ben Ricker
Yes. There is the catalina.policy file in the conf/ directory. See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/security-manager-howto.html for details. Ben Ricker On 8/9/05, Cengiz Yazgan <[EMAIL PROTECTED]> wrote: > Hi everybody > > I have a problem about tomcat security

Re: 64 Bit Machines and Tomcat

2005-08-16 Thread Ben Ricker
The one caveat I have seen is when you use third-party software that is compiled; chances are it was compiled with 32-bit system libraries and will not take advantage of the 64-bit data structure. If you can, spend the time compiling the third-paty software using 64-bit JDK. Ben Ricker On 8/16

Re: access symbolic link

2005-08-18 Thread Ben Ricker
So how do you point to content outside of a war? I have the same problem with 5.0.28 pointing to static content outside of a war. Even a symlink included in the war (and setting "followsymlinks="true" in the context) does not work. Ben Ricker On 8/18/05, Peter Miller <[EMAIL

<    1   2