Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / November 2005

Tip: Looking for answers? Try searching our database.

Tomcat permission to write to Apache

Thread view: 
PrinceJigar - 28 Nov 2005 22:10 GMT
Hi all,
I am using Tomcat and Apache. The configuration and set up has already
been done before.

All the .jsp pages are handled by tomcat and all others are handled by
Apache.

I have to write a file where it should be accessible in an instant
after its created. The problem is that i can only make Tomcat write to
/var/tomcat/temp folder. I can't make it to write to
/public/htdocs/folder/folder/test.txt where I can later put a URL to as
in http://mywebsite/folder/folder/test.txt.

Do you know where would I have the information ..i checked in
Catalina.policy on giving Tomcat 5 permission to write to Apache
directories.

I dont want to put a command to copy files from tomcat/temp to Apache
directories.
PrinceJigar - 28 Nov 2005 22:13 GMT
I found it. I just made Tomcat handle everything under a particular
folder so even .txt files will be handled by tomcat instead of just
*.jsps and this was in mod_jk.conf


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.