Hola a todos : Estoy trabajando en un proyecto que tiene cassandra 2.1 y Kundera 2.2 el proyecto tiene como arquitectura la siguiente: .jar que se unen a .war
myDemo-1.0.jar ( la parte de entities)
aqui lo estoy trabajando como indica este articulo ( con maven y el adiociona todas las dependencias y se ven en el .jar)
luego este .jar lo adiciono a myDemo-web.war pero cuando hago el despliege en jboss 7.1.1 genera este error.
09:28:30,185 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016002: Processing weld deployment myDemo-war.war 09:28:30,190 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-8) JNDI bindings for session bean named demoSession in deployment unit deployment "myDemo-war.war" are as follows:
09:28:30,581 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.unit."myDemo-war.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."myDemo-war.war".INSTALL: Failed to process phase INSTALL of deployment "myDemo-war.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$Worker.runTask(Unknown Source) [rt.jar:1.6.0_37] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_37] at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_37] Caused by: javax.persistence.PersistenceException: JBAS011466: PersistenceProvider 'com.impetus.kundera.KunderaPersistence' not found at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.lookupProvider(PersistenceUnitDeploymentProcessor.java:555) at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deployPersistenceUnit(PersistenceUnitDeploymentProcessor.java:295) at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addPuService(PersistenceUnitDeploymentProcessor.java:258) at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.handleWarDeployment(PersistenceUnitDeploymentProcessor.java:194) at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deploy(PersistenceUnitDeploymentProcessor.java:118) 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
09:28:30,596 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "pruebas_web_war.war" was rolled back with no failure message 09:28:30,601 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "myDemo-war.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"myDemo-war.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"myDemo-war.war\".INSTALL: Failed to process phase INSTALL of deployment \"myDemo-war.war\""}} 09:28:30,636 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment myDemo-war.war in 38ms 09:28:30,701 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment pruebas_web_war.war in 104ms 09:28:30,706 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report JBAS014777: Services which failed to start: service jboss.deployment.unit."myDemo-war.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."myDemo-war.war".INSTALL: Failed to process phase INSTALL of deployment "myDemo-war.war" service jboss.deployment.unit."pruebas_web_war.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."pruebas_web_war.war".INSTALL: Failed to process phase INSTALL of deployment "pruebas_web_war.war"
09:28:30,706 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.\"myDemo-war.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"myDemo-war.war\".INSTALL: Failed to process phase INSTALL of deployment \"myDemo-war.war\""}}}} 09:28:30,711 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back
Lo escencial del del error es : 'com.impetus.kundera.KunderaPersistence' not found - y esta dentro del jar pero no lo ve.
Quiero saber si alguien ha trabajado esta arquitectura que me pueda comentar como lo hizo.... Gracias a todos
Hola a todos : Estoy trabajando en un proyecto que tiene cassandra 2.1 y Kundera 2.2
el proyecto tiene como arquitectura la siguiente: .jar que se unen a .war
myDemo-1.0.jar ( la parte de entities)
aqui lo estoy trabajando como indica este articulo ( con maven y el adiociona todas las dependencias y se ven en el .jar)
https://github.com/impetus-opensource/Kundera/wiki/Getting-Started-in-5-minutes
luego este .jar lo adiciono a myDemo-web.war pero cuando
hago el despliege en jboss 7.1.1 genera este error.
09:28:30,185 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) JBAS016002: Processing weld deployment myDemo-war.war
09:28:30,190 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-8) JNDI bindings for session bean named demoSession in deployment unit deployment "myDemo-war.war" are as follows:
java:global/myDemo-war/demoSession!org.mydesmowar.web.interfaces.IDemo
java:app/myDemo-war/demoSession!org.mydesmowar.web.interfaces.IDemo
java:module/demoSession!org.mydesmowar.web.interfaces.IDemo
java:global/myDemo-war/demoSession
java:app/myDemo-war/demoSession
java:module/demoSession
09:28:30,581 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.unit."myDemo-war.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."myDemo-war.war".INSTALL: Failed to process phase INSTALL of deployment "myDemo-war.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$Worker.runTask(Unknown Source) [rt.jar:1.6.0_37]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_37]
at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_37]
Caused by: javax.persistence.PersistenceException: JBAS011466: PersistenceProvider 'com.impetus.kundera.KunderaPersistence' not found
at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.lookupProvider(PersistenceUnitDeploymentProcessor.java:555)
at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deployPersistenceUnit(PersistenceUnitDeploymentProcessor.java:295)
at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addPuService(PersistenceUnitDeploymentProcessor.java:258)
at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.handleWarDeployment(PersistenceUnitDeploymentProcessor.java:194)
at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deploy(PersistenceUnitDeploymentProcessor.java:118)
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
09:28:30,596 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "pruebas_web_war.war" was rolled back with no failure message
09:28:30,601 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "myDemo-war.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"myDemo-war.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"myDemo-war.war\".INSTALL: Failed to process phase INSTALL of deployment \"myDemo-war.war\""}}
09:28:30,636 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment myDemo-war.war in 38ms
09:28:30,701 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment pruebas_web_war.war in 104ms
09:28:30,706 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."myDemo-war.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."myDemo-war.war".INSTALL: Failed to process phase INSTALL of deployment "myDemo-war.war"
service jboss.deployment.unit."pruebas_web_war.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."pruebas_web_war.war".INSTALL: Failed to process phase INSTALL of deployment "pruebas_web_war.war"
09:28:30,706 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.\"myDemo-war.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"myDemo-war.war\".INSTALL: Failed to process phase INSTALL of deployment \"myDemo-war.war\""}}}}
09:28:30,711 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back
Lo escencial del del error es :
'com.impetus.kundera.KunderaPersistence' not found - y esta dentro del jar pero no lo ve.
Quiero saber si alguien ha trabajado esta arquitectura que me pueda comentar como lo hizo.... Gracias a todos