Re: Bundle Tomcat and Test in Eclipse

2012-10-18 Thread Pid
On 17/10/2012 21:12, Jason Aleski wrote: I am working on a project with specifications to bundle Tomcat7 with a Web Application. I am having trouble with the initial package setup, as this is my first time bundling Tomcat7. I've developed WAR files that have been deployed before. I'm

RE: asking advice for tomcat 7 config

2012-10-18 Thread Romain Van der Keilen
Hi there! Some news for you about my problem. I did all the modifications you suggested, it increased the response time a little bit (2-3 seconds better on a 15 seconds scale). It was already good to take, and helped me to create a healthy configuration. After that, I looked deeper into the

Re: asking advice for tomcat 7 config

2012-10-18 Thread Daniel Barcellos
Hey I'm facing similar problems too and I guess with a good configuration of my server.xml would be a good start point. So could kindly share a good Connector configuration in this mail thread? What would that be the best choice in terms of max min threads keep alived timeout configurations ?

Re: asking advice for tomcat 7 config

2012-10-18 Thread Pid
On 18/10/2012 12:22, Daniel Barcellos wrote: Hey I'm facing similar problems too and I guess with a good configuration of my server.xml would be a good start point. So could kindly share a good Connector configuration in this mail thread? What would that be the best choice in terms of

Re: asking advice for tomcat 7 config

2012-10-18 Thread André Warnier
Hi. Romain Van der Keilen wrote: Hi there! Some news for you about my problem. I did all the modifications you suggested, it increased the response time a little bit (2-3 seconds better on a 15 seconds scale). It was already good to take, and helped me to create a healthy configuration. As

Get active session list

2012-10-18 Thread Felipe Jaekel
I need to get the active session list. Searching about I saw a lot of people with the same question, but no answer. I don't want to write a list inside a HttpSessionListener and keep the session list there, because I use session serialization and the list inside the listener would be destroyed in

Re: Thread related MBean questions

2012-10-18 Thread Shanti Suresh
Hi Pid, Thanks for your comments! I would like a representative metric of how many active threads are in Tomcat at a given time. currentBusyThreads may or may not be a good counter because at the time of poll, there is one current operation or none - giving me a value or 1 or 0 consistently.

Re: Get active session list

2012-10-18 Thread Jose María Zaragoza
2012/10/18 Felipe Jaekel fkjae...@gmail.com: I need to get the active session list. Searching abou I saw a lot of people with the same question, but no answer. https://code.google.com/p/psi-probe/ - To unsubscribe, e-mail:

Re: Get active session list

2012-10-18 Thread Mark Thomas
On 18/10/2012 14:34, Felipe Jaekel wrote: I need to get the active session list. Searching about I saw a lot of people with the same question, but no answer. I don't want to write a list inside a HttpSessionListener and keep the session list there, because I use session serialization and the

Context fails to load during start of Tomcat, and stalls tomcat startup

2012-10-18 Thread Steffen Schumacher
Hi! Running apache-tomcat 7.0.26 on FreeBSD 8.1@vmware, I've spotted a really curious issue. We are hosting ~8 different contexts on 4 servers all matching the above setup, and in normal operation we have no beef at all, except when the server guys needs to reboot the servers for whatever reason.

Re: asking advice for tomcat 7 config

2012-10-18 Thread Daniel Barcellos
ok... thanks for nothing... 2012/10/18 Pid p...@pidster.com On 18/10/2012 12:22, Daniel Barcellos wrote: Hey I'm facing similar problems too and I guess with a good configuration of my server.xml would be a good start point. So could kindly share a good Connector configuration in

Re: Get active session list

2012-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felipe, On 10/18/12 9:34 AM, Felipe Jaekel wrote: I need to get the active session list. Searching about I saw a lot of people with the same question, but no answer. I don't want to write a list inside a HttpSessionListener and keep the session

Re: asking advice for tomcat 7 config

2012-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Romain, On 10/18/12 6:05 AM, Romain Van der Keilen wrote: After that, I looked deeper into the database configuration, as I saw in the tests that non db relative actions were responding very fast (50ms for a 1000 users basis). I finally found an

Re: asking advice for tomcat 7 config

2012-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, On 10/18/12 10:12 AM, Daniel Barcellos wrote: ok... thanks for nothing... No thanks for the snarkiness. :( Pid's advice is actually good, even if you don't want to hear it: 2012/10/18 Pid p...@pidster.com It's probably not your

Re: Context fails to load during start of Tomcat, and stalls tomcat startup

2012-10-18 Thread Ben Souther
Is it possible that the context in question depends on another context in your setup for something during startup? Do you have something in a context listener (or a servlet that gets deployed on startup) that makes a web service call to another context in your system during initialization? If

Re: asking advice for tomcat 7 config

2012-10-18 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, On 10/18/12 10:12 AM, Daniel Barcellos wrote: ok... thanks for nothing... No thanks for the snarkiness. :( Pid's advice is actually good, even if you don't want to hear it: 2012/10/18 Pid p...@pidster.com

Re: asking advice for tomcat 7 config

2012-10-18 Thread Daniel Barcellos
Ok guys, apologies for my inconvenience. I was just wondering if there was a way to solve a few problems that I'm facing here like threads that get stuck and no way to release them. I already chat with my client's architechs in order to ask them if they are closing any output source when

question about krb5.conf file

2012-10-18 Thread Mead, Jen L
Hi, I am trying to get my AIX box configured to use Windows Authentication from the tomcat server (web browser). I have been relying on the example that is at http://tomcat.apache.org/tomcat-7.0-doc/windows-auth-howto.html#Tomcat_instance. Here is my question. The example is using all

Re: Get active session list

2012-10-18 Thread Felipe Jaekel
Found the following: context = (Context) wrapper.getParent(); host = (Host) context.getParent(); Context ctx = (Context) host.findChild(name); Manager manager = ctx.getManager(); Session [] sessions = manager.findSessions(); Had the same doubt I had when I looked at the PSI Probe code

Help on Windows 2008(64 bit)\Tomcat

2012-10-18 Thread McDaniel, Jace
I am new to the Tomcat and IIs 7 world and I am having issues getting mine app to work beyond the default port 8080. I am building a new server with those specs. I tried to keep this short but still include details of what I have done. If anyone has any ideas of items I can research or try, it

Re: question about krb5.conf file

2012-10-18 Thread André Warnier
Hi. Mead, Jen L wrote: Hi, I am trying to get my AIX box configured to use Windows Authentication from the tomcat server (web browser). I have been relying on the example that is at http://tomcat.apache.org/tomcat-7.0-doc/windows-auth-howto.html#Tomcat_instance. Here is my question. The

Re: Help on Windows 2008(64 bit)\Tomcat

2012-10-18 Thread André Warnier
McDaniel, Jace wrote: I am new to the Tomcat and IIs 7 world and I am having issues getting mine app to work beyond the default port 8080. So what you are saying is that your application does work, when you access Tomcat directly through port 8080 ? And it doesn't work when you try to