5 Replies Latest reply on Jul 1, 2011 2:59 PM by lholmquist

    SEAM 3 + AS 7 deploy issues

    lholmquist Newbie

      i have an app that i was running on as6 and would like to move to as7, but was getting some deploy issues  it has a few seam 3 modules as dependecies.   i use solder, servlet, remoting and security. i decided to add these one by one to the kitchensink as7 example since that works.  i added remoting fine but when i added security i get this error:




      10:00:40,662 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.deployment.unit."jboss-as-kitchensink.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."jboss-as-kitchensink.war".INSTALL: Failed to process phase INSTALL of deployment "jboss-as-kitchensink.war"
           at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
           at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
           at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
           at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
      Caused by: java.lang.RuntimeException: Error getting reflective information for class class org.jboss.seam.international.datetimezone.DefaultDateTimeZoneProducer
           at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
           at org.jboss.as.ee.component.EEModuleClassDescription$DefaultConfigurator.configure(EEModuleClassDescription.java:142)
           at org.jboss.as.ee.component.EEClassConfigurationProcessor.deploy(EEClassConfigurationProcessor.java:96)
           at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
           ... 5 more
      Caused by: java.lang.NoClassDefFoundError: org/joda/time/DateTimeZone
           at java.lang.Class.getDeclaredFields0(Native Method) [:1.6.0_24]
           at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [:1.6.0_24]
           at java.lang.Class.getDeclaredFields(Class.java:1743) [:1.6.0_24]
           at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57)
           at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)
           ... 8 more
      Caused by: java.lang.ClassNotFoundException: org.joda.time.DateTimeZone from [Module "deployment.jboss-as-kitchensink.war:main" from Service Module Loader]
           at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
           at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
           at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
           at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
           at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
           ... 13 more
      




      also when i added servlet i get this:




      09:56:53,555 ERROR [org.jboss.as.domain.http.api] (HttpManagementService-threads - 2) Unexpected error executing model request: java.io.IOException: Invalid character: b
           at org.jboss.dmr.JSONParserImpl.invalid(JSONParserImpl.java:133)
           at org.jboss.dmr.JSONParser.yyLex(JSONParser.java:584)
           at org.jboss.dmr.JSONParser.yyParse(JSONParser.java:650)
           at org.jboss.dmr.ModelNode.fromJSONStream(ModelNode.java:1220)
           at org.jboss.as.domain.http.server.DomainApiHandler.convertPostRequest(DomainApiHandler.java:323)
           at org.jboss.as.domain.http.server.DomainApiHandler.processRequest(DomainApiHandler.java:187)
           at org.jboss.as.domain.http.server.DomainApiHandler.handle(DomainApiHandler.java:123)
           at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
           at org.jboss.sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:80)
           at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:85)
           at org.jboss.sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:606)
           at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
           at org.jboss.sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:578)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
           at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
           at org.jboss.threads.JBossThread.run(JBossThread.java:122)