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]



Starting options

2005-09-20 Thread Krzysztof Graczyk

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 ?


--
BR
Krzysiek


-
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 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]