Announcement Announcement Module
Collapse
No announcement yet.
Validator missing during deployment Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Validator missing during deployment

    Hi, with Spring 3, Hibernate 3 and AS7.1, I don't know why I am getting the following error:


    09:48:50,281 INFO [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] (MSC service thread 1-3) Add Service
    id=CategorySubcategoriesServiceImpl
    address=http://localhost:8080/category6-ws-web/CategoryServices
    implementor=ix.houseware.category.service.Category SubcategoriesServiceImpl
    invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker
    serviceName={http://service.category.houseware.ix/}CategorySubcategoriesServiceImplService
    portName={http://service.category.houseware.ix/}CategorySubcategoriesServiceImplPort
    wsdlLocation=null
    mtomEnabled=false
    09:48:50,282 INFO [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] (MSC service thread 1-3) Add Service
    id=CategoryImagesServiceImpl
    address=http://localhost:8080/category6-ws-web/CategoryImagesServices
    implementor=ix.houseware.category.service.Category ImagesServiceImpl
    invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker
    serviceName={http://service.category.houseware.ix/}CategoryImagesServiceImplService
    portName={http://service.category.houseware.ix/}CategoryImagesServiceImplPort
    wsdlLocation=null
    mtomEnabled=false
    09:48:50,283 INFO [org.jboss.ws.common.management.DefaultEndpointRegi stry] (MSC service thread 1-3) register: jboss.ws:context=category6-ws-web,endpoint=CategorySubcategoriesServiceImpl
    09:48:50,285 INFO [org.jboss.ws.common.management.DefaultEndpointRegi stry] (MSC service thread 1-3) register: jboss.ws:context=category6-ws-web,endpoint=CategoryImagesServiceImpl
    09:48:50,423 INFO [org.apache.cxf.service.factory.ReflectionServiceFa ctoryBean] (MSC service thread 1-3) Creating Service {http://service.category.houseware.ix/}CategorySubcategoriesServiceImplService from class ix.houseware.category.service.CategorySubcategorie sService
    09:48:50,965 INFO [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-3) Setting the server's publish address to be http://localhost:8080/category6-ws-web/CategoryServices
    09:48:51,065 INFO [org.jboss.wsf.stack.cxf.deployment.WSDLFilePublish er] (MSC service thread 1-3) WSDL published to: file:/usr/local/users/jboss/jboss71A2/standalone/data/wsdl/category6-ws-ear.ear/catetory6-ws-web.war/CategorySubcategoriesServiceImplService.wsdl
    09:48:51,070 INFO [org.apache.cxf.service.factory.ReflectionServiceFa ctoryBean] (MSC service thread 1-3) Creating Service {http://service.category.houseware.ix/}CategoryImagesServiceImplService from class ix.houseware.category.service.CategoryImagesServic e
    09:48:51,128 INFO [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-3) Setting the server's publish address to be http://localhost:8080/category6-ws-w...ImagesServices
    09:48:51,146 INFO [org.jboss.wsf.stack.cxf.deployment.WSDLFilePublish er] (MSC service thread 1-3) WSDL published to: file:/usr/local/users/jboss/jboss71A2/standalone/data/wsdl/category6-ws-ear.ear/catetory6-ws-web.war/CategoryImagesServiceImplService.wsdl
    09:48:51,226 INFO [org.jboss.as.webservices.service.EndpointService] (MSC service thread 1-4) Starting service jboss.ws.endpoint.category6-ws-web.CategoryImagesServiceImpl
    09:48:51,227 INFO [org.jboss.as.webservices.service.EndpointService] (MSC service thread 1-7) Starting service jboss.ws.endpoint.category6-ws-web.CategorySubcategoriesServiceImpl
    09:48:51,240 INFO [org.jboss.web] (MSC service thread 1-5) registering web context: /category6-ws-web
    09:48:51,444 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "category6-ws-ear.ear" was rolled back with failure message {"Failed services" => {"jboss.deployment.subunit.\"category6-ws-ear.ear\".\"category6-ws-ejb.jar\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"category6-ws-ear.ear\".\"category6-ws-ejb.jar\".INSTALL: Failed to process phase INSTALL of subdeployment \"category6-ws-ejb.jar\" of deployment \"category6-ws-ear.ear\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategorySubcategoriesFacade.Validator missing [ jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategorySubcategoriesFacade ]","jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategoryImagesFacade.ValidatorFactory missing [ jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategoryImagesFacade ]","jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategoryImagesFacade.Validator missing [ jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategoryImagesFacade ]","jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategorySubcategoriesFacade.ValidatorFactory missing [ jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategorySubcategoriesFacade ]"]}
    09:48:51,445 INFO [org.jboss.as.webservices.service.EndpointService] (MSC service thread 1-8) Stopping service jboss.ws.endpoint.category6-ws-web.CategoryImagesServiceImpl
    09:48:51,446 INFO [org.jboss.as.webservices.service.EndpointService] (MSC service thread 1-1) Stopping service jboss.ws.endpoint.category6-ws-web.CategorySubcategoriesServiceImpl
    09:48:51,478 INFO [org.jboss.ws.common.management.DefaultEndpointRegi stry] (MSC service thread 1-1) remove: jboss.ws:context=category6-ws-web,endpoint=CategorySubcategoriesServiceImpl
    09:48:51,478 INFO [org.jboss.ws.common.management.DefaultEndpointRegi stry] (MSC service thread 1-1) remove: jboss.ws:context=category6-ws-web,endpoint=CategoryImagesServiceImpl
    09:48:51,483 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment category6-ws-ejb.jar in 39ms
    09:48:51,490 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment catetory6-ws-web.war in 46ms
    09:48:51,499 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) Stopped deployment category6-ws-ear.ear in 55ms
    09:48:51,500 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.subunit.\"category6-ws-ear.ear\".\"category6-ws-ejb.jar\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"category6-ws-ear.ear\".\"category6-ws-ejb.jar\".INSTALL: Failed to process phase INSTALL of subdeployment \"category6-ws-ejb.jar\" of deployment \"category6-ws-ear.ear\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategorySubcategoriesFacade.Validator missing [ jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategorySubcategoriesFacade ]","jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategoryImagesFacade.ValidatorFactory missing [ jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategoryImagesFacade ]","jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategoryImagesFacade.Validator missing [ jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategoryImagesFacade ]","jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategorySubcategoriesFacade.ValidatorFactory missing [ jboss.naming.context.java.comp.category6-ws-ear.category6-ws-ejb.CategorySubcategoriesFacade ]"]}}}
    Here is my pom.xml file:

    ....
    <modelVersion>4.0.0</modelVersion>
    <parent>
    <artifactId>category6-ws</artifactId>
    <groupId>ix.houseware.category</groupId>
    <version>1.0-SNAPSHOT</version>
    </parent>


    <groupId>ix.houseware.category</groupId>
    <artifactId>category6-ws-ejb</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>ejb</packaging>


    <name>category6-ws-ejb EJB</name>


    <properties>
    <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    ...
    </properties>


    <dependencies>


    <dependency>
    <groupId>javax</groupId>
    <artifactId>javaee-api</artifactId>
    <version>6.0</version>
    <scope>provided</scope>
    </dependency>


    <dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-envers</artifactId>
    <version>${hibernate.version}</version>


    <exclusions>
    <exclusion>
    <groupId>dom4j</groupId>
    <artifactId>dom4j</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-annotations</artifactId>
    <version>${hibernate.version}</version>


    </dependency>
    <dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-entitymanager</artifactId>
    <version>${hibernate.version}</version>
    <type>jar</type>


    </dependency>
    <dependency>
    <groupId>commons-lang</groupId>
    <artifactId>commons-lang</artifactId>
    <version>2.6</version>
    </dependency>
    <dependency>
    <groupId>joda-time</groupId>
    <artifactId>joda-time</artifactId>
    <version>2.0</version>
    </dependency>
    <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-log4j12</artifactId>
    <version>1.5.8</version>
    <type>jar</type>
    </dependency>
    <dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.8.1</version>
    <scope>test</scope>
    </dependency>


    </dependencies>

    .....
    </project>
    Any suggestion would be very appreciated.
    Thanks
    Sam
Working...
X