Re: CGI : environment variables

2005-01-11 Thread Pierrick Brihaye
Hi, Mark Thomas a crit : Everything is OK when passShellEnvironment is used with the JDK 1.4/Windows 98 unfriendly version 5.5.4. Great ! 5.5.4 runs quite happily for me on JDK 1.4 (heck I do all of my 5.5.x development work on a 1.4 JDK). Can't say the same for Windows 98 - I use XP. 5.5.4

apache + tomcat with 2 domains but same session?

2005-01-11 Thread Simon Lau
Hi, I want to setup my apache to have 2 domains, say aaa.abc.com and bbb.abc.com. Both of this domain goes to the same application context, say /myapp So when i access both http://aaa.abc.com/myapp/index.jsp http://bbb.abc.com/myapp/index.jsp will give me the exact same content, no problem. My

Multiple domain names to a single site

2005-01-11 Thread Paul Taylor
I have three domains mycompany.com mycompany.net myapp.com I have setup a website with a hosting provider using Tomcat 5 which contains the ROOT application and myapp application so currently if user goes to http://mycompany.host/ they will go to ROOT application and if they go to

RE: tomcat 5.0.27 crashing

2005-01-11 Thread Allistair Crossley
Hi, How long is a piece of string? Why not explain what your page does? For all we know, you are hitting a database with a fantastically large routine, or on the 6th request an infinite loop gets hit, perhaps because you have a thread pool of 6 in some backend object that the JSP is hitting.

RE: Problem getting http redirected to https

2005-01-11 Thread James_sys
Thanks, Mark - good point. I've attached relevant snippets from web.xml server.xml below. I've also tried an equivalent configuration on Tomcat 5, jdk 1.4, Win 2k. Interestingly, this worked fine. My on-going quest for a solution under Tomcat 4.1, jdk 1.3, FreeBSD 4.7 threw up a couple of

Re: apache + tomcat with 2 domains but same session?

2005-01-11 Thread Tim Funk
You can get away with this by using URL rewriting. When you are using aaa.abc.com and wish to redirect or link to bbb.abc.com - you would need to rewrite the URL to include the jsessionid path parameter. But you *cannot* do this via response.encodeURL(..) since that method will detect your URL is

Re: Tomcat arbitrarily freezes

2005-01-11 Thread Oliver Schoenwald
Hi! five days after my first question and no answer in sight. To bad. So far, we have switched from JDK 1.4.2 to JDK 1.5 and from Tomcat 5.0.27 to 5.5.4 and the problem persists. However, while under JDK 1.4.2 it was always the thread with id #2 under JDK 1.5 it is still the thread VM Thread,

Re: Pagecache framework?

2005-01-11 Thread Mieke Banderas
QM said: For the former, there are ways to make the Apache httpd a content caching engine. This works well if the content you'd like cached is global -- that is, not tied to a specific user or group login. (You could also use webDAV for this._ If there is no performance penalty on my slow G3

Configuring Beanshell as a JSP Language

2005-01-11 Thread Furash Gary
Despite my fiddling, I've been unable to configure Beanshell as a JSP "language" under tomcat 5.0, using the 1.4.2 JVM. All the docs say it is something that can be done. Has anyone accomplished this? If so, can you provide the instructions? Gary Furash, MBA, PMP Applications Manager,

Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Gary Zhu
Hi all, Has anyone successfully configured Tomcat 5.5.4 with Apache and mod_jk to do load balancing and session replication? I did everything as documents suggested but with no luck. If so, could you advise? I have configured TWO tomcat instances and a lb worker. Whenever I map the lb worker

Re: Tomcat arbitrarily freezes

2005-01-11 Thread Remy Maucherat
On Tue, 11 Jan 2005 13:51:13 +0100, Oliver Schoenwald [EMAIL PROTECTED] wrote: Hi! five days after my first question and no answer in sight. To bad. So far, we have switched from JDK 1.4.2 to JDK 1.5 and from Tomcat 5.0.27 to 5.5.4 and the problem persists. However, while under JDK 1.4.2 it

Re: How do I force the expiration of the JSESSIONID cookie for proxies?

2005-01-11 Thread Mike Fowler
Ian - HttpSession.invalidate() will cause the client's cookie to expire. -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it Ian Stevens wrote: I have a system which renders a session stored in the HttpSession unusable once the

tomcat - https to a web service

2005-01-11 Thread swetha Ranganathan
Hi All I have a couple of web services running in my tomcat server. Is it possible to make one of the web services to be secure and be only accessed by https , while the other should be accessible by http. If it is , Please tell me how to do it TIA Swetha Yahoo! India Matrimony: Find

Re: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Mladen Turk
Gary Zhu wrote: Hi all, Has anyone successfully configured Tomcat 5.5.4 with Apache and mod_jk to do load balancing and session replication? I did everything as documents suggested but with no luck. If so, could you advise? Not if you don't send the workers.properties :). I have configured

RE: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Gary Zhu
Thanks Mladen, The document for Tomcat has explicitly emphasized NOT to add the lb worker to the worker.list. Attached is my workers properties file. Gary -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: January 11, 2005 9:54 AM To: Tomcat Users List Subject: Re:

new Host without restarting Tomcat

2005-01-11 Thread Lionel Farbos
Hi all, I'd want to create and deploy new Virtual(s) Host(s) and Contexts without having to restart the entire Tomcat Server (4.1.31 or 5.0.28). This works if my Host(s) exist in server.xml when I start Tomcat (I follow http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html). BUT,

Re: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Mladen Turk
Gary Zhu wrote: Thanks Mladen, The document for Tomcat has explicitly emphasized NOT to add the lb worker to the worker.list. Can you point where this statement exists? If it does then I'll chage it, because it's wrong. Here is what documentation says: worker.list: A comma separated list of

Re: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread John Sidney-Woollett
I've also written a custom webdav servlet because we need to work with a custom/virtualised file store. Our servlet works fine for everything except some flavours of M$shite Windows - the symptoms I get are identical to the ones you describe. Like you our server is not running on localhost,

RE: Problem getting http redirected to https

2005-01-11 Thread James_sys
I've managed to find a solution to this problem. I expect it only really applied to Tomcat 4.1x and jdk1.3. For completeness (and to help out any people with a similar problem in the future) here's what was needed. Tomcat 4.1 and jdk1.3 work fine. However, the default configuration at

Re: Multiple domain names to a single site

2005-01-11 Thread Paul Taylor
Could anyone get me started on this please ? Paul Taylor wrote: I have three domains mycompany.com mycompany.net myapp.com I have setup a website with a hosting provider using Tomcat 5 which contains the ROOT application and myapp application so currently if user goes to http://mycompany.host/

RE: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Gary Zhu
In the document for workers.properties, there are TWO places emphasizing NOT to put the lb in the worker.list. One is right in the first paragraph of Sub Titled Load Balancing directives; and the other one is within the Description column for the directive balance(ed)_workers. Here is the doc

Re: tomcat - https to a web service

2005-01-11 Thread Parsons Technical Services
Yes. By adding the proper entries in the web.xml for that application. That is after you have SSL working on the server. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html http://wiki.apache.org/jakarta-tomcat/HowToNumber 11 For the web.xml

Tomcat 5.5.4 - Using a Context.xml File With a Path Different Than The File Name

2005-01-11 Thread Matt Mejaski
Hi all, Using Tomcat 5.0.30, I had two Contexts for webapps set up as follows. Context 1, loaded from file: Tomcat Home/conf/Catalina/localhost/myapp.xml : Context path=/myapp docBase=myapp cookies=true debug=0 reloadable=false / Context 2, loaded from file: Tomcat

Re: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Mladen Turk
Gary Zhu wrote: In the document for workers.properties, there are TWO places emphasizing NOT to put the lb in the worker.list. One is right in the first paragraph of Sub Titled Load Balancing directives; and the other one is within the Description column for the directive balance(ed)_workers.

Re: Can't compile mod_jk 1.2.8

2005-01-11 Thread Glenn Parsons
At 02:19 AM 1/11/2005, you wrote: Glenn Parsons wrote: Hello All, I know just enough to be dangerous.. not enough to know what is blowing my mod_jk build. I am on a super-fast dual 3.2GHz machine running CentOS (RedHat ES 3.0) with Apache 2.0.46-38, JDK 1.5.0_01, Tomcat 5.5.4 and Ant 1.6.2. The

RE: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Gary Zhu
Oh that's confusing to me. Would it be clearer to say something like The workers that are to be loadbalanced/managed by the lb worker must not appear in the worker.list directive.? Anyway, very much appreciate your assistance. I will now try it out. Thanks. Gary -Original Message-

Re: Multiple domain names to a single site

2005-01-11 Thread Parsons Technical Services
Since you asked so nicely. You will be working with the host entries in the server.xml From how I read this you want mycompany..com and .net pointing at the same app. You can do this either at the dns level or in the host entry with an alias. As for master slave the master will be the desired

resource-ref question

2005-01-11 Thread Andy Kriger
I'm coming to Tomcat 5.5 from greater experience with Resin. I am setting up a JDBC connection pool. No problems there, I have a META-INF/context.xml file with a Resource element in the Context block. What is strange is that I do not need a resource-ref element in the web.xml; my connection pool

Re: Multiple domain names to a single site

2005-01-11 Thread Paul Taylor
Parsons Technical Services wrote: You will be working with the host entries in the server.xmlFrom how I read this you want mycompany..com and .net pointing at the same app. You can do this either at the dns level or in the host entry with an alias. As for master slave the master will be the

Re: Multiple domain names to a single site

2005-01-11 Thread Parsons Technical Services
Sorry I wasn't clear on that. You have two choices. Either do a redirect in the dns (My dns has a GUI that allows me to do this so I don't know the details). Or use the alias entry in the host element for mycompany.com.

Re: Tomcat 5.5.4 - Using a Context.xml File With a Path Different Than The File Name

2005-01-11 Thread Parsons Technical Services
If you don't use autodeploy, you can turn this off and use a context with yourchoice path like in 5.0 . Otherwise Tomcat will deploy the app twice, once using your xml and once using the default xml.

Re: How do I reset the Default Context for all tomcat application in a Server Container??

2005-01-11 Thread Troy Simpson
I was afraid I was going to have to do it for each application. I was hoping that I could set a Tomcat Server Wide Base URL then let each webapp append to it. Does anyone think that this might be a benefitial feature for a future release? Thanks Troy -- Troy Simpson Applications

Re: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread Garret Wilson
Here's an update---I'm narrowing it down. I tried to connect directly to Tomcat without Apache in-between. Same problem. So this probably isn't something Apache is doing to mess up communications. I recompiled Apache so that I could add headers, and I added: DAV: 1,2 MS-Author-Via: DAV Allow:

Re: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread karjera
Laba diena. Dkojame, kad mums parate. Js atsista inut isaugota ms duomen bazje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread Larry Meadors
Uhh, that is what I was thinking. On Tue, 11 Jan 2005 19:17:00 +0200 (EET), [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Laba diena. Dkojame, kad mums parate. Js atsista inut isaugota ms duomen bazje. - To

Getting jsp line/column numbers during custom tag execution...

2005-01-11 Thread Ray Whitmer
As I develop complex applications with large jsp based upon my own custom tags, often the tags fail to execute due to errors in tags that sailed past the compiler with no errors. At runtime, row/column information seems long gone. Is there a way to get Jikes to cooperate with my tag handler

Servlet file downloading

2005-01-11 Thread Milazzo, Michael A HQISEC
Hello, I wrote a servlet that provides some additional authentication and authorization checks for file downloads. If the user is authorized, then the servlet opens the file and sends it using the HTTP response's output stream. This servlet works when not deployed behind a firewall. Now that

24X7 deployment tips

2005-01-11 Thread sunil goyal
Hi all, I am looking for resources for building and deploying 24X7 large scale web applications using Java. Can anyone point towards any good books/links for the same? If I am trying to deploy an application via apache/tomcat on a linux platform, is it possible to upgrade certain servlets

RE: 24X7 deployment tips

2005-01-11 Thread Mark Benussi
Hi Sunil, I think they keyword for your scenario is clustering. Running multiple syncronised applications and databases allows you to take down servers during quiet periods and still maintain a service via the other servers whilst they are upgraded one by one. Saying that I have worked on

RE: 24X7 deployment tips

2005-01-11 Thread Phillip Qin
I use Tomcat Manager (actually catalina-ant taks) to deploy my webapps from my dev box to remote linux server. I don't have to shutdown server by doing that. However, I do sometimes run into Out Of Memory issues after I deploy applications hundreds times. -Original Message- From: sunil

RE: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread Varley, Roger
About the only thing left to try is to allow the PROPFIND on /webapp/ . So here's the Tomcat question---how can I allow a PROPFIND on /webapp/ and return, for example, a 403 forbidden, rather than a 501 Not Implemented? Do I have to override

[OT] RE: 24X7 deployment tips

2005-01-11 Thread Mark Benussi
Ah good old memory leaks, I see more and more messages regarding this although thankfully I have never experienced it myself. The reason this is off topic is that I was wondering if anyone has ever found a way of recovering leaked memory, without restarting the JVM? Original Message

Re: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread Garret Wilson
Yeah, that's what I *assume*, anyway. But Ethereal doesn't work on localhost, so I can only assume. There are these possibilities: * Tomcat returns something other than 501 Not Implemented when configured on localhost. (Not likely.) * MS Web Folders does different checks when accessing the

Re: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread Parsons Technical Services
Does anyone have an IIS box you can connect to to see what happens. Then maybe you can mimic it. Doug - Original Message - From: Garret Wilson [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, January 11, 2005 1:12 PM Subject: Re: Apache, Tomcat,

Client browsers can't find Tomcat page

2005-01-11 Thread Doug Thomas
I just upgraded from Tomcat 5.0 to Tomcat 5.5 (Also, to Apache 2.0 and JDK/JRE to 1.5.0_01, although I'm not using Apache to access Tomcat.) Server: WindowsXP Pro v2002 SP-2 Processor: Intel Pentium III - 664 MHz, 320 MB of RAM JDK 1.5.0_01 and JRE 1.5.0_01. I have set the JAVA_HOME and CLASSPATH

J2ee jars?

2005-01-11 Thread Rômulo Cordeiro Lana
What is the best approach to include j2ee jars in tomcat? Rômulo Cordeiro Lana [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: J2ee jars?

2005-01-11 Thread D'Alessandro, Arthur
I started to play around with OpenEJB http://www.openejb.org/tomcat.html -Original Message- From: Rômulo Cordeiro Lana [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 1:48 PM To: Tomcat Users List Subject: J2ee jars? What is the best approach to include j2ee jars in tomcat?

Re: Client browsers can't find Tomcat page

2005-01-11 Thread Parsons Technical Services
Localhost is the same as the IP of the machine you are on (unless overridden in the host files. So on that you would not be able to get an answer unless you were running something on the client machine. As for server name, you may wish to try the IP of the server and see what the result is.

Re: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread Garret Wilson
That would be nice. It would have to be an IIS box configured so that: * http://www.example.com/ does not support WebDAV (or everything is forbidden) * http://www.example.com/webapp/ supports WebDAV, but everything is forbidden * http://www.example.com/webapp/webdav/ supports WebDAV with

Re: How do I reset the Default Context for all tomcat application in a Server Container??

2005-01-11 Thread Parsons Technical Services
Troy, I should have suggested this before. As cheap as URLs are get a second one and set it up to point to the Tomcat stuff and set your main one as the default. Nothing changes for the built in apps except ROOT. If this is an option I can go further in detail. Or Leave Tomcat as the default

Re: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread Mark Thomas
Garret Wilson wrote: snip Why doesn't Microsoft Web Folders ask my for my password? Why does it ignore the 401 Unauthorized and go back to asking for OPTIONS on the root? Does this have something to do with using Apache to proxy to Tomcat? Why did a non-proxied Tomcat work find on my Windows XP

RE: Client browsers can't find Tomcat page

2005-01-11 Thread Doug Thomas
That was it! Thanks a billion. -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 2:09 PM To: Tomcat Users List Subject: Re: Client browsers can't find Tomcat page Localhost is the same as the IP of the machine you are on

Re: Client browsers can't find Tomcat page

2005-01-11 Thread Parsons Technical Services
I get lucky once in a while. Glad to help. Doug - Original Message - From: Doug Thomas [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Tuesday, January 11, 2005 2:41 PM Subject: RE: Client browsers can't find Tomcat page That was it! Thanks a billion.

RE: Tomcat 5.5.4 - Using a Context.xml File With a Path Different Than The File Name

2005-01-11 Thread Matt Mejaski
I still need some type of auto-deployment, though. The app won't be deployed twice because Tomcat only knows about it through the myappsavedfiles.xml file in conf/Catalina/localhost --- the content for the app is NOT in appBase. If I didn't do autodeployment, how would I deploy it at the path I

only one session for all webapps

2005-01-11 Thread Kieu Huu Dung
Hi everybody, Does anyone know how to have (or share) only one session (object session) for all webapps? Please tell me. Thanks, Huu-Dung Kieu. Yahoo! Messenger - Communicate instantly...Ping your friends today! Download

Re: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread Garret Wilson
Here's new news: Apparently the whole PROPFIND / and Apache proxy things were red herrings. The central issue seems to be that MS Web Folders doesn't know what to do with a 401 Unauthorized response to an OPTIONS request on the WebDAV root folder (when it finally gets around to checking). I

Re: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread Garret Wilson
While I'm tracking down the domain authentication problem, here's another problem to be aware of. IE 5, Office 2000, and Office XP only support WebDAV BASIC authentication, but not DIGEST: http://support.microsoft.com/default.aspx?scid=kb;en-us;321932 You upgrade to Windows XP, and by default

Max of two connections per client?

2005-01-11 Thread Hunt, Joseph (OVBU- Ft.Collins)
Ladies and Gentlemen, I have created an html document that contains several Iframes that all refer to the same JSP page. The JSP simply waits(Thread.sleep()) 5 seconds and then returns some text. When I open the html document in either IE or Mozilla after 5 seconds I see the first two

Re: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread Garret Wilson
Garret Wilson wrote: Apparently the whole PROPFIND / and Apache proxy things were red herrings. The central issue seems to be that MS Web Folders doesn't know what to do with a 401 Unauthorized response to an OPTIONS request on the WebDAV root folder (when it finally gets around to checking). I

Re: Tomcat 5.5.4 - Using a Context.xml File With a Path Different Than The File Name

2005-01-11 Thread Parsons Technical Services
You would need to use the manager either html or command line. You may have one of those cases that will work with the autodeploy on and specified context path. Install 5.5 and try it. You can leave 5.0 in place. Doug - Original Message - From: Matt Mejaski [EMAIL PROTECTED] To: 'Tomcat

Re: Max of two connections per client?

2005-01-11 Thread Peter Johnson
I think that is HTTP/1.1 for you ... but the details are a little foggy PJ Hunt, Joseph (OVBU- Ft.Collins) wrote: Ladies and Gentlemen, I have created an html document that contains several Iframes that all refer to the same JSP page. The JSP simply waits(Thread.sleep()) 5 seconds and

Re: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread Parsons Technical Services
Ahh the world according to B.G. and Micro$lime. What do you think the odd are that it works against IIS? M$ is famous for their interpretations of the RFC and implementation of odd handling of standards. Thus if you don't live in a Micky$oft world you will have more than you share of problems.

RE: Max of two connections per client?

2005-01-11 Thread Hunt, Joseph (OVBU- Ft.Collins)
PJ, I'm not sure what you are suggesting, but I did try turning off HTTP 1.1 in IE and still get the same behavior. Thanks, Joe Hunt -Original Message- From: Peter Johnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 2:48 PM To: Tomcat Users List Subject: Re:

RE: Tomcat 5.5.4 - Using a Context.xml File With a Path Different Than The File Name

2005-01-11 Thread Benjamin Armintor
Try naming the second context file myapp#savedfiles.xml; that should result in startup deployment to the correct context path. Benjamin J. Armintor Operations Systems Specialist ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL PROTECTED]

session newbie question

2005-01-11 Thread Casas, Claudia
Hello Everyone, Can anyone tell me how to activate sessions in tomcat? I migrated a project from to tomcat5.5 and apache2 and everything seems to work, except the sessions are being lost. I am thinking there should be a variable somewhere in the server.xml to specify that I want to allow sessions,

Re: dynamically compile JSPs

2005-01-11 Thread Matt Bathje
I was messing around with the code a little bit, and tried this: JspC antTask = new JspC(); antTask.setArgs(new String[] { -compile, uploadTileFilePath }); antTask.execute(); but this always gave me an error that javax.servlet package could not be found. Replying to myself here - but I got a

Re: Max of two connections per client?

2005-01-11 Thread Peter Johnson
Joe, What I am saying is that from memory I believe that it is a specification of the HTTP protocol that no more than two concurrent connections are opened to any one host. The purpose is to limit the potential load on the server and it's network socket pool. I.e. Given a server has about

Unable to compile class for JSP

2005-01-11 Thread Dave Kennedy
Hi, This web page displays correctly http://www.dksy.net:8080/examples/jsp/num/numguess.jsp but all of the other examples on this page display the error below: http://www.dksy.net:8080/examples/jsp/index.html org.apache.jasper.JasperException: Unable to compile class for JSP An error

RE: Unable to compile class for JSP

2005-01-11 Thread Dave Kennedy
Server Env: Apache Tomcat 4.1.30 JVM 1.4.2_04-b05 Linux - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Max of two connections per client?

2005-01-11 Thread Hunt, Joseph (OVBU- Ft.Collins)
Good call, that looks like my problem. The HTTP 1.1 RFC reads : Clients that use persistent connections SHOULD limit the number of simultaneous connections that they maintain to a given server. A single-user client SHOULD maintain AT MOST 2 connections with any server or proxy. I

Re: Max of two connections per client?

2005-01-11 Thread Peter Lin
by the way, the 2 connection limit is actually hardcoded in the http socket and not in IE. AFAIK, you can't turn it off or change it. You'd have to write your own browser to get around that. peter On Tue, 11 Jan 2005 18:48:20 -0500, Hunt, Joseph (OVBU- Ft.Collins) [EMAIL PROTECTED] wrote: Good

Re: Pagecache framework?

2005-01-11 Thread QM
On Tue, Jan 11, 2005 at 01:38:45PM +0100, Mieke Banderas wrote: : If there is no performance penalty on my slow G3 hardware, as I'd need to : use mod_jk and Apache as opposed to just Tomcat, then cached HTML pages : (ending in .jsp probably) is what I want. : What solutions involving Tomcat only

Re: Tomcat5 java.lang.OutOfMemoryError

2005-01-11 Thread Ryan Stewart
I posted a how-to on this just yesterday I think. Try the archives. It's typically a good idea to check there before you post. -Original Message- From: SARMIENTO Claudia COGA[EMAIL PROTECTED] To: 'Tomcat Users List'tomcat-user@jakarta.apache.org Date: Mon Jan 10 10:49:20 PST 2005

Cancelling long running requests

2005-01-11 Thread Hirode, Kartheek V.
Hello folks Am sending this question on behalf of my colleague. Thank you Is it possible to cancel processing a request that has lived in Tomcat for more than a threshold amount of time? Best regards -- Kartheek Hirode - To

Is there a cross-site scripting fix for Tomcat 5.0.25?

2005-01-11 Thread Terry Lake
Hello all, After checking Google, CERT and the Jakarta site, I can not find any information with regards to the availability of fix a for Tomcat 5.0.25. Note that I found mentioned of a fix for 3.0.x, and 4.0.x on Google and the Jakarta site. BTW, I did not find any information indicating

Is there a cross-site scripting fix for Tomcat 5.0.25? - Plain Text

2005-01-11 Thread Terry Lake
Hello all, After checking Google, CERT and the Jakarta site, I can not find any information with regards to the availability of fix a for Tomcat 5.0.25. Note that I found mentioned of a fix for 3.0.x, and 4.0.x on Google and the Jakarta site. BTW, I did not find any information indicating that

connection refused when testing jsp

2005-01-11 Thread Ben Kuang
Hi: I have just installed jakarta-tomcat-5.5.4.exe to run some jsp pages on my comp locally. After installing, i enter http://localhost:8080 in the address field of my browser, and pressed enter. I receive this error message. The connection was refused when attempting to contact localhost:8080

RE: Unable to compile class for JSP

2005-01-11 Thread Dave Kennedy
Catalina.out error message: Error running /usr/java/j2sdk1.4.2_04/bin/javac compiler at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeEx ternalCompile(DefaultCompilerAdapter.java:489) at

How to make tomcat 5 not persist session?

2005-01-11 Thread Gia Thornton
Hi there, I am developing jsp to run in tomcat 5.0.18. I need to store a java class object in session. The class is not serialized. I got error message: SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted;

set default web application

2005-01-11 Thread xhu1
Hi, I just downloaded Tomcat5.5 and Struts1.2.4. I would like to make struts-mailreader app to be the default application in Tomcat. However I could not make it. What I did (I didn't touch any configuration yet): 1. copy struts-mailreader.war and put in webapps directory. it got deployed and I

Re: How to make tomcat 5 not persist session?

2005-01-11 Thread Gia Thornton
Hi, Sorry I have found the answer. I need to add Manager className=org.apache.catalina.session.StandardManager pathname=/ to application context. regards, Gia Thornton [EMAIL PROTECTED] wrote: Hi there, I am developing jsp to run in tomcat 5.0.18. I need to store a java class object

Re: How to disable directory listing

2005-01-11 Thread Garret Wilson
You can't do it in your app's web.xml---unless you install another servlet (which can be the Tomcat default servlet) mapped to root in your own web.xml. But then you have to cart around all the Tomcat servlet jars in your webapp, because the one that is really the default was loaded by another

Re: How to disable directory listing

2005-01-11 Thread Dan Barron
Have a look at your tomcat-root/conf/web.xml file - you can turn off listings in here for all servlets by setting the listings initi-param to false in the default servlet section. Dan At 06:28 PM 1/11/2005, Garret Wilson wrote: You can't do it in your app's web.xml---unless you install another

Re: apache + tomcat with 2 domains but same session?

2005-01-11 Thread Simon Lau
Tim, thanks for your help. but... I have been following your suggestion and use mod_rewrite to rewrite bbb.abc.com to aaa.abc.com. Here is 3 scenarios: 1) RewriteCond %{HTTP_HOST} ^bbb\.(.*)$ RewriteRule ^(.+) http://aaa.%1$1 Client access

Re: How to disable directory listing

2005-01-11 Thread Ben Souther
You don't need to install another servlet. servlet-api.jar is in the common/lib directory (available to all webapps.) I do it with an entry in my web.xml file that overrides the entry in the global web.xml: servlet servlet-namehrpdefault/servlet-name servlet-class

Memory leak

2005-01-11 Thread Rolf Zelder
Hi I have got a simple web application containing a html page with a link to a jsp page, which prints the memory status to the console(Runtime.getRuntime().totalMemory()) . Now I let about 50 concurrent user browsing to those pages and I noticed that the memory usage is constantly going up. The

Re: Memory leak

2005-01-11 Thread Peter Lin
how are you monitoring tomcat? peter On Wed, 12 Jan 2005 14:59:39 +1100, Rolf Zelder [EMAIL PROTECTED] wrote: Hi I have got a simple web application containing a html page with a link to a jsp page, which prints the memory status to the console(Runtime.getRuntime().totalMemory()) . Now I

RE: Memory leak

2005-01-11 Thread Caldarale, Charles R
From: Rolf Zelder [mailto:[EMAIL PROTECTED] Subject: Memory leak I don't want to believe that this little web app is leaking memory. Therefore I must do something wrong how I monitor the memory usage. I suspect the real issue is understanding how the JVM uses memory. Object allocation can

RE: Memory leak

2005-01-11 Thread Rajaneesh
Hi, Taking the context of nullifying the object in Java, when we do not nullify the database connections, statements and result set, does these objects just fill the momory or even cause the database connection bottleneck? Regards Rajaneesh -Original Message- From: Caldarale, Charles

RE: Memory leak

2005-01-11 Thread Caldarale, Charles R
From: Rajaneesh [mailto:[EMAIL PROTECTED] Subject: RE: Memory leak Taking the context of nullifying the object in Java, when we do not nullify the database connections, statements and result set, does these objects just fill the momory or even cause the database connection bottleneck?

Re: Memory leak

2005-01-11 Thread Larry Meadors
Possibly. If you are using a connection pool and do not close the connection, it will not be released back to the pool, so subsequent calls to the pool will create new connections. In addition, as if that were not bad enough, any resources created that are referenced by that connection

Re: set default web application

2005-01-11 Thread Parsons Technical Services
Turn up debugging and check your logs. It should report on startup what is processed. Look for errors. Move the ROOT folder out of the webapps folder. After step 3 would step 1 still work? Doug - Original Message - From: xhu1 [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent:

Re: connection refused when testing jsp

2005-01-11 Thread Parsons Technical Services
Is tomcat actually running? How are you starting it? Try disabling the firewall. Are all the configuration file default? What errors are in the log file? Doug - Original Message - From: Ben Kuang [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Tuesday, January 11, 2005 7:44

RE: 24X7 deployment tips

2005-01-11 Thread Rajaneesh
Hu Philip, Are you are deploying the application in a non clustered environment or clustered environment in the production? Regards Rajaneesh -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 11:14 PM To: 'Tomcat Users List' Subject: RE:

RE: apache + tomcat with 2 domains but same session?

2005-01-11 Thread Rajaneesh
Good point. May be clustring helps! Have not used this concept. Regards Rajaneesh -Original Message- From: Simon Lau [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 2:22 PM To: tomcat-user@jakarta.apache.org Subject: apache + tomcat with 2 domains but same session? Hi,

Re: apache + tomcat with 2 domains but same session?

2005-01-11 Thread Viorel Dragomir
Take a look at http://support.softartisans.com/kbview.aspx?ID=666 [first link that i found on google about using cookies on diff subdomains] Basically you save a cookie unique for each user that with domain .abc.com Retrieve session vars [the basket in your case] from database via the value of

RE: SERVLET CONTEXT [ START/STOP BY CODE]

2005-01-11 Thread Karthik N S
Hi Does This mean ,I cannot start/ stop the ServletContext for a specific Web-app from within the code, ? using Listeners ,Is is tpossible ,If so How.. :{ with regards Karthik -Original Message- From: Aris Javier [mailto:[EMAIL PROTECTED] Sent: Monday, January 10,

Re: Tomcat arbitrarily freezes

2005-01-11 Thread Andreas Vombach
... there is always a chance to have hardware problems (bad memory chip) so the error will occur when memory consumption increases. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]