Deploying to clustered instances is failing for Glassfish 2.1.1 p22 (p08)
I ran into an odd problem with deploying to a clustered instance of Glassfish recently. I can deploy the war file to the "server" instance without a problem. But, if I attempt to use the web-based admin GUI to add a given web application to the cluster (the "Manage Targets" widget that allows you to select the available targets and the selected targets) the cluster target pops back from the "Selected Targets" column to the "Available Targets" column. This also occurs if I move the "server" target back to the "Available Targets" column and attempt to move it to the "Selected Targets" column even though the initial deploy using "asadmin deploy myapplication.war" succeeded. I don't see any errors in the log file when I attempt to do this.
If I deploy the application to the domain (server and cluster) from the command line using:
asadmin deploy --target domain myapplication.war
It appears to deploy successfully, but when I look at the status of the application using the admin GUI, it tells me I need to redeploy.
I've completey deleted the cluster annd recreated it to no avail.
Has anybody else run into this problem? (My next step will be to delete the domain and recreate it all from scratch hoping that some configuration file got corrupted. If that doesn't work, I may try installing p24 and redeploying.)