Re: mod_jk Problems - - worker went to error state and dont recover

2008-02-21 Thread Rainer Jung
See the footer of any mail on the list: - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: All

Re: RE: mod_jk Problems - - worker went to error state and dont recover

2008-02-21 Thread Ahmed Musa
Hallo Luke, Here the information from tomcat.apache.org Unsubscription: Send a blank email to [EMAIL PROTECTED] Digest unsubscription: Send a blank email to [EMAIL PROTECTED] best ahmed Original-Nachricht Datum: Thu, 21 Feb 2008 09:27:31 - Von: [EMAIL PROTECTED] An:

Re: mod_jk Problems - - worker went to error state and dont recover

2008-02-21 Thread Ahmed Musa
Hello Rainer, Thanks for your informations - the Situation gets more clear now. I will read again some dics - following your links and will make further tests also with the improved logging. Thanks a lot for your time with best regards ahmed Original-Nachricht Datum: Wed, 20

RE: mod_jk Problems - - worker went to error state and dont recover

2008-02-21 Thread luke.walshe
Thanks, I did try to unsubscribe but I kept getting them. Will try the address below. Luke Walshe BT Operate, HGIPCC Technical Specialist Telephone: +44 (0)1314483482, Email: [EMAIL PROTECTED] -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: 21 February 2008 09:30

RE: mod_jk Problems - - worker went to error state and dont recover

2008-02-21 Thread luke.walshe
All Apologies, this is unrelated. How do I unsubscribe from this mailing list, I thought it would be useful and small but its overwhelming my inbox? Thanks in Advance. Luke Walshe BT Operate, HGIPCC Technical Specialist Telephone: +44 (0)1314483482, Email: [EMAIL PROTECTED] -Original

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-21 Thread emerson cargnin
Well, i don't really see the difference regarding security of having the jsp's separated or not. Even with the JSP's inside the war, once expanded you could change a JSP without that been detected anyway. On 20/02/2008, Ralph Goers [EMAIL PROTECTED] wrote: Right. The only way access to your

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-21 Thread emerson cargnin
Well, I said at the beginning that I'm not a big fan of this approach, but I understand the reasons behind it and the difficulties it would have to change it. Other reason for using this approach is when you have a great amount of static content, like images. An update of the war would have to

Re: Tomcat 5.5.26 - JMXAdaptorLifecycleListener issues

2008-02-21 Thread Peter Rossbach
Hi Vishal, I see the problems and think I can fix it. At my test env (Linux, Mac OS x) the Registry and Platform MBeanServer are the same. I can see all Tomcat Mbeans at my jconsole. Many thanks, Peter Am 16.02.2008 um 23:18 schrieb Vishal Goenka: 2. JMXAdaptorLifecycleListener

Getting CPU Usage of JVM using SNMP

2008-02-21 Thread Mohan2005
Hello All; I can get the JVM memory information using the following SNMP commands. /usr/bin/snmpwalk -c public -v 2c 172.10.1.11:3000 .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.2 SNMPv2-SMI::enterprises.42.2.145.3.163.1.1.2.110.1.2.1 = STRING: Code Cache

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-21 Thread Tim Funk
It got rolled back due to some vetos. (Hence the if your brave comment). See the dev list for details. The patch itself works fine. -Tim emerson cargnin wrote: Thanks Tim. Do you know if this will be included on next release of tomcat6? regards emerson On 19/02/2008, Tim Funk [EMAIL

Re: [Fwd: Re: running servlet from java]

2008-02-21 Thread brien colwell
or omissions. *** SAVE PAPER - THINK BEFORE YOU PRINT! __ NOD32 2891 (20080221) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com

[Fwd: Re: running servlet from java]

2008-02-21 Thread Goran Jambrović
. *** SAVE PAPER - THINK BEFORE YOU PRINT! __ NOD32 2891 (20080221) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com ---End Message

Re: Tomcat Cluster Error -

2008-02-21 Thread gp456
thanks for your reply. first the fix you mentioned is not in the current tomcat release (6.0.16). Since I have to build/patch the tomcat for a productive environment what whould you recommend: patch the 6.0.16 sources or build tomcat from the newest trunk? We've ran another test and encountered

RE: Mapping JSP's to outside of the war or expanded folder

2008-02-21 Thread Caldarale, Charles R
From: emerson cargnin [mailto:[EMAIL PROTECTED] Subject: Re: Mapping JSP's to outside of the war or expanded folder Other reason for using this approach is when you have a great amount of static content, like images. One would normally package a large amount of static information in a

RE: setting up SSL

2008-02-21 Thread Caldarale, Charles R
From: Daniel Blumenthal [mailto:[EMAIL PROTECTED] Subject: setting up SSL Any ideas? Is it possible that Tomcat isn't able to find the openssl libraries (or something?). Did you read the doc for using SSL with APR? Did you ignore the big bold message at the top of the normal SSL doc:

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-21 Thread Ralph Goers
We put a proxy in front of Tomcat. It serves all the static content. emerson cargnin wrote: Well, I said at the beginning that I'm not a big fan of this approach, but I understand the reasons behind it and the difficulties it would have to change it. Other reason for using this approach is

Re: running servlet from java

2008-02-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Goran, Goran Jambrović wrote: | I would like to run a servlet(/FunPacmanServlet) from java. You should call it via HTTP. | This servlet | would then show a jsp page in web browser. That's going to be a problem, depending on your platform, the

Re: Accessing standalone Tomcat from an external IP address

2008-02-21 Thread Rashmi
Hi Chris, You are right about the ports, thanks for pointing it out. I made sure the ports were matching on the system, but when I typed it I specified it incorrectly. I got this to work, it was the Linux firewall issue, I had to configure iptables and forward requests coming in from the

Re: JASPER libraries incompatibilities

2008-02-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hitesh, Hitesh Raghav wrote: | Is there any URLs about these backward incompatibilities (i.e. | Servlet/JSP specs backward incompatibilities)? As Chuck suggests, the servlet specification has changed between versions, and the best reference for

Re: Form data refresh?

2008-02-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alaska, Alaska Winter wrote: | what happens if user hits the back button to catalogue. Perfectly valid | thing to do. If they submit an old (expired) token, then you simply ignore the request. You will probably want to notify them why the request

Java -Tomcat- compatability on linux and windows

2008-02-21 Thread Raghuveer
Is there any difference in compatibility of Java-Tomcat Versions with Windows system and Linux? Tomcat 5.5.25 and j2sdk1.4.2_07 are working on windows. We get some problems with same versions on RedHat Enterprise Linux 4. RedHat Enterprise Linux 4 Apache - tomcat 5.5.25 Java version

RE: mod_jk/apache+tomcat/400 bad request

2008-02-21 Thread philip.coates
Hi, You might want to put a Context element into your server.xml inside the relevant Host: Engine name=Catalina defaultHost=localhost Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=UserDatabase/ !-- Define the default virtual host Note: XML

RE: Java -Tomcat- compatability on linux and windows

2008-02-21 Thread Caldarale, Charles R
From: Raghuveer [mailto:[EMAIL PROTECTED] Subject: Java -Tomcat- compatability on linux and windows We get some problems with same versions on RedHat Enterprise Linux 4. RedHat Enterprise Linux 4 Apache - tomcat 5.5.25 Java version probably 1.4.2. Are you sure that's a real Tomcat

RE: mod_jk/apache+tomcat/400 bad request

2008-02-21 Thread philip.coates
Yup, I should be using a local context -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: 21 February 2008 15:26 To: Tomcat Users List Subject: RE: mod_jk/apache+tomcat/400 bad request From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE:

Trailing slash problem

2008-02-21 Thread Thompson,Roger
I know this has been discussed, but I seem unable to find much about it other than a comment by Yoav Shapira. Environment: Tomcat 5.5.20 with no apache front end. The http connector adds a trailing slash to the top level rerquest to a web app like as follows: http://tspilot.oclc.org/gsafd ==

RE: mod_jk/apache+tomcat/400 bad request

2008-02-21 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE: mod_jk/apache+tomcat/400 bad request You might want to put a Context element into your server.xml inside the relevant Host: Perhaps you haven't been keeping up with the last few years of Tomcat releases. As noted, in bold,

RE: mod_jk/apache+tomcat/400 bad request

2008-02-21 Thread Tommy Peterson
I read the documentation that you pointed out. I was confused as the bulleted list below this statement said you could put the context element inside a hostname tag in the server.xml. So I commented it out and restarted tomcat/apahce and I got a 404. I uncommented it out and restarted and go

Re: Tomcat Cluster Error -

2008-02-21 Thread Filip Hanik - Dev Lists
gp456 wrote: thanks for your reply. first the fix you mentioned is not in the current tomcat release (6.0.16). Since I have to build/patch the tomcat for a productive environment what whould you recommend: patch the 6.0.16 sources or build tomcat from the newest trunk? either or, they

RE: setting up SSL

2008-02-21 Thread Daniel Blumenthal
Thanks! This is exactly what I needed. I've followed the instructions (creating a simple certificate, and self-signing just for testing purposes), and things are working... Except Tomcat is taking over a minute to initialize. Is this normal? -Original Message- From: Caldarale,

RE: Trailing slash problem

2008-02-21 Thread Caldarale, Charles R
From: Thompson,Roger [mailto:[EMAIL PROTECTED] Subject: Trailing slash problem The http connector adds a trailing slash to the top level rerquest [sic] to a web app As I recall, it's required by the HTTP RFC (or possibly the URI RFC - you can look it up). Is there a way to tell the

RE: mod_jk/apache+tomcat/400 bad request

2008-02-21 Thread Tommy Peterson
Thanks, Philip. I did have it in there. As I said in my reply to Chuck's reply I removed it and got a 404 and then replaced it. Subject: RE: mod_jk/apache+tomcat/400 bad request Date: Thu, 21 Feb 2008 14:58:12 + From: [EMAIL PROTECTED] To: users@tomcat.apache.org Hi, You might

Re: Java -Tomcat- compatability on linux and windows

2008-02-21 Thread mgainty
Hi Raghu Only with platform specific binaries..(most of which are located in $JRE_HOME/bin) Is there something specific you wanted to look at? M- - Original Message - Wrom: ONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQ To: 'Tomcat Users List' users@tomcat.apache.org Sent: Thursday, February

RE: setting up SSL

2008-02-21 Thread Caldarale, Charles R
From: Daniel Blumenthal [mailto:[EMAIL PROTECTED] Subject: RE: setting up SSL Except Tomcat is taking over a minute to initialize. Another topic frequently discussed. Search the archives for random SSL APR: http://marc.info/?l=tomcat-userw=2r=1s=random+SSL+APRq=b - Chuck THIS

RE: setting up SSL

2008-02-21 Thread Daniel Blumenthal
Ah, never mind - it looks like this only happens the first time. -Original Message- From: Daniel Blumenthal [mailto:[EMAIL PROTECTED] Sent: Thursday, February 21, 2008 11:17 AM To: 'Tomcat Users List' Subject: RE: setting up SSL Thanks! This is exactly what I needed. I've

realm login and user session are not the same

2008-02-21 Thread Pierrick Terrettaz
Hi, I've a problem with tomcat server 5.5. When a user logs in through the realm authentification FORM method in the website, the username and login are well checked but the user come in with the session of an other user with roles of this other user. This happens randomly with on user sessions

Sharing session across IE windows

2008-02-21 Thread Adam Lipscombe
Folks, I have a perplexing problem. I don't think its a tomcat issue but maybe someone else has encountered it? In my app I spawn a new IE window with window.open(). I want the new window to share the same session as the parent, because it needs to access some session data. I find that

RE: realm login and user session are not the same

2008-02-21 Thread Caldarale, Charles R
From: Pierrick Terrettaz [mailto:[EMAIL PROTECTED] Subject: realm login and user session are not the same When a user logs in through the realm authentification FORM method in the website, the username and login are well checked but the user come in with the session of an other user

RE: Configuring Default ROOT Context

2008-02-21 Thread osubb
I got the servlet reload to work, but can't get the default ROOT context to work. I uncommented the invoke servlet sections in web.xml and when I executed any Servlets, I got a blank page. I then commented them back out, and the Servlet worked fine (although I could not execute under ROOT

RE: Configuring Default ROOT Context

2008-02-21 Thread Caldarale, Charles R
From: osubb [mailto:[EMAIL PROTECTED] Subject: RE: Configuring Default ROOT Context I uncommented the invoke servlet sections in web.xml Don't ever, ever do that; read the comments about the Invoker servlet in the FAQ: http://wiki.apache.org/tomcat/FAQ/Miscellaneous I made these changes:

Re: realm login and user session are not the same

2008-02-21 Thread Pierrick Terrettaz
Caldarale, Charles R a écrit : From: Pierrick Terrettaz [mailto:[EMAIL PROTECTED] Subject: realm login and user session are not the same When a user logs in through the realm authentification FORM method in the website, the username and login are well checked but the user come in with

RE: Multiple Hosts all using the same web application instance

2008-02-21 Thread Caldarale, Charles R
From: Matt Doller [mailto:[EMAIL PROTECTED] Subject: Multiple Hosts all using the same web application instance Which brings me to my issue - I can't figure out how to have coldfusion files in each of my hosts rendered using that single coldfusion application. Do you want to share the

Multiple Hosts all using the same web application instance

2008-02-21 Thread Matt Doller
Hello, I've been trying to figure this issue out for days and I can't seem to make any headway. To give some background on my environment, I'm running Tomcat - 6.0.16 and Java 1.6.0_03 on XP, and using IIS 6.0 as the web server. I have multiple hosts defined in the server.xml file in the

Need help with CGI in a directory OTHER than WEB-INF

2008-02-21 Thread JohnSka7
Hello everyone, I've searched around on google trying to figure this out, but I've had no luck so far, so I'm sorry if this has been answered already... I work for a school district and we are using the PowerSchool web application from Pearsons, and we'd like to integrated some custom CGI

RE: realm login and user session are not the same

2008-02-21 Thread Caldarale, Charles R
From: Pierrick Terrettaz [mailto:[EMAIL PROTECTED] Subject: Re: realm login and user session are not the same We are also using a ThreadLocal static reference in a class to store the request.getUserPrincipal() to give the current username to beans which are not access to the request :

Re: Need help with CGI in a directory OTHER than WEB-INF

2008-02-21 Thread Mark Thomas
JohnSka7 wrote: We've gone ahead and followed all of the instructions to get Tomcat to recognize cgi and execute it, but the problem is that our main application isn't within the Tomcat\webapp\ROOT directory...it's in a directory called PowerSchoolPremiere\Data\custom\webapp\. Can anyone give

Re: Apache2 and tomcat5.5

2008-02-21 Thread elvberg
1. use some kind of redirection such as iptables and leave the tomcat mapping at 8080 How do I redirect? Shall I open the Apache2(httpd) service as well as start the Tomcat server? As it is now -I see the httpd welcome page when I browse http://87.227.4.194 with the httpd service running and

Re: Why Tomcat take about 15 minutes to start?

2008-02-21 Thread Neha Agrawal
Hello thanks for the inputs | i recompiled my APR 1.2.7 with /dev/urandom Exactly how did you do this? Are you sure you did it correctly? If you were recompiling, why not upgrade to the most recent version (1.2.12)? APR 1.2.7 package i downloaded and compiled it using

RE: Multiple Hosts all using the same web application instance

2008-02-21 Thread Matt Doller
-Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, February 21, 2008 1:49 PM To: Tomcat Users List Subject: RE: Multiple Hosts all using the same web application instance Do you want to share the .war files across the multiple hosts, or do you

Re: realm login and user session are not the same

2008-02-21 Thread Pierrick Terrettaz
Caldarale, Charles R a écrit : From: Pierrick Terrettaz [mailto:[EMAIL PROTECTED] Subject: Re: realm login and user session are not the same We are also using a ThreadLocal static reference in a class to store the request.getUserPrincipal() to give the current username to beans which are

RE: Multiple Hosts all using the same web application instance

2008-02-21 Thread Caldarale, Charles R
From: Matt Doller [mailto:[EMAIL PROTECTED] Subject: RE: Multiple Hosts all using the same web application instance Nothing is in the conf/Catalina directory for any of my sites, so I'm not sure how to go about the first option. You'd just create the needed subdirectories and files. I

Re: Java -Tomcat- compatability on linux and windows

2008-02-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raghuveer, Raghuveer wrote: | Is there any difference in compatibility of Java-Tomcat Versions with | Windows system and Linux? | | Tomcat 5.5.25 and j2sdk1.4.2_07 are working on windows. | | We get some problems with same versions on RedHat

Re: Why Tomcat take about 15 minutes to start?

2008-02-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neha, Neha Agrawal wrote: | Exactly how did you [build APR]? Are you sure you did it correctly? | If you were recompiling, why not upgrade to the most recent version | (1.2.12)? | | APR 1.2.7 package i downloaded and compiled it using | ./configure

Re: Sharing session across IE windows

2008-02-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam, Adam Lipscombe wrote: | In my app I spawn a new IE window with window.open(). I want the new | window to share the same session as the parent, because it needs to | access some session data. If you are using cookies to track session ids, this

Re: Why Tomcat take about 15 minutes to start?

2008-02-21 Thread Neha Agrawal
Hi! sorry , i checked, i did recompile APR with /dev/urandom earlier..it just missed out from my last eamil post..sorry about that.. Any reason not to use 1.2.12 instead of 1.2.7? No, but would it better if i use the latest version? Do you see java processes in a ps listing, or

Re: Why Tomcat take about 15 minutes to start?

2008-02-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neha, Neha Agrawal wrote: | sorry , i checked, i did recompile APR with | /dev/urandom earlier..it just missed out from my last | eamil post..sorry about that.. Okay. That doesn't explain why you were able to grep (successfully) for

NIO connector source code

2008-02-21 Thread neil davudo
Where can I find the source code for the NIO connector that uses the CometProcessor? TIA Neil -- View this message in context: http://www.nabble.com/NIO-connector-source-code-tp15621736p15621736.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: NIO connector source code

2008-02-21 Thread Mark Thomas
neil davudo wrote: Where can I find the source code for the NIO connector that uses the CometProcessor? http://tomcat.apache.org Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: Why Tomcat take about 15 minutes to start?--Solved

2008-02-21 Thread Neha Agrawal
Hello I installed APR -1.2.12 and compiled it with /dev/urandom. and the problem is solved tomcat now restarts in less than 1 second... only testshm test of APR failed when i did make test.. Hope it will not result in any future problem... thanks chris for your inputs throughout... Neha

Re: Why Tomcat take about 15 minutes to start?

2008-02-21 Thread Markus Schönhaber
Christopher Schultz wrote: [several jsvc processes] No java processes? I'm not entirely sure how jsvc works... I had assumed it did an exec, which should change the process name. Do you see java processes in a ps listing, or only jsvc? I'm wondering if jsvc uses /dev/urandom for something

NIO Java or TC - What are u using it 4?

2008-02-21 Thread Johnny Kewl
Cant contain my curiousity anymore? What practical applications is this been used for? I see theres a lot of control over the socket etc... but what are you guys actually doing with it? Trying to get rule of thumb for when one would move to it?

Re: Why Tomcat take about 15 minutes to start?--Solved

2008-02-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neha, Neha Agrawal wrote: | I installed APR -1.2.12 and compiled it with | /dev/urandom. | and the problem is solved | tomcat now restarts in less than 1 second... Now, look back at my original post. We could have saved a lot of time, here.

RE: Configuring Default ROOT Context

2008-02-21 Thread osubb
Thanks for the help. I was just going to use the Default context for development. But I can do it the correct way. osubb Caldarale, Charles R wrote: From: osubb [mailto:[EMAIL PROTECTED] Subject: RE: Configuring Default ROOT Context I uncommented the invoke servlet sections in

RE: Configuring Default ROOT Context

2008-02-21 Thread Caldarale, Charles R
From: osubb [mailto:[EMAIL PROTECTED] Subject: RE: Configuring Default ROOT Context I was just going to use the Default context for development. The conf/context.xml file is *not* the default context. Instead, that file specifies a set of default attributes to be applied to *all*