RE: SSL Handshake Error!

2005-10-25 Thread enLogica
mark, that did the trick! Thanks so much. :) Neal -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 25, 2005 2:04 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: SSL Handshake Error! Sounds like you are on the right path. The Equifax cert

? xmlValidation Attribute -- What's it Mean ?

2005-10-25 Thread Bob Bronson
Hi all, I'm using TC 5.5.12. Please look at this snippet from the server.xml that is distributed with TC: Can anyone tell me what the 'xmlValidation' attribute on is for? Obviously it has something to do with "XML validation" but what XML? Is it the corresponding web.xml? And how do

RE: Tracking

2005-10-25 Thread Richard Mixon
You do not say which version of Tomcat you are using. But in general you can set the removeAbandoned* parameters to mitigate the problem (i.e. it will take longer to stop responding). If using 5.5.x look for the heading "Preventing dB connection pool leaks" at: http://tomcat.apache.org/tomcat-5.

DBCP connection leak after undeploy

2005-10-25 Thread Bogdan Calmac
I've written a simple web application consisting of a servlet which does a select from a table and displays the result. It is then packaged as a war and deployed using the tomcat ant task. After executing the servlet, it is undeployed using the ant task again. stdout confirms that the webapp is dep

web.xml tomcat war file

2005-10-25 Thread Dr. Laurence Leff
Initially, I found the TomCat so finicky about its war files that it made Morris look like a rat. We set up the appropriate directory as indicated below and then used jar to create the war file. The problem resolved when one went into the directory and did the jar. That is instead of doing jar

RE: SSL Handshake Error!

2005-10-25 Thread Neal Cabage
Aaah! Thanks Mark. We'll give it a shot. Neal Mark Thomas <[EMAIL PROTECTED]> wrote: Sounds like you are on the right path. The Equifax certificate must be installed in the trust store, not your key store. Where this is depends on whether you are using a JDK or a JRE but as an example, on my

Re: Why tomcat has a wrapped dbcp?

2005-10-25 Thread Darryl L. Miles
How do you find out which version of DBCP is in a particular version of TC ? David Smith wrote: >To avoid classloader collisions with webapps that directly use DBCP >independant of Tomcat. > >AFAIK it's purely refactored to a separate package with no functional >changes. > >--David > >Sam Lee w

RE: DB2 and Tomcat 5.5 Issue

2005-10-25 Thread Jon Christensen
I did use COM. "Niels Beekman" <[EMAIL PROTECTED]> 10/25/2005 04:19 PM To Jon Christensen/National/Hewitt [EMAIL PROTECTED] Associates NA cc Subject RE: DB2 and Tomcat 5.5 Issue Classnames are case sensitive, did you type 'COM' instead of 'com'? Niels -Original Message- Fro

Re: DB2 and Tomcat 5.5 Issue

2005-10-25 Thread Rhino
I'm not running Tomcat 5.5 - in fact, I haven't even used my older Tomcat setup (4.1.x) with DB2 V7 in quite a while and I haven't used it with DB2 V8 at all - but I use DB2 quite a bit with Java applications that I write so perhaps I can help The old JDBC drivers are deprecated as of Version

jCIFS Jboss Tomcat IIS NTLM Authentication

2005-10-25 Thread Scott Shaver
Okay I've spent the last several days going over everything I could find on the web about setting this up and I still can't get it to work. I have the following setup: jCIFS 1.2.6 JBoss 4.0.3 with Tomcat 5 Jakarta isapi_redirect 1.2.14 IIS 5.0 IE 6 Windows 2003 Domain Controller A win2k machin

RE: SSL Handshake Error!

2005-10-25 Thread Mark Thomas
Sounds like you are on the right path. The Equifax certificate must be installed in the trust store, not your key store. Where this is depends on whether you are using a JDK or a JRE but as an example, on my laptop the path is D:\jdk1.5.0_05\jre\lib\security\cacerts Mark > -Original Message-

RE: 4.1.31: RemoteAddrValve and custom 403 page

2005-10-25 Thread Mark Thomas
The valve intercepts the request before it gets to any web applications so the settings in conf/web.xml or in an applications individual WEB-INF/web.xml will not get used. You have a couple of options: - Write you own valve (copy, paste, add a few lines and you should be done) - Write a servlet fi

How to measure queueing time: from tomcat recieving request to axis web service

2005-10-25 Thread Pim W.
Hi, I want to measure the queueing time starting from when Tomcat recieve the request from a client until the request reach my process. I am writing a web service application hosted under axis engine. I want to - Get the time stamp when the request arrive at Tomcat And I then want to find the dis

RE: Undeploy problem

2005-10-25 Thread Mark Thomas
Running on Windows? Try using antiJARLocking or antiResourceLocking. See http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Mark > -Original Message- > From: Jan Pernica [mailto:[EMAIL PROTECTED] > Sent: Monday, October 24, 2005 10:42 AM > To: users@tomcat.apache.org > Subject:

RE: Securing Manager Role

2005-10-25 Thread Mark Thomas
This is not supported because there is simply no point. If someone can read the tomcat-users.xml file then they almost certainly own the server and you have bigger problems than someone having access to the manager app. Consider if the password was encrypted, where is the decryption key stored? T

Re: Can not access www.company.com/index.jsp but can with www.company.com:8080/index.jsp

2005-10-25 Thread Leon Rosenberg
wrote: > Hi, > > Thank you in advance for your help. I have a web application in > the ROOT web dirctory. I failed to access the ROOT/index.jsp file with > xx.xxx.xxx.xx/index.jsp, but I was able to access it with > xx.xxx.xxx.xx:8080/index.jsp Can someone tell me why. I used Struts in this

Re: Tracking

2005-10-25 Thread Larry Meadors
Man, this feels like telling someone how to shoot their foot off, but this would be shorter: new Exception().printStackTrace(); Larry On 10/25/05, Steve Stearns <[EMAIL PROTECTED]> wrote: > > Charles P. Killmer wrote: > > >I have a bunch of JSP files that all instantiate a single class file. >

Re: Tracking

2005-10-25 Thread Steve Stearns
Charles P. Killmer wrote: I have a bunch of JSP files that all instantiate a single class file. Is there a way for the class file to log which file called it and ideally from which line the call was made? There might be a better way to do this but off the top of my head I should think this wou

Tracking

2005-10-25 Thread Charles P. Killmer
I have a bunch of JSP files that all instantiate a single class file. Is there a way for the class file to log which file called it and ideally from which line the call was made? My bigger problem is that I am using Connection pooling. And if I don't close every connection when I am down with

Re: how to empty tomcat cache ?

2005-10-25 Thread Frederic D
The problem is that i had to change the wsdl of a web services (the code don't change but the wsdl is generated dynamicaly) and when i change the wsdl or redeploy the web services with the new wsdl without restarting tomcat, it's always the old wsdl that is show by tomcat. I would like to know if i

SSL Handshake Error!

2005-10-25 Thread Neal Cabage
Help!!! I use a secure (https) XML feed and it appears the provider recently switched SSL certificate providers and is now using an Equifax certificate. Since that switch occured, my code is now throwing the following exceptions: javax.net.ssl.SSLHandshakeException: java.security.cert.Cert

Re: how to empty tomcat cache ?

2005-10-25 Thread andy gordon
Which cache are you referring to? Frederic D <[EMAIL PROTECTED]> wrote:Hi ! Is it possible to empty tomcat cache without restarting tomcat ? Thanks. Frederic ___ Appel audio GRATUIT partout dans le monde avec le nouve

RE: URGENT: Running Tomcat 5.0 as a Windows service using a specific user

2005-10-25 Thread Jan Andersson
Wow, that made it! Wonder why it didn't work with Tomcat's "Configure Tomcat" application? Never mind, now it works. Thank's to all! /JA "Peter Crowther" <[EMAIL PROTECTED]> 2005-10-25 18:30 Please respond to "Tomcat Users List" To "Tomcat Users List" cc Subject RE: URGENT: Running Tom

DB2 and Tomcat 5.5 Issue

2005-10-25 Thread Jon Christensen
Has anyone been able to connect to a DB2 8.1 datasource using Tomcat 5.5? I have been trying for a few days now and can only get one error message: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class 'COM.ibm.db2.jdbc.app.DB2Driver' for connect URL 'jdbc:DB2:b

JK.Log Rotation In Windows

2005-10-25 Thread Jon Chau
Hello, I cannot figure out a way to rotate my jklogfile. I tried searching the archives, but could not find an answer specific to windows, but I did find something by adding some java to the tomcat server.xml file, but that does not apply to me. Here's why: Apache 2.0.54 Win32 + mod_jk 1.2.14 +

Again Please Help!!! SimpleTCPCluster, No session state received time out 60s during start up

2005-10-25 Thread michelle wang
-- Forwarded message -- From: michelle wang <[EMAIL PROTECTED]> Date: Oct 24, 2005 8:49 PM Subject: Please Help!!! No session state received, time out 60s during tomcat start up To: users@tomcat.apache.org I'm running 2 tomcat (5.0.18) instances with Simple TCP Clustering on the sa

Can not access www.company.com/index.jsp but can with www.company.com:8080/index.jsp

2005-10-25 Thread Kam Lung Leung
Hi, Thank you in advance for your help. I have a web application in the ROOT web dirctory. I failed to access the ROOT/index.jsp file with xx.xxx.xxx.xx/index.jsp, but I was able to access it with xx.xxx.xxx.xx:8080/index.jsp Can someone tell me why. I used Struts in this web application a

RE: Can not access www.company.com but can with www.company.com:8080

2005-10-25 Thread Robert Harper
Try setting the connector port to 80 in the server.xml file. I believe it is probably set to 8080. This will set the port your app listens to. When you don't specify a port, it will default to 80 when using HTTP. HTTPS will default to 443. Robert S. Harper Information Access Technology, Inc.

Re: LDAP connections pool

2005-10-25 Thread sudip shrestha
It is possible to do this in a number of ways - Container Managed Realm: - http://tomcat.apache.org/tomcat-5.0-doc/realm-howto.html#JNDIRealm - But does not support ldaps:// . ldap via SSL - if you want SSL with ldap, use mozilla-java-ldap-sdk: here are good resources: - http://www.mozilla.

Can not access www.company.com but can with www.company.com:8080

2005-10-25 Thread Kam Lung Leung
Hi,   Thank you in advance for your help. I have a web application in the ROOT web dirctory.   I failed to access the index.jsp :8080. Can someone tell me why. I used Struts in this web application and declared something like the following in the ROOT/WEB-INF/web.xml file;      

RE: URGENT: Running Tomcat 5.0 as a Windows service using a specific user

2005-10-25 Thread Longson, Robert
Jan, You seem to be doing it right. Set the user in the log on pane to the user you want then click OK (alternatively you can do the same via Control Panel->Services) then start the tomcat service and it will run as that user. Control panel indicates which user the service runs as as does task

Re: LDAP connections pool

2005-10-25 Thread Jess Holle
It's quite possible via Apache... If it is not possible via Tomcat than this would be one of those reasons to use Apache as a web server. Javier wrote: Con fecha Tuesday, October 25, 2005, 3:16:43 PM, escribió: If you mean pooling with JNDIRealm - there is no pooling available with that

RE: URGENT: Running Tomcat 5.0 as a Windows service using a specific user

2005-10-25 Thread Peter Crowther
> From: Jan Andersson [mailto:[EMAIL PROTECTED] > I'll try again: How do I do to run Tomcat 5.0 as a Windows > service using a > specific user? I've tried using the Configure Tomcat > application, tab Log > On, but Tomcat is anyway started with "SYSTEM" as user. Jan, have you tried using the

URGENT: Running Tomcat 5.0 as a Windows service using a specific user

2005-10-25 Thread Jan Andersson
I'll try again: How do I do to run Tomcat 5.0 as a Windows service using a specific user? I've tried using the Configure Tomcat application, tab Log On, but Tomcat is anyway started with "SYSTEM" as user. Am I doing something wrong? What is SYSTEM for kind of a user? Plase, any help very m

how to empty tomcat cache ?

2005-10-25 Thread Frederic D
Hi ! Is it possible to empty tomcat cache without restarting tomcat ? Thanks. Frederic ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette v

RE: help in using a custom API

2005-10-25 Thread Davies, Joshua
I'd avoid calling a third-party API from a JSP at all. Instead, I'd recommend using an MVC-style approach (http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html), like this: public class ApiCallingServlet extends HttpServlet { public void doGet( HttpServletRequest req, HttpS

AW: Why tomcat has a wrapped dbcp?

2005-10-25 Thread Peter . Zoche
One change I have found is that when printing out a prepared statement (e.g. for debugging), you do not get the statement you have created, but only a reference I think. -Ursprüngliche Nachricht- Von: David Smith [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25. Oktober 2005 17:40 An: Tom

Re: tomcat 5 combined http and https, same session

2005-10-25 Thread Maurice Yarrow
Hassan Thanks: Ah, I see, you are using a sendRedirect(...). Yes, this certainly lets you forward without having to get the formal context of the target but it does put the URL on the browser line if I remember correctly. This will work for some of what I am doing but not in the case where I re

Re: Why tomcat has a wrapped dbcp?

2005-10-25 Thread David Smith
To avoid classloader collisions with webapps that directly use DBCP independant of Tomcat. AFAIK it's purely refactored to a separate package with no functional changes. --David Sam Lee wrote: >Why tomcat has a wrapped dbcp? Is there any difference? > > >

Re[2]: LDAP connections pool

2005-10-25 Thread Javier
Con fecha Tuesday, October 25, 2005, 3:16:43 PM, escribió: > If you mean pooling with JNDIRealm - there is no pooling available with that > realm. Tim Thanks for your reply. I've an LDAP directory and my application will validate users. As far as I know there will be a lot of connection operat

Re: tomcat 5 combined http and https, same session

2005-10-25 Thread Mark Sutton
If you are using Struts, then the following can help you perform the switching: http://sourceforge.net/projects/sslext Mark On 25/10/05, Rob <[EMAIL PROTECTED]> wrote: > > Hi All, > > I looked through the mail archives as well - past two years. There's some > interesting info, but nothing that

Why tomcat has a wrapped dbcp?

2005-10-25 Thread Sam Lee
Why tomcat has a wrapped dbcp? Is there any difference? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: content length on response

2005-10-25 Thread George Sexton
One small tip on content length. If you use UTF-8 encoding, the content length of the page is not necessarily the number of characters in a string or string buffer. You have to write the data to something like a byte array output stream and then get the number of bytes. George Sexton MH Software,

Re: tomcat 5 combined http and https, same session

2005-10-25 Thread Hassan Schroeder
Maurice Yarrow wrote: > I'm also interested in this issue of http(s) switching. > Could you possibly put up an example of this filter? Sure: And, of course, this should be the *first* Filter in your chain... FWIW! -- Hassan Schroe

AW: AW: AW: apache 2.0.54 + mod_jk 1.2.14 - sticky sessions not working

2005-10-25 Thread Doehler, Thomas
The system i'm currently testing with is only a little test system, it is not inteded to go productive in that configuration ;-) But thanks for the tip you anyway. The jk.log has no error messages, and here is the log grepped for "found best worker": [Tue Oct 25 15:52:23 2005] [28304:49172] [debug

Re: AW: AW: apache 2.0.54 + mod_jk 1.2.14 - sticky sessions not working

2005-10-25 Thread Mladen Turk
Doehler, Thomas wrote: Hi, IMO having 10 connections limit is way too low for any serious usage. I would suggest that you rise maxProcessor to at least 100. Also do you observe any error messages in mod_jk.log? Regards, Mladen. --

Re: LDAP connections pool

2005-10-25 Thread Tim Funk
If you mean pooling with JNDIRealm - there is no pooling available with that realm. -Tim Javier Leyba wrote: Hi All I want to make an LDAP connection pool in my Tomcat 5028 server. Is this possible ? Could someone show an example ? -

AW: AW: apache 2.0.54 + mod_jk 1.2.14 - sticky sessions not working

2005-10-25 Thread Doehler, Thomas
Hi, here the requested files: workers properties: --- # # wokers.properties - configuration for mod_jk # # configure path separator ps=/ # list of workers by name worker.list=loadbalancer worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=debi1, debi2 worker.load

Re: AW: apache 2.0.54 + mod_jk 1.2.14 - sticky sessions not working

2005-10-25 Thread Mladen Turk
Doehler, Thomas wrote: Hi, thanks for the quick response, jvmRoute is configured on both instances. We do not use the standard tomcat url rewriting (which is http://...;jsessionid=...?x=y), we use simply a standard http paramter and do our own url rewriting. Right, but it would be good that

LDAP connections pool

2005-10-25 Thread Javier Leyba
Hi All I want to make an LDAP connection pool in my Tomcat 5028 server. Is this possible ? Could someone show an example ? Thanks in advance J ___ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el

AW: apache 2.0.54 + mod_jk 1.2.14 - sticky sessions not working

2005-10-25 Thread Doehler, Thomas
Hi, thanks for the quick response, jvmRoute is configured on both instances. We do not use the standard tomcat url rewriting (which is http://...;jsessionid=...?x=y), we use simply a standard http paramter and do our own url rewriting. Regards, Tom > Did you set the jvmRoute="your worker name"

Re: apache 2.0.54 + mod_jk 1.2.14 - sticky sessions not working

2005-10-25 Thread Mladen Turk
Doehler, Thomas wrote: Hi list, I'm using apache 2.0.54 + mod_jk 1.2.14 on a debian 3.1 server. I have 2 tomcat workers running on different machines. Although I configured the load balancing worker with sticky_session=1, all requests get spread over the tomcat workers in round robin. My ques

Re: Has Anyone Achieved Mutal Authentication on 5.5.12 or 5.5.9???

2005-10-25 Thread Mark
Is Apache part of your setup? On 10/24/05, Daniel <[EMAIL PROTECTED]> wrote: > > If so, whats the magic to the certs and keystores? > - Daniel > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail:

apache 2.0.54 + mod_jk 1.2.14 - sticky sessions not working

2005-10-25 Thread Doehler, Thomas
Hi list, I'm using apache 2.0.54 + mod_jk 1.2.14 on a debian 3.1 server. I have 2 tomcat workers running on different machines. Although I configured the load balancing worker with sticky_session=1, all requests get spread over the tomcat workers in round robin. My question is, how does mod_jk

RE: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread rahul
Yes I did that through my database creation script using GRANT command: GRANT SELECT,INSERT,UPDATE,DELETE ON myDB.* TO user@'%' IDENTIFIED BY 'password'; > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 25, 2005 3:07 PM > To: users@tomcat

RE: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread Peter . Zoche
Inspired by the last mail: Have you configured your remote database to listen to the ip-adress of your client. Does your databse accept connections from there? And is there a user installed on your remote database that has rights to access it? -Ursprüngliche Nachricht- Von: Andoni [mailt

RE: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread rahul
I am seeing the database myDB is present in remote machine Also I am using same version(4.1.14-nt-max) of mysql on both machine. > -Original Message- > From: Andoni [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 25, 2005 3:02 PM > To: Tomcat Users List > Subject: Re: ASKING AGAIN: pro

Re: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread Andoni
Hello, I am looking at this error message you are getting: Cannot create PoolableConnectionFactory (Unknown database 'myDB') and thinking it isn't any thing to do with resource tags. Specially if it is working locally. To me it seems to be something wrong with your DB installation. Does the remote

RE: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread rahul
Thanks for help Jan, But how to define jdbc/global in the Data Sources of the tomcat Server? can you explain further -RahulJoshi > -Original Message- > From: Jan Pernica [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 25, 2005 2:29 PM > To: Tomcat Users List > Subject: Re: ASKING AGA

Re: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread Jan Pernica
In your deploy XML you should have somethink like this: type="javax.xml.DataSource"/> Where jdbc/global is defined in the Data Sources of the tomcat server. Jan rahul wrote: I am still not been able to use remote database, even after including in my web.xml -Original Message---

RE: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread rahul
I am still not been able to use remote database, even after including in my web.xml > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 25, 2005 1:48 PM > To: users@tomcat.apache.org > Subject: RE: ASKING AGAIN: problem in getting database c

RE: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread Peter . Zoche
I dont know if it is required, but do you have a resource-ref entry in your web.xml, something like this? mySQL Datasource jdbc/myAPP javax.sql.DataSource Container where res-ref-name has to be the same as in context.xml. And perhaps your look-up-name might not be correct, but I am no