Windows 2000 Service Classpath Issue...

2003-02-25 Thread Christopher Moon
Good Day,

I am running Tomcat 4.0.4 on Windows 2000.  It is currently setup to run
as a service.  

There are some jars that I want Tomcat to user.  However, the jars are
located on a remote machine.  Unfortunately, I cannot move them to the
the local machine.  I mapped the X drive to the remote machine and
changed the -Djava.class.path parameter in the registry to reflect the
new classes.  However, upon restarting the server the classes are still
not found. 

Anybody have any ideas on how I would go about loading these classes and
keep tomcat running as a service?

Thanks
Chris



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



Re: When to use two tomcat instances

2002-11-13 Thread Christopher Moon
I use multiple Tomcat instances...one for production, testing, development
and training.  I have decided to get with multiple instances for testing
and development it is nice to be able to test different versions of the
JDK, which to the best of my knowledge you cannot set in the server.xml
and it must be set via the $JAVA_HOME enviroment variable.  Please let me
know if this is incorrect because it would be great to not have to keep
multiple instances.  However, there is one other concern that made up go
with multiple instances.  Suppose, you make a change to the server
configuration that requires you to restart the instance.  If you are
running one instance with multiple server.xml's and restart the testing
instance you will also restart the production instance.  Again if I am
wrong please let me know.

Hope this helps
Chris


On Thu, 14 Nov 2002, Josh G wrote:

> You don't need two installs, just two server.xml files. I do it to keep both
> development and test versions of a site which uses the root context but
> doesn't justify an apache install.


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




RE: Error: Connection reset by peer: socket write error

2002-05-22 Thread Christopher Moon

Unfortunatley, it is not somebody pressing the stop button in the
browser.  I setup a separate apache instance to test that theory and I
would still get the same error when I connected and I am positive that I
did not press the stop button.

-Chris

-Original Message-
From: Peter Romianowski [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 22, 2002 11:02 AM
To: Tomcat Users List
Subject: RE: Error: Connection reset by peer: socket write error


Hi,

this error message simply states that the user
pressed the STOP-button in her browser, causing the
connection to be reset. so you are right when saying: "everything's fine
- i'll ignore it" :)

cheers,
Peter

> -Original Message-----
> From: Christopher Moon [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 22, 2002 4:53 PM
> To: 'Tomcat Users List'
> Subject: RE: Error: Connection reset by peer: socket write error
> 
> 
> I am using Tomcat 4.0.3 on win32 and get the same error.  I do not 
> think that upgrading will help.  In my case the error is not causing 
> any problems so I have not worried much about it
> 
> -Chris
> 
> -Original Message-
> From: Altug B. Altintas [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 22, 2002 10:48 AM
> To: Tomcat Users List
> Subject: Re: Error: Connection reset by peer: socket write error
> 
> 
> Hi ,
> 
> we have this error message too, our Tomcat version is 3.2.1 which is 
> running on Window 2000 Server. If we switch to 3.3.1 or 4.0x maybe it 
> is going to be ok  ?? any idea ? and one more question how can i add 
> new jar files to Tomcat 3.3.1. I paste all need jar files (for example

> :
> jfreechart0.8.4.jar) to
> 
> "lib\comman\ "  but it doesnt work and then i cut these jar files from

> there and paste them to
> 
> "lib\container" but the result is same .
> 
> What must i do ? any idea ?
> 
> Regards
> Altug.
> 
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 22, 2002 1:08 PM
> Subject: Error: Connection reset by peer: socket write error
> 
> 
> > Hello, everybody
> >
> > I know that everybody love Error message ... but maybe someone can
> > help
> me.
> >
> > I have this error on my tomcat window
> > 2002-05-22 11:36:05 - Ctx(/jetspeed) : IOException in R( /jetspeed +
> > /images/btn_persoHTML_allume.gif + null)
> > - java.net.SocketException: Connection reset by 
> > peer: socket write error
> > at java.net.SocketOutputStream.socketWrite(Native Method)
> > (...)
> >
> > Does anybody knows where it comes from, is it an error from tomcat 
> > or
> > jetspeed. (I think tomcat but am not sure)
> >
> > However, html page is well displayed with the image
> > "/images/btn_persoHTML_allume.gif "
> >
> >
> > Any help would be greatly appreciate :)
> >
> >
> > Pierre Besson-Deblon
> >
> >
> > --
> > 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]>
> 
> 
> --
> 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]>


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




RE: Error: Connection reset by peer: socket write error

2002-05-22 Thread Christopher Moon

I am using Tomcat 4.0.3 on win32 and get the same error.  I do not think
that upgrading will help.  In my case the error is not causing any
problems so I have not worried much about it

-Chris

-Original Message-
From: Altug B. Altintas [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 22, 2002 10:48 AM
To: Tomcat Users List
Subject: Re: Error: Connection reset by peer: socket write error


Hi ,

we have this error message too, our Tomcat version is 3.2.1 which is
running on Window 2000 Server. If we switch to 3.3.1 or 4.0x maybe it is
going to be ok  ?? any idea ? and one more question how can i add new
jar files to Tomcat 3.3.1. I paste all need jar files (for example :
jfreechart0.8.4.jar) to

"lib\comman\ "  but it doesnt work and then i cut these jar files from
there and paste them to

"lib\container" but the result is same .

What must i do ? any idea ?

Regards
Altug.


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 22, 2002 1:08 PM
Subject: Error: Connection reset by peer: socket write error


> Hello, everybody
>
> I know that everybody love Error message ... but maybe someone can 
> help
me.
>
> I have this error on my tomcat window
> 2002-05-22 11:36:05 - Ctx(/jetspeed) : IOException in R( /jetspeed + 
> /images/btn_persoHTML_allume.gif + null)
> - java.net.SocketException: Connection reset by 
> peer: socket write error
> at java.net.SocketOutputStream.socketWrite(Native Method)
> (...)
>
> Does anybody knows where it comes from, is it an error from tomcat or 
> jetspeed. (I think tomcat but am not sure)
>
> However, html page is well displayed with the image 
> "/images/btn_persoHTML_allume.gif "
>
>
> Any help would be greatly appreciate :)
>
>
> Pierre Besson-Deblon
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>


--
To unsubscribe, e-mail:

For additional commands, e-mail:



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




RE: Log the amount of time taken to complete a request...

2002-05-03 Thread Christopher Moon

I think that is the size in bytes of the request.  If I am wrong that
would be excellent!

Thanks
Chris

-Original Message-
From: peter lin [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 03, 2002 10:59 AM
To: Tomcat Users List
Subject: Re: Log the amount of time taken to complete a request...



I thought it already does in the access log.

127.0.0.1 - - [11/Apr/2002:14:21:44 -0500] "GET
/test.jsp?A=me&B=this&C=test HTTP/1.0" 200 17317

Isn't the number after 200 the response in milliseconds?

peter


Christopher Moon wrote:
> 
> Good Morning,
> 
> Is it possible for Tomcat to log the amount of taken to complete a 
> request.
> 
> With Apache you can use %T in your custom log directive.  Is there 
> anything similar in Tomcat?
> 
> Thanks
> Chris
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Log the amount of time taken to complete a request...

2002-05-03 Thread Christopher Moon

Good Morning,

Is it possible for Tomcat to log the amount of taken to complete a
request.

With Apache you can use %T in your custom log directive.  Is there
anything similar in Tomcat?

Thanks
Chris


--
To unsubscribe:   
For additional commands: 
Troubles with the list: