you need to have jetty-deploy.xml in there as well, preceding the jetty-webapps.xml
cheers, jesse -- jesse mcconnell [email protected] On Fri, Jun 14, 2013 at 6:52 AM, Tripathi, Harikesh < [email protected]> wrote: > Hello Jetty Users , > > I am hitting this error while starting jetty8 with jetty-webapps.xml . I > am not sure what is the problem. Jetty is starting well if I remove > jetty-webapps.xml from the command line. > I have copied my web apps to web apps directory inside jetty home. > > I need your help to resolve this. > > [root@kakuzu jetty]# java -jar start.jar jetty.home=/opt/NTAPdfm/jetty > jetty.port=8123 etc/jetty.xml etc/jetty-webapps.xml > 2013-06-15 06:25:04.803:WARN:oejx.XmlConfiguration:Config error at <Ref > id="DeploymentManager"><Call id="webappprovider" > name="addAppProvider"><Arg>| <New > class="org.eclipse.jetty.deploy.providers.WebAppProvider"><Set > name="monitoredDirName"><Property name="jetty.home" > default="."/>/webapps</Set><Set name="defaultsDescriptor"><Property > name="jetty.home" default="."/>/etc/webdefault.xml</Set><Set > name="scanInterval">1</Set><Set name="contextXmlDir"><Property > name="jetty.home" default="."/>/contexts</Set><Set > name="extractWars">true</Set></New>| </Arg></Call></Ref> > java.lang.IllegalStateException: No object for id=DeploymentManager > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.eclipse.jetty.start.Main.invokeMain(Main.java:473) > at org.eclipse.jetty.start.Main.start(Main.java:615) > at org.eclipse.jetty.start.Main.main(Main.java:96) > Caused by: java.lang.IllegalStateException: No object for > id=DeploymentManager > at > org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.refObj(XmlConfiguration.java:832) > at > org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:396) > at > org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:343) > at > org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:296) > at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1247) > at java.security.AccessController.doPrivileged(Native Method) > at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1182) > ... 7 more > > Usage: java -jar start.jar [options] [properties] [configs] > java -jar start.jar --help # for more information > [root@kakuzu jetty]# vi etc/jetty-webapps.xml > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users > >
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
