DataSource error (DBCP)

2002-12-22 Thread sunil . kumar
hi all, i'm new to tomcat... if my queries are foolish...pl forgive. :) my configuration is RH Linux 8/MYSQL 3.../TOMCAT 4.1.8 all the examples provided are working correctly... i tried JNDI Datasource HOW-TO (more details in the URL)

RE: DataSource error (DBCP)

2002-12-23 Thread sunil . kumar
i've already done that somehow i compiled :) DBTest.java and where should i place the DBTest.class file. EVERYWHERE I TRIED :(. anyone can answer ? regards and thanks sunil

Re: DataSource error (DBCP)

2002-12-23 Thread sunil . kumar
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how i cut and paste the source codes for MYSQL Example... u r right... first error was javax.sql.* missing... but i included all the directories in classpath that error cleared.. this is the jsp file... DBTest is the

Re: DataSource error (DBCP)

2002-12-23 Thread sunil . kumar
while executing ... http://195.54.247.110:8080/DBTest/test.jsp getting the error message org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 6 in the jsp file: /test.jsp Generated servlet error: [javac] Compiling 1 source file

Re: DataSource error (DBCP)

2002-12-23 Thread sunil . kumar
that's cool!!! worked. bringing attention to my old problem like i'm unable to compile DBTest.java (i compiled the same in another machine where oracle 9i is running, and copied to the machine where tomcat is running :)) I tried to compile DBTest.java and ended up an error Type

Re: DataSource error (DBCP)

2002-12-23 Thread sunil . kumar
sorry for replicating the same query!!! anyone can help TIA bringing attention to my old problem like i'm unable to compile DBTest.java (i compiled the same in another machine where oracle 9i is running, and copied to the machine where tomcat is running :)) I tried to compile DBTest.java and

javax.sql.datasource

2002-12-23 Thread sunil . kumar
hi all, where i can find out javax.sql.datasource (in which .jar file) TIA best regards sunil -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

access denied

2002-12-23 Thread sunil . kumar
hi all, i tried this code.. the below mentioned error is coming pl help javax.naming.Context ctx = new javax.naming.InitialContext(); if(ctx == null ) System.out.println(Context is null); else { javax.sql.DataSource ds1 = (javax.sql.DataSource)ctx.lookup (java:comp/env/TestDB);

access denied

2002-12-24 Thread sunil . kumar
hi all, i tried this code.. the below mentioned error is coming pl help javax.naming.Context ctx = new javax.naming.InitialContext(); if(ctx == null ) System.out.println(Context is null); else { javax.sql.DataSource ds1 = (javax.sql.DataSource)ctx.lookup (java:comp/env/TestDB);

Tomcat 3.1 can't handle load

2001-02-18 Thread Sunil Kumar Roy
Hello Sirs, We are developing a B2B website using Tomcat 3.1 for our company.(We are yet to buy a full-fledged webserver since ours is a startup firm). The site displays many images. We use SQL server7.0 for database. When we are interacting with the database, very often the following prompt

Complete Installation steps ..

2000-12-13 Thread Sunil Kumar K
Hi Guys, Can u ppl help me out can anyone send me a complete installation script for tomcat 4 on Red Hat Linux 6.2 I have apache 1.3.14 apache Jserv 1.1.2 cheers Sunil - Original Message - From: "Craig R. McClanahan" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: How do I determine the Relese Ver No

2000-12-13 Thread Sunil Kumar K
Hi Guys, Can u ppl help me out can anyone send me a complete installation script for tomcat3.2 on Red Hat Linux 6.2 I have apache 1.3.14 apache Jserv 1.1.2cheersSunil - Original Message - From: Craig R. McClanahan To: [EMAIL PROTECTED] Sent: Thursday, December 14,

Problem rendering Greek and Latin Characters in Tomcat 4.1.18

2003-02-28 Thread Joshua Sunil Kumar
quot;Error message: "+e.getMessage()); return; } while(rst.next()) { testString = rst.getString(1); out.println("LastNAME "+ testString); } %/ /body /html 7. I have also tried using the String.getBytes("UTF-8); But this also does not work. I would like

Problem rendering Greek and Latin Characters in Tomcat 4.1.18

2003-02-28 Thread Joshua Sunil Kumar
quot;Error message: "+e.getMessage()); return; } while(rst.next()) { testString = rst.getString(1); out.println("LastNAME "+ testString); } %/ /body /html 7. I have also tried using the String.getBytes("UTF-8); But this also does not work. I would like

Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-09 Thread Joshua Sunil Kumar
Hi I'm using Apache2.0.43 and Tomcat4.1.18. I have configured it with multiple tomcat instances with a load balancer. But I am unable to maintain sticky session . The application that I am using has to maintain sessions. But this not happening .When I login the request is JSP so it does

RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-10 Thread Joshua Sunil Kumar
-Original Message- From: Joshua Sunil Kumar [mailto:[EMAIL PROTECTED] Sent: Sunday, March 09, 2003 9:52 PM To: [EMAIL PROTECTED] Subject: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector. Hi I'm using Apache2.0.43 and Tomcat4.1.18. I have configured

RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-10 Thread Joshua Sunil Kumar
#worker.list=loadbalancer Uncomment the top line and remove the rest. Are you using jk or jk2? Eric -Original Message- From: Joshua Sunil Kumar [mailto:[EMAIL PROTECTED] Sent: 10 March 2003 10:14 To: Tomcat Users List Subject: RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43

RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-10 Thread Joshua Sunil Kumar
/ /Connector Engine jvmRoute=tomcat2 className=org.apache.catalina.core.StandardEngine debug=0 name=Standalone defaultHost=myhost mapperClass=org.apache.catalina.core.StandardEngineMapper HTH Eric -Original Message- From: Joshua Sunil Kumar [mailto:[EMAIL PROTECTED] Sent: 10

RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector.

2003-03-10 Thread Joshua Sunil Kumar
on this. Thanx in advance. Joshua -Original Message- From: Joshua Sunil Kumar [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 5:43 PM To: Tomcat Users List Subject: RE: Problem with sticky session in Tomcat4.1.18 and Apache 2.0.43 using mod_JK Connector. Hi Eric Thanx for the config

RE: Exception on Tomcat

2003-03-10 Thread Joshua Sunil Kumar
Hi There is a jar file called activation jar. This file is not your classpath. Add it up in ur classpath and the exceptions will disappear. BR Joshua -Original Message- From: Marcelo [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 7:00 PM To: tom cat Subject: Exception on Tomcat

Problems with JMX Bean in Tomcat4.1.18

2003-03-10 Thread Joshua Sunil Kumar
Hi I have a problem with JMX Bean it was giving the following error ServerLifecycleListener: Creating MBean for Connector [EMAIL PROTECTED] java.lang.Exception: ManagedBean is not found with Ajp13Connector at