acegi+spring+jsf

2010-08-04 Thread vinay basavanal
hi, i downloaded an application from java world which has jsf and spring and myfaces but when i deploy application on tomcat i get this http://www.javaworld.com/javaworld/jw-04-2008/jw-04-acegi-jsf.html Aug 4, 2010 12:32:48 PM org.apache.catalina.core.ApplicationContext log INFO: Closing

Re: few slow requests

2010-08-04 Thread Peter Buning
Hi Chris, Am 03.08.2010 22:08, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 8/3/2010 10:55 AM, Peter Buning wrote: we tested our tomcat 5.5 server (Debian system) with the apache benchmark tool. We send requests for a small png-file (300 bytes).

An error occured while initializing MyFaces: null

2010-08-04 Thread vinay basavanal
Hi, I have application where in i am using myfaces 2.0 and deploying it in tomcat 6 and am get the following exception java.lang.NullPointerException at org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:62) at

Re: few slow requests

2010-08-04 Thread Peter Buning
Thanks for your reply! Keep alive is disabled. The slower response times are seldom, nearly 0,1 % of all the requests. The tests were done with a concurrency of 1. I think, as Chris replied, it 's another process of the OS. the server.xml: Server port=8005 shutdown=SHUTDOWN Listener

Re: Is it possible to set up an alias to a directory?

2010-08-04 Thread Andrew Knight
On 31/07/2010 04:36, Andrew Knight wrote: Hi, I've got a general configuration question for Tomcat 6. I've read the documentation and done a bit of searching but could not find a solution. I'm looking to set up the following: International site: widgets.com Local sites like:

Re: tomcat 7.0 embedded usage

2010-08-04 Thread David Calavera
Hi, I don't know if that's your problem but I use the method server.await to allow the server to wait. On Mon, Aug 2, 2010 at 2:32 PM, Marzia Forli marzia.fo...@yahoo.com wrote: Can somebody please help me to setup a hello world example of embedded usage of tomcat 7 with servlet 3.0

Access XML file inside the Java File

2010-08-04 Thread Chandana Napagoda
Hi All, I have Domain class it need to read file and need to return File object. When I'm getting my file object. My domain class always try to access in Bin (D:\Share\apache-tomcat-6.0.20\bin\connections.xml) It it possible to access read file inside the War file? Thanks, Chandana

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Mark Thomas
On 04/08/2010 10:49, B. Balakrishna Rao wrote: Hi, We are using Tomcathttp://www.coderanch.com/forums/f-56/Tomcat 6.0.18 on Linux environment(Red hat Linux) for our production. We have enabled SSL by deploying SSL certificates. We observed that, over a period of time, the memory

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Mark Thomas
On 04/08/2010 11:54, B. Balakrishna Rao wrote: Hi Mark, Thanks for your reply. I tried reading the change log. It appears that in Tomcat 6.0.20 there is a fix related to memory leak using SSL. What I am thinking is that if this is the issue with the Tomcat 6.0.18 or an issue with my

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
Hi Mark, I am trying to apply the patch that is available for the fix below: https://issues.apache.org/bugzilla/show_bug.cgi?id=47744#c2 However, after giving the below command, putty simply hangs. patch sslsession-memory-fix.patch I am using Red hat Linux with Apache Tomcat 6.0.18. Another

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Mark Thomas
On 04/08/2010 13:40, B. Balakrishna Rao wrote: Hi Mark, I am trying to apply the patch that is available for the fix below: https://issues.apache.org/bugzilla/show_bug.cgi?id=47744#c2 Why? What makes you think that is the problem you are seeing? However, after giving the below command,

RE: Tomcat 6 does not respond or freeze after startup

2010-08-04 Thread Caldarale, Charles R
From: T. Gau [mailto:t...@normad.de] Subject: Re: Tomcat 6 does not respond or freeze after startup my Windows Firewall is 'Inactive'. Instead I'm using the Ashampoo Firewall FREE. But I could not connect to Tomcat via telnet even if I stop this firewall, too. With Tomcat running, what

Re: few slow requests

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 8/4/2010 3:33 AM, Peter Buning wrote: Hi Chris, Am 03.08.2010 22:08, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 8/3/2010 10:55 AM, Peter Buning wrote: we tested our tomcat 5.5 server

RE: Access XML file inside the Java File

2010-08-04 Thread Caldarale, Charles R
From: Chandana Napagoda [mailto:cnapag...@gmail.com] Subject: Access XML file inside the Java File I have Domain class it need to read file and need to return File object. Bad design. When running inside an app server, there's no guarantee that you have any access to the underlying file

[BSF,Tomcat] ad JSR-223 taglib for Tomcat ... (Re: Question ad alternative of BSF taglib in Tomcat ? [Fwd: In the move of some taglibs to Tomcat, the BSF taglib got retired]

2010-08-04 Thread Rony G. Flatscher (Apache)
Resending attempt. Hi Henri, relating to our conversation of last fall, I just wanted to point out that Mr. Ryabenkiy posts of today (copied at the end to inform the BSF-community) fulfills the idea of creating a jsr-223 taglib for Tomcat. He applies the Apache

Re: Access XML file inside the Java File

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chandra, On 8/4/2010 6:28 AM, Chandana Napagoda wrote: I have Domain class it need to read file and need to return File object. When I'm getting my file object. My domain class always try to access in Bin

Re: Tomcat 6 does not respond or freeze after startup

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 T., On 8/3/2010 5:46 PM, T. Gau wrote: @IPv6: As fas as I know, I'm not running IPv6. IPconfig doesn't show any IPv6 specific. Sure? From your own log file: INFO: Loaded APR based Apache Tomcat Native library 1.1.20. 03.08.2010 21:33:41

Re: Rewrite URLs inside HTML pages?

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 8/3/2010 2:45 AM, Leon Kolchinsky wrote: Thanks for your help Rainer/Felix, I've tested several options including mod_substitute and mod_sed and it seems that mod_substitute is a way to go. Yuk: why go through the kludge of re-writing

Re: Issues with org.apache.catalina.connector.Request

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yogeshwar, On 8/2/2010 10:23 AM, Yogeshwar Srikrishnan wrote: I Keep getting this exception once in a while.The code line shows Object listeners[] = context.getApplicationEventListeners(); The version of apache that we use 5.5.23.

RE: Tomcat 6 does not respond or freeze after startup

2010-08-04 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat 6 does not respond or freeze after startup As fas as I know, I'm not running IPv6. IPconfig doesn't show any IPv6 specific. Sure? From your own log file: INFO: APR capabilities: IPv6 [true], sendfile

Re: Caching of static content

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 8/2/2010 2:06 PM, john.rana...@thomsonreuters.com wrote: Can someone point me to the documentation on how to handle caching of static content? Images and static HTML documents are all being returned without cach-control response headers

Re: Tomcat 6 does not respond or freeze after startup

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 8/4/2010 10:01 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat 6 does not respond or freeze after startup As fas as I know, I'm not running IPv6. IPconfig doesn't show

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
Hi Mark, I have implemented your suggestion. I have deployed my application in Tomcat 6.0.29 version under the same environment as Tomcat 6.0.18(test environment). After performing the similar operations on both tomcat versions one after another, I have taken the heap dumps from both versions.

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/4/2010 10:06 AM, B. Balakrishna Rao wrote: I have implemented your suggestion. I have deployed my application in Tomcat 6.0.29 version under the same environment as Tomcat 6.0.18(test environment). After performing the similar operations

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
Hi Chris, Please note that, the 2,996 count is on production environment. The counts 7 and 10 are on my local environment. Below is the procedure I am following on my local environment to test this: Log in - do some operations - log out. I am calling session.invalidate() method upon log out.

Re: Is it possible to set up an alias to a directory?

2010-08-04 Thread Hassan Schroeder
On Wed, Aug 4, 2010 at 1:39 AM, Andrew Knight and...@leftfieldpublishing.com wrote: I can see a couple of them working well. I've been testing the domestic sites as symlinks to a /cms directory, and displays the relevant content (virtual host or symlink directory). This way is just runs as

RE: Is the Apache ISAPI Redirector Chopping Off Cookie Data?

2010-08-04 Thread Richard G Curry
Mark, Thank you for your time on this. It is just as I suspected from the one message I found, which I suspect may have been from you. I have a follow-up question on this; making this switch in the cookie format will have a broad impact on our web apps that use the GetAccess product to

Re: Is it possible to set up an alias to a directory?

2010-08-04 Thread André Warnier
Hassan Schroeder wrote: On Wed, Aug 4, 2010 at 1:39 AM, Andrew Knight and...@leftfieldpublishing.com wrote: I can see a couple of them working well. I've been testing the domestic sites as symlinks to a /cms directory, and displays the relevant content (virtual host or symlink directory).

Re: Is the Apache ISAPI Redirector Chopping Off Cookie Data?

2010-08-04 Thread Mark Thomas
On 04/08/2010 15:31, Richard G Curry wrote: I have a follow-up question on this; making this switch in the cookie format will have a broad impact on our web apps that use the GetAccess product to generate this cookie format as it is now. In the note I referenced, it stated that The value

Re: Is it possible to set up an alias to a directory?

2010-08-04 Thread Mark Thomas
On 04/08/2010 15:32, André Warnier wrote: Hassan Schroeder wrote: On Wed, Aug 4, 2010 at 1:39 AM, Andrew Knight and...@leftfieldpublishing.com wrote: I can see a couple of them working well. I've been testing the domestic sites as symlinks to a /cms directory, and displays the relevant

Re: Is it possible to set up an alias to a directory?

2010-08-04 Thread Hassan Schroeder
On Wed, Aug 4, 2010 at 7:32 AM, André Warnier a...@ice-sa.com wrote: Just keep in mind that undeploying a WAR *may* also remove the contents of any directories symlinked from the expanded WAR  :-) (yes, that's the voice of experience...) Was that not fixed/changed/made optional in some

Mike Wilde is out of the office

2010-08-04 Thread Michael Wilde
I will be out of the office starting 04/08/2010 and will not return until 06/08/2010. If you have any urgent production Healthcare issues please contact Iain B Miller, Tam Kyle or George Rae. If urgent please raise an incident in the TST DBAMR USD queue.

Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-04 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
I am trying to get Tomcat and IIS configured on my secure web server (SSL) so that I can access my deployed web application via https and NOT over http. Connection to non-SSL works, but I cannot have that connection due to security. I want to run Tomcat through IIS, and I have configured it using

Re: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 B., On 8/4/2010 10:19 AM, B. Balakrishna Rao wrote: Please note that, the 2,996 count is on production environment. The counts 7 and 10 are on my local environment. Ok. Below is the procedure I am following on my local environment to test this:

Re: Mike Wilde is out of the office

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, You sure seem to be out of the office a lot. Are they paying you well over there? Also, it seems you have returned (today is 2010-08-04, at least in Washington, DC): you should either disable your out-of-office reminder or update the dates ;)

Re: [OT] Mike Wilde is out of the office

2010-08-04 Thread Bob Hall
--- On Wed, 8/4/10 at 9:48 AM, Christopher Schultz ch...@christopherschultz.net wrote: Mike, You sure seem to be out of the office a lot. Are they paying you well over there? Also, it seems you have returned (today is 2010-08-04, at least in Washington, DC): you should either

RE: Mike Wilde is out of the office

2010-08-04 Thread Martin Gainty
a couple of days is nothing to worry about Anna Chapman was subscribed to a email support list for an Apache build project (think yiddish for acculumator of knowledge) her autoresponder sent Anna is Out of Office messages to everyone on the that email list for Anna from June 29 until July 10

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-04 Thread Rainer Jung
On 04.08.2010 18:07, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: I am trying to get Tomcat and IIS configured on my secure web server (SSL) so that I can access my deployed web application via https and NOT over http. Connection to non-SSL works, but I cannot have that connection

Re: few slow requests

2010-08-04 Thread Peter Buning
Thanks again! Am 04.08.2010 15:38, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 8/4/2010 3:33 AM, Peter Buning wrote: Hi Chris, Am 03.08.2010 22:08, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On

Re: [OT] Mike Wilde is out of the office

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob, On 8/4/2010 1:08 PM, Bob Hall wrote: Or he's using DD/MM/. In any case, he should configure his out-of-office reminder to *not* be sent to user lists... D'oh. I hadn't even thought of that. One reason why I always try to use -mm-dd.

Re: UTF-8 encoding in Tomcat 6.0

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erik, On 7/30/2010 1:55 PM, Erik Bunn wrote: 7.x Connector has the exact same options. I'll restate, though, that setting the Connector URIEncoding in TC7.x won't currently help when decoding GET parameters in a no-content-type case - without the

RE: [OT] java.security.NoSuchAlgorithmException: No implementation for AES/CBC/NoPad

2010-08-04 Thread Kuga
Hi, Thanks for the response, I am trying to do that, however, am unable to install the JRE, getting the following error: I am having Linux FC(Fedora) 12 - 64 bit system. I am trying to install JRE 1.6.0_17, and get the following error when trying to install ( jre-6u17-linux-x64.bin). Do you

RE: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-04 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
Jung, I'm still getting the errors. Connector port=8080 protocol=Java HTTP What protocol should I use here (do not want to expose) connectionTimeout=2 redirectPort=80 / Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true -Does this

Re: FW: Mascot Server update now available

2010-08-04 Thread Mark Shifman
I just installed the new patch for Mascot. and mascot is running. mas On 08/02/2010 06:57 PM, Kathryn Stone wrote: Hi guys- Can you do the update on the Linux? Thanks Kathy MS Proteomics Resource W.M. Keck Biotechnology Resource Laboratory Rm G001 300 George

Re: FW: Mascot Server update now available Disregard this message

2010-08-04 Thread Mark Shifman
Mea culpa, Mea Culpa mas On 08/04/2010 03:26 PM, Mark Shifman wrote: I just installed the new patch for Mascot. and mascot is running. ... - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

RE: Caching of static content

2010-08-04 Thread john.ranaudo
Uh..thanks..it was not a good day when I asked this question. My apologies :) -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, August 04, 2010 10:03 AM To: Tomcat Users List Subject: Re: Caching of static content -BEGIN PGP SIGNED

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-04 Thread Rainer Jung
On 04.08.2010 20:58, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: Jung, I'm still getting the errors. Why shouldn't you? Did you actually read my post? Which parts didn't you understand? Connector port=8080 protocol=Java HTTP What protocol should I use here (do not want to

RE: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-04 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
I did read your post and I changed the Port Number. Connector port=8009 protocol=AJP/1.3 redirectPort=8443 / This connector should be used depending on your redirector config which we haven't seen yet Here is my workers.properties: worker.list=worker1 worker.worker1.type=ajp13

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-04 Thread Rainer Jung
On 04.08.2010 21:50, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: I did read your post and I changed the Port Number. Connector port=8009 protocol=AJP/1.3 redirectPort=8443 / This connector should be used depending on your redirector config which we haven't seen yet Here is my

RE: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-04 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
Rainer, Do you have a suggestion? Do I need to change my worker.properties? Sorry, I'm new to Tomcat, I appreciate your help. -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, August 04, 2010 4:09 PM To: Tomcat Users List Subject: Re: Tomcat 6.0.18/

Re: Tomcat 6 does not respond or freeze after startup

2010-08-04 Thread T. Gau
Hello, I have executed 'netstat -anopb tcp' with the following result: TCP0.0.0.0:8009 0.0.0.0:0 LISTENING 3436[java.exe] TCP0.0.0.0:8080 0.0.0.0:0 LISTENING 3436[java.exe] TCP127.0.0.1:8005 0.0.0.0:0

Re: Tomcat 6 does not respond or freeze after startup

2010-08-04 Thread T. Gau
Hello, I assumed that I'm not running IPv6 because ipconfig didn't show an IPv6 address. Any ideas how to play safe? Kind regards, T. Gau Christopher Schultz schrieb am 04.08.2010 15:54: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 T., On 8/3/2010 5:46 PM, T. Gau wrote: @IPv6: As

Re: Tomcat 6 does not respond or freeze after startup

2010-08-04 Thread André Warnier
Hi T. T. Gau wrote: Hello, I have executed 'netstat -anopb tcp' with the following result: TCP0.0.0.0:8009 0.0.0.0:0 LISTENING 3436[java.exe] TCP0.0.0.0:8080 0.0.0.0:0 LISTENING 3436[java.exe] TCP127.0.0.1:8005

RE: Tomcat 6 does not respond or freeze after startup

2010-08-04 Thread Caldarale, Charles R
From: T. Gau [mailto:t...@normad.de] Subject: Re: Tomcat 6 does not respond or freeze after startup I assumed that I'm not running IPv6 because ipconfig didn't show an IPv6 address. Any ideas how to play safe? Look at the properties of each Network Connection and see if the Microsoft

Re: Tomcat 6 does not respond or freeze after startup

2010-08-04 Thread T. Gau
Hello, the CLOSE_WAIT connections are persistent (waiting 10+min now). The FIN_WAIT counterparts from the browser disapear after some time. As a reminder: The Tomcat installation is untouched. No configuration and no deployed applications besides these allready packaged with Tomcat. Kind

Re: Tomcat 6 does not respond or freeze after startup

2010-08-04 Thread T. Gau
Check: No IPv6. Kind regards. Caldarale, Charles R schrieb am 04.08.2010 23:23: From: T. Gau [mailto:t...@normad.de] Subject: Re: Tomcat 6 does not respond or freeze after startup I assumed that I'm not running IPv6 because ipconfig didn't show an IPv6 address. Any ideas how to play safe?

Re: Tomcat 6 does not respond or freeze after startup

2010-08-04 Thread André Warnier
T. Gau wrote: Hello, the CLOSE_WAIT connections are persistent (waiting 10+min now). The FIN_WAIT counterparts from the browser disapear after some time. As a reminder: The Tomcat installation is untouched. No configuration and no deployed applications besides these allready packaged with

Re: Rewrite URLs inside HTML pages?

2010-08-04 Thread Leon Kolchinsky
Hi, Hmm. Interesting. Of course I'd like to make it work with simple configuration or/and with JkHTTPSIndicator. I'm just not clear on how to make this simple configuration. As I've said there is no SSL handling on the server side. All SSL request handled on the load balance level which in turn

Tomcat 6 64 bit and IIS 7 64 bit integration not working

2010-08-04 Thread Twinkle Chokshi
Hi All I'm having troubles integrating IIS 7 64bit with Tomcat 6 64bit on a Window 7 OS. I'm also using 64bit isap_redirect.dll. The tomcat logs have no info in regards to the IIS connection. The IIS server returns an HTTP 500.0 - Internal Server error. With the following detailed error

RE: Memory leak in using SSL with Tomcat 6.0.18

2010-08-04 Thread B. Balakrishna Rao
Hi Chris, Attached is the image for incoming references for com.sun.net.ssl.internal.ssl.SSLSocketImpl objects. Please let me know if you want any further details. Thanks, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, August 04,

Prioritizing incoming requests

2010-08-04 Thread B. Balakrishna Rao
Hi, I would like to know if we can prioritizing the incoming requests in Tomcat. Let's say, I have a report module and a cart module in my web application. I would like to give more priority to report module than the cart module as Report modules seems to take longer period of time. By doing