Registers the persistence resource associated with the specified JNDI name from the named instance.
administrative user associated for the instance.
administrative password corresponding to the administrative user.
host name of the machine hosting the administrative instance.
administrative port number associated with the administrative host.
file containing passwords appropriate for the command (e.g., administrative instance).
if true, uses SSL/TLS to communicate with the administrative instance.
name of the instance.
JDBC resource with which database connections are obtained. Must be the name of one of the pre-created JDBC resources.
class that creates persistence manager instance.
determines whether the resource is enabled at runtime or not.
text description of the resource.
optional attributes name/value pairs for configuring the resource.
asadmin> create-persistence-resource --user admin --password adminadmin --host fuyako --port 7070 --instance server1 --jdbcjndiname sample_jndi_resource --factoryclass "com.pmf.class" sample_persistence_resource Created Persistence manager resource with jndiname = sample_persistence_resource
Where: sample_persistence_resource is the persistence manager factory resource created.
Persistence Manager page