Re: JSSE question

2009-12-04 Thread Bill Barker
"Vadim Letitchevski" wrote in message news:e17da276f9a0c84fad22739de29c389005dafc3...@entmail01.tad.teledyne.com... >I am confused. Can Tomcat use only JKS keystore or it can also use pem or >some other certificate storages? > In the Tomcat docs (http://tomcat.apache.org/tomcat-6.0-doc/ssl-how

Control character in cookie value

2009-12-04 Thread itay sahar
Hi all, I'm using seam on tomcat 6.0.20 and encounter problem in my security module. Basically, i try to add cookie with base64 encoding of the username which is email address. The encoding works and no exception is thrown. But when seam try adding the cookie an exception is thrown: 05/12/2009 0

Re: Installing SSL connector for Tomcat on Linux/Debian

2009-12-04 Thread skim-gap
fyi, i finally figured out what i was doing wrong. When building the tomcat native connector i didn't include the '--with-ssl=yes' option ... see below the correct command configure command: # Build the Tomcat native connector. cd tomcat-native-*-src/jni/native JAVA_HOME="%{java_home}" ./configu

RE: Can service output be redirected to the terminal window?

2009-12-04 Thread Vadim Letitchevski
I am working under Linux actually. Thanks Vadim. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, December 04, 2009 3:46 PM To: Tomcat Users List Subject: Re: Can service output be redirected to the terminal window? Vadim Letitchevski wrote: > > I am n

Re: Can service output be redirected to the terminal window?

2009-12-04 Thread André Warnier
Vadim Letitchevski wrote: I am new to Tomcat. 1. I have several services written under axis2. I deployed them statically into Tomcat but don't seem to be able to list those services. 2. I have noticed that startup.bat (under Windows) starts the separate terminal for the service output in opp

JSSE question

2009-12-04 Thread Vadim Letitchevski
I am confused. Can Tomcat use only JKS keystore or it can also use pem or some other certificate storages? Thanks Vadim. (310)765-3812

Can service output be redirected to the terminal window?

2009-12-04 Thread Vadim Letitchevski
I am new to Tomcat. 1. I have several services written under axis2. I deployed them statically into Tomcat but don't seem to be able to list those services. 2. I have noticed that startup.bat (under Windows) starts the separate terminal for the service output in oppose to startup.sh (in Unix).

Re: how to change the url,username and password connection pooling

2009-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carsten, On 11/2/2009 12:05 PM, Carsten Pohl wrote: > I wrote a webapp, that is using tomcats connection pooling. I was > wondering how I can change URL / username or password of the > connection pool, without redeploying the webapp. > > I tried the

Re: Logging with Log4J

2009-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bart, On 12/4/2009 10:02 AM, Bart Vandewoestyne wrote: > I *do* however see log messages appearing in /var/log/syslog, but > that is not what i want. That's very weird: you have no configuration whatsoever that would lead me to believe that your weba

Re: Tomcat Crashes out of continuous servicing of stuck request

2009-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nishant, On 12/4/2009 4:29 AM, Hadole, Nishant IN BOM SISL wrote: > Tomcat continues processing request indefinitely, causing loss of > free heap memory and eventually crashes. When you say "crashes", what exactly to you mean? OOME? JVM failure? > W

Re: Installing SSL connector for Tomcat on Linux/Debian

2009-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniele, On 8/18/2009 2:01 PM, Daniele Development-ML wrote: > 18-Aug-2009 18:05:55 org.apache.catalina.core.AprLifecycleListener init > INFO: Loaded APR based Apache Tomcat Native library 1.1.16. > 18-Aug-2009 18:05:55 org.apache.catalina.core.AprLif

Re: Debugging tomcat<->apache(mod_jk) bridge

2009-12-04 Thread groupalias v
I too saw that mod_jk thinks it is talking to tomcat. But I do not see any logs in tomcat to indicate that. Also with the same parameters mod_proxy_ajp is able to fetch my page. Could be some nasty machine specific thing. On Fri, Dec 4, 2009 at 12:45 AM, Rainer Jung wrote: > On 04.12.2009 09:31,

Re: Installing SSL connector for Tomcat on Linux/Debian

2009-12-04 Thread skim-gap
hi, I've been running into almost the same issue you've described here. just wondering if you've discovered a solution. I tried to upgrade to the latest version of tomcat-native-1.1.18 src, but that didn't help. any insights would be appreciated! in my context...i'm converting from redhat sup

Re: [/jakarta/isapi_redirect.dll] is not a servlet url

2009-12-04 Thread André Warnier
magillagorilla wrote: ... [Fri Dec 04 12:56:25 2009] [0160:3124] [debug] HttpExtensionProc::jk_isapi_plugin.c (1084): could not get a worker for name ajp13 [Fri Dec 04 12:56:25 2009] [0160:3124] [error] HttpExtensionProc::jk_isapi_plugin.c (1109): could not get a worker for name ajp13 ... I do

Re: server.xml formatting guide

2009-12-04 Thread André Warnier
gerhardus.geldenh...@gta-travel.com wrote: Hi Just wondering if there is any standard or recommendation for the formatting of server.xml config file for tomcat. You know, there are some XML editors which really are nice, and they allow you to choose the fonts and colors for each type of syntact

[/jakarta/isapi_redirect.dll] is not a servlet url

2009-12-04 Thread magillagorilla
Hello all, This is my first post here. I hope someone can help. I've been searching high and low for days to resolve a problem I am having with the jakarta redirector. My JAVA application is BMC Remedy MidTier I am running: IIS 6 Tomcat 5.5.26 Jakarta isapi_redirect.dll v1.2.28 Win 2K3 SP2

server.xml formatting guide

2009-12-04 Thread Gerhardus.Geldenhuis
Hi Just wondering if there is any standard or recommendation for the formatting of server.xml config file for tomcat. Configuring properties for mysql jdbc driver is a good case in point: useUsageAdvisor true

Re: tomcat not accepting requests

2009-12-04 Thread Rodrigo Asensio
nop, but I will read about these tools and use them next time. do you have idea what it can be ? is really weird. Is not heavy load, because I saw it die 11pm with 1 session opened at the server. Rodrigo Asensio rasen...@gmail.com http://www.rodrigoasensio.com "To err is human, but to really scr

Re: tomcat not accepting requests

2009-12-04 Thread Pid
On 04/12/2009 17:12, Rodrigo Asensio wrote: you mean something like Thread.dumpStack() ? not really. And I don't have any monitoring tool there. kill -3 or use the tools (jps,jmap,jstack etc) that come with your JDK. p Rodrigo Asensio rasen...@gmail.com http://www.rodrigoasensio.com "To

Re: tomcat not accepting requests

2009-12-04 Thread Rodrigo Asensio
you mean something like Thread.dumpStack() ? not really. And I don't have any monitoring tool there. Rodrigo Asensio rasen...@gmail.com http://www.rodrigoasensio.com "To err is human, but to really screw up requires the root password." On Fri, Dec 4, 2009 at 13:46, Pid wrote: > On 04/12/2009

Re: Custom URL handlers in Tomcat web app

2009-12-04 Thread eugeny-a.smirnov
Hi I've resolved this issue in this way: URLStreamHandlerFactoryImpl.termspecProtocolHandler = handlerClass; try { for (final Field field : URL.class.getDeclaredFields()) { if ("factory".equalsIgnoreCase(field.getName()) ) { field.setAcce

Re: tomcat not accepting requests

2009-12-04 Thread Pid
On 04/12/2009 15:53, Rodrigo Asensio wrote: 1. Apache Tomcat/6.0.20 JVM 1.6.0_0-b16 Sun Microsystems Inc.Linux 2.6.31-302-rs amd64 2. seems permanently (its a production server, it has been up to 1 hour and we restarted the service) 3. error comes from a browser, just that, site site is

Re: Tomcat 5 vs 6 Context useNaming Behavior

2009-12-04 Thread Scott Dudley
Caldarale, Charles R wrote: From: Scott Dudley [mailto:sc...@telesoft.com] Subject: Tomcat 5 vs 6 Context useNaming Behavior We have a legacy application that's been running on the 5.5.X versions for several years. Under what JVM? And platform? I've tested under both

Re: TLS only

2009-12-04 Thread Mark Thomas
mark smith wrote: > Hi All, > > I have a requirement to configure tomcat to make use of TLS only for all the > secure communication from browser. SSLProtocol="TLS" in Connector tag in > server.xml supports both SSLv3 and TLSv1. > > Please help to disable SSLv3 and have only TLSv1 enabled. Use th

Re: tomcat not accepting requests

2009-12-04 Thread Rodrigo Asensio
1. Apache Tomcat/6.0.20 JVM 1.6.0_0-b16 Sun Microsystems Inc.Linux 2.6.31-302-rs amd64 2. seems permanently (its a production server, it has been up to 1 hour and we restarted the service) 3. error comes from a browser, just that, site site is just offline 4. 100% ubuntu package On Fri

Re: tomcat not accepting requests

2009-12-04 Thread Pid
On 04/12/2009 15:42, Rodrigo Asensio wrote: Hello, my config Ubuntu 9.10 Server AMD 64 RAM 512 Tomcat 6 running with native libraries and XMX=400M Sub version Tomcat 6.0.?? Maybe once a day, or each 2 days tomcat stops handling requests. Permanently, or temporarily? Error 101 (net::ERR_

tomcat not accepting requests

2009-12-04 Thread Rodrigo Asensio
Hello, my config Ubuntu 9.10 Server AMD 64 RAM 512 Tomcat 6 running with native libraries and XMX=400M Maybe once a day, or each 2 days tomcat stops handling requests. Error 101 (net::ERR_CONNECTION_RESET): Unknown error at the browser. 1. Service is UP 2. telnet to 80 port works OK 3. netstat

RE: Logging with Log4J

2009-12-04 Thread Jeffrey Janner
Change your first line from "DEBUG, cons" to "DEBUG, myAppender" -Original Message- From: Bart Vandewoestyne [mailto:bart.vandewoest...@telenet.be] Sent: Friday, December 04, 2009 9:03 AM To: users@tomcat.apache.org Subject: Logging with Log4J Hello list, Up until now, I have used simpl

Logging with Log4J

2009-12-04 Thread Bart Vandewoestyne
Hello list, Up until now, I have used simple System.out.println() statements to do the logging of my web applications, but I want to start using a more advanced system with more possibilities. Log4J seemed like a good choice. The most important thing for me is that the log messages are written n

Re: Tomcat Crashes out of continuous servicing of stuck request

2009-12-04 Thread Rainer Jung
On 04.12.2009 11:41, Looijmans, Mike wrote: ... Without trying to send something back to the client, there is no way telling the client closed the window (or pressed reload or switched to another URL). I would expect the socket to be closed, which can be detected at the server side. The excep

RE: Tomcat Crashes out of continuous servicing of stuck request

2009-12-04 Thread Looijmans, Mike
Just an idea: What happens if you change your DB call into a "Sleep(30)" or something similar? Does tomcat still misbehave then? (the 'retry' could be related to something else than tomcat). M > -Original Message- > From: Hadole, Nishant IN BOM SISL [mailto:nishant.had...@siemens.com] >

RE: Tomcat Crashes out of continuous servicing of stuck request

2009-12-04 Thread Looijmans, Mike
... > Without trying to send something back to the client, there is > no way telling the client closed the window (or pressed > reload or switched to another URL). I would expect the socket to be closed, which can be detected at the server side. The exceptions I can think of are the client cra

Re: Authentication without Authorization ( JNDI Realm )

2009-12-04 Thread Shashank Rachamalla
Hi The following is the Realm configuration being used: ldap://ldapprime.pesgrid.wipro.com:389"; userBase="dc=wipro,dc=com" userSubtree="true" userSearch="(mail={0})" roleBase="dc=wipro,dc=com" roleSubtree="true" roleName="objectClass" ro

RE: Tomcat Crashes out of continuous servicing of stuck request

2009-12-04 Thread Hadole, Nishant IN BOM SISL
Dear Rainer, Thanks for explanation. In this particular case, when client press a button on JSP, it initiates a Database search operation, which may take time up to 30-45 seconds. Meanwhile, we are showing a screen which tell user that his / her request is being processed and no to close the wi

Re: Tomcat Crashes out of continuous servicing of stuck request

2009-12-04 Thread Rainer Jung
On 04.12.2009 10:29, Hadole, Nishant IN BOM SISL wrote: I am using Apache HTTP Server 2.0.61, Apache Tomcat Server 6.0.14.0 and mod_jk 2.0.46 (AJP V 1.3). mod_jk 2.0.46 does not exist. Scenario - Client call for heavy Post request from JSP. Tomcat receives the request and starts processing.

Tomcat Crashes out of continuous servicing of stuck request

2009-12-04 Thread Hadole, Nishant IN BOM SISL
I am using Apache HTTP Server 2.0.61, Apache Tomcat Server 6.0.14.0 and mod_jk 2.0.46 (AJP V 1.3). Scenario - Client call for heavy Post request from JSP. Tomcat receives the request and starts processing. Before receiving the response, client closes JSP window. Thus there is no one to receive

Re: Debugging tomcat<->apache(mod_jk) bridge

2009-12-04 Thread Rainer Jung
On 04.12.2009 09:31, groupalias v wrote: Also as I promised here is the mod_jk.log after running it in debug mode ( please note that I am not looking for an answer but would still be looking to figure out what's happening with mod_jk) -- Skipping init messages ... [Tue Dec 01 14:13:01 2009]

Re: Debugging tomcat<->apache(mod_jk) bridge

2009-12-04 Thread groupalias v
I got busy at work and could not get back with information. Chris, The inconsistencies you have pointed out are my mistake in the email trying to clean up the URLs to shorten the strings and to remove machine specific identifying information. The config files are consistent and I still get the er