tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas" <sardanapalos...@hotmail.com>
Subject Re: Runtime created files not accessible.Please help.
Date Thu, 24 Apr 2008 14:13:54 GMT
mmm, I am not sure i got what you mean by "listed", but I will try to 
describe to you the situation.

catalina home:  C:\Program Files\Apache Software Foundation\Tomcat 6.0
my project folder:   C:\Program Files\Apache Software Foundation\Tomcat 
6.0\PROTEUS_9
(i build-deploy-run it through NetBeans 6.0.1)

web folder of project(containing pages) : C:\Program Files\Apache Software 
Foundation\Tomcat 6.0\PROTEUS_9\web

usersessions folder:  C:\Program Files\Apache Software Foundation\Tomcat 
6.0\PROTEUS_9\web\UserSessions

an istance of a created folder at runtime is this: C:\Program Files\Apache 
Software Foundation\Tomcat 
6.0\PROTEUS_9\web\UserSessions\admin_Thu_Apr_24_00.30.09_2008

and here is where i put everything the user downloads or creates,  so that 
he will b able to retrieve it after the end of session.

If by chance you would like to warn me for the dots '.' in the path name or 
the capital letters , I could say tha I have tried to create simple path 
names without
any dots or special characters and i had the same problem.

Thnx so much.

Andreas.

----- Original Message ----- 
From: "Milanez, Marcus" <Marcus.Milanez@diebold.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, April 24, 2008 4:44 PM
Subject: RES: Runtime created files not accessible.Please help.



Could you please list the part of your code where you list the created
files? Where are they located, inside your webapp folder?

Yours,

Marcus Milanez

-----Mensagem original-----
De: Andreas [mailto:sardanapalos928@hotmail.com]
Enviada em: quinta-feira, 24 de abril de 2008 10:39
Para: Tomcat Users List
Assunto: Re: Runtime created files not accessible.Please help.

Hello and many thnx for interest and help.

Yes, I do see the folders/files created by Java code during runtime with
file viewers, they seem all fine.

But tomcat won't open/see them, and even if i try to put the URL in my
browser I get HTTP Status 404.

The code is pretty much basic, Java.IO , FileReader/Writer and so on.

Tell me  please if i can be more specific or I should post something
more.

Thanx a lot,

Best Regards,

Andreas, Greece.

----- Original Message -----
From: "Milanez, Marcus" <Marcus.Milanez@diebold.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, April 24, 2008 4:28 PM
Subject: RES: Runtime created files not accessible.Please help.


Hi Andreas,

We do pretty much the same here and it is working fine. Could you please
post some parts of your code, so that we can see how you specify your
physical folders? Can you see the folders/files created using a file
viewer ?

Yours,

Marcus Milanez

-----Mensagem original-----
De: Andreas [mailto:sardanapalos928@hotmail.com]
Enviada em: quinta-feira, 24 de abril de 2008 10:22
Para: users@tomcat.apache.org
Assunto: Runtime created files not accessible.Please help.

Hello everyone!

I have developed a jsf(java server faces) web application running on
tomcat 6.0 .

Maybe my questions will be a bit naive, but i kindly ask for your help
since i am not able to find solution myself.

The problem is this:

My web server needs to create new folders and write files in the folders
so that the end user will b able to download later.
The files I download or I create though, and save in my new folders
created at runtime, are not available for tomcat...
I get HTTP Status 404 , and I am unable to open them at runtime back
from the local disk.

So, what should I do to make the newly created folders and files
instantly available in Tomcat without restarting???
And what is the proper place for someone to put his application folder??

Thank you very much for your help...


Andreas, Greece.

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



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


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



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


Mime
View raw message