1 Reply Latest reply on Jan 20, 2012 10:56 AM by Jason Porter

    Jboss started up throwing Exception..?

    sankar p Newbie
      Hi,

      I have Inject Expressions in my action class.Jboss start up throwing exception.

      12:26:38,160 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."Hallo.war".WeldService: org.jboss.msc.service.StartException in service jboss.deployment.unit."Hallo.war".WeldService: org.jboss.weld.exceptions.UnserializableDependencyException: WELD-001413 The bean @New Session bean [class com.wits.HelloAction with qualifiers [@New]; local interfaces are [HelloAction] declares passivating scope but has non-serializable dependency Hellod Bean [class org.jboss.seam.solder.el.Expressions] with qualifiers [@Any @Default]
              at org.jboss.as.weld.services.WeldService.start(WeldService.java:96)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_12]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_12]
              at java.lang.Thread.run(Thread.java:619) [:1.6.0_12]
      Caused by: org.jboss.weld.exceptions.UnserializableDependencyException: WELD-001413 The bean @New Session bean [class com.wits.HelloAction with qualifiers [@New]; local interfaces are [HelloAction] declares passivating scope but has non-serializable dependency Hellod Bean [class org.jboss.seam.solder.el.Expressions] with qualifiers [@Any @Default]
              at org.jboss.weld.bootstrap.Validator.validateInjectionPointPassivationCapable(Validator.java:328)
              at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:290)
              at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:106)
              at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:129)
              at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:351)
              at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:336)
              at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:404)
              at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:82)
              at org.jboss.as.weld.services.WeldService.start(WeldService.java:89)
              ... 5 more

      12:26:38,488 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "Hallo.war" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"Hallo.war\".WeldService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"Hallo.war\".WeldService: org.jboss.weld.exceptions.UnserializableDependencyException: WELD-001413 The bean @New Session bean [class com.wits.HelloAction with qualifiers [@New]; local interfaces are [HelloAction] declares passivating scope but has non-serializable dependency Hellod Bean [class org.jboss.seam.solder.el.Expressions] with qualifiers [@Any @Default]"}}
      12:26:38,523 INFO  [org.jboss.jpa] (MSC service thread 1-3) stopping Persistence Unit Service 'Hallo.war#HelloID2'
      12:26:38,602 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment Hallo.war in 127ms
      12:26:38,606 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"Hallo.war\".WeldService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"Hallo.war\".WeldService: org.jboss.weld.exceptions.UnserializableDependencyException: WELD-001413 The bean @New Session bean [class com.wits.HelloAction with qualifiers [@New]; local interfaces are [HelloAction] declares passivating scope but has non-serializable dependency Hellod Bean [class org.jboss.seam.solder.el.Expressions] with qualifiers [@Any @Default]"}}}}


      Any help would be greatly appreciated...

      THanks,
      Sankar