Hi,<div><br></div><div>Sending the server logs for reference. Please help<br><div><br></div><div><div>11:24:14,821 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-4) Initializing Mojarra 2.1.7-jbossorg-1 (20120227-1401) for context &#39;/NewPetstore&#39;</div>
<div>11:24:18,618 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-4) Critical error during deployment: : com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null</div><div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:376) [jsf-impl-2.1.7-jbossorg-2.jar:]</div>
<div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225) [jsf-impl-2.1.7-jbossorg-2.jar:]</div><div><span class="" style="white-space:pre">        </span>at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]</div>
<div><span class="" style="white-space:pre">        </span>at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]</div><div><span class="" style="white-space:pre">        </span>at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]</div>
<div><span class="" style="white-space:pre">        </span>at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)</div>
<div><span class="" style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_14]</div><div><span class="" style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_14]</div>
<div><span class="" style="white-space:pre">        </span>at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_14]</div><div>Caused by: java.lang.UnsupportedOperationException</div><div><span class="" style="white-space:pre">        </span>at javax.faces.application.Application.getResourceHandler(Application.java:287) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]</div>
<div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.processor.ApplicationConfigProcessor.setResourceHandler(ApplicationConfigProcessor.java:766) [jsf-impl-2.1.7-jbossorg-2.jar:]</div><div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:313) [jsf-impl-2.1.7-jbossorg-2.jar:]</div>
<div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114) [jsf-impl-2.1.7-jbossorg-2.jar:]</div><div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116) [jsf-impl-2.1.7-jbossorg-2.jar:]</div>
<div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114) [jsf-impl-2.1.7-jbossorg-2.jar:]</div><div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222) [jsf-impl-2.1.7-jbossorg-2.jar:]</div>
<div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361) [jsf-impl-2.1.7-jbossorg-2.jar:]</div><div><span class="" style="white-space:pre">        </span>... 9 more</div>
<div><br></div><div>11:24:18,647 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/NewPetstore]] (MSC service thread 1-4) Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null</div>
<div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292) [jsf-impl-2.1.7-jbossorg-2.jar:]</div><div><span class="" style="white-space:pre">        </span>at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]</div>
<div><span class="" style="white-space:pre">        </span>at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]</div><div><span class="" style="white-space:pre">        </span>at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]</div>
<div><span class="" style="white-space:pre">        </span>at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)</div>
<div><span class="" style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_14]</div><div><span class="" style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_14]</div>
<div><span class="" style="white-space:pre">        </span>at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_14]</div><div>Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null</div><div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:376) [jsf-impl-2.1.7-jbossorg-2.jar:]</div>
<div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225) [jsf-impl-2.1.7-jbossorg-2.jar:]</div><div><span class="" style="white-space:pre">        </span>... 8 more</div>
<div>Caused by: java.lang.UnsupportedOperationException</div><div><span class="" style="white-space:pre">        </span>at javax.faces.application.Application.getResourceHandler(Application.java:287) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]</div>
<div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.processor.ApplicationConfigProcessor.setResourceHandler(ApplicationConfigProcessor.java:766) [jsf-impl-2.1.7-jbossorg-2.jar:]</div><div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:313) [jsf-impl-2.1.7-jbossorg-2.jar:]</div>
<div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114) [jsf-impl-2.1.7-jbossorg-2.jar:]</div><div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116) [jsf-impl-2.1.7-jbossorg-2.jar:]</div>
<div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114) [jsf-impl-2.1.7-jbossorg-2.jar:]</div><div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222) [jsf-impl-2.1.7-jbossorg-2.jar:]</div>
<div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361) [jsf-impl-2.1.7-jbossorg-2.jar:]</div><div><span class="" style="white-space:pre">        </span>... 9 more</div>
<div><br></div><div>11:24:18,678 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-4) Error listenerStart</div><div>11:24:18,679 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-4) Context [/NewPetstore] startup failed due to previous errors</div>
<div>11:24:18,683 SEVERE [javax.faces] (MSC service thread 1-4) Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory. Attempting to find backup.</div><div>
11:24:18,686 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-4) Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.UnsupportedOperationException</div><div><span class="" style="white-space:pre">        </span>at javax.faces.application.Application.getELResolver(Application.java:591) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]</div>
<div><span class="" style="white-space:pre">        </span>at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:328) [jsf-impl-2.1.7-jbossorg-2.jar:]</div><div><span class="" style="white-space:pre">        </span>at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.13.Final.jar:]</div>
<div><span class="" style="white-space:pre">        </span>at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.13.Final.jar:]</div><div><span class="" style="white-space:pre">        </span>at org.apache.catalina.core.StandardContext.start(StandardContext.java:3917) [jbossweb-7.0.13.Final.jar:]</div>
<div><span class="" style="white-space:pre">        </span>at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]</div><div><span class="" style="white-space:pre">        </span>at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)</div>
<div><span class="" style="white-space:pre">        </span>at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)</div><div><span class="" style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_14]</div>
<div><span class="" style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_14]</div><div><span class="" style="white-space:pre">        </span>at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_14]</div>
<div><br></div><div>11:24:18,713 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/NewPetstore]] (MSC service thread 1-4) Closing Spring root WebApplicationContext</div><div>11:24:18,715 INFO  [org.springframework.web.context.support.XmlWebApplicationContext] (MSC service thread 1-4) Closing org.springframework.web.context.support.XmlWebApplicationContext@93acc2: display name [Root WebApplicationContext]; startup date [Sat Nov 10 11:24:13 IST 2012]; root of context hierarchy</div>
<div>11:24:18,719 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-4) Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@16a59bb: defining beans [baseAction,addItemToCartAction,doNothingAction,editAccountAction,editAccountFormAction,listOrdersAction,newAccountAction,newAccountFormAction,newOrderAction,newOrderFormAction,removeItemFromCartAction,searchProductsAction,signonAction,updateCartQuantitiesAction,viewCartAction,viewCategoryAction,viewItemAction,viewOrderAction,viewProductAction,domain.account,domain.cart,domain.cartItem,domain.category,domain.item,domain.lineItem,domain.order,domain.product,myPageList]; root of factory hierarchy</div>
<div>11:24:18,734 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.web.deployment.default-host./NewPetstore: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./NewPetstore: JBAS018040: Failed to start context</div>
<div><span class="" style="white-space:pre">        </span>at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:95)</div><div><span class="" style="white-space:pre">        </span>at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:<a href="http://1.0.2.GA">1.0.2.GA</a>]</div>
<div><span class="" style="white-space:pre">        </span>at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:<a href="http://1.0.2.GA">1.0.2.GA</a>]</div><div><span class="" style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_14]</div>
<div><span class="" style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_14]</div><div><span class="" style="white-space:pre">        </span>at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_14]</div>
<div><br></div><div>11:24:18,763 INFO  [<a href="http://org.jboss.as">org.jboss.as</a>] (MSC service thread 1-4) JBAS015951: Admin console listening on <a href="http://127.0.0.1:9990">http://127.0.0.1:9990</a></div><div>11:24:18,764 ERROR [<a href="http://org.jboss.as">org.jboss.as</a>] (MSC service thread 1-4) JBAS015875: JBoss AS 7.1.1.Final &quot;Brontes&quot; started (with errors) in 29079ms - Started 818 of 897 services (2 services failed or missing dependencies, 76 services are passive or on-demand)</div>
<div>11:24:18,989 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment &quot;NewPetstore.war&quot; was rolled back with failure message {&quot;JBAS014671: Failed services&quot; =&gt; {&quot;jboss.web.deployment.default-host./NewPetstore&quot; =&gt; &quot;org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./NewPetstore: JBAS018040: Failed to start context&quot;}}</div>
<div>11:24:19,971 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment NewPetstore.war in 980ms</div><div>11:24:19,974 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report</div>
<div>JBAS014777:   Services which failed to start:      service jboss.web.deployment.default-host./NewPetstore: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./NewPetstore: JBAS018040: Failed to start context</div>
<div><br></div><div>11:24:19,978 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {&quot;JBAS014653: Composite operation failed and was rolled back. Steps that failed:&quot; =&gt; {&quot;Operation step-2&quot; =&gt; {&quot;JBAS014671: Failed services&quot; =&gt; {&quot;jboss.web.deployment.default-host./NewPetstore&quot; =&gt; &quot;org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./NewPetstore: JBAS018040: Failed to start context&quot;}}}}</div>
</div><div><br></div><div><br></div><div>Regards</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 10, 2012 at 10:37 AM, Srineel Mazumdar <span dir="ltr">&lt;<a href="mailto:smaz19584@gmail.com" target="_blank">smaz19584@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="font-family:arial,sans-serif;font-size:13px">Hi,</span><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Using STS 3.1 with JBOSS AS7.1.1 final. Right clicking on application and selected Run On Server. Gives 404 error. The same process works fine for Glassfish server. Checked standalone folder (C:\Server\jboss-as-7.1.1.Final\standalone\deployments\NewPetstore.war). The war is deployed.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Please help.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">

Regards,</div><div style="font-family:arial,sans-serif;font-size:13px">Srineel</div>
</blockquote></div><br></div>