Greetings,
Does Tomcat itself ever use either the
workers.properties or the worker2.properties files?
My understanding is that these files are just example
property files for the Apache2 mod_jk(2) modules and
that Tomcat itself never references these files? Is
this true?
Thank you for your
correct.
-Tim
Nathan Hook wrote:
Greetings,
Does Tomcat itself ever use either the
workers.properties or the worker2.properties files?
My understanding is that these files are just example
property files for the Apache2 mod_jk(2) modules and
that Tomcat itself never references these files
Thank you Tim.
Nate
--- Tim Funk [EMAIL PROTECTED] wrote:
correct.
-Tim
Nathan Hook wrote:
Greetings,
Does Tomcat itself ever use either the
workers.properties or the worker2.properties
files?
My understanding is that these files are just
example
property files
Dear List,
In the example docs on the Apache web-site, all the JNDI info. is configured
inside of the
server.xml and web.xml.
Is it possible or better said usual to make a data source, with the Oracle
configurable JDBC URL connection info. in a separate properties file. This
would mean
Hi there -
I have what I consider a Tomcat question but it lies somewhere between
tomcat and log4j. I've looked elsewhere in the log4j and tomcat user lists
and I have not been able to find an answer to this one but please forgive me
if it is out there and I missed it.
Can I set a system
Users List tomcat-user@jakarta.apache.org
|
| cc:
|
| Subject: Re: JK1.2.9 and dynamic change of properties
[EMAIL PROTECTED] wrote:
Hi Mladen,
Just to clarify - will this allow us to configure the load-balancing on the
fly according to the load of the tomcat's involved?
If you mean to balance according to CPU utilization, it won't
do that. For that we would need some native component that
would measure
: JK1.2.9 and dynamic change of properties
|
---|
[EMAIL PROTECTED] wrote:
Hi Mladen,
Just to clarify - will this allow us to configure
[EMAIL PROTECTED] wrote:
Hi Mladen,
We'd have our own mechanism to calculate the load on a particular server -
I was actually asking if, and more importantly how (!), we'd adjust the
balance factors on the fly from our app?
Well, you can use http client request in a form like:
Hi,
A question for JK workers :
I see in the JK 1.2.9 roadmap that a dynamic change of workers'properties will
be possible at runtime.
But, actually, when I do apache reload, the change is possible at runtime
without loosing requests. No ?
So, what is the innovation of this feature ?
Lionel Farbos wrote:
A question for JK workers :
I see in the JK 1.2.9 roadmap that a dynamic change of workers'properties will
be possible at runtime.
But, actually, when I do apache reload, the change is possible at runtime without loosing requests. No ?
Yes and no. You will lose all the
Hi,
I've been successful in mapping requests from IIS to tomcat5 but am stuck on
getting requests mapped to the root context. The config properties below is
what I'm trying and I'm not having any luck. I can get to the root context
with no problems when making a direct request on the tomcat port
Hi:
I noticed the following on the catalina.out:
Feb 15, 2005 9:19:13 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/37
config=/local/jakarta-tomcat-5.0.28/conf/jk2.properties
Does Tomcat 5.0.28 have mod_jk on by default
From: Hari Mailvaganam [mailto:[EMAIL PROTECTED]
Subject: jk2.properties Query
Does Tomcat 5.0.28 have mod_jk on by default?
The default server.xml has an AJP13 connector defined on port 8009; it's been
that way for a long time. You should comment it out if you don't need it.
- Chuck
Finally I found the solution with the help of the following link:
http://forum.java.sun.com/thread.jspa?threadID=444943tstart=15
The error occured only in Tomcat because the
System.getProperties().getProperty(user.country)
got set to AT instead of US as in my standalone application.
Cheers,
Hello,
I'm working on this since 2 days and the suggested solutions on the
tomcat-user archive didn't help me.
Here is my problem.
The following code works fine under a standalone java app:
WebRowSet c1 = new WebRowSetImpl(); //here comes the exception
Using the same code in Tomcat
Can someone please elaborate on the documentation of
http://jakarta.apache.org/tomcat/connectors-doc/howto/workers.html for
advanced lb worker properties? I'm not getting a lot out of the one
sentence provided: The local_worker flag on worker1 and worker2 tells
the lb_worker which
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]
In a stand-alone java 1.4.2 program,
java.security.Security.setProperty(networkaddress.cache.ttl, 0);
for (int i=0; i20; i++)
System.out.println( java.net.InetAddress.getByName( earthlink.net ) );
will round robin through the several IP addresses bound to earthlink.net
hostname
because it's
Troy Simpson wrote:
How does Apache2 find the workers.properties file?
According to page 245 of Professional Apache Tomcat 5, it says:
These settings provide detailed information about the configuration
setup to Apache2, including the location of the workers2.properties
file and the debuggin level
How does Apache2 find the workers.properties file?
According to page 245 of Professional Apache Tomcat 5, it says:
These settings provide detailed information about the configuration
setup to Apache2, including the location of the workers2.properties
file and the debuggin level of the config
haim wrote:
I would like to set up some application global properties.
I would like those properties to be available application width, and
should be loaded as soon as the application loads no mater witch page
was visit.
I guess I have few options for that , which one do you think is the best
I would like to set up some application global properties.
I would like those properties to be available application width, and
should be loaded as soon as the application loads no mater witch page
was visit.
I guess I have few options for that , which one do you think is the best
practice?
1
Hi Srinivas,
What you are after is a shared / networked filesystem like NFS Coda for
*nix.
PJ
Srinivas Rao Ch wrote:
Hi,
I successfully configured my clustering setup with mod_jk2 and it is running
fine. Now the problem is I have some properties files in my tomcat web
application which gets
On Tue, Dec 21, 2004 at 12:39:14PM +0530, Srinivas Rao Ch wrote:
: I successfully configured my clustering setup with mod_jk2 and it is running
: fine. Now the problem is I have some properties files in my tomcat web
: application which gets modified when some features are accessed. If some
to be with in the web
application boundaries only. I appreciate if you can suggest some ideas.
Regards,
Srinivas
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 22, 2004 8:57 AM
To: Tomcat Users List
Subject: Re: Synchronizing properties in cluster setup
On Tue, Dec
Hi,
I successfully configured my clustering setup with mod_jk2 and it is running
fine. Now the problem is I have some properties files in my tomcat web
application which gets modified when some features are accessed. If some
changes are there in one cluster member, I have to update the same
Maybe may thinking is wronge. I thought that there was a way to
loadbalance using worker2.properties
file. I know you could loadbalance using mod_proxy and mod_rewrite, but
I was just wondering if anyone
else had did it using the AJP protocal???
One other simple question.
Does tomcat also know
. [extensionUri] = /jakarta/isapi_redirector2.dll
# d. [workersFile] = [${JK2_HOME}/conf/workers2.properties]
# e. [logLevel] = [INFO]
#
# II. Configure IIS
#1. Using the IIS management console, add a new virtual directory to
# your default web site. The name of the virtual directory
Any body want to give this a shot?
Dwayne Ghant wrote:
Maybe may thinking is wronge. I thought that there was a way to
loadbalance using worker2.properties
file. I know you could loadbalance using mod_proxy and mod_rewrite,
but I was just wondering if anyone
else had did it using the AJP
] = [${JK2_HOME}/conf/workers2.properties]
# e. [logLevel] = [INFO]
#
# II. Configure IIS
#1. Using the IIS management console, add a new virtual directory to
# your default web site. The name of the virtual directory must be
# jakarta. Map this to C:\jk2-connector\bin\.
# While
Hey any of you guys out there
have a good workers2.properties
that I could use to model the
loadbalancing functionality in
my tomcat5.x/apache configuration .
My current configuration is
Apache2.0.46/tomcat5.0.28/mod_jk2.so
Please keep in mind that I am
using mod_jk2.so so that mean
In this example, I'm using:
Tomcat 5.0.19
Apache 2.0.52
Sun Solaris 8
jk2 2.0.4 (i think)
My jk2.properties contains only this one line:
request.registerRequests=false
And apache and tomcat appears to be working just fine without a problem.
So I was wondering, is jk2.properties even used
Sorry, my workers.properties file is this instead of what I send earlier:
# workers2.properties
# Shared memory handling. Needs to be set.
[shm]
info=Scoreboard. Required for reconfiguration and status with
multiprocess servers
file=/global/lunadg/d01/app/apache2/2.0.52/logs/shm.file
size=1048576
:
Tomcat 5.0.19
Apache 2.0.52
Sun Solaris 8
jk2 2.0.4 (i think)
My jk2.properties contains only this one line:
request.registerRequests=false
And apache and tomcat appears to be working just fine without a
problem. So I was wondering, is jk2.properties even used for setting
channelSocket.port, etc
] mod_jk.handler() Error connecting to
tomcat 12
1.
I this line of the error log, it appears that jk2_mod on the Apache side
is trying to use port 8009, but my workers2.properties specifically says
to use port 45009. Then it tries port 45009 which also fails.
[Wed Nov 17 17:42:52 2004
Hi,
does anyone have a sample workers2.properties that can enable the load balancing
between two tomat instances?
Thanks!
nyhgan
-
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
Hi,
I got this workers2.properties from wrox.com. It claims to support load balancing by
using more than one tomcat jvms.
In their setting, they have several startup scripts for each tomcat instance. Does it
mean that I need to have a unique tomcat installation folder, and a unique
Is there any way to programmatically get the location that Tomcat expanded
your applications jar?
For instance, I have an application war named test.war and it deploys to
c:/tomcat/webapps/test/etc.
I'd like to be able to retrieve the c:/tomcat/webapps/test.
Is there anyway to get that or
: Properties
Is there any way to programmatically get the location that Tomcat
expanded
your applications jar?
For instance, I have an application war named test.war and it deploys
to
c:/tomcat/webapps/test/etc.
I'd like to be able to retrieve the c:/tomcat/webapps/test.
Is there anyway to get
Instead of including all your mappings in the workers2.properties, you can
use Location and LocationMatch in httpd.conf to set up your mappings.
Charlie
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 8:32 AM
To: [EMAIL PROTECTED
Hi,
Instead of including all your mappings in the workers2.properties, you
can use Location and LocationMatch in httpd.conf to set up
your mappings.
Thanks, but...
We got JK2 running as a ISAPI-Filter on IIS6.
... not httpd.conf on Windows
Hi,
is it possible to partition the workers2.properties for the JK2?
We got JK2 running as a ISAPI-Filter on IIS6.
Now, the new structure of workers2.properties is better against
workers.properties and uriworkermap.properties.
But now, that we have loads of webs with many contexts each, which
try the following out .. i've not tested it though :p
[logger]
level=INFO
[logger.file:0]
level=INFO
file=d:\\jakarta-tomcat-5.0.25\\logs\\jk2.log
[workerEnv:]
info=Global server options
timing=1
debug=0
logger=logger.file:0
[shm]
file=d:\\jakarta-tomcat-5.0.25\\work\\jk2.shm
size=1048576
entries in my workers2.properties file BOTH route to Tomcat 8009 (my
first instance). I wonder if it is possible to use the fact that I have a port on the
URL to route to different AJP tomcat ports???
Thanks!
Tomcat Development Instance 1
[channel.socket:localhost:8009]
info=Ajp13 worker
I want to know more about worker2.properties files to config my IIS.
How can I make the uri independent from webapp context? I mean
http://localhost/samples be linked to jsp-samples instead of samples webapp context.
When I read http://jakarta.apache.org/tomcat/connectors-doc/jk2/jk2
Hi,
what is the reason, that tomcat5 (5.0.25) does not read my
properties file, which I placed in
$WEBAPP/WEB-INF/classes/my.properties
when I try to access it the following way:
Properties p = new Properties();
p.load(MyServiceImpl.class.getResourceAsStream(/my.properties));
If I try
Hi,
No reason -- it should work, and it works for me ;)
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Lorenz, Christoph [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 9:15 AM
To: 'Tomcat Users List'
Subject: tomcat5 does not find properties file
Hi,
do you have rights to read the property file?
Is the codebase for the MyServiceImpl class equal to $WEBAPP/WEB-INF/classes/?
greetz
Hans
At 03:15 PM 7/21/2004, Lorenz, Christoph wrote:
Hi,
what is the reason, that tomcat5 (5.0.25) does not read my
properties file, which I placed in
$WEBAPP/WEB
Users List'
Subject: tomcat5 does not find properties file in webapp
Hi,
what is the reason, that tomcat5 (5.0.25) does not read my
properties file, which I placed in
$WEBAPP/WEB-INF/classes/my.properties
when I try to access it the following way:
Properties p = new Properties
?)
-Original Message-
From: Lorenz, Christoph [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 8:15 AM
To: 'Tomcat Users List'
Subject: tomcat5 does not find properties file in webapp
Hi,
what is the reason, that tomcat5 (5.0.25) does not read my
properties file, which I placed
/classes/ directory. Not sure yet about
the /WEB-INF/lib/ directory.
Am I doing something wrong? Is there a different command? After I deploy
I tried reloading. Same result.
Seems like the only way to get Tomcat to reload things like .properties
files is to restart it. I know this can't be the case
Elijah Epifanov wrote:
Silly question:
Where do I need to store my workers2.properties file if my apache
isn't contained in one directory?
/var/conf/apache2 - replacement for ${APACHE2}/conf
/usr/local/apache2 - Apache2 root
Well, if you're going to re-organize your Apache, then I
Thanks, I already solved this problem.
mod_jk2 has a little bug: it looks for *.properties in `apxs -q
prefix`/conf
instead of `apxs -q sysconfdir`.
- Original Message -
From: Nikola Milutinovic [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, June 21, 2004 12
Elijah Epifanov wrote:
Thanks, I already solved this problem.
mod_jk2 has a little bug: it looks for *.properties in `apxs -q
prefix`/conf
instead of `apxs -q sysconfdir`.
OK, but you can still use JkSet config.file location to point mod_jk2
to any location for workers2.properties.
Nix
Silly question:
Where do I need to store my workers2.properties file if my apache
isn't contained in one directory?
/var/conf/apache2 - replacement for ${APACHE2}/conf
/usr/local/apache2 - Apache2 root
error_log:
[Sun Jun 20 09:02:35 2004] [notice] Apache/2.0.49 (Unix) mod_ssl
Got it ... sent a bug report.
mod_jk2 searches for *.properties in ${APACHE_ROOT}/conf,
irrelative of where u've set --sysconfdir while configuring.
- Original Message -
From: Elijah Epifanov [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, June 20, 2004 1:33
Hello,
I don't remember how I got this to work under tomcat4, but how would I
auto-generate the jk2.properties file for tomcat5?
Thank you.
--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED
Nice try, but unfortunately does not work... ;o)
What I want to do is to use the mx4j features implemented in Tomcat to collect
statistical information and I need to move the jk2.properties file for a security
issue.
By the way this is not my only problem, for example: the mx4j functionality
Hi all,
I need to move the jk2.properties file from the standard location, does anyone knows
how to do it???
Thanks,
Paolo Martinelli
IrisCube Reply S.p.A.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
I've never tried it, but you should be able to set
jkHome=/path/to/new/home on the Connector element to have Tomcat look for
/path/to/new/home/conf/jk2.properties.
Of course, Tomcat will also use this as the base for any other relative file
references (e.g. the unix-socket file).
Martinelli
I'm wondering if jk2.properties is mandatory.
I'm running jboss 3.2.3 which is bundled with tomcat 4.1.29 and apache2
with mod_jk2
under linux.
I just have workers2.properties and everything works fine.
I don't have any jk2.properties.
Can someone tells me what is the jk2.properties used
Matt,
Sorry ignore my last mail. I tried to pin point the problem. But i could
not. In fact, I did not clearly understand following properties when i go
through them deeply.
[lb:lb]
info=Default load balancer.
debug=0
[lb:lb_1]
info=A second load balancer.
debug=0
Can any one explain better
Can the uri tag be set up to watch for the IP address that a host
resolves too? Or is there some way to do this?
[uri:172.16.10.38:80/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
worker=172.16.10.38:8009
Then if my hosts file looks like
172.16.10.38site1.com
Can any one please explain what is the difference between Worker2.properties
VS Workers.properties? I could not understand that.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 10:40 AM
To: Tomcat Users List; QM
Subject: Re: HTTP Servlet
workers2.properties is for the jk2 connector and workers.properties is for the jk
connector, they have slightly different syntax I think but you'd best look up the
jakarta site for that.
Ta
Matt
-Original Message-
From: Kommuru, Bhaskar [mailto:[EMAIL PROTECTED]
Sent: 26 May 2004 09
Hi Matt,
Thanks for helping. So You mean we can ignore completely workers.properties
when using JK2!
Regards,
Bhaskar
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 10:44 AM
To: Tomcat Users List
Subject: RE: Worker2.properties VS
Yup, I dont even have the file and working fine with jk2.
-Original Message-
From: Kommuru, Bhaskar [mailto:[EMAIL PROTECTED]
Sent: 26 May 2004 10:11
To: 'Tomcat Users List'
Subject: RE: Worker2.properties VS Workers.properties
Hi Matt,
Thanks for helping. So You mean we can ignore
Hello!
Uri Mapping in the workers2.properties seems to be of the format
[uri:host:port/urlpattern]. urlpattern and host support the wild
card *. However host does not seem to work for patterns like
*.domain1.com or *.domain2.com.
I am trying to set up the workers2.properties so
Can someone point me to a tutorial/example of a workers2.properties file
that shows how to set up several instances of Tomcat on the same machine,
different ports?
What I want to do is have a mapping from worker1 to /context1 on 1st tomcat
instance and a worker2 that handles requests to /context2
hi tomcat-users
i have installed and running apache/tomcat/jk2 on a linux-box. in the
meantime i updated apache and because i use a directory with
version-number, the path to the apache-rootdir changed.
now my mod_jk2-module searches the workers2.properties configfile still
in the old apache
To: [EMAIL PROTECTED]
Subject: where to define path to workers2.properties
hi tomcat-users
i have installed and running apache/tomcat/jk2 on a linux-box. in the
meantime i updated apache and because i use a directory with
version-number, the path to the apache-rootdir changed.
now my mod_jk2
This worked for me just subsitiute your path to workers2.properties
JkSet config.file /usr/local/apache2/conf/workers2.properties
Jack
Stefan Burkard wrote:
hi tomcat-users
i have installed and running apache/tomcat/jk2 on a linux-box. in the
meantime i updated apache and because i use
Can anyone tell me where to find documentation on all the available
variables possible in the workers2.properties for Tomcat 4.1?
Thanks.
Charles (Allen) Jordan [EMAIL PROTECTED]
System Administrator(407)771-8919
Convergys
285 International Parkway,
Lake Mary, FL 32746-5007
:[EMAIL PROTECTED]
Sent: Monday, May 03, 2004 9:19 AM
To: [EMAIL PROTECTED]
Subject: workers2.properties documentation?
Can anyone tell me where to find documentation on all the available
variables possible in the workers2.properties for Tomcat 4.1?
Thanks.
Charles (Allen) Jordan [EMAIL
you might be looking for this:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.html
if you're just getting started with jk, you should read this too - very
good entry tutorial:
http://jboss.org/wiki/Wiki.jsp?page=UsingMod_jkWithJBoss
frank
The only way I could get rid of these was to comment out the logger lines.
Charlie
-Original Message-
From: Randy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 13, 2004 1:23 AM
To: [EMAIL PROTECTED]
Subject: location of workers2.properties parameters
I can not find the doc
So was that in one place it the code or through-out?
Thanks
-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 13, 2004 8:27 AM
To: 'Tomcat Users List'
Subject: RE: location of workers2.properties parameters
The only way I could get rid
Sorry, I meant comment out the [logger.apache2] lines in the
workers2.properties.
Even after doing this you will still get your errors in the logs, but the
info's seem to stop. (this doesn't turn off all logging for jk2)
Chalrie
-Original Message-
From: Randy [mailto:[EMAIL PROTECTED
I can not find the doc that describes the descriptors in workers2.properties
I am sorry if it is obvious , but I can not find it
I have tried
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk2.html
And
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/workershowto.html
In my
I can not find the doc that describes the descriptors in workers2.properties
I am sorry if it is obvious , but I can not find it I have tried
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk2.html
And
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/workershowto.html
In my
Le ven 19/03/2004 à 01:06, Chong Yu Meng a écrit :
Daniel Savard wrote:
Is there any documentation on the jk2.properties?
There is the Jakarta documentation available on their site. Or you could
dig through the source code.
I also looked at the Jakarta docs, however
Is there any documentation on the jk2.properties?
After reading the document:
http://cymulacrum.net/writings/tomcat5/c831.html#USING_MOD_JK2
I still get a problem lying with my jk2.properties. However, I was
unable to find any complete documentation on this. Also, the above
document mention 4
Daniel Savard wrote:
Is there any documentation on the jk2.properties?
There is the Jakarta documentation available on their site. Or you could
dig through the source code.
After reading the document:
http://cymulacrum.net/writings/tomcat5/c831.html#USING_MOD_JK2
I still get a problem lying
Could someone give me some help on this?
I have a service which is started up with the system
properties as following:
java -DLogFileDir=c:\test\logs -DDataSource=MyDataSource com.bambi.MyService
Now I need to convert the above service into a web service by using soap
under Tomcat. My question
service with system properties
Could someone give me some help on this?
I have a service which is started up with the system
properties as following:
java -DLogFileDir=c:\test\logs -DDataSource=MyDataSource
com.bambi.MyService
Now I need to convert the above service into a web service by using
Thanks.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 9:15 AM
To: Tomcat Users List
Subject: RE: Deploy a Web service with system properties
Hi,
You can at any point in any of your classes use
System.setProperty(LogFileDir, c:\test\logs
PROTECTED]
Sent: Monday, February 16, 2004 11:40 PM
To: Tomcat Users List
Subject: Re: Performance question JDBC vs Properties
I would write a reload config servlet. It will save you one JDBC
access per request.
Antonio Fiol
Larraquy wrote:
Hi all, I've got this doubt. My applicacion uses some
Hi all, I've got this doubt. My applicacion uses some properties files to
config some events or constants, or whatever, but it's job basically is to
map the users click on a JSP, to a servlet and define what class should
take this event. So, every request comming to a JSP, will be a search
I would write a reload config servlet. It will save you one JDBC
access per request.
Antonio Fiol
Larraquy wrote:
Hi all, I've got this doubt. My applicacion uses some properties files to
config some events or constants, or whatever, but it's job basically is to
map the users click on a JSP
Hi Yoav
One possible alternative is to have the properties file outside the
webapp (or better yet, change from properties file to a database?), and
configure the location of the file using one of the above approaches.
That way you can still deploy a packed WAR, write/update the properties
Howdy,
What an amazing fountain of knowledge you are (!)
I have a special email rule just to highlight your messages, and I am
utterly humbled by your energy and goodwill on this site.
Wow ;) Thanks, and have a good weekend.
Yoav Shapira
This e-mail, including any attachments, is a
Howdy,
what is the best way to update (write) a properties file from a servlet
that is somewhere under /WEB-INF/src/. ? Does this work for a
properties file in a WAR file, too?
The servlet specification only leaves you with one standard place to
write files, the directory specified
Am Donnerstag, 12. Februar 2004 15:51 schrieb Shapira, Yoav:
One possible alternative is to have the properties file outside the
webapp (or better yet, change from properties file to a database?), and
configure the location of the file using one of the above approaches.
That way you can still
Hi,
what is the best way to update (write) a properties file from a servlet that
is somewhere under /WEB-INF/src/. ? Does this work for a properties file
in a WAR file, too?
Best regards,
Ralf.
-
To unsubscribe, e-mail
PROTECTED]
Sent: Wednesday, February 04, 2004 5:01 PM
Subject: RE: workers2.properties syntax
What aspects are you wanting to change and I'll see if I can help explain
them. I'm somewhat new to this also, but have spent almost a year decipering
and figuring things out.
Dean
-Original Message
I'd like to know how you use workers2.properties to load balance if possible. My
original post is below...
The following is my workers2.properties file.
[shm:]
info=Shared memory file. Required for multiprocess servers
file=D:\Tomcat 5.0\work\jk2.shm
size=100
[channel.socket:localhost:8009
Users List
Subject: workers2.properties syntax
Hello,
I'd like to know if someone knows where I can find any document describing the syntax
for workers2.properties different from the one that comes with Tomcat 5.
Cause the one that I'm using I copied from this list (and it's working) and there's
The following is my workers2.properties file.
[shm:]
info=Shared memory file. Required for multiprocess servers
file=D:\Tomcat 5.0\work\jk2.shm
size=100
[channel.socket:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009
[uri:/*.do
Hello,
I'd like to know if someone knows where I can find any document describing the syntax
for workers2.properties different from the one that comes with Tomcat 5.
Cause the one that I'm using I copied from this list (and it's working) and there's
some aspects I want to change that I have
1 - 100 of 560 matches
Mail list logo