Working fine on Tomcat 5.0 but not on 5.5.7

2005-03-07 Thread micky none
Hi Friends, I have this simple method which works fine on my system(Tomcat 5.0,jdk 1.5)..but not on the server(Tomcat 5.5.7,jdk1.5).Can someone explain me why: - String syear = null; int selectedYear = 0; try{ syear =

DBCP Object not closed- urgent help reuired.

2005-03-02 Thread micky none
Hi friends, i've a program that takes in date from the user in a text box.Everything works fine except the log files shows something like this: -- (Http11Protocol.java:738) at

tomcat 5.5.7 startup

2005-02-13 Thread micky none
Hi, I am also having a somewat similar problem.I installed tomcat5.5.7 on my windows xp system through the *.exe file.The server starts and stops properly but i dont know why I am not able to see the index file.When i give the command http://localhost:8080/,it displays nothing.I even tried to

Type mismatch: cannot convert from long to Long

2005-02-01 Thread micky none
Hi Friends, I went for help in the java forums,but I think you might help me better with this.I have a jsp that runs fine on my system,but when i upload it on the server it starts throwing this error: Generated servlet error: Type mismatch: cannot convert from long to Long And the other thing

Re: AW: Type mismatch: cannot convert from long to Long

2005-02-01 Thread micky none
-- -Ursprüngliche Nachricht- Von: micky none [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 1. Februar 2005 15:29 An: Tomcat Users List Betreff: Type mismatch: cannot convert from long to Long Hi Friends, I went for help in the java forums

I guess this is a BUG!!!

2005-02-01 Thread micky none
Can anyone please tell me if it's a BUGi think it is one. I'm using Tomcat5.5.7 and i am not able to undeploy the file,it shows that the file is undeployed and loads the new file.But it still keeps showing the old file contents.Can anyone tell me what's the fix?? Secondly,the server does

Specifying context details in web.xml

2005-01-31 Thread micky none
Hi Friends, I need to ask you guys that is it possible that I can move the context details from my server.xml to web.xml.Like when i make a war,i want that i should specify the database url,driver,username,password etc. details .Presently i have 2 contexts(one for alpha databse other for the

Dynamic Connection

2005-01-26 Thread micky none
Hi Friends, I want to dynamically configure the database,username and password settings,instead of putting them in conf/server.xml.In other words,I dont know beforehand which database to use, with which username and password.It all depends upon the person and the machine from which it tries to

Re: Re: Dynamic Connection

2005-01-26 Thread micky none
there are other ideas out there as well. --David micky none wrote: Hi Friends, I want to dynamically configure the database,username and password settings,instead of putting them in conf/server.xml.In other words,I dont know beforehand which database to use, with which username and password.It all depends

Packing web application

2005-01-25 Thread micky none
Hi Friends, I have a application with the following file structure: Tomcat5.0 webapps project WEB-INF classes bean *.java files web.xml *.jsp

Re: Packing web application

2005-01-25 Thread micky none
that input files be specified.. Please help me. On Tue, 25 Jan 2005 micky none wrote : Hi Friends, I have a application with the following file structure: Tomcat5.0 webapps project WEB-INF classes bean

Re: Re: Re: ConnectionPooling

2005-01-20 Thread micky none
is the calling of the resource from code. When you say use to BasicDataSource to see thw no. of active connections is this you application or something built into Tomcat? Doug - Original Message - From: micky none [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org

Logger file

2005-01-20 Thread micky none
Hi Friends, I am using this file for outputting log data,can someone please tell me how to save this data to some file instead of outputting,so that I can have a look at it later on... any help would be appreciated import org.apache.log4j.Logger; import org.apache.log4j.BasicConfigurator;

ConnectionPooling

2005-01-19 Thread micky none
Hi Friends, This is my first message on this list.I want to use the dbcp connection pooling.I set up the server.xml according to an example,but when i trying to use to BasicDataSource to see thw no. of active connections it's throwing errors.I tried searching a lot but to no use.If I go into

Re: Re: ConnectionPooling

2005-01-19 Thread micky none
Tried that too my friend,isn't there any sure shot answer for this one..im like half mad after this...as of now. On Thu, 20 Jan 2005 Harry Mantheakis wrote : This may not help, but try swapping the order of the ResourceParams and Resource elements in your 'server.xml' file. Also, you seem