6 Replies Latest reply on Sep 20, 2012 6:17 AM by jaikiran pai

    Applicaiton is deployed in JBoss7.0.2 Final (Arc ) but failed to in 7.1.1 Final (Brontes)

    Newbie

      Hi We have Scala Applciation based on Spray (http://spray.github.com/latest/ ) and Akka (http://akka.io/ ) ,

      This app is deployed in Jboss7.0.2 Final (Arc) as Web (not Full)  with out any problem , here is the Log :

       

      11:27:50,987 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) added javax.persistence.api dependency to inventory-service-1.0-SNAPSHOT.war

      11:27:52,626 INFO  [stdout] (MSC service thread 1-4) Starting spray application ...

      11:27:53,338 INFO  [stdout] (servlet-akka.actor.default-dispatcher-3) 11:27:53,240 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]

      11:27:53,338 INFO  [stdout] (servlet-akka.actor.default-dispatcher-3) 11:27:53,240 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]

      11:27:53,339 INFO  [stdout] (servlet-akka.actor.default-dispatcher-3) 11:27:53,241 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [vfs:/content/inventory-service-1.0-SNAPSHOT.war/WEB-INF/classes/logback.xml]

      11:27:53,339 INFO  [stdout] (servlet-akka.actor.default-dispatcher-3) 11:27:53,263 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@38da9246 - URL [vfs:/content/inventory-service-1.0-SNAPSHOT.war/WEB-INF/classes/logback.xml] is not of type file

      11:27:53,341 INFO  [stdout] (servlet-akka.actor.default-dispatcher-3) 11:27:53,341 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]

      11:27:53,344 INFO  [stdout] (servlet-akka.actor.default-dispatcher-3) 11:27:53,344 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]

      11:27:53,546 INFO  [stdout] (servlet-akka.actor.default-dispatcher-3) 11:27:53,546 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]

      11:27:53,549 INFO  [stdout] (servlet-akka.actor.default-dispatcher-3) 11:27:53,549 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]

      11:27:53,557 INFO  [stdout] (servlet-akka.actor.default-dispatcher-3) 11:27:53,557 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@15:25 - no applicable action for [maxhistory], current pattern is [[configuration][appender][rollingPolicy][maxhistory]]

      11:27:53,561 INFO  [stdout] (servlet-akka.actor.default-dispatcher-3) 11:27:53,561 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used

      11:27:53,563 INFO  [stdout] (servlet-akka.actor.default-dispatcher-3) 11:27:53,563 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern inventory-service/log/inventory-service.%d{yyyy-MM-dd}.log for the active file

      11:27:53,568 INFO  [stdout] (servlet-akka.actor.default-dispatcher-3) 11:27:53,568 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern 'inventory-service/log/inventory-service.%d{yyyy-MM-dd}.log'.

      11:27:53,569 INFO  [stdout] (servlet-akka.actor.default-dispatcher-3) 11:27:53,568 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.

      11:27:53,626 INFO  [stdout] (servlet-akka.actor.default-dispatcher-3) 11:27:53,625 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Tue Sep 18 10:41:32 EDT 2012 ..

       

       

      Same applciation is deployed in 7.1.1 Final Full profile (Brontes) i am getting this exception :

       

      11:33:28,504 WARN  [org.jboss.as.ee] (MSC service thread 1-3) JBAS011006: Not installing optional component cc.spray.connectors.Servlet30ConnectorServlet$$anon$1 due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class cc.spray.connectors.Servlet30ConnectorServlet$$anon$1

                at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606)

                at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81)

                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [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(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_31]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_31]

                at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]

       

      11:33:31,187 INFO  [stdout] (MSC service thread 1-3) Starting spray application ...

      11:33:34,842 INFO  [akka.event.slf4j.Slf4jEventHandler] (servlet-akka.actor.default-dispatcher-1) Slf4jEventHandler started

       

      Any ideas ?