Well, if you have a new version of a servlet and if its in the
server_root/servlets dir, JWS should automatically reload it. Its an
on-the-fly process.


---Oguz Baktir <[EMAIL PROTECTED]> wrote:
>
> I need to restart the JWS to be able to run new version of my
servlets.
> The below staff exist in my autoexec.bat file. What should I do?
Please help me.
>
> my autoexec.bat:
> C:\PROGRA~1\MCAFEE\VIRUSS~1\SCANPM.EXE C:\
> doskey
> @IF ERRORLEVEL 1 PAUSE
> SET
CLASSPATH=.;C:\jdk\jre\lib;c:\jdk\lib;c:\jsdk.jar;c:\lib\classes.zip;c:\jsdk\lib;C:\JavaWebServer1.1.3\servlets\;C:\JavaWebServer1.1.3\bin;D:\Senior
> rem
classpath=.;c:\lib\classes.zip;c:\lib\jsdk.jar;c:\jsdk\lib;c:\jdk\src;c:\lib
> rem classpathh=.;c:\web\classes\classes.zip
> SET PATH=%PATH%;c:\jdk\bin;c:\jsdk\bin;c:\jdk\include;c:\jdk\jre\bin
>
>     -----Original Message-----
>     From: Kenia Nimesh <[EMAIL PROTECTED]>
>     To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>     Date: Tuesday, April 27, 1999 11:37 AM
>     Subject: Re: Restarting JWS to reload a new version of servlet?
>
>
>     Well I had come across this problem .It is the problem with yur
settings in the autoexec.bat file
>     Make sure that foll is properly set in the file
>     set classpath =c:\jsdk2.0\lib;
>     path = c:\jsdk2.0\bin;
>     This will solve yur problem
>
>     Nimesh
>         -----Original Message-----
>         From: Èåüäùñïò � õñéìáëÞò
<[EMAIL PROTECTED]>
>         To: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
>         Date: Monday, April 26, 1999 5:14 PM
>         Subject: Restarting JWS to reload a new version of servlet?
>
>
>         Hi. I am using JWServer 1.1.3 for developing and testing
servltes. I encounter the following problem.
>
>         When I make some changes to the source code and then rebuild
my servlet, (and the servletname.class is updated in the ../servlet
directory), I try to reload the "new" servlet (using Netscape 4.5),
but instead the old version is reloaded.
>         So I have to shut down the server through the Administrative
tool, then restart the server again, reload the servlet through the
browser, and only then I see the "new" servlet. This takes time, and
seems silly to me. Is it a better and quicker way to reload the "new"
servlet? (perhaps a function provided by the Administrative tool?)
>
>         Theo
>
<HR>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=utf-8
http-equiv=Content-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3
HTML//EN"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
<STYLE></STYLE>

</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>I need to restart the JWS to be able
to run new
version of my servlets.</FONT></DIV>
<DIV><FONT size=2>The below staff exist in my autoexec.bat file. What
should I
do? Please help me.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>my autoexec.bat:</FONT></DIV>
<DIV><FONT size=2>C:\PROGRA~1\MCAFEE\VIRUSS~1\SCANPM.EXE
C:\<BR>doskey<BR>@IF
ERRORLEVEL 1 PAUSE<BR>SET
CLASSPATH=.;C:\jdk\jre\lib;c:\jdk\lib;c:\jsdk.jar;c:\lib\classes.zip;c:\jsdk\lib;C:\JavaWebServer1.1.3\servlets\;C:\JavaWebServer1.1.3\bin;D:\Senior<BR>rem

classpath=.;c:\lib\classes.zip;c:\lib\jsdk.jar;c:\jsdk\lib;c:\jdk\src;c:\lib<BR>rem

classpathh=.;c:\web\classes\classes.zip<BR>SET
PATH=%PATH%;c:\jdk\bin;c:\jsdk\bin;c:\jdk\include;c:\jdk\jre\bin<BR></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT:
5px">
    <DIV><FONT face=Arial size=2><B>-----Original
Message-----</B><BR><B>From:
    </B>Kenia Nimesh <<A
    href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>><BR><B>To: </B><A

href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>

    <<A

href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>><BR><B>Date:

    </B>Tuesday, April 27, 1999 11:37 AM<BR><B>Subject: </B>Re:
Restarting JWS
    to reload a new version of servlet?<BR><BR></DIV></FONT>
    <DIV><FONT color=#000000 size=2>Well I had come across this
problem .It is
    the problem with yur settings in the autoexec.bat file</FONT></DIV>
    <DIV><FONT color=#000000 size=2></FONT><FONT size=2>Make sure that
foll is
    properly set in the file</FONT></DIV>
    <DIV><FONT size=2>set classpath =c:\jsdk2.0\lib;</FONT></DIV>
    <DIV><FONT size=2>path = c:\jsdk2.0\bin;</FONT></DIV>
    <DIV><FONT size=2>This will solve yur problem</FONT></DIV>
    <DIV><FONT size=2></FONT> </DIV>
    <DIV><FONT size=2>Nimesh</FONT></DIV>
    <BLOCKQUOTE
    style="BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px;
PADDING-LEFT: 5px">
        <DIV><FONT face=Arial size=2><B>-----Original
        Message-----</B><BR><B>From:
        </B>��������
        ���������
        <<A

href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>><BR><B>To:

        </B><A

href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>

        <<A

href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>><BR><B>Date:

        </B>Monday, April 26, 1999 5:14 PM<BR><B>Subject:
</B>Restarting JWS to
        reload a new version of servlet?<BR><BR></DIV></FONT>
        <DIV>
        <DIV>Hi. I am using JWServer 1.1.3 for developing and testing
servltes.
        I encounter the following problem.</DIV>
        <DIV> </DIV>
        <DIV>When I make some changes to the source code and then
rebuild my
        servlet, (and the servletname.class is updated in the
../servlet
        directory), I try to reload the "new" servlet (using Netscape
        4.5), but instead the old version is reloaded.</DIV>
        <DIV>So I have to shut down the server through
the Administrative
        tool, then restart the server again, reload the servlet
through the
        browser, and only then I see the "new" servlet. This takes
        time, and seems silly to me. Is it a better and quicker way to
reload
        the "new" servlet? (perhaps a function provided by the
        Administrative tool?)</DIV>
        <DIV> </DIV>
        <DIV>Theo</DIV></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>


_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
  • ... Θεόδωρος Κυριμαλής
    • ... Kenia Nimesh
      • ... Θεόδωρος Κυριμαλής
    • ... Oguz Baktir
    • ... Jeetandra Mahtani
      • ... James Duncan Davidson

Reply via email to