Thursday, 7 June 2012

Changes in Installation of Webspshere portal server8.0

The following items were changed for the installation process:
  • The IBM® Installation Manager replaces the InstallShield for installation.
  • The IBM Installation Manager replaces the WebSphere Portal Update Installer (PUI) for installing interim fixes and fix packs.
  • You can change the context root and Uniform Resource Identifier (URI) during the installation. You must run some additional tasks after installation to change the context root for your portlets.

Building .ear and .war files using ConfigEngine in Websphere Portal Server8.0



You can run a configengine task to build an .ear file or a .war file from an expanded directory.
C:\Portal8\wp_profile\ConfigEngine>ConfigEngine.bat build-war-file -Dsource.war.
directory=c:/configengine/ -Doutput.war=c:/wars/customtheme.war
where the following parameters are defined as:
  • source.war.directory: The location of the expanded or customized war file.
  • output.war: The location of the generated war file.
 








Control contributing markup using a dynamic content spot in Webspshere Portl Server 8.0


You can control contributing markup using a dynamic content spot

You can display a dynamic content spot only when a particular module is turned on. This is possible with the following format:
<a rel="dynamic-content" href="res:path/to/some/dynamic/content/spot.jsp, some_module_name"></a>/ This means that the spot.jsp file is only processed when some_module_name is turned on.

Dynamic content spots and markup contributions are both techniques for adding HTML to a theme, with one important difference. Markup contributions are always placed at the end of the body of the page, while dynamic content spots render wherever they are placed in the theme HTML template.

When a module requires markup, use a markup contribution if it is not important where the module is in the page, such as with iWidget definitions. If the markup must appear in a particular spot in the theme, then a conditional dynamic spot is used.

In the portal 8.0 theme, there is a button in the banner to enter page Edit mode, or return to View mode.

In the theme HTML template, the button is rendered with this dynamic content spot:
<a rel="dynamic-content" href="dyn-cs:id:80theme_pageModeToggle"></a>/


which maps to this URI through the WP_DynamicContentSpotMappings Resource Environment Provider in WebSphere® Application Server:
res:/wps/defaultTheme80/themes/html/dynamicSpots/pageModeToggle.jsp, wp_toolbar

The wp_toolbar module contains the JavaScript resources necessary for page editing, so you only want the button to render when this module is on.


Different types of Dojo in WebSphere Portal Server 8.0


Version
Filepath
Application name in was
Theme
1.7
PortalServer_root/theme/wp.theme.dojo/installedApps/dojo.ear/dojo.war/v1.7
Dojo_Resources
Portal8.0Theme
1.6.1
PortalServer_root/theme/wp.theme.dojo/installedApps/dojo.ear/dojo.war/v1.6
Dojo_Resources
Portal 7.0.0.2 theme
1.4.3
PortalServer_root/theme/wp.theme.dojo/installedApps/dojo.ear/dojo.war/v1.4.3
Dojo_Resources.
Page Builder theme
1.3.2
PortalServer_root/theme/wp.theme.dojo/installedApps/dojo.ear/dojo.war
Dojo_Resources.
PortalWeb2 theme uses Dojo v1.3.2 by default in WebSphere Portal v6.1.5
1.1
PortalServer_root/installer/wp.ear/installableApps/wps_theme.ear/wps_theme.war/themes/dojo/portal_dojo 

PortalWeb2 theme uses Dojo v1.1.1 by default in WebSphere Portal v6.1

Configuring developer mode in Webspshere Portal Server 8.0

The developer mode allows you to improve start up performance and to configure IBM® WebSphere® Portal for development. This file explains how to configure and unconfigure the development mode option. Developer mode is for a development environment only and should not be used in a production environment

The JVM will be switched to development mode and the initial heap size will be set to the maximum allowable heap size to reduce the amount of garbage collection during start up.

Portlets and Web Applications will be activated on first access and not at the start up. Since some of the portlets and applications are required at start up, a white list, which contains the list of applications, will hold the applications still started at start up.

Note: To add applications to the white list, modify the wp_profile_root\PortalServer\config\StartupPerformance\wp.base_TargetMapExclList.properties file. Add a line such as App_name, where App_name is the name of the application. Log on to the WebSphere Integrated Solutions Console and go to Applications -> Application Types -> WebSphere enterprise applications to get a list of available applications.

 
Websphere portal server initially will have 93 applications installed.

  1 PA_MosoftExchange2010         
  2 wci                           
  3 wcm                            
  4 PA_Community_Port_App         
  5 PA_FS_Disambiguation          
  6 PA_Markups_Manager            
  7 Default_Theme_80              
  8 Dojo_Resources                
  9 wps                           
 10 PA_DynamicUIApp               
 11 PA_WPF                        
 12 PA_PropertiesPortApp          
 13 PA_MPagesandFavorites         
 14 PA_portletWiring              
 15 PA_WPS_Welcome                
 16 IEHS_war                      
 17 PA_WCMLRingPortJSR286         
 18 lwp_peoplefinder_war          
 19 PA_Portlet_Manager            
 20 EphoxEditLive                 
 21 PA_Blurb_1                    
 22 PA_Properties                 
 23 WCM_EXTENSION                 
 24 PA_Web                        
 25 PA_Manage_Webservices         
 26 PA_Clients_Manager            
 27 WebResourceServlet.ear        
 28 PA_FrequentUsers              
 29 PageBuilder2_Theme            
 30 PA_PTransformationApp         
 31 Personalization_Workspace     
 32 PA_Search_Center              
 33 PA_ThemesAndSkinsMgr          
 34 PA_ResourceView               
 35 JavaContentRepository         
 36 PA_Principals_Manager         
 37 wps_theme                     
 38 PA_UniqueNames                
 39 PA_WebDockPortServlet         
 40 PA_Import_XML                 
 41 SpellChecker                  
 42 Seedlist_Servlet              
 43 pznscheduler                  
 44 PA_Set_Permissions            
 45 PA_wp.vwat.manager            
 46 PA_PortalWSRPProxy            
 47 WSPolicyManager               
 48 PA_SearchSitemapPort          
 49 PA_Pingpageproperties         
 50 PA_WCM_Admin                  
 51 PA_BksFinalJSRProject         
 52 PA_Impersonation              
 53 PA_Eecontentandlayout         
 54 PA_WebScanner                 
 55 Quickr_Document_Picker        
 56 PA_MageVirtualPortals         
 57 PA_ParamConfig                
 58 PA_Tag_Cloud                  
 59 PA_Banner_Ad                  
 60 MashupCommonComponent          
 61 PA_Roles                      
 62 PA_Policy_Status              
 63 Live_Object_Framework         
 64 PA_Settings                   
 65 Theme_Modules                 
 66 PA_Feed_Service_Admin         
 67 PA_IWidget_Wrapper             
 68 UserProfileRESTServlet        
 69 PA_Tracing                    
 70 PA_spa                        
 71 PA_Login_Portlet_App          
 72 lwp_peoplePicker_war          
 73 PA_wp.feedspace               
 74 wp.vwat.servlet.ear           
 75 lwp_groupsViewer_war          
 76 pznpublish                    
 77 lwp.addtosametimelist_war     
 78 PA_Blurb                      
 79 PZN_Utilities                 
 80 PA_ContactList                
 81 PA_appearance                 
 82 PA_Credential_Admin           
 83 wps_scheduler                 
 84 eventExplorer                 
 85 Personalization_Lists         
 86 PA_CredVaultDialog            
 87 feedReader                    
 88 AJAX Proxy Configuration      
 89 PSESearchAdapter              
 90 PA_WCM_Authoring_UI           
 91 PA_URL_mapping                
 92 websiteDisplayer              
 93 PA_Selfcare_Port_App          

Run the ConfigEngine.bat enable-develop-mode-startup-performance -DWasPassword=password task, from the wp_profile_root\ConfigEngine directory, immediately after installing WebSphere Portal to develop portals and portlets. Then stop and restart the WebSphere_Portal server to propagate your change.

  1 PA_MosoftExchange2010         
  2 wci                            Application is in exclude list. Skip ...
  3 wcm                            Application is in exclude list. Skip ...
  4 PA_Community_Port_App         
  5 PA_FS_Disambiguation          
  6 PA_Markups_Manager            
  7 Default_Theme_80               Application is in exclude list. Skip ...
  8 Dojo_Resources                 Application is in exclude list. Skip ...
  9 wps                            Application is in exclude list. Skip ...
 10 PA_DynamicUIApp               
 11 PA_WPF                        
 12 PA_PropertiesPortApp          
 13 PA_MPagesandFavorites         
 14 PA_portletWiring               
 15 PA_WPS_Welcome                
 16 IEHS_war                       Application is in exclude list. Skip ...
 17 PA_WCMLRingPortJSR286          Application is in exclude list. Skip ...
 18 lwp_peoplefinder_war           Application is in exclude list. Skip ...
 19 PA_Portlet_Manager            
 20 EphoxEditLive                  Application is in exclude list. Skip ...
 21 PA_Blurb_1                    
 22 PA_Properties                 
 23 WCM_EXTENSION                 
 24 PA_Web                         
 25 PA_Manage_Webservices         
 26 PA_Clients_Manager            
 27 WebResourceServlet.ear        
 28 PA_FrequentUsers              
 29 PageBuilder2_Theme             Application is in exclude list. Skip ...
 30 PA_PTransformationApp         
 31 Personalization_Workspace      Application is in exclude list. Skip ...
 32 PA_Search_Center              
 33 PA_ThemesAndSkinsMgr          
 34 PA_ResourceView               
 35 JavaContentRepository          Application is in exclude list. Skip ...
 36 PA_Principals_Manager         
 37 wps_theme                      Application is in exclude list. Skip ...
 38 PA_UniqueNames                
 39 PA_WebDockPortServlet         
 40 PA_Import_XML                 
 41 SpellChecker                   Application is in exclude list. Skip ...
 42 Seedlist_Servlet               Application is in exclude list. Skip ...
 43 pznscheduler                  
 44 PA_Set_Permissions            
 45 PA_wp.vwat.manager            
 46 PA_PortalWSRPProxy            
 47 WSPolicyManager               
 48 PA_SearchSitemapPort          
 49 PA_Pingpageproperties          Application is in exclude list. Skip ...
 50 PA_WCM_Admin                  
 51 PA_BksFinalJSRProject         
 52 PA_Impersonation               Application is in exclude list. Skip ...
 53 PA_Eecontentandlayout         
 54 PA_WebScanner                  Application is in exclude list. Skip ...
 55 Quickr_Document_Picker         Application is in exclude list. Skip ...
 56 PA_MageVirtualPortals         
 57 PA_ParamConfig                
 58 PA_Tag_Cloud                  
 59 PA_Banner_Ad                  
 60 MashupCommonComponent          Application is in exclude list. Skip ...
 61 PA_Roles                      
 62 PA_Policy_Status              
 63 Live_Object_Framework          Application is in exclude list. Skip ...
 64 PA_Settings                   
 65 Theme_Modules                  Application is in exclude list. Skip ...
 66 PA_Feed_Service_Admin         
 67 PA_IWidget_Wrapper            
 68 UserProfileRESTServlet         Application is in exclude list. Skip ...
 69 PA_Tracing                    
 70 PA_spa                        
 71 PA_Login_Portlet_App           Application is in exclude list. Skip ...
 72 lwp_peoplePicker_war          
 73 PA_wp.feedspace               
 74 wp.vwat.servlet.ear           
 75 lwp_groupsViewer_war          
 76 pznpublish                    
 77 lwp.addtosametimelist_war     
 78 PA_Blurb                      
 79 PZN_Utilities                 
 80 PA_ContactList                
 81 PA_appearance                 
 82 PA_Credential_Admin           
 83 wps_scheduler                  Application is in exclude list. Skip ...
 84 eventExplorer                  Application is in exclude list. Skip ...
 85 Personalization_Lists          Application is in exclude list. Skip ...
 86 PA_CredVaultDialog            
 87 feedReader                     Application is in exclude list. Skip ...
 88 AJAX Proxy Configuration       Application is in exclude list. Skip ...
 89 PSESearchAdapter              
 90 PA_WCM_Authoring_UI            Application is in exclude list. Skip ...
 91 PA_URL_mapping                
 92 websiteDisplayer               Application is in exclude list. Skip ...
 93 PA_Selfcare_Port_App           Application is in exclude list. Skip ...

Run the ConfigEngine.bat disable-develop-mode-startup-performance -DWasPassword=password task, from the wp_profile_root\ConfigEngine directory, to revert back to a production server. Then stop and restart the WebSphere_Portal server to propagate your change.