RE: Help me off this list!

2004-12-15 Thread Aris Javier
I think you must receive and send a confirmation reply if you want to subscribe or unsubscribe... aris -Original Message- From: TK Banks [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 3:56 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Help me off this list! No

AW: Tomcat 5 and Realm problem

2004-12-15 Thread Martin Grüneberg
Hi Frederic, you are using IE and https? I got the same error and can't find a proper solution for it. I bet you have turned of cookies in IE. Turn them on (allow session-cookies) and it will work again. Greetings Martin -Ursprüngliche Nachricht- Von: VAN DER MARLIERE FREDERIC

char encoding bug in tomcat 5.0.25 ?

2004-12-15 Thread Quinten Verheyen
Hi, *maybe* I'm experiencing a bug in Tomcat 5.0.25, but this is pure assumption, please help me with this troublesome character encoding problem. The test page below gets a request parameter and shows it in a textarea. The goal is to test if special characters are translated wrongly .. (would

RE: Help me off this list!

2004-12-15 Thread Allistair Crossley
you should send your unsubscribe from the same mail account as you subscribed with. you will then get an email from the mailing list bot (even if you are not on the list) telling you what to do. if you are not receiving those messages perhaps you ought to check your isp's email filters, or

RE: char encoding bug in tomcat 5.0.25 ?

2004-12-15 Thread Quinten Verheyen
I tried that option already, doesn't make a difference .. %@ page pageEncoding=utf-8 contentType=text/html; charset=UTF-8 language=java % or %@ page pageEncoding=utf-8 language=java % %@ page contentType=text/html; charset=UTF-8 % Q -Original Message- From: Allistair Crossley

Strange memory behavior in tomcat-5.0.27

2004-12-15 Thread Zsolt Koppany
Hi, Our application based on Tomcat has a strange memory behavior on Linux (SuSe 8.1 kernel: 2.4.20 #1 SMP). The utility top shows RSS between 132-160MB but SIZE is increasing. After one or two weeks SIZE is approx. 180M and than we get an OutOfMemory exception and SIZE drops to 159M. I have

RE: Query with 404 error processing -- Tomcat 5.0.19

2004-12-15 Thread Jon Doe
Enable (comment in) the AccessLogValve in your server.xml. That way you will be able to see exactly what requested URLs result in 404s. The file is enabled and nope -- I'm not seeing any 404 errors. Yoav Shapira http://www.yoavshapira.com What confuses me is why I get a ClassCastException? This

javax.naming.NameNotFoundException: Name java: is not bound in this Context

2004-12-15 Thread Vadim V. Korovinsky
Hello, Please, help me. I have an application installed on Tomcat 5. It was working properly until I append the second host and deployed this application on it. Now I have localhost and myhost as default. And here is a problem: application works correctly on the localhost and at the myhost

RE: char encoding bug in tomcat 5.0.25 ?

2004-12-15 Thread Allistair Crossley
oh yes sorry, it's because you need to set request encoding on your form post. use a servlet filter. there was a post within the past week where I posted the full code of such a filter. -Original Message- From: Quinten Verheyen [mailto:[EMAIL PROTECTED] Sent: 15 December 2004 09:16

Re: How to Enable Logging HTTP Requests (Tomcat standalone)?

2004-12-15 Thread QM
On Wed, Dec 15, 2004 at 06:33:19AM -0500, ohaya wrote: : I was wondering if it's possible to configure a standalone Tomcat to log : HTTP requests (and posts too, ideally)? If it is, how do I do this, and : where does it (Tomcat) log the output to? 1/ please post a *new* message when writing to

Re: Strange memory behavior in tomcat-5.0.27

2004-12-15 Thread QM
On Wed, Dec 15, 2004 at 10:22:15AM +0100, Zsolt Koppany wrote: : Our application based on Tomcat has a strange memory behavior on Linux (SuSe : 8.1 kernel: 2.4.20 #1 SMP). The utility top shows RSS between 132-160MB : but SIZE is increasing. After one or two weeks SIZE is approx. 180M and than :

Tomcat (and JVM) Crashes in getHostByAddr

2004-12-15 Thread Britta Koch
Hi! We're migrating our web applications from Resin 2.1.13 to Tomcat 5.0.28 (running with jsvc on JDK 1.5, Fedora FC2). All of these use our own libraries to get host based configurations from the web.xml which contains resource-refs of the form host.domain.de_database. After deploying one of

Re: How to Enable Logging HTTP Requests (Tomcat standalone)?

2004-12-15 Thread ohaya
1/ please post a *new* message when writing to the list. Replying to an old (unrelated) message confuses thread-aware mailers, which makes your question harder to find (and thus answer). Sorry, I couldn't remember the address and got lazy (too early in the morning :)) 2/ do you mean a

RE: Strange memory behavior in tomcat-5.0.27

2004-12-15 Thread Zsolt Koppany
How can I do a load test? Zsolt -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 1:01 PM To: Tomcat Users List Subject: Re: Strange memory behavior in tomcat-5.0.27 On Wed, Dec 15, 2004 at 10:22:15AM +0100, Zsolt Koppany wrote: : Our

RE: char encoding bug in tomcat 5.0.25 ?

2004-12-15 Thread Allistair Crossley
Your code is calling request.setChar... sure, but then the request ends when the page is finished displaying. Clicking your form submit generates a NEW request which has nothing to do with the previous request.setChar.. call. There is loads of character encoding information in the JSP

Re: How to Enable Logging HTTP Requests (Tomcat standalone)?

2004-12-15 Thread Ben Souther
Yes, something like that. Did you mean AccessLogValue? I did a search on that and didn't find much, but that looks like an Apache thing? I'm running Tomcat standalone (not being front-ended with Apache). In 5.0.28 the accessLogValve is already configured for you. You just need to

RE : Server refuse connection with many TIME_WAIT

2004-12-15 Thread LERBSCHER Jean-Pierre
TIME_WAIT means client enters this state after active close. It's normal to have a socket in this state for a period of time. This time is specified by the rfc 793 as twice the MSL (Maximum Segment Lifetime). Some systems implement different values but the specification is 2 mn. I read this

Which Java profiler for tomcat?

2004-12-15 Thread Zsolt Koppany
Hi, which profiler should I take to test our tomcat (5.0.27) based application? Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [newbie] Container Managed Security - preventing direct accessto .jsp

2004-12-15 Thread Ben Souther
Thanks for the help and discussion Ben. /robert Yep, they look the same. Glad to help, even if I've done nothing more than validate your assumptions ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Which Java profiler for tomcat?

2004-12-15 Thread Allistair Crossley
Most of them integrate with J2EE application servers. Choose whichever suits your needs by reading the product sheets. I find that Quest's JProbe is good, so is JProfiler, others like OptimizeIt. Allistair. -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: 15

j2me tomcat manager

2004-12-15 Thread Chatzinikos, Fotis, VF-GR Consultant
Hi, I am not sure if this is the correct place to ask this but I'll give it a shot... I have written a j2me application that connects to any running tomcat server and provided that a proper manager username and password is provided can start/stop and restart any of the running applications

Re: Myth or Best practice : %@ page session=false %

2004-12-15 Thread Tim Funk
Yes. By default, a session variable is implicitly created for every JSP. The session variable is then initialized with the exsiting session or creates a new session if needed. This behavior is disabled via %@ page session=false %. But you are still allowed to code in your JSP: % HttpSession

Re: Re: How to Enable Logging HTTP Requests (Tomcat standalone)?

2004-12-15 Thread ohaya
In 5.0.28 the accessLogValve is already configured for you. You just need to uncommment it in your server.xml file. !-- Access log processes all requests for this virtual host. By default, log files are created in the logs directory relative to $CATALINA_HOME. If you wish,

RE: Myth or Best practice : %@ page session=false %

2004-12-15 Thread Allistair Crossley
In terms of Jasper, Tomcat's JSP engine, it appears that a HttpSession is set to null if session=false therefore no instance is made. In terms of the JSP Spec, session=true by default. In terms of whether it is best practice to set session=false when yuo know you don't need a session I have no

Re: Re: How to Enable Logging HTTP Requests (Tomcat standalone)?

2004-12-15 Thread Ben Souther
I don't have a copy handy but did you look at the server.xml? On Wed, 2004-12-15 at 09:45, [EMAIL PROTECTED] wrote: In 5.0.28 the accessLogValve is already configured for you. You just need to uncommment it in your server.xml file. !-- Access log processes all requests for this

RE: Which Java profiler for tomcat?

2004-12-15 Thread Guy Katz
my personal opinon after revirewing all major profilers: jprofiler leads the pack with easy install and intuitive profiling http://www.ej-technologies.com/products/jprofiler/overview.html -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004

Re: RE : Server refuse connection with many TIME_WAIT

2004-12-15 Thread Vy Ho
Great! Thank you very much for the insight information. I haven't tried this yet, but it appears to be right on the bull eyes. Thanks again, Vy Ho LERBSCHER Jean-Pierre wrote: TIME_WAIT means client enters this state after active close. It's normal to have a socket in this state for a period of

Re: Strange memory behavior in tomcat-5.0.27

2004-12-15 Thread Daniel Watrous
I have used Apache Jmeter (http://jakarta.apache.org/jmeter/). This is a great tool, but sometimes a bit slow at sending the concurrent requests. I think they have a networking option to send many concurrent requests from different hosts. Hope this helps... Daniel - Original Message

RE: How to Enable Logging HTTP Requests (Tomcat standalone)?

2004-12-15 Thread Phillip Qin
You need to post your tomcat version. -Original Message- From: ohaya [mailto:[EMAIL PROTECTED] Sent: December 15, 2004 6:33 AM To: Tomcat Users List Subject: How to Enable Logging HTTP Requests (Tomcat standalone)? Hi, I was wondering if it's possible to configure a standalone Tomcat

Re: WAR files and Eclipse

2004-12-15 Thread Dwayne Ghant
Anybody won't to take a shoot at this? Dwayne Ghant wrote: Intresting question associated with this subject. If I have public_html enabled for developers on local machine ex: Listener className=org.apache.catalina.startup.UserConfig directoryName=public_html

Re: Authentication isn't working with mod_jk 1.7.3 beta.

2004-12-15 Thread Mladen Turk
Jim Lynch wrote: I finally got mod_jk to comple on RH 9 for Apache 2, but the authentication doesn't work through the connector. This simply is not true. It works very fine, and the authentication window is showed to the user. Check your config. Mladen.

4.1.31: NullPointerException

2004-12-15 Thread T K
Any ideas about the following? 2004-12-06 11:29:26 CoyoteAdapter An exception or error occurred in the container during the request processing java.lang.NullPointerException at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:117) at

[OT] HTTP Sniffers

2004-12-15 Thread Didier McGillis
Considering this is a pretty knowledgable group is there a good free HTTP Sniffer application I can use, I need to see what the HTTP headers are returning on my site. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [OT] HTTP Sniffers

2004-12-15 Thread Durham David R Jr Contr 805 CSPTS/SCE
If you're talking about Response Headers, mozilla's firefox browser has a plug-in called web-developer. https://update.mozilla.org/extensions/moreinfo.php?application=firefoxi d=60 Under the 'information' menu, there is an option to view response headers. - Dave -Original

Re: set an environement variable under fedora core3

2004-12-15 Thread Webmaster
Bienvenue Francois! check out these locations for /etc/profile or ~/.bashrc http://www.ccoss.org/tutorials/unix_utilities/node1.htm check out http://www.fedoraforum.org/forum/showthread.php?t=28075 for options basically your %PATH% environment variable is replaced by $PATH export $PATH HTH,

Re: [OT] HTTP Sniffers

2004-12-15 Thread Ben Souther
On Wed, 2004-12-15 at 15:17, Didier McGillis wrote: Considering this is a pretty knowledgable group is there a good free HTTP Sniffer application I can use, I need to see what the HTTP headers are returning on my site. If you just need the headers, check out the LiveHeaders plugin to

Re: 4.1.31: NullPointerException

2004-12-15 Thread Ben Souther
Post the whole stackTrace On Wed, 2004-12-15 at 15:10, T K wrote: Any ideas about the following? 2004-12-06 11:29:26 CoyoteAdapter An exception or error occurred in the container during the request processing java.lang.NullPointerException at

Re: [OT] HTTP Sniffers

2004-12-15 Thread Ben Souther
On Wed, 2004-12-15 at 15:17, Didier McGillis wrote: Considering this is a pretty knowledgable group is there a good free HTTP Sniffer application I can use, I need to see what the HTTP headers are returning on my site. If you just need the headers, check out the LiveHeaders plugin to

Re: Reloading JSP's and other resources

2004-12-15 Thread Siarhei Dudzin
As far as I know you should have only one antiResourceLocking or antiJARLocking true but not both. On Wed, 15 Dec 2004 14:47:54 -0600, Durham David R Jr Contr 805 CSPTS/SCE [EMAIL PROTECTED] wrote: Ok, it looks like setting antiResourceLocking=false solves this problem, which kind of makes

Re: Re: How to Enable Logging HTTP Requests (Tomcat standalone)?

2004-12-15 Thread Ben Souther
Ben, Thanks. Unfortunately, and I have to apologize for this omission, I forgot to mention that I'm working with Tomcat 4.1.31. Also unfortunately, that's the only version that I can work with, for some specific reasons... For V4.1.31, is there any similar capability? Jim This is

Re: [OT] HTTP Sniffers

2004-12-15 Thread Justin Ruthenbeck
Whenever I need to see the actual HTTP messages (which is pretty often, as it turns out), I use an HTTP proxy logger to do it. My favorite, for it's simplicity, is zproxy: http://www.zaval.org/products/proxy/download/ At 12:17 PM 12/15/2004, you wrote: Considering this is a pretty knowledgable

RE: Help me off this list!

2004-12-15 Thread Leland Chen
Actually, I have been in same situation for 2 years. I was not able to unsubscribe myself. htmlDIVnbsp;/DIV/html Original Message Follows From: TK Banks lt;[EMAIL PROTECTED]gt; Reply-To: quot;Tomcat Users Listquot; lt;[EMAIL PROTECTED]gt; To: [EMAIL PROTECTED], [EMAIL PROTECTED]

RE: Reloading JSP's and other resources

2004-12-15 Thread Durham David R Jr Contr 805 CSPTS/SCE
As far as I know you should have only one antiResourceLocking or antiJARLocking true but not both. Why would that be, and what exactly do those settings mean? I've read the config docs on the site, but I'm wondering what Tomcat actually *does* to implement these features. - Dave

Re: [OT] HTTP Sniffers

2004-12-15 Thread Andrew Miehs
Pardon my ignorance, but what about tcpdump or snoop??? And if you have problems with those, have a look at ethereel Andrew Didier McGillis wrote: Considering this is a pretty knowledgable group is there a good free HTTP Sniffer application I can use, I need to see what the HTTP headers are

Re: [OT] HTTP Sniffers

2004-12-15 Thread QM
On Thu, Dec 16, 2004 at 01:15:32AM +0100, Andrew Miehs wrote: : Pardon my ignorance, but what about tcpdump or snoop??? These are fantastic tools, as long as you have root access. ;) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

mod_jk error handling question

2004-12-15 Thread Paulsen, Jay M
Environment: Apache 2.0.52 mod_jk 1.2.7-beta-2 Tomcat 5.5.4 I've set up Tomcat with and AJP1.3 Connector to handle requests for web apps from Apache. I'd like to be able to set up an ErrorDocument directive for apache to forward the user to a custom error page when tomcat is unavailable. This

Re: [OT] HTTP Sniffers

2004-12-15 Thread Bob Feretich
I use Ethereal on my Windows client. It works well, but only for communication across a real port. It does not work if your accessing a site that is running on the client computer. The Follow TCP Stream tool assembles the entire request/response communication for easy viewing or saving to

standard.jar broke in Tomcat?

2004-12-15 Thread Tim Watts
Hi, I'm having problems using standard.jar. For a simple page such as this: ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd; html xmlns=http://www.w3.org/1999/xhtml; head %@ taglib

RE: Myth or Best practice : %@ page session=false %

2004-12-15 Thread Razi Ansari
Thnx for the reply people, one thing that Andreas pointed out to me from the spec : Indicates that the page requires participation in an (HTTP)session. If true then the implicit script language variable named session of type javax.servlet.http.HttpSession references the current/new session for

Re: standard.jar broke in Tomcat?

2004-12-15 Thread Tim Watts
Here you go: taglib taglib-urihttp://java.sun.com/jstl/core/taglib-uri taglib-location/WEB-INF/lib/standard.jar/taglib-location /taglib The jar is in that location. And your assumption is correct. I'm using v1.0 of the JSTL downloaded from Apache. sven morales wrote: Hi, Can

Re: standard.jar broke in Tomcat?

2004-12-15 Thread sven morales
Thats now how its defined on mine. The taglib-location on mine points to a tld file and not the standard.jar. The TLD files should be like definition and attributes of those tags, unless your standard.jar includes them already. My standard.jar are basically the package of classes. An excerpt of

Re: changing the location of catalina.out

2004-12-15 Thread sven morales
Hi, Please check the contents of catalina.sh. It is more like hard coded there as oppose to a parameter that can be changed. People should start looking inside these tomcatXX/bin/*.sh or *.bat scripts to see what Environment variable gets set or not set. aka_sergio --- Eno Thereska [EMAIL

Re: standard.jar broke in Tomcat?

2004-12-15 Thread Tim Watts
I pulled c.tld from the jar, put it in WEB-INF and pointed taglib-location there. That fixed it. Thank you very much. But what still puzzles me is why TomCat couldn't find it in the jar? Is there a special syntax for referencing .tlds in a jar? Anyway, thanks again for your help. sven morales

RE: Help me off this list!

2004-12-15 Thread Ben Souther
Did you try to unsubscribe using a different address than the one you signed up with? You can start a subscription for an alternate address, for example [EMAIL PROTECTED], just add a hyphen and your address (with '=' instead of '@') after the command word: [EMAIL PROTECTED] To stop subscription

Re: standard.jar broke in Tomcat?

2004-12-15 Thread sven morales
Why it could not find it? Where is it in your standard.jar? I do not believe the Digester looks at META-INF/ and checked for contents like these c.tld in that directory. Off hand I do not remember what functionality META-INF/ is for other than this is where you have a MANIFEST.MF file, the

Re: How to Enable Logging HTTP Requests (Tomcat standalone)?

2004-12-15 Thread ohaya
Ben Souther wrote: Ben, Thanks. Unfortunately, and I have to apologize for this omission, I forgot to mention that I'm working with Tomcat 4.1.31. Also unfortunately, that's the only version that I can work with, for some specific reasons... For V4.1.31, is there any similar

Re: Display of Static Resources

2004-12-15 Thread Ram Sriram
Hi, The problem for static resources went away. But now http is not able to find the servlet class when I click on the button on the form. This used to work before I changed the config in web.xml. So I am assuming this problem is related to what I have done in web.xml. Here is what is

Re: Recent JK connector 1.2.7 beta 3 +

2004-12-15 Thread Mladen Turk
Derrick Koes wrote: I just accepted Mladen's recent change to JK/native/common, so I'm up to date on the bleeding edge. However, I find this in the isapi log file. [Wed Dec 15 16:05:33 2004] [1588:580] [error] jk_isapi_plugin.c (938): could not get a worker for name ajp13 Can anyone explain

AW: RE : Tomcat 5 and Realm problem

2004-12-15 Thread Martin Grüneberg
Hello Ben, On my System (w2k IE6) with Cookies turned off FORM based login fails even with SSL session information in IE firefox has no problem with that. :-( Martin -Ursprüngliche Nachricht- Von: Ben Souther [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 15. Dezember 2004 17:45

RE: Error in tomcat manager

2004-12-15 Thread kangkoong Kakoong
thanks for your suggestion Yoav, but I am newbie in tomcat, so would you like to tell me how to automate it using web.xml, I mean what command I should use? , or any one can help me? thanks a lot - Do you Yahoo!? Yahoo! Mail - You care about

RE: char encoding bug in tomcat 5.0.25 ?

2004-12-15 Thread Allistair Crossley
you-re missing a page directive %@ page contentType=text/html; charset=UTF-8 % -Original Message- From: Quinten Verheyen [mailto:[EMAIL PROTECTED] Sent: 15 December 2004 08:28 To: Tomcat Users List (E-mail) Subject: char encoding bug in tomcat 5.0.25 ? Hi, *maybe* I'm

RE: char encoding bug in tomcat 5.0.25 ?

2004-12-15 Thread Quinten Verheyen
It was me who posted that :) I looked into the example servlet filter you gave me, in the end it just calls request.setCharacterEncoding(String) .. why would that call be applied to form post data and the one in the JSP not ? Q -Original Message- From: Allistair Crossley

How to Enable Logging HTTP Requests (Tomcat standalone)?

2004-12-15 Thread ohaya
Hi, I was wondering if it's possible to configure a standalone Tomcat to log HTTP requests (and posts too, ideally)? If it is, how do I do this, and where does it (Tomcat) log the output to? I've tried editing the Debug level in the Connector in server.xml, and then bouncing Tomcat, but that

RE: char encoding bug in tomcat 5.0.25 ?

2004-12-15 Thread Quinten Verheyen
Well, I tested the page on the following tomcat versions : 4.1.29 : OK 4.1.31 : OK 5.0.25 : NOK 5.0.28 : OK 5.5.4 with compt. : OK So it seems a tomcat bug, if someone could confirm this ? I am currently looking in tomcat bugzilla for this ... Q -Original Message- From: Quinten

Re: javax.naming.NameNotFoundException: Name java: is not bound in this Context

2004-12-15 Thread QM
: javax.naming.NameNotFoundException: Name java: is not bound in this Context : at this place: Context envContext = (Context)initial.lookup(java:/comp/env); Should that be /comp/env or comp/env? If not, help us help you -- you only posted excerpts of your server.xml and context.xml, which

RE: char encoding bug in tomcat 5.0.25 ?

2004-12-15 Thread Quinten Verheyen
Aha, this explains a lot. I know what to do, one final thing for me before changing to 5.0.28 is testing the servlet filter option on 5.0.25. Thx. -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 15 December 2004 13:11 To: Tomcat Users List Subject: RE:

RE: char encoding bug in tomcat 5.0.25 ?

2004-12-15 Thread Quinten Verheyen
and it does btw ;-) -Original Message- From: Quinten Verheyen Sent: 15 December 2004 13:53 To: Tomcat Users List Subject: RE: char encoding bug in tomcat 5.0.25 ? Aha, this explains a lot. I know what to do, one final thing for me before changing to 5.0.28 is testing the

Re: [newbie] Container Managed Security - preventing direct access to .jsp

2004-12-15 Thread David Smith
I get what you are trying to do. I could be wrong, but the spec seems written more towards protecting data from unauthorized users rather than protecting jsp files from direct client access. Here are some suggestions I thought of: - Precompile the jsp source to .class files. Then remove the

RE: Myth or Best practice : %@ page session=false %

2004-12-15 Thread Dale, Matt
Hi, If the session has not already been created then this will ensure that this jsp does not create it. If one exists already it won't destroy it but the JSP won't have access to it. I reckon it's good practice to use this, if you don't need a session, don't create it. Ta Matt -Original

Currency Problem with Tomcat on Windows

2004-12-15 Thread John Gardner
I wonder if anyone can help me. We have a number of applications that are installed at various clients, and are all running under Tomcat on Windows. One of our clients has started to exhibit a strange problem when the application displays currency. It alters between USD ($) and GBP (£)

Myth or Best practice : %@ page session=false %

2004-12-15 Thread Razi Ansari
%@ page session=false % Hello people I wanted to enquire from the experts about something that I had read. Is it true that inculuding the above directive in a jsp will prevent the session object from being created for that jsp, hence avoiding the creation of unnecessary objects?? Or Is it just

RE: Debugging missing web.xml on V5.5.4 -- Works for me

2004-12-15 Thread sven morales
Hi, I just downloaded Tomcat 5.5.4. binary and the compat file. I then deployed the tiles-documentation.war file by copying it over to jakarta-tomcat-5.5.4/webapps/ and set $CATALINA_HOME to /u02/tomcat5/jakarta-tomcat-5.5.4 where I have un-tar the tomcat 5.5.4 binary and compat. Then I

Re: Myth or Best practice : %@ page session=false %

2004-12-15 Thread David Boyer
You can look in the code of the generated servlet to see what the differences are when using either true or false with the session directive. [EMAIL PROTECTED] 12/15/2004 8:17:55 AM %@ page session=false % Hello people I wanted to enquire from the experts about something that I had read. Is

Re: Currency Problem with Tomcat on Windows

2004-12-15 Thread Giuseppe Briotti
What about the settings on the clients? This randomly means randomly on the same client at different time? Did you check this? G. == Date: Wed, 15 Dec 2004 14:57:34 + From: John Gardner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Currency Problem with

Authentication isn't working with mod_jk 1.7.3 beta.

2004-12-15 Thread Jim Lynch
I finally got mod_jk to comple on RH 9 for Apache 2, but the authentication doesn't work through the connector. If I go to port 8080 I get the login popup and am able to enter the app OK, however if I try to go to the default port and connect via mod_jk I get an authentication error. I never

RE : Tomcat 5 and Realm problem

2004-12-15 Thread VAN DER MARLIERE FREDERIC
Not far. I do use IE and htpts. And I turned off cookies but in server.xml file. I meet to many problems when I use session cookies and none with encoded URL. Any idea of the way to use realm authentication (FORM method) with cookies turned off? -Message d'origine- De : Martin Grüneberg

RE: [newbie] Container Managed Security - preventing direct accessto .jsp

2004-12-15 Thread Robert Taylor
That is exactly how I want to do it. In fact, if you look at my original message I describe what you recommend almost exactly. Anyhow, I finally created a VERY simple security example web app with the following web.xml: ?xml version=1.0 encoding=ISO-8859-1? web-app

Disable PUT and DELETE HTTP methods in 4.1

2004-12-15 Thread Ted Weatherly
Can the PUT and DELETE methods be disabled by editing a configuration file for Tomcat 4.1? If so, how? Thx. -Ted - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reloading JSP's and other resources

2004-12-15 Thread Durham David R Jr Contr 805 CSPTS/SCE
Hi, To make changes to my deployed application, I run an Ant script that compiles classes and copies JSP's, images, CSS, etc. in to my latest-build directory. As of Tomcat 5.0.18, changes to JSP's, CSS and other files were picked up by Tomcat and displayed in my browser. However, since

RE: [OT] HTTP Sniffers

2004-12-15 Thread Derrick Koes
I used to use naviscope. -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 3:18 PM To: [EMAIL PROTECTED] Subject: [OT] HTTP Sniffers Considering this is a pretty knowledgable group is there a good free HTTP Sniffer application I

RE: Help me off this list!

2004-12-15 Thread Mark Thomas
-Original Message- From: TK Banks [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 7:56 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Help me off this list! No matter how many times I send mail to [EMAIL PROTECTED] I continue to be flooded with tomcat-user

Recent JK connector 1.2.7 beta 3 +

2004-12-15 Thread Derrick Koes
I just accepted Mladen's recent change to JK/native/common, so I'm up to date on the bleeding edge. However, I find this in the isapi log file. [Wed Dec 15 16:05:33 2004] [1588:580] [error] jk_isapi_plugin.c (938): could not get a worker for name ajp13 Can anyone explain why? In version

RE: Reloading JSP's and other resources

2004-12-15 Thread Durham David R Jr Contr 805 CSPTS/SCE
Ok, it looks like setting antiResourceLocking=false solves this problem, which kind of makes sense. Is there a good explanation on the tomcat site or elsewhere for this behavior? - Dave -Original Message- From: Durham David R Jr Contr 805 CSPTS/SCE Sent: Wednesday, December 15,

[ignore] test

2004-12-15 Thread Ben Souther
sorry 16:49:45 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: RE : Tomcat 5 and Realm problem

2004-12-15 Thread Ben Souther
On Wed, 2004-12-15 at 10:44, VAN DER MARLIERE FREDERIC wrote: Not far. I do use IE and htpts. And I turned off cookies but in server.xml file. I meet to many problems when I use session cookies and none with encoded URL. Any idea of the way to use realm authentication (FORM method) with

Re: WAR files and Eclipse

2004-12-15 Thread sven morales
I think there is another attribute to Listener which is home.Base. Set this where you normally put user/public_html directory. For example on mine, its set as homeBase=/home and user home is /home/sergio. Once this is working, any war files on your /home/user/public_html should get

Re: [OT] HTTP Sniffers

2004-12-15 Thread sven morales
I have not seen previous postings but, there is the TCPMON tool from Apache Axis project, its an applet. This allows you to see the the request response between client and Tomcat. --- Justin Ruthenbeck [EMAIL PROTECTED] wrote: Whenever I need to see the actual HTTP messages (which is

Re: Reloading JSP's and other resources

2004-12-15 Thread Siarhei Dudzin
That would be because I saw a post from someone on the mailing lists. Those setings prevent resource locking (such as under windows platform) when you are trying to access file system or resources withing jar files. There is a FAQ: http://jakarta.apache.org/tomcat/faq/windows.html#lock p.s.

Re: standard.jar broke in Tomcat?

2004-12-15 Thread sven morales
Hi, Can you paste the relevant section of your deployment descriptor web.xml for your demo webapp? Specifically, the taglib taglib-urihttp://java.sun.com/jstl/core/taglib-uri taglib-location Am assuming this is JSP 1.2? aka_sergio --- Tim Watts [EMAIL PROTECTED] wrote Hi,

changing the location of catalina.out

2004-12-15 Thread Eno Thereska
Hi, I couldn't find any thread that specified how to change the location of catalina.out from the default location $CATALINA_HOME/logs/catalina.out to, say, /tmp/catalina.out. Could someone please give me some hints on how to do this? Thanks Eno

setting up tomcat/JBOSS with apache

2004-12-15 Thread B Wiley
Hello, I'm confused on something basic. I understand how to set up mod_jk2 and configure an app something like http://localhost/myApp/test.jsp such that the app myApp is sitting in the java container but can I have myApp sitting on apache i.e. /var/www/htdocs/myApp and configure a handler in

Re: OutOfMemory Errors

2004-12-15 Thread Michael Echerer
Hi, another idea... try to increase the size of the perm heap with -XX:permSize and -XX:maxPermSize. (See the JVM and garbage collector tuning docus from Sun for more information and google for more). Also try to enable the garbage collector log to check what happens to the perm memory in case