RE: realms and user initialization

2004-08-04 Thread Jérôme Duval
You could create a SessionListener and create your bean and bind it to the session in the sessionCreated method. -Original Message- From: Chad Cunningham [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 04, 2004 4:42 PM To: [EMAIL PROTECTED] Subject: realms and user initialization

RE: Weird stylesheet behavior

2004-08-02 Thread Jérôme Duval
. Ta Matt -Original Message- From: Jérôme Duval [mailto:[EMAIL PROTECTED] Sent: 30 July 2004 22:01 To: 'Tomcat Users List' Subject: Weird stylesheet behavior I developped a webapp in Windows XP using Tomcat 5.0.24 (the binary download). Everything is swell on my machine. When I copied

RE: SunONE versus Tomcat performance

2004-08-02 Thread Jérôme Duval
Why would you compare Apache and Tomcat vs. SunONE? Isn't there a lot of overhead in using the connector and all that? Seems to me a more logical test would be Tomcat vs SunONE and the most recent version of both, which Tomcat 4.1.30 is not. I smell bogus test results! -Original Message-

Binary distribution for Linux?

2004-08-02 Thread Jérôme Duval
Is there a binary distribution for Linux (ie a Windows Installer-type interface)? Or do I have to build it myself? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Weird stylesheet behavior

2004-08-02 Thread Jérôme Duval
Well everyone, I'm happy to report that by doing absolutely nothing to resolve this problem, my application works perfectly! I love how logical computer science is! -Original Message- From: Jérôme Duval [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 8:34 AM To: 'Tomcat Users

RE: SunONE versus Tomcat performance

2004-08-02 Thread Jérôme Duval
, no scientific comparison, and no pointing out which one is better overall. Please download it yourself, and try with your application if performance is something you want to find out. Jérôme Duval wrote: Why would you compare Apache and Tomcat vs. SunONE? Isn't there a lot of overhead in using

Weird stylesheet behavior

2004-07-30 Thread Jérôme Duval
I developped a webapp in Windows XP using Tomcat 5.0.24 (the binary download). Everything is swell on my machine. When I copied it to a linux box (using Fedora 2), on which we installed Tomcat 5.0.27 from source, my application works, but the stylesheet stuff doesn't show at all. Inline

RE: redirect output in win 2000 from comandline

2004-07-26 Thread Jérôme Duval
To redirect to a file put filename.extension System.err will still be in your prompt window though. The only way you can redirect System.err is programatically (look at the Java API in the System class (java.lang I believe...)) -Original Message- From: Alberto Marino [mailto:[EMAIL

RE: Help (Started over again) Making Tomcat work with Apache

2004-07-22 Thread Jérôme Duval
You changed the worng thing! The path is what is typed in the Adress bar and the docBase is where the content is. So what you actually want is: !-- Tomcat Root Context -- Context path= docBase=d:/webserver/apache/apache/htdocs debug=0/ -Original Message- From: Phillip

RE: Help (Started over again) Making Tomcat work with Apache

2004-07-22 Thread Jérôme Duval
I am not sure about this, but your problem seems to be confirming this. I think the JSPs will not be compiled unless they are part of a web application, i.e. you are being asked to save it because it isn't a format your browser recognizes (it’s not a webpage). In the folder of your test.jsp, you

RE: Files, paths and permissions

2004-07-07 Thread Jérôme Duval
Thanks for the pointer! Not running it as a service made it worked. Guess I'll have to stick to that from now on. -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 06, 2004 5:21 PM To: Tomcat Users List Subject: Re: Files, paths and permissions On Tue, Jul 06,

RE: Files, paths and permissions

2004-07-07 Thread Jérôme Duval
The thing is that it doesn't seem to want to run as a different user than the one it is configured to run as (LocalSystem) and I have no idea what user this represents (I am in WinXP if someone wants to shine some light). I have these accounts set up: Administrator ASPNET

Files, paths and permissions

2004-07-06 Thread Jérôme Duval
I am having a problem creating a file on a remote computer in one of my servlets when using Tomcat 5.0.24. The folder for the file is on another computer (called MSI). I know for a fact that the folders and the file exist, because a test app returns: \\Msi\nouveau dossier\commande.web when I go

RE: Ruth R Wu-Wong/SANTACLARA/ADD/ABBOTT is out of the office.

2004-07-05 Thread Jérôme Duval
Yay! Another one ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, July 05, 2004 12:27 PM To: Tomcat Users List Subject: Ruth R Wu-Wong/SANTACLARA/ADD/ABBOTT is out of the office. I will be out of the office starting 06/28/2004 and will not return

RE: Log rotation HOWTO

2004-06-29 Thread Jérôme Duval
Search the mailing list! This question was asked recently... These messages might be useful... -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 10:04 AM To: [EMAIL PROTECTED] Subject: Log rotation HOWTO I haven't been able to find a clear

RE: DOCTYPE wrong yet still works, why?

2004-06-29 Thread Jérôme Duval
Because, if I remember correctly from a previous message on the list, Tomcat does not validate web.xml files. (Anyone care to confirm this?) -Original Message- From: Woodchuck [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 12:10 PM To: tomcat Subject: DOCTYPE wrong yet still

[Dev] What is the best way to proceed...

2004-06-23 Thread Jérôme Duval
I am currently developing a web application using tomcat 5.0.24. The layout of my application is like so: frameset rows=180,*,57 framespacing=0 border=0 frameborder=0 frame ... frameset cols=*,175 framespacing=0 border=0 frameborder=0 frameset rows=35,*

RE: Tomcat does not compiles my .jsp!

2004-06-23 Thread Jérôme Duval
You probably have an error in you jsp file. To test this right a normal html file with a jsp extension. If you aren't familiar with html, just go to any website and copy the source of the page and use that... -Original Message- From: Cyberjobe [mailto:[EMAIL PROTECTED] Sent: Wednesday,

RE: Easy /servlet question

2004-06-23 Thread Jérôme Duval
You must specify your servlet in the web.xml file. This is how Tomcat knows what to do when you ask it for Upload_CnW. This might be unnecessary to mention, but you also have to compile your class before launching Tomcat. Anything else would just be shots in the dark, since you haven't really told

RE: Tomcat does not compiles my .jsp!

2004-06-23 Thread Jérôme Duval
Corrected a stupid mistake: You probably have an error in you jsp file. To test this write a normal html file with a jsp extension. If you aren't familiar with html, just go to any website and copy the source of the page and use that...

RE: Design question ..

2004-06-21 Thread Jérôme Duval
Most commercial databases implement a solution to this problem since it is fairly common. For MySQL, you must use the InnoDB engine (at least for now). You use the concept of transaction. To do this, you must turn the AutoCommit mode to off (some client have this mode off by default, some do not.

RE: Parameters and where is log

2004-06-16 Thread Jérôme Duval
Don't know if this will be of any use to you, but if you are using Tomcat 5.0.24, you can define where System.out and System.err are redirected by Configuring Tomcat under the Logging tab. - To unsubscribe, e-mail: [EMAIL

Re: Re: Setting the Session Id length

2004-06-16 Thread Jérôme Duval
To avoid having to type in -classpath . when you use your JVM add ;.; after C:\j2sdk1.4.2_01\bin. The classpath is the variable your JVM uses to figure out where it can find the classes that it is supposed to use. By adding . you tell it to look in the directory you are currently in. The

RE: Vexing session ceration issue

2004-06-16 Thread Jérôme Duval
I think you are asking the wrong object for info. You want to know if the session exists or not, so ask the session! I would use the isNew() method, rather then getSession(false), simply because the session is the best placed object to know if it exists or not.

Re: Second Try: Can anyone explain this?

2004-06-16 Thread Jérôme Duval
Then your out of luck. The java from a JSP page is always placed into a package. Becuase of this, you can't have packageless classes. Tim, perhaps I don't understand what you are saying correctly, but I have no trouble using classes that are not in a package in my application. Once I am done

RE: Second Try: Can anyone explain this?

2004-06-16 Thread Jérôme Duval
Now I see what you mean. It's just that I never develop with classes that reuse code that is located in other folders, so the classloader can always find the classes I need. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 3:21 PM To: Tomcat