5 Replies Latest reply on May 25, 2011 9:25 AM by Matt Wringe

    Gatein Packaging problem with Jboss 6.x

    Megha Shah Newbie

      Hi,

      I am trying to package Gatein with Jboss 6.x.

      I have downloaded the Gatein trunk from http://anonsvn.jboss.org/repos/gatein/portal/trunk and started performing the packaging as per the README.txt using Maven

      While performing the packaging I get errors like

       

      [INFO] Reactor Summary:

      [INFO]

      [INFO] GateIn - Portal ................................... SUCCESS [1.016s]

      [INFO] GateIn Portal Component ........................... SUCCESS [0.172s]

      [INFO] GateIn Portal Test Component ...................... SUCCESS [0.312s]

      [INFO] GateIn Portal Component Core Test ................. SUCCESS [3.781s]

      [INFO] GateIn Portal Component Core Test JCR ............. SUCCESS [3.344s]

      [INFO] GateIn Portal Component JBoss IDM integration ..... FAILURE [4:14.533s]

      [INFO] GateIn Portal Component Core Test Organization .... SKIPPED

      [INFO] GateIn Portal Component Common .................... SKIPPED

      .

      .

      .

      .

       

      [ERROR] Failed to execute goal on project exo.portal.component.identity: Could not resolve dependencies for project org.exoplatform.portal:exo.portal.component.identity:jar:3.2.0-Beta01-SNAPSHOT: Failed to collect dependencies for [org.exoplatform.core:exo.core.component.database:jar:2.4.0-CR1 (compile), org.exoplatform.core:exo.core.component.organization.api:jar:2.4.0-CR1 (compile), org.gatein.common:common-logging:jar:2.0.4-Beta02 (compile), org.picketlink.idm:picketlink-idm-core:jar:1.3.0.Alpha03 (compile), org.picketlink.idm:picketlink-idm-hibernate:jar:1.3.0.Alpha03 (compile), org.picketlink.idm:picketlink-idm-ldap:jar:1.3.0.Alpha03 (compile), org.picketlink.idm:picketlink-idm-cache:jar:1.3.0.Alpha03 (compile), org.hsqldb:hsqldb:jar:2.0.0 (test), org.exoplatform.portal:exo.portal.component.test.core:jar:3.2.0-Beta01-SNAPSHOT (test), javax.resource:connector-api:jar:1.5 (test), org.slf4j:slf4j-jdk14:jar:1.5.8 (test)]: Failed to read artifact descriptor for org.picketlink.idm:picketlink-idm-core:jar:1.3.0.Alpha03: Could not transfer artifact org.picketlink.idm:picketlink-idm-core:pom:1.3.0.Alpha03 from/to jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public/):

                        Error transferring file: Connection timed out: connect -> [Help 1]          [ERROR]

                [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

                [ERROR] Re-run Maven using the -X switch to enable full debug logging.

                [ERROR]

                [ERROR] For more information about the errors and possible solutions, please read the following articles:

              [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

       

       

      My question is, is this related to network problem (the network I am using has limited internet access ) in any way?

      Because when I tried the same through a different network (which has full internet access) works fine.

       

      Or could this error be related to some configuration?

       

      Any help would be appreciated.

       

      Thanks in advance,

      Megha

        • 1. Re: Gatein Packaging problem with Jboss 6.x
          Matt Wringe Master

          From the error message you posted:

                            Error transferring file: Connection timed out: connect -> [Help 1]          [ERROR]

           

          It looks like your machine can't access the jboss repository or your connection failed while downloading the artifacts. This is a maven build, it requires network access to download dependencies.

          1 of 1 people found this helpful
          • 2. Re: Gatein Packaging problem with Jboss 6.x
            Megha Shah Newbie

            Matt,

            I second that thought. Thanks for your insight.

            • 3. Re: Gatein Packaging problem with Jboss 6.x
              Megha Shah Newbie

              However now the packaging is successful, while starting the server , getting the following error

               

              [RepositoryServiceImpl] Error start repository service: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.exoplatform.services.jcr.impl.core.RepositoryImpl.login(Ljavax/jcr/Credentials;Ljava/lang/String;)Ljavax/jcr/Session;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/exoplatform/services/jcr/impl/core/RepositoryImpl, and the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) for interface javax/jcr/Repository have different Class objects for the type javax/jcr/Credentials used in the signature

               

              Any inputs ?

               

              Thanks in advance

              • 4. Re: Gatein Packaging problem with Jboss 6.x
                Megha Shah Newbie

                Getting exceptions like

                 

                16:14:41,751 ERROR [AbstractKernelController] Error installing to Real: name=vfs:///D:/Megha/gatein_project/packaging/jboss-as6/pkg/target/jboss/server/default/deploy/gatein-wsrp-integration.ear state=PreReal mode=Manual requiredState=Real: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///D:/Megha/gatein_project/packaging/jboss-as6/pkg/target/jboss/server/default/deploy/gatein-wsrp-integration.ear/wsrp-producer-2.1.0-Beta03.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.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]

                        at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]

                        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]

                        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar: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.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]

                        at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]

                        at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]

                        at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]

                        at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]

                        at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]

                        at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]

                        at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final]

                        at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]

                        at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

                        at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

                        at java.lang.Thread.run(Thread.java:619) [:1.6.0_19]

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

                        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]

                        ... 44 more

                Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.

                        at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:93) [:2.3.1]

                        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:373) [:2.3.1]

                        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:503) [: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]

                        ... 52 more

                Caused by: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/import/wsdl:definitions/import/wsdl:definitions/wsdl:types/schema/schema): faultCode=PARSER_ERROR: Problem parsing 'http://www.w3.org/2001/xml.xsd'.: java.net.ConnectException: Connection timed out: connect

                        at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source) [:1.6]

                        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) [:1.6]

                        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) [:1.6]

                        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) [:1.6]

                        at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source) [:1.6]

                        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) [:1.6]

                        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) [:1.6]

                        at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown Source) [:1.6]

                        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) [:1.6]

                        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) [:1.6]

                        at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown Source) [:1.6]

                        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) [:1.6]

                        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) [:1.6]

                        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) [:1.6]

                        at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:237) [:2.3.1]

                        at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:186) [:2.3.1]

                        at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:91) [:2.3.1]

                        ... 61 more

                Caused by: java.net.ConnectException: Connection timed out: connect

                        at java.net.PlainSocketImpl.socketConnect(Native Method) [:1.6.0_19]

                        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [:1.6.0_19]

                        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [:1.6.0_19]

                        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [:1.6.0_19]

                        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [:1.6.0_19]

                        at java.net.Socket.connect(Socket.java:529) [:1.6.0_19]

                        at java.net.Socket.connect(Socket.java:478) [:1.6.0_19]

                        at sun.net.NetworkClient.doConnect(NetworkClient.java:163) [:1.6.0_19]

                        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) [:1.6.0_19]

                        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) [:1.6.0_19]

                        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233) [:1.6.0_19]

                        at sun.net.www.http.HttpClient.New(HttpClient.java:306) [:1.6.0_19]

                        at sun.net.www.http.HttpClient.New(HttpClient.java:323) [:1.6.0_19]

                        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860) [:1.6.0_19]

                        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801) [:1.6.0_19]

                        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726) [:1.6.0_19]

                        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049) [:1.6.0_19]

                        at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                        at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

                        ... 78 more

                • 5. Re: Gatein Packaging problem with Jboss 6.x
                  Matt Wringe Master

                  Looks like more network problems...

                  Megha Shah wrote:

                  ...

                  Caused by: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/import/wsdl:definitions/import/wsdl:definitions/wsdl:types/schema/schema): faultCode=PARSER_ERROR: Problem parsing 'http://www.w3.org/2001/xml.xsd'.: java.net.ConnectException: Connection timed out: connect

                          ...

                  Caused by: java.net.ConnectException: Connection timed out: connect

                          ...