Re: Problems with mod_jk2

2003-06-24 Thread Eric J. Pinnell
Here is a simple config to get if off the ground for a TCP connection: After you have loaded mod_jk2.so in the modules directory of apache add: LoadModule jk2_module modules/mod_jk2.so JkSet config.file /path/to/apache/conf/workers2.properties to your httpd.conf file. Then in

Re: Problems with mod_jk2

2003-06-24 Thread Eric J. Pinnell
method would be to include both the port= and host= parameters under the [channel.socket:.] section. I _think_ this helps. Norm - Original Message - From: Eric J. Pinnell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 9:52 AM Subject: Re

high level architecture question.

2003-06-25 Thread Eric J. Pinnell
Hi, I have a simple question that I am hoping will clear up some confusion I have around JK2. I also thing that the JK2 stuff might also apply to mod_jk. Our setup: 2 Apache 2.0.46 boxes and 2 Tomcat 4.1.24 boxes connected with JK2. Each Tomcat is running a single instance of the application.

RE: mod jk2 problem, segmetation fault

2003-07-01 Thread Eric J. Pinnell
Hi, 14009 works 48009 doesn't. The apache error log says that it can't connect. According to tomcat the Connector is listening and a netstat shows the port in a LISTEN state. I have a random guess harkening back to my C days: 32767 won't work. Give it a shot. Has to do with 2^16 int

Re: mod jk2 problem, segmetation fault

2003-07-01 Thread Eric J. Pinnell
I could be wrong...it was my understanding that JK2 was only supported by CoyoteConnector. Since both, I believe, use the AJP13 protocol, I guess its possible that Ajp13Connector could/would/might work. I know more about what DOES work than what DOESN'T work. ;) It works *sorta*. It

Re: tomcat-user Digest 1 Jul 2003 20:23:51 -0000 Issue 3015

2003-07-01 Thread Eric J. Pinnell
Freakish things once in while? Weird stuff? Sounds like what's happening to us...this is with TC 4.0.4 that I have Ajp13Connector with JK2 - I also have a TC 4.1.24 with CoyoteConnector/JK2 running in test and would like to move to that one. Do you have any strange error messages showing up

Re: PLEASE HELP - Apache mod_jk2 loses communication with Tomcat

2003-07-01 Thread Eric J. Pinnell
Your workers2.properties looks a little off. I don't know if this is the root of your problem but it should look more like: [shm] file=${serverRoot}/logs/shm.file size=1048576 [lb:lb_01] info=Default load balancer. debug=0 # Example socket channel, override port and host.

RE: PLEASE HELP - Apache mod_jk2 loses communication with Tomcat

2003-07-01 Thread Eric J. Pinnell
://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.24/src/ I use: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.2/src/jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz -e Thanks! Jamey -Original Message- From: Eric J. Pinnell [mailto:[EMAIL

RE: mod jk2 problem, segmetation fault

2003-07-01 Thread Eric J. Pinnell
Hi, For anyone that cares I changed the 'long's to 'unsigned short's with some advice from Jeff Trawick. Still looks good after a some load. It's not being hammered but it looks ok. -e On Tue, 1 Jul 2003, Eric J. Pinnell wrote: Hi, This tweak on jakarta-tomcat-connectors-jk2-2.0.2-src/jk

RE: Need your suggestion

2003-07-02 Thread Eric J. Pinnell
Oracle AS is an OEM'd version of the orion server with Oracle specific hooks. You can download orion from http://www.orionserver.com. I think it's free but there is some licenseing issues. I'd stick with Tomcat since it is GPL'd and it is the basis that Sun uses to develop the JSP and Servlet

RE: PLEASE HELP - Apache mod_jk2 loses communication with Tomcat

2003-07-02 Thread Eric J. Pinnell
, etc? alot. :) -e Jamey -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 6:09 PM To: Tomcat Users List Subject: RE: PLEASE HELP - Apache mod_jk2 loses communication with Tomcat Hi, On Tue, 1 Jul 2003, James Courtney wrote

Re: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP withmod_jk)

2003-07-02 Thread Eric J. Pinnell
I think JkSet config.file needs a full path. You can't short cut it like you can with a LoadModule. JkSet config.file /path/to/apache/conf/workers2.properties. I think right now it's not seeing your config file. Dunno... try it. -e On Wed, 2 Jul 2003, Yishay Mor wrote: I've read the

RE: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP withmod_jk)

2003-07-02 Thread Eric J. Pinnell
. So, I guess if anyone else has the same problem, this config should work for you too... Eric J. Pinnell wrote: I think JkSet config.file needs a full path. You can't short cut it like you can with a LoadModule. JkSet config.file /path/to/apache/conf/workers2.properties. I think right

Re: The notorious RH8+Apache2.0.4+Mod_jk2 (was: Re: HELP withmod_jk)

2003-07-02 Thread Eric J. Pinnell
the last two weeks. The alternative is to just build JK from source and use that...it would probably be a lot less hassle. John On Wed, 2 Jul 2003 13:41:22 -0400 (EDT), Eric J. Pinnell [EMAIL PROTECTED] wrote: I think JkSet config.file needs a full path. You can't short cut

Re: How to compile mod_jk2.c

2003-07-02 Thread Eric J. Pinnell
Hi, If you dl'd the source and built it sucessfully you will have the finished product, mod_jk2.so, in the build directory. It's a DSO. So you would copy that to the apache modules directory and load it in the httpd.conf file. -e On Wed, 2 Jul 2003, [ISO-8859-1] Thomas Gagné wrote: I

Re: Tiomcat 4.1.24 HTTP Status 404 - The requested resource (servlet)is not available

2003-07-02 Thread Eric J. Pinnell
Hi, Around Tomcat 4.1.12 the servlet invoker was disabled by default expect for the examples. In previous versions in was enabled. You need to enable it for your application. -e On Wed, 2 Jul 2003, John Bell wrote: I have Tomcat 4.02 working using servlets and JSP and have now installed

Re: How to compile mod_jk2.c

2003-07-02 Thread Eric J. Pinnell
no mod_jk2.so Eric J. Pinnell wrote: Hi, If you dl'd the source and built it sucessfully you will have the finished product, mod_jk2.so, in the build directory. It's a DSO. So you would copy that to the apache modules directory and load it in the httpd.conf file. -e On Wed, 2 Jul 2003

Re: can not build jk or jk2

2003-07-03 Thread Eric J. Pinnell
HI, I'll field this again... I'm sure it's in the archives by now. And I only know about JK2. So... BUILD FAILED file:/home/mm/jakarta-tomcat-connectors-jk2-2.0.2-src/build.xml:11: Basedir /home/mm/jakarta-tomcat-connectors-jk2-2.0.2-src/util does not exist I don't use ant. I use the

RE: reply urgently tomcat installation query !!!!!!!

2003-07-03 Thread Eric J. Pinnell
Hi, This is off topic but does tomcat/JDK even work on windows 98? -e On Thu, 3 Jul 2003, Shapira, Yoav wrote: Howdy, Don't use JDK 1.2, use JDK 1.3 or later. Set JAVA_HOME via the environment tab in My Computer. Yoav Shapira Millennium ChemInformatics -Original Message-

Re: mod_jk2 uri questions

2003-07-07 Thread Eric J. Pinnell
Hi, What is your httpd.conf entry? Your workers2.properties files looks ok. You include things you want Tomcat to do rather than exclude things. You are not including /images so apache should handle those requests. -e On Mon, 7 Jul 2003, Catalin Constantin wrote: hi there i have in my

RE: mod_jk2 uri questions

2003-07-07 Thread Eric J. Pinnell
the manager webapp --- end i am using apache 2.0.46 and tomcat 4.1 thanx again ! Catalin Constantin Bounce Software www.bounce-software.com -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 5:27 PM To: Tomcat Users List

RE: mod_jk2 uri questions

2003-07-07 Thread Eric J. Pinnell
remove the *.jsp line then the jsp files are printed (source). so it must be something else ! any clue ? Catalin Constantin Bounce Software www.bounce-software.com -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 5:36 PM To: Tomcat

RE: mod_jk2 uri questions

2003-07-07 Thread Eric J. Pinnell
Bounce Software www.bounce-software.com -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 5:50 PM To: Tomcat Users List Hi, Try removing the hostname from the URI. So [uri:www.mysite.com/*.jsp] would just

RE: mod_jk2 uri questions

2003-07-07 Thread Eric J. Pinnell
Interesting... http://issues.apache.org/bugzilla/show_bug.cgi?id=14017 Don't know if it will help... -e On Mon, 7 Jul 2003, Eric J. Pinnell wrote: Hmm... well ya got me. I'm not a pro with Vhosts in tomcat. I use one apache and one tomcat per application/site. JK2 is getting confused

Re: URI Mapping question

2003-07-07 Thread Eric J. Pinnell
You could always try it and find out. I would guess that if it accepts wildcards at all that that would work. But I'd try it first. -e On Mon, 7 Jul 2003, Atreya Basu wrote: I've got a quick question; In the workers2.properties I am trying to map a URL. Does the mapping work like a

Re: problem compile mod_jk2

2003-07-08 Thread Eric J. Pinnell
Hi, Try just using the --use-apxs2 option. -e On Tue, 8 Jul 2003, Gianni Martiradonna wrote: Hello I have compile the mod_jk2 (see below). And when I run make, I received follow error: ../../common/jk_vm_default.c: In function `jk2_vm_guessJvmDll': ../../common/jk_vm_default.c:449:

Anyone seen this error before?

2003-07-08 Thread Eric J. Pinnell
I am getting this error and have looked through the archives and found mixed results on what the root cause was. Anyone seen this error and know what it is? It's so generic that it's hard for me to tell. 2003-07-06 11:58:08 CoyoteAdapter An exception or error occurred in the container during

Re: Anyone seen this error before?

2003-07-08 Thread Eric J. Pinnell
I don't really know what the developers are trying to do. I guess my question is is it a problem with the JK2 connector?. Because it comes up and says: CoyoteAdapter An exception or error occurred in the container during the request processing java.lang.NullPointerException The developers

Re: problem: add in httpd.conf :mod_jk2.so

2003-07-08 Thread Eric J. Pinnell
Hi, in httpd.conf make sure you have LoadModule jk2_module modules/mod_jk2.so I think you have jk_module in their now. -e On Tue, 8 Jul 2003, Gianni Martiradonna wrote: hi When is start apache received follow error: Can't locate API module structure `jk_module' in file

Re: Anyone seen this error before?

2003-07-08 Thread Eric J. Pinnell
? This only happening in one spot? Lukas Eric J. Pinnell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I don't really know what the developers are trying to do. I guess my question is is it a problem with the JK2 connector?. Because it comes up and says: CoyoteAdapter

Re: performance

2003-07-08 Thread Eric J. Pinnell
Yup, upgrade. Then tune solaris (/etc/system) and the TCP settings via ndd. The TCP stuff makes a world of difference. Then make sure your developers use some kind of profiling tool to tune their code. -e On Tue, 8 Jul 2003, Tim Funk wrote: Easiest performance improvement, upgrade to

Re: prompt for password at startup

2003-07-08 Thread Eric J. Pinnell
Well, if the tomcat user (Unix) is the only one that can start tomcat they have to have a password to login in the first place... right? root should be able to do anything... so that's a special case. -e On Tue, 8 Jul 2003, Mark W. Webb wrote: Is there an accepted way to prompt for a password

Re: Mod_jk with apxs

2003-07-08 Thread Eric J. Pinnell
Install 2.0.46 from source... :) -e On Tue, 8 Jul 2003, Dumisani Nlebgwa wrote: Hi guys, I am using apache 2.0.40 that came with my redhat distribution and I am trying to make my mod_jk from source. Apparently I have to do './configure --with-apxs=path_to_apxs' However, my problem is that

Re: Apache Tomcat modjk2

2003-07-09 Thread Eric J. Pinnell
Hi, Sometimes you need to put JkSet config.file /full/path/to/workers2.properties To tell apache where the workeres2.properties file is. Sometimes it doesn't find it by itself. But all that other Jk stuff below you don't need. -e On Tue, 8 Jul 2003 [EMAIL PROTECTED] wrote: Hello- I have

Re: mod_webapp or mod_jk2

2003-07-09 Thread Eric J. Pinnell
JK2 and mod_jk have load balancing and really cool stuff like that. It's more the direction things are going. It also loadbalances across different machines. mod_webapp was designed for a single machine using the WARP protocol. From the name you can tell is was designed to be fast. And it is.

Re: determining version of mod_jk.so

2003-07-09 Thread Eric J. Pinnell
Hi, I don't know if there is an official way but I did a 'strings mod_jk2.so' and found: mod_jk2/2.0.2 YMMV. -e On Wed, 9 Jul 2003, Maureen Barger wrote: can someone remind me how to do this under unix? thanks. - To

Re: determining version of mod_jk.so

2003-07-09 Thread Eric J. Pinnell
Ya... that makes sense. The latest release of JK2 is 2.0.2. You could possibly be running 2.0.0. I don't know where it's getting 2.0.43 from... sounds like an apache version. -e On Wed, 9 Jul 2003, Rick Roberts wrote: However; I did a 'strings mod_jk2-2.0.43.so' and found:

Re: Where can I download latest mod_jk2.so?

2003-07-09 Thread Eric J. Pinnell
Hi, That's mod_jk. JK2 is on the same server, different directory http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/ -e On Wed, 9 Jul 2003, Maureen Barger wrote: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/ At 02:00 PM 7/9/2003 -0400, you

Re: Where can I download latest mod_jk2.so?

2003-07-09 Thread Eric J. Pinnell
Hi, It's the latest pre-built binary (Oct of 2002). Which isn't very new. You could compile 2.0.2. -e On Wed, 9 Jul 2003, Rick Roberts wrote: Thanks. It looks like mod_jk2-2.0.43.so is the latest for Linux. So, maybe I am current after all. --

Re: INFO: RESET in catalina.out Server 500 under load

2003-07-10 Thread Eric J. Pinnell
Hi, If it's any consolation we see these informational messages too sometimes under almost non-existant load. I have heard that in earlier versions of apache (1.x) it reset itself under certain conditions and it was a normal thing to see this message. I also heard a _rumor_ that the apache

Re: Apache 2.0.43 + mod_jk2 + Tomcat 4.1.24 on LINUX RH8 : (

2003-07-10 Thread Eric J. Pinnell
Hi, I think we did this last week... with RH8. The solution was to put JkSet config.file /full/system/path/to/workers2.properties in the httpd.conf file. Many times JK2 doesn't see your properties file and takes some wierd kind of self initiated defaults. -e On Thu, 10 Jul 2003, Bentzy

Re: [FAQ] Re: Apache 2.0.43 + mod_jk2 + Tomcat 4.1.24 on LINUX RH8 : (

2003-07-10 Thread Eric J. Pinnell
I think it's a good idea. It should be noted that this setting isn't RH8 specific. I had to use it on Solaris. -e On Thu, 10 Jul 2003, John Turner wrote: This should probably go in the FAQ under miscellaneous. John On Thu, 10 Jul 2003 11:29:48 -0400 (EDT), Eric J. Pinnell [EMAIL

Re: Apache 2.0.40 and tomcat 4.1.24

2003-07-10 Thread Eric J. Pinnell
I wish I could get 199 Euros for setting up apache/tomcat/JK-JK2 on Linux. :) I'd try to do everything from source. -e On Thu, 10 Jul 2003, Benjamin Cox wrote: Though the information John sent you is definitely the right place to start, let me warn you that I, for one, never made Apache

Re: Run as nonroot user

2003-07-10 Thread Eric J. Pinnell
Hi, In order to open a port 1024 you must be root. So you have to be root to listen on port 80. You can install sudo access and let them run the start command as root but by doing so you are giving the webmasters access to run a shell script as root. They could edit it and put anything they

Re: Memory usage

2003-07-10 Thread Eric J. Pinnell
Hi, You could turn on verbose garbage collection and it will give you detailed info on the gc'ing. It will show you how much memory it is using... like a kinda before the collection and after the collection reading. This isn't something you want to run in production (for a long time at least).

RE: Run as nonroot user

2003-07-10 Thread Eric J. Pinnell
It works for me. Some people are superstitious and I have a tendancy to bang things around. You could always try it and see if it works for you. -e On Thu, 10 Jul 2003, Michele Neylon:: Blacknight Solutions wrote: A better solution would be to run apache as a front end and have it

Re: [FAQ] Re: Apache 2.0.43 + mod_jk2 + Tomcat 4.1.24 on LINUX RH8 : (

2003-07-10 Thread Eric J. Pinnell
(and the rest of the thread) -Tim John Turner wrote: This should probably go in the FAQ under miscellaneous. John On Thu, 10 Jul 2003 11:29:48 -0400 (EDT), Eric J. Pinnell [EMAIL PROTECTED] wrote: Hi, I think we did this last week... with RH8. The solution was to put

Re: JK2

2003-07-11 Thread Eric J. Pinnell
Hi, I use unix sockets when both apache and tomcat are on the same server because they are fast. Although before I install it I always ask myself if they are on the same box do I need to run Apache at all? If you aren't using any of the tricked out features of Apache you would be better off

Re: Need help with performance issue - Tomcat 4.1.X

2003-07-12 Thread Eric J. Pinnell
ditto. There is no sure fire way from the system aspect (CPU, run queue, etc) that will tell you what's going on. You need to peek inside the VM and see what it's doing. -e On Fri, 11 Jul 2003, John Turner wrote: Like I said, I'm no guru. Sounds like you need to bust out a profiler. John

Re: Another JK2 question

2003-07-12 Thread Eric J. Pinnell
Hi, mod_jk and JK2 are configured totally different from each other. No more JkMount's or anything. Since I'm not a pro at mod_jk I can't tell you what's exactly is still supported but just by looking at it I'd say slim to none. -e On Sat, 12 Jul 2003, Jay Garala wrote: Folks, Maybe i

Re: need a working mod_jk2 for RH Apache 2.0.40

2003-07-18 Thread Eric J. Pinnell
I think one way is to remove the rpm from redhat and install the httpd server from apache.org and not use package management . But I was hoping to avoid if I can . That's the best thing you can do. -e - To unsubscribe,

Re: tomcat, jk2 and apache

2003-07-21 Thread Eric J. Pinnell
Hi, Look through the archives and you will find numerous discussions on this subject. -e On Sun, 20 Jul 2003, Seamus Hanly wrote: Hi, I am trying to set up Apache/2.0.40 to talk to Tomcat 4.1.24 using jk2 connector on Red Hat 9.0. This is my first time setting something like this up so

crazy iPlanet/Tomcat question.

2003-07-21 Thread Eric J. Pinnell
Hi, I have seached and looked through the archives with no luck. I have also experimented quite a bit and have a question: I currently have iPlanet 4.1 connected to Tomcat 4.1.18 via the NSAPI redirector on Solaris. However it will not load the default page (welcome page) such as index.jsp.

Re: crazy iPlanet/Tomcat question.

2003-07-22 Thread Eric J. Pinnell
/ApacheConfig/NSConfig/. Eric J. Pinnell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have seached and looked through the archives with no luck. I have also experimented quite a bit and have a question: I currently have iPlanet 4.1 connected to Tomcat 4.1.18 via the NSAPI

Re: Env var serverRoot or JkSet config.file

2003-07-24 Thread Eric J. Pinnell
Hi, I use: JkSet config.file /usr/local/apache/conf/workers2.properties you have to have the full system path in there. You can't shortcut it like you can in a LoadModule statement. (i.e. modules/mod_jk2.so) -e On Thu, 24 Jul 2003, [iso-8859-1] Ivan Montoro wrote: Nicolas, Simon, many

Re: Env var serverRoot or JkSet config.file

2003-07-24 Thread Eric J. Pinnell
to mention is just set after mod_jk2 LoadModule with full path, and file exists LoadModule jk2_module modules/mod_jk2.so JkSet config.file /opt/httpd/conf/workers2.properties --- Eric J. Pinnell [EMAIL PROTECTED] wrote: Hi, I use: JkSet config.file /usr/local/apache/conf/workers2

Re: Tomcat not working behind a NAT?

2003-07-24 Thread Eric J. Pinnell
Hi, I was unaware that tomcat connects to itself on a high port. Never the less, Tomcat should be completely unaware of the 204.1.1.1 address. If your NAT is totally transparent the only place that IP lives is on the external interface of your firewall/NAT device. I don't see how that IP could

Re: Tomcat not working behind a NAT?

2003-07-24 Thread Eric J. Pinnell
Heh.. ya. That didn't all come out right. Use a host name instead of IP numbers and have internal and external DNS set up with the internal and external IP numbers of the host respectively. That's better. -e On Thu, 24 Jul 2003, John Turner wrote: Made sense to me. :) John Eric J

Re: buiding 4.24

2003-07-24 Thread Eric J. Pinnell
Hi, For the JK2 connector you should use the 2.0.2 source. Then compile with: ./configure --with-apxs2=/path/to/apxs then make then mod_jk2.so should be in down in the build directory. You need to manually copy the file to the apache modules directory. The complete step by step is in the

Re: Need Help For Iplanet Tomcat Configuration

2003-07-25 Thread Eric J. Pinnell
Hi, I'm not sure if cross posting like that was such a good idea... But since I just had to figure this out last week I will share what I learned. I had to play with this a bit befor I was able to get it to work. I was using Solaris so I can't help you with the correct version of the redirector

Re: buiding 4.24

2003-07-25 Thread Eric J. Pinnell
J. Pinnell wrote: || Hi, || || For the JK2 connector you should use the 2.0.2 source. || || Then compile with: || || ./configure --with-apxs2=/path/to/apxs || || then make || || then mod_jk2.so should be in down in the build directory. || || You need to manually copy the file

Re: Mod_jk on Solaris - has anyone actually ever built it?

2003-07-25 Thread Eric J. Pinnell
You might want to try JK2. I am able to build mod_jk2.so on Solaris 7 and 2.6 and 7 are pretty close to each other. You might want to give it a whirl. -e On Fri, 25 Jul 2003, John Turner wrote: I built it for Solaris 8. Good luck building it for 6, it took me three days and 2 reinstalls

Re: iPlanet and Tomcat integration on solaris

2003-07-25 Thread Eric J. Pinnell
a) The remoteUser is not being passed from iPlanet to Tomcat. My JSPS are reading the remoteUser using the request.getRemoteUser() method. I am using the RequestDumperValve to see what is being passed to Tomcat. The remoteUser value is invariably set to null. I looked at the source code

RE: Tomcat not working behind a NAT?

2003-07-25 Thread Eric J. Pinnell
I still think you are barking up the wrong tree here. If I had to guess I would say that 95% of all internet faceing Tomcat servers are behind some kind of NAT device. One thing to consider. NAT only translates the IP in the IP header and doesn't change the data payload. So if you are, for

RE: Tomcat not working behind a NAT?

2003-07-25 Thread Eric J. Pinnell
My question is, is that forward call a full http request? If so, what ip address will it use? I think that it is trying to use the 3.3.3.3 address and the NAT doesn't like it. Well ya. That's kinda what I've been saying. Don't hardwire the IP. So instead of using an IP use a hostname. For

Re: TCP/IP issues with tomcat 4.1.24

2003-07-25 Thread Eric J. Pinnell
Hi, That's interesting. I haven't seen it but it's interesting. Just curious, when the systems is exhibiting this behavior and you try to bring up a browser and re-inact a testing scenerio what happens? Is the system still responsive? Can you duplicate the error by hand? When you get that

Re: jk2 over seperate servers

2003-07-28 Thread Eric J. Pinnell
Hi, How about posting your workers2.properties file? -e On Mon, 28 Jul 2003, Martin Smith wrote: Sorry guys - school boy error. - Original Message - From: Martin Smith [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, July 28, 2003 12:55 PM Subject: Re: jk2

Re: coonnectionTimeout

2003-07-28 Thread Eric J. Pinnell
Hi, Good question. I always thought of '0' as being infinite and I wasn't aware of -1. One difference I see, and this seems to be Solaris specific, is that when I use '0' I get INFO: connection reset messages in Tomcat from the Connector. When I give it a time out of say 12 I no longer get

Re: Tomcat Education

2003-07-28 Thread Eric J. Pinnell
The Professional Apache Tomcat book is a good foundation how Tomcat works but it is intended for more of a sys-admin type than a developer. I thought it was pretty good on that aspect. Not many books cater to the poor admins who could really care less about the inner workings of someones tag

Re: A problem with configuring tomcat with apache.

2003-07-28 Thread Eric J. Pinnell
Hi, This is the mod_webapp config that comes with Solaris. I think I ran it for about a day or two. in httpd.conf the last line is: include /etc/apache/tomcat.conf tomcat.conf: LoadModule webapp_modulelibexec/mod_webapp.so AddModule mod_webapp.c WebAppConnectionconn

Re: rename workers2.properties file?

2003-07-28 Thread Eric J. Pinnell
Hi, Although I haven't heard of anyone doing this you could add in your httpd.conf: JkSet config.file /full/system/path/to/workers2.properties I don't see why you couldn't change that to anything you want. -e On Mon, 28 Jul 2003, Sullivan, Patrick wrote: With mod_jk it was easy to have a

Re: Best Tomcat Book, Recommendations??? PART 2

2003-07-28 Thread Eric J. Pinnell
Hi, I don't usually push books... people have different tastes. But I like the Wrox book. It's an administrators book. Basically how Tomcat is designed from an architecture standpoint (containers, contexts, valves, realms, what the directories are for, etc) and how to configure it

Re: Tomcat 4.1.18 crash.

2003-07-29 Thread Eric J. Pinnell
Hi, If it hangs get a thread dump by sending a 'kill -QUIT' to the process (Unix only). That will tell you more of whats going on in the VM than the logs do. From it you can tell where the threads are getting stuck. Hopefully that will point you in the right direction to debug. I think there

Re: jk2_init() Can't find child xxx in scoreboard

2003-07-29 Thread Eric J. Pinnell
Hi, Is this right at startup? If so it's not an error. It is just initializing. It should work correctly after startup. -e On Tue, 29 Jul 2003, [iso-8859-1] Jørgen[iso-8859-1] [iso-8859-1] Nørgaard wrote: Hello, there has been some recent discussion of this problem but no solution yet

RE: Off Topic: List Server for Tomcat

2003-07-29 Thread Eric J. Pinnell
Hi, Is java a requirement? You could save yourself a lot of time and troubles not reinventing the wheel. Majordomo has been around forever... -e On Tue, 29 Jul 2003, Pitre, Russell wrote: I think this is what i'm looking forexcept, its written in PerlI would like an implementation

Re: load testing tomcat

2003-07-29 Thread Eric J. Pinnell
Hi, My humble opinion is that you can't beat LoadRunner. It is expensive, but you get what you pay for. The reports are awesome and it doesn't goof up as bad as many other tools. It's scripting language is very rich. But like I said it isn't free. In fact unless you have budgeted for it

Re: Tomcat Crashing on Linux

2003-07-29 Thread Eric J. Pinnell
Hi, Check to make sure you aren't throwing a lock down somewhere and stacking up threads behind it. -e On Tue, 29 Jul 2003, Rick Roberts wrote: I had not seen this problem before I recently started implementing JDBCRealm on these servers. Anyone else having stability problems when using

Re: Tomcat Crashing on Linux

2003-07-29 Thread Eric J. Pinnell
Earlier today we were talking about thread dumps. You might want to generate some next time this is happening. It will show you if a thread is locked and what it is waiting on. send a kill -QUIT to the VM when it is hanging. It's often a good idea to get like 5 or 6 thread dumps right in a row

RE: Best Tomcat Book, Recommendations??? PART 2

2003-07-30 Thread Eric J. Pinnell
You're right,I guess you can always use it to prop your monitor up. :) -e On Wed, 30 Jul 2003, Aggarwal, Gautam (IE03) wrote: Can a book ever be 'Pure Garbage'? Please think about it! Gautam -Original Message- From: Tony LaPaso [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30,

Re: Problem with buildconf.sh

2003-07-30 Thread Eric J. Pinnell
What version of solaris is this? I wasn't paying attention. -e On Wed, 30 Jul 2003, John Turner wrote: Sorry, I don't have access to a Solaris play box anymore, so I'm at a loss on how to help you resolve this. Hopefully someone else has the answer. John [EMAIL PROTECTED] wrote:

Re: Problem with buildconf.sh

2003-07-30 Thread Eric J. Pinnell
: installing `scripts/build/unix/install-sh' configure.in: installing `scripts/build/unix/mkinstalldirs' configure.in: installing `scripts/build/unix/missing' autoconf bash-2.05$ Dunno what's going on over there. -e On Wed, 30 Jul 2003, Eric J. Pinnell wrote: What version of solaris is this? I wasn't

Re: Problem with tomcat and ssl

2003-07-30 Thread Eric J. Pinnell
You can't send http and https requests to the same port. -e On Wed, 30 Jul 2003 [EMAIL PROTECTED] wrote: Greetings, This will work - http://placeanad.classifiedmarketplace.net:8080/AdWebster but this will not https://placeanad.classifiedmarketplace.net:8080/AdWebster - why is this?

RE: Problem with buildconf.sh

2003-07-30 Thread Eric J. Pinnell
, Bobbie -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 10:44 AM To: Tomcat Users List Subject: Re: Problem with buildconf.sh Ok, Solaris 9 works for me. I had to install libtool-1.5, autoconf-2.57, and automake-1.7. I also had

RE: Problem with buildconf.sh

2003-07-30 Thread Eric J. Pinnell
' is required autoconf autoconf: no input file Anything else? -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 10:59 AM To: Tomcat Users List Subject: RE: Problem with buildconf.sh check your permissions

Re: Hooking Tomcat to Apache HTTPD

2003-07-30 Thread Eric J. Pinnell
Hi, Why don't you slim down that file and try something simple first. Like: [shm] file=${serverRoot}/logs/shm.file size=1048576 # socket channel [channel.socket:localhost:8009] port=8009 host=127.0.0.1 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 # Uri

Re: SOS Tomcat 5 and Apache httpd 2.0.47 on windows w2k

2003-07-30 Thread Eric J. Pinnell
Is tomcat listening on port 8009? -e On Wed, 30 Jul 2003, Julien Martin wrote: Hello, I am still trying to run tomcat 5 together with apache httpd. I altered the workers2.properties file as one of you suggested. Here it is now: ** [shm]

Re: SOS Tomcat 5 and Apache httpd 2.0.47 on windows w2k

2003-07-30 Thread Eric J. Pinnell
Jul 2003, Eric J. Pinnell wrote: Is tomcat listening on port 8009? -e On Wed, 30 Jul 2003, Julien Martin wrote: Hello, I am still trying to run tomcat 5 together with apache httpd. I altered the workers2.properties file as one of you suggested. Here it is now

Re: mod_jk

2003-07-31 Thread Eric J. Pinnell
Hi, Just an FYI... I'm looking our JK2 config now and DirectoryIndex is not set with index.jsp. The only thing that I can find is the welcome-file is index.jsp. The application pulls up index.jsp by default when you go to http://host/context/ I don't see any redirects as this application

Re: mod_jk

2003-07-31 Thread Eric J. Pinnell
works. It doesn't appear, at least on the surface, that they developer did anything special to get it to operate that way. -e On Thu, 31 Jul 2003, John Turner wrote: What about http://host/context without the trailing /? John Eric J. Pinnell wrote: Hi, Just an FYI... I'm

Re: Help with mod_jk2 + Coyote connector + Apache 2 + TC 4.1.24

2003-07-31 Thread Eric J. Pinnell
Hi, Try playing with the connectionTimout setting in your server.xml. By default it is set at 0. Try using 12. Also experiment with -1. I have found that the connector resets every once in a while with a 0. With 12 the connection doesn't reset but times out. I have heard that a -1

Re: Help with mod_jk2 + Coyote connector + Apache 2 + TC 4.1.24

2003-07-31 Thread Eric J. Pinnell
Someone can explain how analize data from a kill -3 ( thread dump ) . I can see nothing rare. Google for this. You could write a book about this subject and I don't think this is the right place to do it. Basically it's used to see if threads are blocked or hanging on a piece of code. If

Re: CiscoLB jk2 problem

2003-07-31 Thread Eric J. Pinnell
Hi, This is why you want to spread your application across two or more tomcats. I'm not sure if you can tweak the behavior of the error because what you are getting is indeed a internal server error. If you are going to load balance you should try to load balance all the way down the stack.

Re: Possible configuration error in JK2-Environment (Apache 2.0.46,Tomcat 4.1.18/24)

2003-07-31 Thread Eric J. Pinnell
Hi, Here is a minimal JK2 config. This is a default config so you need to change port 8009 below to port 9000 per your server.xml workers2.properties: bash-2.05$ more workers2.properties [shm] file=${serverRoot}/logs/shm.file size=1048576 # socket channel [channel.socket:localhost:8009]

Re: Possible configuration error in JK2-Environment (Apache 2.0.46,Tomcat 4.1.18/24)

2003-07-31 Thread Eric J. Pinnell
heh. Sorry. Forget the first line in my workers2.properties. I got a little wild with my cut and paste. -e On Thu, 31 Jul 2003, Eric J. Pinnell wrote: Hi, Here is a minimal JK2 config. This is a default config so you need to change port 8009 below to port 9000 per your server.xml

RE: CiscoLB jk2 problem

2003-07-31 Thread Eric J. Pinnell
No, I think you mentioned that. :) -e On Thu, 31 Jul 2003, Angus Mezick wrote: Dang, I forgot to mention that we have 6 machines set up like this (or to be set up like this). -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 2:18

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

RE: how to suppor 30000 concurrent users

2003-08-06 Thread Eric J. Pinnell
I would also do a serious reality check on the 30,000 concurrent users number. After going through something like the drill below you will find that you have architected yourself one big system. The sticker shock alone might be enough for people to go back and seriously reconsider their numbers.

Re: Tomcat 5.0.2 and IIS

2003-08-06 Thread Eric J. Pinnell
The IIS connector is ajp13. The coyote connector is ajp13 compliant so I think an experiment would be in order. I would guess it would work. -e On Tue, 5 Aug 2003, vikas jain wrote: If someone knows tomcat 5.0.2 works with IIS??? I tried to search for it, I got to know tomcat 3.3 works

RE: Starting tomcat from init scripts (HP/UX)

2003-08-07 Thread Eric J. Pinnell
the sender and delete the material from all computers. /disclaimer -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 2:11 PM To: Tomcat Users List Subject: Re: Starting tomcat from init scripts (HP/UX) Hi, It's been a while since I

Re: Problem with mod_jk2

2003-08-08 Thread Eric J. Pinnell
Hi, http://jakarta.apache.org/tomcat/faq/connectors.html -e On Wed, 6 Aug 2003 [EMAIL PROTECTED] wrote: Hello, I've compiled mod_jk2, and installed it intirely according to the instructions on the website. I'm using apache 2.0.47 and tomcat 4.1.24 I have the impression that the mod_jk2

  1   2   >