[jboss-as7-dev] (no subject)

Nicklas Karlsson nickarls at gmail.com
Sat Nov 10 05:46:43 EST 2012


You might want to post on the user forum (include your faces-config.xml)


On Sat, Nov 10, 2012 at 7:56 AM, Srineel Mazumdar <smaz19584 at gmail.com>wrote:

> Hi,
>
> Sending the server logs for reference. Please help
>
> 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 '/NewPetstore'
> 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
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:376)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
>  at
> com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
> at
> org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)
> [jbossweb-7.0.13.Final.jar:]
>  at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)
> [jbossweb-7.0.13.Final.jar:]
> at
> org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)
> [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> [rt.jar:1.6.0_14]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> [rt.jar:1.6.0_14]
>  at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_14]
> Caused by: java.lang.UnsupportedOperationException
> at
> javax.faces.application.Application.getResourceHandler(Application.java:287)
> [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
>  at
> com.sun.faces.config.processor.ApplicationConfigProcessor.setResourceHandler(ApplicationConfigProcessor.java:766)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
> at
> com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:313)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
>  at
> com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
> at
> com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
>  at
> com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
> at
> com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
>  at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
> ... 9 more
>
> 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
>  at
> com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
> at
> org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)
> [jbossweb-7.0.13.Final.jar:]
>  at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)
> [jbossweb-7.0.13.Final.jar:]
> at
> org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)
> [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> [rt.jar:1.6.0_14]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> [rt.jar:1.6.0_14]
>  at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_14]
> Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION
> FAILED! null
> at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:376)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
>  at
> com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
> ... 8 more
> Caused by: java.lang.UnsupportedOperationException
> at
> javax.faces.application.Application.getResourceHandler(Application.java:287)
> [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
>  at
> com.sun.faces.config.processor.ApplicationConfigProcessor.setResourceHandler(ApplicationConfigProcessor.java:766)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
> at
> com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:313)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
>  at
> com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
> at
> com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
>  at
> com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
> at
> com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
>  at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
> ... 9 more
>
> 11:24:18,678 ERROR [org.apache.catalina.core.StandardContext] (MSC service
> thread 1-4) Error listenerStart
> 11:24:18,679 ERROR [org.apache.catalina.core.StandardContext] (MSC service
> thread 1-4) Context [/NewPetstore] startup failed due to previous errors
> 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.
> 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
> at javax.faces.application.Application.getELResolver(Application.java:591)
> [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
>  at
> com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:328)
> [jsf-impl-2.1.7-jbossorg-2.jar:]
> at
> org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489)
> [jbossweb-7.0.13.Final.jar:]
>  at
> org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999)
> [jbossweb-7.0.13.Final.jar:]
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3917)
> [jbossweb-7.0.13.Final.jar:]
>  at
> org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)
> [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
>  at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> [rt.jar:1.6.0_14]
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> [rt.jar:1.6.0_14]
> at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_14]
>
> 11:24:18,713 INFO
>  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/NewPetstore]]
> (MSC service thread 1-4) Closing Spring root WebApplicationContext
> 11:24:18,715 INFO
>  [org.springframework.web.context.support.XmlWebApplicationContext] (MSC
> service thread 1-4) Closing
> org.springframework.web.context.support.XmlWebApplicationContext at 93acc2:
> display name [Root WebApplicationContext]; startup date [Sat Nov 10
> 11:24:13 IST 2012]; root of context hierarchy
> 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 at 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
> 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
>  at
> org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:95)
> at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
>  at
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> [rt.jar:1.6.0_14]
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> [rt.jar:1.6.0_14]
> at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_14]
>
> 11:24:18,763 INFO  [org.jboss.as] (MSC service thread 1-4) JBAS015951:
> Admin console listening on http://127.0.0.1:9990
> 11:24:18,764 ERROR [org.jboss.as] (MSC service thread 1-4) JBAS015875:
> JBoss AS 7.1.1.Final "Brontes" started (with errors) in 29079ms - Started
> 818 of 897 services (2 services failed or missing dependencies, 76 services
> are passive or on-demand)
> 11:24:18,989 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2)
> JBAS015870: Deploy of deployment "NewPetstore.war" was rolled back with
> failure message {"JBAS014671: Failed services" =>
> {"jboss.web.deployment.default-host./NewPetstore" =>
> "org.jboss.msc.service.StartException in service
> jboss.web.deployment.default-host./NewPetstore: JBAS018040: Failed to start
> context"}}
> 11:24:19,971 INFO  [org.jboss.as.server.deployment] (MSC service thread
> 1-2) JBAS015877: Stopped deployment NewPetstore.war in 980ms
> 11:24:19,974 INFO  [org.jboss.as.controller] (DeploymentScanner-threads -
> 2) JBAS014774: Service status report
> 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
>
> 11:24:19,978 ERROR [org.jboss.as.server.deployment.scanner]
> (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed
> and was rolled back. Steps that failed:" => {"Operation step-2" =>
> {"JBAS014671: Failed services" =>
> {"jboss.web.deployment.default-host./NewPetstore" =>
> "org.jboss.msc.service.StartException in service
> jboss.web.deployment.default-host./NewPetstore: JBAS018040: Failed to start
> context"}}}}
>
>
> Regards
>
>
> On Sat, Nov 10, 2012 at 10:37 AM, Srineel Mazumdar <smaz19584 at gmail.com>wrote:
>
>> Hi,
>>
>> 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.
>>
>> Please help.
>>
>> Regards,
>> Srineel
>>
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>


-- 
Nicklas Karlsson, +358 40 5062266
Vaakunatie 10 as 7, 20780 Kaarina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20121110/042d9410/attachment-0001.html 


More information about the jboss-as7-dev mailing list