2 Replies Latest reply on Oct 5, 2011 4:24 AM by Sam W

    Can't deploy ear.

    Sam W Expert

      Hi,

       

      I have written an EAR project consists of CXF2 web service, EJB3 layers.

      When I deployed the ear file to JBOSS 6, jboss throws the following error:

       

       

      22:42:07,864 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Installed org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@7f90a6db into MC at org.jboss.ejb.bean.instantiator/category5-ws-ear/category5-ws-ejb/CalculatorBean

      22:42:07,864 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Installed org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@7f90a6db into MC at org.jboss.ejb.bean.instantiator/category5-ws-ear/category5-ws-ejb/CategoryImagesFacade

      22:42:07,865 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Installed org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@7f90a6db into MC at org.jboss.ejb.bean.instantiator/category5-ws-ear/category5-ws-ejb/CallerName

      22:42:07,865 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Installed org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@7f90a6db into MC at org.jboss.ejb.bean.instantiator/category5-ws-ear/category5-ws-ejb/CategorySubcategoriesFacade

      22:42:07,866 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Installed org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@7f90a6db into MC at org.jboss.ejb.bean.instantiator/category5-ws-ear/category5-ws-web/CategorySubcategoriesServiceImpl

      22:42:07,872 WARN  [org.jboss.ejb3.interceptor.InterceptorInfoRepository] EJBTHREE-1852: InterceptorInfoRepository is deprecated

      22:42:08,188 WARN  [org.jboss.ejb3.interceptor.InterceptorInfoRepository] EJBTHREE-1852: InterceptorInfoRepository is deprecated

      22:42:08,238 WARN  [org.jboss.wsf.stack.cxf.deployment.aspect.DescriptorDeploymentAspect] Spring not available, skipping check for user provided jbossws-cxf.xml / cxf.xml configuration files.

      22:42:08,245 INFO  [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] Add Service

      id=CategorySubcategoriesServiceImpl

      address=http://portal.ixsystems.com.au:8080/category5-ws-web/services

      implementor=ix.houseware.category.service.CategorySubcategoriesServiceImpl

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

      serviceName={http://service.category.houseware.ix/}CategorySubcategoriesServiceImplService

      portName={http://service.category.houseware.ix/}CategorySubcategoriesServiceImplPort

      wsdlLocation=null

      mtomEnabled=false

      22:42:08,393 INFO  [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] Creating Service {http://service.category.houseware.ix/}CategorySubcategoriesServiceImplService from class ix.houseware.category.service.CategorySubcategoriesService

      22:42:08,554 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@7f90a6db from MC at org.jboss.ejb.bean.instantiator/category5-ws-ear/category5-ws-web/CategorySubcategoriesServiceImpl

      22:42:08,554 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@7f90a6db from MC at org.jboss.ejb.bean.instantiator/category5-ws-ear/category5-ws-ejb/CalculatorBean

      22:42:08,555 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@7f90a6db from MC at org.jboss.ejb.bean.instantiator/category5-ws-ear/category5-ws-ejb/CategoryImagesFacade

      22:42:08,555 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@7f90a6db from MC at org.jboss.ejb.bean.instantiator/category5-ws-ear/category5-ws-ejb/CallerName

      22:42:08,556 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@7f90a6db from MC at org.jboss.ejb.bean.instantiator/category5-ws-ear/category5-ws-ejb/CategorySubcategoriesFacade

      22:42:08,557 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Real: name=vfs:///usr/local/users/jboss/jboss6/server/default/deploy/category5-ws-ear.ear state=PreReal mode=Manual requiredState=Real: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///usr/local/users/jboss/jboss6/server/default/deploy/category5-ws-ear.ear/category5-ws-web.war/

              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]

              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]

              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]

              at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]

              at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.deploy(HDScanner.java:240) [:0.2.2]

              at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.complete(HDScanner.java:192) [:0.2.2]

              at org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:57) [:0.2.2]

              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModificationAction.java:74) [:0.2.2]

              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:95) [:0.2.2]

              at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135) [:0.2.2]

              at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner.java:146) [:0.2.2]

              at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.java:90) [:0.2.2]

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_03-p4]

              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [:1.6.0_03-p4]

              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_03-p4]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_03-p4]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) [:1.6.0_03-p4]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) [:1.6.0_03-p4]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) [:1.6.0_03-p4]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [:1.6.0_03-p4]

              at java.lang.Thread.run(Thread.java:619) [:1.6.0_03-p4]

      Caused by: javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException

              at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:335) [:2.3.1]

              at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:62) [:3.4.1.GA]

              at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:238) [:2.3.1]

              at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:481) [:2.3.1]

              at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:112) [:3.4.1.GA]

              at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:110) [:3.4.1.GA]

              at org.jboss.webservices.integration.deployers.WSDeploymentAspectDeployer.internalDeploy(WSDeploymentAspectDeployer.java:123) [:6.0.0.Final]

              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]

              ... 38 more

      Caused by: org.apache.cxf.service.factory.ServiceConstructionException

              at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:341) [:2.3.1]

              at org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86) [:2.3.1]

              at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:442) [:2.3.1]

              at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:680) [:2.3.1]

              at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:505) [:2.3.1]

              at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:242) [:2.3.1]

              at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:202) [:2.3.1]

              at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101) [:2.3.1]

              at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:148) [:2.3.1]

              at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:183) [:2.3.1]

              at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:407) [:2.3.1]

              at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:314) [:2.3.1]

              ... 46 more

      Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions

      ix.houseware.category.service.CategorySubcategoriesService is an interface, and JAXB can't handle interfaces.

              this problem is related to the following location:

                      at ix.houseware.category.service.CategorySubcategoriesService

                      at private java.util.Collection ix.houseware.category.service.jaxws_asm.FindAllResponse._return

                      at ix.houseware.category.service.jaxws_asm.FindAllResponse

      ix.houseware.category.service.CategorySubcategoriesService does not have a no-arg default constructor.

              this problem is related to the following location:

                      at ix.houseware.category.service.CategorySubcategoriesService

                      at private java.util.Collection ix.houseware.category.service.jaxws_asm.FindAllResponse._return

                      at ix.houseware.category.service.jaxws_asm.FindAllResponse

       

       

              at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102) [:2.2]

              at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:472) [:2.2]

              at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:302) [:2.2]

              at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1140) [:2.2]

              at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154) [:2.2]

              at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121) [:2.2]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_03-p4]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_03-p4]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_03-p4]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_03-p4]

              at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:201) [:1.0.0.Final]

              at javax.xml.bind.ContextFinder.find(ContextFinder.java:362) [:1.0.0.Final]

              at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:618) [:1.0.0.Final]

              at org.apache.cxf.jaxb.JAXBDataBinding.createContext(JAXBDataBinding.java:564) [:2.3.1]

              at org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContextAndSchemas(JAXBDataBinding.java:504) [:2.3.1]

              at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:324) [:2.3.1]

              ... 57 more

       

       

      22:42:08,574 WARN  [org.jboss.profileservice.deployment.hotdeploy.HDScanner] Scan failed: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

       

      *** DEPLOYMENTS IN ERROR: Name -> Error

       

       

      vfs:///usr/local/users/jboss/jboss6/server/default/deploy/category5-ws-ear.ear -> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///usr/local/users/jboss/jboss6/server/default/deploy/category5-ws-ear.ear/category5-ws-web.war/

       

       

       

       

      DEPLOYMENTS IN ERROR:

        Deployment "vfs:///usr/local/users/jboss/jboss6/server/default/deploy/category5-ws-ear.ear" is in error due to the following reason(s): com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions

      ix.houseware.category.service.CategorySubcategoriesService is an interface, and JAXB can't handle interfaces.

              this problem is related to the following location:

                      at ix.houseware.category.service.CategorySubcategoriesService

                      at private java.util.Collection ix.houseware.category.service.jaxws_asm.FindAllResponse._return

                      at ix.houseware.category.service.jaxws_asm.FindAllResponse

      ix.houseware.category.service.CategorySubcategoriesService does not have a no-arg default constructor.

              this problem is related to the following location:

                      at ix.houseware.category.service.CategorySubcategoriesService

                      at private java.util.Collection ix.houseware.category.service.jaxws_asm.FindAllResponse._return

                      at ix.houseware.category.service.jaxws_asm.FindAllResponse

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1316) [:2.2.0.GA]

              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:968) [:2.2.0.GA]

              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:82) [:6.0.0.Final]

              at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.checkComplete(ProfileControllerContext.java:138) [:0.2.2]

              at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.deploy(HDScanner.java:246) [:0.2.2]

              at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.complete(HDScanner.java:192) [:0.2.2]

              at org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:57) [:0.2.2]

              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModificationAction.java:74) [:0.2.2]

              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:95) [:0.2.2]

              at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135) [:0.2.2]

              at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner.java:146) [:0.2.2]

              at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.java:90) [:0.2.2]

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_03-p4]

              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [:1.6.0_03-p4]

              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_03-p4]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_03-p4]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) [:1.6.0_03-p4]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) [:1.6.0_03-p4]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) [:1.6.0_03-p4]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [:1.6.0_03-p4]

              at java.lang.Thread.run(Thread.java:619) [:1.6.0_03-p4]

       

       

       

       

       

       

       

      The EAR file structure is shown as below:

       

       

      jar -tvf category5-ws-ear.ear

           0 Tue Oct 04 23:41:24 EST 2011 META-INF/

         122 Tue Oct 04 23:41:22 EST 2011 META-INF/MANIFEST.MF

           0 Tue Oct 04 23:41:24 EST 2011 lib/

      27466 Tue Oct 04 23:41:24 EST 2011 category5-ws-ejb.jar

        5896 Tue Oct 04 23:41:24 EST 2011 category5-ws-web.war

      284220 Tue Oct 04 23:41:24 EST 2011 lib/commons-lang-2.6.jar

      569231 Tue Oct 04 23:41:24 EST 2011 lib/joda-time-2.0.jar

      367444 Tue Oct 04 23:41:24 EST 2011 lib/log4j-1.2.14.jar

      23445 Tue Oct 04 23:41:24 EST 2011 lib/slf4j-api-1.5.8.jar

        9679 Tue Oct 04 23:41:24 EST 2011 lib/slf4j-log4j12-1.5.8.jar

         544 Tue Oct 04 23:41:24 EST 2011 META-INF/application.xml

           0 Tue Oct 04 23:41:24 EST 2011 META-INF/maven/

           0 Tue Oct 04 23:41:24 EST 2011 META-INF/maven/ix.houseware.category/

           0 Tue Oct 04 23:41:24 EST 2011 META-INF/maven/ix.houseware.category/category5-ws-ear/

        1956 Tue Oct 04 23:01:10 EST 2011 META-INF/maven/ix.houseware.category/category5-ws-ear/pom.xml

         134 Tue Oct 04 23:41:24 EST 2011 META-INF/maven/ix.houseware.category/category5-ws-ear/pom.properties

       

       

      EJB tire file struture:

       

       

      jar -tvf category5-ws-ejb.jar

           0 Tue Oct 04 23:41:22 EST 2011 META-INF/

         122 Tue Oct 04 23:41:20 EST 2011 META-INF/MANIFEST.MF

           0 Tue Oct 04 23:41:20 EST 2011 ix/

           0 Tue Oct 04 23:41:20 EST 2011 ix/caller/

           0 Tue Oct 04 23:41:20 EST 2011 ix/houseware/

           0 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/

           0 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/entity/

           0 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/entity/facade/

           0 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/utils/

        1436 Tue Oct 04 23:41:20 EST 2011 ix/caller/CallerBean.class

         307 Tue Oct 04 23:41:20 EST 2011 ix/caller/CallerLocal.class

         738 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/CalculatorBean.class

         215 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/CalculatorLocal.class

        4182 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/entity/CategoryImages.class

        1846 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/entity/CategoryImagesPK.class

        4676 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/entity/CategorySubcategories.class

        4050 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/entity/facade/AbstractFacade.class

        4149 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/entity/facade/CategoryImagesFacade.class

        1359 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/entity/facade/CategorySubcategoriesFacade.class

         375 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/entity/facade/CategorySubcategoriesFacadeLocal.class

        1261 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/entity/Order.class

        1212 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/utils/DateUtils$CalculationQuarter.class

      12588 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/utils/DateUtils.class

        2204 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/utils/Quarter.class

         771 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/utils/RandomNumberUtil.class

        3013 Tue Oct 04 23:41:20 EST 2011 ix/houseware/category/utils/XmlParser.class

        1103 Tue Oct 04 23:41:18 EST 2011 META-INF/persistence-junit.xml

         702 Tue Oct 04 23:41:18 EST 2011 META-INF/persistence.xml

         694 Tue Oct 04 23:41:18 EST 2011 META-INF/persistence_jboss7.xml

           0 Tue Oct 04 23:41:22 EST 2011 META-INF/maven/

           0 Tue Oct 04 23:41:22 EST 2011 META-INF/maven/ix.houseware.category/

           0 Tue Oct 04 23:41:22 EST 2011 META-INF/maven/ix.houseware.category/category5-ws-ejb/

        5273 Tue Oct 04 23:24:24 EST 2011 META-INF/maven/ix.houseware.category/category5-ws-ejb/pom.xml

         134 Tue Oct 04 23:41:22 EST 2011 META-INF/maven/ix.houseware.category/category5-ws-ejb/pom.properties

       

       

      WAR tire file structure:

       

      jar -tvf category5-ws-web.war

           0 Tue Oct 04 23:41:24 EST 2011 META-INF/

         122 Tue Oct 04 23:41:22 EST 2011 META-INF/MANIFEST.MF

           0 Tue Oct 04 23:41:24 EST 2011 WEB-INF/

           0 Tue Oct 04 23:41:24 EST 2011 WEB-INF/classes/

           0 Tue Oct 04 23:41:24 EST 2011 WEB-INF/classes/ix/

           0 Tue Oct 04 23:41:24 EST 2011 WEB-INF/classes/ix/houseware/

           0 Tue Oct 04 23:41:24 EST 2011 WEB-INF/classes/ix/houseware/category/

           0 Tue Oct 04 23:41:24 EST 2011 WEB-INF/classes/ix/houseware/category/service/

         374 Tue Oct 04 23:01:06 EST 2011 index.jsp

         422 Tue Oct 04 23:41:22 EST 2011 WEB-INF/classes/ix/houseware/category/service/CategorySubcategoriesService.class

        1777 Tue Oct 04 23:41:22 EST 2011 WEB-INF/classes/ix/houseware/category/service/CategorySubcategoriesServiceImpl.class

         122 Tue Oct 04 23:33:22 EST 2011 WEB-INF/jboss-web.xml

         820 Tue Oct 04 23:34:02 EST 2011 WEB-INF/web.xml

         820 Tue Oct 04 23:34:02 EST 2011 WEB-INF/web.xml

           0 Tue Oct 04 23:41:24 EST 2011 META-INF/maven/

           0 Tue Oct 04 23:41:24 EST 2011 META-INF/maven/ix.houseware.category/

           0 Tue Oct 04 23:41:24 EST 2011 META-INF/maven/ix.houseware.category/category5-ws-web/

        3708 Tue Oct 04 23:27:00 EST 2011 META-INF/maven/ix.houseware.category/category5-ws-web/pom.xml

         134 Tue Oct 04 23:41:24 EST 2011 META-INF/maven/ix.houseware.category/category5-ws-web/pom.properties

       

       

      CategorySubcategoriesService.java file:

       

       

      mport java.util.Collection;

      import javax.jws.WebService;

      import javax.jws.WebMethod;

      import javax.jws.WebParam;

       

       

      @WebService

      public interface CategorySubcategoriesService {

         

          @WebMethod

          public Collection<CategorySubcategoriesService> findAll();

      }

       

       

      CategorySubcategoriesServiceImpl.java file:

       

       

      @WebService(endpointInterface = "ix.houseware.category.service.CategorySubcategoriesService")

      @Stateless()

      public class CategorySubcategoriesServiceImpl implements CategorySubcategoriesService {

      public Collection<CategorySubcategoriesService> findAll() {

               System.out.println("\n\n\t Hello ...");

              List<CategorySubcategoriesService> result = new ArrayList<CategorySubcategoriesService>();

              try {

                  InitialContext ic = new InitialContext();

                  // Obtain the application component's ENC

                  CallerLocal remote = (CallerLocal) ic.lookup("java:global/category5-ws-ear/category5-ws-ejb/CallerName!ix.caller.CallerLocal");

                  result = remote.findAll();

              } catch (Exception e) {

                  throw new RuntimeException(e.getMessage());

              }

             

              return result;

      }

      }

       

       

       

      I might have missed something, but I couldn't figured it out.

       

      Any suggestion is very appreciated.

      Thanks

      Sam