Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandscreate-session-store(1)


NAME

 create-session-store - creates the session schema in the persistent store

SYNOPSIS

 create-session-store [ --storeurl persistent_store_URL --storeuser username [ --storepassword user_password ] [ --dbsystempassword system_password ] ]|[ --optionsfile filename ]

DESCRIPTION

 

Enables the user to create the session schema in the persistent store based on:

storeurl
The JDBC URL that is pointing to the persistent store being used for saving the session data.
storeuser
The username associated with the persistent store being used for saving session data.
storepassword
The password corresponding to the user of the persistent store being used for saving session data.
dbsystempassword
The password for the HADB system user. This is the same password you specify when you create the HADB database using the HADB create command.

All the options should be specified either on the command-line itself, or in an options file. If passwords are not specified on the command-line, the system prompts you to provide it, if you are in the interactive mode.

This command can only be run locally.


OPTIONS

 
--storeurl
JDBC URL of the persistent store.
--storeuser
username associated for the persistent store.
--storepassword
password corresponding to the storeuser.
--dbsystempassword
password corresponding to the HADB system user.
--optionsfile
a valid filename that has the options in it.

EXAMPLES

 Example 1. Using create-session-store
 
 
asadmin> create-session-store --storeurl 
jdbc:sun:hadb@myhost1:7676,myhost2:6767 --storeuser haadmin 
--storepassword hapasswd --dbsystempassword super

EXIT STATUS

 
0
command executed successfully
1
error in executing the command

SEE ALSO

 

configure-session-persistence(1), clear-session-store(1)



EnterpriseGo To TopLast Changed April 2004