2 Replies Latest reply on Jan 15, 2010 8:52 AM by asoldano

    Failures in some of the Jboss WS test cases

      Hi all;

       

      I am trying to run the jboss web services test cases (using the native version) and several are failing with the following error (Any idea what is wrong?):

       

      I searched all over the internet and can't seem to find the reason for this.   I'm guessing that it's trying to store something in a directory but doesn't have permissions.

       

      I appreciate your help!

       

      Thanks

       

       

      Testsuite: org.jboss.test.ws.jaxws.samples.logicalhandler.LogicalHandlerJAXBTestCase

      Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.766 sec

       

      Testcase: testClientAccess took 0.191 sec

      Caused an ERROR

      javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.io.IOException: Permission denied

      org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.io.IOException: Permission denied

      at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:155)

      at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:293)

      at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:85)

      at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.<init>(ServiceDelegateImpl.java:146)

      at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.<init>(ServiceDelegateImpl.java:117)

      at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:111)

      at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)

      at javax.xml.ws.Service.<init>(Service.java:56)

      at javax.xml.ws.Service.create(Service.java:680)

      at org.jboss.test.ws.jaxws.samples.logicalhandler.LogicalHandlerJAXBTestCase.testClientAccess(LogicalHandlerJAXBTestCase.java:52)

      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)

      at junit.extensions.TestSetup$1.protect(TestSetup.java:23)

      at junit.extensions.TestSetup.run(TestSetup.java:27)

      Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.io.IOException: Permission denied

      at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:441)

      at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:179)

      at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:129)

      Caused by: java.io.IOException: Permission denied

      at java.io.UnixFileSystem.createFileExclusively(Native Method)

      at java.io.File.checkAndCreate(File.java:1704)

      at java.io.File.createTempFile(File.java:1792)

      at org.jboss.ws.metadata.wsdl.xsd.SchemaUtils.getSchemaTempFile(SchemaUtils.java:539)

      at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:583)

      at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:432)

        • 1. Re: Failures in some of the Jboss WS test cases

          Further investigation in the logs gives me this error:

           

          WARNING [javax.enterprise.resource.webcontainer.jsf.config] (RMI TCP Connection(56)-127.0.0.1) Unable to process deployment descriptor for context '/jaxws-swaref'

           

          WARNING [javax.enterprise.resource.webcontainer.jsf.config] (RMI TCP Connection(6)-127.0.0.1) Unable to process deployment descriptor for context '/jaxws-samples-retail'

          WARNING [javax.enterprise.resource.webcontainer.jsf.config] (RMI TCP Connection(12)-127.0.0.1) Unable to process deployment descriptor for context '/jaxws-samples-context'
          WARNING [javax.enterprise.resource.webcontainer.jsf.config] (RMI TCP Connection(16)-127.0.0.1) Unable to process deployment descriptor for context '/earejb3'
          WARNING [javax.enterprise.resource.webcontainer.jsf.config] (RMI TCP Connection(18)-127.0.0.1) Unable to process deployment descriptor for context '/jaxws-samples-exception'
          WARNING [javax.enterprise.resource.webcontainer.jsf.config] (RMI TCP Connection(28)-127.0.0.1) Unable to process deployment descriptor for context '/jaxws-samples-jaxbintros'
          WARNING [javax.enterprise.resource.webcontainer.jsf.config] (RMI TCP Connection(48)-127.0.0.1) Unable to process deployment descriptor for context '/jaxws-securityDomain'
          • 2. Re: Failures in some of the Jboss WS test cases
            asoldano
            Something weird with filesystem / security policy permissions? ( java.io.IOException: Permission denied)