Hi,

I have a NPAPI plugin which gets a notification from my middleware whenever a 
USB MSD device is connected to the system. The HTML page which loads the 
plug-in then plays the Media (audio/video/pictures) that are present in the USB 
drive. This html page is served from a local tomcat server (the same PC to 
which the USB MSD device has been connected). To enable access to USB Device 
from the HTML page (served from tomcat6 server), I have added following lines 
in /etc/tomcat6/server.xml (in Ubuntu 10.10):

<Context path="/usb_0" docBase="/media/WCF/usb_0/"/>

<Context path="/usb_1" docBase="/media/WCF/usb_1/"/>

<Context path="/usb_2" docBase="/media/WCF/usb_2/"/>

<Context path="/usb_3" docBase="/media/WCF/usb_3/"/>

<Context path="/usb_4" docBase="/media/WCF/usb_4/"/>

<Context path="/albumart" docBase="/mnt/WCFRamDisk/"/>

When I am pluggin in the first USB device (which is mounted at 
/media/WCF/usb_0), I am able to access the device content from my HTML page 
(served from my tomcat6 server ) but when I am connecting the second USB device 
which is mounted at /media/WCF/usb_1, I am not able to access its content.

In the browser when I am trying to check the content of 
http://localhost:8080/usb_1/ by typing the URL in the address bar, I am getting 
error resource not available. For usb_0, I am able to see the resources.

Can some please tell me whether I am missing any tomcat6 server specific 
configuration here? I have tried restarting tomcat6 server but the result is 
the same. Please advice.

Thanks and Regards,

Souvik


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com

Reply via email to