I'm setting up CI Integration Environment. when i'm issuing cargo:deploy, It deploy in to server but deployed application can't be accessible and while deploying i'm getting error saying that
javax.naming.NamingException: This context is immutable; remaining name 'env'
If I restart the server manually It is working. I want access application without restart and is there any way to do this? I'm not using any JNDI in my application, It is just hello world JAX-WS war file. Here I attached my war file and Log report.
Thanks for replay,It is deploying but not loading in server when deploying through cargo plugin. So that I'm restarting server manually after deployed by cargo plugin then its able to load.
HiPerfect, when I've checked in further detail I see that this occurs even with the simplest applications as soon as jetty-plus.xml is put into the startup command. This seems to be due to a race condition as explained in JETTY-940.Committed revision 3348, which fixes this issue. To download the Jetty deployer WAR with the fix, you can check http://cargo.codehaus.org/Downloads#Downloads-continousBuildsThank you
I couldn't find the war file with fix. Can you provide those detail. As per Issue detail it is fixed in 1.2.3 and 1.3.0 but in shared links, I couldn't find those releaseThank you
HiIf you read the insturctions on http://cargo.codehaus.org/Downloads#Downloads-continousBuilds they indicate that you can download artifacts of a specific build by:Go to the CARGO trunk build history.Click on the build you're interested in.Click on "Artifacts" tab. You'll be presented with a list of artifacts built during the last build. Grab the one you need.In your case:Open http://bamboo.ci.codehaus.org/browse/CARGO-TRUNKM3JDK16-623Click ArtifactsClick Jetty deployer WARsClick jetty-7-and-onwards-deployer, target and you can get the WARI'm also attaching a screenshot of the Artifacts tab and of the Jetty deployer in the case you are confused.Thank you
Versions 1.2.3/1.3.0 are currently in SNAPSHOT phase, therefore are not available as downloads in the Downloads page. Please follow the instructions posted just before to download the SNAPSHOT version.Version 1.2.3 is expected to be released in August 2012.