You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Miren Urkixo <mi...@tinieblas.com> on 2007/10/25 23:07:26 UTC
tomcat and dir for writting
Hello
i have my tomcat into the /usr/share/tomcat5 directory
i have some (10) applications running into this tomcat.
I have one appache and using the jk connector i am runnig the apache +
tomcat.
well.
i have into my server one dir /tmp/files for wriiting the apllications, my
java applications but how can i say to tomcat that this directory is into
the path?
using weblogic i make this:
set CONFIG=C:/config
set WEBLOGIC_CLASSPATH=%CONFIG%
set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
and fom the weblogic i can using this directory for wrttinf from all
applications
But how can y made thisinto tomcat?
thanks
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: tomcat and dir for writting
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Miren,
Miren Urkixo wrote:
> and from weblogic I can use this directory to write from all
> applications
>
> But how can I accomplish this in tomcat?
The CLASSPATH variable should have nothing to do with where your
application can write. If you need to write files (such as a log file),
you can simply open up a stream to any file you want (barring any
permissions issues).
I'm not sure you need to include C:\Config in your CLASSPATH for any reason.
Did I misunderstand your question?
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHIQ3J9CaO5/Lv0PARAo5/AKCbBCS9OJz9QBexmokGkyKoVaPokgCglF5U
UJdwVQ6OX4Wmg+h4P+4SktA=
=IDBa
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org