RE: Memory leaks on webapp redeploy

2006-11-29 Thread Mike Quilleash
I'm running on 6, I've just in the prototyping stage so using an early release version is fine. I did notice that in 6 anyway (haven't looked at 5.5) that the releaseResources() calls this.. // Clear the classloader reference in common-logging

RE: Running Tomcat 5.5.9 in AIX 5.2 with Java 5 64-bit - Tomcat freezes at a high level of workload

2006-11-29 Thread Steffen Heil
Hi First, 5.5.9 is definitly outdated. Update. [This might help.] Second, if tomcat is not reaction to kill -9, then it's you VM or even the OS that has a problem. Javacode can never to anything against kill -9, which is only handled by the OS. [This is only about symptoms.] Regards, Steffen

Re: Apache 2.0.54/Tomcat 5.5 connector: SSL configuration and performance

2006-11-29 Thread Gregor Schneider
Hi Ian, couple of things for you to know: if you want to change the headers served by Tomcat from default behaviour, you'll have to change them yourself, meaning write your own filter. below is a Filter-Example which we've used to add an Expires-Header. It adds the current month + one month,

Problem with WindowsXP

2006-11-29 Thread thiru chengodu
I cant run my Apache Tomcat5.5.7.1 in WindowsXP. I'm receiving an error message* Windows could'nt run Apache tomcat server in your local machine * while try to START my tomcat5.X web server in WIndowsXP. Please help me to recover this error. Why it happens? How to

RE: Tomcat and long startup time (hibernate)

2006-11-29 Thread Mike Quilleash
Thanks for the reply. I've looked at this issue in hibernate's JIRA and I noticed a post you made about the possibility of moving the laziness into the EntityPersistor instead. From my previous experience the majority of the hibernate startup time is building the proxy objects (cglib) for lazy

RE: Running Tomcat 5.5.9 in AIX 5.2 with Java 5 64-bit - Tomcat f reezes at a high level of workload

2006-11-29 Thread Sperati Massimo
Had you tried to increment maxThreads, minSpareThreads, maxSpareThreads ecc.. of the 8080 http connector in server.xml ? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

virtual mapping in Tomcat 5.5

2006-11-29 Thread Jennifer Lu
Dear all, I need to define a virtual mapping path on Tomcat 5.5. The following works well on Tomcat 5.0.28 (I put it in the server.xml) Context path=/images docBase=E:/templates/images debug=0 reloadable=true/Context The webapp is called RMS and its classes directory has been installed on C:.

how to set classpath while compiling classes in nested pkg

2006-11-29 Thread prakash shanmugam
hi all, i have one problem in my Java code design now. actually i have user defined packages in the hierarchy com/dia/comp/Elements I have one class MainWnd.java in com/dia/ package is referring Style.java in comp and Tag.java in Elements package. I have included import comp.Style and import

virtual mapping on Tomcat 5.5

2006-11-29 Thread Jennifer Lu
Dear all, I need to define a virtual mapping path on Tomcat 5.5. The following works well on Tomcat 5.0.28 (I put it in the server.xml) Context path=/images docBase=E:/templates/images debug=0 reloadable=true/Context The webapp is called RMS and its classes directory has been installed on C:.

Re: Getting a webapp to run on tomcat 4.1

2006-11-29 Thread Mark Thomas
ying lcs wrote: Hi, I have a web app runs fine on tomcat 5.0. And i am trying to see if it can run on tomcat 4.1. Tomcat 5.x and Tomcat 4.x implement different versions of the spec (see http://tomcat.apache.org/index.html). You need to use JSTL 1.0 compliant tag libs on Tomcat 4.x. Mark

Re: Problem with WindowsXP

2006-11-29 Thread Mark Thomas
thiru chengodu wrote: I cant run my Apache Tomcat5.5.7.1 in There is no such Tomcat version. You should be using the latest stable release, 5.5.20 WindowsXP. I'm receiving an error message* Windows could'nt run Apache tomcat server in your local machine * while try

Re: virtual mapping on Tomcat 5.5

2006-11-29 Thread David Smith
1. the path attribute of your context definition will be ignored by tomcat 5.5. The webapp itself will be deployed as RMS, not images. 2. Assuming you have an images folder in your RMS webapp and a file named logo.gif exists there, the url http://localhost:8080/RMS/images/logo.gif should work.

Re: virtual mapping on Tomcat 5.5

2006-11-29 Thread Jennifer Lu
Hi David, I think I have joined the list as I have received the confirmation on this? Probably this is the first email I sent before the confirmation. Thank you for your advice on my question. However, the templates/images folder has to be outside of the RMS webapp folder in this case so I

Re: virtual mapping on Tomcat 5.5

2006-11-29 Thread David Smith
Sorry about the hijack warning. Must have been not enough coffee. So you want to put your resources outside the RMS webapp. I think you have about four options: 1. Put the resources in the ROOT webapp and then refer to them with a url like http://localhost:8080/images/logo.gif 2. If fronting

Re: Tomcat DocumentRoot

2006-11-29 Thread Mehdi Tahanizadeh
salam omidvaram ke halet khob bashe man donbale yek niroye barname nevis mosallat be java migardam dar soratike tamayol be hamkari dari lotf kon va ba man tamas begir. omidvaram ke betoonim ba ham hamkari konim Tel : 09133153909 On 11/27/06, Mohsen Pahlevanzadeh [EMAIL PROTECTED] wrote: Dear

Re: Tomcat DocumentRoot

2006-11-29 Thread Mohsen Pahlevanzadeh
Gregor Schneider wrote: Please do write in English here. Writing in any other language is annoying to the readers of this newsgroup! The newsgroup is living of the help people give each other so everyone can benefit from this - that doesn't work if you do not write in a language that

RE: Running Tomcat 5.5.9 in AIX 5.2 with Java 5 64-bit - Tomcat freezes at a high level of workload

2006-11-29 Thread Nelson, Tracy
| From: Matthew Lee [mailto:[EMAIL PROTECTED] | Subject: Running Tomcat 5.5.9 in AIX 5.2 with Java 5 64-bit - Tomcat | freezes at a high level of workload | | Symptoms | -- | When Tomcat is under heavy load running a webappliccation | (at around 180 users although it varies), Tomcat

Version question

2006-11-29 Thread rick . edwards
Hi Everyone I have a version of nsapi_redirector.so which I'm using to pass requests from my iPlanet webserver on to a tomcat appserver. I have no idea what version of connector this is and I'd really like to know. It's working fine, so I have no complaints. The resource who introduced this

Can Apache and Tomcat both be configured in port 80?

2006-11-29 Thread Salman Elahi
Dear All, I have a quick question that can Apache and Tomcat both be configured in port 80? and if yes how if the answer is using mod_jk then can somebody also refer to a good guide how to do that cuz i couldnt find a reasonable stuff to configure mod_jk Cheers, Salman

Re: Can Apache and Tomcat both be configured in port 80?

2006-11-29 Thread Gregor Schneider
AFAIK the answer is no since you can't bind a port more than one. However, You'll find the docs at http://tomcat.apache.org/connectors-doc/ Cheers Greg -- what's puzzlin' you, is the nature of my game - To start a new topic,

RE: Can Apache and Tomcat both be configured in port 80?

2006-11-29 Thread Caldarale, Charles R
From: Salman Elahi [mailto:[EMAIL PROTECTED] Subject: Can Apache and Tomcat both be configured in port 80? I have a quick question that can Apache and Tomcat both be configured in port 80? Only if they use different IP addresses. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

RE: Tomcat and long startup time (hibernate)

2006-11-29 Thread snowtoad
Thanks Mike, I will have a look at your patch, I am glad you have seen the significant speedup. I am also fairly new to the hibernate code base, did you also have to modify the collections persisters? or is all byte code instrumentation done at the entity level? It would be a huge win if Max

Form Based Authentication : connection and bind to directory problems

2006-11-29 Thread Christopher Buffington
I'm trying to use form based authentication with JNDIRealm to validate users in an Active Directory Application Mode (ADAM) directory. I have a small test app working; however, I must enable anonymous binds in ADAM or provide the username and password in the realm element. Obviously both of these

Re: Form Based Authentication : connection and bind to directory problems

2006-11-29 Thread Tim Funk
IIRC there is no way to do that. As an alternative, you can hack JNDIRealm to have it do what you wish. -Tim Christopher Buffington wrote: I'm trying to use form based authentication with JNDIRealm to validate users in an Active Directory Application Mode (ADAM) directory. I have a small

[OT] Looking for feedback on a small project

2006-11-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Sorry to spam the list, but this is at least semi-relevant to many readers and posters. Please make any responses off-list to avoid pollution. Thanks. I'm just about ready to release a small project to help unit test URLConnections. Basically,

Re: Form Based Authentication : connection and bind to directory problems

2006-11-29 Thread Martin Gainty
Would have to see your server.xml configuration for Realm Here is an example of a successful AD entry specified in Realm be mindful that referrals=follows must be specified follows to use Microsoft AD Declarative example follows here

Re: Form Based Authentication : connection and bind to directory problems (part 2)

2006-11-29 Thread Martin Gainty
Christopher- A programmatic example and javadoc is located here http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/realm/JNDIRealm.html#referrals HTH M- This e-mail communication and any attachments may contain confidential and privileged information for the use of

Re: Apache 2.0.54/Tomcat 5.5 connector: SSL configuration and performance

2006-11-29 Thread Ian H
Hi Gregor, First, thank you VERY much for taking the time to respond! On 11/29/06, Gregor Schneider [EMAIL PROTECTED] wrote: below is a Filter-Example which we've used to add an Expires-Header. It adds the current month + one month, so that the content should be cached in any way: I'll

RE: Tomcat 4.1 Issue - Strange

2006-11-29 Thread Bruno Vilardo
Hello Martin, Thanks for the reply. I am not in the server now which is having the problem. But I have a linux box here in which my jvm.cfg file has the be-client KNOWN -server KNOWN -hotspot ALIASED_TO -client -classic WARN -native ERROR -green ERRORlow contents: What would be the right values

Re: Tomcat 4.1 Issue - Strange

2006-11-29 Thread Martin Gainty
Bruno- This posting has so many Re that I could'nt see the original error you are getting..please re-post the original error M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are

Tomcat 4.1 Issue - Strange

2006-11-29 Thread Bruno Vilardo
Hey Martin, Please see below the error message. It a part of the errors I guess. Heap at VM Abort: Heap def new generation total 31488K, used 30321K [0x59fc, 0x5c1e, 0x6118) eden space 28032K, 100% used [0x59fc, 0x5bb2, 0x5bb2) from space 3456K, 66% used

Re: Tomcat 4.1 Issue - Strange

2006-11-29 Thread Martin Gainty
This bug was fixed in all VMs under JVM - J2SE 5 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4946706 You can also get around it by looking at jvm.cfg by disabling Hotspot VM (basically placing a # in the hotspot VM as in #-hotspot ALIASED_TO -client) Any reason why you're stuck on 1.42?

RE: [SPAM]Re: Tomcat 4.1 Issue - Strange

2006-11-29 Thread Bruno Vilardo
Hey Martin, Thanks for the usefull information :-) I am going to try to disable the HotSpot option. About the 1.42 version, I need to check with the Application Vendor if java 1.5 is compatible with out Application version. Thanks again for the info. :-) Best Regards, Bruno -Original

Re: Tomcat 4.1 Issue - Strange

2006-11-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: against my better judgement [sic] I'll play your game where in this message do you see SIG11? I can understand your confusion... you /did/ have to ask him twice what the error was. He posted it twice, right here: #

RE: Tomcat 4.1 Issue - Strange

2006-11-29 Thread Caldarale, Charles R
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 4.1 Issue - Strange where in this message do you see SIG11? I see that Chris answered that for you, or do you need to be told again? He hasnt said that he specifically needs hotspot VM so I told him to disable it If you

Tomcat listening on port but not responding to requests

2006-11-29 Thread Joel Klein
Tomcat 5.0.28 has been running fine on 8 identical servers (Apple xserve Mac OS 10.3) for a few months, but recently 2 of them have stopped responding to requests. By that I mean that a browser spins for several minutes and eventually says the server is taking too long to respond. I tried some

Apache2 + Tomcat5.5 Load Balance and Cluster

2006-11-29 Thread Eric Chow
Hello, Is there any completed example to use Apache2+Tomcat5.5 with Load Balance and Cluster by using mod_jk? Best regards, Eric - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Tomcat listening on port but not responding to requests

2006-11-29 Thread Caldarale, Charles R
From: Joel Klein [mailto:[EMAIL PROTECTED] Subject: Tomcat listening on port but not responding to requests The last thing in catalina.log is this: Nov 29, 2006 10:29:08 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 18092 ms Does this indicate that Tomcat has

Request.getServerName() - Configuration

2006-11-29 Thread Narayanaswamy, Mohan
Dear All, How to configure request.getServerName() to return based on the url? -- Could someone of you help me to find all the combination (Tomcat 4.1.x + mod_jk + Apache) of configuration for server name value. We have following configuration in the server. In httpd.conf ServerName

Re: Tomcat listening on port but not responding to requests

2006-11-29 Thread Steve Ochani
Date sent: Wed, 29 Nov 2006 22:26:25 -0600 From: Joel Klein [EMAIL PROTECTED] Subject:Tomcat listening on port but not responding to requests To: users@tomcat.apache.org Send reply to: Tomcat Users List

Apache2+Tomcat5.5 with Load Balance and Cluster by using mod_jk?

2006-11-29 Thread Eric Chow
Hello, Is there any completed example to use Apache2+Tomcat5.5 with Load Balance and Cluster by using mod_jk? Best regards, Eric - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Address already in use

2006-11-29 Thread red phoenix
My JDK is jdk1.5.0_09 and my tomcat is 5.5.17,and I use Norton Antivirus 2006,when I start Tomcat,it raise following error: Error: Error initializing endpoint java.net.BindException: Address already in use: JVM_Bind: at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(

Re: Getting a webapp to run on tomcat 4.1

2006-11-29 Thread ying lcs
Thanks. Can you please tell me which tag lib that i am using causing problem when i try to run in under Tomcat 4.x? From the exception that I see, it does not say which tag lib is causing the problem. On 11/29/06, Mark Thomas [EMAIL PROTECTED] wrote: ying lcs wrote: Hi, I have a web app

Connector question

2006-11-29 Thread Narayanaswamy, Mohan
In one of my development server, we have the following two entry, Do we need both of the below entries to support Apache + Tomcat4.1.x? !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=50 maxProcessors=800

Re: Getting a webapp to run on tomcat 4.1

2006-11-29 Thread Li
Can you post more detailed log info? On 11/30/06, ying lcs [EMAIL PROTECTED] wrote: Thanks. Can you please tell me which tag lib that i am using causing problem when i try to run in under Tomcat 4.x? From the exception that I see, it does not say which tag lib is causing the problem. On