RE: Keytool: SSL Certification Issue

2007-10-29 Thread renu-kumar_setty
Thanks for your response. I tried configuration you suggested but didn't see any difference in the output. Just to add to the original problem statement, I don't see any issue when using "CN=localhost" in the Certificate generation. While I see the below mentioned issues when I use "CN=". Re

Re: [tomcat]How to decrypt the DIGEST authentication?

2007-10-29 Thread Lucas Galfaso
Hi, Digest authentication involves multiple MD5s including the username, password, url, realm, random data... Believe me when I tell you that there is no way that you will get the password from the digest (in fact, it was designed this way so this is not feasible.) For your original question,

Re: PKCS#12 type SSL certificate support in Tomcat

2007-10-29 Thread Lucas Galfaso
HI Hitesh, I think you are suppose to add your pkcs12 key to a keystore repository (to the default alias name "tomcat", of course, this can be also changed) and then reference this keystore repository from within Tomcat. Regards, lg On Oct 30, 2007 3:39 AM, Hitesh Raghav <[EMAIL PROTECTED]>

Re: Exception in thread "HttpProcessor[8080][2]" java.lang.NullPointerException

2007-10-29 Thread Janeve George
Konstantin / Chris, In reply to Chris' question, the server is deployed as a service layer that exposes web services. Only SOAP requests are processed in the server. There are also few JSP files which are used by Nagios to monitor these servers. After having a look at the bug description that

RE: PKCS#12 type SSL certificate support in Tomcat

2007-10-29 Thread Hitesh Raghav
Hi Lucas, I'm using following configuration: Please let me know in case any other details are needed. Thanks, -Hitesh -Original Message- From: Lucas Galfaso [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 7:39 PM To: Tomcat Users List Subject: Re: PK

RE: Tracking Authentication rejects in Tomcat 5.5

2007-10-29 Thread Scott Smith
I found this tonight. It looks promising. http://sourceforge.net/projects/lockout-realm It appears he has the HttpServletRequest object available and that means you can do a getRemoteAddr(). So, I haven't played with it, but... Scott From: Kevin Jackson

RE: Keytool: SSL Certification Issue

2007-10-29 Thread zhongliang zhang
Maybe you should try the following fragment: By default the truststorePass of cacerts is changeit,while the keystorepass is customized by yourself. Also,you need to configure some external info in the web.xml of Tomcat or your own application I think. like app /pages/* app

Keytool: SSL Certification Issue

2007-10-29 Thread renu-kumar_setty
Hi, I am facing SSL certificate issue in my Tomcat Environment. I have created local SSL Server certificate to be authenticated by the certificate imported from Thawte Certificate Authority. With the following Connector entry in server.xml, I am seeing the following error repea

Re: mod_jk for OS X PPC

2007-10-29 Thread Peter Rossbach
Hi, I have build my own mod_jk 1.2.25 module at Leopard: Install current Mac Ports sudo port install autoconf sudo port install apr sudo port install apr-util # use gnu libtool ln -s /opt/local/bin/glibtool /opt/local/bin/libtool ln -s /opt/local/bin/glibtoolize /opt/local/bin/libtoolize down

[tomcat]How to decrypt the DIGEST authentication?

2007-10-29 Thread zhongliang zhang
Hi,everyone, I got a problem with the DIGEST authentication. I configured my web.xml as followed: app /* poweruser

Re: Tracking Authentication rejects in Tomcat 5.5

2007-10-29 Thread Kevin Jackson
Hi, > Does anyone have a suggestion? Does the general approach seem > reasonable? We have similar requirements, but at the moment we are using a subclass of JDBCRealm, here is our authenticate method: @Override public Principal authenticate(Connection connection, String userName, String

Re: jkMount

2007-10-29 Thread Ingo Krabbe
Am Montag, 29. Oktober 2007 23:33:16 schrieb Christopher Schultz: > Dale, > > BuildSmart wrote: > >> As for only working on localhost, you need to check the rest of your > >> Apache httpd and Tomcat configurations: you probably don't have the > >> right virtual host config on either httpd or Tomcat

Re: jkMount

2007-10-29 Thread BuildSmart
On Oct 29, 2007, at 18:33:16, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dale, BuildSmart wrote: As for only working on localhost, you need to check the rest of your Apache httpd and Tomcat configurations: you probably don't have the right virtual host config on

Tracking Authentication rejects in Tomcat 5.5

2007-10-29 Thread Scott Smith
I'm using Tomcat 5.5 and using dataSourceRealm to do authentication. I need to track bad logins. In particular, I want to track any logins where the password is wrong. I also want to track the remote server's IP address that provides a bad login. It appears that I can track bad logins by cre

Re: Fix to Tomcat Jasper slow .tag compilation problem.

2007-10-29 Thread Peng Tuck Kwok
On 10/30/07, Berglas, Anthony <[EMAIL PROTECTED]> wrote: > > Precompiling would not help. > > 1. Precompiling JSPs with .tag files is broken in Jasper, if tags call > other tags. > > 2. If it were fixed I would imagine that it would still recompile each > tag over and over again. A precompile of a

Re: Fix to Tomcat Jasper slow .tag compilation problem.

2007-10-29 Thread Mark Thomas
Berglas, Anthony wrote: > My enthusiasm for addressing these issues is dependent on the community > being able to incorporate my fixes into the core. Otherwise I fork > Tomcat, not a good idea. > > My feeling is that my fix below will just be ignored. It might not get looked at straight away.

Re: Tomcat 6 clustering without mulicast

2007-10-29 Thread Filip Hanik - Dev Lists
ok, change address="auto" to address="localhost" to match your static members, and that should take care of your problem Filip SANCHEZ, Michel wrote: I'am not shure that i understand well. What i whould like to have is session replication on a two members cluster with unicast heartbeat. Wit

Re: Tomcat 6 clustering without mulicast

2007-10-29 Thread Filip Hanik - Dev Lists
ok, let me take a look, I will get back to you tomorrow or Wed Filip SANCHEZ, Michel wrote: I'am not shure that i understand well. What i whould like to have is session replication on a two members cluster with unicast heartbeat. With DisableMcastInterceptor i have no more multicast but no mo

HSE_REQ_SEND_RESPONSE_HEADER failed with error=00002746

2007-10-29 Thread neil.russell
I'm trying to get the iis/tomcat connector to work with IIS 6.0 on Windows Server 2003 Standard Edition (on vmware esx). I'm using the latest connector DLL (1.2.25) and am getting the following error message: HSE_REQ_SEND_RESPONSE_HEADER failed with error=2746 I have had no problems getting th

RE: Fix to Tomcat Jasper slow .tag compilation problem.

2007-10-29 Thread Berglas, Anthony
Precompiling would not help. 1. Precompiling JSPs with .tag files is broken in Jasper, if tags call other tags. 2. If it were fixed I would imagine that it would still recompile each tag over and over again. A precompile of a few dozen jsps would then take hours. The next issue to fix is the ve

Re: jkMount

2007-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dale, BuildSmart wrote: >> As for only working on localhost, you need to check the rest of your >> Apache httpd and Tomcat configurations: you probably don't have the >> right virtual host config on either httpd or Tomcat or both. My guess is >> "both

Re: Where is the POSTED data on login redirect?

2007-10-29 Thread Peter Coppens
Thanks again for the quick replies. It proved to be a getParameter in some logging code that messed up the subsequent read. Weird the problem only shows up with a 'savedrequest' and not with a normal request, but I guess the behaviour is to be expected. Peter -- View this message in context:

RE: IMP - Requests not reaching Tomcat Server

2007-10-29 Thread Mrinmoy Pal
Hello Chris, Siebel Team made some changes on their side, and we are able to see the "timed out error" on Siebel logs when Siebel is posting data to Tomcat. The flow is: Siebel post data to Servlet --> Servlet processes the data.. We observe that Siebel application waits for 2 minutes and then

Re: Tomcat 6 NIO consumes all CPU until restarted

2007-10-29 Thread Filip Hanik - Dev Lists
hi Peter, what I would do in your case is stick to APR. I believe JDK 1.5 has a nasty bug in the selector, causing the selector to constantly wake up for for a key, even though it's been cancelled. Unfortunately, there are only two work arounds, upgrade to 1.6 or close the selector (which is not

Re: mod_jk for OS X PPC

2007-10-29 Thread Richard Doust
uname -a : Darwin QuadG5.local 9.0.0 Darwin Kernel Version 9.0.0: Tue Oct 9 21:37:58 PDT 2007; root:xnu-1228~1/RELEASE_PPC Power Macintosh file /usr/libexec/apache2/mod_jk.so : /usr/libexec/apache2/mod_jk.so: Mach-O bundle ppc cc -v: Using built-in specs. Target: powerpc-apple-darwin9 Con

Re: jkMount

2007-10-29 Thread BuildSmart
On Oct 29, 2007, at 10:27:21, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BS, BuildSmart wrote: jkMount /* myworker <-- your example. It didn't work and only further proves that mod_jk lacks any real intelligence in functionality. You are not making any friend

Re: Tomcat 6 NIO consumes all CPU until restarted

2007-10-29 Thread Peter
Oh, I forgot to mention, switched back to APR connector for 8080 for the weekend and all was fine. Switched back to NIO this morning to gather these stats and in a few hours it was stuck at 100% CPU again, very little variance in traffic (low traffic site right now, about a constant 1mbit). --

Re: Tomcat 6 NIO consumes all CPU until restarted

2007-10-29 Thread Peter
Thanks Filip, oversight on my part, here we go: [EMAIL PROTECTED]:/logs/tomcat> ps -eL -o pid,%cpu,lwp | grep -i 4046 | grep -iv 0.0 4046 0.6 4047 4046 0.1 4052 4046 0.1 4053 4046 21.9 4078 4046 18.7 4108 4046 0.1 4109 "http-8080-Poller-0" daemon prio=1 tid=0x002ae2f860e0 nid

Re: mod_jk for OS X PPC

2007-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard, Richard Doust wrote: > In case that image doesn't get through, (and to make this text > searchable) it says: Thanks for posting the text: the image did not come through; mailing lists rarely accept non-text attachments (and sometimes not eve

RE: org.apache.commons.dbcp.DbcpException: java.sql.SQLException

2007-10-29 Thread Swapnil.Kale
The older product was written in a language called FORTE, which is not migrated to JAVA. Now it uses RMI and Spring on the middle tier to talk to Services and database. Oracle does have "no of processes" which can be set for database which id related to the performance of the Database server. One

Re: mod_jk for OS X PPC

2007-10-29 Thread Richard Doust
Rainer, Thanks for looking at my question. In case that image doesn't get through, (and to make this text searchable) it says: Cannot load /usr/libexec/apache2/mod_jk.so into server: dlopen(/usr/ libexec/apache2/mod_jk.so, 10): no suitable image found. Did find /usr/ libexec/apache2/mod_jk.

Re: mod_jk for OS X PPC

2007-10-29 Thread Rainer Jung
Sorry, I've no direct solution. If /usr/sbin/apxs belongs to your Apache 2.2.6, the way you are doing it seems right. What exactly is the error text, that you get from Apache during startup? Regards, Rainer Richard Doust wrote: Hi. I'm a developer of a JBoss/Tomcat app. I work on a Mac. I up

Tomcat instantiation of JAAS LoginModules

2007-10-29 Thread Andrew R Feller
Hello, While writing a custom JAAS module, I wanted to know how Tomcat instantiated these classes. Does Tomcat instantiate a custom JAAS module for each login request? When does an instantiation of a custom JAAS module get garbage collected? Thanks, Andrew R Feller, Analyst Subversio

Re: org.apache.commons.dbcp.DbcpException: java.sql.SQLException

2007-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Swapnil, Swapnil.Kale wrote: > I'm getting org.apache.commons.dbcp.DbcpException: java.sql.SQLException > Cannot get a connection, Connection pool exhausted. Sounds like you are running out of database connections. > The database has multiple schem

RE: org.apache.commons.dbcp.DbcpException: java.sql.SQLException

2007-10-29 Thread Propes, Barry L
I think Oracle does have a set "number of processes" it will allow to run. This is aside from no. of connections. Like the DB handler, that rotates the listeners Oracle uses. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Monday, October 29, 2007 3:24 PM To:

RE: org.apache.commons.dbcp.DbcpException: java.sql.SQLException

2007-10-29 Thread Propes, Barry L
can you ever connect with just a regular Oracle driver reference? As opposed to a conn. pool reference? -Original Message- From: Swapnil.Kale [mailto:[EMAIL PROTECTED] Sent: Monday, October 29, 2007 3:10 PM To: users@tomcat.apache.org Subject: Re: org.apache.commons.dbcp.DbcpException: ja

Re: org.apache.commons.dbcp.DbcpException: java.sql.SQLException

2007-10-29 Thread Swapnil.Kale
Hi, I couldnt get a better place to post my question. I'm getting org.apache.commons.dbcp.DbcpException: java.sql.SQLException Cannot get a connection, Connection pool exhausted. I'm using spring with Tomcat 6 to manage the Connection pooling. My application is a 3 tier application (Swing + Tomc

Re: Creating files dynamically and antiJarLocking

2007-10-29 Thread Hassan Schroeder
On 10/29/07, Konstantin Kolinko <[EMAIL PROTECTED]> wrote: > Jsps are recompiled when modified, and are compiled on the first > access. Thus I do not see why they cannot appear randomly. Absolutely. In my dev environment I'm constantly dropping new JSPs in, and they show up fine. If that weren't

Re: Creating files dynamically and antiJarLocking

2007-10-29 Thread Konstantin Kolinko
> This is likely because Tomcat expects all the resources for a web app to > be available at deployment time, rather than randomly appearing during > the life of the deployed webapp. Jsps are recompiled when modified, and are compiled on the first access. Thus I do not see why they cannot appear r

Re: Installing Tomcat on Windows Server 2003 x64

2007-10-29 Thread Swapnil.Kale
I dont know if you are still looking for the answer! If yes, i had the same problem and here is the thread for the same. I got it running smoothly now. http://www.nabble.com/Advice-about-Tomcat-on-x86_64-architecture..-tf4048957.html#a13279694 Regards, Swapnil Adrian Bell wrote: > > Hi, >

Re: Problem installing tomcat 6

2007-10-29 Thread Mark Thomas
sunil chandran wrote: > Hi all, > > I have installed Tomcat 6 . but when i start the tomcat it gives the > following error: > > Exception in thread "main" java.lang.UnsupportedClassVersionError: > org/apache/catalina/startup/Bootstrap (Unsupported major.minor version 49.0) Install JDK 5.0+ Mar

Re: What's up with admin application for Tomcat 6?

2007-10-29 Thread Mark Thomas
Grzegorz Borkowski wrote: > So what's wrong with Admin app? Is it going to be released or not? Very > sad if not, it was quite useful piece of software. Anyway, almost any > server has some admin console like this. No plans to release if for 6.0.x as no-one has been supporting it for a while. Alte

mod_jk for OS X PPC

2007-10-29 Thread Richard Doust
Hi. I'm a developer of a JBoss/Tomcat app. I work on a Mac. I upgraded my Mac's OS on Saturday to OS X 10.5 (Leopard). Prior to the upgrade I was using the version of Apache that came with 10.4, which I think was 1.3. Apple is shipping 2.2.6 with 10.5. They don't include the mod_jk module

Problem installing tomcat 6

2007-10-29 Thread sunil chandran
Hi all, I have installed Tomcat 6 . but when i start the tomcat it gives the following error: Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/catalina/startup/Bootstrap (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method)

Re: Exception in thread "HttpProcessor[8080][2]" java.lang.NullPointerException

2007-10-29 Thread Konstantin Kolinko
1. Tomcat 4.0.3 is pretty old and unsupported. The last version in the 4.x series is 4.1.36. 2. Trying to google "checkHead site:mail-archives.apache.org" shows some mentions of similar issues in the year 2002, e.g. (note: The bugzilla server name has changed, but bug ids are the same) http://is

RE: Tomcat 6 clustering without mulicast

2007-10-29 Thread SANCHEZ, Michel
I'am not shure that i understand well. What i whould like to have is session replication on a two members cluster with unicast heartbeat. With DisableMcastInterceptor i have no more multicast but no more session replication. It looks like cluster has no members Here is my configuration : Server

Re: 2 tomcat beginer problems

2007-10-29 Thread Grzegorz Borkowski
Why do you want to call doGet on init? it looks like invalid approach. You hava init method for this, or application listeners; doGet is for handling HTTP requests, not for initializing servler... G. loredana loredana wrote: 1. I have installed tomcat 6.0.14. Everytime I make a modification in

RE: 2 tomcat beginer problems

2007-10-29 Thread Auke Noppe
You could initiate the request and response by hand and call de doGet method and pass your own response and request. And of course set your params in the request or response. -Oorspronkelijk bericht- Van: loredana loredana [mailto:[EMAIL PROTECTED] Verzonden: maandag 29 oktober 2007 16:2

Re: Tomcat 6 clustering without mulicast

2007-10-29 Thread Filip Hanik - Dev Lists
yes, that's what you wanted. Then you have to add the static membership interceptors to add static members since you don't have multicast heartbeats anymore Filip SANCHEZ, Michel wrote: Thanks Filip I added the DisableMcastInterceptor in the cluster configuration wihtout success. The multic

2 tomcat beginer problems

2007-10-29 Thread loredana loredana
1. I have installed tomcat 6.0.14. Everytime I make a modification in a jsp page I either have to rename the file or delete the jsp from work directory in order to see the modifications. How can I make jsp reload automatically? So that if I make a modifications in my jsp, a simple refresh page w

Re: Exception in thread "HttpProcessor[8080][2]" java.lang.NullPointerException

2007-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Janeve, Also, is it possible to sniff the HTTP request that is causing this exception? I'm wondering if you're dealing with a client that is sending a broken HTTP request. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Commen

Re: Creating files dynamically and antiJarLocking

2007-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcus, Milanez, Marcus wrote: > In this case, my files are created > correctely, but I just can't reach them using their URLs. This is likely because Tomcat expects all the resources for a web app to be available at deployment time, rather than rand

RE: Class loading issue

2007-10-29 Thread Tony Fountain
Mark, This sounds identical to my issue... Thanks for pointing me in that direction. Now I think I'm going to investigate on how to make the TC parser load first and avoid this altogether. Thanks, Tony -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, October

RE: Tomcat 6 clustering without mulicast

2007-10-29 Thread SANCHEZ, Michel
Thanks Filip I added the DisableMcastInterceptor in the cluster configuration wihtout success. The multicast heartbeat is stopped but there is no more member in the cluster. DeltaManager::start() loggs Starting clustering manager at ... but DeltaManager::getAllClusterSessions()loggs : skipping s

Re: jkMount

2007-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BS, BuildSmart wrote: > jkMount /* myworker <-- your example. > > It didn't work and only further proves that mod_jk lacks any real > intelligence in functionality. You are not making any friends on this list. I need to fix your tone right now befo

Re: Exception in thread "HttpProcessor[8080][2]" java.lang.NullPointerException

2007-10-29 Thread Janeve George
Hi Chuck, Pardon me for any confusion created due to my previous post. Following are the details of the deployment. Tomcat version: 4.0.3 JDK: Sun's jdk 1.5.0 Platform: Linux Regards, Janeve Caldarale, Charles R wrote: From: Janeve George [mailto:[EMAIL PROTECTED] Subject: Exception in thr

RE: Exception in thread "HttpProcessor[8080][2]" java.lang.NullPointerException

2007-10-29 Thread Caldarale, Charles R
> From: Janeve George [mailto:[EMAIL PROTECTED] > Subject: Exception in thread "HttpProcessor[8080][2]" > java.lang.NullPointerException > > We are having no clue of why this exception is being > frequently thrown. Don't suppose you'd care to supply some useful information: 1) Tomcat version

Exception in thread "HttpProcessor[8080][2]" java.lang.NullPointerException

2007-10-29 Thread Janeve George
Hi, We are frequently getting following exception while running the tomcat server. Exception in thread "HttpProcessor[8080][7]" java.lang.NullPointerException at org.apache.catalina.connector.http.HttpResponseStream.checkHead(HttpResponseStream.java:253) at org.apache.catalina.

RE: Application state in ServletContext

2007-10-29 Thread Caldarale, Charles R
> From: lightbulb432 [mailto:[EMAIL PROTECTED] > Subject: Application state in ServletContext > > The code cannot directly touch the ServletContext class, > but may do so through an interface (shown below). > > public class ApplicationState { > private static Map stateValues; > public static

RE: 'wan' application in 5.5.25

2007-10-29 Thread Caldarale, Charles R
> From: Ankit Dangi [mailto:[EMAIL PROTECTED] > Subject: Re: 'wan' application in 5.5.25 > > In the 'webapps' directory, I created an application > with the name as 'wan'. It works fine with .20, and > doesn't work with .25. I have no problem running a simple webapp named 'wan' on 5.5.25. What

Creating files dynamically and antiJarLocking

2007-10-29 Thread Milanez, Marcus
Hi all, In my web project, I dynamically create JSP files in some ocasions. These files are placed under my web application folder and only works well if I don't use antiJarLocking='true' and antiResourcesLocking='true'. In this case, my files are created correctely, but I just can't reach them u

What's up with admin application for Tomcat 6?

2007-10-29 Thread Grzegorz Borkowski
Hi all, I tried Tomcat 6.0.10 when it was out - it was already several months ago. But when I tried to run Admin application, I got message "it is no longer included by default, please download it separately" - the same thing as in 5.5. Ok - but on 5.5 page, in downloads section, i have admin

Re: Fix to Tomcat Jasper slow .tag compilation problem.

2007-10-29 Thread Peng Tuck Kwok
Would pre-compiling your jsp files help you instead? AFAIK that works on the tags so you probably don't need to touch jspc. On 10/29/07, Berglas, Anthony <[EMAIL PROTECTED]> wrote: > > As described in a previous post, Jasper is *extremely* slow at compiling > .tag files packaged in a .jar. Tens o

Fix to Tomcat Jasper slow .tag compilation problem.

2007-10-29 Thread Berglas, Anthony
As described in a previous post, Jasper is *extremely* slow at compiling .tag files packaged in a .jar. Tens of seconds every time you touch a new .jsp for the first time. Almost unusable if you use .tags extensively, as I do. The following few lines is a hack to fix this. The added code is mar

Re: 'wan' application in 5.5.25

2007-10-29 Thread Ankit Dangi
No, I don't see any error message which resembles the problem I was facing. Even changelog didn't show any changes from .20 to .25 on an incremental basis. On 10/29/07, Pid <[EMAIL PROTECTED]> wrote: > > Ankit Dangi wrote: > > Hi all, > > > > I was earlier using Apache Tomcat 5.5.20, and now am us

Re: 'wan' application in 5.5.25

2007-10-29 Thread Pid
Ankit Dangi wrote: > Hi all, > > I was earlier using Apache Tomcat 5.5.20, and now am using 5.5.25. In the > 'webapps' directory, I created an application with the name as 'wan'. It > works fine with .20, and doesn't work with .25. When I changed the name of > my application from 'wan' to somethin