RE: Please help, I have a headache .. servlet init troubles

2004-01-19 Thread Hume, John - NA US HQ Delray
Just a stab Did you back up a copy of your application such that you might have something like this? /tomcat /webapps /myapp /myapp_bak /ROOT /... Maybe Tomcat is attempting to load myapp_bak with default settings. -Original Message- From: Allistair Crossley

maxProcessors vs maxThreads

2004-01-19 Thread Apu Shah
there seems to be some confusion about whether to use maxThreads or maxProcessors and the effect on tomcat. futher it is not clear from the docs which one to use and whether they have an effect on the protocol used by the connector. could someone please clarify this... using tomcat 5.0.16: the

AW: DataSource Realm

2004-01-19 Thread Pfingstl Gernot
This isn't what I want to do. In this way, you described, the web application can also obtain a DataSource and so a connection to the user database. We have a tomcat admin, which sets up the user database. And a lot of people which writes web application. The tomcat admin wants to protect the

RE: maxProcessors vs maxThreads

2004-01-19 Thread Shapira, Yoav
Howdy, there seems to be some confusion about whether to use maxThreads or maxProcessors and the effect on tomcat. futher it is not clear from the docs which one to use and whether they have an effect on the protocol used by the connector. Read the documentation carefully. The Coyote (HTTP)

RE: maxProcessors vs maxThreads

2004-01-19 Thread Apu Shah
thanks yoav, i noticed that but then does that mean that there is no method to specify max threads/processors for the coyote ajp connector? that sounds a bit strange how does tomcat behave with the ajp connector? does it indefinitely spawn threads to handle requests until it bombs out of

Re: maxProcessors vs maxThreads

2004-01-19 Thread Remy Maucherat
Shapira, Yoav wrote: Howdy, there seems to be some confusion about whether to use maxThreads or maxProcessors and the effect on tomcat. futher it is not clear from the docs which one to use and whether they have an effect on the protocol used by the connector. Read the documentation

RE: maxProcessors vs maxThreads

2004-01-19 Thread Shapira, Yoav
Howdy, thanks yoav, i noticed that but then does that mean that there is no method to specify max threads/processors for the coyote ajp connector? that sounds a bit strange If it's not documented, then there's no configurable way to do it. Of course, you can always subclass/extend a

session sharing for multiple webapps

2004-01-19 Thread Todd O'Bryan
I've googled and googled and I can't find what I'm looking for. I'd like to deploy several small webapps that share a login method. (Several small ones, because I teach high school and my students will be working on them. I'd prefer to break only small amounts of functionality at any one time

RE: maxProcessors vs maxThreads

2004-01-19 Thread Apu Shah
thanks yoav. this begs another question... under what circumstances would one choose to use the ajp connector? i am assuming it's probably a more compact and efficient protocol compared to http (not sure about that). in any case, if one never needs to access tomcat directly from a browser

Clustering question...

2004-01-19 Thread Rick Szeto
Hi All, I have question about synchronizing data within the application context. If the data of a webapp's application context changes within one of the nodes in the cluster, how does the other nodes get the updated application context data? Is it handle the same way as user session data(via

RE: maxProcessors vs maxThreads

2004-01-19 Thread David Rees
On Mon, January 19, 2004 at 1:47 pm, Apu Shah wrote: this begs another question... under what circumstances would one choose to use the ajp connector? i am assuming it's probably a more compact and efficient protocol compared to http (not sure about that). The AJP protocol is designed to be

RE: maxProcessors vs maxThreads

2004-01-19 Thread Guy Rouillier
Apu Shah wrote: thanks yoav. this begs another question... under what circumstances would one choose to use the ajp connector? i am assuming it's probably a more compact and efficient protocol compared to http (not sure about that). in any case, if one never needs to access tomcat

Eclipse+Ant+Tomcat 5 - problems

2004-01-19 Thread Ruth, Brice
I'm starting to try out Tomcat 5 in our development environment, which has been running Tomcat 4.1.x to-date. Preface: our IDE is Eclipse, I use Ant with the catalina-ant tasks to install/remove our web-app from a local Tomcat installation. Everything has worked fine, though I've noticed that

RE: virtual hosting and tomcat wt Apache 2 and JK2

2004-01-19 Thread Brennon Obst
Yes that looks like the bug, I cant find a later version of mod_jk2 though. I am running tomcat-4.1.27-8.ent.1 with mod_jk2-4.1.27-8.ent.1 rpms sourced from http://people.redhat.com/gbenson/naoko I looked at the http://apache.mirrors.ilisys.com.au/jakarta/tomcat-connectors/jk2/binari es

mod_jk load balancing question

2004-01-19 Thread Rahul Kuchhal
Hi! I have a question about the load balancing capabilities of JK connector. If this is not the correct forum to ask this please let me know. We have been using a single apache load balanced equally between two Tomcat machines, using JK connector. Now during load tests on one of the installation

RE: Running multiple JVMs

2004-01-19 Thread Brennon Obst
How do you run multiple instances of tomcat with an apache front/balancer? /Brennon -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED] Sent: Tuesday, 20 January 2004 3:03 AM To: 'Tomcat Users List' Subject: RE: Running multiple JVMs Or you can have one IP and get multiple

RE: Redhat9 / mod_jk2 builds from source

2004-01-19 Thread Brennon Obst
Hi when using Redhat is mod_jk2 the latest bin and closest to the actual JK2. I have a bug that is listed as fixed in jk2 but I don't know how to get jk2 for redhat. I have looked here but only win32 and solaris http://apache.mirrors.ilisys.com.au/jakarta/tomcat-connectors/jk2/binari es I am

Apache 1.3.29 + mod_jk2 + tomcat 4.1.29: cannot get SSL to work via Apache

2004-01-19 Thread Federico
hi, we've at work 2 different 1.3.29 apache daemons to handle regular and ssl connection, both are working against a single tomcat 4.1.29, using mod_jk2 in both cases. the first daemon works just fine and the connection if forwarded to tomcat's 8009 port as we've configured it. we've also

RE: virtual hosting and tomcat wt Apache 2 and JK2

2004-01-19 Thread Brennon Obst
Thank you Charlie, I missed this email in my last response. I will follow that tutorial and report back. Cheers mate! /Brennon -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED] Sent: Tuesday, 20 January 2004 3:30 AM To: 'Tomcat Users List' Subject: RE: virtual hosting and

Keeping servlet thread awake

2004-01-19 Thread Allan Bruce
I have a servlet running under tomcat4.1.24. I want the servlet to sleep for 30 minutes and sync with another servlet hosted by one of my friends, but it seems that tomcat kills the thread, and wont let it run every 30 mins. Is there something I can do to ensure tomcat doesnt kill the thread? It

Adjust Memory Settings

2004-01-19 Thread Jeff Greenland
Hello all, I need to be able to adjust the memory settings for Tomcat as it runs on Win2003 as a service. In previous versions, I was able to modify the wrapper.properties file to something like this: wrapper.cmd_line=$(wrapper.javabin) -Djava.security.policy==$(wrapper.tomcat_policy)

Re: HTTP tunneling

2004-01-19 Thread Philipp Taprogge
Hi! Without knowing your setup better, I can't be entirely certain here, but my best guess is that your servlet's attempt to open a connection to the outside world is denied by it's sandbox's security manager. Check the console of your client vm for any security related errors. You might have

Re: maxProcessors vs maxThreads

2004-01-19 Thread Apu Shah
thanks much remy. i was looking for configuring maxThreads for the ajp connector with jk2. anyways, do you know what the default value for maxThreads is for channelSocket? (it's not in the docs) what are the defaults for the other options? or where can i find them? backLog tcpNoDelay

RE: Adjust Memory Settings

2004-01-19 Thread Jeff Greenland
I think I found the answer (in case anyone else wants to know). In the registry, find: HKLM\Software\apache software foundation\tomcat service manager\tomcat5\parameters And edit JavaOptions. This is where the command line parameters are stored. Does anyone know of a different/better way? This

Re: Apache 1.3.29 + mod_jk2 + tomcat 4.1.29: cannot get SSL to work via Apache

2004-01-19 Thread Federico
nevermind this. we found what the problems was. for the records, when you add the connector via the admin interface, it uses the Http11Protocol rather than the JkCoyoteHandler, which was what we needed. cheers, federico. -- Original Message --- [..] we've at work 2

Mozilla showing JSP source code

2004-01-19 Thread Guy Rouillier
I've tried to do due diligence on this issue, searching the archives as well as Google. I'm sure it is a common problem, but I found several questions and no definitive responses, so here goes. Our website works fine with IE, but we're having a significant problem with Mozilla (and derivatives

RE: Running multiple JVMs

2004-01-19 Thread Rahul Kuchhal
Check this URL for load balancing: http://raibledesigns.com/tomcat/ --- Brennon Obst [EMAIL PROTECTED] wrote: How do you run multiple instances of tomcat with an apache front/balancer? /Brennon -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED] Sent: Tuesday, 20

long startup time with JDK1.4

2004-01-19 Thread Roland Knor
I am Using Tomcat V 3.2.3. I have encountered a strange behaviour of Tomcat when switching from JDK 1.3.1 to 1.4.2. The time until the server is bound to its listening port has increased from a few seconds up to 3 (!!!)minutes. All contexts are added within a second, however after adding the

WAR file not expanded on deployment

2004-01-19 Thread Frank Febbraro
IIS 5.0, Tomcat 4.1.29, Windows XP and 2000 I am trying to use the Tomcat/ISAPI Redirection installer from http://www.shiftomat.com/opensource It looks for contexts to map by listing everything in TOMCAT/webapps that is not ROOT, therefore I need my app expanded on deployment. Currently for

tomcat webapp welcome file

2004-01-19 Thread Denis
Hi: I created a webapp as ROOT under tomcat 4.1.27, and set the welcome file as index.jsp for the webapp. And I start the tomcat server and open my IE go to localhost. In the IE address bar, it changes to http://localhost/index.jsp. Is there a way to config the tomcat to let it not display

RE: Mozilla showing JSP source code

2004-01-19 Thread Jeff Greenland
I'm sure this doesn't help, but we had the same problem with the 3.x series. It went away when we upgraded to 4.x and 5.x. Good luck, Jeff -Original Message- From: Guy Rouillier [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 5:36 PM To: Tomcat Users List Subject: Mozilla

Re: Mozilla showing JSP source code

2004-01-19 Thread Sean Utt
Hi, I used to see this when doing a response.sendRedirect() without following it with a return(), but didn't see jsp source, just html source. I did have a problem with mod_jk showing .jsp source when the URI contained a // in the path like http://dom.ain/context//file.jsp, but that sounds like a

RE: TC5 won't start on Xeon | severe error

2004-01-19 Thread Sanjeev Kumar
What is the error now? -Original Message- From: K. Harvatis [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 7:56 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: TC5 won't start on Xeon | severe error Ok, what was needed was an installation of SDK 1.4 and the

Re: WAR file not expanded on deployment

2004-01-19 Thread Jacob Kjome
At 09:36 PM 1/19/2004 -0500, you wrote: IIS 5.0, Tomcat 4.1.29, Windows XP and 2000 I am trying to use the Tomcat/ISAPI Redirection installer from http://www.shiftomat.com/opensource It looks for contexts to map by listing everything in TOMCAT/webapps that is not ROOT, therefore I need my app

jk2 for Apache 2.0.43 (and only 2.0.43)

2004-01-19 Thread Brennon Obst
Why does it say the following. start This is the 2.0.2 release of JK2 You'll find here binaries for Apache 1.3, 2.0 and IIS. Build under Windows XP, Apache 1.3.27 and 2.0.43, IIS 5.1 * isapi_redirector2.dll is for Microsoft's IIS web server * mod_jk2-1.3.27.dll is

Re: tomcat webapp welcome file

2004-01-19 Thread Bill Barker
It's possible with TC 3.3.x (with non-default config options), and with TC 5.0.x (with the default config options), but not with TC 4.1.x. Denis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi: I created a webapp as ROOT under tomcat 4.1.27, and set the welcome file as index.jsp

Tomcat - Automatically writes a session?

2004-01-19 Thread Neal
Someone just pointed out that my JSPs are have this in the header: Set-Cookie: JSESSIONID=97C8777F16379B8EC2CD17273CE35C3C; Path=/ The problem is that I'm not setting any sessions or cookies from the page so I have no idea what's going on. Is there some reason this is there? Is there some

<    1   2