Hi, I'm quiet keen to use fmprod to download data - https://cwiki.apache.org/OODT/getting-products-from-a-remote-filemanager.html ,
I've followed the instructions that Chris suggested in a post from earlier this year to get the fmprod up and running- http://mail-archives.apache.org/mod_mbox/oodt-dev/201104.mbox/%[email protected]%3E The steps I followed are: 1. cp fmprod/src/main/resources/cas-product-tomcat-5-5-9.xml /usr/local/oodt/webapp/fmprod/fmprod.xml I also copied the rdconf.xml and rssconf.xml files to the same dir. 2. edit fmprod.xml and change path to WAR file and configuration properties <Context path="/fmprod" docBase="/usr/local/oodt/webapp/fmprod/cas-product-0.4-SNAPSHOT.war" debug="5" reloadable="true" crossContext="true"> <Valve className="org.apache.catalina.valves.AccessLogValve" prefix="fmprod_access_log." suffix=".txt" pattern="common" /> <Parameter name="filemgr.url" value="http://localhost:9000" override="false" /> <Parameter name="filemgr.rdfconf.file" value="/usr/local/oodt/webapp/fmprod/rdfconf.xml" override="false"/> <Parameter name="filemgr.rssconf.file" value="/usr/local/oodt/webapp/fmprod/rssconf.xml" override="false"/> <Parameter name="filemgr.working.dir" value="/tmp" override="false" /> </Context> 3. cp fmprod/target/cas-product-0.4-SNAPSHOT.war /usr/local/oodt/webapp/fmprod/ 4. ln -s /usr/local/oodt/webapps/fmprod/fmprod.xml /usr/local/apache-tomcat-5.5.34/conf/Catalina/localhost/fmprod.xml 5. fire up Tomcat Here is the command I ran to get a product: wget http://localhost:8080/fmprod?productID=17be0f0b-16a2-11e1-8a8f-772c84efd90f The response I got was: --2011-12-22 14:33:28-- http://localhost:8080/fmprod?productID=17be0f0b-16a2-11e1-8a8f-772c84efd90f Resolving localhost... ::1, 127.0.0.1 Connecting to localhost|::1|:8080... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://localhost:8080/fmprod/?productID=17be0f0b-16a2-11e1-8a8f-772c84efd90f[following] --2011-12-22 14:33:28-- http://localhost:8080/fmprod/?productID=17be0f0b-16a2-11e1-8a8f-772c84efd90f Connecting to localhost|::1|:8080... connected. HTTP request sent, awaiting response... 404 Not Found 2011-12-22 14:33:28 ERROR 404: Not Found. I've looked at the log files in /usr/local/apache-tomcat-5.5.34/logs/ cas_filemgr0.log cas_filemgr0.log.lck cas_filemgr1.log cas_filemgr2.log cas_filemgr3.log cas_filemgr4.log catalina.2011-12-22.log catalina.out fmprod_access_log.2011-12-22.txt host-manager.2011-12-22.log localhost.2011-12-22.log manager.2011-12-22.log I've attached some of the more interesting logs. I'm not sure where to even start debugging, but I though I would check that I've not missed some critical configuration. Or if someone could point me in the right direction :-) Thanks for any help in advance, Tom PS: I'm running on Ubuntu Linux. I downloaded tomcat5.5.34. Using java-6-openjdk
cas.logs.tar.gz
Description: GNU Zip compressed data
