Class PEFileLayout
java.lang.Object
com.sun.enterprise.admin.servermgmt.pe.PEFileLayout
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final RepositoryConfigstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateDirectory(File dir) voidprotected RepositoryConfiggetDomainXmlTemplate(String templateName) Should be used only in the cases where the actual keystore creation fails.getNonEnglishIndexFileTemplate(Locale locale) getPreExistingDomainXmlTemplateForProfile(String profileName) getProfileFolder(String profileName) getProfilePropertiesFile(String profileName) protected static boolean
-
Field Details
-
DEFAULT_INSTANCE_NAME
- See Also:
-
_config
-
ADDON_DIR
- See Also:
-
CONFIG_DIR
- See Also:
-
CONFIG_BACKUP_DIR
- See Also:
-
DOC_ROOT_DIR
- See Also:
-
JAVA_WEB_START_DIR
- See Also:
-
LIB_DIR
- See Also:
-
CLASSES_DIR
- See Also:
-
APPLIBS_DIR
- See Also:
-
EXTLIB_DIR
- See Also:
-
TIMERDB_DIR
- See Also:
-
LOGS_DIR
- See Also:
-
APPS_ROOT_DIR
- See Also:
-
J2EE_APPS_DIR
- See Also:
-
J2EE_MODULES_DIR
- See Also:
-
LIFECYCLE_MODULES_DIR
- See Also:
-
MBEAN_FOLDER_NAME
- See Also:
-
GENERATED_DIR
- See Also:
-
POLICY_DIR
- See Also:
-
POLICY_FILE_EXT
- See Also:
-
JSP_DIR
- See Also:
-
EJB_DIR
- See Also:
-
XML_DIR
- See Also:
-
DOMAIN_XML_FILE
- See Also:
-
IMQ
- See Also:
-
IMQ_VAR_DIR
- See Also:
-
BIN_DIR
- See Also:
-
SHARE
- See Also:
-
INSTALL_DIR
- See Also:
-
TEMPLATES_DIR
- See Also:
-
COMMON_DIR
- See Also:
-
PROFILE_PROPERTIES
- See Also:
-
APPLICATIONS_DIR
- See Also:
-
DATABASES_DIR
- See Also:
-
DTDS_DIR
- See Also:
-
DOMAIN_XML_TEMPLATE
- See Also:
-
START_SERV_UNIX
- See Also:
-
START_SERV_WIN
- See Also:
-
START_SERV_OS
-
START_SERV_TEMPLATE_UNIX
- See Also:
-
START_SERV_TEMPLATE_WIN
- See Also:
-
START_SERV_TEMPLATE_OS
-
STOP_SERV_UNIX
- See Also:
-
STOP_SERV_WIN
- See Also:
-
STOP_SERV_OS
-
KILL_SERV_UNIX
- See Also:
-
KILL_SERV_WIN
- See Also:
-
KILL_SERV_OS
-
STOP_SERV_TEMPLATE_UNIX
- See Also:
-
STOP_SERV_TEMPLATE_WIN
- See Also:
-
STOP_SERV_TEMPLATE_OS
-
POLICY_FILE
- See Also:
-
STUB_FILE
- See Also:
-
SEED_FILE
- See Also:
-
ACC_XML_TEMPLATE
- See Also:
-
ACC_XML
- See Also:
-
SESSION_STORE
- See Also:
-
AUTO_DEPLOY
- See Also:
-
AUTO_DEPLOY_STATUS
- See Also:
-
KEY_FILE_TEMPLATE
- See Also:
-
KEY_FILE
- See Also:
-
ADMIN_KEY_FILE
- See Also:
-
INDEX_FILE
- See Also:
-
DOC_ROOT
- See Also:
-
DEFAULT_WEB_XML
- See Also:
-
LOGGING_PROPERTIES_FILE
- See Also:
-
LOGIN_CONF
- See Also:
-
WSSSERVERCONFIGOLD
- See Also:
-
WSSSERVERCONFIG
- See Also:
-
KEYSTORE
- See Also:
-
TRUSTSTORE_TEMPLATE
- See Also:
-
TRUSTSTORE
- See Also:
-
MASTERPASSWORD_FILE
- See Also:
-
PASSWORD_ALIAS_KEYSTORE
- See Also:
-
TIMERDB_WAL_TEMPLATE
- See Also:
-
TIMERDB_WAL
- See Also:
-
TIMERDB_DBN_TEMPLATE
- See Also:
-
TIMERDB_DBN
- See Also:
-
DERBY_SQL_FILE
- See Also:
-
EJB_TIMER_TABLE_NAME
- See Also:
-
DERBY_DATABASE_DIRECTORY
- See Also:
-
-
Constructor Details
-
PEFileLayout
-
-
Method Details
-
getConfig
-
createRepositoryRoot
- Throws:
RepositoryException
-
createDirectory
- Throws:
RepositoryException
-
getAddonRoot
-
getConfigRoot
-
getRepositoryBackupRoot
-
getDocRoot
-
getJavaWebStartRoot
-
getLibDir
-
getBinDir
-
getClassesDir
-
getAppLibsDir
-
getExtLibDir
-
getTimerDatabaseDir
-
getLogsDir
-
getApplicationsRootDir
-
getJ2EEAppsDir
-
getJ2EEModulesDir
-
getLifecycleModulesDir
-
getMbeansDir
-
getGeneratedDir
-
getPolicyDir
-
getJspRootDir
-
getEjbRootDir
-
getXmlRootDir
-
getRepositoryDir
-
getDomainConfigFile
-
getDomainConfigBackupFile
-
getImqDir
-
getImqVarHome
-
getImqBinDir
-
getImqLibDir
-
getInstallRootDir
-
getRepositoryRootDir
-
getWebServicesLibDir
-
getTemplatesDir
-
getProfileFolder
-
getProfilePropertiesFile
-
getPreExistingDomainXmlTemplateForProfile
-
getTemplateConfigXml
-
getInstallApplicationsDir
-
getInstallDatabasesDir
-
getDtdsDir
-
getDomainXmlTemplate
-
getDomainXmlTemplate
-
getStartServ
-
getStartServTemplate
-
getStopServ
-
getKillServ
-
getKillServTemplate
-
getStopServTemplate
-
getPolicyFileTemplate
-
getPolicyFile
-
getStubFile
-
getSeedFile
-
getInstallConfigRoot
-
getAppClientContainerTemplateAndXml
-
getSessionStore
-
getAutoDeployDir
-
getAutoDeployStatusDir
-
getKeyFileTemplate
-
getKeyFile
-
getAdminKeyFile
-
getBackupKeyFile
-
getIndexFileTemplate
-
getNonEnglishIndexFileTemplate
-
getIndexFile
-
getEnglishIndexFile
-
getDefaultWebXmlTemplate
-
getDefaultWebXml
-
getLoggingPropertiesTemplate
-
getLoggingProperties
-
getLoginConfTemplate
-
getLoginConf
-
getWssServerConfigOldTemplate
-
getWssServerConfigOld
-
getWssServerConfigTemplate
-
getWssServerConfig
-
getKeyStore
-
getTrustStoreTemplate
-
getKeyStoreTemplate
Should be used only in the cases where the actual keystore creation fails. The idea is when we are unable to create the JKS-keystore, we should copy the keystore in templates folder into the domain's config folder. This keystore is by no means a keystore for public use. It's just a keystore with a primary key "changeit" and associated certificate with signature: -------------------------------------------------------------- Keystore type: jks Keystore provider: SUN Your keystore contains 1 entry Alias name: s1as Creation date: Sep 11, 2008 Entry type: keyEntry Certificate chain length: 1 Certificate[1]: Owner: CN=localhost, OU=GlassFish, O=Sun Microsystems, L=Santa Clara, ST=California, C=US Issuer: CN=localhost, OU=GlassFish, O=Sun Microsystems, L=Santa Clara, ST=California, C=US Serial number: 48c9e075 Valid from: Thu Sep 11 20:22:29 PDT 2008 until: Sun Sep 09 20:22:29 PDT 2018 Certificate fingerprints: MD5: 00:E5:5D:1F:07:CC:99:9F:CF:68:0E:AD:29:43:E0:48 SHA1: 1B:62:3E:B2:3D:D7:0B:63:80:92:EE:9A:59:F7:D5:9F:97:A3:FD:98 --------------------------------------------------------------- Returns:
- File representing the keystore path. Does not check if the path actually exists.
-
getTrustStore
-
getMasterPasswordFile
-
getPasswordAliasKeystore
-
getTimerWalTemplate
-
getTimerWal
-
getTimerDbnTemplate
-
getTimerDbn
-
getDerbyEjbTimerSqlFile
-
getDerbyEjbTimerDatabaseDirectory
-
isWindows
protected static boolean isWindows()
-