0 Replies Latest reply on Jan 28, 2011 6:39 AM by Chetan Saundankar

    Error in building RHQ 4.0 Snapshot

    Chetan Saundankar Newbie

      Hello,

       

      I followed the build steps given at http://www.rhq-project.org/display/RHQ/Building+RHQ & have also looked at Advanced build notes @ http://www.rhq-project.org/display/RHQ/Advanced+Build+Notes.        

       

      When I run mvn -Penterprise,dev -Dmaven.test.skip.exec=true -Ddbsetup install command at the top directory of the source, I encounter following exception -

       

       

       

      main:

           [echo] ant.version=Apache Ant version 1.7.0 compiled on December 13 2006

       

       

      prepare-dist:

       

       

      prepare-jbossws:

       

       

      unzip-jboss:

       

       

      prepare-jbossws:

       

       

      unzip-jboss:

       

       

      prepare-wsdl:

           [echo] *** Creating new wsdl

           [echo] The JAVA HOME being used: /usr/local/jdk1.6.0_21/jre

           [echo]

           [echo] List of Stateless Session Beans passed into WSProvide/WSConsume :Webservices

       

       

      iterate-wsprovide:

           [echo] *** Providing WebservicesManagerRemote wsdl...

      [wsprovide] Error: Could not generate. (use --show-traces to see full traces)

      [wsprovide] org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser

      [wsprovide]           at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)

      [wsprovide]           at org.jboss.ws.metadata.config.JBossWSConfigFactory.parse(JBossWSConfigFactory.java:77)

      [wsprovide]           at org.jboss.ws.metadata.config.JBossWSConfigFactory.getConfig(JBossWSConfigFactory.java:151)

      [wsprovide]           at org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfigMetaData(EndpointMetaData.java:874)

      [wsprovide]           at org.jboss.ws.metadata.umdm.EndpointMetaData.getConfig(EndpointMetaData.java:792)

      [wsprovide]           at org.jboss.ws.metadata.umdm.ParameterMetaData.getPartName(ParameterMetaData.java:439)

      [wsprovide]           at org.jboss.ws.metadata.umdm.ParameterMetaData.toString(ParameterMetaData.java:567)

      [wsprovide]           at java.lang.String.valueOf(String.java:2826)

      [wsprovide]           at java.lang.StringBuilder.append(StringBuilder.java:115)

      [wsprovide]           at org.jboss.ws.metadata.umdm.OperationMetaData.setReturnParameter(OperationMetaData.java:345)

      [wsprovide]           at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createResponseWrapper(JAXWSMetaDataBuilder.java:413)

      [wsprovide]           at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.processWebMethod(JAXWSMetaDataBuilder.java:635)

      [wsprovide]           at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.processWebMethods(JAXWSMetaDataBuilder.java:920)

      [wsprovide]           at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:148)

      [wsprovide]           at org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProviderImpl.java:108)

      [wsprovide]           at org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProviderImpl.java:124)

      [wsprovide]           at org.jboss.wsf.spi.tools.cmd.WSProvide.generate(WSProvide.java:183)

      [wsprovide]           at org.jboss.wsf.spi.tools.cmd.WSProvide.main(WSProvide.java:76)

      [wsprovide] Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser

      [wsprovide]           at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:96)

      [wsprovide]           at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:55)

      [wsprovide]           at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)

      [wsprovide]           ... 17 more

      [wsprovide] Caused by: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized.

      [wsprovide]           at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)

      [wsprovide]           at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)

      [wsprovide]           ... 19 more

      [INFO] ------------------------------------------------------------------------

      [ERROR] BUILD ERROR

      [INFO] ------------------------------------------------------------------------

      [INFO] An Ant BuildException has occured: The following error occurred while executing this line:

      /usr_data/iCloudStream/ics-rhq/modules/enterprise/remoting/webservices/src/main/scripts/rhq-client.build.xml:55: The following error occurred while executing this line:

      /usr_data/iCloudStream/ics-rhq/modules/enterprise/remoting/webservices/src/main/scripts/rhq-client.build.xml:188: The following error occurred while executing this line:

      /usr_data/iCloudStream/ics-rhq/modules/enterprise/remoting/webservices/src/main/scripts/rhq-client.build.xml:216: Could not invoke WSProvideTask