Re: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '

2005-11-14 Thread NanFei Wang
Dear Chuck, I use just -Xmx256m in another line at the Java Options text area. It work successfully. Thank so much. NanFei - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, November 15, 2005 1:48 PM Subject: RE: configure To

Re: request.getSession(false) incorrectly creates a session

2005-11-14 Thread Darryl L. Miles
"The session is not explicitly created by anything in the JSP page", does this include scope="session" users in your JSP files ??? Len Popp wrote: I have observed that request.getSession(false) returns null when it's called from the top of my servlet in the first request from a client, b

RE: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '

2005-11-14 Thread Caldarale, Charles R
> From: NanFei Wang [mailto:[EMAIL PROTECTED] > Subject: Re: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M ' > > I add -DJAVA_OPTS=-Xmx256M in another line at the Java > Options text area, (I don't have 5.5.9 installed anymore, just 5.5.12, so I can't see what's on the 5.5.9 Java tab for

Re: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '

2005-11-14 Thread NanFei Wang
Dear Chuck, My Java tab contains -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 5.5 -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\endorsed -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 5.5\temp -Djava.util.logging.man

Re: Can cached EJB HomeHandles be invalidated?

2005-11-14 Thread Santosh Asbe
I will also post this this issue in other mailing list. Will surely update you if a get a solution for the same. regards, Santosh On 11/14/05, Jeremy Crosbie <[EMAIL PROTECTED]> wrote: > > You are experiencing the same problem I am. Yes, Tomcat caches the home > handle. The problem is there is n

RE: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '

2005-11-14 Thread Caldarale, Charles R
> From: NanFei Wang [mailto:[EMAIL PROTECTED] > Subject: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M ' > > However, for Tomcat/5.5.9, It start by Service automatically > without a file of startup.bat. The .exe download does not include the scripts, for no discernable reason. However, th

Re: request.getSession(false) incorrectly creates a session

2005-11-14 Thread Len Popp
I have observed that request.getSession(false) returns null when it's called from the top of my servlet in the first request from a client, but when the servlet forwards the request to a JSP page (via RequestDispatcher.forward) the session gets created. The session is not explicitly created by anyt

Re: advice on auto logout servlet

2005-11-14 Thread Darryl L. Miles
Mark wrote: Is there any way to allow servlets to auto-logout a user when the timeout has been reached. Right now, I have tomcat configured for a 20 minute session timeout. When the session times out, the user gets no notification of this event. Is there any way to show the user that they have l

advice on auto logout servlet

2005-11-14 Thread Mark
Is there any way to allow servlets to auto-logout a user when the timeout has been reached. Right now, I have tomcat configured for a 20 minute session timeout. When the session times out, the user gets no notification of this event. Is there any way to show the user that they have logged out? Tha

configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '

2005-11-14 Thread NanFei Wang
Hi, In Tomcat 5.0, we can configure by ' set JAVA_OPTS=-Xmx256M ' at the file of startup.bat. However, for Tomcat/5.5.9, It start by Service automatically without a file of startup.bat. How and where to configure Tomcat/5.5.9 as by ' set JAVA_OPTS=-Xmx256M ' Regards NanFei

Re: How to disable Tomcat Admin directory

2005-11-14 Thread Jarrod Holder
Mark, The \conf\catalina\localhost directory is empty and there isn't an admin folder at \server\webapps. The admin interface is not installed, I'm only trying to get Tomcat to stop responding when I hit the WEB_ROOT/admin folder from a web browser. The reason being Tomcat is keeping users fr

Re: How to disable Tomcat Admin directory

2005-11-14 Thread Mark Thomas
Bruno Georges wrote: Hi Jarrold If I understood your question correctly you will have to edit the conf/server.xml file and proceed as indicated: Hope this helps. Bruno Georges This won't disable the admin application. Assuming Novell haven't messed about with the config too much

Re: How to disable Tomcat Admin directory

2005-11-14 Thread Jarrod Holder
Bruno, Correct, we are getting the error you mention below. However, we need to have Tomcat not respond to any request to the /admin directory at all. In other words, if we go to the /admin directory, we get the actual /admin directory on our web server rather than Tomcat. Hope that better e

How to create multiple context's linked to the same webapp, without instantiating multiple webapp instances

2005-11-14 Thread Leon Rosenberg
Hi, I have following situation: Business wishes (God knows why) to have a proxy proxying 6 different context's on our server and fetching context from another server: http://ourserver/foo/bla.html (internally fetched from ) http://anotherserver/ourname/foo/bla.html http://ourserver/bar/bla.html

Re: mod_jk bug serving up flash on non 2003 servers?

2005-11-14 Thread Mark Thomas
[EMAIL PROTECTED] wrote: I tried doing that before but got no response; but I'll happily try again. Everything works great on Windows 2003 Server. I have apache fronting numerous Tomcats, with mod_jk. We are using Laszlo, so the pages served up are actually swf files. On 2003 server we see no

Re: mod_jk bug serving up flash on non 2003 servers?

2005-11-14 Thread dhay
I tried doing that before but got no response; but I'll happily try again. Everything works great on Windows 2003 Server. I have apache fronting numerous Tomcats, with mod_jk. We are using Laszlo, so the pages served up are actually swf files. On 2003 server we see no issues, but with Windows X

Re: jsp:include buffers generated data?

2005-11-14 Thread Simon Kitching
Thanks Jacob. I've looked at the Glassfish stuff dev list, and can't see any info related to this. Actually, the dev list is so primitive for this project it's clear that Sun still hasn't grasped the concept of running an Open Source project, and that most of the design stuff is happening off-

Re: mod_jk bug serving up flash on non 2003 servers?

2005-11-14 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Do I need to submit a bug report for this? No, you need to find out some more information and debug your configuration on this list first. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

mod_jk bug serving up flash on non 2003 servers?

2005-11-14 Thread dhay
Do I need to submit a bug report for this? cheers, David x54680 - Forwarded by David Hay/Lex/Lexmark on 11/14/2005 04:48 PM - |-+> | | David Hay| | || | | 10/28/2005 10:49

RE: Internationalization question

2005-11-14 Thread Scott Smith
Thanks for the suggestion. However, it didn't make any difference. I also tried adding useBodyEncodingForURI="true"; again, no difference. -Original Message- From: Martin Benda [mailto:[EMAIL PROTECTED] Sent: Saturday, November 12, 2005 5:40 AM To: Tomcat Users List Subject: Re: Intern

Re: test

2005-11-14 Thread Mieke Banderas
Anto Paul said: > When does [EMAIL PROTECTED] came into existence ? Recently. What does it say on the website of the list? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to disable Tomcat Admin directory

2005-11-14 Thread Bruno Georges
Jarrold, The latest versions of Tomcat do not include the admin webapp by default. The /admin page displays: "Tomcat's administration web application is no longer installed by default. Download and install the "admin" package to use it. " Bruno Georges Glencore International AG Tel. +41 41 709 3

Re: How to disable Tomcat Admin directory

2005-11-14 Thread Hassan Schroeder
Jarrod Holder wrote: > How can we have Tomcat no longer listen for requests to the /admin directory? Remove the admin.xml Context file for the host in question. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.c

Re: How to disable Tomcat Admin directory

2005-11-14 Thread Bruno Georges
Hi Jarrold If I understood your question correctly you will have to edit the conf/server.xml file and proceed as indicated: Hope this helps. Bruno Georges Glencore International AG Tel. +41 41 709 3204 Fax +41 41 709 3000 |-+---> | |

How to disable Tomcat Admin directory

2005-11-14 Thread Jarrod Holder
We have just installed Novell's GroupWise WebAccess 7 on our server. This new version uses Tomcat 5.5 to provide service to our users. However, Tomcat tries to listen on WEB_ROOT/admin for a non existent admin interface. The problem is our main website uses the /admin directory for it's porta

request.getSession(false) incorrectly creates a session

2005-11-14 Thread Andy
Hi, When I deploy my web app and call request.getSession(false), according to the javadoc, if a session does not exist null is returned. However I'm getting an object returned when I have not created a session myself. The object is an instance of this class - org.apache.catalina.session.Standar

Re: error in jasper precompilation

2005-11-14 Thread Michael P. Soulier
Richard Mixon wrote: Mike, Doing an exclude is one approach (as mentioned by Len). When I encountered this issue a couple of years ago, my Googling turned up the recommended approach of naming your include files with a ".jspf" suffix instead of a ".jsp" suffix. Jasper should ignore them - and it

Re: can't access Tomcat 5 default home page from Windows PC's

2005-11-14 Thread Rick LOpez
OK it was something easy as I thought but overlooked. Had to type in http:// when using IE in order to get it to load. :-) Rick LOpez <[EMAIL PROTECTED]> wrote:Had done all the basic checks with no problems found. Tried changing the port to 80 in the server.xml file but I then couldn't access t

Re: session replication errors

2005-11-14 Thread Mark Thomas
Olve Hansen wrote: On trying to build I am encountering problems. There is no documentation on how to build from svn. I have a working build folder using the docs from http://tomcat.apache.org/tomcat-5.5-doc/building.html But I dont see your changes in DataSender.java after CVS update. The 5.5.

Re: can't access Tomcat 5 default home page from Windows PC's

2005-11-14 Thread Rick LOpez
Had done all the basic checks with no problems found. Tried changing the port to 80 in the server.xml file but I then couldn't access the home page from the server either so changed it back to 8080. On further testing found that I could use Firefox or Netscape browsers from the same WIndows PC's

RE: error in jasper precompilation

2005-11-14 Thread Richard Mixon
Mike, Doing an exclude is one approach (as mentioned by Len). When I encountered this issue a couple of years ago, my Googling turned up the recommended approach of naming your include files with a ".jspf" suffix instead of a ".jsp" suffix. Jasper should ignore them - and it will be clear which fi

RE: Strange Problem -Internal Server Error

2005-11-14 Thread Richard Mixon
Birendar, In order to help we need a bit more information: - what version of Tomcat? - what version of Java you are using? - what operating system and version? - the specific Internal Server Error message and status code also, just to be sure? - what is the BES in "Tomcat+BES"? - what is th

RE: Log4j issues upgrading from 5.5.9 to 5.5.12

2005-11-14 Thread Allistair Crossley
Hi, Not at all no. I did find that another way around it was to pull out log4j.properties from the webapp's classes folder and into WEB-INF and then to use a custom context listener to use BasicConfigurator to load the properties config yourself. And make sure the context listener is the first to

Holding page when web-app not deployed ?

2005-11-14 Thread Darryl L. Miles
I am using Apache and mod_jk connector. Is it possible to easily configure a holding page that is displayed by Apache in the event that none of the workers will service the request ? What I mean by that: * In the event no worker is available (apache+mod_jk is unable to connect to tomcat) *

RE: How to read and save a simple file?!?

2005-11-14 Thread Steinberger, Richard
My way of doing this has always been to put the path to config files in the web.xml and then pull the path into the application through the context. It's very configurable as the code is moved up, and leaves the developer free to access the file without caring where it is. I realize there may be r

Re: can't access Tomcat 5 default home page from Windows PC's

2005-11-14 Thread Hassan Schroeder
Rick LOpez wrote: > I have installed Tomcat 5.5.12 on a Redhat Enterprise server 3 server > and I can view the default Tomcat home page, manager and admin at port > 8080 when I view it from my server. The problem is I can't access this > from any Windows PC's on the local network. However I can ac

can't access Tomcat 5 default home page from Windows PC's

2005-11-14 Thread Rick LOpez
HI, I have installed Tomcat 5.5.12 on a Redhat Enterprise server 3 server and I can view the default Tomcat home page, manager and admin at port 8080 when I view it from my server. The problem is I can't access this from any Windows PC's on the local network. However I can access the pages fr

RE: Log4j issues upgrading from 5.5.9 to 5.5.12

2005-11-14 Thread Rick
Allistair, Well, great . Thanks for confirming I'm not crazy. Were you able to find anything in the changelog between 5.5.9 and .12 that would have caused this? I have not had any luck yet. -Rick -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Posted At: Monday,

Re: Tomcat and linux system users

2005-11-14 Thread PHIL CAVAZOS
I think you would have to manually add the user accounts into the user XML file, then base these on groups for each context. Confidentiality Notice: The information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are

RE: Tomcat and linux system users

2005-11-14 Thread Peter Crowther
> From: Kosarev A.V. [mailto:[EMAIL PROTECTED] > Whether I can configure tomcat so that for each context worked on > behalf of various linux system users? Tomcat runs in a single Java virtual machine, and that entire JVM process runs under a single user ID. To my knowledge (I'm sure others

RE: Log4j issues upgrading from 5.5.9 to 5.5.12

2005-11-14 Thread Allistair Crossley
Hi Yes, I've had a similar problem in that with 5.5.12 various framework-related APIs such Spring and OSCache which *were* configured using a WEB-INF/classes/log4j.properties config in 5.5.9 and less no longer logged. I kind of linked the problem to the fact that these APIs had related ContextLis

Re: Can cached EJB HomeHandles be invalidated?

2005-11-14 Thread Jeremy Crosbie
You are experiencing the same problem I am. Yes, Tomcat caches the home handle. The problem is there is no way to indicate that the handle is invalid because it is not until the home interface is received and the create() method called that you have this problem. I am in the process of doing some

Tomcat and linux system users

2005-11-14 Thread Kosarev A.V.
Hi! Whether I can configure tomcat so that for each context worked on behalf of various linux system users? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Session managment

2005-11-14 Thread Hed Bar Nissan
--->> depreacted I have the an application which I developed on my machine testing it all the time with Apache 5.5.9 When I deployed it to a server 5.5.12 I got an error because each request returned a new session. Has there been any change? I simply speak about - doPost() { req.

Re: error in jasper precompilation

2005-11-14 Thread Len Popp
Don't compile header.jsp, as it's being included in all of the other pages. It's the same as including a .h file in C++. -- Len On 11/14/05, Michael P. Soulier <[EMAIL PROTECTED]> wrote: > I'm taking care of a site that uses a common header and footer, with a > dynamic header title, like so > > >

Log4j issues upgrading from 5.5.9 to 5.5.12

2005-11-14 Thread Rick
REPOST: Just wondering if anyone else has seen this issue. After upgrading from 5.5.9 to 5.5.12, all the same log4j.properties files, I now have some web-app level classes that I can not catch in my web-app log4j logger. I ended up having to put loggers in my common/classes/log4j.properties file

RE: tomcat 5.5.9 basic config

2005-11-14 Thread Rick
>But, that doesn't answer the question, how do I get it so when someone browses to my >webapp root they get the default page, say index.jsp, instead of a directory listing. >I don't want user's to go to a directory. To change you're "default" page so that you don't show a directory listing.. Yo

How to read and save a simple file?!?

2005-11-14 Thread Jan Andersson
Hi all! This is a simple question, which should have a simple answer. I have a servlet in my webapp that reads a file with properties and displays them. You can change the properties and then hit "Save", which makes the servlet write the properties to a file. The problem I'm experincing is th

error in jasper precompilation

2005-11-14 Thread Michael P. Soulier
I'm taking care of a site that uses a common header and footer, with a dynamic header title, like so <%! String title = "Pawsitive Approach Pet Services"; %> <%@ include file="comps/header.jsp" %> In header.jsp, title is used to output the title. <%= title %> Now, this works just fine. I'm

Strange Problem -Internal Server Error

2005-11-14 Thread birendar . waldiya
Hi Gurus , We are facing a strange problem,our reports were running fine on our Tomcat+BES server for a long time suddenly a strange problem has started happening that when we request a report , we are facing performance problem.Somtime I get Internal Server however when I checl my logs I didnt ge

Re: session replication errors

2005-11-14 Thread Olve Hansen
lør, 12,.11.2005 kl. 13.43 +0100, skrev Peter Rossbach: > Hey Olve, > > I found a bug inside pushMessage and I hopefully fix it. Please checkout > the tomcat svn head, > build a tomcat, made a test and report the results > > Many thanks that you report the problem, > Peter Hi, and thanks for t

How to make a ROOT webapp outside $TOMCAT_HOME work in 5.5.12

2005-11-14 Thread Rob Hills
Hi All, I have a configuration setup that used to work Tomcat on 5.5.9 but I can't get it to work in 5.5.12. Our web apps live outside the $TOMCAT_HOME tree - a number of virtual hosts defined in server.xml, each with an appBase pointing to the web app's directory and each with a ROOT.xml co