Re: Java version

2002-06-13 Thread kf platypus

I might be wrong but wouldn't you need at least a 1.2 jvm for the 
servlet/jsp architecture. I'm pretty sure others will agree. Give that a 
whirl. 1.3.1 is the latest fully supported JVM.


>From: Matthew Oatham <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: Java version
>Date: Thu, 13 Jun 2002 14:33:32 +0100
>
>Hi,
>
>I've downloaded Tomcat 4.0.3 for Solaris 2.6 but not sure it's starting up
>correctly, when I run shutdown.sh I get a Java exception.
>
>My first thought is the JVM version does anyone know which version Tomcat
>4.0.3 needs? I'm using 1.1.3.
>
>Many thanks
>
>Matt.
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>
>




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: measuring round trip time

2002-06-12 Thread kf platypus


>From: Steven Elliott <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Re: measuring round trip time
>Date: Wed, 12 Jun 2002 17:49:58 +0100
>
>On 12/06/02 17:03, "[EMAIL PROTECTED]"
><[EMAIL PROTECTED]> wrote:
>
> > From: [EMAIL PROTECTED]
> > Date: Wed, 12 Jun 2002 17:32:19 +0200
> > To: [EMAIL PROTECTED]
> > Subject: measuring round trip time
> >
> > Hi All
> >
> > I would like to measure the round trip time for packets from tomcat to a
> > client (and back). Is ther a simple way to do this (I just can immagine 
>a
> > "complex" one using an applet ...).
> >
> > Thank for any tip
> > Philipp
>
>I use a combination of javascript ( Date.parse(new Date() ) will give you
>milliseconds for client side round trip).  Server side use
>System.currentTimeMillis() for measuring roundtrip and other internals such
>as measuring Connections, database query times, et al.
>
>It all then gets displayed in a separate browser window and updates upon
>each client request.  Mostly use it for debugging.  Problem is that
>Microsoft claims that their browser supports millisecond date functions but
>it appears that it is only second accurate.  Still I find it useful and of
>course the server side timings are accurate.
>
>You don't need an applet which would just introduce additional overhead not
>related to the timings?

I should of know that JavaScript was available when you said applet. If 
thats the case images have an onLoad method which you can use to fire the 
timer in the fashion that he was speaking.

>
>HTH
>
>Steven
>
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: measuring round trip time

2002-06-12 Thread kf platypus

I tried to do the same thing except the problem is that Java seems to use 
some sort of TCP/IP buffer so it's impossible to get accurate readings with 
that small amount of data. An ISAPI filter was my only solution. Even though 
afterwards in passing I did see something about disabling any buffering. So 
I don't know, see if you can find anything on that.

Regards!


>From: [EMAIL PROTECTED]
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: measuring round trip time
>Date: Wed, 12 Jun 2002 17:32:19 +0200
>
>Hi All
>
>I would like to measure the round trip time for packets from tomcat to a
>client (and back). Is ther a simple way to do this (I just can immagine a
>"complex" one using an applet ...).
>
>Thank for any tip
>Philipp
>
>-Ursprüngliche Nachricht-
>Von: Louis Voo [mailto:[EMAIL PROTECTED]]
>Gesendet am: Mittwoch, 12. Juni 2002 17:02
>An: Tomcat Users List
>Betreff: Re: Tomcat does not Auto-reload.
>
>I have this problem b4, but someone told me add reloadable="true" in
>DefaultContext tag
>
>
>   
>
> className="org.apache.catalina.connector.warp.WarpConnector"
>  port="8008" minProcessors="5" maxProcessors="75"
>  enableLookups="true" appBase="webapps"
>  acceptCount="10" debug="0"/>
>
> 
>   name="Apache" debug="0">
>   
>
>   
>  prefix="apache_log." suffix=".txt"
>   timestamp="true"/>
>
>   
>   
>
> 
>
>   
>
>
>- Original Message -
>From: "Rui Oliveira" <[EMAIL PROTECTED]>
>To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
>Sent: Wednesday, June 12, 2002 3:49 PM
>Subject: RE: Tomcat does not Auto-reload.
>
>
> > When is this destroy method invoked? If I copy the newer version of the
> > servlet to the WEB-INF/classes directory, how will a destroy method be
> > helpful?
> >
> > Rui
> >
> > > -Original Message-
> > > From: kf platypus [mailto:[EMAIL PROTECTED]]
> > > Sent: quarta-feira, 12 de Junho de 2002 15:29
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Tomcat does not Auto-reload.
> > >
> > > That's due in part to the servlet architectures caching mechanism.
> > > Typically
> > > we added a method to each servlet to destroy it. I don't know if
> > there's a
> > > better method than that though as I know I would like to see one
> > because
> > > they bith seem a bit ghetto.
> > >
> > > Regards!
> > >
> > >
> > > >From: "Rui Oliveira" <[EMAIL PROTECTED]>
> > > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > > >To: <[EMAIL PROTECTED]>
> > > >Subject: Tomcat does not Auto-reload.
> > > >Date: Wed, 12 Jun 2002 15:26:23 +0100
> > > >
> > > >Hello,
> > > >
> > > >
> > > >
> > > >My Tomcat does not auto-reloads the servlets. Whenever I compile my
> > > >servlets, I place them under the WEB-INF/classes dir, but they simple
> > do
> > > >not auto-reload. I have to restart TOMCAT before the update takes
> > > >effect.
> > > >
> > > >
> > > >
> > > >Can someone tell me why?
> > > >
> > > >
> > > >
> > > >I'm using Tomcat 4.0.1 on RedHat 7.2 (kernel 2.4.7). GLibc 2.2.4.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >Thx
> > > >
> > > >Rui
> > > >
> > >
> > >
> > >
> > > _
> > > Get your FREE download of MSN Explorer at
> > > http://explorer.msn.com/intl.asp.
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:   <mailto:tomcat-user-
> > > [EMAIL PROTECTED]>
> > > For additional commands, e-mail: <mailto:tomcat-user-
> > > [EMAIL PROTECTED]>
> > >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
> >
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Tomcat does not Auto-reload.

2002-06-12 Thread kf platypus

just do something like:

if(request.getParameter("quit") == "1"){
//insert destroy code here
}

then just call http://yourdomain.com/servlet?quit=1

Regards!



>From: "Rui Oliveira" <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
>Subject: RE: Tomcat does not Auto-reload.
>Date: Wed, 12 Jun 2002 15:49:29 +0100
>
>When is this destroy method invoked? If I copy the newer version of the
>servlet to the WEB-INF/classes directory, how will a destroy method be
>helpful?
>
>Rui
>
> > -Original Message-
> > From: kf platypus [mailto:[EMAIL PROTECTED]]
> > Sent: quarta-feira, 12 de Junho de 2002 15:29
> > To: [EMAIL PROTECTED]
> > Subject: Re: Tomcat does not Auto-reload.
> >
> > That's due in part to the servlet architectures caching mechanism.
> > Typically
> > we added a method to each servlet to destroy it. I don't know if
>there's a
> > better method than that though as I know I would like to see one
>because
> > they bith seem a bit ghetto.
> >
> > Regards!
> >
> >
> > >From: "Rui Oliveira" <[EMAIL PROTECTED]>
> > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Subject: Tomcat does not Auto-reload.
> > >Date: Wed, 12 Jun 2002 15:26:23 +0100
> > >
> > >Hello,
> > >
> > >
> > >
> > >My Tomcat does not auto-reloads the servlets. Whenever I compile my
> > >servlets, I place them under the WEB-INF/classes dir, but they simple
>do
> > >not auto-reload. I have to restart TOMCAT before the update takes
> > >effect.
> > >
> > >
> > >
> > >Can someone tell me why?
> > >
> > >
> > >
> > >I'm using Tomcat 4.0.1 on RedHat 7.2 (kernel 2.4.7). GLibc 2.2.4.
> > >
> > >
> > >
> > >
> > >
> > >Thx
> > >
> > >Rui
> > >
> >
> >
> >
> > _
> > Get your FREE download of MSN Explorer at
> > http://explorer.msn.com/intl.asp.
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:tomcat-user-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:tomcat-user-
> > [EMAIL PROTECTED]>
> >
>
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>




_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Tomcat does not Auto-reload.

2002-06-12 Thread kf platypus

That's due in part to the servlet architectures caching mechanism. Typically 
we added a method to each servlet to destroy it. I don't know if there's a 
better method than that though as I know I would like to see one because 
they bith seem a bit ghetto.

Regards!


>From: "Rui Oliveira" <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Tomcat does not Auto-reload.
>Date: Wed, 12 Jun 2002 15:26:23 +0100
>
>Hello,
>
>
>
>My Tomcat does not auto-reloads the servlets. Whenever I compile my
>servlets, I place them under the WEB-INF/classes dir, but they simple do
>not auto-reload. I have to restart TOMCAT before the update takes
>effect.
>
>
>
>Can someone tell me why?
>
>
>
>I'm using Tomcat 4.0.1 on RedHat 7.2 (kernel 2.4.7). GLibc 2.2.4.
>
>
>
>
>
>Thx
>
>Rui
>



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: help me

2002-06-12 Thread kf platypus

Your JAVA_HOME environment variable should be set to c:\jdk1.3 and not 
c:\jdk1.3\bin and that should solve it.

Regards!


>From: puneet sachar <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: Tomcat Users List <[EMAIL PROTECTED]>
>Subject: Re: help me Date: Wed, 12 Jun 2002 05:14:57 -0700 (PDT)
>
>siva,,,
>
>i 'm facing same probelm for 5 days and no one helped
>me...
>
>shankar is there u asked him
>he is there in developer form..he will definately help
>u''
>
>Puneet
>--- siva murugan <[EMAIL PROTECTED]> wrote:
> > Sir/Madam,
> >
> >  Fine and expect the same from U and all.
> >
> >  Iam SivaMurugan from INDIA. Just minutes back i
> > downloaded jakarta-tomcat-4.0-20020530.zip from
> > http://jakarta.apache.org site.
> >
> >  I tried my first servlet file in the name of
> > admin.java . I created the file and stored in the
> > directory of
> > c:\jakarta-tomcat-4.0\webapps\Root\WEB-INF . I
> > compiled using javadoc and i got the admin.class
> > file
> > without any error, on my first attempt. To be frank
> > i
> > was really feeeling great , since its my first time
> > downloading and running a program on an webserver.
> > Before that i set the classpath. I am using windows
> > 2000 server. So i set the classpath in
> >
>MyComputer/Properties/SystemProperties/Advanced/Environmet
> > Variables/SystemVariables. Actually i set the
> > classpath as
> >
>c:\jakarta-tomcat-4.0\common\lib\servlet.jar;c:\jdk1.3\bin;
> >
> >  Now tried to run the Tomcatwebserver from the
> > directory c:\jakarta-tomcat-4.0\bin\startup and
> > unfortunately i couldn't do that. Its showing the
> > following error.
> >
> >  The JAVA_HOME environment variable is not defined
> >  This environment Variable is needed to run this
> > program
> >  Using CATALINA_BASE:  ..
> >  Using CATALINA_HOME:  ..
> >  Using CATALINA_TEMPDIR:  ..\temp
> >  Using JAVA_HOME:
> >  The System cannot find the file
> > -Djava.endorsed.dirs=.
> >
> > So i tried to set the JAVA_HOME enviroment variable
> > as
> > c:\jdk1.3\bin; Then i tried again, now also iam
> > getting the same error. What wrong? Please help me..
> >
> >
> >  Iam using
> > JAVA VERSION 1.3.01
> > JAVA(TM)2 RUN TIMEENVIRONMENT, STANDARD EDITION
> > (BUILD  1.3.01)
> > JAVA HOTSPOT(TM) CLIENT VM (BUILD 1.3.01, MIXED
> > MODE)
> >
> >  Waiting for a +ive and immediate mail from U
> > Sir/Madam.
> >
> > Love,
> > Siva
> >
> >
> >
> > __
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> > 
> > For additional commands, e-mail:
> > 
> >
>
>
>__
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>http://fifaworldcup.yahoo.com
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: