Re: AW: How to increase memory

2004-07-02 Thread alu, artifex
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

Re: How can i restart/reload a webapplication from within a servlet ?

2004-07-01 Thread alu, artifex
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

Re: How can you count incoming and outgoing traffic for an application?

2004-07-01 Thread alu, artifex
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

Re: Problems Starting Tomcat

2004-07-01 Thread alu, artifex
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,

Re: default user for administrate and manage Tomcat

2004-07-01 Thread alu, artifex
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

Re: How to increase memory

2004-07-01 Thread alu, artifex
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

Re: [TC5] Problems with context.xml

2004-06-09 Thread alu, artifex
. (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

Re: [TC5] Problems with context.xml

2004-06-08 Thread alu, artifex
= 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

Re: [TC5] Problems with context.xml

2004-06-07 Thread alu, artifex
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

Re: JSP page processing time

2004-06-04 Thread alu, artifex
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]

Re: Problems with jdk1.4 and Windows

2004-06-03 Thread alu, artifex
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

Re: n00b applet URI question

2004-05-28 Thread alu, artifex
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,