Ver Mensaje Individual
  #19 (permalink)  
Antiguo 19/03/2015, 10:35
jelastic
 
Fecha de Ingreso: diciembre-2014
Ubicación: Lima
Mensajes: 68
Antigüedad: 9 años, 11 meses
Puntos: 0
Respuesta: Problemas con Jboss

Ya le coloque el provided a estas dependencias.
jsf-api
jsf-impl
jstl
servlet-api

Esta vez si pude genera el war, pero no lo pudo levantar el jboss, leyendo encontre que jsf2 no es compatible con jboss 7, que cambie a Widfly,

Esto es lo que salio en el log:
Código Log:
Ver original
  1. 11:37:08,034 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "FerrerteriaWeb.war"
  2. 11:37:12,422 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."FerrerteriaWeb.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."FerrerteriaWeb.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "FerrerteriaWeb.war"
  3.     at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
  4.     at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
  5.     at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
  6.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]
  7.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]
  8.     at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]
  9. Caused by: java.lang.RuntimeException: Error getting reflective information for class com.jonathan.beans.SalidaBean with ClassLoader ModuleClassLoader for Module "deployment.FerrerteriaWeb.war:main" from Service Module Loader
  10.     at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
  11.     at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
  12.     at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:85)
  13.     at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:70)
  14.     at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:55)
  15.     at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
  16.     ... 5 more
  17. Caused by: java.lang.NoClassDefFoundError: org/primefaces/event/CellEditEvent
  18.     at java.lang.Class.getDeclaredMethods0(Native Method) [rt.jar:1.7.0_67]
  19.     at java.lang.Class.privateGetDeclaredMethods(Class.java:2570) [rt.jar:1.7.0_67]
  20.     at java.lang.Class.getDeclaredMethods(Class.java:1855) [rt.jar:1.7.0_67]
  21.     at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:65) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
  22.     at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
  23.     ... 10 more
  24. Caused by: java.lang.ClassNotFoundException: org.primefaces.event.CellEditEvent from [Module "deployment.FerrerteriaWeb.war:main" from Service Module Loader]
  25.     at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
  26.     at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
  27.     at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
  28.     at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
  29.     at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
  30.     ... 15 more
  31.  
  32. 11:37:12,485 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "FerrerteriaWeb.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"FerrerteriaWeb.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"FerrerteriaWeb.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"FerrerteriaWeb.war\""}}
  33. 11:37:14,109 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment FerrerteriaWeb.war in 1621ms
  34. 11:37:14,112 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
  35. JBAS014777:   Services which failed to start:      service jboss.deployment.unit."FerrerteriaWeb.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."FerrerteriaWeb.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "FerrerteriaWeb.war"
  36.  
  37. 11:37:14,116 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.\"FerrerteriaWeb.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"FerrerteriaWeb.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"FerrerteriaWeb.war\""}}}}

AHH y el war generado tenia un peso de 17 mb, 5 mb menos que antes.