Re: Starting options

2005-09-21 Thread Krzysztof Graczyk

Tim Funk wrote:

I'm surprised the CATALINA_TMPDIR trick is not working. As for 
changing (server.xml and ROOT.xml)  - I think you are stuck with those 
in the situation you are describing.



Thanks for help. Maybe there is a way to change it tomcat sources ?



-Tim

Krzysztof Graczyk wrote:


Arup Vidyerthy wrote:


Sorry for being nosy but can I ask you exactly why do you want these
directories in different palces so that I can understand your problem a
little more? 


Yea, I have to change configuration scripts (server.xml and 
ROOT.xml), from external application, but it must be placed in 
somewhere where I have permission to change those files. In 
CATALINA_HOME and CATALINA_BASE I dont have privillages to write. I 
have to change this file because I want to set log dir paths and 
working paths to another destination.




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




--
BR
Krzysiek


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



RE: Starting options

2005-09-21 Thread Arup Vidyerthy
May be you should ask your IT guy to give you enough permission so that you
don't have to mess with all these things. It just sounds it's an too much
hard work to do what you want to do.  

-Original Message-
From: Krzysztof Graczyk [mailto:[EMAIL PROTECTED] 
Sent: 21 September 2005 07:53
To: Tomcat Users List
Subject: Re: Starting options

Tim Funk wrote:

 I'm surprised the CATALINA_TMPDIR trick is not working. As for 
 changing (server.xml and ROOT.xml)  - I think you are stuck with those 
 in the situation you are describing.

Thanks for help. Maybe there is a way to change it tomcat sources ?


 -Tim

 Krzysztof Graczyk wrote:

 Arup Vidyerthy wrote:

 Sorry for being nosy but can I ask you exactly why do you want these 
 directories in different palces so that I can understand your 
 problem a little more?

 Yea, I have to change configuration scripts (server.xml and 
 ROOT.xml), from external application, but it must be placed in 
 somewhere where I have permission to change those files. In 
 CATALINA_HOME and CATALINA_BASE I dont have privillages to write. I 
 have to change this file because I want to set log dir paths and 
 working paths to another destination.


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



--
BR
Krzysiek


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



___ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com

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



Re: Starting options

2005-09-20 Thread Tim Funk

See catalina.sh for options you can set on startup.

CATALINA_TMPDIR - should allow you to set your temp directory.

-Tim

Krzysztof Graczyk wrote:


Hi!

I have a question about starting options of Tomcat server.
Is there any starting option (from command line - 
org.apache.catalina.startup.Bootstrap start) or java virtual machine 
option that makes Tomcat to look for configuration file in other 
directories than $CATALINA_BASE or $CATALINA_HOME ?
And the second question - is there any possibility to make Tomcat to 
write any files it creates (like compiled jsp files and configuration 
files and temporary files) to a directory I want ?




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



Re: Starting options

2005-09-20 Thread Krzysztof Graczyk

Tim Funk wrote:


See catalina.sh for options you can set on startup.

CATALINA_TMPDIR - should allow you to set your temp directory.



Thanks for reply, but this doesn't solve the problem. Work directory is 
still written in $CATALINA_BASE, also log files are written in /tmp. I 
would like to customize it.


Additional question is that I want to remove directory 
$CATALINA_BASE/conf and place it somewhere else. Is it possible to tell 
tomcat where removed conf directory is ?


--
BR
Krzysiek


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



RE: Starting options

2005-09-20 Thread Arup Vidyerthy
Sorry for being nosy but can I ask you exactly why do you want these
directories in different palces so that I can understand your problem a
little more? 

-Original Message-
From: Krzysztof Graczyk [mailto:[EMAIL PROTECTED] 
Sent: 20 September 2005 15:44
To: Tomcat Users List
Subject: Re: Starting options

Tim Funk wrote:

 See catalina.sh for options you can set on startup.

 CATALINA_TMPDIR - should allow you to set your temp directory.


Thanks for reply, but this doesn't solve the problem. Work directory is
still written in $CATALINA_BASE, also log files are written in /tmp. I would
like to customize it.

Additional question is that I want to remove directory $CATALINA_BASE/conf
and place it somewhere else. Is it possible to tell tomcat where removed
conf directory is ?

--
BR
Krzysiek


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



___ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com

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



Re: Starting options

2005-09-20 Thread Krzysztof Graczyk

Arup Vidyerthy wrote:


Sorry for being nosy but can I ask you exactly why do you want these
directories in different palces so that I can understand your problem a
little more? 
 

Yea, I have to change configuration scripts (server.xml and ROOT.xml), 
from external application, but it must be placed in somewhere where I 
have permission to change those files. In CATALINA_HOME and 
CATALINA_BASE I dont have privillages to write. I have to change this 
file because I want to set log dir paths and working paths to another 
destination.


--
BR
Krzysiek


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



Re: Starting options

2005-09-20 Thread Tim Funk
I'm surprised the CATALINA_TMPDIR trick is not working. As for changing 
(server.xml and ROOT.xml)  - I think you are stuck with those in the 
situation you are describing.


-Tim

Krzysztof Graczyk wrote:


Arup Vidyerthy wrote:


Sorry for being nosy but can I ask you exactly why do you want these
directories in different palces so that I can understand your problem a
little more?  

Yea, I have to change configuration scripts (server.xml and ROOT.xml), 
from external application, but it must be placed in somewhere where I 
have permission to change those files. In CATALINA_HOME and 
CATALINA_BASE I dont have privillages to write. I have to change this 
file because I want to set log dir paths and working paths to another 
destination.




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