This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Other Java Products and Servers and the fly likes Cant deploy war file in glass fish 3.1.1 with Ant Script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Cant deploy war file in glass fish 3.1.1 with Ant Script" Watch "Cant deploy war file in glass fish 3.1.1 with Ant Script" New topic
Author

Cant deploy war file in glass fish 3.1.1 with Ant Script

jatan bhavsar
Ranch Hand

Joined: Jul 23, 2008
Posts: 296

Hi All,

Hope you are fine and doing well.I am trying to deploy war file using glass fish 3.1.1 server.I have made very simple script code is attached for your reference.
I am trying to deploy war file and checking it with admin GUI with http://localhost:4848/..
I cant figure out about the pass word file . I am able to deploy it with asadmin deploy command for cmd.
Please guide me how to make the ant script for this and generate the password file. I cant find the passwordfile.txt but domain user and password is maintain in the admin-key file.
Specifically confused with the passwordfile attribute....



 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Cant deploy war file in glass fish 3.1.1 with Ant Script