Re: Auto Session Creation and memory usage

2008-07-24 Thread Markus Schönhaber
Jacob Rhoden wrote: I am working on creating some more scalable tomcat applications. I have addedd a SessionListener and it seems that hitting a jsp page triggers a session to be created. If there are 1000 users and only 10 are signed in, I dont think 1000 sessions need to be created yes.

Re: retrieving tomcat info from within a war

2008-07-24 Thread Johnny Kewl
- Original Message - From: Jerry Atrick [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, July 23, 2008 10:51 PM Subject: retrieving tomcat info from within a war Is there a way to retrieve tomcat version/info from within a War file? I actually would prefer this to be

RE: Https SSL support in Tomcat 5.5

2008-07-24 Thread Caldarale, Charles R
From: Baunty ruparelia [mailto:[EMAIL PROTECTED] Subject: Https SSL support in Tomcat 5.5 when we are fire the http://localhost into the IE address bar, It not be transfer to the https://localhost:443 which should be happen, as we are define the redirect port. Just defining a redirect port

Re: Memory question

2008-07-24 Thread David Smith
Ooops. It's been a long time since I've taken a look at catalina.sh. Just saw the startup.sh pass parameters along. --David Caldarale, Charles R wrote: From: David Smith [mailto:[EMAIL PROTECTED] Subject: Re: Memory question I believe the startup script accepts extra parameters and just

RE: mod_jk for apache2-2.2.8 and tomcat4.1.30 from HP-UX server

2008-07-24 Thread Bomfim, Marcio
This is the result of /usr/local/apache2/bin/apxs -q PREFIX interpreter /usr/bin/perl not found ksh: /usr/local/apache2/bin/apxs: not found Regards, Marcio Bomfim -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 6:54 PM To: Tomcat Users

TCP/AJP KeepAlive on Tomcat side?

2008-07-24 Thread Stephanie Wullbieter
Hello, on mod_jk side one can define keepalive=true for OS TCP KeepAlice Activation for the (AJP) Connections to the tomcats. Is there a possibility to activate tcp or ajp keepalive on the tomcat side? Thank You! - To start a

RE: TCP/AJP KeepAlive on Tomcat side?

2008-07-24 Thread Caldarale, Charles R
From: Stephanie Wullbieter [mailto:[EMAIL PROTECTED] Subject: TCP/AJP KeepAlive on Tomcat side? Is there a possibility to activate tcp or ajp keepalive on the tomcat side? Already is by default. Read the doc: http://tomcat.apache.org/tomcat-6.0-doc/config/http.html

RE: Re direction in tomcat 5.5

2008-07-24 Thread Gordon, Jack
I'm running TomCat 5.5 on a windows server. I am trying to get everything redirected to the ssl port 8443. I can still get to the site using the port 8080. I haven't found any examples that show how it should be configured. This is my first TomCat installation and most everything has gone

RE: Memory question

2008-07-24 Thread Matt Burkhardt
Thank you all! I set JAVA_OPTS in the tomcat startup and it works! Now to figure out the next problem, but that's an issue with the application I'm running and not Tomcat. On Wed, 2008-07-23 at 20:00 -0500, Caldarale, Charles R wrote: From: David Smith [mailto:[EMAIL PROTECTED] Subject:

RE: Re direction in tomcat 5.5

2008-07-24 Thread Caldarale, Charles R
From: Gordon, Jack [mailto:[EMAIL PROTECTED] Subject: RE: Re direction in tomcat 5.5 I'm running TomCat 5.5 on a windows server. You're running Tomcat, not TomCat. I am trying to get everything redirected to the ssl port 8443. Read section 12 of the servlet spec (JSR-000154). Only

options map empty

2008-07-24 Thread gamby
sorry my poor english. i have trouble with loginmodule config file. i cant see options from login configurtion file. at initialize() options no keyset. TomCatAdminApplication { my.MyLoginModule required optOne=one optTwo=two optThree=three; }; tomcat 6

Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread kohanm
Thanks for your replay. When I sent the email it generated asterisks. In the context there is not any asteriske. I do not use them. The Catalina directory name was a typo too. I removed the path and docBase attributes like this: Context path= docBase= debug=5 reloadable=true

Re: retrieving tomcat info from within a war

2008-07-24 Thread Jerry Atrick
Awesome, that worked perfectly! On Thu, Jul 24, 2008 at 5:56 AM, Johnny Kewl [EMAIL PROTECTED] wrote: - Original Message - From: Jerry Atrick [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, July 23, 2008 10:51 PM Subject: retrieving tomcat info from within a war

Re: TCP/AJP KeepAlive on Tomcat side?

2008-07-24 Thread Rainer Jung
Stephanie Wullbieter wrote: Hello, on mod_jk side one can define keepalive=true for OS TCP KeepAlice Activation for the (AJP) Connections to the tomcats. Is there a possibility to activate tcp or ajp keepalive on the tomcat side? The term Keepalive has various meanings, depending on the

Re: mod_jk for apache2-2.2.8 and tomcat4.1.30 from HP-UX server

2008-07-24 Thread Rainer Jung
Bomfim, Marcio wrote: This is the result of /usr/local/apache2/bin/apxs -q PREFIX interpreter /usr/bin/perl not found ksh: /usr/local/apache2/bin/apxs: not found So your Apache installation is broken. If apxs doesn't work, then the build procedure for mod_jk will not work. You could either

Server.xml Host Configuration

2008-07-24 Thread Tomcat User6
I am facing a problem in my application with tld not found error. The absolute uri: http://www.mySite.com/tags-abc cannot be resolved in either web.xml or the jar files deployed with this application Here is my directory at server /var/www/mySitelocal_stage/philly (philly is my application

RE: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread Caldarale, Charles R
From: kohanm [mailto:[EMAIL PROTECTED] Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5 I removed the path and docBase attributes like this: Context path= docBase= debug=5 reloadable=true crossContext=true No, remove means remove, not change the values to

Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread kohanm
Hi, The context located : Tomcat 5.5\conf\Catalina\localhost\webapplication.xml and I modified as you mentioned: Context debug=5 reloadable=true crossContext=true --- /Context I tried the http://localhost/webapplication/welcome.do URl it did not work. then I tried to check the

Tomcat 5.5 -- Enabling of Certain Characters in URLs

2008-07-24 Thread floatingisland
Hi, Currently running the open source webapp eXist (http://exist.sourceforge.net/) on Tomcat 5.5. It works well expect for this glitch: in trying to access file names containing ( or , characters, Tomcat generates a 404 document not found message. I've tried encoding these with %29 and

RE: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread Caldarale, Charles R
From: kohanm [mailto:[EMAIL PROTECTED] Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5 The context located : Tomcat 5.5\conf\Catalina\localhost\webapplication.xml and I modified as you mentioned: Context debug=5 reloadable=true crossContext=true ---

Re: options map empty

2008-07-24 Thread gamby
never mind. i fixed.

Using Tomcat with ISAPI Redirector

2008-07-24 Thread Patrick Markiewicz
Hi, I'm using Apache Tomcat/5.5.4 with Plesk 8.2 on a Windows Server 2003 machine. The isapi redirector program is supposed to allow me to connect to my server, and redirect my request to Tomcat, if the url matches a certain pattern. I have multiple sites configured in IIS, including:

Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread kohanm
I think you forgot my question, I posted this question because I want to have a webapplication name/webaplicaiton/welcome.do different than the directory name (/webapps/booking). My Tomcat works if the URL is the same as directory name(or.war file). but i want to set up the Tomcat to

RE: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread Caldarale, Charles R
From: kohanm [mailto:[EMAIL PROTECTED] Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5 I want to have a webapplication name /webaplicaiton/welcome.do different than the directory name (/webapps/booking). O.k., I'll bite: why? That's now how Tomcat is designed to

Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread kohanm
The webaplication is done now, but my boss asked me to change the name of URL webapplication. IF I change the directory name than there are many jsp pages with many links with old name's webapplication. On 7/24/08, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: kohanm [mailto:[EMAIL

RE: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread Caldarale, Charles R
From: kohanm [mailto:[EMAIL PROTECTED] Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5 The webaplication is done now, but my boss asked me to change the name of URL webapplication. IF I change the directory name than there are many jsp pages with many links with old

Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread David Smith
Then you should have written your webapp so all the links are computed based on the webapp's context. In jsps you can do this with: ${pageContext.request.contextPath}/webapp/relative/path.jsp In servlets, you can use request.getContextPath() to get the context path and then append your path

Re: Server.xml Host Configuration

2008-07-24 Thread David Smith
I can see a couple of issues: 1. It's not recommended to have Context ... / elements in server.xml. It works, but not recommended. 2. The Host's appBase and context's docBase attributes cannot point to the same directory. It worked in older versions of tomcat, but that behavior was

Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread kohanm
In my first email I copied(short) the mod_jk configuration in httpd.conf file. Mk On 7/24/08, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: kohanm [mailto:[EMAIL PROTECTED] Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5 The webaplication is done now,

Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread Rainer Jung
Caldarale, Charles R schrieb: From: kohanm [mailto:[EMAIL PROTECTED] Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5 The webaplication is done now, but my boss asked me to change the name of URL webapplication. IF I change the directory name than there are many jsp pages

Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread kohanm
Hi, my case is Case 1: can you give me an example for Redirect or RedirectMatch thanks, MK Caldarale, Charles R schrieb: From: kohanm [mailto:[EMAIL PROTECTED] Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5 The webaplication is done now, but my boss asked me to

Question HTTP Status 408

2008-07-24 Thread Jq
I am getting an error since upgrading my production server to 6.0.16. Error message: 408 The time allowed for the login prosess has been exceeded 1. This is only happening with mobile devices (Blackberry Symbol Windows mobile 5) 2. The production server was working at 6.0.13. The

Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread Rainer Jung
kohanm schrieb: Hi, my case is Case 1: can you give me an example for Redirect or RedirectMatch Simplest case: Redirect /oldapp http://myserver/newapp More details at http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect Regards, Rainer thanks, MK Caldarale, Charles R

Down the rabbit hole with JDBC

2008-07-24 Thread Matt Burkhardt
Sorry - I've been slogging through this... Anyway, I'm trying to get an application working, but all of their documentation talks about is tomcat5.5 and I've got tomcat6 I have gotten the latest Connector/J binary from MySQL and installed in into tomcat/lib but I would like to test it. So, I

Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread kohanm
Thanks Rainer, The probelm here is that after redirecting, the URL shows the oldapp's name but I want the url shows the newapp name. MK On 7/24/08, Rainer Jung [EMAIL PROTECTED] wrote: kohanm schrieb: Hi, my case is Case 1: can you give me an example for Redirect or RedirectMatch

Solved: Question HTTP Status 408

2008-07-24 Thread Jq
It was a weird one. My index.jsp. It was taking too long to complete filling in a select from database values. After I streamlined the select process the page was loaded in enough time. Funny that it would masquerade as a login error. On Thu, 2008-07-24 at 15:08 -0500, Jq wrote: I am

Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread Rainer Jung
kohanm schrieb: Thanks Rainer, The probelm here is that after redirecting, the URL shows the oldapp's name but I want the url shows the newapp name. Then it is not case 1 and you need to pick another case. MK On 7/24/08, Rainer Jung [EMAIL PROTECTED] wrote: kohanm schrieb: Hi, my case

Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-24 Thread kohanm
Sorry you are right it's case2 or case3. Anyway I give up at this point. I will change the link code of jsp pages with new name. Thanks Rainer. MK On 7/24/08, Rainer Jung [EMAIL PROTECTED] wrote: kohanm schrieb: Thanks Rainer, The probelm here is that after redirecting, the URL shows the

Re: Down the rabbit hole with JDBC

2008-07-24 Thread David Smith
This isn't a JDBC error as much as it's a taglib error. You are trying to use JSTL taglibs in your web application and tomcat can't find the libraries that contain the taglib. Things to check: 1. standard.jar and jstl.jar are in the webapp's WEB-INF/lib directory -- at least for jstl 1.1.

Re: Tomcat 5.5 -- Enabling of Certain Characters in URLs [Take 2]

2008-07-24 Thread floatingisland
Hi, Yikes! I noticed that I had an abundance of typos in my post. Let me try to re-post in something closer to English. Here it goes:I am currently running the open source webapp eXist (http://exist.sourceforge.net/) on Tomcat 5.5. It works well with the exception of the following glitch:

Retrieving tomcat log files within war

2008-07-24 Thread Jerry Atrick
Is there a way to programmically retrieve the tomcat log files? I can reconstruct the log location by doing a new File(System.getProperty(catalina.base)), logFileIwant ) but I'm wondering if there's a better way... Anyone had any experience with doing this?

Re: Down the rabbit hole with JDBC

2008-07-24 Thread Matt Burkhardt
Thanks - it was the first - I just had the files in the WEB-INF directory - not in the lib Is there some method for finding errors / logs? Right now, I'm trying to get an application running, and I'm just guessing. For example, my catalina.log file says INFO: The listener

RE: Down the rabbit hole with JDBC

2008-07-24 Thread Caldarale, Charles R
From: Matt Burkhardt [mailto:[EMAIL PROTECTED] Subject: Re: Down the rabbit hole with JDBC INFO: The listener org.alfresco.web.app.ContextListener is already configured for this context. The duplicate definition has been ignored. The above is a cosmetic error in 6.0.16; it does no damage

Re: Down the rabbit hole with JDBC

2008-07-24 Thread Ken Bowen
Matt, If you don't find anything suggestive in the logs, try running with a debugger and put a breakpoint on the first statement in the contextInitialized method in your AppListener to try to track down why it's dying (i.e., what's causing SEVERE: Error listenerStart). Then start