Re: Q: Why Tomcat return me a OLD version of my doc.jar in an Applet ?

2005-10-07 Thread Darek Czarkowski
did you clean up your local cache? the jar file might be a local version of the file. You might not be able to see the new version until you remove the old one. (usually ~/.java/.deployment/javaws/) -- Darek Czarkowski Infinite Source Systems Corp. Ph: 604 294 6557 (Ext. 113) Fx: 604 294 6507

Re: Newbie question - Tomcat 5.0 and external Javascript files

2005-10-05 Thread Darek Czarkowski
You have to specify the full path, this should not work under any of the webservers. DarekC On Wed, 2005-10-05 at 08:03, Pigott, Paul wrote: Greetings, I'm having problems executing functions in an external javascript file. It's like the .js file can't be found. I was able to do this under

Re: no luck with allowLinking=true

2005-09-11 Thread Darek Czarkowski
On Sun, 11 Sep 2005 16:55:38 -0700 Maurice Yarrow [EMAIL PROTECTED] wrote: Hello tomcat-users I have simply had no success getting allowLinking=true. I have read simply dozens and dozens of links with a standard recipe for doing this, as well as the tomcat documentation, of course. Am running

Connection timed out error when shutting down tomcat

2005-08-29 Thread Darek Czarkowski
Hello, Tomcat takes long time to shut down, it takes about a minute from the shut down command until it terminates with an error in catalina.out. Apache should have nothing to do with it. Tomcat version: jakarta-tomcat-4.1.27 Server version: Apache/2.0.46 with mod_jk2 OS RHE Linux

Re: invalidate session after calling listeners

2005-08-26 Thread Darek Czarkowski
You could implement HttpSessionBindingListener and define your own valueBound and valueUnbound methods. DarekC On Fri, 2005-08-26 at 13:08, Franklin Phan wrote: Is there a way to set Tomcat to call listeners before invalidate() is called on a session? I'm trying to code a method to clean up

Re: logout

2005-08-18 Thread Darek Czarkowski
Invalidate user session, assuming you check if user session is valid every visit to the page. On Fri, 19 Aug 2005 01:53:10 + ganesan malairaja [EMAIL PROTECTED] wrote: hi guys i am wondering .. is it possible for me to disable and internet (http / ftp ) connection on particular machine

RE: Max thread/session timeouts

2005-07-22 Thread Darek Czarkowski
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: follow simboilic links when requesting an html page using tomcat 5.0.25

2005-06-20 Thread Darek Czarkowski
Add Resources className=org.apache.naming.resources.FileDirContext allowLinking=true / To the context DarekC On Mon, 2005-06-20 at 10:03, Ariel Pessah wrote: Hi all, Does any body knows how can I configure Tomcat to follow symbolic links when showing a page on Linux ? I am trying to load

Tomcat Manager and number of sessions per app

2005-06-05 Thread Darek
Hello, We have a server running Tomcat 4.1.27, mod_jk2, Apache2 hosting 6 applications. Tomcat Manager shows number of active sessions for each application. At one time one of the applications had over 300 active sessions, but applications user monitor would show only 60 authenticated users. I

What is max value for MaxThreads

2005-04-26 Thread Darek Czarkowski
How many threads can tomcat handle? Assuming single tomcat hosting 5 different apps, no load balance, using mod_jk and Apache. I am wondering what would be the safe limit. DarekC - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: tomcat jsp problem with cookies

2005-04-24 Thread Darek
I think you have an error in your code. Cookie cookies[]=request.getCookies(); ... uCookie=cookies[0]; username=sCookie.getName(); is it sCookie or uCookie? DarekC On Mon, 25 Apr 2005 11:30:55 +0800 XiaoPeng [EMAIL PROTECTED] wrote: Dear Sir/Madam, This is XiaoPeng here. I am using

Re: logging to seperate log file per war file

2005-04-12 Thread Darek Czarkowski
do you have console appender included in your log4j config file? comment it out. On Mon, 2005-04-11 at 20:12, quentin.compson wrote: is this possible using context.xml or some other way? im using log4j but some output still goes to stdout (e.g System.out.println()). thx

Re: jsp imports

2005-03-23 Thread Darek Czarkowski
I am not sure if this is relevant but, is session data a full name of the package? I would expect to see something like com.packagename.sessionData DarekC On Wed, 2005-03-23 at 03:20, Pawson, David wrote: Tomcat 5.0.28 In my index.jsp file I have %@ page import=sessionData% %

Re: running a thread in Tomcat

2005-03-15 Thread Darek Czarkowski
you have to terminate that thread explicitly. You can do that by defining ApplicationServletContextListener and have it stopped on contextDestroyed event DarekC On Tue, 2005-03-15 at 07:31, Mark wrote: Hi, I'm starting a new thread in my init servlet(I know it has been discussed few time,

Multiple instances of tomcat

2005-03-12 Thread Darek
I have a tomcat 4-1-27 running on RedHat 2.4.21. Normally when you startup tomcat it will create a single instance, I have however about 28 created right away. I understand that they all share the same memory, but I don?t think this is a normal behavior. What can be causing this? DarekC

Re: Multiple instances of tomcat

2005-03-12 Thread Darek
not sure what I have done, while configuration files look exactly same. I appreciate your help. DarekC On Sat, 12 Mar 2005 07:17:28 -0600 QM [EMAIL PROTECTED] wrote: On Sat, Mar 12, 2005 at 12:21:10AM -0800, Darek wrote: : I have a tomcat 4-1-27 running on RedHat 2.4.21. Normally : when