Source Code Cross Referenced for UpgradeConstants.java in  » Portal » Open-Portal » com » sun » portal » fabric » upgrade » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » Open Portal » com.sun.portal.fabric.upgrade 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package com.sun.portal.fabric.upgrade;
002:
003:        import java.io.File;
004:
005:        public class UpgradeConstants {
006:
007:            //JES Installer Portal Server component selection.
008:            //TODO: Add Orion uninstalleer to all later. OrionUninstaller PSRAL10NConfigurator  PSL10NConfigurator PSL10NConfigurator
009:            public static String JES4_SILENT_INSTALL_COMPONENT_PORTAL_SERVER = "RegistryServer,PortalServer,PortalAdmin,ServiceRegistryDev,JavaDB,JavaDBCommon,JavaDBClient,JavaDBServer";
010:            public static String JES4_SILENT_INSTALL_COMPONENT_SRA = "PortalAdmin,PortalSRA,SRACore";
011:            public static String JES4_SILENT_INSTALL_COMPONENT_GATEWAY = "SRACommon,PortalAdminForSRA,PortalSRA,SRAGateway";
012:            public static String JES4_SILENT_INSTALL_COMPONENT_NETLET = "SRACommon,PortalAdminForSRA,PortalSRA,SRANetletProxy";
013:            public static String JES4_SILENT_INSTALL_COMPONENT_REWRITER = "SRACommon,PortalAdminForSRA,PortalSRA,SRARewriterProxy";
014:
015:            // Start - L10N Code change
016:
017:            public static String JES4_SILENT_INSTALL_COMPONENT_PORTAL_SERVER_L10N = "PortalServerL10n";
018:            public static String JES4_SILENT_INSTALL_COMPONENT_SRA_L10N = "PortalSRAL10n";
019:            public static String JES4_SILENT_INSTALL_COMPONENT_GATEWAY_L10N = "PortalSRAL10n";
020:            public static String JES4_SILENT_INSTALL_COMPONENT_NETLET_PROXY_L10N = "PortalSRAL10n";
021:            public static boolean PORTAL_L10N_INSTALLED = false;
022:
023:            //Finish - L10N Code change
024:
025:            //Deploy types of 7.0
026:            public static final String WC_TYPE_S1AS8 = "SJSAS81";
027:            public static final String WC_TYPE_S1WS6 = "SJSWS6";
028:            public static final String WC_TYPE_S1WS7 = "SJSWS7";
029:            public static final String WC_TYPE_IBMWAS5 = "IBMWAS5";
030:            public static final String WC_TYPE_BEAWL8 = "BEAWL8";
031:            public static final String WC_TYPE_WEBLOGIC = "WEBLOGIC";
032:            public static final String WC_TYPE_WEBSPHERE = "WEBSPHERE";
033:
034:            //Ant targets
035:            public static final String POSTUPGRADE = "postupgrade";
036:            public static final String PREUPGRADE = "preupgrade";
037:            public static final String UPGRADE = "upgrade";
038:            public static final String CACAO_RESTART = "cacaoRestart";
039:            public static final String ANT_TARGET_AM_REQUESTS = "amadmin";
040:            public static final String ANT_TARGET_AM_RESOURCE_BUNDLE_REQUESTS = "amadminResourceBundle";
041:            public static final String ANT_TARGET_LDAPMODIFY_REQUESTS = "ldapmodify";
042:            public static final String ROLLBACK = "rollback";
043:            public static final String AM_SERVICES_REMOVE_FILE = "servicesremove.txt";
044:
045:            //Log message definitions.
046:            public static final int LOG_WARNING = 2;
047:            public static final int LOG_MESSAGE = 1;
048:            public static final int LOG_FATAL = 3;
049:            public static final int LOG_DEBUG = 3;
050:
051:            public static final String UPGRADE_PATH_6_3 = "PS_6_3,PS_6_3_1,PS_7_0";
052:            public static final String UPGRADE_PATH_6_3_1 = "PS_6_3_1,PS_7_0";
053:            public static final String UPGRADE_PATH_7_0 = "PS_7_0";
054:
055:            //Exit code definitions.
056:            public static final int SPECIFIC_UPGRADE_ERROR_EXIT_CODE = -1;
057:            public static final int UPGRADE_INIT_ERROR_EXIT_CODE = 1;
058:            public static final int PRE_UPGRADE_ERROR_EXIT_CODE = 2;
059:            public static final int IN_UPGRADE_ERROR_EXIT_CODE = 3;
060:            public static final int POST_UPGRADE_ERROR_EXIT_CODE = 4;
061:            //All specific upgrade error code that happen in upgrade are between 300-399.
062:            public static final int SPECIFIC_UPGRADE_ERROR_DP_UPDATES_EXIT_CODE = 301;
063:            public static final int SPECIFIC_UPGRADE_ERROR_AM_UPDATES_EXIT_CODE = 302;
064:            public static final int SPECIFIC_UPGRADE_ERROR_CONFIGURATION_FAILED_EXIT_CODE = 303;
065:            //All specific upgrade error code that happen in post upgrade are between 200-299.
066:
067:            //The resource directory is relative to the upgrade/bin directory
068:            public static final String RESOURCE_DIR_PS63 = ".."
069:                    + File.separator + "upgrade-resource" + File.separator
070:                    + "ps63";
071:            public static final String RESOURCE_DIR_PS631 = ".."
072:                    + File.separator + "upgrade-resource" + File.separator
073:                    + "ps631";
074:            public static final String RESOURCE_DIR_JES4 = ".."
075:                    + File.separator + "upgrader-resource" + File.separator
076:                    + "jes4";
077:            public static final String RESOURCE_DIR_PS70 = ".."
078:                    + File.separator + "upgrade-resource" + File.separator
079:                    + "ps70";
080:
081:            /*
082:             * Following constants define what directories to scan for AM and DS repositry changes during direct upgrade.
083:             */
084:            public static final String[] RESOURCE_DIRS_PS63 = {
085:                    RESOURCE_DIR_PS63, RESOURCE_DIR_PS631, RESOURCE_DIR_PS70 };
086:            public static final String[] RESOURCE_DIRS_PS631 = {
087:                    RESOURCE_DIR_PS631, RESOURCE_DIR_PS70 };
088:            public static final String[] RESOURCE_DIRS_PS70 = { RESOURCE_DIR_PS70 };
089:
090:            public static final String RESOURCE_JAR = "upgraderesource.jar";
091:            public static final String SOLARIS_TMP_DIR = "/var/tmp";
092:            public static final String LINUX_TMP_DIR = "/var/tmp";
093:            public static final String MANAGE_INST_DIR = "/var/tmp/manage";
094:            public static final String PS_BACKUP_SCRIPT_FILE = "psambackup.sh";
095:            public static final String PS_RPMS_REMOVE_SCRIPT_FILE = "removePortalRpms.sh";
096:            //JES4 silent install file. This was created using the IFR 7.0 installer.
097:            public static final String JES_INSTALL_FILE_SUNOS = "jes4silentinstall_SunOS.txt";
098:            public static final String JES_INSTALL_FILE_LINUX = "jes4silentinstall_Linux.txt";
099:            //The Upgrade config file
100:            public static final String PS_CONFIG_XML_FILE = "psconfigupgrade.xml";
101:            //The Upgrade properties file
102:            public static final String PS_UPGRADE_PROPERTIES_FILE = "upgrade.properties";
103:
104:            //Password strings in the password file.
105:            public static final String IDSAME_ADMIN_PASSWORD_STR = "IDSAME_ADMIN_PASSWORD";
106:            public static final String DS_DIRMGR_PASSWORD_STR = "DS_DIRMGR_PASSWORD";
107:            public static final String WEB_CONTAINER_ADMIN_PASSWORD_STR = "WEB_CONTAINER_ADMIN_PASSWORD";
108:            public static final String WEB_CONTAINER_MASTER_PASSWORD_STR = "WEB_CONTAINER_MASTER_PASSWORD";
109:            public static final String CERT_DB_PASSWORD_STR = "CERT_DB_PASSWORD";
110:            public static final String SRA_LOG_USER_PASSWORD_STR = "SRA_LOG_USER_PASSWORD";
111:            public static final String IDSAME_LDAP_USER_PASSWORD_STR = "IDSAME_LDAP_USER_PASSWORD";
112:
113:            public static final String AMSDK_PKG_INFO_FILE = "/var/sadm/pkg/SUNWamsdk/pkginfo";
114:            public static final String PS_PKG_INFO_FILE = "/var/sadm/pkg/SUNWpscfg/pkginfo";
115:            public static final String WS_PKG_INFO_FILE = "/var/sadm/pkg/SUNWwbsvr/pkginfo";
116:            public static final String AS_PKG_INFO_FILE = "/var/sadm/pkg/SUNWascmn/pkginfo";
117:            public static final String PS7_PKG_INFO_FILE = "/var/sadm/pkg/SUNWportal-admin/pkginfo";
118:
119:            public static final String SOLARIS_SPARC_PATCH_KEY = "solaris.sparc.patches";
120:            public static final String LINUX_x86_PATCH_KEY = "linux.x86.patches";
121:            public static final String SOLARIS_x86_PATCH_KEY = "solaris.x86.patches";
122:            public static final String PATCH_FILE = "patches.txt";
123:
124:            public static final String AM_SPECIAL_USER_DN = "com.sun.identity.authentication.special.users";
125:            public static final String AM_ADMIN_DN = "com.sun.identity.authentication.super.user";
126:            public static final String ROOT_DN = "com.iplanet.am.rootsuffix";
127:            public static final String DOMAIN_COMPONENT = "com.iplanet.am.domaincomponent";
128:            public static final String DEFAULT_ORG = "com.iplanet.am.defaultOrg";
129:            public static final String DS_HOST = "com.iplanet.am.directory.host";
130:            public static final String DS_PORT = "com.iplanet.am.directory.port";
131:            public static final String DS_SSL_ENABLED = "com.iplanet.am.directory.ssl.enabled";
132:            public static final String AM_HOST = "com.iplanet.am.server.host";
133:            public static final String AM_PORT = "com.iplanet.am.server.port";
134:            public static final String IDSAME_AMSERVER = "com.iplanet.am.services.deploymentDescriptor";
135:            public static final String IDSAME_AMCONSOLE = "com.iplanet.am.console.deploymentDescriptor";
136:            public static final String PS_CONFIG_PROPPERTIES_FILE = "PSConfig.properties";
137:
138:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.