|
From: Bryan T. <br...@sy...> - 2012-04-02 09:47:56
|
László, The location of the RWStore.properties file is specified in bigdata/WEB-INF/web.xml by the following line: <param-value>../webapps/bigdata/RWStore.properties</param-value> The RWStore.properties file is in bigdata/RWStore.properties. If you are having problems, you are probably not in the 'bin' directory when you start the servlet engine. Per [1], you are advised to edit web.xml before starting bigdata since relative path names for files are not as reliable. You should also edit the RWStore.properties to ensure that the configuration conforms to your requirements. Please see [1] for guidence on setup of the bigdata WAR. Thanks, Bryan [1] https://sourceforge.net/apps/mediawiki/bigdata/index.php?title=NanoSparqlServer#Servlet_Container_.28Tomcat.2C_etc.29 ________________________________ From: László Török [mailto:las...@eb...] Sent: Monday, April 02, 2012 4:39 AM To: big...@li... Subject: [Bigdata-developers] bigdata 1.2 war throws an exception when deployed to Jetty 7.6 Hi, I downloaded the latest .war distribution and dropped it into my jetty webapps folder. However, I get the following exception at startup (although the RWStore.properties is in place): 2012-04-02 10:37:44.374:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/bigdata,file:/Users/laczoka/apps/jetty-distribution-7.6.0.v20120127/webapps/bigdata/},/Users/laczoka/apps/jetty-distribution-7.6.0.v20120127/webapps/bigdata.war java.lang.RuntimeException: Could not find file: ../webapps/bigdata/RWStore.properties at com.bigdata.rdf.sail.webapp.BigdataRDFServletContextListener.openIndexManager(BigdataRDFServletContextListener.java:431) at com.bigdata.rdf.sail.webapp.BigdataRDFServletContextListener.contextInitialized(BigdataRDFServletContextListener.java:163) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:733) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:233) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1214) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:455) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59) at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:491) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:138) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:142) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:53) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:604) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:535) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:398) at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:348) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) 2012-04-02 10:37:44.382:INFO:oejsl.ELContextCleaner:javax.el.BeanELResolver purged 2012-04-02 10:37:44.382:INFO:oejsh.ContextHandler:stopped o.e.j.w.WebAppContext{/bigdata,file:/Users/laczoka/apps/jetty-distribution-7.6.0.v20120127/webapps/bigdata/},/Users/laczoka/apps/jetty-distribution-7.6.0.v20120127/webapps/bigdata 2012-04-02 10:37:44.383:INFO:oejd.DeploymentManager:Deployable removed: App[o.e.j.w.WebAppContext{/bigdata,null},/Users/laczoka/apps/jetty-distribution-7.6.0.v20120127/webapps/bigdata,/Users/laczoka/apps/jetty-distribution-7.6.0.v20120127/webapps/bigdata] My computer: Macbook Pro, OSX 10.6.8 Regards, -- -------------------------------------------------------- László Török E-Business & Web Science Research Group Universitaet der Bundeswehr Muenchen Email: las...@eb...<mailto:las...@eb...> Phone: +49-(0)89-6004-4850 Fax: +49-(0)89-6004-4620 www: http://www.unibw.de/ebusiness/ (group) Skype: laczoka2000 Twitter: laczoka Check out GoodRelations for E-Commerce on the Web of Linked Data! Project Main Page: http://purl.org/goodrelations/ |