Hi
I suggest separating the Project into 2 parts
1) Vitual application to read the log files
This can be achieved in tomcat
[ /conf/Catalina/localhost/ virtualdirectory.xml ] via remote directory
mount
"virtualdirectory.xml" can have something like this [real path of log files ]
<?xml version="1.0" encoding="UTF-8"?>
<Context
docBase="D:/JAVA/<Log file directory>"
useNaming="false">
</Context>
2) Now in u'r 2nd part of project u can call the URL as
http://<IP>/:<PORT>/virtualdirectory/ayx.log
With regards
Karthik
-----Original Message-----
From: Ganesh Sabbani [mailto:[email protected]]
Sent: Thursday, March 18, 2010 2:29 PM
To: [email protected]
Subject: Fwd: Tomcat not able to access folder which is in virtual drive
----- Forwarded Message -----
From: [email protected]
To: [email protected]
Sent: Thursday, March 18, 2010 2:16:39 PM GMT +05:30 Chennai, Kolkata, Mumbai,
New Delhi
Subject: Fwd: Tomcat not able to access folder which is in virtual drive
----- Forwarded Message -----
From: [email protected]
To: [email protected]
Sent: Thursday, March 18, 2010 1:12:52 PM GMT +05:30 Chennai, Kolkata, Mumbai,
New Delhi
Subject: Tomcat not able to access folder which is in virtual drive
Hi,
I am developing a project wherein it reads log files from virtual drive.
I have created the project in eclipse and it is working perfectly fine using
tomcat and reads the log files, but the issue which i am facing is when i
create a WAR file and deploy it on tomcat it is unable to access the virtual
drive!
And when i change the drive location to say c: or d: then i can see the
logs,cant figure out whats d problem for last 2days!!Please reply as soon as
possible.
Thanx.
Regards,
Ganesh Sabbani
---------------------------------------------------------------------
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]