yeah, that WEB-INF thing looks awkward. Do you install a OSGi ready War (a WAB) if so you should omit the war: url-prefix.
regards, Achim 2012/9/27 madhavb <[email protected]>: > I trying to deploy a war file, it gives the loffowing FileNotFound exception, > I gave the following command in shell: > > karaf@root> install > war:file:///root/exist/exist-code/dist/exist-2.1-dev-rev.war?Webapp-Context=exist > karaf@root> start 180 > > > I also notice that 'null' prefixed in file path, I guess it should ./WEB-INF > instead of null/WEB-INF, right? > > > Exception Snippet: > > Exception: de.betterform.xml.config.XFormsConfigException: > java.io.FileNotFoundException: null/WEB-INF/betterform-config.xml (No such > file or directory) > 12:40:42,989 | ERROR | l Console Thread | RegisterWebAppVisitorWC | > 124 - org.ops4j.pax.web.pax-web-extender-war - 1.0.7 | Registration > exception. Skipping. > java.lang.RuntimeException: javax.servlet.ServletException: > de.betterform.xml.config.XFormsConfigException: > java.io.FileNotFoundException: null/WEB-INF/betterform-config.xml (No such > file or directory) > > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/WAR-file-deployment-causes-FileNotFound-exception-tp5714539.html > Sent from the ServiceMix - Dev mailing list archive at Nabble.com. -- Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project Lead blog <http://notizblog.nierbeck.de/>
