Re: Moving from a very old Tomcat to a new Tomcat.

2008-06-12 Thread André Warnier
Bill Davidson wrote: Bill Barker wrote: >This is correct. TC 3.2.4 never set the "secure" flag on that cookie, >and TC 3.3.2 would only set it if you enabled an option in server.xml. >This feature of TC is only on TC 4.0 and higher. Thank you for confirming that. I personally believe that t

Re: Moving from a very old Tomcat to a new Tomcat.

2008-06-12 Thread Pid
André Warnier wrote: Bill Davidson wrote: Bill Barker wrote: >This is correct. TC 3.2.4 never set the "secure" flag on that cookie, >and TC 3.3.2 would only set it if you enabled an option in server.xml. >This feature of TC is only on TC 4.0 and higher. Thank you for confirming that. I per

Re: JMX / jconsole for TOMCAT6.0.14

2008-06-12 Thread karthikn
Hi After lot's permutation combination export JAVA_HOME=/opt/java6 echo JAVA_HOME = $JAVA_HOME export CATALINA_OPTS='-Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false' echo CATALINA_OPTS = $CATALINA_OPTS

Re: Moving from a very old Tomcat to a new Tomcat.

2008-06-12 Thread André Warnier
Pid wrote: André Warnier wrote: [...] With everyone's permission, I would offer to write a draft, but I wouldn't have a clue as to how or where to publish this. Tomcat Wiki? Well, I must be too dumb even for that. On the page http://wiki.apache.org/tomcat/HowTo , the first item is quot

Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread tootbatoot
Hi Guys - Can you please help me understand behavior of 5.0.28 tomcat. When I put load on it via my webapp - I can see the memory allocated to the process going up (in task manager) but when I kill the session of the webapp (i.e. remove the load) it does not come down. Should not the tomcat proces

RE: Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread Caldarale, Charles R
> From: tootbatoot [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5.0.28 memory usage - garbage collection > > When I put load on it via my webapp - I can see the memory > allocated to the process going up (in task manager) but > when I kill the session of the webapp (i.e. remove the load) > it does n

RE: Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread tootbatoot
Thanks. Sorry for not including the environment info - here it is: OS: Windows server 2003 SP1 jdk1.4.2_12 I am checking the numbers from task manager console and not sure whether these are virtual or real ones? how to find this, thanks. t Caldarale, Charles R wrote: > >> From: tootbatoot [mail

Re: Moving from a very old Tomcat to a new Tomcat.

2008-06-12 Thread Steve Ochani
Date sent: Thu, 12 Jun 2008 13:23:20 +0200 From: André Warnier <[EMAIL PROTECTED]> Subject:Re: Moving from a very old Tomcat to a new Tomcat. To: Tomcat Users List Send reply to: Tomcat Users List > > > Pid wrote: > > An

getAttribute(null)?

2008-06-12 Thread Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2
I have the following code that worked in Tomcat 5.0, but doesn't work in Tomcat 5.5.26: String formName = mapping.getAttribute(); // mapping is a variable of type ActionMapping. In this scenario, formName is null. if (null != session.getAttribute(formName)) { session.removeAttribute(for

RE: Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread Caldarale, Charles R
> From: tootbatoot [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 5.0.28 memory usage - garbage collection > > jdk1.4.2_12 I'd strongly recommend upgrading to a newer JVM. 1.6 especially is noticeably faster than 1.4 and includes better heap management. You should upgrade Tomcat as well, for

RE: Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 5.0.28 memory usage - garbage collection > > I'd strongly recommend upgrading to a newer JVM. 1.6 > especially is noticeably faster than 1.4 and includes better > heap management. You should upgrade Tomcat as well, for t

get rid of ViewExpiredException

2008-06-12 Thread dgreenbean
Hi, I keep getting a ViewExpiredException when testing on my localhost. I am running Tomcat 6.0.16 inside Eclipse 3.3.2 with Myfaces 1.2.3 (JSF 1.2) and Spring 2.5.4. All I want to do is get rid of this exception. I have restarted Tomcat, cleared my browser cache, redeployed the webapp, cleane

RE: Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread tootbatoot
thanks. The reason we have to stick to using this version is that it is recommended by another application that tomcat is acting as a client to. >From your posts - I understand that the memory usage might show going up all the time - and it will still be ok because it is showing the heap size of

RE: Tomcat Custom Connector

2008-06-12 Thread Simon Aquilina
Hi, I have checked the code in Tomcat again, and although it is very confusing I feel I did understand something here and there :) However I have a question - where is the adapter being set? No Adapter is being initialized in the 'JIoEndPoint', 'Http11Protocol' and 'Http11Processor'. I als

RE: getAttribute(null)?

2008-06-12 Thread Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2
It's not the "why is formName null?" that I'm worried about. In this case, it's supposed to be null. What I want to know is this: Is a NullPointerException supposed to be thrown if the argument "name" in session.getAttribute(name) is NULL? If such an exception IS supposed to be thrown, was this

Re: get rid of ViewExpiredException

2008-06-12 Thread dgreenbean
Switching from JBoss RichFaces 3.2.1.GA to 3.2.0.SR1 fixed the problem. I did not think this was relevant, but apparently, it is. dgreenbean wrote: > > Hi, > > I keep getting a ViewExpiredException when testing on my localhost. I am > running Tomcat 6.0.16 inside Eclipse 3.3.2 with Myfaces 1

Tomcat 5.5.26 + JDK 6_05 - java.lang.OutOfMemoryError: PermGen Space

2008-06-12 Thread Estevam Henrique Portela Mota e Silva
Good Afternoon, Who knows the problem of tomcat on the server. Tomcat's war have 17 in my company Memory (Initial memory pool: 512mb and Maximum memory pool: 1024mb) Version: --> Tomcat 5.5.26 --> JDK 6_05 Server: --> Gigabyte, Core 2 Duo and Memory 2 gb (motherboard has maximum of

jk load balancing based upon ip address rather than session id

2008-06-12 Thread Simon Papillon
Hello, I'm using jk 1.2.25 with tomcat 5.5.25 and apache 2.0 on one debian box - 2.4.27-2-386 i686 GNU/Linux I've set up 3 tomcat instances that receive requests from the jk load balancer worker I've implemented in the web application, a simple cross domain single sign on (SSO) mechanism. T

Re: getAttribute(null)?

2008-06-12 Thread Johnny Kewl
- Original Message - From: "Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2" <[EMAIL PROTECTED]> To: Sent: Thursday, June 12, 2008 4:44 PM Subject: getAttribute(null)? I have the following code that worked in Tomcat 5.0, but doesn't work in Tomcat 5.5.26: String formName = mapping.get

RE: Tomcat 5.5.26 + JDK 6_05 - java.lang.OutOfMemoryError: PermGen Space

2008-06-12 Thread Caldarale, Charles R
> From: Estevam Henrique Portela Mota e Silva > [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5.5.26 + JDK 6_05 - > java.lang.OutOfMemoryError: PermGen Space > > Good Afternoon, > > Memory (Initial memory pool: 512mb and Maximum memory pool: 1024mb) > Server: > --> Gigabyte, Core 2 Duo and Memor

Farm War Deployer / Deploment Strategies

2008-06-12 Thread Theparanoidone Theparanoidone
Hola~ I'm looking for an efficient way to deploy a tomcat project to 2 or more tomcat servers simultaneously. Changes to are tomcat project may affect the way it communicates with a database, and therefore we'd like to make sure the deployment takes place swiftly. What are some of the better

Servlet navigation

2008-06-12 Thread James Rome
I am doing a project for a class of HS teachers in July, to teach them the wonders of Java and NetBeans. I designed a set of servlets to let them manage student grades. I am having them design the basic HTML in NVU, and put it into the try blocks of the NB-generated processRequest servlets, and the

Re: Servlet navigation

2008-06-12 Thread Hassan Schroeder
On Thu, Jun 12, 2008 at 12:16 PM, James Rome <[EMAIL PROTECTED]> wrote: > I am doing a project for a class of HS teachers in July, to teach them > the wonders of Java and NetBeans. I designed a set of servlets to let > them manage student grades. I am having them design the basic HTML in > NVU, and

Please connect with me :)

2008-06-12 Thread Steve Burrus
Hi, I looked for you on Reunion.com, but you weren't there. Please connect with me so we can keep in touch. -Steve Do You Know Steve? YES - Connect with Steve, and see who's searching for you http://www.reunion.com/showInviteRegistration.do?uid=264388147 NO - I don't know Steve http://www.reunio

Please connect with me :)

2008-06-12 Thread Steve Burrus
Hi, I looked for you on Reunion.com, but you weren't there. Please connect with me so we can keep in touch. -Steve Do You Know Steve? YES - Connect with Steve, and see who's searching for you http://www.reunion.com/showInviteRegistration.do?uid=264388147 NO - I don't know Steve http://www.reunio

Re: Tomcat 5.0.28 memory usage - garbage collection

2008-06-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 tootbatoot wrote: | The reason we have to stick to using this version is that it is recommended | by another application that tomcat is acting as a client to. Do you mean that your (Tomcat-hosted) application is connecting to a 3rd-party application?

Re: getAttribute(null)?

2008-06-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2 wrote: | I have the following code that worked in Tomcat 5.0, but doesn't work in | Tomcat 5.5.26: | | String formName = mapping.getAttribute(); // mapping is a variable of | type ActionMapping

Re: jk load balancing based upon ip address rather than session id

2008-06-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simon, Simon Papillon wrote: | when there are | several all servicing requests in a load balanced context, it doesn't | work, because the session ids from different domains may be directed | to different tomcat instances / containers, which then brea

Any users with centralized logging?

2008-06-12 Thread Chris Pratt
Hi all, Have a vanilla tomcat & coherence instance logging to local files-- CATALINA_BASE/logs and CACHE/logs. I am implementing a central logserver and want to get these into the syslog. I tried tail -f [file log] | logger -p local#.info but this resulted in each wrapped line occurring a

java.lang.OutOfMemoryError: PermGen space

2008-06-12 Thread Shashidhar Rampally
Hey all, I have deployed Alfresco (http://www.alfresco.com) on my Apache2.0+modjk_Tomcat5.5.9 installation running on a Windows XP box. Now, when I start Tomcat I get an OutOfMemoryError. I have searched a lot and almost all posts say that I need to increase the heap space by adding -Xms128m -Xmx5

mapping tomcat to ip address behind router

2008-06-12 Thread illusion
Hey, I want to set-up tomcat to serve http requests from behind a router. When there is a direct internet connection and no router, and the address property is added and port number is changed in server.xml as below in example 1, tomcat serves requests fine for http://99.153.32.456. When I set

RE: java.lang.OutOfMemoryError: PermGen space

2008-06-12 Thread Caldarale, Charles R
> From: Shashidhar Rampally [mailto:[EMAIL PROTECTED] > Subject: java.lang.OutOfMemoryError: PermGen space > > I need to increase the heap space by adding -Xms128m -Xmx512m > to either JAVA_OPTS or CATALINA_OPTS environment variable That won't help if you're running out of PermGen space. > In my

RE: mapping tomcat to ip address behind router

2008-06-12 Thread Caldarale, Charles R
> From: illusion [mailto:[EMAIL PROTECTED] > Subject: mapping tomcat to ip address behind router > > I want to set-up tomcat to serve http requests from > behind a router. I think you mean proxy, not router; strictly speaking, routers don't fiddle with IP addresses, they just pass them on. >

Re: java.lang.OutOfMemoryError: PermGen space

2008-06-12 Thread Shashidhar Rampally
Thanks for the quick reply Chuck! I found java5w.exe immediately after I sent the email. Increasing the heap did not solve my issue. I had to increase the PermSize by setting -XX:MaxPermSize=256m Now I am getting some IO and RMI exceptions. However, they are all related to Alfrsco. Thanks again!

Re: jk load balancing based upon ip address rather than session id

2008-06-12 Thread Simon Papillon
Hi Chris, Thanks for the reply, > > Simon, > > Simon Papillon wrote: > | when there are > | several all servicing requests in a load balanced context, it doesn't > | work, because the session ids from different domains may be directed > | to different tomcat instances / containers, which then brea

Re: mapping tomcat to ip address behind router

2008-06-12 Thread Steve Ochani
On 12 Jun 2008 at 14:14, illusion wrote: Date sent: Thu, 12 Jun 2008 14:14:11 -0700 (PDT) From: illusion <[EMAIL PROTECTED]> Subject:mapping tomcat to ip address behind router To: users@tomcat.apache.org Send reply to: Tom

Re: mapping tomcat to ip address behind router

2008-06-12 Thread illusion
Hey, I tried taking the address="192..." portion out in the example 2 where tomcat is behind a router and it made no difference. In relation to port 80 being blocked, in example 1 above where there is no router, it works fine when tested with the url with the ip address assigned by the ISP, "htt

Re: jk load balancing based upon ip address rather than session id

2008-06-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simon, Simon Papillon wrote: | Forgive me if I'm overlooking something, but as far as I understand | it, the sticky session mechanism is driven off the JSESSIONID that is | assigned by the tomcat container when a client first makes a request | that i

Re: mapping tomcat to ip address behind router

2008-06-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Illusion, illusion wrote: | I tried taking the address="192..." portion out in the example 2 where | tomcat is behind a router and it made no difference. In relation to port 80 | being blocked, in example 1 above where there is no router, it works f

Re: mapping tomcat to ip address behind router

2008-06-12 Thread illusion
Hey, Yes I do have it setup to forward to port 80 of the internal ip address "192". Not sure what I'm missing or have incorrect. thanks for the suggestions -- View this message in context: http://www.nabble.com/mapping-tomcat-to-ip-address-behind-router-tp17809837p17811853.html Sent from

Re: mapping tomcat to ip address behind router

2008-06-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Illusion, illusion wrote: | Yes I do have it setup to forward to port 80 of the internal ip address | "192". Not sure what I'm missing or have incorrect. Well, whatever the solution is, there's no need to specify the "address" in server.xml unl

GlobalRequestProcessor get Response time?

2008-06-12 Thread ubekhet
Hi folks, Sorry for insisting this question, but I want to know how I can monitoring the Response Time for all requests coming for specific port. I used GlobalRequestProcessor and RequestProcessor for getting prcessingTime, but I not sure what's the differents between both. Which one I have

Re: mapping tomcat to ip address behind router

2008-06-12 Thread Johnny Kewl
- Original Message - From: "illusion" <[EMAIL PROTECTED]> To: Sent: Thursday, June 12, 2008 11:14 PM Subject: mapping tomcat to ip address behind router Hey, I want to set-up tomcat to serve http requests from behind a router. When there is a direct internet connection and no rou

URL is "null" and HTTP 404 error when using FROM authentication

2008-06-12 Thread exkor
Hi I have this wierd problem i am trying to sovle for a week now, and i already have gray hair from this mess. My setup is Apache 2.0, Tomcat 6.0, MySQL 5.0. I am requesting a protected page in my application: http://127.0.0.1/myapp/home.jsp and it takes me to the login page: http://127.0.0.1/my

RE: URL is "null" and HTTP 404 error when using FROM authentication

2008-06-12 Thread Caldarale, Charles R
> From: exkor [mailto:[EMAIL PROTECTED] > Subject: URL is "null" and HTTP 404 error when using FROM > authentication You have some weirdness in your web.xml and context.xml that should be straightened out before attempting any further analysis. > > > > >0 >

Re: Moving from a very old Tomcat to a new Tomcat.

2008-06-12 Thread Mark Thomas
André Warnier wrote: Pid wrote: Tomcat Wiki? However, in the upper left corner appears the legend "Immutable page", and I don't seem to find any button, link or whatever allowing me to edit the page in question, add an item, whatever. Am I using the wrong page ? You are in the right plac

Re: Farm War Deployer / Deploment Strategies

2008-06-12 Thread Johnny Kewl
- Original Message - From: "Theparanoidone Theparanoidone" <[EMAIL PROTECTED]> To: Sent: Thursday, June 12, 2008 9:14 PM Subject: Farm War Deployer / Deploment Strategies Hola~ I'm looking for an efficient way to deploy a tomcat project to 2 or more tomcat servers simultaneously.

WEB application with JNI Object for LB

2008-06-12 Thread karthikn
Hi Using the APACHE HTTP 2.X server + Modjk + TOMCAT6.1.14 ( 2 nos) + JDK1.6 + HP UNIX11 i Question : Would this work for LB / Sticky Session across Tomcats in cluster ? Have a web application with JNI Object ( Java to c++ by Os HP-Unix ) on Socket ( Tcp/ Ip ) for accessing some