5 Replies Latest reply on Aug 17, 2013 10:37 AM by heng li

    using CXF in jboss as7

    Oved Ourfali Newbie

      Hey,

       

      Is CXF already built in as7, or should it be installed seperately?

      In case it needs to be seperately installed, what is the procedure for it? (I know the procedure for jboss 5.1, but I guess it should be different here).

       

      When I try to deploy a jar with web services using cxf, the deployment starts, after a few seconds I get:

      10:24:05,028 WARN  [org.jboss.wsf.stack.cxf.resolver.JBossWSResourceResolver] (MSC service thread 1-1) Cannot resolve resource: cxf

       

      And afterwards the whole deployment fails.

       

      I also get the following warnings:

      10:24:12,740 WARN  [org.jboss.wsf.stack.cxf.resolver.JBossWSResourceResolver] (MSC service thread 1-1) Cannot resolve resource: org.apache.cxf.ws.rm.RMManager/bus

      10:24:12,785 INFO  [org.jboss.ws.common.management.DefaultEndpointRegistry] (MSC service thread 1-1) remove: jboss.ws:context=rhevm-genericapi,endpoint=GenericApiService

       

      Thank you,

      Oved

       

      The complete log:

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

       

      10:23:14,850 INFO  [org.jboss.modules] JBoss Modules version 1.0.0.CR4

      10:23:15,225 INFO  [org.jboss.msc] JBoss MSC version 1.0.0.CR2

      10:23:15,275 INFO  [org.jboss.as] JBoss AS 7.0.0.CR1 "White Rabbit" starting

      10:23:16,686 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990) securePort (-1)

      10:23:16,711 INFO  [org.jboss.as.logging] Removing bootstrap log handlers

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

      10:23:16,740 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.0)

      10:23:16,970 INFO  [org.jboss.as.naming] (Controller Boot Thread) Activating Naming Subsystem

      10:23:16,990 INFO  [org.jboss.as.naming] (MSC service thread 1-1) Starting Naming Service

      10:23:17,010 INFO  [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi Subsystem

      10:23:17,045 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem

      10:23:17,052 INFO  [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 3.2.0.Beta2

      10:23:17,099 INFO  [org.xnio] (MSC service thread 1-2) XNIO Version 3.0.0.Beta3

      10:23:17,138 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.0.0.Beta3

      10:23:17,376 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-2) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_26/jre/lib/amd64/server:/usr/java/jdk1.6.0_26/jre/lib/amd64:/usr/java/jdk1.6.0_26/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

      10:23:17,379 INFO  [org.jboss.as.webservices] (Controller Boot Thread) Activating WebServices Extension

      10:23:17,508 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem

      10:23:17,578 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-2) JBoss Web Services - Stack CXF Server 4.0.0.Beta2

      10:23:17,582 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) Listening on /10.35.18.68:9999

      10:23:17,969 WARN  [org.jboss.osgi.framework.internal.URLHandlerPlugin] (MSC service thread 1-2) Unable to set the URLStreamHandlerFactory

      10:23:17,983 WARN  [org.jboss.osgi.framework.internal.URLHandlerPlugin] (MSC service thread 1-2) Unable to set the ContentHandlerFactory

      10:23:18,040 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--10.35.18.68-8080

      10:23:18,041 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-1) Starting remote JMX connector

      10:23:18,241 INFO  [org.jboss.as.connector] (MSC service thread 1-1) Starting JCA Subsystem (JBoss IronJacamar 1.0.0.CR2)

      10:23:18,382 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) Bound data source [java:jboss/datasources/ExampleDS]

      10:23:18,414 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) Bound data source [java:/RHEVMDataSource]

      10:23:19,435 INFO  [org.jboss.as.deployment] (MSC service thread 1-1) Started FileSystemDeploymentService for directory /root/jboss-7.0.0.CR1/standalone/deployments

      10:23:19,443 INFO  [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Found rhevm-genericapi.war in deployment directory. To trigger deployment create a file called rhevm-genericapi.war.dodeploy

      10:23:19,500 INFO  [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Found rhevm-genericapi.jar in deployment directory. To trigger deployment create a file called rhevm-genericapi.jar.dodeploy

      10:23:19,501 INFO  [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Found rhevm.ear in deployment directory. To trigger deployment create a file called rhevm.ear.dodeploy

      10:23:19,543 INFO  [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.0.CR1 "White Rabbit" started in 4992ms - Started 98 of 153 services (55 services are passive or on-demand)

      10:23:54,662 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "rhevm.ear"

      10:23:57,509 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "rhevm-vdsbroker.jar"

      10:23:57,510 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "rhevm-bll.jar"

      10:23:57,511 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "rhevmanagerweb.war"

      10:23:57,512 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "rhevm-scheduler.jar"

      10:23:57,513 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "rhevm-genericapi.jar"

      10:23:57,513 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "rhevmanager.war"

      10:23:57,513 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "rhevdocs.war"

      10:23:57,514 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "components.war"

      10:23:57,549 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jsr173_1.0_api.jar in "/root/jboss-7.0.0.CR1/standalone/deployments/rhevm.ear/lib/jaxb-impl-2.1.3.jar" not found.

      10:23:57,554 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jsr173_1.0_api.jar in "/root/jboss-7.0.0.CR1/standalone/deployments/rhevm.ear/lib/jaxb1-impl.jar" not found.

      10:23:57,555 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jaxb-api.jar in "/root/jboss-7.0.0.CR1/standalone/deployments/rhevm.ear/lib/jaxb-impl-2.1.3.jar"  does not point to a valid jar for a Class-Path reference.

      10:23:57,555 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry activation.jar in "/root/jboss-7.0.0.CR1/standalone/deployments/rhevm.ear/lib/jaxb-impl-2.1.3.jar"  does not point to a valid jar for a Class-Path reference.

      10:23:57,555 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jsr173_1.0_api.jar in "/root/jboss-7.0.0.CR1/standalone/deployments/rhevm.ear/lib/jaxb-impl-2.1.3.jar"  does not point to a valid jar for a Class-Path reference.

      10:23:57,559 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jaxb1-impl.jar in "/root/jboss-7.0.0.CR1/standalone/deployments/rhevm.ear/lib/jaxb-impl-2.1.3.jar"  does not point to a valid jar for a Class-Path reference.

      10:23:57,560 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jaxb-api.jar in "/root/jboss-7.0.0.CR1/standalone/deployments/rhevm.ear/lib/jaxb1-impl.jar"  does not point to a valid jar for a Class-Path reference.

      10:23:57,560 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry activation.jar in "/root/jboss-7.0.0.CR1/standalone/deployments/rhevm.ear/lib/jaxb1-impl.jar"  does not point to a valid jar for a Class-Path reference.

      10:23:57,560 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jsr173_1.0_api.jar in "/root/jboss-7.0.0.CR1/standalone/deployments/rhevm.ear/lib/jaxb1-impl.jar"  does not point to a valid jar for a Class-Path reference.

      10:23:57,560 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jaxb1-impl.jar in "/root/jboss-7.0.0.CR1/standalone/deployments/rhevm.ear/lib/jaxb1-impl.jar"  does not point to a valid jar for a Class-Path reference.

      10:23:57,743 WARN  [org.jboss.as.ejb3.deployment.processors.BusinessViewAnnotationProcessor] (MSC service thread 1-2) Could not read annotations on EJB interface org.nogah.common.backendinterfaces.IResourceManager

      10:23:58,422 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named GenericApiService in deployment unit subdeployment "rhevm-genericapi.jar" of deployment "rhevm.ear" are as follows:

       

              java:global/rhevm/rhevm-genericapi/GenericApiService!org.nogah.genericapi.GenericApiService

              java:app/rhevm-genericapi/GenericApiService!org.nogah.genericapi.GenericApiService

              java:module/GenericApiService!org.nogah.genericapi.GenericApiService

       

      10:23:58,457 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named Scheduler in deployment unit subdeployment "rhevm-scheduler.jar" of deployment "rhevm.ear" are as follows:

       

              java:global/rhevm/rhevm-scheduler/Scheduler!org.nogah.utils.timer.SchedulerUtil

              java:app/rhevm-scheduler/Scheduler!org.nogah.utils.timer.SchedulerUtil

              java:module/Scheduler!org.nogah.utils.timer.SchedulerUtil

              java:global/rhevm/rhevm-scheduler/Scheduler

              java:app/rhevm-scheduler/Scheduler

              java:module/Scheduler

       

      10:23:58,468 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named VdsBroker in deployment unit subdeployment "rhevm-vdsbroker.jar" of deployment "rhevm.ear" are as follows:

       

              java:global/rhevm/rhevm-vdsbroker/VdsBroker!org.nogah.common.backendinterfaces.IResourceManager

              java:app/rhevm-vdsbroker/VdsBroker!org.nogah.common.backendinterfaces.IResourceManager

              java:module/VdsBroker!org.nogah.common.backendinterfaces.IResourceManager

              java:global/rhevm/rhevm-vdsbroker/VdsBroker

              java:app/rhevm-vdsbroker/VdsBroker

              java:module/VdsBroker

       

      10:23:58,488 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named UsersDomainsCacheManagerService in deployment unit subdeployment "rhevm-bll.jar" of deployment "rhevm.ear" are as follows:

       

              java:global/rhevm/rhevm-bll/UsersDomainsCacheManagerService!org.nogah.bll.adbroker.UsersDomainsCacheManager

              java:app/rhevm-bll/UsersDomainsCacheManagerService!org.nogah.bll.adbroker.UsersDomainsCacheManager

              java:module/UsersDomainsCacheManagerService!org.nogah.bll.adbroker.UsersDomainsCacheManager

              java:global/rhevm/rhevm-bll/UsersDomainsCacheManagerService

              java:app/rhevm-bll/UsersDomainsCacheManagerService

              java:module/UsersDomainsCacheManagerService

       

      10:23:58,489 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named KerberosManager in deployment unit subdeployment "rhevm-bll.jar" of deployment "rhevm.ear" are as follows:

       

              java:global/rhevm/rhevm-bll/KerberosManager!org.nogah.bll.adbroker.KerberosManagerSericeManagmentMBean

              java:app/rhevm-bll/KerberosManager!org.nogah.bll.adbroker.KerberosManagerSericeManagmentMBean

              java:module/KerberosManager!org.nogah.bll.adbroker.KerberosManagerSericeManagmentMBean

              java:global/rhevm/rhevm-bll/KerberosManager

              java:app/rhevm-bll/KerberosManager

              java:module/KerberosManager

       

      10:23:58,489 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-2) JNDI bindings for session bean named Backend in deployment unit subdeployment "rhevm-bll.jar" of deployment "rhevm.ear" are as follows:

       

              java:global/rhevm/rhevm-bll/Backend!org.nogah.bll.BackendRemote

              java:app/rhevm-bll/Backend!org.nogah.bll.BackendRemote

              java:module/Backend!org.nogah.bll.BackendRemote

              java:global/rhevm/rhevm-bll/Backend!org.nogah.bll.interfaces.BackendInternal

              java:app/rhevm-bll/Backend!org.nogah.bll.interfaces.BackendInternal

              java:module/Backend!org.nogah.bll.interfaces.BackendInternal

       

      10:23:59,175 INFO  [org.jboss.wsf.stack.cxf.deployment.aspect.DescriptorDeploymentAspect] (MSC service thread 1-1) Spring not available, skipping check for user provided jbossws-cxf.xml / cxf.xml configuration files.

      10:23:59,179 INFO  [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] (MSC service thread 1-1) Add Service

      id=GenericApiService

      address=http://10.35.18.68:8080/rhevm-genericapi/IBackend/IBackendCxf

      implementor=org.nogah.genericapi.GenericApiService

      invoker=org.jboss.wsf.stack.cxf.InvokerEJB3

      serviceName={http://service.org.nogah}IBackend

      portName={http://service.org.nogah}IBackendCxfPort

      wsdlLocation=null

      mtomEnabled=false

      10:23:59,196 INFO  [org.jboss.ws.common.management.DefaultEndpointRegistry] (MSC service thread 1-1) register: jboss.ws:context=rhevm-genericapi,endpoint=GenericApiService

      10:23:59,252 INFO  [org.jboss.as.ejb3.deployment.processors.EjbDependsOnAnnotationProcessor] (MSC service thread 1-2) UsersDomainsCacheManagerService bean has @DependsOn

      10:23:59,252 INFO  [org.jboss.as.ejb3.deployment.processors.EjbDependsOnAnnotationProcessor] (MSC service thread 1-2) KerberosManager bean has @DependsOn

      10:23:59,544 INFO  [org.nogah.bll.Backend] (MSC service thread 1-2) Start time: 7/10/11 10:23 AM

      10:23:59,689 INFO  [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-1) Creating Service {http://service.org.nogah}IBackend from class org.nogah.genericapi.GenericApiService

      10:23:59,808 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-2) Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]

      10:24:00,406 INFO  [org.springframework.jdbc.support.SQLErrorCodesFactory] (MSC service thread 1-2) SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]

      10:24:00,755 ERROR [org.nogah.rhevmencryptutils.EncryptionUtils] (MSC service thread 1-2) Failed to decrypt

      10:24:00,756 ERROR [org.nogah.dal.dbbroker.generic.DBConfigUtils] (MSC service thread 1-2) Failed to decrypt value for property LocalAdminPassword will be used encrypted value

      10:24:00,822 ERROR [org.nogah.rhevmencryptutils.EncryptionUtils] (MSC service thread 1-2) Failed to decrypt

      10:24:00,822 ERROR [org.nogah.dal.dbbroker.generic.DBConfigUtils] (MSC service thread 1-2) Failed to decrypt value for property CertificatePassword will be used encrypted value

      10:24:00,861 ERROR [org.nogah.rhevmencryptutils.EncryptionUtils] (MSC service thread 1-2) Failed to decrypt

      10:24:00,861 ERROR [org.nogah.dal.dbbroker.generic.DBConfigUtils] (MSC service thread 1-2) Failed to decrypt value for property TruststorePass will be used encrypted value

      10:24:00,862 WARN  [org.nogah.utils.ConfigUtilsBase] (MSC service thread 1-2) Could not find enum value for option: CARhevmKey

      10:24:00,881 ERROR [org.nogah.rhevmencryptutils.EncryptionUtils] (MSC service thread 1-2) Failed to decrypt

      10:24:00,881 ERROR [org.nogah.dal.dbbroker.generic.DBConfigUtils] (MSC service thread 1-2) Failed to decrypt value for property AdUserPassword will be used encrypted value

      10:24:00,912 WARN  [org.nogah.utils.ConfigUtilsBase] (MSC service thread 1-2) Could not find enum value for option: ScriptsPath

      10:24:00,914 WARN  [org.nogah.utils.ConfigUtilsBase] (MSC service thread 1-2) Could not find enum value for option: CbcCheckOnVdsChange

      10:24:00,943 WARN  [org.nogah.utils.ConfigUtilsBase] (MSC service thread 1-2) Could not find enum value for option: SQLServerI18NPrefix

      10:24:00,951 WARN  [org.nogah.utils.ConfigUtilsBase] (MSC service thread 1-2) Could not find enum value for option: RHEVMEARLib

      10:24:00,972 WARN  [org.nogah.utils.ConfigUtilsBase] (MSC service thread 1-2) Could not find enum value for option: FenceQuietTimeBetweenOperationsInSec

      10:24:00,978 WARN  [org.jboss.as.ejb3.component.EJBComponent] (MSC service thread 1-2) EJBTHREE-2120: deprecated getTransactionAttributeType method called (dev problem)

      10:24:00,988 INFO  [org.nogah.vdsbroker.ResourceManager] (MSC service thread 1-2) ResourceManager::ResourceManager::Entered

      10:24:01,436 INFO  [org.nogah.dal.dbbroker.generic.DBConfigUtils] (MSC service thread 1-2) Didnt find the value of UserDefinedVMProperties in DB - using default:

      10:24:05,007 INFO  [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-1) Setting the server's publish address to be http://10.35.18.68:8080/rhevm-genericapi/IBackend/IBackendCxf

      10:24:05,028 WARN  [org.jboss.wsf.stack.cxf.resolver.JBossWSResourceResolver] (MSC service thread 1-1) Cannot resolve resource: cxf

      10:24:06,000 INFO  [org.jboss.wsf.stack.cxf.deployment.WSDLFilePublisher] (MSC service thread 1-1) WSDL published to: file:/root/jboss-7.0.0.CR1/standalone/data/wsdl/rhevm.ear/rhevm-genericapi.jar/IBackend.wsdl

      10:24:06,178 INFO  [org.jboss.as.webservices.service.EndpointService] (MSC service thread 1-1) Starting service jboss.ws.endpoint.rhevm-genericapi.GenericApiService

      10:24:06,446 INFO  [org.nogah.vdsbroker.VdsManager] (MSC service thread 1-2) Eneterd VdsManager:constructor

      10:24:06,447 INFO  [org.nogah.vdsbroker.VdsManager] (MSC service thread 1-2) vdsBroker(10.35.1.164,54,321)

      10:24:06,502 INFO  [stdout] (MSC service thread 1-2) XXX:

      10:24:07,007 INFO  [org.quartz.core.SchedulerSignalerImpl] (MSC service thread 1-2) Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl

      10:24:07,008 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-2) Quartz Scheduler v.1.8.3 created.

      10:24:07,009 INFO  [org.quartz.simpl.RAMJobStore] (MSC service thread 1-2) RAMJobStore initialized.

      10:24:07,011 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-2) Scheduler meta-data: Quartz Scheduler (v1.8.3) 'QuartzScheduler' with instanceId 'NON_CLUSTERED'

        Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.

        NOT STARTED.

        Currently in standby mode.

        Number of jobs executed: 0

        Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 100 threads.

        Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

       

      10:24:07,011 INFO  [org.quartz.impl.StdSchedulerFactory] (MSC service thread 1-2) Quartz scheduler 'QuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'

      10:24:07,011 INFO  [org.quartz.impl.StdSchedulerFactory] (MSC service thread 1-2) Quartz scheduler version: 1.8.3

      10:24:07,011 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-2) Scheduler QuartzScheduler_$_NON_CLUSTERED started.

      10:24:07,054 INFO  [org.nogah.vdsbroker.ResourceManager] (MSC service thread 1-2) ResourceManager::AddVds - VDS bbe83728-a245-11e0-b9c3-f717f35ab3de was added to the Resource Manager

      10:24:12,055 INFO  [org.nogah.vdsbroker.VdsManager] (MSC service thread 1-2) Eneterd VdsManager:constructor

      10:24:12,056 INFO  [org.nogah.vdsbroker.VdsManager] (MSC service thread 1-2) vdsBroker(10.35.1.160,54,321)

      10:24:12,071 INFO  [org.nogah.vdsbroker.ResourceManager] (MSC service thread 1-2) ResourceManager::AddVds - VDS 74b387e8-a60c-11e0-a3c3-53f85d77d61f was added to the Resource Manager

      10:24:12,097 INFO  [org.nogah.bll.Backend] (MSC service thread 1-2) VDSBrokerFrontend: 7/10/11 10:24 AM

      10:24:12,101 INFO  [org.nogah.bll.Backend] (MSC service thread 1-2) CpuFlagsManager: 7/10/11 10:24 AM

      10:24:12,102 INFO  [org.nogah.bll.AuditLogCleanupManager] (MSC service thread 1-2) Setting audit clean up manager to run at: 35 35 3 * * ?

      10:24:12,141 INFO  [org.nogah.bll.Backend] (MSC service thread 1-2) AuditLogCleanupManager: 7/10/11 10:24 AM

      10:24:12,192 INFO  [org.nogah.bll.TimeLeasedVmPoolManager] (MSC service thread 1-2) TimeLeasedVmPoolManager constractor entered

      10:24:12,193 INFO  [org.nogah.bll.Backend] (MSC service thread 1-2) TimeLeasedVmPoolManager: 7/10/11 10:24 AM

      10:24:12,195 INFO  [org.nogah.bll.TagsDirector] (MSC service thread 1-2) TagsDirector initialization

      10:24:12,195 INFO  [org.nogah.bll.TagsDirector] (MSC service thread 1-2) Tag root added to tree

      10:24:12,214 INFO  [org.nogah.bll.Backend] (MSC service thread 1-2) TagsDirector: 7/10/11 10:24 AM

      10:24:12,218 INFO  [org.nogah.bll.Backend] (MSC service thread 1-2) ImagesSyncronizer: 7/10/11 10:24 AM

      10:24:12,229 INFO  [org.nogah.bll.Backend] (MSC service thread 1-2) IsoDomainListSyncronizer: 7/10/11 10:24 AM

      10:24:12,256 INFO  [org.nogah.bll.Backend] (MSC service thread 1-2) InitHandlers: 7/10/11 10:24 AM

      10:24:12,271 INFO  [org.nogah.bll.AsyncTaskManager] (MSC service thread 1-2) AsyncTaskManager: Initialization of AsyncTaskManager completed successfully.

      10:24:12,271 INFO  [org.nogah.bll.Backend] (MSC service thread 1-2) LicenseManager: 7/10/11 10:24 AM

      10:24:12,278 INFO  [org.nogah.bll.Backend] (MSC service thread 1-2) VdsLoadBalancer: 7/10/11 10:24 AM

      10:24:12,288 INFO  [org.nogah.bll.Backend] (MSC service thread 1-2) ErrorTranslator: 7/10/11 10:24 AM

      10:24:12,289 INFO  [org.nogah.bll.Backend] (MSC service thread 1-2) VdsErrorTranslator: 7/10/11 10:24 AM

      10:24:12,353 INFO  [org.nogah.bll.Backend] (MSC service thread 1-2) MacPoolManager: 7/10/11 10:24 AM

      10:24:12,628 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "rhevm.ear" was rolled back with failure message {"Services with missing/unavailable dependencies" => ["jboss.web.\"rhevmanager.war\"","jboss.web.\"components.war\"","jboss.web.\"rhevm-genericapi.jar\"","jboss.web.\"rhevdocs.war\"","jboss.web.\"rhevmanagerweb.war\""]}

      10:24:12,641 INFO  [org.jboss.as.webservices.service.EndpointService] (MSC service thread 1-1) Stopping service jboss.ws.endpoint.rhevm-genericapi.GenericApiService

      10:24:12,646 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-2) Scheduler QuartzScheduler_$_NON_CLUSTERED shutting down.

      10:24:12,647 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-2) Scheduler QuartzScheduler_$_NON_CLUSTERED paused.

      10:24:12,653 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-2) Scheduler QuartzScheduler_$_NON_CLUSTERED shutdown complete.

      10:24:12,740 WARN  [org.jboss.wsf.stack.cxf.resolver.JBossWSResourceResolver] (MSC service thread 1-1) Cannot resolve resource: org.apache.cxf.ws.rm.RMManager/bus

      10:24:12,785 INFO  [org.jboss.ws.common.management.DefaultEndpointRegistry] (MSC service thread 1-1) remove: jboss.ws:context=rhevm-genericapi,endpoint=GenericApiService

      10:24:12,816 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment rhevmanager.war in 193ms

      10:24:12,816 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment rhevm-scheduler.jar in 193ms

      10:24:12,816 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment components.war in 194ms

      10:24:12,817 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment rhevm-genericapi.jar in 194ms

      10:24:12,817 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment rhevdocs.war in 194ms

      10:24:12,817 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment rhevm-vdsbroker.jar in 195ms

      10:24:12,817 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment rhevmanagerweb.war in 195ms

      10:24:12,818 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment rhevm-bll.jar in 195ms

      10:24:12,869 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment rhevm.ear in 247ms

      10:24:12,872 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Services with missing/unavailable dependencies" => ["jboss.web.\"rhevmanager.war\"","jboss.web.\"components.war\"","jboss.web.\"rhevm-genericapi.jar\"","jboss.web.\"rhevdocs.war\"","jboss.web.\"rhevmanagerweb.war\""]}}}

        • 1. Re: using CXF in jboss as7
          Darran Lofthouse Master

          To enable the web service integration in AS7 you need to use the -preview.xml configuration in the distribution.

           

          Assuming you are running the standalone server you can either start the server by adding --server-config=standalone-preview.xml or rename the standalone-preview.xml to standalone.xml after moving the original standalone.xml out of the way.

          • 2. Re: using CXF in jboss as7
            Oved Ourfali Newbie

            Hey,

             

            I am using this configuration (I basically changes standalone.xml file to include web + webservices subsystems).

            I found a few more problems which I have fixed, but the bottom line is that I'm still getting the warnings about cxf:

             

            10:23:59,175 INFO  [org.jboss.wsf.stack.cxf.deployment.aspect.DescriptorDeploymentAspect] (MSC service thread 1-1) Spring not available, skipping check for user provided jbossws-cxf.xml / cxf.xml configuration files.

            10:24:05,028 WARN  [org.jboss.wsf.stack.cxf.resolver.JBossWSResourceResolver] (MSC service thread 1-1) Cannot resolve resource: cxf

             

            Is there other kind of configuration I need to do in order to make it resolve CXF?

             

            Thank you very much for your help,

            Oved

            • 3. Re: using CXF in jboss as7
              Oved Ourfali Newbie

              The warning does not effect the functionality.

              It works for me now with the warnings.

               

              However, looking at the admin gui, the web services are not shown. I understand that they are supposed to appear there, so is it a bug?

               

              Thank you,

              Oved

              • 4. Re: using CXF in jboss as7
                Emanuel Muckenhuber Master

                Oved O wrote:

                 

                However, looking at the admin gui, the web services are not shown. I understand that they are supposed to appear there, so is it a bug?

                 

                Yes, they should appear as part of Web -> Web Services in the adming gui. One thing you can check is to use the CLI and see what '/deployment=yourdeployment.war:read-resource(recursive=true)' returns.

                • 5. Re: using CXF in jboss as7
                  heng li Newbie

                  hey,

                   

                  I met the same problem,  counld you tell me how to solve?

                   

                  Thk