Component Package sf-www
DependenciesThis package depends upon (and exports) the Java servlet.API ExamplesComponentsDeployByCopyServerThe DeployByCopyServer components allow SmartFrog to manage the deployment of any WAR/EAR or similar artifact to any application server that supports deploy-by-copy deployments, including JBoss and Tomcat. Unknown macro: {code}
DeployByCopyServer extends ApplicationServer { LivenessPageThe LivenessPage component can test the health of a web page. They can be used to block deployment until a web server is live, and to probe for the existence of a local/remote server. A failure of the remote page to be served, or to meet other declared critera, will cause the regular liveness test to fail, a fact which is reported to the parent. It is up to the parent components to determine what action need be taken. Unknown macro: {code}
LivenessPage extends WorkflowPrim Unknown macro: { livenessPageSchema extends LivenessPageSchema; sfClass "org.smartfrog.services.www.LivenessPageComponent"; fetchErrorText true; minimumResponseCode HttpCodes} WaitForPageThe WaitForPage component, blocks any workflow until a page is available, and will fail if it is not present by the time the specified timeout is exceeded. The WaitFor component can be used to the same effect, however this custom component reports HTTP errors better. Unknown macro: {code}
WaitForPage extends LivenessPage { Unknown macro: { //timeout in milliseconds timeout extends Integer; }
sfClass "org.smartfrog.services.www.WaitForPageImpl"; |