7 Replies Latest reply on Jun 24, 2014 10:39 AM by Alexander Curvers

    Validator missing during deployment - AS7

    Sam W Expert

      Hi,

       

      With jboss as7, I am wondering what is missing in the WAR file. The deployment thrown the following errors:

       

       

      $ ./standalone.bat

      Calling C:\jboss-as-web-7.0.1.Final\bin\standalone.conf.bat

      ===============================================================================

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: C:\jboss-as-web-7.0.1.Final

       

       

        JAVA: C:\Java\jdk1.6.0_26\bin\java

       

       

        JAVA_OPTS: -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -server

       

       

      ===============================================================================

       

       

      11:15:49,269 �Ϣ    [org.jboss.modules] JBoss Modules version 1.0.1.GA

      11:15:51,233 INFO  [org.jboss.msc] JBoss MSC version 1.0.0.GA

      11:15:51,311 INFO  [org.jboss.as] JBoss AS 7.0.1.Final "Zap" starting

      11:15:55,799 WARN  [org.jboss.as] No security realm defined for native management service, all access will be unrestricted.

      11:15:55,809 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990)

      11:15:55,869 WARN  [org.jboss.as] No security realm defined for http management service, all access will be unrestricted.

      11:15:55,911 INFO  [org.jboss.as.logging] Removing bootstrap log handlers

      11:15:55,994 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)

      11:15:56,103 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.

      11:15:56,634 INFO  [org.jboss.as.naming] (Controller Boot Thread) Activating Naming Subsystem

      11:15:56,710 INFO  [org.jboss.as.naming] (MSC service thread 1-1) Starting Naming Service

      11:15:56,716 INFO  [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi Subsystem

      11:15:56,819 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem

      11:15:56,830 INFO  [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 3.2.0.Beta2

      11:15:56,846 INFO  [org.xnio] (MSC service thread 1-2) XNIO Version 3.0.0.Beta3

      11:15:56,876 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.0.0.Beta3

      11:15:57,638 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-3) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk1.6.0_26\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\glassfish3\jdk\bin;C:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files (x86)\Windows Live\Shared;C:\apache-ant-1.8.2\bin;C:\apache-maven-3.0.3\bin;C:\Program Files\TortoiseSVN\bin;C:\Java\jdk1.6.0_26\bin;.

      11:15:57,890 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem

      11:15:57,998 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) Listening on /192.168.1.100:9999

      11:15:58,064 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--192.168.1.100-8080

      11:15:58,068 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-1) Starting remote JMX connector

      11:15:58,571 INFO  [org.jboss.as.connector] (MSC service thread 1-4) Starting JCA Subsystem (JBoss IronJacamar 1.0.3.Final)

      11:15:59,556 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) Bound data source [java:jboss/datasources/ExampleDS]

      11:16:01,303 INFO  [org.jboss.as.deployment] (MSC service thread 1-3) Started FileSystemDeploymentService for directory C:\jboss-as-web-7.0.1.Final\standalone\deployments

      11:16:01,359 INFO  [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.1.Final "Zap" started in 12567ms - Started 93 of 148 services (55 services are passive or on-demand)

      11:16:16,405 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "order-ws-0.0.1-SNAPSHOT.war"

      11:16:16,885 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) added javax.persistence.api dependency to order-ws-0.0.1-SNAPSHOT.war

      11:16:17,290 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."order-ws-0.0.1-SNAPSHOT.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."order-ws-0.0.1-SNAPSHOT.war".INSTALL: Failed to process phase INSTALL of deployment "order-ws-0.0.1-SNAPSHOT.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_26]

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

              at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]

      Caused by: java.lang.NullPointerException

              at org.jboss.as.ee.component.ComponentDescription$DefaultFirstConfigurator.configure(ComponentDescription.java:532)

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

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)

       

              ... 5 more

       

       

      11:16:17,525 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "order-ws-0.0.1-SNAPSHOT.war" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"order-ws-0.0.1-SNAPSHOT.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"order-ws-0.0.1-SNAPSHOT.war\".INSTALL: Failed to process phase INSTALL of deployment \"order-ws-0.0.1-SNAPSHOT.war\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\".Validator missing [ jboss.naming.context.java.module.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\" ]","jboss.naming.context.java.comp.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\".ValidatorFactory missing [ jboss.naming.context.java.module.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\" ]"]}

      11:16:17,546 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment order-ws-0.0.1-SNAPSHOT.war in 21ms

      11:16:17,549 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.\"order-ws-0.0.1-SNAPSHOT.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"order-ws-0.0.1-SNAPSHOT.war\".INSTALL: Failed to process phase INSTALL of deployment \"order-ws-0.0.1-SNAPSHOT.war\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\".Validator missing [ jboss.naming.context.java.module.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\" ]","jboss.naming.context.java.comp.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\".ValidatorFactory missing [ jboss.naming.context.java.module.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\" ]"]}}}

       

       

      I also attached my project source code here for reference.

       

      Any suggestion is very appreciated.

      Sam.

        • 1. Re: Validator missing during deployment - AS7
          jaikiran pai Master

          Try the latest nightly build which should have the fix for that NullPointerException.

          • 2. Re: Validator missing during deployment - AS7
            Sam W Expert

            Hi, got another error with the nightly built:

             

             

            $ ./standalone.bat

            Calling C:\jboss-as-7.1.0.Alpha1-SNAPSHOT\bin\standalone.conf.bat

            ===============================================================================

             

             

              JBoss Bootstrap Environment

             

             

              JBOSS_HOME: C:\jboss-as-7.1.0.Alpha1-SNAPSHOT

             

             

              JAVA: C:\Java\jdk1.6.0_26\bin\java

             

             

              JAVA_OPTS: -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -server

             

             

            ===============================================================================

             

             

            16:30:24,235 �Ϣ    [org.jboss.modules] JBoss Modules version 1.0.2.GA

            16:30:24,882 INFO  [org.jboss.msc] JBoss MSC version 1.0.1.GA

            16:30:24,977 INFO  [org.jboss.as] JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" starting

            16:30:26,521 WARN  [org.jboss.as] No security realm defined for native management service, all access will be unrestricted.

            16:30:26,530 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990)

            16:30:26,534 WARN  [org.jboss.as] No security realm defined for http management service, all access will be unrestricted.

            16:30:26,545 INFO  [org.jboss.as.logging] Removing bootstrap log handlers

            16:30:26,686 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)

            16:30:26,734 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.

            16:30:26,918 INFO  [org.jboss.as.naming] (Controller Boot Thread) Activating Naming Subsystem

            16:30:26,975 INFO  [org.jboss.as.naming] (MSC service thread 1-4) Starting Naming Service

            16:30:26,984 INFO  [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi Subsystem

            16:30:27,021 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem

            16:30:27,030 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.0.Beta2

            16:30:27,043 INFO  [org.xnio] (MSC service thread 1-1) XNIO Version 3.0.0.Beta3

            16:30:27,078 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.0.0.Beta3

            16:30:27,510 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem

            16:30:27,620 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-1) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk1.6.0_26\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\glassfish3\jdk\bin;C:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files (x86)\Windows Live\Shared;C:\apache-ant-1.8.2\bin;C:\apache-maven-3.0.3\bin;C:\Program Files\TortoiseSVN\bin;C:\Java\jdk1.6.0_26\bin;.

            16:30:27,769 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) Listening on /192.168.1.100:9999

            16:30:27,769 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-3) Starting remote JMX connector

            16:30:27,847 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--192.168.1.100-8080

            16:30:28,521 INFO  [org.jboss.as.connector] (MSC service thread 1-2) Starting JCA Subsystem (JBoss IronJacamar 1.0.3.Final)

            16:30:28,725 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) Bound data source [java:jboss/datasources/ExampleDS]

            16:30:28,752 INFO  [org.jboss.as.deployment] (MSC service thread 1-2) Started FileSystemDeploymentService for directory C:\jboss-as-7.1.0.Alpha1-SNAPSHOT\standalone\deployments

            16:30:28,787 INFO  [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" started in 5152ms - Started 93 of 148 services (55 services are passive or on-demand)

            16:30:58,881 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "order-ws-0.0.1-SNAPSHOT.war"

            16:30:59,205 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api dependency to order-ws-0.0.1-SNAPSHOT.war

            16:30:59,520 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."order-ws-0.0.1-SNAPSHOT.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."order-ws-0.0.1-SNAPSHOT.war".INSTALL: Failed to process phase INSTALL of deployment "order-ws-0.0.1-SNAPSHOT.war"

                    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.Alpha1-SNAPSHOT.jar:7.1.0.Alpha1-SNAPSHOT]

                    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_26]

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

                    at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]

            Caused by: java.lang.RuntimeException: Failed to load class org.apache.cxf.transport.servlet.CXFServlet

                    at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:141)

                    at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:122)

                    at org.jboss.as.ee.component.LazyValue.get(LazyValue.java:40)

                    at org.jboss.as.ee.component.EEApplicationDescription.getClassConfiguration(EEApplicationDescription.java:183)

                    at org.jboss.as.ee.component.ComponentDescription.createConfiguration(ComponentDescription.java:153)

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

                    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.Alpha1-SNAPSHOT.jar:7.1.0.Alpha1-SNAPSHOT]

                    ... 5 more

            Caused by: java.lang.ClassNotFoundException: org.apache.cxf.transport.servlet.CXFServlet from [Module "deployment.order-ws-0.0.1-SNAPSHOT.war:main" from Service Module Loader]

                    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)

                    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)

                    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)

                    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)

                    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)

                    at java.lang.Class.forName0(Native Method) [:1.6.0_26]

                    at java.lang.Class.forName(Class.java:247) [:1.6.0_26]

                    at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:139)

                    ... 11 more

             

             

            16:30:59,796 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "order-ws-0.0.1-SNAPSHOT.war" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"order-ws-0.0.1-SNAPSHOT.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"order-ws-0.0.1-SNAPSHOT.war\".INSTALL: Failed to process phase INSTALL of deployment \"order-ws-0.0.1-SNAPSHOT.war\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\".Validator missing [ jboss.naming.context.java.module.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\" ]","jboss.naming.context.java.module.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\".ValidatorFactory missing [ jboss.naming.context.java.module.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\" ]"]}

            16:30:59,846 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment order-ws-0.0.1-SNAPSHOT.war in 53ms

            16:30:59,849 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.\"order-ws-0.0.1-SNAPSHOT.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"order-ws-0.0.1-SNAPSHOT.war\".INSTALL: Failed to process phase INSTALL of deployment \"order-ws-0.0.1-SNAPSHOT.war\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\".Validator missing [ jboss.naming.context.java.module.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\" ]","jboss.naming.context.java.module.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\".ValidatorFactory missing [ jboss.naming.context.java.module.\"order-ws-0.0.1-SNAPSHOT\".\"order-ws-0.0.1-SNAPSHOT\" ]"]}}}

             

             

            Thanks

            Sam

            • 3. Re: Validator missing during deployment - AS7
              Richard Opalka Master

              See my latest comment on http://community.jboss.org/message/624030 thread on how to solve your issue.

              • 4. Re: Validator missing during deployment - AS7
                Sam W Expert

                Hi I don'[t  have cxf reference lib in my war file.

                 

                 

                 

                sam@sam-PC /cygdrive/c/Department of Finance and Deregulation/order/order-app/target

                $ jar tvf order-ws-0.0.1-SNAPSHOT.war

                     0 Thu Sep 01 15:29:26 EST 2011 META-INF/

                   122 Thu Sep 01 15:29:24 EST 2011 META-INF/MANIFEST.MF

                     0 Thu Sep 01 15:29:26 EST 2011 WEB-INF/

                     0 Thu Sep 01 15:29:26 EST 2011 WEB-INF/classes/

                     0 Thu Sep 01 15:29:26 EST 2011 WEB-INF/classes/ix/

                     0 Thu Sep 01 15:29:26 EST 2011 WEB-INF/classes/ix/service/

                     0 Thu Sep 01 15:29:26 EST 2011 WEB-INF/classes/ix/service/order/

                     0 Thu Sep 01 15:29:26 EST 2011 WEB-INF/classes/ix/service/order/base/

                     0 Thu Sep 01 15:29:26 EST 2011 WEB-INF/classes/ix/service/order/bean/

                     0 Thu Sep 01 15:29:26 EST 2011 WEB-INF/classes/ix/service/order/common/

                     0 Thu Sep 01 15:29:26 EST 2011 WEB-INF/classes/ix/service/order/Enum/

                     0 Thu Sep 01 15:29:26 EST 2011 WEB-INF/classes/ix/service/order/service/

                   215 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/base/IBaseEnum.class

                  1247 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/bean/Order.class

                   652 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/common/InvalidMasterProgramAgencyException.class

                   624 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/common/ServiceNotContactableException.class

                   600 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/common/ServiceTimedOutException.class

                   612 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/common/ServiceUnavailableException.class

                   633 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/common/UnknownAgencyContextException.class

                   588 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/common/UnknownErrorException.class

                   633 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/common/UnknownInteractionIdException.class

                   652 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/common/UnknownMasterProgramAgencyException.class

                  2248 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/Enum/DialogueCancelReasonEnum.class

                  2102 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/Enum/DialogueStatusEnum.class

                  1973 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/Enum/DialogueTypeEnum.class

                  2101 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/Enum/MasterProgramEnum.class

                   306 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/service/OrderProcess.class

                  1209 Thu Sep 01 15:29:16 EST 2011 WEB-INF/classes/ix/service/order/service/OrderProcessImpl.class

                   832 Wed Aug 31 20:56:18 EST 2011 WEB-INF/jbossws-cxf.xml

                  1554 Tue Aug 30 13:36:22 EST 2011 WEB-INF/web.xml-bak

                  1029 Thu Sep 01 11:12:42 EST 2011 WEB-INF/web.xml-bak1

                   881 Thu Sep 01 11:14:02 EST 2011 WEB-INF/web.xml

                     0 Thu Sep 01 15:29:26 EST 2011 META-INF/maven/

                     0 Thu Sep 01 15:29:26 EST 2011 META-INF/maven/ix.service/

                     0 Thu Sep 01 15:29:26 EST 2011 META-INF/maven/ix.service/order-ws/

                  4765 Thu Sep 01 11:11:40 EST 2011 META-INF/maven/ix.service/order-ws/pom.xml

                   117 Thu Sep 01 15:29:26 EST 2011 META-INF/maven/ix.service/order-ws/pom.properties

                 

                • 5. Re: Validator missing during deployment - AS7
                  Sam W Expert

                  ok. I got that resolved.

                  The WAR file deployed successfully without any warning, but I don't know where the wsdl is published.

                  I navigated to

                   

                  http://192.168.1.100:8080/order-ws-0.0.1-SNAPSHOTs/Order-Process?wsdl

                   

                  but got http status 404.

                   

                  Here is the log message during deployment.

                  sam@sam-PC /cygdrive/c/jboss-as-7.1.0.Alpha1-SNAPSHOT/bin

                  $ ./standalone.bat

                  Calling C:\jboss-as-7.1.0.Alpha1-SNAPSHOT\bin\standalone.conf.bat

                  ===============================================================================

                   

                   

                    JBoss Bootstrap Environment

                   

                   

                    JBOSS_HOME: C:\jboss-as-7.1.0.Alpha1-SNAPSHOT

                   

                   

                    JAVA: C:\Java\jdk1.6.0_26\bin\java

                   

                   

                    JAVA_OPTS: -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -server

                   

                   

                  ===============================================================================

                   

                   

                  18:52:01,158 �Ϣ    [org.jboss.modules] JBoss Modules version 1.0.2.GA

                  18:52:01,398 INFO  [org.jboss.msc] JBoss MSC version 1.0.1.GA

                  18:52:01,456 INFO  [org.jboss.as] JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" starting

                  18:52:02,311 WARN  [org.jboss.as] No security realm defined for native management service, all access will be unrestricted.

                  18:52:02,381 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990)

                  18:52:02,383 WARN  [org.jboss.as] No security realm defined for http management service, all access will be unrestricted.

                  18:52:02,391 INFO  [org.jboss.as.logging] Removing bootstrap log handlers

                  18:52:02,427 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)

                  18:52:02,445 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.

                  18:52:02,562 INFO  [org.jboss.as.naming] (Controller Boot Thread) Activating Naming Subsystem

                  18:52:02,575 INFO  [org.jboss.as.naming] (MSC service thread 1-2) Starting Naming Service

                  18:52:02,581 INFO  [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi Subsystem

                  18:52:02,608 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem

                  18:52:02,625 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.0.Beta2

                  18:52:02,642 INFO  [org.xnio] (MSC service thread 1-1) XNIO Version 3.0.0.Beta3

                  18:52:02,657 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.0.0.Beta3

                  18:52:02,869 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem

                  18:52:02,887 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-1) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk1.6.0_26\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\glassfish3\jdk\bin;C:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files (x86)\Windows Live\Shared;C:\apache-ant-1.8.2\bin;C:\apache-maven-3.0.3\bin;C:\Program Files\TortoiseSVN\bin;C:\Java\jdk1.6.0_26\bin;.

                  18:52:02,996 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) Listening on /192.168.1.100:9999

                  18:52:03,114 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-2) Starting remote JMX connector

                  18:52:03,302 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Starting Coyote HTTP/1.1 on http--192.168.1.100-8080

                  18:52:03,685 INFO  [org.jboss.as.connector] (MSC service thread 1-1) Starting JCA Subsystem (JBoss IronJacamar 1.0.3.Final)

                  18:52:03,729 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) Bound data source [java:jboss/datasources/ExampleDS]

                  18:52:03,790 INFO  [org.jboss.as.deployment] (MSC service thread 1-1) Started FileSystemDeploymentService for directory C:\jboss-as-7.1.0.Alpha1-SNAPSHOT\standalone\deployments

                  18:52:03,819 INFO  [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" started in 2895ms - Started 93 of 148 services (55 services are passive or on-demand)

                  18:52:13,842 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "order-ws-0.0.1-SNAPSHOT.war"

                  18:52:13,947 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api dependency to order-ws-0.0.1-SNAPSHOT.war

                  18:52:14,401 INFO  [org.jboss.web] (MSC service thread 1-1) registering web context: /order-ws-0.0.1-SNAPSHOT

                  18:52:14,445 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "order-ws-0.0.1-SNAPSHOT.war"

                   

                   

                  Thanks

                  Sam

                  • 6. Re: Validator missing during deployment - AS7
                    Richard Opalka Master

                    You have to run preview configuration, because default one doesn't come with WS support.

                    Use standalone.bat -server-config standalone-preview.xml to boot AS.

                    Then navigate to JBossAS console, and in deployment section you will see where WSDL is located.

                    • 7. Re: Validator missing during deployment - AS7
                      Alexander Curvers Newbie

                      Hi Sam,

                       

                      i have the same problem validator missing during deployment,

                      how did you resolve it?

                       

                      Kind regards Alex