Hello,
I've a developed a simple servlet in Eclipse which is supposed to display a
welcome message stored in /conf/Catalina/localhost/context.xml.
When I run the web application from Eclipse in a local Tomcat instance, I get
the following message:
"javax.naming.NameNotFoundException: The name
I figured it out.
Let say /mnt/mynfsserver_img/ contains an image called myimage.png.
If you create the below pre-resource in context.xml, you can access that image
by typing http://localhost:8080/img/myimage.png.
Philippe
- Mail original -
De: phi...@free.fr
À: "Tomcat Users List"
E
I have solved the problem by replacing PostResources by PreResources (cf.
http://mikusa.blogspot.fr/2014/07/tips-on-migrating-to-tomat-8-resources.html).
Now I need to figure out how to use the webAppMount. Any suggestions?
Philippe
- Mail original -
De: phi...@free.fr
À: users@tomc
Hello,
in my Apache 8 context.xml file, I have created the following resource:
where /mnt/mynfsserver_img is a mounted volume containing thousands of photos
in sub-directories.
When I start Tomcat 8, I get the following error message:
-
Hello,
is there a way to access the contents of a directory (e.g., images) on a remote
[Windows] network drive, which is mounted on a Linux filesystem (e.g.,
/mnt/myremotedrive), from a Java application running on a Tomcat Server?
What makes this task problematic is the fact that the images are