exact input change input normal output important output omitted output
A secure database that is accessible from the network can only be created with the Derby database management program called ij. If you are in the same directory that you were in for using the GlassFish asadmin program the next two commands will start this program
gshute@ukko:~/local2/glassfish4$ cd javadb gshute@ukko:~/local2/glassfish4/javadb$ bin/ij ij version 10.11 ij>
The ij program is now running and prompting for commands. The first command below creates the database, the second terminates the ij program. Note that all ij commands end with a semicolon. If you forget it, enter it at the next prompt.
ij> connect 'jdbc:derby://localhost:12047/databaseDB;create=true;user=app;password=********'; ij> exit; gshute@ukko:~/local2/glassfish4/javadb$