Re: Why doesn't my context work?

2005-09-26 Thread Mark Eggers
--- Michael Sullivan [EMAIL PROTECTED] wrote: Right now I use symlinks to my individual users' website directories, but now that I've discovered Alias I'll probably switch completely to using Aliases. Good. I created a test Alias point to the ~/webspace/webapps directory in my

Re: Synchronize wrapper for session obj attrib get/set

2005-09-26 Thread Maurice Yarrow
Leon, Chuck: Thankyou very much for (1) pointing out that tomcat has internal session obj accesses, so go with something that accomplishes a global fix and (2) just as important: what the current patches are for 5.0.19+. Leon, I went with your pre-compiled StandardSession.class and replaced the

Re: Generic Types support in Tomcat?

2005-09-26 Thread Christoph Kutzinski
What's what story? Java 5 features are not supported in latest tomcat stable (5.5.9), but are in the latest alphas (5.5.10-5.5.12) Just as I said in my previous mail. Seak, Teng-Fong wrote: I've received an announcement mail telling that 5.5.12 is in alpha phase! So what's this story?

Re: tomcat exception handling

2005-09-26 Thread James Cowan
thanks. that is what I am looking for. James - Original Message - From: Alon Belman [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org; James Cowan [EMAIL PROTECTED] Sent: Friday, September 23, 2005 10:41 PM Subject: Re: tomcat exception handling you want to

RE: What to put into JAVA_HOME on Windows xp

2005-09-26 Thread Jan Fredrik Fallsen
your java home is C:\jsdk1\Àppserver\jdk -Original Message- From: Arthur D'Alessandro [mailto:[EMAIL PROTECTED] Sent: 26. september 2005 00:16 To: Tomcat Users List Subject: Re: What to put into JAVA_HOME on Windows xp Move it up one level, in your case: C:\JDK1.4\AppServer\jdk On

Need to contact mailing list admin regarding delivery issues

2005-09-26 Thread David Delbecq
Hello, I need to contact the admin of this mailing list regarding delivery issues with it. Please cc: your reply to david.delbecq at myrealbox.com to ensure delivery. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

An error about Tomcat 4.0

2005-09-26 Thread Greece
Hi,Everyone, I am using cewolf to draw chart in Tomcat 4.0. And The program has been run successfully, but when I moved the same program file and used JAR file to the web server, whose OS is Solorias, there has been appearing the error message as below: javax.servlet.ServletException

change path of the session cookie

2005-09-26 Thread cristi
Hello all Is there any possibility of changing the path of the session cookie ? Thx. Cristi Z. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: change path of the session cookie

2005-09-26 Thread Raghupathy,Gurumoorthy
Why do you want it ? -Original Message- From: cristi [mailto:[EMAIL PROTECTED] Sent: 26 September 2005 14:12 To: Tomcat Users List Subject: change path of the session cookie Hello all Is there any possibility of changing the path of the session cookie ? Thx. Cristi Z.

Re: change path of the session cookie

2005-09-26 Thread Tim Funk
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html emptySessionPath=true -Tim cristi wrote: Hello all Is there any possibility of changing the path of the session cookie ? - To unsubscribe, e-mail: [EMAIL

Re: change path of the session cookie

2005-09-26 Thread cristi
Many thanks Tim Cristi http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html emptySessionPath=true -Tim cristi wrote: Hello all Is there any possibility of changing the path of the session cookie ? - To

HTTP trace

2005-09-26 Thread Wilding, Gregory
Does anybody know how to disable HTTP trace within Tomcat Thanks Gregory Wilding EDS Business Exchange Services Abney Park Manchester Road Cheadle Cheshire SK8 2PD Tel +44 (0) 161 495 3488 Fax +44(0) 161 428 5009 mailto:[EMAIL PROTECTED]

Re: What to put into JAVA_HOME on Windows xp

2005-09-26 Thread Seak, Teng-Fong
I remember when I was using Tomcat 5.0.x. It was giving me headaches! After changing JAVA_HOME, it was still necessary to do a service remove and then service install, or else Tomcat won't take that into account. Try Tomcat 5.5. You don't need to declare JAVA_HOME anymore, and you could

Re: HTTP trace

2005-09-26 Thread Tim Funk
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html See the allowTrace option -Tim Wilding, Gregory wrote: Does anybody know how to disable HTTP trace within Tomcat Thanks - To unsubscribe, e-mail: [EMAIL

Problems setting up Webdav folder on Tomcat 5.5

2005-09-26 Thread David Goodenough
I am trying to set up a webdav application on a machine running Tomcat 5.5. The effect I want to create is that anyone can use http://machine/app/folder to read files, but only those who have logged on should be able to use webdav to create, update or delete files from the folder. I tried to do

connecting httpd with Tomcat

2005-09-26 Thread Peter Menzel
Hello tomcat users, I am trying to connect my Apache httpd 2.0.50 on SuSE 9.2 with a Tomcat 5.5.9. Actually I cannot figure out which Connector to use. I read about mod_jk, mod_jk2 and came to the Tomcat Connectors project, which provides JK 1.2.13 and JK 2.0.4. I tried JK 2.0.4. Is this

RE: connecting httpd with Tomcat

2005-09-26 Thread Dale, Matt
JK 1.2.13 is the latest mod_jk and the one you should use. Development on mod_jk has been abandoned due to lack of developer interest and most of the features backported to JK. -Original Message- From: Peter Menzel [mailto:[EMAIL PROTECTED] Sent: 26 September 2005 16:53 To: Tomcat

isapi_redirector and danish chars

2005-09-26 Thread Michael Salmon
Hi everybody I have a problem with Isapi_redirector and danish chars. I have a webapp downloading files with special Danish chars in the filename. Everything woks fine when Tomcat is doing the hole show, but when I do the same thing through IIS and isapi_redirector I get and error. Any

Re: tomcat start exception

2005-09-26 Thread Jun Zhu
Thanks very much for your big help. After adding the attribute, catalina.out has no exception when server startup. But the same exception now is appearing when server shutdown. In addition, if I try to access server's manager page, catalina.out records exception as: An exception or

Re: connecting httpd with Tomcat

2005-09-26 Thread Tim Funk
development on mod_jk2 has been abandoned, not mod_jk -Tim Dale, Matt wrote: JK 1.2.13 is the latest mod_jk and the one you should use. Development on mod_jk has been abandoned due to lack of developer interest and most of the features backported to JK.

Question about tomcat startup ConcurrentModificationException

2005-09-26 Thread Maurice Yarrow
Hello Tomcat people When tomcat is restarted, it occasionally (1 in 25 times) gets the below exception. (tomcat 5.0.28, on Fedora Core 1) What is the significance of this? Thanks Maurice INFO: Starting Coyote HTTP/1.1 on http-8080 Sep 26, 2005 9:29:19 AM

Multiple realms in Tomcat

2005-09-26 Thread Surya Mishra
My Tomcat server doesn't start if the JNDI realm fails to load (due to unavailability of the directory server). I want the server to start properly and serve the unprotected applications at least. Is there a way to specify multiple realms so that different applications can use different realms for

Re: Question about tomcat startup ConcurrentModificationException

2005-09-26 Thread Tim Funk
Search bugzilla. There is a bug report about ConcurrentModificationException - it has to do with mx4j having a race condition. The bug describes a fix. -Tim Maurice Yarrow wrote: Hello Tomcat people When tomcat is restarted, it occasionally (1 in 25 times) gets the below exception.

RE: What to put into JAVA_HOME on Windows xp

2005-09-26 Thread Ramnish Kalsi
Remove bin from the JAVA_HOME. JAVA_HOME=C:\JDK1.4\AppServer\jdk -ramnish. -Original Message- From: Markus Hapke [mailto:[EMAIL PROTECTED] Sent: 25 September 2005 21:27 To: tomcat-user@jakarta.apache.org Subject: What to put into JAVA_HOME on Windows xp Hello, I just installed tomcat

Re: Why doesn't my context work?

2005-09-26 Thread Michael Sullivan
On Sun, 2005-09-25 at 23:21 -0700, Mark Eggers wrote: --- Michael Sullivan [EMAIL PROTECTED] wrote: Right now I use symlinks to my individual users' website directories, but now that I've discovered Alias I'll probably switch completely to using Aliases. Good. I created a

Options to prevent web app from being available if DB not available?

2005-09-26 Thread Mike Miller
Hi, I am looking for options to prevent my web application from being available if our database is not available. I've used context listeners in the past, but since you can return a bad return code they don't like the cleanest approach. I have tried registering a context listener and then

Re: Options to prevent web app from being available if DB not available?

2005-09-26 Thread Tim Funk
Servlet filter. The filter can check the database status on init. Then the filter could be made smart enough to let all traffic through if the database comes back to life. (or conversely also goes away) -Tim Mike Miller wrote: Hi, I am looking for options to prevent my web application

RE: Options to prevent web app from being available if DB not available?

2005-09-26 Thread Arup Vidyerthy
Haven't really thought it through as I just woke up :-) However, I don't see why couldn't write a filter that filters all request. It checks the DB connection and if it isn't there it just simply forwards the user to an appropriate page. As to making the whole web app unavailable - I am not

Re: Problems setting up Webdav folder on Tomcat 5.5

2005-09-26 Thread David Goodenough
On Monday 26 September 2005 16:51, David Goodenough wrote: I am trying to set up a webdav application on a machine running Tomcat 5.5. The effect I want to create is that anyone can use http://machine/app/folder to read files, but only those who have logged on should be able to use webdav to

RE: Options to prevent web app from being available if DB not available?

2005-09-26 Thread Mike Miller
Thanks for the replies - several suggested filters. I guess I have two concerns with that approach: 1) Since this doesn't happen very often, I'm not sure I want to add additional processing to EVERY request processed by the system. I may be wrong and it may not be much extra? 2) we have

AW: jconsole security manager

2005-09-26 Thread Pfingstl Gernot
Thanks for the reply, I got it running, but I don't understand it, maybe you can help me: Giving following permission to my tomcat (5.5.9) grant { permission javax.management.MBeanPermission *, *; permission java.lang.management.ManagementPermission monitor;

Re: Options to prevent web app from being available if DB not available?

2005-09-26 Thread Steve Dodge
Mike, Doing this with pure J2EE Servlet code, I would use three components. First, use the Context Listener to check the Database on start up, if no DB connectivity set a ApplicationContext attribute to that effect. The second part would be a javax.servlet.Filter which checks the status of

Re: Protecting applications in Tomcat using Directory Server

2005-09-26 Thread Mark Thomas
Surya Mishra wrote: Thank You Mark, My Tomcat server won't even start if the directory server is unreachable. That means other applications that have not protected are also failing. Second question: There is no attribute in the Realm definition to give a name to realm (as per the how-to

Re: Need to contact mailing list admin regarding delivery issues

2005-09-26 Thread Mark Thomas
As per the welcome e-mail you received when you subscribed: [EMAIL PROTECTED] David Delbecq wrote: Hello, I need to contact the admin of this mailing list regarding delivery issues with it. Please cc: your reply to david.delbecq at myrealbox.com to ensure delivery. Thanks.

Re: isapi_redirector and danish chars

2005-09-26 Thread Mark Thomas
Michael Salmon wrote: Hi everybody I have a problem with Isapi_redirector and danish chars. I have a webapp downloading files with special Danish chars in the filename. Everything woks fine when Tomcat is doing the hole show, but when I do the same thing through IIS and isapi_redirector I

RE: Tomcat working directory

2005-09-26 Thread Samit Paul
Bill, Thanks for the insight. But it still didn't work. Also the gui interface comes with Startup/Working Path disabled. I could change the path through command line //US//Tomcat5 --StartPath working_dir. Once I do this the GUI interface shows me the Working Path set to the new one, but the edit

CGIservlet strips socket permissions from CGI on windows

2005-09-26 Thread Randy Kunkee
It's a long story about why I'm running a CGI under Tomcat (okay, it's an older app, but it plugs nicely into Tomcat authentication). My Tcl CGI script opens a socket. On Unix, this all works fine. On windows server 2003, the Tcl script returns invalid argument when the socket command is

NullPointerException during error page forward

2005-09-26 Thread Scott Goldstein
I'm running Tomcat 5.0.28 and running into a problem during forward to the error page. Specifically, I'm seeing a NullPointerException and I'm losing the original exception which I'd like to track. When looking into the source code, in JspServlet.service(), I see the following:

'touch'ing jsp files to force recompilation

2005-09-26 Thread steven
I was using the 'touch' command to force a recompile of some jsp files. After a while, I checked lsof and noticed some files being left open: java 25139 fdblahh 21r REG3,3 1214916783806

error in the servlet spec v2.4?, not the Session issue!

2005-09-26 Thread Trond Hersløv
Hi, How precise is the servlet spec v2.4? I guess the spec has been worked over many, many times before it is released so probably it is me that has got it wrong. The introduction of srv.5 The Response: .this information is transmitted from the server to the client either by HTTP headers

An error about Tomcat 4.0

2005-09-26 Thread Greece
Hi,Everyone, I am using cewolf to draw chart in Tomcat 4.0. And The program has been run successfully, but when I moved the same program file and used JAR file to the web server, whose OS is Solorias, there has been appearing the error message as below: javax.servlet.ServletException at

TC v5.5.12 Broke My Configuration

2005-09-26 Thread Bob Bronson
Hi all, I've just tried to upgrade from TC v5.5.9 to v5.5.12 and it seems my (very simple) configuration is now broken. The following configuration works beautifully under 5.5.9 -- no exceptions, no warnings, just utter perfection. Here's a description of my configuration (BTW,

Re: Generic Types support in Tomcat?

2005-09-26 Thread Seak, Teng-Fong
When I first saw the announcement that Tomcat 5.5 needs Java5 to run, I thought it would supports Java5 features. But it turns out that it needs Java5 but not supports Java5. Quite disappointed. Anyway, I have to go on with my webapp, so much for it. Christoph Kutzinski wrote: What's

Re: Generic Types support in Tomcat?

2005-09-26 Thread Seak, Teng-Fong
Stephan van Loendersloot wrote: Seak, Teng-Fong wrote: I've received an announcement mail telling that 5.5.12 is in alpha phase! So what's this story? Actually, I'm more interested in using the new for loop in Java5 than using generic. I always like to think that the modularity that

Problem defining JNDI data source.

2005-09-26 Thread David C. Hicks
I'm having difficulty defining a JNDI data source using C3P0 pooling in Tomcat 5.5.9. Here is the context descriptor for my app: Context path=/ems reloadable=true Logger className=org.apache.catalina.logger.SystemOutLogger verbosity=4 timestamp=true/ Loader

Re: 'touch'ing jsp files to force recompilation

2005-09-26 Thread Anto Paul
On 9/27/05, steven [EMAIL PROTECTED] wrote: I was using the 'touch' command to force a recompile of some jsp files. After a while, I checked lsof and noticed some files being left open: java 25139 fdblahh 21r REG3,3 1214916783806

log files not rolling over.

2005-09-26 Thread David Thielen
Hi; Some of my log files (the ones specified in log4j.xml) are not rolling over. Specifically, after 3 days my logs directory is: 09/23/2005 12:18 PM 0 admin.2005-09-23.log 09/25/2005 10:08 PM 0 admin.2005-09-25.log 09/23/2005 12:18 PM 0

Re: Generic Types support in Tomcat?

2005-09-26 Thread Nikola Milutinovic
Seak, Teng-Fong wrote: When I first saw the announcement that Tomcat 5.5 needs Java5 to run, I thought it would supports Java5 features. But it turns out that it needs Java5 but not supports Java5. Quite disappointed. Anyway, I have to go on with my webapp, so much for it. Tomcat 5