RE: Problem With Tomcat and NT service

2004-11-18 Thread Cox, Charlie
http://www.tburke.net/info/reskittools/topics/srvany_using.htm

See the paragraph about setting the working directory...

Charlie

> -Original Message-
> From: hui [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 18, 2004 9:15 AM
> To: 'Tomcat Users List'
> Subject: RE: Problem With Tomcat and NT service
> 
> Hi
> In this case, can we change the base directory?
> Regards,
> hui
> 
> -Original Message-
> From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 18, 2004 8:28 AM
> To: 'Tomcat Users List'
> Subject: RE: Problem With Tomcat and NT service
> 
> That's because when Tomcat is run as a service, it's base directory
becomes
> System32 instead of whatever dir you run the startup bat file in.
> 
> Chris
> 
> -Original Message-
> From: Raphael THIOLIERE [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 18, 2004 4:40 AM
> To: Tomcat Users List
> Subject: Problem With Tomcat and NT service
> 
> 
> Hello,
> 
> I use Tomcat like a server of webservices.
> When I run Tomcat with the script startup.bat, my application works fine.
> But when I want to launch Tomcat with the NT service (created by the
> install) it doesn't work : I have to copy a fichier in the directory
> system32.
> This fichier is use by my application, it contains the informations for
the
> connection at the SGBD.
> My version of tomcat is 4.1.
> Idea ?
> 
> If I use tomcat 3.3 ,I modify the fichier wrapper.properties and It works.
> 
> 
> Raphaël.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


RE: Problem With Tomcat and NT service

2004-11-18 Thread Shapira, Yoav

Hi,
You can "change the base directory" by changing the location from which you 
start the server, on some operating systems.  On others, this doesn't matter.  
Which is of course the problem with relying on a concept like base directory, 
or current working directory, as part of your design.  It's poor design that 
lacks in portability: change it.

Yoav Shapira http://www.yoavshapira.com


>-Original Message-
>From: hui [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 18, 2004 9:15 AM
>To: 'Tomcat Users List'
>Subject: RE: Problem With Tomcat and NT service
>
>Hi
>In this case, can we change the base directory?
>Regards,
>hui
>
>-Original Message-
>From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 18, 2004 8:28 AM
>To: 'Tomcat Users List'
>Subject: RE: Problem With Tomcat and NT service
>
>That's because when Tomcat is run as a service, it's base directory becomes
>System32 instead of whatever dir you run the startup bat file in.
>
>Chris
>
>-Original Message-
>From: Raphael THIOLIERE [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 18, 2004 4:40 AM
>To: Tomcat Users List
>Subject: Problem With Tomcat and NT service
>
>
>Hello,
>
>I use Tomcat like a server of webservices.
>When I run Tomcat with the script startup.bat, my application works fine.
>But when I want to launch Tomcat with the NT service (created by the
>install) it doesn't work : I have to copy a fichier in the directory
>system32.
>This fichier is use by my application, it contains the informations for the
>connection at the SGBD.
>My version of tomcat is 4.1.
>Idea ?
>
>If I use tomcat 3.3 ,I modify the fichier wrapper.properties and It works.
>
>
>Raphaël.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


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



RE: Problem With Tomcat and NT service

2004-11-18 Thread Hubble, Christopher
Not AFAIK.

Chris

-Original Message-
From: hui [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 9:15 AM
To: 'Tomcat Users List'
Subject: RE: Problem With Tomcat and NT service


Hi
In this case, can we change the base directory?
Regards,
hui

-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 8:28 AM
To: 'Tomcat Users List'
Subject: RE: Problem With Tomcat and NT service

That's because when Tomcat is run as a service, it's base directory becomes
System32 instead of whatever dir you run the startup bat file in.

Chris

-Original Message-
From: Raphael THIOLIERE [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 4:40 AM
To: Tomcat Users List
Subject: Problem With Tomcat and NT service


Hello,

I use Tomcat like a server of webservices.
When I run Tomcat with the script startup.bat, my application works fine.
But when I want to launch Tomcat with the NT service (created by the
install) it doesn't work : I have to copy a fichier in the directory
system32.
This fichier is use by my application, it contains the informations for the
connection at the SGBD.
My version of tomcat is 4.1.
Idea ?

If I use tomcat 3.3 ,I modify the fichier wrapper.properties and It works.


Raphaël.


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

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


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

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



RE: Problem With Tomcat and NT service

2004-11-18 Thread hui
Hi
In this case, can we change the base directory?
Regards,
hui

-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 8:28 AM
To: 'Tomcat Users List'
Subject: RE: Problem With Tomcat and NT service

That's because when Tomcat is run as a service, it's base directory becomes
System32 instead of whatever dir you run the startup bat file in.

Chris

-Original Message-
From: Raphael THIOLIERE [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 4:40 AM
To: Tomcat Users List
Subject: Problem With Tomcat and NT service


Hello,

I use Tomcat like a server of webservices.
When I run Tomcat with the script startup.bat, my application works fine.
But when I want to launch Tomcat with the NT service (created by the
install) it doesn't work : I have to copy a fichier in the directory
system32.
This fichier is use by my application, it contains the informations for the
connection at the SGBD.
My version of tomcat is 4.1.
Idea ?

If I use tomcat 3.3 ,I modify the fichier wrapper.properties and It works.


Raphaël.


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

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


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



RE: Problem With Tomcat and NT service

2004-11-18 Thread Hubble, Christopher
That's because when Tomcat is run as a service, it's base directory becomes
System32 instead of whatever dir you run the startup bat file in.

Chris

-Original Message-
From: Raphael THIOLIERE [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 4:40 AM
To: Tomcat Users List
Subject: Problem With Tomcat and NT service


Hello,

I use Tomcat like a server of webservices.
When I run Tomcat with the script startup.bat, my application works fine.
But when I want to launch Tomcat with the NT service (created by the
install) it doesn't work : I have to copy a fichier in the directory
system32.
This fichier is use by my application, it contains the informations for the
connection at the SGBD.
My version of tomcat is 4.1.
Idea ?

If I use tomcat 3.3 ,I modify the fichier wrapper.properties and It works.


Raphaël.


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

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