RE: tomcat book

2004-05-21 Thread Caldarale, Charles R
> From: Josh Harahap [mailto:[EMAIL PROTECTED] > Subject: RE: tomcat book > > For example, after reading the book I managed to figure out how > to change the checkInterval of the loader, from the default 15 > to any integer. > > This is what I call valuable information because you can't even > f

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

2004-05-21 Thread aiye4686
Heh, just in case anyone is ever as stupid as me in teh future: I realised that I had put catalina-ant.jar into my TOMCAT_HOME\common\lib directory, as well as my WEB-INF\lib directory... I have no idea why I did that, but blame youthful stupidity. Somehow, having catalina-ant.jar in the common\

RE: tomcat book

2004-05-21 Thread Josh Harahap
I've read both Wrox' "Professional Apache Tomcat" and O'Reilly's "TOmcat: The Definitive Guide". Both are good but I think Wrox's book has more meat. Unfortunately, the information in both books can be found on Tomcas's website. THere is a new book called "How Tomcat Works" (BrainySoftware.com)

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

2004-05-21 Thread Giuseppe Briotti
> == > Date: 20 May 2004 17:45:23 +0100 > From: Adam Buglass <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: Is there any way to check # of Records in RecordSet > == > I was just surprised because I've never run into th

Re: Pass info between Tomcat Valve and Filter

2004-05-21 Thread Rui Zhang
Never mind, I've found a not very tidy way around it by customizing the output stream of the response. But if anyone knows about a better way of doing it, pls let me know. Thanks. Rui On Fri, 21 May 2004, Rui Zhang wrote: > Maybe the failure of addHeader() is because the response has already

Re: problem with JSP -> no data returned

2004-05-21 Thread Hassan Schroeder
Ondrej Sváb wrote: Any JSP page returns no data. Any idea? Do the examples work? Is the context in question reloadable? And have debug set higher than 0? Have you looked at your logs, or run Tomcat with the console open to see if errors are being logged? -- Hassan Schroeder ---

Re: problem with JSP -> no data returned

2004-05-21 Thread Ondrej Sváb
Thanks for response but I am not using any database connection. Any JSP page returns no data. Eg. this code I have in JSP page (without any JAVA code) Here code should be returned. and nothing is returned or empty page is returned ie. Any idea? > Are u using any database connection on t

Re: problem with JSP -> no data returned

2004-05-21 Thread Sohail Mahmood
Are u using any database connection on the page. If yes, Sometimes it happens when ur query is mistyped? Make sure u wrote the query correctly and it would be better idea to check the query in database client Ondøej ©váb <[EMAIL PROTECTED]> wrote: Hi, till lately I used Tomcat 4.0.1 but I en

Short Read error

2004-05-21 Thread Emerson Cargnin
These error occured at a TC 3.2.1 running un a HP-UX host (with virtualvault). This error never happened before. I've got the following error when reading an request parameter: 124th line at my code : String cod_localidade_TSE = req.getParameter("munic"); obs: This happened at a prod

RE: Quiestion about Average cluster serialize/send

2004-05-21 Thread Filip Hanik \(lists\)
yes, 120 milliseconds, I wrote in a previous email: 1. Serialize the request 2. Send the request over to the other server 3. Deserialize and recreate the request (including invoke any listeners on the session) on the other server 4. Send a ACK message back to the original server 5. Receive the ACK

RE: Quiestion about Average cluster serialize/send

2004-05-21 Thread Randy
So here is what I understand, and I want to make sure that I am reading this correctly The log entry says: Average cluster serialize/send time=120 ms for 300 requests For 300 requests it took on average 120 to serialize this data. (does this include broadcasting it to the other servers?) What

RE: Quiestion about Average cluster serialize/send

2004-05-21 Thread Filip Hanik \(lists\)
>Is it I am not understanding the message(oh what a shock that would be) >Box 1 >INFO: Average cluster serialize/send time=120 ms for 300 requests (36046ms). >Box 2 >INFO: Average cluster serialize/send time=8 ms for 300 requests (2401ms). I am not sure why we are seeing this. I couldn't tell more

RE: Load Balance question(what a people doing)

2004-05-21 Thread Filip Hanik \(lists\)
some tips: Using any java code for load balancing is never gonna work, just doesn't scale. Software load balancing, three alternatives are: Pen (http://siag.nu/pen) Balance (http://balance.sourceforge.net) and mod_jk. My favorite is pen, it is fast, works great and runs on unix and windows. If you

problem with JSP -> no data returned

2004-05-21 Thread Ondřej Šváb
Hi, till lately I used Tomcat 4.0.1 but I encountered that JSP pages returns no data. It means only this html code, regardless JSP page is requested: Now I upgraded from old Tomcat to Tomcat 5.0.24 but the problem is still present. It seems that it is not problem of Tomcat because I use the se

Re: The tomcat not accept more connections

2004-05-21 Thread Software
OK but it isn't the problem because i've selected this options in the server.xml file and the developers people are using these command to close the connection when it's finished ...and i don't know what is the problem? ... Thanks Adam Buglass wrote: Ok, I don't know about timings - that is an

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

2004-05-21 Thread Parsons Technical Services
Bob, Check one more thing. What are the permission set for on the directories? Also did you find the work directory? And if so who was the owner and what were the permissions set to? Even if you own the directory, if you have set the permissions to not allow writes you will get errors or access d

Re: Embedded Tomcat and SSL

2004-05-21 Thread Jeanfrancois Arcand
Sander Smith wrote: I have a problem that I'm unfortunately finding little documentation to help. I'm writing a servlet and embedding it in a larger Java program by using the org.apache.catalina.startup.Embedded class. Things have been working fine up until now. I'm currently trying to add SSL

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

2004-05-21 Thread Shapira, Yoav
Hi, There's no difference in the contents of the two, just the packaging format. You can unzip the .zip file on either windows or unix, and gunzip/untar (using GNU tar!) the .tar.gz on either platform. That has always been the case with tomcat distros. Yoav Shapira Millennium Research Informati

Embedded Tomcat and SSL

2004-05-21 Thread Sander Smith
I have a problem that I'm unfortunately finding little documentation to help. I'm writing a servlet and embedding it in a larger Java program by using the org.apache.catalina.startup.Embedded class. Things have been working fine up until now. I'm currently trying to add SSL support so that the

Load Balance question(what a people doing)

2004-05-21 Thread Randy
Hello, I would like to know what people are doing for their load balancing. I have a very busy web site that is a mix of static html, cgi (perl) , and j2ee stuff I am running rh9, apache 2 and tomcat 5 I am slowly migrating my perl/cgi stuff to j2ee Currently I have been trying to get a LVS se

RE: Quiestion about Average cluster serialize/send

2004-05-21 Thread Randy
Sorry for the confusion. Originally I was In a test env ( "They are defend sized boxes" ) Where I was not replicating the same context's on both boxes. Once I got it working in a test evn(thanks for your help) I turned It on in production last night(re: message below with config info) The load

Re: Pass info between Tomcat Valve and Filter

2004-05-21 Thread Rui Zhang
Maybe the failure of addHeader() is because the response has already been committed by the time it reaches the Filter? but, still, how can i pass info from a fliter back to a valve? Cheers, Rui On Fri, 21 May 2004, Rui Zhang wrote: > Hi All, > > Thanks very much for your incisive comments. >

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 -

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 em

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

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' Subject

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 ITS-

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

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 clus

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 t

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 JK

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 wh

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 reques

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

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 org.apache.jasper.J

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 |-+--

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: 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] > Se

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 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 ServletR

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: 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: 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 5.0

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. Fo

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 softwared/hardwa

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 p

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: 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 --

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: f

JDBC Realm Problem

2004-05-21 Thread Ignacio J. Tissera
Hi , I 've installed tomcat 5.0.24 and i try to implement security by JDBC Realm and the context is Loaded in the web.xml i wrote that:            BACK OFFICE    /carpetaUno/*         AdministadorST              FORM     Tomcat Manager Application         /lo

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 prob

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 s

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 PRO

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

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 th

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: 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 runni

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 [mail

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 time

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 - Running with following: LD_ASSUME_KERNEL=2.2.5 CATALINA_HOME=/opt/jakarta-tomcat-5.0.19 JAVA_HOME=/opt/j2sdk1.4.2_04 CATAL

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 understa

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 slow

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, dep

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 se

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 no

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). -- xxx

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 -Tim Rajesh_Narayanan wrote: > I have to configure my tomcat to look into two different directories for > file availability. > > Scenario:

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 thi

RE: CGIServlet -- tomcat

2004-05-21 Thread Alex
* TODO: * * 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 => "$expire{$

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 t

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 time

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: /n

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: 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 21

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: tomcat

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 handl

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 n

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. trace

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, sor

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 A

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: 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 misund

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 st

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 Mo

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 avai

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

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 /news/artic

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

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 C

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

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 $CATALINA_BASE/[common|sha

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- >

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 h

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: 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

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 mo

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 c

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: 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 calli

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. --- Begin Message --- See the ghg5%&6gfz65!4Hf55d!46gfgf +++ Attachment: No Virus foun

  1   2   >