sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

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 Commands | asadmin-create-session-store(1)

- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- EXAMPLES
- EXIT STATUS
- INTERFACE EQUIVALENT
- SEE ALSO

## NAME

> asadmin-create-session-store, 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

## INTERFACE EQUIVALENT

> Server Instance page

## SEE ALSO

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

Sun Java System Application Server 7.1 Enterprise Edition | Go To Top | Last Changed 24 Dec 2003

Company Info | Contact | Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.