File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes error in depolyment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "error in depolyment" Watch "error in depolyment" New topic

error in depolyment

ahsan mir
Ranch Hand

Joined: Jul 17, 2006
Posts: 42
a basic question.
My compiler shows an error of password file not found.I have checked and amended it and set the password file password to the password and amended the Build properties file as well to the location of the password.txt file.WHY is it still showing that the password file is not found.

I am using J2ee 5 SDK, Sun application server 9.0 and the j2ee tutorial5 examples to run.


C:\javaeetutorial5\examples\jaxws\helloservice>asant deploy
Buildfile: build.xml


C:\javaeetutorial5\examples\bp-project\app-server-ant.xml:417: Property javaee.s
erver.passwordfile not specified. Please
specify the javaee.server.passwordfile property in 'bp-project/build
You will also need to ensure that the passwordfile is present and co

Total time: 0 seconds
Part of the build properties sample file reads:


# Uncomment the property j2ee.server.passwordfile,
# and replace the following line to point to a file that
# contains the admin password for your app-server.
# The file should contain the password in the following line:
# Notice that the password is adminadmin since this is
# the default password used by the glassfish app-server installation.

My admin-password.txt reads:

Any help would be appreciated.
Peer Reynders

Joined: Aug 19, 2005
Posts: 2933
Please do not crosspost! The original thread in the Web Services forums is now locked.
[ July 28, 2006: Message edited by: Peer Reynders ]
I agree. Here's the link:
subject: error in depolyment
jQuery in Action, 3rd edition