• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

error in depolyment

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello,
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

check:

BUILD FAILED
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
.properties'.
You will also need to ensure that the passwordfile is present and co
ntains
AS_ADMIN_PASSWORD.

Total time: 0 seconds
C:\javaeetutorial5\examples\jaxws\helloservice>
**********************************************************************
Part of the build properties sample file reads:

*********************************************************************
javaee.server.username=admin

# 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:
#
AS_ADMIN_PASSWORD=abcxyz123
#
# Notice that the password is adminadmin since this is
# the default password used by the glassfish app-server installation.
#
javaee.server.passwordfile=${javaee.tutorial.home}/examples/common/admin-password.txt

appserver.instance=server
***************************************************************************
My admin-password.txt reads:
AS_ADMIN_PASSWORD=abcxyz123
***************************************************************************

Any help would be appreciated.
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please do not crosspost! The original thread in the Web Services forums is now locked.
[ July 28, 2006: Message edited by: Peer Reynders ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic