RE: Server denies access to resource (mysql JDBC)

2003-03-05 Thread Kal Govindu
First of all it looks like you an extra parameter tag in your xml. As long as the mysql deamon is running on your local machine the hostname looks correct. -Original Message- From: Adam Denenberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 5:26 PM To: Tomcat Users List

Deploying web apps - Help

2003-07-07 Thread Kal Govindu
hi all, I am running multiple tomcat, one for each of the test environments we have defined in the company. In the each of the there Catalina_log files I have the following four lines for each and every request to the web server. 2003-07-07 09:21:06 HostConfig[dev]: Deploying discovered web

Deploy web app - Help

2003-07-07 Thread Kal Govindu
hi all, I am running multiple tomcat, one for each of the test environments we have defined in the company. In the each of the there Catalina_log files I have the following four lines for each and every request to the web server. 2003-07-07 09:21:06 HostConfig[dev]: Deploying discovered web

Persistent Sessions

2003-08-04 Thread Kal Govindu
I am trying to clean-up ( invalidate ) all the session when Tomcat is restarted for any reason. I have the following Tag in my server.xml. The session created for my web application still seem to persist, is there another place or way the session is being store or persisted? Please help, thanks

RE: Persistent Sessions

2003-08-04 Thread Kal Govindu
-Original Message- From: Kal Govindu [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 11:09 AM To: Tomcat Users List (E-mail) Subject: Persistent Sessions I am trying to clean-up ( invalidate ) all the session when Tomcat is restarted for any reason. I have the following Tag in my server.xml

RE: Persistent Sessions

2003-08-04 Thread Kal Govindu
to persist your session. Hmm... Yoav Shapira Millennium ChemInformatics -Original Message- From: Kal Govindu [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 3:24 PM To: Tomcat Users List Subject: RE: Persistent Sessions Hi Yoav, Thank you for you suggestion, I have it implemented

RE: Persistent Sessions

2003-08-05 Thread Kal Govindu
, August 05, 2003 4:09 AM To: Tomcat Users List Subject: Re: Persistent Sessions Your HttpSessionActivationListener must be an object bound to the session. So, in your HttpSessionListener's sessionCreated method add the HttpSessionActivationListener to the session as an attribute. HTH, Jon Kal

RE: tomcat shutdown

2003-08-14 Thread Kal Govindu
As far as I know, there are to different kinds of ports that need to be changed to run two instances of Tomcat. 1. Connector Port : usually 8080 or 80 - Can be changed to 8080 (First tomcat) and 8081 ( second Tomcat ). 2. Server Port: Usually 8005 - can be changed to 8005 (First Tomcat) and 8006

Tomcat crashes on Reload

2003-03-07 Thread Kal Govindu
Tomcat 4.1.12 - Running 12 applications on 3 Virtual Hosts Java 1.3 Recently, I went from 9 applications to 12 and tomcat started crash every time I reload a context from the manager application. It creates a Javacore file each time and I am attaching that if it can help. I have brought the number

RE: Problem installing Tomcat 4.06 on Windows 2000

2003-03-10 Thread Kal Govindu
All the environmental variables seem to be set correctly. Tomcat puts a log in its /logs directory, containing startup information, look there for more clues. -Kal -Original Message- From: Venkatesh Brahmadesam [mailto:[EMAIL PROTECTED] Sent: Sunday, March 09, 2003 6:04 PM To: [EMAIL

RE: Problem with Tomcat Manager

2003-03-13 Thread Kal Govindu
Hi, I don't which version of tomcat your are using, but the manager application is usually ../server/webapps/manager relative to Tomcat's home directory. I have never seen a HTML folder under manager before. Usually when you have this error tomcat could not figure out the location of your context.

RE: Problem with tomcat

2003-03-17 Thread Kal Govindu
Hi, I had the same problem a long time ago when was getting started. I narrowed down the problem to mismatched version of servlet.jar file, which is in {Tomcat_Home}/common/lib directory. I switched this with different version of the jar from a former installation of the Tomcat and the problem

RE: tomcat manager

2003-03-18 Thread Kal Govindu
Hi, You will need to put the manager.xml file in that webapps directory. I don't know where your webapps directory is but you will need to changes the manager.xml context docBase to point to {Tomcat_Home}/server/webapps/manager. I am guessing you have another separate host serving your webapps,

RE: java.sql.SQLException: Update failed, possible duplicate entry

2003-03-25 Thread Kal Govindu
The SQL Insert statement usually looks like this: Insert into info(referer) value('?'); Your statement looks like it is going try and update a field with name = (what ever you pass in for referer). And no such field exists in your db, moreover you are not providing a value for the field. Hope

RE: Connection Pool setup.

2004-04-02 Thread Kal Govindu
Hi, Hello, I'd like to know how to implement connection pooling in my application. This is what I had done so far. Pls let me know what I need to change to use the pooling mechanism. 1. I created a singleton class: DatabaseOperations. 2. It has an Connection instance: conn. 3. During

RE: Can't access tomcat manager

2004-04-12 Thread Kal Govindu
If you had logged in to another application before you try Tomcat manager the authentication would not allow you to go through. You will have to close the browser and relaunch it again and go to Tomcat Manager first. Hope this helps. Kal -Original Message- From: Mario St-Gelais

RE: Good sites that show you EJB stuff

2003-09-09 Thread Kal Govindu
www.ejbtut.com kal -Original Message- From: Anson Zeall [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 6:49 AM To: Tomcat Users List Subject: Good sites that show you EJB stuff Hi, I want to know if anyone, could show me, or recommend me any sites that show you how to

tomcat 4.1 on JDK1.4

2003-12-18 Thread Kal Govindu
Hi all, I am moving from JDK1.3.1 to JDK1.4 on my Unix AIX machine. I am having problems start tomcat 4.1 which used to work fine on JDK1.3.1. I get this exception java.lang.reflect.InvocationTargetException and further down I see java.lang.NullPointerException at

RE: tomcat 4.1 on JDK1.4

2003-12-18 Thread Kal Govindu
-Original Message- From: Kal Govindu [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 3:36 PM To: Tomcat Users List (E-mail) Subject: tomcat 4.1 on JDK1.4 Hi all, I am moving from JDK1.3.1 to JDK1.4 on my Unix AIX machine. I am having problems start tomcat 4.1 which used to work fine

RE: tomcat 4.1 on JDK1.4

2003-12-19 Thread Kal Govindu
-4.1-doc/class-loader-howto.html Hope this was of some assistance. Jim -Original Message- From: Kal Govindu [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 2:36 PM To: Tomcat Users List (E-mail) Subject: tomcat 4.1 on JDK1.4 Hi all, I am moving from JDK1.3.1 to JDK1.4 on my

LDAP - newbee help

2004-07-01 Thread Kal Govindu
Hello all, I am trying to setup tomcat 5 to authenticate against Microsoft Directory Server through LDAP. I have found a very detailed document for tomcat 5 and JNDI realm. One question before I go any further: Is LDAP server a server that needs to be started separately from directory server?

RE: LDAP - newbee help

2004-07-02 Thread Kal Govindu
To: Kal Govindu; 'Tomcat Users List (E-mail)' Subject: RE: LDAP - newbee help LDAP, Lightweight Directory Access Protocol, is a protocol that other programs use to look up contact information from a server, such as Microsoft Active Directory. It is a service provided by a server, not a server

RE: LDAP - newbee help

2004-07-06 Thread Kal Govindu
Message- From: Ross Rankin [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 12:23 PM To: Kal Govindu; 'Tomcat Users List (E-mail)' Subject: RE: LDAP - newbee help To authenticate users you will need an account / password that has read privileges and a base DN. You will need to configure

Tomcat5 - LDAP question.

2004-07-07 Thread Kal Govindu
Hi All, Is there a way of setup a user account in Active Directory that can query other user info and does not have permission to update that information. Background: I am trying to setup LDAP authentication on Tomcat5 connecting to Active Directory. When I bind to active directory as common

Server has closed the current connection

2004-01-22 Thread Kal Govindu
Hi All, I have IIS redirecting to tomcat 4.1.12 and I keep seeing these warning message in the log file. Is this something that I have to be worried about? Is there a fix for it? Warning: Server has closed the current connection (-1) Thanks Kal

HOST - DNS setup

2004-01-29 Thread Kal Govindu
Hi all, Our company has just started into Java based web applications. Our current methodology for deploying to production is to setup a DNS like say firstapp.mycompany.com and define a Host entry in the server.xml with aliases to respond to the new DNS. We do this purely for the capability of

RE: How to get two version of xalan/xerces together in Tomcat?

2004-01-29 Thread Kal Govindu
You can put a version of the Jar in the WEB-INF/lib directory of the application itself which comes before the common/endorsed libraries in the classpath. Hope this helps Kal -Original Message- From: Salvador Santander Gutierrez [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004

RE: Problem Compiling JSP under TOMCAT 5.0.18; please help me

2004-02-04 Thread Kal Govindu
You can try this and restart tomcat. 1. Copy tools.jar from your-jsdk\lib\tools.jar to your- tomcat\common\lib\tools.jar This may not be necessary, but the installer does attempt to copy this file so it won't hurt to do the same. And if that does not work try this step next and restart tomcat.

RE: One user seeing another user's data

2004-02-17 Thread Kal Govindu
We had this problem on our first JSP application. One of the things we had to fix it was to remove all variable definitions from %!...% and move them to %...%. Kal -Original Message- From: Antonio Fiol Bonnin [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 17, 2004 2:17 AM To: Tomcat

RE: Tomcat JNDI Realm + Active Directory Server

2005-07-20 Thread Kal Govindu
Two things that I noticed. I don't know how correct they are, but it seems to work in my environment. 1. In my Realm definition Realm I have connectionName and connectionPassword attributes which specify the user that can login to AD and query and authenticate others. 2. My Realm definition is