CATALINA_OPTS=%CATALINA_OPTS% -Xms1024m -Xmx2048m in
Catalona.bat as mentioned from Thilo Krawietz' email.
Still it seems to be very slow.
Thank you
Gunnar
-Ursprüngliche Nachricht-
Von: alu, artifex [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 1. Juli 2004 16:59
An: Tomcat Users List
Betreff
the tomcat distribution includes a manager webapplication which provides
the functionality of
starting, stopping and reloading specific web applications, take a look
at the source code of
this app to figure out how to achive such a behaviour. you may face some
problems when
the webapp tries to
tomcat doesnt know anything about tcp/ip traffic. go for a network
analyzer or something similar.
art
Ivan Jouikov wrote:
I was wandering how can you count traffic in Tomcat?
One way that I could think of, is to write a filter, and have it wrap
the response output stream, and count the
check if tomcat is already running as a system service, if it is it
won't recognize changes to the tomcat-users.xml
until you stop and restart the service.
also you could try inserting a pause statement at the end of tomcat's
startup.bat file to see tomcats console output
which, most likley,
further explanation follows:
the manager webapp allows every user with the role manager to log in,
the admin webapp
requires the role admin - so you could have any number of users
accessing the webapps, as
long as they have the required roles. of course its also possible to
have a single user
by setting the environment variable JAVA_OPTS to something like this:
-Xms32m -Xmx512m
this will cause the vm to allocate 32m at startup and limits the maximum
java heap memory size
to 512mb.
you can set the environment variable by adding the following command
somewhere at the beginning
of
. (actually since there
is no dtd for the server.xml it will allow but almost certain ignore the
tag).
i'm afraid you have to bind the resource manually in your java code.
mfg
art
Mark Woon wrote:
alu, artifex wrote:
another try: =)
how does the xml structure look like in your context.xml file? i think
=
parameter
name.../name
value.../value
/parameter
...
/ResourceParams
/Context
-
mfg
alu
Mark Woon wrote:
alu, artifex wrote:
where did you place your driver .jar-file in? i think you placed it
into CATALINA_HOME/server/lib - for your configuration
(resource is defined
where did you place your driver .jar-file in? i think you placed it
into CATALINA_HOME/server/lib - for your configuration
(resource is defined in the context) it should be placed in
CATALINA_HOME/common/lib i think.
mfg
alu
Mark Woon wrote:
Hi all.
According to the docs, it's possible to stick
maybe have a look at the sources of the tomcat manager
webapplication, i think it has a comparable feature implemented.
mfg
alu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
some description of the symptoms (error code, stacktrace, logfiles,
etc...) would be helpful!
Francisco José Arnau Vives wrote:
I wanted to update my tomcat server based on jdk1.3 and tomcat 4 to
jdk1.4
over windows server and I'm having many problems with many servlets.
however
this servlets
i don't think the webbrowser can access the jar file inside the WEB-INF
directory, it is protected by tomcat. you have to place the jar file
containing the applet code in a public location such as [...]/hello/applet.
the rendered output (sent to the client) of the jsp page would be
interesting,
12 matches
Mail list logo