Re: Tomcat hangs without any error-message

2003-03-17 Thread Tomcat-RND
Hi, Can you please let me know, whether it hangs so that the server need to be killed, or server crashes and closes it self??? Regards, Pratt. - Original Message - From: Björn Clemens [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 17, 2003 1:24 PM Subject: Tomcat hangs

Re: Tomcat Scheduler

2003-03-16 Thread Tomcat-RND
Hi, You can use JDK1.3 provided classes from java.util package. Use the TimerTask, Timer classes. Start a load-on-startup servlet of your application and use the above classes if your requirement is such that these should run whenver server is started. Other wise you can invoke from a request

Re: Loading dll for servlets

2003-03-14 Thread Tomcat-RND
hi, Can you eloborate to load the dll in tomcat server?What is the functionality required ? Can detail us about overhead of loading and unloading dll in servlets? Pls ignore i was wrong .. Regards, Pratt. - Original Message - From: Bjoern Abt [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Loading dll for servlets

2003-03-14 Thread Tomcat-RND
Hi, If you want to hold the loaded dll permanently then you can load in a static class keep it in context and use the same for all the users. If they need only for the User Session, then better to load in login and unload on session out. Hope it may be one useful thought.. Regards, Pratt.

Re: AW: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-03-12 Thread Tomcat-RND
Hi, Are you looking in a load-on-startup servlet Pratt. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 6:50 PM Subject: RE: AW: java.sql.SQLException: Cannot load JDBC driver class 'null' No I did not, but now I do and I still

Re: How to redirect the response to same requesting page

2003-03-11 Thread Tomcat-RND
Hi, In the Servlet Use this.getServletContext().RequsetDispactcher(/sameservlet); rd.forward(req,resp); Regards, Pratt. - Original Message - From: zafar Ahsan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 3:12 PM Subject: How to redirect the response to same

Re: Would U Pls help me. Its urgent!! starting tomcat through windows2000 s services

2003-03-11 Thread Tomcat-RND
Hi, You need to install the Tomcat as NT Service option. If not already installed, please reinstall and check the services. To access with the detault context, find if any context that has context path as . Now add your files into that location, That's it. You will get what you want. Regards,

Re: Global DataSource

2003-03-11 Thread Tomcat-RND
Hi, Are looking up the data source in a load-on-startup servlet? Regards, Pratt. - Original Message - From: Fredrik Larsson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 9:46 PM Subject: SV: Global DataSource I just tried to install the

Re: How do I start with a servlet?

2003-03-10 Thread Tomcat-RND
Hi, I assume you are using Tomcat4.1.x Have u written the init(ServletConfig) method,. Load on Startup executes the init(...) method only. If there is no init(..) method you can not see any print statements or any other operations executed, In Tomcat4.1.18 only you can see the print statement

Re: How do I start with a servlet?

2003-03-10 Thread Tomcat-RND
Hi, Do you wish to initalize the session or ServletContext[application] on startup???. If you want to fire a JSP another servlet from the init() you can invoke by writing URLConnection.. But I am not clear about initializing the Session info, on startup Do let me know if any thing found on

Re: Connection among application and servlet

2003-03-10 Thread Tomcat-RND
Hi, Have you opened the Input Stream . If not opened then, Please try by opening the Input Stream and close it. It forces the execution. InputStream in=servConn.getInputStream(); in.close(); I observed, the resource is not executing if we don't open the InputStream... Hope it may

Re: Connection among application and servlet

2003-03-10 Thread Tomcat-RND
Hi, Does the problem solved??? Regards, Pratt. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 10, 2003 7:14 PM Subject: Re: Connection among application and servlet Thanks for your help. Yes. I have the input stream opened:

Re: Connection among application and servlet

2003-03-10 Thread Tomcat-RND
Hi, will it possible for you to try by just sending a string parameter than using object streams??? Regards, Pratt. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 10, 2003 7:21 PM Subject: Re: Connection among application and servlet I'm

Re: Oracle JDBC pool documentation

2003-03-10 Thread Tomcat-RND
Hi, One more thing, the query that is used should return atleast one row,. If the query returns no rows selected then again the you will be in the infinte loop. This is some more info from my exp.. Infinite loop on invalid validation SQL query If one is using DBCP package and enters an incorrect

Re: file renaming using Multipart class.

2003-03-09 Thread Tomcat-RND
Hi, Add time stamp as suffix to the file name that makes the file unique and use the same for each user. Hope it may solve u r problem Regards, Pratt. - Original Message - From: Venkat [EMAIL PROTECTED] To: Tomcat [EMAIL PROTECTED] Sent: Monday, March 10, 2003 12:10 PM Subject: file

Re: Resource not available in 4.1 - Upgrading from 3.2

2003-03-08 Thread Tomcat-RND
Hi, By default in tomcat4.1 the invoker servlet is disabled that is it will be commented. You have to either invoke by the servlet mapping defined or uncomment the invoker servlet in the \conf\web.xml to access using /servlet/ServletName Regards, Pratt - Original Message - From:

Re: JNDI + Oracle + Pool

2003-03-08 Thread Tomcat-RND
Hi, Write a JSP or servlet in that get the DataSource and connections for the value, which is greater than the max connections defined for the datasource in a for loop as : If Max connections defined are 10 Datasourceds=ctxt.lookup(); Connnection con= null; for(int

Re: Newbie: Starting problem

2003-03-07 Thread Tomcat-RND
Hi, Can you first try by directly acessing http://localhost:8080/apress/chapter2.login from the browser? If still NOT Found then your web.xml need to be reviewed. Regards, Pratt - Original Message - From: Gustavo Cebrian [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent:

Re: DBCP problems connection does not return

2003-03-06 Thread Tomcat-RND
Hi, DBCP will go to infinite if your validation query fails. Please ensure that the table you are referring exists for extact name and proper privileges exists to get the result, check the query with the SQL prompt. If your query results in no rows found, then also there is a possibility that it

Re: Hostname/port from ServletContext

2003-03-05 Thread Tomcat-RND
Hi, Sample clients means they are browsers again, used to access the application, Whether Client and your application both will be in one application or both are different, If I was wrong, please ignore, Regards, Pratt. - Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat

Default Context load-on-startup

2003-03-03 Thread Tomcat-RND
Hi, I am Using Tomact 4.1.18, I am unable to locate the Resouces of DefaultContext from a load-on-startup servlet. Is it a limitation or any other configuration required? Anybody please help out.. Thanks and Regards, Pratt.

Pls:Default Context load-on-startup

2003-03-03 Thread Tomcat-RND
Hi, I am Using Tomact 4.1.18, I am unable to locate the Resouces of DefaultContext from a load-on-startup servlet. Is it a limitation or any other configuration required? Where can i get the documenation for this, Anybody please help me out.. Thanks and Regards, Pratt.

Default Context load-on-startup

2003-03-03 Thread Tomcat-RND
Hi, I am Using Tomact 4.1.18, I am unable to locate the Resouces of DefaultContext from a load-on-startup servlet. Is it a limitation or any other configuration required? Where can i get the documenation for this, Anybody please help me out.. Thanks and Regards, Pratt.

Re: upgrade from 4.0 to 4.1

2003-03-01 Thread Tomcat-RND
Hi, JDK 1.4 is not required. It should do by using the JAVA_HOME. Try by adding the JDK/bin to your System path variable.and restart the server. Are you running tomcat in WIN or Linux etc.,? Ragards, Pratt - Original Message - From: neal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Fw: Tomcat WAR expansion

2003-03-01 Thread Tomcat-RND
Hi Jacob, Thanks , for the inforamtion, I understood now... Regards, Pratt. - Original Message - From: Jacob Kjome [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, March 01, 2003 10:41 PM Subject: Re: Fw: Tomcat WAR expansion This is expected behavior. If