Any other choice is getting Textpad as well.
 
Regards,
Rafael.


________________________________
From: Alin Dumitrescu <dorud...@gmail.com>
To: j2ee passion <java-ee-j2ee-programming-with-passion@googlegroups.com>
Sent: Thursday, September 10, 2009 9:47:21 AM
Subject: [java ee programming] Re: Populating the Example Database needs 
password file‏


For development purposes, if you don’t want to use the NetBeans to edit your 
files(.java or .properties or .xml or dotwhatever)
try to use the Notepad++, it knows a lot of file types, you’ll love it.
http://notepad-plus.sourceforge.net/uk/site.htm
Happy coding!
 
 
From:java-ee-j2ee-programming-with-passion@googlegroups.com 
[mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of 
peeter brunch
Sent: September-10-09 3:22 AM
To: migat...@gmail.com; j2ee passion
Subject: [java ee programming] Re: Populating the Example Database needs 
password file‏
 
Hi everyone,
 
I used notepad to open the property file and rename the file. Now all the 
problems have gone. Thanks for the help.
 
Cheers
 

________________________________

From: peeterbru...@hotmail.com
To: migat...@gmail.com; java-ee-j2ee-programming-with-passion@googlegroups.com
Subject: RE: [java ee programming] Re: Populating the Example Database needs 
password file‏
Date: Thu, 10 Sep 2009 04:45:04 +0000

Thanks for the clue. I have edited my build.properties file to include the 
passwordfile definition. But the build returned with the same failure message 
"javaee.server.passwordfile not specified".
 
My changes to the build.properties file are highlighted as below:
# Set the property javaee.home, using the path to your 
# GlassFish installation.
# C:/Program Files/glassfish-v3 is the GlassFish v3 default installation 
# path on Windows.
# 
javaee.home=C:/Program Files (x86)/sges-v3-prelude
 
# Set the property javaee.tutorial.home to the location where you 
# installed the Java EE Tutorial bundle.
#
javaee.tutorial.home=E:/techdoc/J2ee/javaee-5-doc-tutorial-1.0_05/javaeetutorial5
 
# machine name (or the IP address) where the applications will be deployed.
javaee.server.name=localhost
 
# port number where GlassFish applications are accessed by users
javaee.server.port=8080
 
# port number where the Admin Console of GlassFish is available
javaee.adminserver.port=4848
 
 
# Uncomment the property javaee.server.username, 
# and replace the administrator username of the app-server 
javaee.server.username=admin
 
# Uncomment the property javaee.server.passwordfile, 
# and replace the followingline 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=adminadmin
#
# Notice that the password is adminadmin since this is 
# the default password used by GlassFish.
#
javaee.server.passwordfile=${javaee.tutorial.home}/examples/common/admin-password.txt
 
appserver.instance=server
 
# Uncomment and set this property to the location of the browser you 
# choose to launch when an application is deployed.
# On Windows and Mac OS X the OS default browser is used.
#default.browser=/Applications/Firefox.app/Contents/MacOS/firefox-bin
 
# Database vendor property for db tasks
# JavaDB is the default database vendor. See the settings in javadb.properties
db.vendor=javadb
 
# Digital certificate properties for mutual authentication
keystore=${javaee.tutorial.home}/examples/jaxws/simpleclient-cert/support/client_keystore.jks
truststore=${javaee.home}/domains/domain1/config/cacerts.jks
keystore.password=changeit
truststore.password=changeit
 
 
  
Is anything wrong with my changes? I use MS WORD to open the sample file and 
edit/save the changes(since I do not have the right software to open the sample 
or properties  type file type in Window Vista). I renamed the file with 
Properties extension after saving the file. Would it be possible that Word 
would corrupt the properties file or its internal format so Build process is 
unable to read the file properly.The size of the original sample file is 2KB 
but the edited file is 13KB. 
 
I am attaching my property file for perusing. 
 
Can anyone whose has successfully populating the Bookstore1 example database 
send me their build.propertiies file so I can use it to build my database? 
Thanks in advance.
 
P.S:
I always try to send mail without an attachment. But I cannot cut and paste 
the screen shots from Dos command prompt terminal windows. Pls advise if there 
is any proper method to cut and paste text content from Dos. Sorry for 
the inconvenience if that this might cause.

 

 
> Date: Tue, 8 Sep 2009 20:36:58 -0700
> Subject: [java ee programming] Re: Populating the Example Database needs 
> password file‏
> From: migat...@gmail.com
> To: java-ee-j2ee-programming-with-passion@googlegroups.com
> 
> 
> 
> 
> On 8 sep, 11:41, peeter brunch <peeterbru...@hotmail.com> wrote:
> > During the build of Example Database for Bookstore1 project, the build 
> > process requires a password file and to specify it in the 
> > \nbproject\project.properties file.
> >
> > Could someone provide the steps to accomplish these requirements for 
> > popuplating the database? Pls see attachment for error message returned 
> > from the build process.
> As explained in the javaeetutorial5, you should create a
> build.properties file inside bp-project, based on
> build.properties.sample.
> In it, you set what is required (it is explained in the file itself).
> The file where the password is noted is common/admin-password.txt
> (adapt it to your system, I'm on a Mac). If you hava not changed the
> password of the Glassfish server, it is adminadmin.
> 
> PS: Could you please avoid sending attachment, as most of the time you
> pass text, you may as well paste and copy it directly inside the
> email.
> 
> 

________________________________

Windows Live: Make it easier for your friends to see what you’re up to on 
Facebook. Find out more.

________________________________

With Windows Live, you can organize, edit, and share your photos. Click here.

 


      
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to