Indeed. If it is within the same context this is trivial - look into
singleton design pattern. If the servlets are from different contexts
you will have to enable crosscontext in your server.xml I assume.
In any case be aware of race conditions/dead locks - Java5.0 has new
semaphore types which mi
True, but if you need a general initialization mechanism look into
servlet context listeners
Regards Thomas
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Konrad Billewicz
Sent: 2. april 2006 01:07
To: users@tomcat.apache.org
Subject: Re: How can I configure Tomcat t
You may use request.getRemoteUser() to have domain and userid returned as a
String object.
Just add tomcatAuthentication="false" to the Connector element in your
server.xml file.
By the way - Tomcat is NOT a full J2EE server but a Servlet container (is does
not support EJBs for instance)
Rega
There might definetely be an easier way but I did just that:
i) installed the exe
ii) unzipped a number of Tomcat into other folders
iii) copied exe and dll into those folders
iv) modified ports for the zipped versions of server.xml and ran
"service install ..."
The original exe you can either re
k -XX:+UseConcMarkSweepGC
-XX:+UseCMSCompactAtFullCollection -XX:CMSFullGCsBeforeCompaction=0
-XX:+DisableExplicitGC -Djava.awt.headless=true
call "%CATALINA_HOME%\bin\catalina.bat" run -security
-Original Message-----
From: Thomas Bolding [mailto:[EMAIL PROTECTED]
Sent: 24. mart
Yes indeed and its quite easy!
If you're running it as a service (either installed the exe or ran the
"service install ..." from the zip version) you will have a
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun
2.0\Tomcat5\Parameters] in your registry (where Tomcat5 is the name
give