tomcat thru netbeans 3.6

2004-05-21 Thread Tim Ashman
I've got this problem and I'm not sure how to solve it. I'm hoping someone can steer me the right way. My problem is that I have my static files for the webapp located right off of the webapps directory like this. $tomcat/webapps/myapps $tomcat/webapps/myapps/images Now on my production

Re: HTTP Redirections with Tomcat

2004-05-21 Thread Eric Noel
On 5/20/2004 1:51 AM, Guillermo Zarabozo wrote: Hi Everyone, I have a Tomcat Appl. Server running with Atlassian JIRA application. Recently We had an upgrade to a newer version, so the clients now need to change this URL http://hostname:8080/altlassian-jira-2.0.2 for ...

Re: HTTP Redirections with Tomcat

2004-05-21 Thread kevin li
Use the simple code below as your redir html page. HTML HEAD SCRIPT language=javascript function topStart() { top.location=http://hostname:8080/altlassian-jira-2.5.3; } /SCRIPT /HEAD BODY onload=topStart()/BODY /HTML ~ ~ ~ Kevin Li Global Information

RE: RequestDispatcher resource not available

2004-05-21 Thread Nitschke Michael
I do a combination now. I enabled the Invoker and put a mapping in the web.xml for it. I use the RequestDispatcher to forward to the other servlets via the invoker. I enabled the reloading feature of the context. And everything works as I need it. mfg Michael Nitschke -Original

Re: tomcat thru netbeans 3.6

2004-05-21 Thread Illya Kysil
Tim Ashman wrote: I've got this problem and I'm not sure how to solve it. I'm hoping someone can steer me the right way. My problem is that I have my static files for the webapp located right off of the webapps directory like this. $tomcat/webapps/myapps $tomcat/webapps/myapps/images Now

Re: Pass info between Tomcat Valve and Filter

2004-05-21 Thread Jon Wingfield
An invocation of a Tomcat Valve gives you a Request object. This is a facade to a ServletRequest, which you can access via the getRequest() method. You could set your info object as an attribute on the ServletRequest. This should then be visible to your filter.

Re: webdav servlet problems with Tomcat 5.0.24 and IE

2004-05-21 Thread Roy Gardner
Mark, First of all it is worth pointing out that this works quite happily for me on WinXP using TC5.0.24 and IE6. Ah, the wonderful world of M$. There are difference between how tomcat 4 and 5 handle redirection from www.yourhost.com/webdav to www.yourhost.com/webdav/ Either should be valid but

Tomcat security and virtual hosts

2004-05-21 Thread wsedio
Hi all, I am running Tomcat 5.0.24 on Red Hat Linux Enterprise 3 with Apache web server 2 and mod_jk 1.2. I have a few Apache/Tomcat virtual hosts: each host has its own document root and webapps. I would like to make sure that each host is not allowed to access files outside its document

Re: Memory leak with Tomcat 5.0.19

2004-05-21 Thread wsedio
On 20-05-2004 11:58, wsedio wrote: On 19-05-2004 23:15, Michiel Toneman wrote: We were having severe memory problems too with 5.0.19. Does Tomcat 5.0.24 fix this problem? We added this to the jk2.properties: request.registerRequests=false and the memory usage was normal again. Somewhat

tomcat book

2004-05-21 Thread wsedio
Hi all, what is the best Tomcat book around? It would be great if it also covers Tomcat 5 ... Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: running Tomcat from jsvc daemon under Linux as user tomcat

2004-05-21 Thread Bob White
I have set everything in the entire $CATALINA_HOME directory tree to be owned by user tomcat, group tomcat. I even tried setting them to user.root and put tomcat in the root group. Still, Tomcat cannot write to the work dir. When I try to run jsvc as user root, I get a

Problems with session handling, carts example (Tomcat 5) !!

2004-05-21 Thread Marc Arnold
Hi, I've real troubles with tomcat sessions. My tomcat server works well, version 4 and 5 (5.0.25), installed with windows installer. However, something is wrong with session information. I tried to run my own application and the carts example with Mozilla 1.6, MS IE 6.0 and Opera 7.23. The

RE: tomcat book

2004-05-21 Thread Schalk
I find O'Reilly's Tomcat Complete Reference very useful. Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.com

Re: equivalent of DefaultContext element for Host

2004-05-21 Thread wsedio
On 20-05-2004 16:03, Shapira, Yoav wrote: Be careful when relying on the DefaultContext, it can lead to laziness. Can you be a bit more specific? :-) I am dealing with a bunch of virtual hosts ... Thanks. - To unsubscribe, e-mail:

Re: Memory leak with Tomcat 5.0.19

2004-05-21 Thread Michiel Toneman
wsedio wrote: On 20-05-2004 11:58, wsedio wrote: On 19-05-2004 23:15, Michiel Toneman wrote: We were having severe memory problems too with 5.0.19. Does Tomcat 5.0.24 fix this problem? I have no idea, haven't tried it out yet. No plans as yet to test/roll-out 5.0.24, so it will be a while before

Re: The tomcat not accept more connections

2004-05-21 Thread Adam Buglass
Ok, I don't know about timings - that is an entirely different question. Tomcat is not accepting connections because you've run out of processors to create them (defined in server.xml - this example is for my SQL connection): !-- Define an AJP 1.3 Connector on port 8009 --

unique session_id per browser window

2004-05-21 Thread Rostislav Svoboda
Hi all I have a webapp in a browser window which has a specific session_id. If I open another window and invoke the same servlet the session_id remains the same. Can anyone tell me how obtain unique session_id for different browser windows? Thanks a lot Bost

RE: Problems with session handling, carts example (Tomcat 5) !!

2004-05-21 Thread Marc Arnold
hi again, I've still this problem, however made an interesting discovery: the servlet example of tomcat about sessions works. There data can be stored within the session. Can anybody tell me how to fix this with jsp? Thanks a lot Marc -Ursprüngliche Nachricht- Von: Marc Arnold

RE: tomcat book

2004-05-21 Thread Tom K
I don't own it, but you can look on http://amazon.com for Professional Apache Tomcat 5 Tom Kochanowicz -Original Message- From: wsedio [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 4:38 AM To: Tomcat Users List Subject: tomcat book Hi all, what is the best Tomcat book around?

Re: unique session_id per browser window

2004-05-21 Thread Ben Souther
If you open a new instance of the browser by using the start menu. The new instance will have it's own cookie space. If you open a new instance by typing ctl+n from a running instance or by using the filenew menu options the new instance will share the same cookie space as the one you

Re: session data in Tomcat 5

2004-05-21 Thread Ben Souther
Mike, If you have a small, reproducable test case, send it up. I'd like to take a look at it. On Friday 21 May 2004 01:10 am, you wrote: Jacob Kjome wrote: I didn't see the earlier posts, but are you using Tomcat-5.0.24? There's a bug related to session cookies which requires a hotfix.

CGIServlet -- tomcat

2004-05-21 Thread Alex
who maintains the code for the cgiservlet used within tomcat? i have some specific questions and all attempts to get information from this list have prooven to be quite disappointing :( thanks! - To unsubscribe, e-mail:

Net Integrator Virus Alert

2004-05-21 Thread Virus Scanner
WARNING: a virus (probably I-Worm.NetSky.q) or suspicious attachment was detected and removed from the following message from [EMAIL PROTECTED] to [EMAIL PROTECTED] Some of the content may still be readable. ---BeginMessage--- See the ghg5%6gfz65!4Hf55d!46gfgf Server Error #203 +++ Attachment:

Re: Session Timeout and Direct Reference to login page

2004-05-21 Thread Veniamin Fichin
Jonathan Eric Miller wrote: Yeah, that seems like it would work. I'm wondering if I could maybe use a filter by itself though and not use the listener and do something like the following. 1. Intercept all requests with a filter. 2. Get the HttpSession out of the request. Get the session ID by

RE: CGIServlet -- tomcat

2004-05-21 Thread Shapira, Yoav
Hi, Us ;) Being the greater tomcat community, mostly the committers. If your question wasn't answered, maybe no one knows the answer. Yoav Shapira Millennium Research Informatics -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 7:42 AM To: [EMAIL

RE: equivalent of DefaultContext element for Host

2004-05-21 Thread Shapira, Yoav
Hi, The spirit of the servlet specification calls for every webapp to be self-contained and portable. Using DefaultContext by definition means your webapp depends on server-global settings. It's a subtle but significant difference from it depending just on its own server configuration (in this

RE: CGIServlet -- tomcat

2004-05-21 Thread Alex
this is what i fear : ) i want to find someone who can duplicate what i have to help affect some change. i realize i'm but a little person with a little problem in the grand scheme of things. had i more time to direct towards looking at the source of the cgiservlet i'd hope to come up with a

RE: CGIServlet -- tomcat

2004-05-21 Thread Shapira, Yoav
Hi, this is what i fear : ) i want to find someone who can duplicate what i have to help affect some change. i realize i'm but a little person with a little problem in the grand scheme of things. If you find a bug, and file it with a reproducible test case, it won't be ignored. had i more

Tomcat 4.1.30

2004-05-21 Thread Damon Henderson
Whenever I attempt to enable SSL in Tomcat 4.1.30 by uncommenting SSL Coyote HTTP/1.1 Connector on port 8443 section of my server.xml. Tomcat will not start, any ideas?

RE: Memory leak with Tomcat 5.0.19

2004-05-21 Thread Brian Beckham
I added the request.registerRequests=false to jk2.properties yesterday, but I still do not have a definite confirmation on whether this problem is fixed. The JVM did grow to over 600MB, which is more that my Tomcat 4.1.x instances, but Tomcat crashed the site yesterday at about 7pm, so I didn't

RE: session data in Tomcat 5

2004-05-21 Thread Shapira, Yoav
Hi, Oh, this reminds me to have a vote on the stability of 5.0.25! You never answered the key question of whether your session attributes are Serializable or not: that's a binary question, should be easy to determine ;) Yoav Shapira Millennium Research Informatics -Original Message-

Tomcat 5: Location of 3rd party JNDI datasource jars in $CATALINA _HOME/common/lib

2004-05-21 Thread CARROLL, Chris, FM
Hi all, This probably a simple question but I cannot find any answer to this in the FAQ or buglist. Why is it that the required jars for 3rd party JNDI datasource (such as JDBC pools) have to be placed in $CATALINA_HOME/common/lib? Why does the Tomcat instance not use

RE: Tomcat 4.1.30

2004-05-21 Thread Shapira, Yoav
Hi, Here's an idea: look at the log and check for error messages ;) If there's insufficient information in the logs: for elements in server.xml that have debug=0 set debug=99. For everything else, follow the guidelines at http://jakarta.apache.org/tomcat/faq/misc.html#commonsLoggingLog4j to set

RE: Use of Apache Commons Logging in Tomcat

2004-05-21 Thread Shapira, Yoav
Hi, This might help: http://jakarta.apache.org/tomcat/faq/misc.html#commonsLoggingLog4j Yoav Shapira Millennium Research Informatics -Original Message- From: Hut Carspecken [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 5:52 PM To: [EMAIL PROTECTED] Subject: Use of Apache

RE: CGIServlet -- tomcat

2004-05-21 Thread Ralph Einfeldt
Who wrote what of the Servlet: http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/CGIServlet.java?annotate=1.19 -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 2:29 PM To: Tomcat Users List

URL Rewriting

2004-05-21 Thread Morten
Hi! We are using Struts 1.1 and Tomcat 4.1.x at our company. We are considering to separate our urls from our struts configuration. Instead of /news.do?articleid=43 we would like the url to look like this: /news/article/43. Furthermore the generated html should contain urls of the form

RE: CGIServlet -- tomcat

2004-05-21 Thread Alex
Thanks ralph. On Fri, 21 May 2004, Ralph Einfeldt wrote: Date: Fri, 21 May 2004 14:59:14 +0200 From: Ralph Einfeldt [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: CGIServlet -- tomcat Who wrote what of the Servlet:

RE: Tomcat 5: Location of 3rd party JNDI datasource jars in $CATALINA _HOME/common/lib

2004-05-21 Thread Benjamin Armintor
If a class needs to be accessed by both server components and web apps, it must be in the common classloader. The classes in the common class loader are all in $CATALINA_HOME. $CATALINA_BASE is for instance specific information, and the shared class loader is for classes that only need to be

RE: URL Rewriting

2004-05-21 Thread Shapira, Yoav
Hi, IMHO (literally) this is not that good an idea in that your solution will be incur more costs (complexity, customization, long-term maintenance) than benefits (??). Yoav Shapira Millennium Research Informatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of

Re: session data in Tomcat 5

2004-05-21 Thread Ben Souther
On Friday 21 May 2004 08:53 am, Shapira, Yoav wrote: You never answered the key question of whether your session attributes are Serializable or not: that's a binary question, should be easy to determine ;) He didn't answer it but he did mention that he wasn't concerned with maintaining state

RE: Tomcat 5: Location of 3rd party JNDI datasource jars in $CATA LINA _HOME/common/lib

2004-05-21 Thread CARROLL, Chris, FM
Thanks for the info Ben. The only counter argument I have is ...$CATALINA_BASE is for instance specific information Making a datasource reference available to a single instance would imply CATALINA_BASE. ALL Tomcat instances would imply CATALINA_HOME. It's a picky point and maybe I

access logging

2004-05-21 Thread Nanda
Access log entries seem to be logged without being buffered, in the default setting on Tomcat. Can this be configured to log every 50 or 100 lines in a batch or every N minutes? Thanks Nanda key words: buffer buffering access log logging

RE: access logging

2004-05-21 Thread Shapira, Yoav
Hi, Nope. Feel free to submit an enhancement (though this is not that likely to get through: the access log's impact on performance is negligible). Yoav Shapira Millennium Research Informatics -Original Message- From: Nanda [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 9:15 AM

Re: session data in Tomcat 5

2004-05-21 Thread M.Hockings
Shapira, Yoav wrote: Hi, Oh, this reminds me to have a vote on the stability of 5.0.25! You never answered the key question of whether your session attributes are Serializable or not: that's a binary question, should be easy to determine ;) Yoav Shapira Millennium Research Informatics Hi ! Yes,

RE: access log format

2004-05-21 Thread Hut Carspecken
Hi, I was watching this thread and noticed that is was very close to my thread. I am trying to use Apache Commons Logger, but I will settle for this default logger. Two questions: how do I write to this file (i.e. what class, like log, would I call) and how do I set the verbosity (i.e.

Re: session data in Tomcat 5

2004-05-21 Thread Ben Souther
Could you just attach the src to the two JSPs? On Friday 21 May 2004 09:18 am, M.Hockings wrote: Shapira, Yoav wrote: Hi, Oh, this reminds me to have a vote on the stability of 5.0.25! You never answered the key question of whether your session attributes are Serializable or not: that's

just ignore this messages: Problems with session handling, carts example (Tomcat 5) !!

2004-05-21 Thread Marc Arnold
hi, sorry for bothering, the firewall blocked all sessions efforts... tomcat works well, no problems anymore. thanks -Ursprüngliche Nachricht- Von: Marc Arnold [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 21. Mai 2004 12:55 An: 'Tomcat Users List' Betreff: RE: Problems with session

RE: tomcat book

2004-05-21 Thread Dave Butler
Hi wsedio I quite liked the short but sweet OReilly Tomcat the definitive . Regards Dave ** -Original Message- From: wsedio [mailto:[EMAIL PROTECTED] Sent: 21 May 2004 10:38 To: Tomcat Users List Subject:

RE: Memory leak with Tomcat 5.0.19

2004-05-21 Thread Brian Beckham
Ok, after adding that setting in jk2.properties I have had 2 lockups of tomcat on my production siteany help!!?!!? Brian Beckham [EMAIL PROTECTED] Office: 770.924.6444 ext. 203 Mobile: 404.406.8355 -Original Message- From: Brian Beckham [mailto:[EMAIL PROTECTED] Sent: Friday, May

Re: access logging

2004-05-21 Thread Tim Funk
If I ever get my servers upgraded to 5 - thats on my todo list. -Tim Nanda wrote: Access log entries seem to be logged without being buffered, in the default setting on Tomcat. Can this be configured to log every 50 or 100 lines in a batch or every N minutes?

Re: URL Rewriting

2004-05-21 Thread Tim Funk
I think the struts list can probably answer this better than this list. -Tim Morten wrote: Hi! We are using Struts 1.1 and Tomcat 4.1.x at our company. We are considering to separate our urls from our struts configuration. Instead of /news.do?articleid=43 we would like the url to look like this:

Re: Is there any way to check # of Records in RecordSet

2004-05-21 Thread Wade Chandler
Adam Buglass wrote: This is the wrong list but never mind An alternative is the following: ResultSet rs; int i = 0; while( rs.next() ) { i++; } The integer i should be the length of your result set (by the way, don't get confused with RecordSets which are VB - I used to do that all the

Re: access log format

2004-05-21 Thread Tim Funk
Apache Commons Logger and accesslogs are 2 totally different topics. -Tim Hut Carspecken wrote: Hi, I was watching this thread and noticed that is was very close to my thread. I am trying to use Apache Commons Logger, but I will settle for this default logger. Two questions: how do I write to

RE: CGIServlet -- tomcat

2004-05-21 Thread Alex
* h3TODO:/h3 * ul * li Support for setting headers (for example, Location headers don't work) Taken from the CGIServlet code. Given this, if i have a piece of perl that is doing the below and is being pushed through the cgiservlet: print $q-header(-type = image/png, -expires =

Re: tomcat thru netbeans 3.6

2004-05-21 Thread Tim Ashman
On Fri May 21 2004 1:07 am, Illya Kysil wrote: Tim Ashman wrote: I've got this problem and I'm not sure how to solve it. I'm hoping someone can steer me the right way. My problem is that I have my static files for the webapp located right off of the webapps directory like this.

Re: Re: Tricky situation

2004-05-21 Thread Rajesh_Narayanan
Tim, I want Tomcat to pick .jsp's from c:\workspace and other files like .html, .gif from c:\iplanet\server\docs is that possible - Raj why not Context path= reloadable=true docBase=C:\iplanet\server\docs / -Tim Rajesh_Narayanan wrote: I have to configure my tomcat to look into two

Re: Memory leak with Tomcat 5.0.19

2004-05-21 Thread Remy Maucherat
Brian Beckham wrote: Ok, after adding that setting in jk2.properties I have had 2 lockups of tomcat on my production siteany help!!?!!? lockup doesn't mean anything to me. Details please :) Also, this property cannot possibly cause that (look in the code if in doubt). --

RE: Tomcat 5: Location of 3rd party JNDI datasource jars in $CATALINA _HOME/common/lib

2004-05-21 Thread Benjamin Armintor
I understand where you're coming from. Maybe Yoav will correct me if I'm wrong, but the important caveat is that classes are only specific to the instance if the app server classes don't need to know about them. The problem with JNDI is that the naming context is created by the app server, and

RE: Re: Tricky situation

2004-05-21 Thread Benjamin Armintor
Why not just leave the JSP's in the iPlanet docroot, but use a service directive for the .jsp file extension to send all of those requests to Tomcat? Then you just need to make the iPlanet docroot the docbase for the root webapp in Tomcat. That's what I'm doing with iPlanet 6 right now, and it

jk2 cluster groups

2004-05-21 Thread Hubbert, Thomas
Hello There, I finally managed to install and configure modJk2 with Apache 1.3 and Tomcat 5. It's running fine and the new graceful shutdown functionality is doing a good job :-) Now I want to set up in memory session replication. The problem I see with that is when I shutdown the first node,

Re: session data in Tomcat 5

2004-05-21 Thread M.Hockings
Certainly ! They are attached (please don't laugh at them tooo much ) BTW, I'm finding that my test server on FC1 (Tomcat 5.0.24) is working quite well, fast response, can deploy, undeploy reliably and sessions seem to work as expected. On Win2K however the 5.0.25 version is considerably

RE: Tomcat 5: Location of 3rd party JNDI datasource jars in $CATA LINA _HOME/common/lib

2004-05-21 Thread CARROLL, Chris, FM
I couldn't agree with you more about the logical differences between the web app(s) and the app server itself. However, I would have thought that the CATALINA_BASE is the instance of the app server which requires the classes and not the raw installation in CATALINA_HOME. I am trying to

RE: Memory leak with Tomcat 5.0.19

2004-05-21 Thread Brian Beckham
Sorry bout that...got a little flustered :) Some more details...tomcat non-responsive, but JVM still running ps -ef showed several java processes still running, several defunct - Running with following: LD_ASSUME_KERNEL=2.2.5 CATALINA_HOME=/opt/jakarta-tomcat-5.0.19

Re: Is there any way to check # of Records in RecordSet

2004-05-21 Thread Wade Chandler
Adam Buglass wrote: This is the wrong list but never mind An alternative is the following: ResultSet rs; int i = 0; while( rs.next() ) { i++; } The integer i should be the length of your result set (by the way, don't get confused with RecordSets which are VB - I used to do that all the

AW: tomcat book

2004-05-21 Thread Hubbert, Thomas
Hi, I can recommend 'Professional Apache Tomcat' published by WROX (ISBN: 0764543725). It does not cover Tomcat 5 though. A new book about Tomcat 5 is gonna be released in June I think (ISBN: 0764559028). So I'd say just wait for that... Thomas -Ursprüngliche Nachricht- Von: wsedio

Re: Memory leak with Tomcat 5.0.19

2004-05-21 Thread Michiel Toneman
Hmm, signal 11's are bad news and usually not related to OutOfMemory problems. There is a dated, but pretty good explanation at: http://www.bitwizard.nl/sig11/ Michiel Brian Beckham wrote: Sorry bout that...got a little flustered :) Some more details...tomcat non-responsive, but JVM still

Re: Memory leak with Tomcat 5.0.19

2004-05-21 Thread Jeff Hoffmann
Brian Beckham wrote: Sorry bout that...got a little flustered :) I don't have any answers but I'd just like to chime in to say that I've had nearly identical problems when I was using 5.0.19. I've moved on to 5.0.24 now, but I found some error logs in one of my backups so I'm attaching them in

Re: RE: Re: Tricky situation

2004-05-21 Thread Rajesh_Narayanan
Yes thats a good idea.. I am very much interested to know how have you done that using iPlanet... I will try the same over here (can u pls give the exact file name and command u used) our corporate vision is to remove iPlanet and want to use tomcat for serving pages in the future... [So I keep

RE: session data in Tomcat 5

2004-05-21 Thread Shapira, Yoav
Hi, How does 5.0.25 run on FC1? Yoav Shapira Millennium Research Informatics -Original Message- From: M.Hockings [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 10:37 AM To: Tomcat Users List Subject: Re: session data in Tomcat 5 Certainly ! They are attached (please don't laugh

RE: Memory leak with Tomcat 5.0.19

2004-05-21 Thread Brian Beckham
Jeff, Can you tell me more about your sitation? Did 5.0.24 help? What options were you setting? Were you using / are you using jsvc? What OS? Brian Beckham [EMAIL PROTECTED] Office: 770.924.6444 ext. 203 Mobile: 404.406.8355 -Original Message- From: Jeff Hoffmann [mailto:[EMAIL

SSL shutdown after socket write error

2004-05-21 Thread Alan Pocklington
Hi, I am developing a couple of web apps and have been getting the following exceptions appear in the log file: java.net.SocketException: Software caused connection abort: socket write error Until recently I have just been ignoring these errors as they didn't affect the functionality of the

Quiestion about Average cluster serialize/send

2004-05-21 Thread Randy
Hello I got clustering up last night. In the log file I am seeing some thing that I was wondering if someone could help explain. What concerns me is the difference in Average cluster Is this the time it takes to serialize and send over the session info? I am trying to understand where the

JDBC Realm Problem

2004-05-21 Thread Ignacio J. Tissera
Hi , I 've installed tomcat 5.0.24 and i try to implement security byJDBC Realm and the context is Loaded in the web.xml i wrote that: security-constraint web-resource-collection web-resource-nameBACK OFFICE/web-resource-name url-pattern/carpetaUno/*/url-pattern /web-resource-collection

URGENT!! Relocation error problem

2004-05-21 Thread Wehner, Terry
I am getting the following error when trying to start apache 1.3.27 Syntax error on line 4 of /opt/applocal/imt/webi/jakarta-tomcat-4.1.29/conf/auto/mod_jk.conf: Cannot load /opt/applocal/imt/webi/httpd_1.3.27/modules/mod_jk.so into server: ld.so.1: /opt/applocal/imt/webi/httpd_1.3.27/bin/httpd:

Re: session data in Tomcat 5

2004-05-21 Thread M.Hockings
Shapira, Yoav wrote: Hi, How does 5.0.25 run on FC1? Yoav Shapira Millennium Research Informatics Hi Yoav, No, not yet as the 5.0.24 seems to be working fine (worlds better than .24 or .25 on Win2K). If I get some free time I'll give it a whirl. Mike

workers.properties question

2004-05-21 Thread Simon Zeng
Hi, I have a question about workers.properties setting In mod_jk.log, I have JkMount /* loadbalancer In workers.properties, I have worker.list = worker1, worker2, loadbalancer(1) #worker1 configuration #worker2 configuration #---Load balancer worker --

RE: Tomcat 5: Location of 3rd party JNDI datasource jars in $CATA LINA _HOME/common/lib

2004-05-21 Thread Jacob Kjome
CATALINA_BASE allows you to have separate config files and a separate shared/lib (along with a separate webapps and work dirs). However, most everything such as core libraries in server/lib and common/lib are used in each CATALINA_BASE instance. I guess it would be nice if there were a place to

Re: session data in Tomcat 5

2004-05-21 Thread Jacob Kjome
Well, it works for me on Win2k with Tomcat-5.0.25. Same session every post. You don't have sessions turned off in web.xml by setting the session-timeout to 0 or -1 (can't remember which one, if any, disables sessions) by chance, do you? You might also check for virus or firewall

Re: session data in Tomcat 5

2004-05-21 Thread Ben Souther
I just dropped your JSPs in a box running win2k server and tomcat 5.0.24. They run fine, same session. Once the strings are created, they stay created, no nulls. I'm hitting from a linux box using Mozilla, but I also tried from MSIE on the machine that's hosting your JSPs. All looks good.

Re: Memory leak with Tomcat 5.0.19

2004-05-21 Thread Jeff Hoffmann
Brian Beckham wrote: Jeff, Can you tell me more about your sitation? Did 5.0.24 help? So far I haven't had any problems with 5.0.24, although I've only been running it a couple of days. When I had the problem with 5.0.19, I jumped back to 5.0.16 until a couple of days ago when I went up to

RE: Problem with error-page

2004-05-21 Thread Jim Kennedy
The suggestion to change 403.jsp to something like _403.jsp did not work. I did however change my browser setting in the advanced section concerning friendly error messages. This did work. I still don't understand why the IE browser distinguishes between an HTML error page and a JSP error page.

RE: Problem with error-page

2004-05-21 Thread Ralph Einfeldt
I'm not shure about the response code that is returned in both cases. It's possible that tomcat returns a different response code for a html and a jsp. (Like 200 for html because the html error page was found and some other value for the jsp because the jsp explicitly sets an response code.)

Re: Pass info between Tomcat Valve and Filter

2004-05-21 Thread Rui Zhang
Hi Jon All, Thanks for your information. It's very helpful. I've been looking at ValveContext but did not find anything useful. Yes, I tried to pass the info object along as an attribute of ServletRequest. But problem occured with the retrieval of the object in the Filter, where

Re: Pass info between Tomcat Valve and Filter

2004-05-21 Thread Rui Zhang
Jon, To answer your query, I'm using a custom valve to instrument Tomcat with response time monitoring, as part of the project I'm working on... http://web.comlab.ox.ac.uk/oucl/research/areas/softeng/eWLM/ Cheers, Rui On Fri, 21 May 2004, Jon Wingfield wrote: An invocation of a Tomcat Valve

RE: Pass info between Tomcat Valve and Filter

2004-05-21 Thread Ralph Einfeldt
One possible cause: The component that store your object find the class through a different classloader than the component that tries to retrieve the object. Where do you store the class/jar for the stored object ? -Original Message- From: Rui Zhang [mailto:[EMAIL PROTECTED]

Re: Pass info between Tomcat Valve and Filter

2004-05-21 Thread Carl Howells
Rui Zhang wrote: Hi Jon All, Thanks for your information. It's very helpful. I've been looking at ValveContext but did not find anything useful. Yes, I tried to pass the info object along as an attribute of ServletRequest. But problem occured with the retrieval of the object in the Filter,

RE: Problem with error-page

2004-05-21 Thread Frank T. Murphy
Could be the size of the generated page. Check the thread I started about the different problem with the error-page. In order for IE not to hijack it it s/b bigger than 500k. see this url http://www.404-error-page.com/404-error-page-too-short-problem-microsoft-ie.shtml

org.apache.jasper.JasperException: Unable to compile class for JSP

2004-05-21 Thread aiye4686
Hi, and thanks for reading this query - it isn't (at least to me) anything to do with putting tools.jar into web-inf/lib, or anywhere else, for that matter. Here is the problem: 2004-05-22 02:25:00 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception

Re: Pass info between Tomcat Valve and Filter

2004-05-21 Thread Rui Zhang
Yes, indeed. I got around it by retrieving the info using getClass(), getField() etc. Thanks again. Rui On Fri, 21 May 2004, Carl Howells wrote: Rui Zhang wrote: Hi Jon All, Thanks for your information. It's very helpful. I've been looking at ValveContext but did not find anything

RE: Quiestion about Average cluster serialize/send

2004-05-21 Thread Filip Hanik \(lists\)
Nr of bytes sent=369314 over 400 ==923 bytes/request average number of bytes sent over in each replication request INFO: Average cluster serialize/send time=91 ms for 400 requests (36640ms) the average time it takes to perform a replication request. IE, this is the overhead you have per request

Re: Pass info between Tomcat Valve and Filter

2004-05-21 Thread Jon Wingfield
Cool. I guess a Valve is good for that type of thing :) I think Carl and Ralph are right about the ClassClassException being a ClassLoader issue. I've seen similar things before when using custom Realms, JNDI resources etc. Our build process generates a minimal jar for deploying to common/lib

Re: RE: RE: Re: Tricky situation

2004-05-21 Thread Rajesh_Narayanan
Nice to know that... its really exciting... Can you please send me the nsapi_redirect.dll.. I am not able to find this download anywhere in the internet :(. Thanks a lot for you immediate response. Raj --- Read about the NSAPI redirector in the

RE: CGIServlet -- tomcat

2004-05-21 Thread Mark Thomas
Alex, I have been looking after the CGI servlet for the last few months. If you look in CVS you'll see my name against most of the changes. Sorry I didn't see your early posts on the user list. I do keep my eyes open for anything CGI servlet related and must have missed it. Is the header issue

RE: Quiestion about Average cluster serialize/send

2004-05-21 Thread Randy
Thanks for any help These are two identical machines Rh9 Apache2 Tomcat 5.0.24 with hotfix Connected by gigaBit ethernet nics and switches. Box 1 is using mod_jk Box 2 is using mod_jk2 Box 1 has the real docroot Box 2 has box1 docroot mounted nfs (from previous message) Box 1 INFO: Average

RE: webdav servlet problems with Tomcat 5.0.24 and IE

2004-05-21 Thread Mark Thomas
From: Roy Gardner [mailto:[EMAIL PROTECTED] Do you know how the TC4 handles the redirection issue? We have a webapp to which we are adding webdav support. Our webdav implementation has exactly the same problem as the TC5 implementation when using IE clients. If we set the url-pattern to

RE: RE: RE: Re: Tricky situation

2004-05-21 Thread Rajesh_Narayanan
Anyway Thanks a lot I really appreciate your help. I will try that and post the result soon. Thanks once again. -Raj Sorry: I work in a unix shop. The instructions to build the dll are on the NSAPI redirector documentation page (at the bottom). Benjamin J. Armintor Systems Analyst

RE: Quiestion about Average cluster serialize/send

2004-05-21 Thread Filip Hanik \(lists\)
and your loadbalancing algorithm is distributing the requests equally. also, in a previous email you wrote They are diffent sized boxes what does that mean? Filip -Original Message- From: Randy [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 1:27 PM To: 'Tomcat Users List'

Re: Pass info between Tomcat Valve and Filter

2004-05-21 Thread Rui Zhang
Hi All, Thanks very much for your incisive comments. Similar problem, but it seems much trickier to pass info from a Filter to a Valve. No attribute is associated with a ServletResponse. And when I try to cast it to HttpServletResponse to make use of its addHeader() method, my program simply

nsapi_redirect.dll

2004-05-21 Thread Rajesh_Narayanan
Can any one send me a copy of nsapi_redirect.dll, I am not able to find any precompiled binary version and also I dont have VC++ to compile the source. I would really appreciate if anybody can help me. Thanks, Raj* * This

jakarta-tomcat-5.0.24.tar.gz really a Windows Dist?

2004-05-21 Thread Dan Barron
Maybe a silly question. Seems the jakarta-tomcat-5.0.24.tar.gz is really a Windows binary distribution. And then the jakarta-tomcat-5.0.24.zip contains both Windows and Unix distribution. Am I out of my mind here or can someone please confirm what I'm seeing is true? Thanks. Dan Barron

  1   2   >