Re: Configuring one webapp in 2 instances, system properties

2008-06-02 Thread Lilianne E. Blaze
You'll need something like that: In Tomcat's: value="jdbc:mysql://127.0.0.1:3306/shproduction" type="java.lang.String" override="false"/> In Spring config: Greetings, Lilianne E. Blaze Bas Schulte wrote: Hi, I'd like to deploy my Spring-based webapp twice in the same Tomcat ins

Re: Tomcat 6 clustering problem

2008-06-02 Thread Filip Hanik - Dev Lists
POST your log, does it show member discovery? Filip Gangadhar Prusty wrote: Hi, My logs don't show any error/warning messages. But it still doesn't replicate/share the ServletContext attributes. Does the addition of below element in the *context.xml* mean that the * ServletContext* attribute

Re: Tomcat 6 clustering problem

2008-06-02 Thread Gangadhar Prusty
Hi, My logs don't show any error/warning messages. But it still doesn't replicate/share the ServletContext attributes. Does the addition of below element in the *context.xml* mean that the * ServletContext* attributes are replicated/shared across other cluster members? Thanks again. On

Re: Is "Transfer-Encoding: chunked" required for Comet?

2008-06-02 Thread Filip Hanik - Dev Lists
nope its not, if all you want to achieve is a long-poll (meaning you want to send the response async to the client, then you can use a content-length Filip Adam Kaupisch wrote: No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.24.4/1477 - Release

Re: Tomcat 6 clustering problem

2008-06-02 Thread Filip Hanik - Dev Lists
what do your logs say? gangadhar p wrote: Hi Filip, Thanks for your prompt response. I added an attribute to the ServletContext object in one instance and tried to access the same attribute in another instance and it returns null. The (in server.xml) element has the attribute managerClass

RE: installing Tomcat Container

2008-06-02 Thread Caldarale, Charles R
> From: Stephen Wick [mailto:[EMAIL PROTECTED] > Subject: RE: installing Tomcat Container > > I would suggest that you download > apache-tomcat-5.5.26-bin.tar.gz, unzip > it into your /usr/local folder as /usr/local/apache-tomcat-5.5.16, > create a symbolic link in /usr/local from apache-tomcat-5.5

Re: Tomcat sessions in profiler

2008-06-02 Thread Pid
Hassan Schroeder wrote: On Mon, Jun 2, 2008 at 12:45 PM, <[EMAIL PROTECTED]> wrote: This is internal so no spiders, and no monitoring on it. Nothing in the logs either... OK, that last seems wierd to me, especially since the JavaDoc for HttpSession says: = The servlet container uses this i

RE: installing Tomcat Container

2008-06-02 Thread Stephen Wick
I would suggest that you download apache-tomcat-5.5.26-bin.tar.gz, unzip it into your /usr/local folder as /usr/local/apache-tomcat-5.5.16, create a symbolic link in /usr/local from apache-tomcat-5.5.16 to 'tomcat' with 'ln -s apache-tomcat-5.5.16 tomcat', then 'cd /usr/local/tomcat', modify the co

Re: installing Tomcat Container

2008-06-02 Thread Pid
ramya lekha wrote: Hi, I had used Apache Tomcat server in Windows. But now I need to install Tomcat in Unix. The Unix server already contains Apache server in it. So, do I need to install the Tomcat container in order to run the Tomcat Server. I had already downloaded the tar file "apache-tomcat

Re: Tomcat sessions in profiler

2008-06-02 Thread Hassan Schroeder
On Mon, Jun 2, 2008 at 12:45 PM, <[EMAIL PROTECTED]> wrote: > This is internal so no spiders, and no monitoring on it. Nothing in the > logs either... OK, that last seems wierd to me, especially since the JavaDoc for HttpSession says: = The servlet container uses this interface to create a ses

[SECURITY] CVE-2008-1947: Tomcat host-manager XSS vulnerability

2008-06-02 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CVE-2008-1947: Tomcat host-manager XSS vulnerability Severity: Low Vendor: The Apache Software Foundation Versions Affected: Tomcat 5.5.9 to 5.5.26 Tomcat 6.0.0 to 6.0.16 This issue has been fixed in the source repositories for each version and wi

Re: Tomcat 6 clustering problem

2008-06-02 Thread gangadhar p
Hi Filip, Thanks for your prompt response. I added an attribute to the ServletContext object in one instance and tried to access the same attribute in another instance and it returns null. The (in server.xml) element has the attribute managerClassName=org.apache.catalina.cluster.session.Delt

Re: Tomcat 6 clustering problem

2008-06-02 Thread Gangadhar Prusty
Hi Filip, Thanks for your prompt response. I added an attribute to the ServletContext object in one instance and tried to access the same attribute in another instance and it returns null. Infact it seems that the session objects are also not replicated. The (in server.xml) element has the att

Re: Tomcat 6 clustering problem

2008-06-02 Thread Filip Hanik - Dev Lists
what does your log say? Filip gangadhar p wrote: Hi Guys, The Tomcat 6 documentation (http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html) says that the Context (ServletContext, right ?) attributes are replicated across cluster members when the below element is added in either \conf\se

Tomcat 6 clustering problem

2008-06-02 Thread Gangadhar Prusty
Hi Guys, The Tomcat 6 documentation ( http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html) says that the Context (ServletContext, right ?) attributes are replicated across cluster members when the below element is added in either * \conf\server.xml* or *\conf\context.xml* file. ** *But act

Is "Transfer-Encoding: chunked" required for Comet?

2008-06-02 Thread Adam Kaupisch
I have an existing web app that I am trying to convert to Comet...As it stands, I don't use chunked encoding and I can't seem to get anything to work (i.e. when the request is sent out, only the BEGIN event type is received by tomcat...there is no READ event). When I use the chat example (which use

installing Tomcat Container

2008-06-02 Thread ramya lekha
Hi, I had used Apache Tomcat server in Windows. But now I need to install Tomcat in Unix. The Unix server already contains Apache server in it. So, do I need to install the Tomcat container in order to run the Tomcat Server. I had already downloaded the tar file "apache-tomcat-5.5.26-src". Can any

Tomcat 6 clustering problem

2008-06-02 Thread gangadhar p
Hi Guys, The Tomcat 6 documentation (http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html) says that the Context (ServletContext, right ?) attributes are replicated across cluster members when the below element is added in either \conf\server.xml or \conf\context.xml file. But actually

Re: Tomcat sessions in profiler

2008-06-02 Thread dhay
This is internal so no spiders, and no monitoring on it. Nothing in the logs either... cheers, David "Hassan Schroeder" <[EMAIL PROTECTED]> 06/02/2008 03:21 PM Please respond to "Tomcat Users List" To "Tomcat Users List" cc Subject Re: Tomcat sessions in profiler On Mon, Jun 2,

Re: Tomcat sessions in profiler

2008-06-02 Thread Hassan Schroeder
On Mon, Jun 2, 2008 at 12:11 PM, <[EMAIL PROTECTED]> wrote: > We load our portal page and then log out. After a while, new > StandardSessions appear in the profiler! > > ... Any other ideas? spiders? system monitoring via Nagios or equiv? Have you tried to correlate your access log entries wit

Tomcat sessions in profiler

2008-06-02 Thread dhay
We've had some performance issues with tomcat, and stuck it in JProfiler, and seen something strange. We load our portal page and then log out. After a while, new StandardSessions appear in the profiler! Does Tomcat use sessions for some internal stuff? Any other ideas? It's hard to tell in

Unable to Start Tomcat 6 with Catalina Base Set

2008-06-02 Thread Stephen Wick
> I installed Tomcat 6.0.16 to /usr/local/apache-tomcat-6.0.16 (this is > my CATALINA_HOME). Then I made an instance of tomcat at > /var/www/tomcat-instances/default-tomcat6 (this is my CATALINA_BASE). > > My CATALINA_BASE/bin/startup.sh looks like this: > > CATALINA_BASE=/var/www/tomcat-i

Re: Compatibility Apache - mod_jk - Tomcat

2008-06-02 Thread Mark Thomas
JLucas ZB wrote: Hi everybody, which are the best Apache, mod_jk versions to use with Tomcat 5.5.17 ? Latest stable releases. Check the download pages for current versions. Mark - To start a new topic, e-mail: users@tomcat

Re: How to run own java application within Tomcat

2008-06-02 Thread Johnny Kewl
- Original Message - From: "Slobodanka Dimitrijevic" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, June 02, 2008 11:26 AM Subject: How to run own java application within Tomcat -Oorspronkelijk bericht- Van: Slobodanka Dimitrijevic [mailto:[EMAIL PROTECTED] Verzo

AW: Users.xml

2008-06-02 Thread Gloria.Teo
> Hi > > I would like to have multiple url using their users.xml(login name and > password) files. I've tried declaring different realms in server.xml, > putting it in or in which is in etc, but > it doesn't work. Does anyone has an example of using different > users.xml files? > > Tks > > g

RE: BLACK ZONE alert on Stopping Tomcat Server

2008-06-02 Thread Martin Gainty
Is there any way to tune and or configure the individual VPS parameters to respect JVM memory parameters ? for example JAVA_OPTS could be -Xms256m -Xmx512m -XX:MaxPermSize=512m (for example the equivalent VMWare configuration settings) http://kb.vmware.com/selfservice/microsites/search.do?cmd=d

Re: BLACK ZONE alert on Stopping Tomcat Server

2008-06-02 Thread Gabe Wong
Hi Ghulam, Virtuozzo, is an OS level based VPS. Which means available system resources are shared between the VPS. During Shutdown, a Java process is created; this in turn utilizes a burst of RAM. So at that moment you have 3 JVMs running - TomcatA, TomcatB, and ShutdownA. That 3rd JVM may be s

RE: Obtain catalina-home variable

2008-06-02 Thread Narendra Sharma
The OS doesn't really matter as you are using a Java property. It should work the same way on windows and Linux. Regards, Narendra Sharma, Technical Architect. -Original Message- From: maux [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2008 6:57 PM To: users@tomcat.apache.org Subject

Re: Obtain catalina-home variable

2008-06-02 Thread maux
Thanks a lot. Konstantin Kolinko wrote: > > Yes, it is OK for all operating systems. > > > 2008/5/29 maux <[EMAIL PROTECTED]>: >> >> Hi Konstantin, >> >> That´s exactly what i wanted. But if I used >> "System.getProperty("catalina.home")", that is ok for windows and for >> linux >> Tomcat inst

Compatibility Apache - mod_jk - Tomcat

2008-06-02 Thread JLucas ZB
Hi everybody, which are the best Apache, mod_jk versions to use with Tomcat 5.5.17 ? Is there any compatibility table for those products ? Many thanks JLZ

Re: IE cuts URI - Query part off?

2008-06-02 Thread Len Popp
I don't think the problem will be in the browser. I've used IE 6 a lot and never seen a problem like that. Here are some ways you can trace the request to see where it goes wrong: 1. ieHTTPHeaders plug-in for IE to see the request that is being sent 2. Access logs on the server to see the reques

Re: Missing jar in 5.5.26 - Looking for the easiest way out

2008-06-02 Thread Mark Smits
Hi Rainer, On Thu, May 29, 2008 at 5:44 PM, Rainer Jung <[EMAIL PROTECTED]> wrote: > Putting the commons-io jar there worked for me, but another user reported > the same problem and told us it didn't fix it for him. > Feedbasck welcome. I have asked the customer to go back to 25 instead of down

Re: COMPATABILITY APACHE /TOMCAT/CONNECTOR

2008-06-02 Thread karthikn
Hi Still awaiting for any Reply Have provided the necessary info for the LB failure with regards Karthik karthikn wrote: Hi With the setting as given below,still the TEST CASE for LB is failing O/s : win2000 JSDK: java version "1.6.0_03" 1a) c:/TOMCAT1 (server.xml)

BLACK ZONE alert on Stopping Tomcat Server

2008-06-02 Thread Ghulam_Hussain
I have configured multiple tomcat servers on a remote linux machine, and monitors linux applications through Virtuozzo. When I shutdown the TomcatA while TomcatB is running, the Virtuozzo shows the Black Zone alert (indicating that linux server is in serious state, related to system memory). Sim

How to run own java application within Tomcat

2008-06-02 Thread Slobodanka Dimitrijevic
-Oorspronkelijk bericht- Van: Slobodanka Dimitrijevic [mailto:[EMAIL PROTECTED] Verzonden: maandag 2 juni 2008 11:24 Aan: users@tomcat.apache.org Onderwerp: How to run own java application within Tomcat Hi, I have an Java application that I want to run standalone but also from Tomcat.

How to run own java application within Tomcat

2008-06-02 Thread Slobodanka Dimitrijevic
Hi, I have an Java application that I want to run standalone but also from Tomcat. This java application has a java class that make use of axis2 to expose methods of this class as web service methods. What I want is the following: Scenario 1: If I run my Java application as standalone applicat

IE cuts URI - Query part off?

2008-06-02 Thread Marcel Ruff
Hi, this is a general URI: http://server.xmlBlaster.org:8008/myPath?key=value#myFragment I have now the problem that the Query part (key=value) is not arriving in tomcat. Tomcat 6 runs behind Apache 2.2.4. It works fine for most users but not for one with IE Version 6.0.29000 Sending http:/

Re: Tomcat, iis connector and case sensitivity

2008-06-02 Thread Luis Villa
All right, I'm officially a complete newbie to tomcat and iis. I can't understand why my configuration is not working, and I find Tomcat documentation excessively brief :S Where do I put the rewrite rules? In isapi_redirect.properties? I tried to put it there, I tried to put it in rewrite_rules.p