Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
JSP - A mailing list about Java Server Pages specification and reference
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
ResultSetInPool

ResultSetInPool

2004-10-01       - By Srinivasa Sai Chakravarthy V (CTC)

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  


You can have a thread which will check the updated timestamp of the property
file.Then reload the file once it happend.You can check based on the
frequency of changes can happen to file.

Regards,
Chakravarthy

> -- --Original Message-- --
> From: A mailing list for Java(tm) 2 Platform, Enterprise Edition
> [SMTP:J2EE-INTEREST@(protected)] On Behalf Of Naveen Soni
> Sent: Friday, October 01, 2004 2:56 PM
> To:   J2EE-INTEREST@(protected)
> Subject:      Re: ResultSetInPool
>
>
>
> Hi All,
>
>
>
> I have a servlet deployed on websphere. I have done some initialization in
> the init() method.
>
> Basically I read from a property file and populate HashMap. Now if I
> change some values
>
> in the property file, I want the servlet init() to be called again to read
> the new values. I
>
> don't want to restart the server to load the servlet again. How can I call
> the init() method
>
> of servlet again without restarting the server.
>
>
>
> Please suggest me if something can be done.
>
>
>
> Thanks,
>
> Naveen
>
>
>
> DISCLAIMER:
> This message contains privileged and confidential information and is
> intended only for the individual named.If you are not the intended
> recipient you should not disseminate,distribute,store,print, copy or
> deliver this message.Please notify the sender immediately by e-mail if you
> have received this e-mail by mistake and delete this e-mail from your
> system.E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted,corrupted,lost,destroyed,arrive late
> or incomplete or contain viruses.The sender therefore does not accept
> liability for any errors or omissions in the contents of this message
> which arise as a result of e-mail transmission. If verification is
> required please request a hard-copy version.
> ==========================================================================
> = To unsubscribe, send email to listserv@(protected) and include in the
> body of the message "signoff J2EE-INTEREST". For general help, send email
> to listserv@(protected) and include in the body of the message "help".
>
> ==========================================================================
> = To unsubscribe, send email to listserv@(protected) and include in the
> body of the message "signoff J2EE-INTEREST". For general help, send email
> to listserv@(protected) and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to listserv@(protected) and include in the body
of the message "signoff J2EE-INTEREST".  For general help, send email to
listserv@(protected) and include in the body of the message "help".


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.2">
<TITLE>RE: ResultSetInPool</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">You can have a thread which will
check the updated timestamp of the property file.Then reload the file once it
happend.You can check based on the frequency of changes can happen to file.<
/FONT></P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Regards,</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Chakravarthy</FONT>
</P>
<UL>
<P><FONT SIZE=1 FACE="Arial">-- --Original Message-- --</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">From:&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE
="Arial">A mailing list for Java(tm) 2 Platform, Enterprise Edition [SMTP:J2EE
-INTEREST@(protected)]</FONT><B> <FONT SIZE=1 FACE="Arial">On Behalf Of</FONT><
/B><FONT SIZE=1 FACE="Arial"> Naveen Soni</FONT></P>

<P><B><FONT SIZE=1 FACE="Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE=
"Arial">Friday, October 01, 2004 2:56 PM</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT
SIZE=1 FACE="Arial">J2EE-INTEREST@(protected)</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;</FONT></B> <FONT SIZE=1 FACE="Arial">Re: ResultSetInPool</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">?</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">Hi All,</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">?</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">I have a servlet deployed on
websphere. I have done some initialization in the init() method.</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">Basically I read from a property
file and populate HashMap. Now if I change some values</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">in the property file, I want the
servlet init() to be called again to read the new values. I</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">don't want to restart the server
to load the servlet again. How can I call the init() method</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">of servlet again without
restarting the server.</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">?</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">Please suggest me if something can
be done.</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">?</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">Thanks,</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">Naveen</FONT>
</P>

<P><FONT COLOR="#000080" SIZE=2 FACE="Arial">?</FONT>
</P>

<P><FONT FACE="Arial">DISCLAIMER:<BR>
This message contains privileged and confidential information and is intended
only for the individual named.If you are not the intended recipient you should
not disseminate,distribute,store,print, copy or deliver this message.Please
notify the sender immediately by e-mail if you have received this e-mail by
mistake and delete this e-mail from your system.E-mail transmission cannot be
guaranteed to be secure or error-free as information could be intercepted
,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The
sender therefore does not accept liability for any errors or omissions in the
contents of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. </FONT></P>

<P><FONT FACE="Arial">=========================================================
================== To unsubscribe, send email to listserv@(protected) and
include in the body of the message &quot;signoff J2EE-INTEREST&quot;. For
general help, send email to listserv@(protected) and include in the body of
the message &quot;help&quot;. </FONT></P>

<P><FONT FACE="Arial">=========================================================
================== To unsubscribe, send email to listserv@(protected) and
include in the body of the message &quot;signoff J2EE-INTEREST&quot;. For
general help, send email to listserv@(protected) and include in the body of
the message &quot;help&quot;. </FONT></P>
</UL>
</BODY>
</HTML>
===========================================================================
To unsubscribe, send email to listserv@(protected) and include in the body
of the message "signoff J2EE-INTEREST".  For general help, send email to
listserv@(protected) and include in the body of the message "help".
<p>

©2008 junlu.com - Jax Systems, LLC, U.S.A.