<xmp>
Project: 6 Servlets that use Groovy scripts to query database, analyse results, and return a report. Published in Web Archive (.war) file.
---
System: Ubuntu (Hardy) Linux 2.6.24-21-generic #1 SMP Mon Aug 25 17:32:09 UTC 2008 i686 GNU/Linux
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode)
Glassfish Server plugin 1.0.11, V3 Prelude ( b28 )
Eclipse Platform, Version: 3.4.1, Build id: M20080911-1700
---
Problem: Publish ( to server ) in Eclipse Servers Tab Fails.
I installed both as Anonymous, and admin ( w/ pwd adminadmin ) which is defaulted in the plugin.
---
Results under Anonymous install.
---------------------------------
Buildfile: /home/bigjay/development/scl.workspace/.metadata/.plugins/org.eclipse.jst.server.generic.core/serverdef/glassfishv3-ant.xml
deploy.j2ee.web:
resourcesfile.check:
addresources:
[get] Getting: http://localhost:4848/__asadmin/deploy?path=/home/bigjay/development/scl.workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/AnalyticEngine&force=true&properties=KeepSessions=true
[get] To: /home/bigjay/development/scl.workspace/.metadata/.plugins/org.eclipse.jst.server.generic.core/serverdef/result.html
[concat] <html><body><h1>GlassFish deploy AdminCommand command report</h1><br><br>
[concat] Exit Code : FAILURE
[concat] <hr>
[concat] <h2>There is no installed container capable of handling this application</h2>
[concat] <hr>
[concat] </body></html>
BUILD SUCCESSFUL
Total time: 2 seconds
---------------------------------
Results under User install.
---------------------------------
Buildfile: /home/bigjay/development/scl.workspace/.metadata/.plugins/org.eclipse.jst.server.generic.core/serverdef/glassfishv3-ant.xml
deploy.j2ee.web:
resourcesfile.check:
addresources:
[get] Getting: http://localhost:4848/__asadmin/deploy?path=/home/bigjay/development/scl.workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/AnalyticEngine&force=true&properties=KeepSessions=true
[get] To: /home/bigjay/development/scl.workspace/.metadata/.plugins/org.eclipse.jst.server.generic.core/serverdef/result.html
BUILD FAILED
/home/bigjay/development/scl.workspace/.metadata/.plugins/org.eclipse.jst.server.generic.core/serverdef/glassfishv3-ant.xml:134: HTTP Authorization failure
Total time: 721 milliseconds
---------------------------------
I've tried this numerous times, with the same results each time. I read through http://forums.java.net/jive/thread.jspa?messageID=303727 thread, which
helped me to upgrade my plugin to 1.0.11. But unlike that thread mine never succeeds.
also editing glassfishv3-ant.xml, does not work, as it is generated. I added the user and password, but it failed again. I left the editor open, and it said the file had been modified ( by the publish, not me ). I reloaded it, and my changes were gone.
Any Ideas ??
Thanks !
Jay
</xmp>
[Message sent by forum member 'jreher' (jreher)]
http://forums.java.net/jive/thread.jspa?messageID=308433