-
1. Re: Accessing files outside depolyed .EAR file
julien1 Jun 11, 2004 10:04 AM (in response to bahman)what is serving your images to the clients ?
-
2. Re: Accessing files outside depolyed .EAR file
bahman Jun 11, 2004 11:09 AM (in response to bahman)The product (a web based service) has many images which will be visible on the site, such as logo, buttons etc...
These images are placed in a file called images. The EAR file now has to access this folder to get the necessary images. -
3. Re: Accessing files outside depolyed .EAR file
julien1 Jun 11, 2004 11:47 AM (in response to bahman)your ear contains a web component (servlet probably) that serve the images to the client. you should debug this servlet to see if it has access to this location or not
-
4. Re: Accessing files outside depolyed .EAR file
bahman Jun 14, 2004 6:12 AM (in response to bahman)All the necessary permissions have been given.
We wish there was a way to tell the jetty/Jboss that a folder (not zip filez etc) is available and try fining the info there, if not then look in the container.... -
5. Re: Accessing files outside depolyed .EAR file
mrgarageman Jun 26, 2004 12:50 PM (in response to bahman)Try turning allowLinking="true" or similar function in your server setup. This function will allow you to open files outside servers directories and access them via web browser. Next, make a link to the folder you want to serve. If you have X turned on just right click on the folder that you want served and select "make link". This will create a file called "linked to <the folder name>". Rename the link folder with a sensible name then copy this link to your web app folder and thats it. Try accessing it in the browser http://youserver/yourwebapp/thelinkfolder/