If a SwitchYard app hosts a webservice, the jboss.server.base.dir needs to be absolute due to how the server tmp dir is calculated in org.jboss.as.webservices.publish.EndpointPublisherImpl. We should remove the jboss.server.base.dir command line argument from the README because it isn't necessary and because people may run into this issue if they build off the cluster quickstart or follow the example for starting a cluster.
11:50:51,835 ERROR [org.apache.catalina.core] (MSC service thread 1-5) JBWEB001100: Error starting context: java.lang.IllegalArgumentException: JBWEB006706: Document base /home/gbrown/testing/fsw/fsw6.0.0.GA/jboss-eap-6.1/node1/tmp/node1/tmp/demo-orders does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:147) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3490) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3655) at org.jboss.as.webservices.publish.EndpointPublisherImpl.startWebApp(EndpointPublisherImpl.java:176) [jboss-as-webservices-server-integration-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10] at org.jboss.as.webservices.publish.EndpointPublisherImpl.publish(EndpointPublisherImpl.java:146) [jboss-as-webservices-server-integration-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10] at org.jboss.as.webservices.publish.EndpointPublisherImpl.publish(EndpointPublisherImpl.java:109) [jboss-as-webservices-server-integration-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10] at org.jboss.as.webservices.publish.EndpointPublisherImpl.publish(EndpointPublisherImpl.java:102) [jboss-as-webservices-server-integration-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10] at org.switchyard.as7.extension.ws.JBossWSEndpoint.publish(JBossWSEndpoint.java:91) [switchyard-deploy-jboss-as7-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1] at org.switchyard.as7.extension.ws.JBossWSEndpointPublisher.publish(JBossWSEndpointPublisher.java:98) [switchyard-deploy-jboss-as7-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1] at org.switchyard.component.soap.InboundHandler.doStart(InboundHandler.java:171) [switchyard-component-soap-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1] at org.switchyard.deploy.BaseServiceHandler.start(BaseServiceHandler.java:60) at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:623) at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145) at org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:101) [switchyard-deploy-jboss-as7-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1] at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:73) [switchyard-deploy-jboss-as7-1.1.1-p5-redhat-1.jar:1.1.1-p5-redhat-1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_07] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_07] at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
|