RE: Cluster tcpThreadCount

2005-08-27 Thread Randy Paries
l the cluster fix pack ( s. bugzilla) Randy Paries schrieb: >Hello, > >How do I determine what value I should set tcpThreadCount to > >Currently I have the setting below and a very busy app server. > >Thanks >Randy > >tcpListenAddress="10.0.0.

Cluster tcpThreadCount

2005-08-26 Thread Randy Paries
Hello, How do I determine what value I should set tcpThreadCount to Currently I have the setting below and a very busy app server. Thanks Randy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Clustering problems

2005-08-25 Thread Randy Paries
Hello I have two tomcat servers (flanders and krusty) Their server.xmls are below they have two nic cards. The incoming http requests come in via the 192.168 ips and go out the real ips 66.208 the 192.168 nics are on a gigbit network When my servers get really busy i messages in the log file

RE: TC & Apache integration

2005-07-27 Thread Randy Paries
Chuck I have been out of the loop for a while. My Tomcat 5 has been running great with apache 2 But are you saying that they have optimized Tomcat 5.5.9 and it does not make sense to use apache has the front end? Thanks RP -Original Message- From: Caldarale, Charles R [mailto:[EMAIL P

Help with setting up aliases , it kind of works , but the getRealPath does not

2005-07-27 Thread Randy Paries
Hello I will try to be brief I am running apache 2, tomcat 5 I currently have this configuration /home/topdomain= www.topdomain.com /home/topdomain/subdomain1 = sub1.topdomain.com /home/topdomain/subdomain2 = sub2.topdomain.com under each subdomain i have users. ie /h

RE: Can mulitple domains share one web app?

2005-05-23 Thread Randy Paries
same folder. So each /folder will have to be unique even though the domain names are different. Doug - Original Message ----- From: "Randy Paries" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" Sent: Friday, May 20, 2005 4:55 PM Subject: Can mulitple dom

Can mulitple domains share one web app?

2005-05-20 Thread Randy Paries
Hello, I will try to ask this question so it makes sense. I have a webapp. Currently I have 2000 people that share the same web app For example www.mydomain.com/sue www.mydomain.com/fred Etc All these guys have their own directories, but they are a single web app. Now I have many (100s

RE: Remote debugging with tomcat windows

2005-03-07 Thread Randy Paries
end=n" option to "suspend=y" this will make the debuggee to wait till the debugger joins the debuggee. Hope this helps u Vinod -Original Message- From: Randy Paries [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 4:56 PM To: 'Tomcat Users List'; 'Will Nor

Remote debugging with tomcat windows

2005-03-07 Thread Randy Paries
Hello I am running tomcat 5 on windoze xp and trying to get remote debugging to work. I can do it fine when the server is linux but can not get it to work with windoze. In the java options (in the tomcat properties dialog) I put the following -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:trans

RE: Help with tomcat on windoze/nfs

2005-03-04 Thread Randy Paries
tomcat on windoze/nfs How is the drive mapped? By what logged-in windows user? Is it the same user that Tomcat is running as, and are you sure? ;) Mike Curwen > -Original Message- > From: Randy Paries [mailto:[EMAIL PROTECTED] > Sent: Friday, March 04, 2005 3:51 PM >

Help with tomcat on windoze/nfs

2005-03-04 Thread Randy Paries
Hello, I have the unfortunate opportunity of having to set up tomcat on windoze (sorry I am a linux bigot) I have this servlet that has to run a windows program. (that works fine) I have to create a directory on a NFS mount. In my test servlet, I have this snippet of code(see below) If I do /m

Compression in the server.xml

2005-02-08 Thread Randy Paries
Could some one explain the downsides of setting compression="on" in the server.xml I have a web app that averages 2 million hits aday. The static and images are handled using apache. I am trying to understand what the compression setting is used for in the server.xml and what are the ramificatio

Apache tuning question

2004-10-04 Thread Randy Paries
Hello, I thought there was an apache mailing list, but the mailing list page points to this one(as well as php and some others.) So hopefully I will not get flamed for this question. I have a rh9 box with apache 2 and tomcat 5 The apache server gets about 1.2M hits a day on average i have abo

RE: Help with a real ugly one

2004-08-20 Thread Randy Paries
ime out or connector timeout? >>>also, check if its from a set of IPs or just one IP that's hitting you *could* be an attack I have had these before, but can usually spot them in the log files. But no this is not the problem either Thanks Randy Randy Paries escribió:

Help with a real ugly one

2004-08-20 Thread Randy Paries
Hello all, I have this problem that I am looking for any kind of help I am not sure what is causing it, I just know how It shows itself A couple of logistical things RH9 jakarta-tomcat-5.0.24 Apache 2 So here is the problem. Every once in a while, my httpd and java(tomcat) process go thru the r

Help, why is my servlet calling init twice?

2004-08-10 Thread Randy Paries
Hello, I am hoping someone can shed some light on this I am using Tomcat jakarta-tomcat-5.0.24 on RH9 When I have 1 set in my web.xml My init in the servlet that I have this set for gets called twice. It is so bizarre. But, in my devel env it does not (XP, tomcat 5, intellij) If I remove th

JNDI question

2004-08-09 Thread Randy Paries
Hello I am using Tomcat 5 with JNDI(mysql) Are there ways to get usages info from the POOL Like active connections, max connections (basically the state of the DB Pool) Thanks for any help - To unsubscribe, e-mail: [EMAIL

RE:location of workers2.properties parameters

2004-04-12 Thread Randy Paries
I can not find the doc that describes the descriptors in workers2.properties I am sorry if it is obvious , but I can not find it I have tried http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk2.html And http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/workershowto.html In my error.

How two tomcats share share DocRoot

2004-04-12 Thread Randy Paries
Hello, I will try to be brief , but this will a little explanation of my config to under stand the question. I have two boxes. (rh9, tomcat 4.1.30, apache ) Box1 Box 2 is configured the same but /home/unit is an nfs mount. The problem is they now share the same WEB-INF dir wit

How two tomcats share share DocRoot

2004-04-10 Thread Randy Paries
Hello, I will try to be brief , but this will a little explanation of my config to under stand the question. I have two boxes. (rh9, tomcat 4.1.30, apache ) Box1 Box 2 is configured the same but /home/unit is an nfs mount. The problem is they now share the same WEB-INF dir with

RE: Trying to start tomcat. Should be so simple

2004-04-10 Thread Randy Paries
elp -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Saturday, April 10, 2004 1:32 PM To: Tomcat Users List Subject: Re: Trying to start tomcat. Should be so simple On Sat, Apr 10, 2004 at 12:46:02PM -0500, Randy Paries wrote: : I have two identical boxes. Tomcat starts on one

Trying to start tomcat. Should be so simple

2004-04-10 Thread Randy Paries
Hello all, I have got to be missing something very simple I have two identical boxes. Tomcat starts on one and not the other The jar that it says it can not find is there. /WEB-INF/lib/mm.mysql-2.0.2-bin.jar If I do ls -ls /home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar It is there He

CoyoteConnector startup errors

2004-04-07 Thread Randy Paries
hello I have rh9, apache 2.0.49 , tomcat 4.1.30 and j2 connector, jk2-2.0.4 this is a brand new install. I appears to be working but i am getting errors when it starts CoyoteConnector Coyote can't register jmx for protocol I have seen a couple of references to this in the list arc

CoyoteConnector startup errors

2004-04-06 Thread Randy Paries
hello I have rh9, apache 2.0.49 , tomcat 4.1.30 and j2 connector, jk2-2.0.4 this is a brand new install. I appears to be working but i am getting errors when it starts CoyoteConnector Coyote can't register jmx for protocol Can someone tell me how to debug / fix this Thanks randy

Is there log files for mod_jk2.so like mod_jk.so

2004-04-06 Thread Randy Paries
Hello, I have gotten mod_jk2.so working with my apache2 and tomcat 4 With the mod_jk I had some directives in my httpd.conf JkLogFile /usr2/wwwlogs/mod_jk_4.log JkLogLevelerror It appears that I need to put directives in my worker2.properties For the life of me I can not find anywhere

RE: Building jk2-2.0.4 on rh9 having some problems

2004-04-06 Thread Randy Paries
uest Drew -Original Message- From: Randy Paries [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 5:29 PM To: 'Tomcat Users List' Subject: RE: Building jk2-2.0.4 on rh9 having some problems Thanks for you help file /usr/lib/httpd/modules/mod_jk2.so /usr/lib/httpd/module

RE: Building jk2-2.0.4 on rh9 having some problems

2004-04-05 Thread Randy Paries
--Original Message----- From: Randy Paries [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 4:12 PM To: 'Tomcat Users List' Subject: RE: Building jk2-2.0.4 on rh9 having some problems I have mod_perl and apache loads it fine. Thanks Rp -Original Message- From: Hamilton, A

RE: Building jk2-2.0.4 on rh9 having some problems

2004-04-05 Thread Randy Paries
and is apache loading them? -Original Message- From: Randy Paries [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 12:25 PM To: 'Tomcat Users List' Subject: RE: Building jk2-2.0.4 on rh9 having some problems Yes mod_jk2.so exists Thanks for your help -Origin

RE: Building jk2-2.0.4 on rh9 having some problems

2004-04-05 Thread Randy Paries
.Does the module exist in /etc/httpd/modules? -Original Message- From: Randy Paries [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 11:58 AM To: 'Tomcat Users List' Subject: RE: Building jk2-2.0.4 on rh9 having some problems Actually ls -ls /etc/httpd/ total 12 0 lrwxr

RE: Building jk2-2.0.4 on rh9 having some problems

2004-04-05 Thread Randy Paries
ning into pathing problems. Your using /usr/lib/httpd/modules and /etc/httpd/modules. apache wants to use /etc/httpd/modules. Copy your mod_jk2.so there. Drew -Original Message- From: Randy Paries [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 11:46 AM To: 'Tomcat Users List&

Building jk2-2.0.4 on rh9 having some problems

2004-04-05 Thread Randy Paries
Hello I am building jk2-2.0.4 on rh9 and apache 2 I first configure ./configure --with-apxs2=/usr/sbin/apxs --with-java-home=${JAVA_HOME} --with-java-platform=2 --enable-jni Make (no errors) cd ../build/jk2/apache2

A couple of performance related questions

2004-04-03 Thread Randy Paries
Hello, I have a couple of performance questions. BTW, yesterday someone sent out to the list a chart of times for connectors. I accidentally deleted it and can not find it on the archive. Could someone that still has that please email it to me directly? I am using rh9, tomcat 4, apache 2 1) Is

tuning

2004-04-02 Thread Randy Paries
Hello I am looking for docs/howto on tuning I am setting up some new boxes with rh9, tomcat 4 and apache 2 Any heads up from experience would help as well I am move the code from a rh7, tomcat 4 and apache 1.3 Thanks Randy -

RE: Getting all these errors in my mod_jk_4.log

2004-04-01 Thread Randy Paries
Ok, Just call me stupid JkLogLeveldebug DUH!!! -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 1:07 PM To: Tomcat Users List Subject: Re: Getting all these errors in my mod_jk_4.log On Thu, Apr 01, 2004 at 12:46:29PM -0600, Randy Paries wrote

RE: Getting all these errors in my mod_jk_4.log

2004-04-01 Thread Randy Paries
3:25:06 2004] [jk_uri_worker_map.c (618)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 1:07 PM To: Tomcat Users List Subject: Re: Getting all these errors in my mod_jk_4.log On Thu, Apr 01

Getting all these errors in my mod_jk_4.log

2004-04-01 Thread Randy Paries
hello i have an apache 2.0 and tomcat 4.1.30 and i compiled the mod_jk on my box i have three virtual hosts only one has the (directives) JkMount /*.jsp worker1 JkMount /servlet/* worker1 everytime one of the other sites gets access i get the following entry in the mod_jk.log file [T

servlets and cookies

2003-10-14 Thread Randy Paries
Hello i assume this is more of a servlet programming problem that tomcat, but i hope someone has some insight? Please tell me i can do this: 1)i go to a jsp page and if it does not find the exist of a cookie it forwards to a login screen 2) the login screen submits to a servlet, and then set so

deperatly looking for mod_jk.so for Apache/2.0.40 jakarta-tomcat-4.0.4

2003-10-04 Thread Randy Paries
hello, I have spent two days tried t o build the mod_jk.so for Apache/2.0.40 jakarta-tomcat-4.0.4 on redhat 8 if someone has a binary mod_jk.so for this config , i would REALLY REALLY appreciate it Thanks

RE: DEBUG JSP

2003-02-20 Thread Randy Paries
Not sure what ide you are using, but with intellij by idea you can debug jsp's with tomcat and remote debug It works very well RP -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 8:54 AM To: 'Tomcat Users List' Subject: RE: DEBUG

Tomcat and JNDI

2003-01-13 Thread Randy Paries
p would be greatly appreciated Thanks Randy Paries javax.naming.NamingException: Context is read only at org.apache.naming.NamingContext.checkWritable(NamingContext.java:942) at org.apache.naming.NamingContext.bind(NamingContext.java:870) at org.apache.naming.NamingCo

RE: is this normal??

2003-01-02 Thread Randy Paries
-Original Message- From: Randy Paries [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 11:37 AM To: 'Tomcat Users List' Subject: RE: is this normal?? 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 g

RE: is this normal??

2003-01-02 Thread Randy Paries
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 not at the tuning level When I do a top I get: These top 4 are always at the top 29616 apache25 0 87368 78M 14256 R46.8 7.8 388:13 java 2290 apache25

RE: Should not be this hard(why is this a security risk)

2002-12-19 Thread Randy Paries
le by editing $CATALINA_HOME/conf/web.xml to uncomment the "/servlet/*" servlet-mapping definition. Using the invoker servlet in a production environment is not recommended and is unsupported. -Original Message- From: Randy Paries [mailto:[EMAIL PROTECTED]] Sent: Thursday, Decem

Should not be this hard

2002-12-19 Thread Randy Paries
Hello, me again This should have been so easy (famous last words) I am upgrading from tomcat jakarta-tomcat-4.0.4 to jakarta-tomcat-4.1.17 4.0.4 was working fine. For some reason I can not find my servlets ARG! In my web.xml I have a and in the log file , the servlet Starts ok But if I

RE: Which connector is best to use between apache 1.3 and tc 4.1.17

2002-12-19 Thread Randy Paries
ant to consider moving to CoyoteConnector on the Tomcat side, that will mean less work for you in the future if you decide to move from JK to JK2, since CoyoteConnector can handle both. John > -Original Message----- > From: Randy Paries [mailto:[EMAIL PROTECTED]] > Sent: Thursday, Decemb

Which connector is best to use between apache 1.3 and tc 4.1.17

2002-12-19 Thread Randy Paries
Hello, I am trying to upgrade to apache apache-1.3.27-2 and jakarta-tomcat-4.1.17 on linux RH7.3 What is the best connector to use. In my current config I am using Ajp13Connector Is this what I should continue to use, or use another? Thanks -- To unsubscribe, e-mail:

RE: mod_jk leaves connections open?

2002-12-18 Thread Randy Paries
The one question I have, is does the connections ever close again. I have peak times where I will have 60-80 connections open. But they never close again Randy -Original Message- From: Jason Koeninger [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 12:09 PM To: Tomcat User

Questions about tomcat as ps -ef

2002-12-17 Thread Randy Paries
Hello, I am running tomcat jakarta-tomcat-4.0.4 and apache apache-1.3.27-2 My question is about all the tomcat processes/threads. It seems they never seem to go a way. I had to increase my maxProcessors="150" , because I was running out of connections between apache and tomcat. It seems that wh

RE: Starting tomcat as user apache instead of root

2002-11-16 Thread Randy Paries
'm pretty confident that should work and your tomcat server will be able to read the doc root Hope that helps Jan-Michael ----- Original Message - From: "Randy Paries" <[EMAIL PROTECTED]> Date: Saturday, November 16, 2002 6:08 am Subject: Starting tomcat as user apache

Starting tomcat as user apache instead of root

2002-11-16 Thread Randy Paries
Hello, Currently I am starting tomcat as root. This is not the best thing to say the least Both tomcat and apache have to share files. (Actually I upload files using both) So I need to start tomcat as the user apache So how is this best way to do that? Should I do a su - apache -c $TOMCAT_HOME/bi

Best practices question

2002-10-18 Thread Randy Paries
Hello, I was wondering are most people starting tomcat from root, or are they doing it other ways. What is the suggestion for this. How big are the security issues if started by root Would it be ok to start it by user apache? Thanks -- To unsubscribe, e-mail:

RE: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-04 Thread Randy Paries
The only problem with using setContentType is a wonderful bug in IE Not sure if it is for excel but we are having the problem with pdf's The work around is to but a dummy name/value in the query string Foo=.pdf RP -Original Message- From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED]] Se

trouble moving from jakarta-tomcat-3.2.2 to jakarta-tomcat-4.0.4

2002-08-31 Thread Randy Paries
Hello, I have 2 boxes running redhat 7.1 they are running apache Apache/1.3 One box converted to tomcat 4 and I can not make the other one work Before i give the gory details, the one that works is running Apache/1.3.14 (bart) the one that does not is running Apache/1.3.12 (homer) both are

RE: Error Log

2001-08-13 Thread Randy Paries
This is an error from a user that bookmarks your site with an IE5 browser. The browser looks by default for favicon.ico in the root directory. /usr/local/apache/htdocs/favicon.ico -Original Message- From: Barnabas Yohannes [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13, 2001 2:56 PM

Is there a way to get the Doc Root

2001-07-30 Thread Randy Paries
Title: RE: what is this number -2147483646 Hello,   This may be more of a JSP or Servlet question, but I am sure someone in this group would know the answer   I have an Web application /Myapp and I have a bunch of jsps in an admin directory. I am going to distribute this in a generic war fi

RE: How can I speed up my development process?

2001-07-12 Thread Randy Paries
Title: tomcat-apache?? why Jserv Module? I improved the speed of jbuilder debug substantially by adding the param -classic to the vm arguments   Randy -Original Message-From: Harrison, Robert [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 12, 2001 10:47 AMTo: [EMAIL PROTECTED]

RE: Servlet File upload Oreily MultipartParser problems

2001-07-07 Thread Randy Paries
"Y"s you are seeing mean, but the above works for me. Regards, Pete. Thus spake "Randy Paries" <[EMAIL PROTECTED]> on Sat, 7 Jul 2001 09:11:53 -0500: RP> Hello, RP> RP> does anyone have the Oreily MultipartParser file upload working with Tomcat RP> and apache on

Servlet File upload Oreily MultipartParser problems

2001-07-07 Thread Randy Paries
Hello, does anyone have the Oreily MultipartParser file upload working with Tomcat and apache on Linux. I have developed this upload servlet using Jbuilder 4 and Win2000. The servlet works with the Jbuilder debugger(tomcat 3.1) and jrun. But is does work when I push it to my production linux box

Trying to add a new app

2001-06-05 Thread Randy Paries
Hello, I am trying to add a new app to my tomcat/apache. from my server.xml I have the top works but the bottom does not. i would assume that I call the first one( i am going thru tomcat right now, will do the apache next) http://www.mynode.com:8080/servlet/g

RE: getting Broken pipe: Broken pipe on console

2001-04-10 Thread Randy Paries
hread.run(Thread.java:484) === Any suggestions on debugging or troubleshooting. Thanks Randy Paries

RE: problems whilst loading servlets for the first time

2001-03-14 Thread Randy Paries
I have seen that when I don't stop and start apache in the correct order. after I load new servlets class files, I stop httpd stop tomcat start tomcat start httpd I do not see those problems anymore. RP -Original Message- From: Rui M . Silva Seabra [mailto:[EMAIL PROTECTED]] Sent

RequestDispatcher.include vs RequestDispatcher.forward(am I doing this the correct way???)

2001-01-23 Thread Randy Paries
I will try to be brief, but this will need to explanation. 1) I was going to search the archives , but the search engine is down, so please don't flame to bad. I have jsps, that refer to database objects that have been populated by a servlet and then forwarded to the jsp. Looking at the code

RequestDispatcher.include vs RequestDispatcher.forward(am I doing this the correct way???)

2001-01-22 Thread Randy Paries
I will try to be brief, but this will need to explanation. 1) I was going to search the archives , but the search engine is down, so please don't flame to bad. I have jsps, that refer to database objects that have been populated by a servlet and then forwarded to the jsp. Looking at the code

RE: redirect to a static page from tomcat to apache

2001-01-01 Thread Randy Paries
ng the URL, e.g., String URL = "http://localhost/foo/x.html"; My recollection (such as it is) is that Tomcat takes /name as relative to the current webapp; I *think* that fully-qualifying the URL will get around this. --Glenn -Original Message- From: Randy Paries [mailto:[EMAIL

redirect to a static page from tomcat to apache

2001-01-01 Thread Randy Paries
Hello, Is there anyway to do a forward from a servlet in tomcat to a static page that apache only knows. ie. apache knows that /foo is /home/foo. but when the servlet executes and does the following(see snippet below), Tomcat does not know where /foo is mapped to. If I set up a context in server

a couple of 3.2.1 upgrade questions

2000-12-27 Thread Randy Paries
Hello, I have a couple questions before I do My upgrade.(linux/apache) from 3.1 to 3.2 1) I noticed in the bin directory there is no linux mod_jk. Can I use the 3.1.1 version? 2) When upgrading from one version to another, do I save files like the server.xml and other config files? Are they

apache and WebApps and jsp's

2000-12-26 Thread Randy Paries
I am close, but seem to be missing something. I am running apache with mod_jk i am using JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 I will try to be short in my description. I have a servlet that loads up a class and then redirects it to a JSP. This works fine, but

RE: Sooo Close, Apache, Tomcat missing one thing

2000-11-27 Thread Randy Paries(WK)
Close, Apache, Tomcat missing one thing You have to mention document base in server.xml SHuklix -Original Message- From: Randy Paries [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 25, 2000 9:41 AM To: [EMAIL PROTECTED] Subject: Sooo Close, Apache, Tomcat missing one thing So I am p

Sooo Close, Apache, Tomcat missing one thing

2000-11-24 Thread Randy Paries
o look for the file/class . Thanks for any help/ direction Randy Paries

Apache In-process servlet Containers

2000-11-21 Thread Randy Paries
, and there is even a separate help doc for Netscape and Ie for In-process servlets. I could not find doc on how to implement for Apache. Can you have In-process servlet containers with apache? Can someone point me to the docs to implement this configuration. Thanks Randy Paries