-
1. Re: Can't load showcase for debbuging in jboss 7.1.1
jhuska Feb 11, 2013 8:10 AM (in response to rodmarcm)Hi Rodmar,
you can follow these steps:
- Follow the instructions on showcase readme: https://github.com/richfaces/showcase/blob/develop/readme.txt
- There you should find how to set up showcase in order to work with Eclipse and its Maven
- Import the project to eclipse
- Select the jbas71 maven profile
- You can either press CTRL + ALT + P while the showcase project is selected in project explorer and select the jbas71 profile from list
- Or you can right click on the showcase project ----> properties -----> maven ----> write jbas71 in the input
- You need to adjust deployment assets
- Right click on the showcase project -----> properties -----> deployment assembly. By default there should be: src/main/java, src/main/resources, src/main/resources-jbas71/, src/main/webapp
- You need to add src/main/webapp-jbas71: hit the add button and select folder, find the webapp-jbas71 and add it
- Now you can deploy the showcase from eclipse
- Be aware that it will load localhost:8080/richfaces-showcase. The correct context is just showcase so you should load: localhost:8080/showcase
Does it work for you ?
- Follow the instructions on showcase readme: https://github.com/richfaces/showcase/blob/develop/readme.txt
-
2. Re: Can't load showcase for debbuging in jboss 7.1.1
rodmarcm Feb 12, 2013 12:27 PM (in response to jhuska)Hello Juraj, thanks you for your answer !
I did what you say but I get this error when I use standalone.xml configuration:
16:58:05,432 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
16:58:07,815 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
16:58:08,062 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
16:58:14,892 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
16:58:14,898 INFO [org.xnio] XNIO Version 3.0.3.GA
16:58:14,959 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
16:58:15,044 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
16:58:15,300 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
16:58:15,332 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
16:58:15,375 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
16:58:15,393 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
16:58:15,466 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
16:58:15,496 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
16:58:15,552 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
16:58:15,744 INFO [org.jboss.as.security] (MSC service thread 1-4) JBAS013100: Current PicketBox version=4.0.7.Final
16:58:16,475 INFO [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
16:58:16,620 INFO [org.jboss.as.naming] (MSC service thread 1-3) JBAS011802: Starting Naming Service
16:58:17,043 INFO [org.jboss.as.mail.extension] (MSC service thread 1-4) JBAS015400: Bound mail session [java:jboss/mail/Default]
16:58:17,067 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
16:58:17,429 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
16:58:18,097 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-9080
16:58:19,103 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.2.GA
16:58:22,128 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
16:58:22,133 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:/MySQLDS]
16:58:22,131 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:/MySQLDSlocal]
16:58:22,368 INFO [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on /127.0.0.1:9999
16:58:22,371 INFO [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on localhost/127.0.0.1:4447
16:58:22,425 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory /opt/jboss-as-7.1.1.Final/standalone/deployments
16:58:22,647 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found richfaces-showcase.war in deployment directory. To trigger deployment create a file called richfaces-showcase.war.dodeploy
16:58:23,528 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "h2console.war"
16:58:23,530 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "richfaces-showcase.war"
16:58:27,111 INFO [org.jboss.web] (MSC service thread 1-2) JBAS018210: Registering web context: /h2console
16:58:31,265 INFO [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011401: Read persistence.xml for richfaces-showcase
16:58:31,984 WARN [org.jboss.as.dependency.private] (MSC service thread 1-4) JBAS018567: Deployment "deployment.richfaces-showcase.war" is using a private module ("com.google.guava:main") which may be changed or removed in future versions without notice.
16:58:32,014 WARN [org.jboss.as.dependency.private] (MSC service thread 1-4) JBAS018567: Deployment "deployment.richfaces-showcase.war" is using a private module ("org.jboss.as.protocol:main") which may be changed or removed in future versions without notice.
16:58:32,024 WARN [org.jboss.as.dependency.private] (MSC service thread 1-4) JBAS018567: Deployment "deployment.richfaces-showcase.war" is using a private module ("org.jboss.marshalling.river:main") which may be changed or removed in future versions without notice.
16:58:34,018 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) JBAS016002: Processing weld deployment richfaces-showcase.war
16:58:35,111 INFO [org.jboss.weld.deployer] (MSC service thread 1-1) JBAS016005: Starting Services for CDI deployment: richfaces-showcase.war
16:58:35,311 INFO [org.jboss.weld.Version] (MSC service thread 1-1) WELD-000900 1.1.5 (AS71)
16:58:35,843 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [jboss/datasources/showcase]
16:58:35,845 INFO [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011402: Starting Persistence Unit Service 'richfaces-showcase.war#richfaces-showcase'
16:58:36,555 INFO [org.hibernate.annotations.common.Version] (MSC service thread 1-1) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
16:58:36,573 INFO [org.hibernate.Version] (MSC service thread 1-1) HHH000412: Hibernate Core {4.0.1.Final}
16:58:36,579 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-1) HHH000206: hibernate.properties not found
16:58:36,586 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-1) HHH000021: Bytecode provider name : javassist
16:58:36,706 INFO [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-1) HHH000204: Processing PersistenceUnitInfo [
name: richfaces-showcase
...]
16:58:37,612 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-1) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
16:58:38,425 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-1) HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
16:58:38,451 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (MSC service thread 1-1) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
16:58:38,479 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-1) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory
16:58:38,493 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-1) HHH000397: Using ASTQueryTranslatorFactory
16:58:38,599 INFO [org.hibernate.validator.util.Version] (MSC service thread 1-1) Hibernate Validator 4.2.0.Final
16:58:39,613 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-1) HHH000227: Running hbm2ddl schema export
16:58:39,643 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-1) HHH000230: Schema export complete
16:58:39,648 WARN [org.hibernate.internal.SessionFactoryImpl] (MSC service thread 1-1) HHH000008: JTASessionContext being used with JDBCTransactionFactory; auto-flush will not operate correctly with getCurrentSession()
16:58:39,742 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) JBAS016008: Starting weld service for deployment richfaces-showcase.war
16:58:43,679 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-3) Initializing Mojarra 2.1.7-jbossorg-1 (20120227-1401) for context '/showcase'
16:59:05,295 INFO [org.richfaces.log.Cache] (MSC service thread 1-3) Selected fallback cache factory
16:59:05,303 INFO [org.richfaces.log.Cache] (MSC service thread 1-3) Creating LRUMap cache instance using parameters: {org.richfaces.push.jms.connectionPassword=password, org.richfaces.resourceOptimization.enabled=true, org.richfaces.push.jms.connectionUsername=guest, org.richfaces.skin=#{skinBean.skin}, org.richfaces.fileUpload.maxRequestSize=100000, javax.faces.PROJECT_STAGE=Development, javax.faces.FACELETS_LIBRARIES=/WEB-INF/app-tags.taglib.xml, org.richfaces.fileUpload.createTempFiles=false, org.richfaces.push.initializeOnStartup=true, javax.faces.STATE_SAVING_METHOD=server, org.richfaces.push.jms.enabled=true}
16:59:05,314 INFO [org.richfaces.log.Cache] (MSC service thread 1-3) Creating LRUMap cache instance of 512 items capacity
16:59:05,334 INFO [org.richfaces.log.Application] (MSC service thread 1-3) RichFaces Core Implementation by JBoss by Red Hat, version 4.3.0.Final
16:59:05,404 INFO [org.richfaces.log.Application] (MSC service thread 1-3) Startup initialization of PushContext
16:59:05,446 INFO [org.richfaces.demo.push.JMSInitializer] (MSC service thread 1-3) initializing
16:59:05,450 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-3) Critical error during deployment: : java.lang.NoClassDefFoundError: org/hornetq/jms/server/JMSServerManager
at java.lang.Class.getDeclaredConstructors0(Native Method) [rt.jar:1.7.0_07]
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404) [rt.jar:1.7.0_07]
at java.lang.Class.getConstructor0(Class.java:2714) [rt.jar:1.7.0_07]
at java.lang.Class.newInstance0(Class.java:343) [rt.jar:1.7.0_07]
at java.lang.Class.newInstance(Class.java:325) [rt.jar:1.7.0_07]
at org.richfaces.demo.push.JMSInitializer.initializeCurrentProvider(JMSInitializer.java:133) [classes:]
at org.richfaces.demo.push.JMSInitializer.initializeJMS(JMSInitializer.java:72) [classes:]
at org.richfaces.demo.push.JMSInitializer.initializeCapability(JMSInitializer.java:63) [classes:]
at org.richfaces.demo.push.AbstractCapabilityInitializer.processEvent(AbstractCapabilityInitializer.java:63) [classes:]
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.7-jbossorg-2.jar:]
at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.7-jbossorg-2.jar:]
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.7-jbossorg-2.jar:]
at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]
at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:601) [jsf-impl-2.1.7-jbossorg-2.jar:]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:370) [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.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_07]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
Caused by: java.lang.ClassNotFoundException: org.hornetq.jms.server.JMSServerManager from [Module "deployment.richfaces-showcase.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
... 25 more
16:59:05,544 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/showcase]] (MSC service thread 1-3) Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/hornetq/jms/server/JMSServerManager
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.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_07]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
Caused by: java.lang.NoClassDefFoundError: org/hornetq/jms/server/JMSServerManager
at java.lang.Class.getDeclaredConstructors0(Native Method) [rt.jar:1.7.0_07]
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404) [rt.jar:1.7.0_07]
at java.lang.Class.getConstructor0(Class.java:2714) [rt.jar:1.7.0_07]
at java.lang.Class.newInstance0(Class.java:343) [rt.jar:1.7.0_07]
at java.lang.Class.newInstance(Class.java:325) [rt.jar:1.7.0_07]
at org.richfaces.demo.push.JMSInitializer.initializeCurrentProvider(JMSInitializer.java:133) [classes:]
at org.richfaces.demo.push.JMSInitializer.initializeJMS(JMSInitializer.java:72) [classes:]
at org.richfaces.demo.push.JMSInitializer.initializeCapability(JMSInitializer.java:63) [classes:]
at org.richfaces.demo.push.AbstractCapabilityInitializer.processEvent(AbstractCapabilityInitializer.java:63) [classes:]
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168) [jsf-impl-2.1.7-jbossorg-2.jar:]
at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144) [jsf-impl-2.1.7-jbossorg-2.jar:]
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302) [jsf-impl-2.1.7-jbossorg-2.jar:]
at org.jboss.as.weld.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:288) [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]
at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:601) [jsf-impl-2.1.7-jbossorg-2.jar:]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:370) [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.ClassNotFoundException: org.hornetq.jms.server.JMSServerManager from [Module "deployment.richfaces-showcase.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
... 25 more
16:59:05,626 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) Error listenerStart
16:59:05,627 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) Context [/showcase] startup failed due to previous errors
16:59:05,678 INFO [javax.enterprise.resource.webcontainer.jsf.lifecycle] (MSC service thread 1-3) JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
16:59:05,721 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.web.deployment.default-host./showcase: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./showcase: 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.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_07]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
16:59:06,875 INFO [org.jboss.as] (MSC service thread 1-4) JBAS015951: Admin console listening on http://127.0.0.1:9990
16:59:06,878 ERROR [org.jboss.as] (MSC service thread 1-4) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 64530ms - Started 418 of 501 services (2 services failed or missing dependencies, 78 services are passive or on-demand)
16:59:07,082 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "h2console.war" was rolled back with no failure message
16:59:07,107 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "richfaces-showcase.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./showcase" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./showcase: JBAS018040: Failed to start context"}}
16:59:07,220 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016009: Stopping weld service for deployment richfaces-showcase.war
16:59:07,316 INFO [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011403: Stopping Persistence Unit Service 'richfaces-showcase.war#richfaces-showcase'
16:59:07,318 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-1) HHH000227: Running hbm2ddl schema export
16:59:07,339 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-1) HHH000230: Schema export complete
16:59:07,362 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment h2console.war in 276ms
16:59:07,406 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010409: Unbound data source [jboss/datasources/showcase]
16:59:07,501 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment richfaces-showcase.war in 393ms
16:59:07,506 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.web.deployment.default-host./showcase: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./showcase: JBAS018040: Failed to start context
16:59:07,513 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./showcase" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./showcase: JBAS018040: Failed to start context"}}}}
16:59:07,519 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back
I also tried with standalone-full.xml configuration but I get this others errors:
18:05:44,315 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
18:05:46,536 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
18:05:46,806 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
18:05:53,621 INFO [org.xnio] XNIO Version 3.0.3.GA
18:05:53,637 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
18:05:53,664 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
18:05:53,728 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
18:05:53,989 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
18:05:54,016 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 32) JBAS016200: Activating ConfigAdmin Subsystem
18:05:54,038 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 37) JBAS010280: Activating Infinispan subsystem.
18:05:54,232 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 48) JBAS011800: Activating Naming Subsystem
18:05:54,166 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 49) JBAS011940: Activating OSGi Subsystem
18:05:54,177 INFO [org.jboss.as.jacorb] (ServerService Thread Pool -- 38) JBAS016300: Activating JacORB Subsystem
18:05:54,213 INFO [org.jboss.as.security] (ServerService Thread Pool -- 54) JBAS013101: Activating Security Subsystem
18:05:54,364 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 58) JBAS015537: Activating WebServices Extension
18:05:54,450 INFO [org.jboss.as.security] (MSC service thread 1-1) JBAS013100: Current PicketBox version=4.0.7.Final
18:05:54,852 INFO [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service
18:05:55,028 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:jboss/mail/Default]
18:05:55,463 INFO [org.jboss.jaxr] (MSC service thread 1-3) JBAS014000: Started JAXR subsystem, binding JAXR connection factory into JNDI as: java:jboss/jaxr/ConnectionFactory
18:05:55,504 INFO [org.jboss.as.connector] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
18:05:56,188 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
18:05:57,318 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080
18:05:57,450 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-2) JBoss Web Services - Stack CXF Server 4.0.2.GA
18:05:58,836 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=/opt/jboss-as-7.1.1.Final/standalone/data/messagingjournal,bindingsDirectory=/opt/jboss-as-7.1.1.Final/standalone/data/messagingbindings,largeMessagesDirectory=/opt/jboss-as-7.1.1.Final/standalone/data/messaginglargemessages,pagingDirectory=/opt/jboss-as-7.1.1.Final/standalone/data/messagingpaging)
18:05:58,856 INFO [org.jboss.as.jacorb] (MSC service thread 1-3) JBAS016330: CORBA ORB Service started
18:05:58,881 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) Waiting to obtain live lock
18:05:59,555 INFO [org.hornetq.core.persistence.impl.journal.JournalStorageManager] (MSC service thread 1-4) Using AIO Journal
18:06:00,495 INFO [org.jboss.as.jacorb] (MSC service thread 1-3) JBAS016328: CORBA Naming Service started
18:06:00,813 INFO [org.hornetq.core.server.impl.AIOFileLockNodeManager] (MSC service thread 1-4) Waiting to obtain live lock
18:06:00,816 INFO [org.hornetq.core.server.impl.AIOFileLockNodeManager] (MSC service thread 1-4) Live Server Obtained live lock
18:06:01,631 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
18:06:02,528 INFO [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on localhost/127.0.0.1:4447
18:06:02,534 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /127.0.0.1:9999
18:06:02,698 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "richfaces-showcase-jbas71.war"
18:06:02,736 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory /opt/jboss-as-7.1.1.Final/standalone/deployments
18:06:02,772 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment richfaces-showcase.war
18:06:03,455 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment h2console.war
18:06:03,469 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found richfaces-showcase.war in deployment directory. To trigger deployment create a file called richfaces-showcase.war.dodeploy
18:06:06,126 INFO [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-4) Started Netty Acceptor version 3.2.5.Final-a96d88c localhost:5445 for CORE protocol
18:06:06,142 INFO [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-4) Started Netty Acceptor version 3.2.5.Final-a96d88c localhost:5455 for CORE protocol
18:06:06,175 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) Server is now live
18:06:06,179 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) HornetQ Server version 2.2.13.Final (HQ_2_2_13_FINAL_AS7, 122) [36771c81-6fb7-11e2-aead-ac81127be6be]) started
18:06:06,233 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) trying to deploy queue jms.queue.testQueue
18:06:06,447 INFO [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:/queue/test
18:06:06,459 INFO [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/queue/test
18:06:06,597 INFO [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:/ConnectionFactory
18:06:06,621 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) trying to deploy queue jms.topic.testTopic
18:06:06,826 INFO [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:/topic/test
18:06:06,836 INFO [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/topic/test
18:06:06,841 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) trying to deploy queue jms.topic.pushCdi
18:06:06,877 INFO [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:/topic/pushCdi
18:06:06,900 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) trying to deploy queue jms.topic.pushJms
18:06:06,959 INFO [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011601: Bound messaging object to jndi name java:/topic/pushJms
18:06:06,970 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-4) trying to deploy queue jms.topic.pushTopicsContext
18:06:06,986 INFO [org.jboss.as.messaging] (MSC service thread 1-4) JBAS011601: Bound messaging object to jndi name java:/topic/pushTopicsContext
18:06:06,991 INFO [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory
18:06:06,994 INFO [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:/RemoteConnectionFactory
18:06:07,410 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-4) JBAS010406: Registered connection factory java:/JmsXA
18:06:07,540 INFO [org.hornetq.ra.HornetQResourceAdapter] (MSC service thread 1-4) HornetQ resource adaptor started
18:06:07,559 INFO [org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-4) IJ020002: Deployed: file://RaActivatorhornetq-ra
18:06:07,589 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-2) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]
18:06:11,649 INFO [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011401: Read persistence.xml for richfaces-showcase
18:06:12,337 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) JBAS018567: Deployment "deployment.richfaces-showcase-jbas71.war" is using a private module ("com.google.guava:main") which may be changed or removed in future versions without notice.
18:06:12,345 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) JBAS018567: Deployment "deployment.richfaces-showcase-jbas71.war" is using a private module ("org.jboss.as.protocol:main") which may be changed or removed in future versions without notice.
18:06:12,350 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) JBAS018567: Deployment "deployment.richfaces-showcase-jbas71.war" is using a private module ("org.jboss.marshalling.river:main") which may be changed or removed in future versions without notice.
18:06:14,177 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002: Processing weld deployment richfaces-showcase-jbas71.war
18:06:15,537 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016005: Starting Services for CDI deployment: richfaces-showcase-jbas71.war
18:06:15,685 INFO [org.jboss.weld.Version] (MSC service thread 1-3) WELD-000900 1.1.5 (AS71)
18:06:15,981 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [jboss/datasources/showcase]
18:06:15,983 INFO [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011402: Starting Persistence Unit Service 'richfaces-showcase-jbas71.war#richfaces-showcase'
18:06:16,838 INFO [org.hibernate.annotations.common.Version] (MSC service thread 1-2) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
18:06:16,858 INFO [org.hibernate.Version] (MSC service thread 1-2) HHH000412: Hibernate Core {4.0.1.Final}
18:06:16,864 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-2) HHH000206: hibernate.properties not found
18:06:16,871 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-2) HHH000021: Bytecode provider name : javassist
18:06:17,031 INFO [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-2) HHH000204: Processing PersistenceUnitInfo [
name: richfaces-showcase
...]
18:06:17,914 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-2) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
18:06:18,799 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-2) HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
18:06:18,833 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (MSC service thread 1-2) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
18:06:18,881 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-2) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory
18:06:18,913 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-2) HHH000397: Using ASTQueryTranslatorFactory
18:06:19,207 INFO [org.hibernate.validator.util.Version] (MSC service thread 1-2) Hibernate Validator 4.2.0.Final
18:06:20,528 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-2) HHH000227: Running hbm2ddl schema export
18:06:20,561 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-2) HHH000230: Schema export complete
18:06:20,565 WARN [org.hibernate.internal.SessionFactoryImpl] (MSC service thread 1-2) HHH000008: JTASessionContext being used with JDBCTransactionFactory; auto-flush will not operate correctly with getCurrentSession()
18:06:20,681 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016008: Starting weld service for deployment richfaces-showcase-jbas71.war
18:06:27,808 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-4) Initializing Mojarra 2.1.7-jbossorg-1 (20120227-1401) for context '/showcase'
18:06:48,238 INFO [org.richfaces.log.Cache] (MSC service thread 1-4) Selected fallback cache factory
18:06:48,264 INFO [org.richfaces.log.Cache] (MSC service thread 1-4) Creating LRUMap cache instance using parameters: {org.richfaces.push.jms.connectionPassword=password, org.richfaces.resourceOptimization.enabled=true, org.richfaces.push.jms.connectionUsername=guest, org.richfaces.skin=#{skinBean.skin}, org.richfaces.fileUpload.maxRequestSize=100000, javax.faces.PROJECT_STAGE=Development, javax.faces.FACELETS_LIBRARIES=/WEB-INF/app-tags.taglib.xml, org.richfaces.fileUpload.createTempFiles=false, org.richfaces.push.initializeOnStartup=true, javax.faces.STATE_SAVING_METHOD=server, org.richfaces.push.jms.enabled=true}
18:06:48,313 INFO [org.richfaces.log.Cache] (MSC service thread 1-4) Creating LRUMap cache instance of 512 items capacity
18:06:48,368 INFO [org.richfaces.log.Application] (MSC service thread 1-4) RichFaces Core Implementation by JBoss by Red Hat, version 4.3.0.Final
18:06:48,625 INFO [org.richfaces.log.Application] (MSC service thread 1-4) Startup initialization of PushContext
18:06:48,672 INFO [org.richfaces.demo.push.JMSInitializer] (MSC service thread 1-4) initializing
18:06:48,690 INFO [org.richfaces.demo.push.JMSInitializer] (MSC service thread 1-4) AS7MessagingProviderManagement initialized
18:06:48,692 INFO [org.richfaces.demo.push.JMSInitializer] (MSC service thread 1-4) creating topic pushJms
18:06:50,449 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 4) Operation ("read-resource") failed - address: ([("subsystem" => "messaging")]) - failure description: "JBAS014807: Management resource '[(\"subsystem\" => \"messaging\")]' not found"
18:06:50,461 INFO [org.richfaces.demo.push.JMSInitializer] (MSC service thread 1-4) creating topic pushTopicsContext
18:06:50,595 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 3) Operation ("read-resource") failed - address: ([("subsystem" => "messaging")]) - failure description: "JBAS014807: Management resource '[(\"subsystem\" => \"messaging\")]' not found"
18:06:50,614 INFO [org.richfaces.demo.push.JMSInitializer] (MSC service thread 1-4) creating topic pushCdi
18:06:50,689 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) Operation ("read-resource") failed - address: ([("subsystem" => "messaging")]) - failure description: "JBAS014807: Management resource '[(\"subsystem\" => \"messaging\")]' not found"
18:06:50,737 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-4) Monitoring jndi:/default-host/showcase/WEB-INF/faces-config.xml for modifications
18:06:51,127 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-4) HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
18:06:51,133 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (MSC service thread 1-4) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
18:06:51,143 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-4) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory
18:06:51,149 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-4) HHH000397: Using ASTQueryTranslatorFactory
18:06:51,226 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-4) HHH000227: Running hbm2ddl schema export
18:06:51,300 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-4) HHH000230: Schema export complete
18:06:54,044 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-4) RewriteFilter starting up...
18:06:54,063 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-4) Loaded [0] org.ocpsoft.rewrite.servlet.spi.RewriteLifecycleListener []
18:06:54,067 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-4) Loaded [1] org.ocpsoft.rewrite.servlet.spi.RequestCycleWrapper [org.ocpsoft.rewrite.servlet.impl.HttpRewriteRequestCycleWrapper<0>]
18:06:54,072 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-4) Loaded [1] org.ocpsoft.rewrite.spi.RewriteProvider [org.ocpsoft.rewrite.servlet.impl.DefaultHttpRewriteProvider<0>]
18:06:54,076 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-4) Loaded [1] org.ocpsoft.rewrite.servlet.spi.InboundRewriteProducer [org.ocpsoft.rewrite.servlet.impl.HttpInboundRewriteProducer<0>]
18:06:54,081 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-4) Loaded [1] org.ocpsoft.rewrite.servlet.spi.OutboundRewriteProducer [org.ocpsoft.rewrite.servlet.impl.HttpOutboundRewriteProducer<0>]
18:06:54,086 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-4) Loaded [0] org.ocpsoft.rewrite.servlet.spi.ContextListener []
18:06:54,102 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-4) Loaded [0] org.ocpsoft.rewrite.servlet.spi.RequestListener []
18:06:54,123 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-4) Loaded [0] org.ocpsoft.rewrite.servlet.spi.RequestParameterProvider []
18:06:54,134 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-4) Loaded [0] org.ocpsoft.rewrite.spi.ExpressionLanguageProvider []
18:06:54,142 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-4) Loaded [0] org.ocpsoft.rewrite.spi.InvocationResultHandler []
18:06:54,147 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-4) Loaded [0] org.ocpsoft.common.spi.ServiceEnricher []
18:06:54,156 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-4) Loaded [1] org.ocpsoft.rewrite.config.ConfigurationProvider [org.richfaces.demo.ui.RewriteConfigurationProvider<10>]
18:06:54,171 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (MSC service thread 1-4) RewriteFilter initialized.
18:06:54,342 INFO [org.jboss.web] (MSC service thread 1-4) JBAS018210: Registering web context: /showcase
18:06:54,564 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "richfaces-showcase-jbas71.war"
18:06:54,672 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "richfaces-showcase.war"
18:06:54,693 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "h2console.war"
18:06:55,521 INFO [org.jboss.web] (MSC service thread 1-2) JBAS018210: Registering web context: /h2console
18:06:59,173 INFO [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for richfaces-showcase
18:06:59,361 WARN [org.jboss.as.dependency.private] (MSC service thread 1-4) JBAS018567: Deployment "deployment.richfaces-showcase.war" is using a private module ("org.jboss.as.protocol:main") which may be changed or removed in future versions without notice.
18:06:59,369 WARN [org.jboss.as.dependency.private] (MSC service thread 1-4) JBAS018567: Deployment "deployment.richfaces-showcase.war" is using a private module ("org.jboss.marshalling.river:main") which may be changed or removed in future versions without notice.
18:06:59,637 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."richfaces-showcase.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."richfaces-showcase.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "richfaces-showcase.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
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.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_07]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_07]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
Caused by: java.lang.NoClassDefFoundError: com/google/common/base/Predicate
at java.lang.Class.getDeclaredConstructors0(Native Method) [rt.jar:1.7.0_07]
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404) [rt.jar:1.7.0_07]
at java.lang.Class.getConstructor0(Class.java:2714) [rt.jar:1.7.0_07]
at java.lang.Class.getConstructor(Class.java:1674) [rt.jar:1.7.0_07]
at org.jboss.as.web.deployment.jsf.JsfManagedBeanProcessor.deploy(JsfManagedBeanProcessor.java:108)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 5 more
Caused by: java.lang.ClassNotFoundException: com.google.common.base.Predicate from [Module "deployment.richfaces-showcase.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
... 11 more
18:06:59,685 INFO [org.jboss.as] (MSC service thread 1-3) JBAS015951: Admin console listening on http://127.0.0.1:9990
18:06:59,689 ERROR [org.jboss.as] (MSC service thread 1-3) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 77646ms - Started 470 of 556 services (1 services failed or missing dependencies, 84 services are passive or on-demand)
18:06:59,691 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "h2console.war" was rolled back with no failure message
18:06:59,720 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "richfaces-showcase.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"richfaces-showcase.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"richfaces-showcase.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"richfaces-showcase.war\""}}
18:06:59,844 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment richfaces-showcase.war in 115ms
18:06:59,896 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment h2console.war in 202ms
18:06:59,902 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."richfaces-showcase.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."richfaces-showcase.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "richfaces-showcase.war"
18:06:59,913 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.deployment.unit.\"richfaces-showcase.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"richfaces-showcase.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"richfaces-showcase.war\""}}}}
18:06:59,922 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back
Any ideas of what can I do here ?
Thank you !
Regards,
-
3. Re: Can't load showcase for debbuging in jboss 7.1.1
jhuska Feb 13, 2013 5:27 AM (in response to rodmarcm)To deploy showcase you need to use standalone-full.xml
I am not sure what is the reason for the error.
I tried to deploy the showcase 4.3.0.Final from Eclipse Juno (with JBoss tools 4.0) following the steps I describe above and it works.
Have you resolved your issue ? Are you sure that you selected right maven profile ?
-
4. Re: Can't load showcase for debbuging in jboss 7.1.1
spothula May 8, 2013 7:28 AM (in response to rodmarcm)By default the messaging subsystem isn't enabled however a preview configuration is provided that does contain a messaging subsystem.
Take a quick look at \standalone\configuration directory.
When I tried with the following server config, it worked
standalone.bat/sh --server-config=standalone-full-ha.xml
.