Re: Tomcat shutdown.sh troubleshooting on AS/400

2012-06-20 Thread Tim Watts
On Wed, 2012-06-20 at 19:19 -0400, David Kerber wrote: > On 6/19/2012 8:07 PM, André Warnier wrote: > > James Lampert wrote: > >> . . . and when I looked back at the box I was testing, Tomcat *had* > >> finally shut down. And when I ran both the start and stop scripts > >> this time, the stop scr

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Samuel V Green III
Puzzle solved !! Yes I did not have the binary ! It was right in front of me on the Tomcat.apache.org/download-70.cgi So sorry for all the challenges. Thanks for every ones help !! I've got it up and running now ! Thanks again, Samuel. On Jun 20, 2012, at 7:23 PM, Oguz Kologlu wrote: > Try thi

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Oguz Kologlu
Try this link. It's a tomcat mirror for the binary distribution: http://mirror.overthewire.com.au/pub/apache/tomcat/tomcat-7/v7.0.28/bin/apache-tomcat-7.0.28.tar.gz On 21/06/2012, at 11:46 AM, Samuel V Green III wrote: > That's exactly what I've been downloading, but when unpacking the tar.gz i

RE: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Caldarale, Charles R
> From: Samuel V Green III [mailto:macun...@gmail.com] > Subject: Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion" > That's exactly what I've been downloading, but when unpacking the tar.gz > it unpacks as YadaYada-src Then clearly you're downloading the source archive, not the binary

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Oguz Kologlu
If you've done an update you may now have java 1.7 installed (and maybe 1.6 removed) Oz On 21/06/2012, at 11:46 AM, Samuel V Green III wrote: > That's exactly what I've been downloading, but when unpacking the tar.gz it > unpacks as YadaYada-src > I just ran java -v at my terminal and get this

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Samuel V Green III
That's exactly what I've been downloading, but when unpacking the tar.gz it unpacks as YadaYada-src I just ran java -v at my terminal and get this message : Unable to locate an executable at "/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/bin/java" (-1) So some how my system is mess

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Hassan Schroeder
On Wed, Jun 20, 2012 at 6:29 PM, Samuel V Green III wrote: > I can't download a binary distribution…, I'm running Mac OS Lion and as far > as I could see there was no binary distribution ? 15:41 ~/Downloads $ tar xfz apache-tomcat-7.0.28.tar.gz Did you see what I downloaded? Get that. H*

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Samuel V Green III
So I created a new user and same issues. I can't download a binary distribution…, I'm running Mac OS Lion and as far as I could see there was no binary distribution ? Ugg.. Must be a way to get Tomcat running ! Thanks, Samuel. On Jun 20, 2012, at 6:04 PM, Oguz Kologlu wrote: > Yes. > Save

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Oguz Kologlu
Yes. Save yourself some pain. Download the binary distribution unless you need it for a specific reason. Oz On 21/06/2012, at 10:57 AM, Samuel V Green III wrote: > Feeling like an idiot, but since I'm downloading apache-tomcat-7.0.28-src… > Do I have to do a build first ? > > Thanks, > > Samu

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Oguz Kologlu
Something screwy in your current environment. For a quick test: Create a new user Unpack tomcat into you user directory (don't mess around with /usr/local) start it up (not as root) Post the result. Oz On 21/06/2012, at 10:45 AM, Samuel V Green III wrote: > So I have my new install on /usr/lo

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Samuel V Green III
Feeling like an idiot, but since I'm downloading apache-tomcat-7.0.28-src… Do I have to do a build first ? Thanks, Samuel. On Jun 20, 2012, at 3:50 PM, Hassan Schroeder wrote: > On Wed, Jun 20, 2012 at 3:28 PM, Samuel Green wrote: >> This afternoon I did a reinstall at /usr/local >> and still

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Samuel V Green III
So I have my new install on /usr/local/tomcat (renamed 7.0.28) Following your instructions …. same old problem: Startup output: Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JRE_HOME: /System/Library/F

RE: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-20 Thread Esmond Pitt
The HttpServletRequest.logout function was added in Servlet 3.0. I don't know what your citation is talking about but there is no HttpSession.logout() method in the Servlet Specification 2.4 or anywhere else. EJP -Original Message- From: javed Ansari [mailto:javid@gmail.com] Sent: We

Re: Tomcat shutdown.sh troubleshooting on AS/400

2012-06-20 Thread David Kerber
On 6/19/2012 8:07 PM, André Warnier wrote: James Lampert wrote: . . . and when I looked back at the box I was testing, Tomcat *had* finally shut down. And when I ran both the start and stop scripts this time, the stop script worked perfectly (and promptly). Weird. Why would the shutdown take

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Hassan Schroeder
On Wed, Jun 20, 2012 at 3:28 PM, Samuel Green wrote: > This afternoon I did a reinstall at /usr/local > and still am not able to get it started. 15:41 ~/Downloads $ tar xfz apache-tomcat-7.0.28.tar.gz 15:42 ~/Downloads $ sudo mv apache-tomcat-7.0.28/ /usr/local Password: 15:42 ~/Downloads $ cd /u

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Samuel Green
This afternoon I did a reinstall at /usr/local and still am not able to get it started. No system links this time. Interestingly enough I had to create a "log" directory. Package did not include one.  Easy enough. I'll try your new install recommend,  but I still like to know why it won't load from

Re: Creating separate log for each request

2012-06-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lahiru, On 6/20/12 5:39 PM, Lahiru Gunathilake wrote: > Hi Caldarale, > > Its not a website.. I am hosting a middleware which will be used > by scientist to run their application in the Grid. So Ideal > scenario is like 2--30 requests per day but th

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Samuel, On 6/20/12 11:55 AM, Samuel Green wrote: > Thanks guys , I'll try a fresh install tonight and attempt to run > JUST from my /usr/local and report back to the list my results. Just install it into ~/apache-tomcat-7.0.27 and call it a day. You

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Samuel, On 6/19/12 10:20 PM, Samuel V Green III wrote: > I was trying to follow the instructions here: > http://wolfpaulus.com/journal/mac/tomcat7 where it mentions "Change > ownership of the /Libaray/Tomcat folder hierarchy: > > sudo chown -R /Libr

Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-20 Thread Jeff MAURY
Can you verify your 2 threads (reading input an error) are launched ? Can you confirm you are getting the problem only on Windows ? Jeff On Wed, Jun 20, 2012 at 4:19 PM, Laurent Petit wrote: > Hello, > > I have a problem with keep-alive connections, when starting a subprocess > (via JDK's defa

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 6/19/12 9:09 PM, Caldarale, Charles R wrote: >> From: Samuel V Green III [mailto:macun...@gmail.com] Subject: Re: >> apache-tomcat-7.0.27 start up errors on Mac OX "Lion" > >> issued command export Catalina_HOME=/Library/Tomcat > > That's

Re: Creating separate log for each request

2012-06-20 Thread Lahiru Gunathilake
Hi Caldarale, Its not a website.. I am hosting a middleware which will be used by scientist to run their application in the Grid. So Ideal scenario is like 2--30 requests per day but they are long running and very time consuming (Some jobs would take 2,3 days or one week to finish), so the logs a

RE: Creating separate log for each request

2012-06-20 Thread Caldarale, Charles R
> From: Lahiru Gunathilake [mailto:glah...@gmail.com] > Subject: Creating separate log for each request > I am using slf4j for my logging and everything works fine and all > the logs comes to catalina.out. Which means that things are seriously broken or incredibly badly configured. Logging sh

Re: Creating separate log for each request

2012-06-20 Thread Lahiru Gunathilake
Hi Jeff, Thanks for the response, actually my requirement is to make the life easier for the admin, and if something goes wrong he has an ID of the request which failed (This is not a system which is getting millions of http requests) and then he should be able to figure out the logs for that requ

Re: Creating separate log for each request

2012-06-20 Thread Jeff MAURY
Are you sure of that, a single file for a single HTTP request. I don't know a file system capable to handle that ? Jeff On Wed, Jun 20, 2012 at 10:38 PM, Lahiru Gunathilake wrote: > Hi All, > > I have my webapp deployed on tomcat. I am using slf4j for my logging and > everything works fine and

Creating separate log for each request

2012-06-20 Thread Lahiru Gunathilake
Hi All, I have my webapp deployed on tomcat. I am using slf4j for my logging and everything works fine and all the logs comes to catalina.out. But I have a requirement of creating a separate log for each request comes to my webapp... I only have single webapp, so I simply want to create a separate

Confusing tomcat error - can't find javax.servlet.http.HttpSessionAttributeListener

2012-06-20 Thread Cassano, Chris
Hi, I'm getting a fatal error when I start tomcat. Now I would think that servlet-api.jar is missing from the tomcat classpath but if I do -verbose:class I can clearly see tomcat using other classes from that jar so I know it's already included: [Loaded javax.servlet.http.HttpServletRequest fro

RE: Moodle & Tomcat

2012-06-20 Thread Caldarale, Charles R
> From: Peli [mailto:fabian...@gmail.com] > Subject: Moodle & Tomcat > Moodle requires to create the resource directory outside of the > deployment directory [webapps], the moodledata directory is created > directly in [...\apache-tomcat-7.0.27\moodledata] > moodle upload files to that directory

High CPU usage in Tomcat 7

2012-06-20 Thread James Lampert
We just had a report of extremely high CPU usage from the Tomcat job on one of our customer installations. A WRKACTJOB screen shot from before we forcibly shut Tomcat down and restarted it shows: Subsystem/Job Type CPU % FunctionStatus CATALINA BCH .0 CMD-QSH TI

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Samuel Green
Thanks guys , I'll try a fresh install tonight and attempt to run JUST from my /usr/local and report back to the list my results. Samuel. On Wed, Jun 20, 2012 at 5:30 AM, Daniel Mikusa wrote: > > - Original Message - > > > From: Samuel V Green III [mailto:macun...@gmail.com] > > > Subjec

Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-20 Thread Laurent Petit
Hello, I have a problem with keep-alive connections, when starting a subprocess (via JDK's default ProcessBuilder/Process API), while also having started Tomcat with the APR HTTP/1.1 Connector. The problem symptom is with Keep-Alive connection, as follows: - the client (browser, jmeter, etc.) s

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Daniel Mikusa
- Original Message - > > From: Samuel V Green III [mailto:macun...@gmail.com] > > Subject: Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion" > > > I was trying to follow the instructions here: > > http://wolfpaulus.com/journal/mac/tomcat7 > > I would strongly recommend (as did Ch

Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion"

2012-06-20 Thread Daniel Mikusa
- Original Message - > > /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home > Not sure? > I have sub directories: > > bin bundle lib man > Try running "$JAVA_HOME/bin/java -version". Dan > the install of tomcat at /usr/local is listed user "root" and owner

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-20 Thread javed Ansari
This logout function was added in Servlet Spec 2.4 http://mail-archives.apache.org/mod_mbox/tomcat-dev/200208.mbox/%3c1029034964.4749.754.ca...@hue.jadn.com%3E But even after pointing to Dynamic web module 2.4, and Tomcat 7.0, I am not able to access that API. Regards, Javed On Wed, Jun 20, 2012

heap memory issues

2012-06-20 Thread Miguel Gonzalez
>>Hi, Miguel- >>Your comment about how mail is handled made the application suspect in my >>mind.  Beyond making sure it's stable, I would check that the application is >>at least reasonably efficient. Yes, when I said stable, I really meant efficient too.  I suspect there are other ineffici

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-20 Thread javed Ansari
These settings I already have. Does that mean logout has been removed from the Servlet 3.0. The book I am referring uses servlet 2.0. Can anybody confirm this? On Wed, Jun 20, 2012 at 12:44 PM, Konstantin Kolinko wrote: > 2012/6/20 javed Ansari : > > It seems I am invalidating another servlet th

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-20 Thread Konstantin Kolinko
2012/6/20 javed Ansari : > It seems I am invalidating another servlet than the one which authenticated > the webapp. This confusion is because I am using Google Web Toolkit > application template which not just a plain servlet application. > I am now trying to invalidate all the sessions by calling