[b]Hi[/b] to all JAVA friends.
I have just joined this forum as I have started working on soa based webservices I am facing some problems while deploying my application on glassfish server using ant and maven.
Getting following errors:
--------------------------------------------------------------------------------------------------------------
E:\ISTS\SOA\book-code\chap03\rest-get\endpoint-servlet>ant deploy
Buildfile: E:\ISTS\SOA\book-code\chap03\rest-get\endpoint-servlet\build.xml
deploy-glassfish:
[echo] deploying E:\ISTS\SOA\book-code\chap03\rest-get\endpoint-servlet/tar
get/chap03-restget-endpoint-servlet-1.0.war
[exec] [b]Deprecated syntax[/b], instead use:
[exec] asadmin --port 4848 --passwordfile E:/ISTS/SOA/book-code/glassfish.p
assword --host localhost --user admin deploy [options] ...
[exec] Authentication failed for user: admin
[exec] with password from password file: E:/ISTS/SOA/book-code/glassfish.pa
ssword
[exec] (Usually, this means invalid user name and/or password)
[exec] Command deploy failed.
BUILD FAILED
E:\ISTS\SOA\book-code\common-build.xml:55: exec returned: 1
----------------------------------------------------------------------------------------------
I am attaching my common-build.xml file
[Message sent by forum member 'sachinprakash']
http://forums.java.net/jive/thread.jspa?messageID=471025