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
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
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]
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.
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
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
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,
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
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
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
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
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:
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
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
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
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:
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
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:
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
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
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.
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.
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.
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
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
25 matches
Mail list logo