When trying to install CF03 on Portal 8.0, Installation fails with below error:
opt/IBM/Rendering/PortalServer/installer/wp.config/config/includes/wp_cluster_cfg.xml:1436: Detected single app deployment time greater than 5 minutes.
Check the \wp_profile\ConfigEngine\log\ConfigTrace.log log file for the following error:-
/opt/IBM/Rendering/PortalServer/installer/wp.config/config/includes/wp_cluster_cfg.xml:1436: Detected single app deployment time greater than 5 minutes at com.ibm.wplc.deploy.tasks.impl.ClusterWaitForSyncToCompleteImpl.execute(ClusterWaitForSyncToCompleteImpl.java:289) at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.executeBean(AbstractBaseAdminTask.java:541) at com.ibm.wplc.deploy.tasks.AbstractBaseAdminTask.executeTask(AbstractBaseAdminTask.java:525) at com.ibm.wplc.deploy.tasks.AbstractBaseWsAdminWrapperTask.executeTask(Abs
tractBaseWsAdminWrapperTask.java:376)
In addition to that you will see error like below:
[wplc-wait-for-sync-to-complete] Distribution of AJAX Proxy Configuration not complete.
[wplc-wait-for-sync-to-complete] Distribution of Dojo_Resources not complete.
Workaround 1:
1. Try to increase maxAppTimeToWait="5" to 15 min. in wp_cluster_cfg.xml and run the installation again.
If doesn't work and you notice that wp_cluster_cfg.xml parameter revert back to lower value, then try the workaround below:
Workaround 2:
1. Edit the PortalServer/wps.properties file and remove the lines for:
ProfileName
ProfileDirectory
Do not just comment them out; remove them completely.
2. Install CF03. It should go through successfully this time. It will NOT update the profile so it should skip the failing script.
3. Make the same timeout changes to wp_cluster_cfg.xml again.
4. Add ProfileName and ProfileDirectory back to wps.properties.
5. Execute this ConfigEngine script to update the profile:
./ConfigEngine.sh CONFIG-WP-PTF-CF -DWasPassword= -DPortalAdminPwd=
If doesn't work, continue to next step.
Workaround 3:
1 Edit the Installation Manager configuration file, found at /opt/IBM/InstallationManager/eclipse/configuration/config.ini
2. Add the following line to this file: WP_UPDATE_SKIP_CONFIG=true
3. Save the file and run the portal installation again. You will need to run ./ConfigEngine.sh CONFIG-WP-PTF-CF -DWasPassword= -DPortalAdminPwd= to finish update.
Technote reference : http://www-01.ibm.com/support/docview.wss?uid=swg21622946
Showing posts with label WebSphere-Portal. Show all posts
Showing posts with label WebSphere-Portal. Show all posts
Sunday, September 14, 2014
Friday, August 8, 2014
SECJ0371W: Validation of the LTPA token failed
WebSphere Portal received a request with an expired or otherwise invalid
LTPA token for which it needed to generate one or more URLs. By
default, the LTPA token timeout is two hours. This timeout is encoded
into the token itself. With the default settings, this condition could
occur if someone logged in and worked in WebSphere Portal for longer
than two hours.
Check your SystemOut.log for :
at com.ibm.wps.util.HttpUtils.validateLTPATokenCookies(HttpUtils.java:458)
at com.ibm.wps.auth.extensions.impl.ExtendedAuthenticationServiceImpl.isUserLoggedIn(ExtendedAuthenticationServiceImpl.java:136)
at com.ibm.wps.state.accessors.url.EngineURLOnRequest.isProtected(EngineURLOnRequest.java:371)
at com.ibm.wps.state.accessors.url.EngineURLOnRequest.reset(EngineURLOnRequest.java:450)
atcom.ibm.wps.state.accessors.url.URLAccessorFactoryExImpl.newURL(URLAccessorFactoryExImpl.java:319)
Such stack traces indicate that WebSphere Portal explicitly requests LTPA token validation from WebSphere Application Server during URL generation. This is by design.
com.ibm.ws.security.ltpa.LTPAServerObject=severe
per the WebSphere Application Server InfoCenter section on Log level settings.
Check your SystemOut.log for :
at com.ibm.wps.util.HttpUtils.validateLTPATokenCookies(HttpUtils.java:458)
at com.ibm.wps.auth.extensions.impl.ExtendedAuthenticationServiceImpl.isUserLoggedIn(ExtendedAuthenticationServiceImpl.java:136)
at com.ibm.wps.state.accessors.url.EngineURLOnRequest.isProtected(EngineURLOnRequest.java:371)
at com.ibm.wps.state.accessors.url.EngineURLOnRequest.reset(EngineURLOnRequest.java:450)
atcom.ibm.wps.state.accessors.url.URLAccessorFactoryExImpl.newURL(URLAccessorFactoryExImpl.java:319)
Such stack traces indicate that WebSphere Portal explicitly requests LTPA token validation from WebSphere Application Server during URL generation. This is by design.
You may either ignore the warning or suppress them. To suppress such warnings, set:
com.ibm.ws.security.ltpa.LTPAServerObject=severe
per the WebSphere Application Server InfoCenter section on Log level settings.
Monday, August 4, 2014
Scheduler Error Messages upon Portal Startup
Problem
Upon the portal startup, the following error message can be found in the log:
[...] 0000006a AlarmListener E SCHD0063E: A task with ID 451 failed to run on Scheduler WPSTaskScheduler (wps/Scheduler) because of an exception:
java.rmi.RemoteException: CORBA INTERNAL 0x4942f58c No;
nested exception is as follows:
org.omg.CORBA.INTERNAL: initial and forwarded IOR inaccessible vmcid: IBM minor code: 58C completed: No.
[...] 0000006a AlarmListener E SCHD0063E: A task with ID 451 failed to run on Scheduler WPSTaskScheduler (wps/Scheduler) because of an exception:
java.rmi.RemoteException: CORBA INTERNAL 0x4942f58c No;
nested exception is as follows:
org.omg.CORBA.INTERNAL: initial and forwarded IOR inaccessible vmcid: IBM minor code: 58C completed: No.
Symptom
The scheduler does not run.
Cause
One known cause is that a WAS upgrade was
done. WAS cannot migrate schedulers, therefore this part of the
migration needs to be done by the application - in this case the portal.
Note: There can be other causes and other scheduler related error messages that require the scheduler to be recreated.
Diagnosing the problem
Check the logs.
Resolving the problem
Remove and recreate the scheduler by using the following config tasks:
WebSphere Portal V 6.1 and later:
- Remove the scheduler by running the following task:
ConfigEngine remove-scheduler
- Recreate the scheduler by running the following task:
ConfigEngine create-scheduler
- Modify the settings by running the following task:
ConfigEngine create-scheduler-custom-property
WebSphere Portal V 6.0 and later:
- Remove the scheduler by running the following task:
WPSConfig action-remove-scheduler-cleanup-daemon
- Recreate the scheulder by running the following task:
WPSConfig action-create-scheduler-cleanup-daemon
- Modify the settings by using the following tasks:
WPSConfig action-modify-scheduler-base-properties-cleanup-daemon
WPSConfig action-modify-scheduler-custom-properties-cleanup-daemon
WebSphere Portal V 5.1 and later:
- Remove the scheduler by running the following task:
WPSConfig action-remove-scheduler-cleanup-daemon
- Recreate the scheulder by running the following task:
WPSConfig action-create-scheduler-cleanup-daemon
- Modify the settings by running the following task:
WPSConfig action-modify-scheduler-cleanup-daemon-jndi-wps-ds
If these tasks do not help, you need to remove the schedules with this command:
WebSphere Portal V 5.1, V 6.0 and later:
WPSConfig action-clean-scheduled-tasks
WebSphere Portal V 6.1 and later:
ConfigEngine action-clean-scheduled-tasks
After you have done this, restart the server. Upon restart, the server will re-insert the default schedule. If you modified the default scheduled task, recreate your schedules by using the XML configuration interface.
Note: In a cluster you need to do this only on the primary node.
Source : https://www-304.ibm.com/support/docview.wss?uid=swg21289958
Monday, November 18, 2013
Step by Step Instructions for Configuring WebSphere Portal with Oracle
This article shows you how to transfer from default database to
Oracle database in WebSphere Portal 6.1.
The article explains the various steps that are required to completely configure the WebSphere Portal to Oracle. These instructions can be used to perform the database transfer process for a stand-alone WebSphere Portal instance or can also be applied for a Clustered environment.
db_block_size = 8192
db_cache_size = 300M
db_files = 1024
& nbsp; log_buffer = 65536
open_cursors = 1500 (2500 for JCR database)
pga_aggregate_target = 200M
pre_page_sga = true
processes = 300
shared_pool_size = 200M
create user release identified by passw0rd default tablespace ts_release temporary tablespace ts_release;
grant connect, resource to release;
create user community identified by passw0rd default tablespace ts_community temporary tablespace ts_community;
grant connect, resource to community;
create user customization identified by passw0rd default tablespace ts_customization temporary tablespace ts_customization;
grant connect, resource to customization;
create user feedback identified by passw0rd default tablespace ts_feedback temporary tablespace ts_feedback;
grant connect, resource, create session to feedback;
create user likeminds identified by passw0rd default tablespace ts_likeminds temporary tablespace ts_likeminds;
grant connect, resource, create session to likeminds;
create user jcr identified by passw0rd default tablespace ts_jcr temporary tablespace ts_jcr;
grant connect, reso urce, create session, alter session, create table, create view, create trigger, create library, execute any procedure, create sequence, insert any table to jcr;
create user wsadmin identified by passw0rd default tablespace ts_wsadmin temporary tablespace ts_wsadmin;
grant dba to feedback;
Where is the username configured in the Oracle datasource's authentication alias.
10. Open a command prompt and change to the directory wp_profile_root\ConfigEngine. Enter the following commands to validate configuration properties.
ConfigEngine.bat validate-database-driver
-DTransferDomainList=release,customization,community,jcr,feedback,likeminds
ConfigEngine.bat validate-database-connection
-DTransferDomainList=release,customization,community,jcr,feedback,likeminds
11. Stop both WebSphere Application Server and the WebSphere Portal server:
12. Open a command prompt and change to the directory wp_profile_root\ConfigEngine. Enter the following commands to transfer the database to Oracle.
ConfigEngine.bat database-transfer
-DTransferDomainList=release,customization,community,jcr,feedback,likeminds -DuseCustomTablespaceMapping=true
13. Start the Portal Server and test if you can login to the Portal Server.
Source : http://www-10.lotus.com/ldd/portalwiki.nsf/dx/06152009050451pmwebsuc.htm
The article explains the various steps that are required to completely configure the WebSphere Portal to Oracle. These instructions can be used to perform the database transfer process for a stand-alone WebSphere Portal instance or can also be applied for a Clustered environment.
In
WebSphere Portal 6.1, the Portal databases can be configured to DB2,
Oracle or SQL Server. The portal databases can be configured to a local
database server installed on the same machine or databases can be
distributed to multiple database servers, located on the multiple remote
database machines. This document explains how to configure the
WebSphere Portal with Oracle database.
Assumptions:
WebSphere Portal 6.1 installed on a machine
Oracle 10g Server is running on a separate machine.
Steps:
- The Oracle databases must be created manually before configuring WebSphere Portal. Make sure that all databases to be used with WebSphere Portal are created as UNICODE character set such as UTF8, AL32UTF8, or AL16UTF16.
In
this scenario, I am considering creating 6 different oracle databases
that will be used by WebSphere Portal. However multiple domains can
share a single database, depending on your environment.
Domain Database
Release RELDB
Community COMDB
Customization CUSDB
Likeminds LMDB
Feedback FDBKDB
Jcr JCRDB
- Make sure that the created databases are configured with the following values; the values for all databases will remain same except JCRDB that should have a value for open_cursors as 2500.
db_cache_size = 300M
db_files = 1024
& nbsp; log_buffer = 65536
open_cursors = 1500 (2500 for JCR database)
pga_aggregate_target = 200M
pre_page_sga = true
processes = 300
shared_pool_size = 200M
- If you are using remote Oracle databases, you must also copy the ojdbc14.jar file from the remote Oracle server to the WebSphere Portal/jdbc/lib
machine. For example, the location of the jar file on the Portal machine can be C:/IBM/WebSphere/PortalServer/drivers
- The database users should be created with certain privileges so that these users can access the Oracle databases used by WebSphere Portal.
create user release identified by passw0rd default tablespace ts_release temporary tablespace ts_release;
grant connect, resource to release;
create user community identified by passw0rd default tablespace ts_community temporary tablespace ts_community;
grant connect, resource to community;
create user customization identified by passw0rd default tablespace ts_customization temporary tablespace ts_customization;
grant connect, resource to customization;
create user feedback identified by passw0rd default tablespace ts_feedback temporary tablespace ts_feedback;
grant connect, resource, create session to feedback;
create user likeminds identified by passw0rd default tablespace ts_likeminds temporary tablespace ts_likeminds;
grant connect, resource, create session to likeminds;
create user jcr identified by passw0rd default tablespace ts_jcr temporary tablespace ts_jcr;
grant connect, reso urce, create session, alter session, create table, create view, create trigger, create library, execute any procedure, create sequence, insert any table to jcr;
create user wsadmin identified by passw0rd default tablespace ts_wsadmin temporary tablespace ts_wsadmin;
grant dba to feedback;
- Use a text editor to open the properties file wp_profile_root/ConfigEngine/properties/wkplc_comp.properties and modify the values to correspond to your environment.
feedback.DbType=oracle
feedback.DbName=FDBKDB
feedback.DbSchema=feedback
feedback.DataSourceName=wpfdbkDS
feedback.DbUrl=jdbc:oracle:thin:@oracle.test.ibm.com:1521:FDBKDB
feedback.DbUser=feedback
feedback.DbPassword=passw0rd
feedback.DBA.DbUser=wsadmin
feedback.DBA.DbPassword=passw0rd
likeminds.DbType=oracle
likeminds.DbName=LMDB
likeminds.DbSchema=likeminds
likeminds.DataSourceName=wplmDS
likeminds.DbUrl=jdbc:oracle:thin:@oracle.test.ibm.com:1522:LMDB
likeminds.DbUser=likeminds
likeminds.DbPassword=passw0rd
likeminds.DBA.DbUser=wsadmin
likeminds.DBA.DbPassword=passw0rd
release.DbType=oracle
release.DbName=RELDB
release.DbSchema=release
release.DataSourceName=wprelDS
release.DbUrl=jdbc:oracle:thin:@oracle.test.ibm.com:1523:RELDB
release.DbUser=release
release.DbPassword=passw0rd
release.DBA.DbUser=wsadmin
release.DBA.DbPassword=passw0rd
community.DbType=oracle
community.DbName=COMDB
community.DbSchema=community
community.DataSourceName=wpcomDS
community.DbUrl=jdbc:oracle:thin:@oracle.test.ibm.com:1524:COMDB
community.DbUser=community
community.DbPassword=passw0rd
community.DBA.DbUser=wsadmin
community.DBA.DbPassword=passw0rd
customization.DbType=oracle
customization.DbName=CUSDB
customization.DbSchema=customization
customization.DataSourceName=wpcusDS
customization.DbUrljdbc:oracle:thin:@oracle.test.ibm.com:1525:CUSDB
customization.DbUser=customization
customization.DbPassword=passw0rd
customization.DBA.DbUser=wsadmin
customization.DBA.DbPassword=passw0rd
jcr.DbType=oracle
jcr.DbName=JCRDB
jcr.DbSchema=jcr
jcr.DataSourceName=wpjcrDS
jcr.DbUrl= jdbc:oracle:thin:@oracle.test.ibm.com:1526:JCRDB
jcr.DbUser=jcr
jcr.DbPassword=passw0rd
jcr.DBA.DbUser=wsadmin
jcr.DBA.DbPassword=passw0rd
Note
that these values might be different in your case and should be changed
according to your environment. For example, Oracle database host,
instance port, database name, database names, user, passwords, schema
names.
- Use a text editor to open the properties file wp_profile_root/ConfigEngine/properties/wkplc_dbtype.properties and modify the following values to correspond to your environment. The value of oracle.DbLibrary must be the path where ojdbc14.jar was copied on the WebSphere Portal box.
oracle.DbDriver=oracle.jdbc.driver.OracleDriver
oracle.DbLibrary=C:/IBM/WebSphere/PortalServer/drivers/jdbc/lib/ojdbc14.jar
oracle.JdbcProviderName=wpdbJDBC_oracle
- Open the following mapping files under wp_profile_root/PortalServer/config/tablespaces that specify the table space and index space property pairs for each database table:
community.space_mapping.properties
customization.space_mapping.properties
feedback.space_mapping.properties
jcr.space_mapping.properties
likeminds.space_mapping.properties
release.space_mapping.properties
Assign a table space to each entry in the mapping files. The table space name must be prepended by the keyword TABLESPACE and a space. For example: community.COMP_INST.tablespace=TABLESPACE TS_COMMUNITY Repeat this step for each domain that you are transferring.
8. Create the tablespaces that are required for JCR domain using the following commands;
Before
using the following commands, replace &dbpath. with the actual
database path on oracle jcr db. You also need to replace JCRDB with the
name of jcr database
if this is different in your case.
create tablespace ICMLFQ32 datafile '&dbpath./JCRDB/data/JCRDB_ICMLFQ32_01.dbf' size 300M reuse autoextend on next 10M maxsize UNLIMITED extent management local autoallocate;
create tablespace ICMLNF32 datafile '&dbpath./JCRDB/data/JCRDB_ICMLNF32_01.dbf' size 25M reuse autoextend on next 10M maxsize UNLIMITED extent management local autoallocate;
create tablespace ICMVFQ04 datafile '&dbpath./JCRDB/data/JCRDB_ICMVFQ04_01.dbf' size 25M reuse autoextend on next 10M maxsize UNLIMITED extent management local autoallocate;
create tablespace ICMSFQ04 datafile '&dbpath./JCRDB/data/JCRDB_ICMSFQ04_01.dbf' size 150M reuse autoextend on next 10M maxsize UNLIMITED extent management local autoallocate;
create tablespace ICMLSNDX datafile '&dbpath./JCRDB/index/JCRDB_ICMLSNDX_01.dbf' size 10M reuse autoextend on next 10M maxsize UNLIMITED extent management local autoallocate;
9. Run the following commands as user SYS:
| grant select on pending_trans$ to ; grant select on dba_2pc_pending to ; grant select on dba_pending_transactions to ; grant execute on dbms_system to ; |
Where is the username configured in the Oracle datasource's authentication alias.
ConfigEngine.bat validate-database-driver
-DTransferDomainList=release,customization,community,jcr,feedback,likeminds
ConfigEngine.bat validate-database-connection
-DTransferDomainList=release,customization,community,jcr,feedback,likeminds
11. Stop both WebSphere Application Server and the WebSphere Portal server:
ConfigEngine.bat database-transfer
-DTransferDomainList=release,customization,community,jcr,feedback,likeminds -DuseCustomTablespaceMapping=true
13. Start the Portal Server and test if you can login to the Portal Server.
Source : http://www-10.lotus.com/ldd/portalwiki.nsf/dx/06152009050451pmwebsuc.htm
Thursday, October 24, 2013
Caching Issue in WebSphere Portal version 6.1, 7.0 and 8.0
Currently Committed database setting - Applies to DB2 v9.7 or higher and WebSphere Portal version 6.1 and 7.0
DB2 V9.7 introduced a new default behaviour for isolation level cursor stability (CS) (see http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.admin.config.doc/doc/r0053556.html).
In WebSphere Portal this has implications for the cache invalidation strategy related to transactions. The new DB2 default behaviour for isolation level cursor stability (CS) is to NOT block code that wants to read data which is still being worked on in an uncommitted transaction in another thread (DB2 returns the result, as if the other transaction would not exist). But WebSphere Portal version 6.1 and 7.0 cache invalidation and refill strategies rely on the blocking at database level. With the new 'currently committed' default setting, stale data in Portal caches can occur.
Starting with Portal version 8.0 the setting of CUR_COMMIT to ENABLED is supported.
Besides the fact that CUR_COMMIT must be set to DISABLED for WebSphere Portal version 6.1 and 7.0, WebSphere Portal development does not expect a performance degradation when changing the value of CUR_COMMIT from ENABLED to DISABLED. For some scenarios with long database transactions, it could be that response times increase due to additional waits for updated data.
The setting of CUR_COMMIT is applied at database level. Therefore it is required to set CUR_COMMIT to DISABLED for the Portal database(s), containing the Portal database domains release, community, customization, jcr, feedback, and likeminds.
Disabling CUR_COMMIT in DB2 Version 9.7:
Ask your DB2 administrator to ensure that CUR_COMMIT is disabled by carrying out the following steps (for each of the Portal databases):
In WebSphere Portal this has implications for the cache invalidation strategy related to transactions. The new DB2 default behaviour for isolation level cursor stability (CS) is to NOT block code that wants to read data which is still being worked on in an uncommitted transaction in another thread (DB2 returns the result, as if the other transaction would not exist). But WebSphere Portal version 6.1 and 7.0 cache invalidation and refill strategies rely on the blocking at database level. With the new 'currently committed' default setting, stale data in Portal caches can occur.
Starting with Portal version 8.0 the setting of CUR_COMMIT to ENABLED is supported.
Besides the fact that CUR_COMMIT must be set to DISABLED for WebSphere Portal version 6.1 and 7.0, WebSphere Portal development does not expect a performance degradation when changing the value of CUR_COMMIT from ENABLED to DISABLED. For some scenarios with long database transactions, it could be that response times increase due to additional waits for updated data.
The setting of CUR_COMMIT is applied at database level. Therefore it is required to set CUR_COMMIT to DISABLED for the Portal database(s), containing the Portal database domains release, community, customization, jcr, feedback, and likeminds.
Disabling CUR_COMMIT in DB2 Version 9.7:
Ask your DB2 administrator to ensure that CUR_COMMIT is disabled by carrying out the following steps (for each of the Portal databases):
- Connect to the runtime database:
$ db2 connect to
whererepresents the name of the database.
- List the CUR_COMMIT parameter:
$ db2 get db cfg show detail | grep CUR_COMMIT
The output should look like this:
Currently Committed (CUR_COMMIT) = DISABLED DISABLED
- If the values are anything other than two times DISABLED (one
for the current setting used, the other for the delayed setting
specified in the configuration), change the value to DISABLED:
$ db2 update db cfg using CUR_COMMIT DISABLED
- Close the database connection:
$ db2 connect reset
- Check that no other application is connected to the database,to
make the change effective (This e.g. requires to stop the Websphere
Portal Server that uses the database). List the connected applications
like this:
$ db2 list applications for db where
represents the name of the database.
The output should look like this:
SQL1611W No data was returned by Database System Monitor.
- Ensure that the settings are correct by repeating the steps 1. and 2.
Tuesday, October 8, 2013
Wpcollector tool, new in WebSphere Portal 7.0 and 8.0
Wpcollector is a new command line tool that
automates the collection of portal logs and configuration files and
optionally assists the customer with sending those files to IBM Support,
saving valuable time. Using automated log collection early in the PMR
life cycle can greatly reduce the number of doc requests that are made
by Support. Wpcollector is an excellent tool for those customers that
are not able to download and install ISA Lite in their portal
environment.
Wpcollector is delivered with WebSphere Portal beginning with the 7.0 release. A significant difference between wpcollector and ISA Lite is that ISA Lite will automatically enable the correct traceString and collect the appropriate files based on the problem type selected in the ISA Lite GUI. Wpcollector, however, does not currently have a mechanism for the user to specify the problem type. Therefore, if tracing is required for the problem, the customer must manually enable traceStrings and recreate the problem PRIOR to running wpcollector. Similarly, because wpcollector consists of only 1 script, it collects all of the files for all of the various problem types each time the tool is run.
To run wpcollector, please follow the steps, below:
- If IBM Support has requested tracing, enable it as instructed by the L2 Support Engineer and then recreate the problem. If no tracing is requested, proceed to the step, below:
- If using Microsoft Windows, Unix/Linux, or IBM i, run the following script from the
/PortalServer/bin/ directory to begin the collection:
Windows: wpcollector.batUnix/Linux: wpcollector.shi: wpcollector.shTip: To specify the option for automatically sending the collection to IBM Support via FTP, use the "pmr" parameter. This will associate the collection with the PMR (Problem Management Record) specified. Be sure to format the number using either periods or commas. For example:wpcollector.bat -Dpmr=nnnnn.bbb.ccc (nnnnn=PMR number, bbb=branch, ccc=country code)Tip: To specify the option for collecting files for the Deployment Manager profile, use the "dmgr.root" parameter. For example:wpcollector.bat -Ddmgr.root=/opt/IBM/WebSphere/profiles/dmgr_profile - If using IBM z/OS, proceed as follows:
Start the WebSphere Portal Customization Dialog.In the Portal configuration panel, select Collect Diagnostics.Follow the Customization Dialog instructions for submitting the Collect Diagnostics job (EJPSLOGS).Tip: To specify the option for automatically sending the collection to IBM Support via FTP, respond to the "Transmit PMR Data" prompt with "Y" in the ISPF panel as follows:Transmit PMR data to IBM .................................: YTip: To collect data from the Deployment Manager, the only requirement is to submit the job from the system where the Deployment Manager is installed (i.e. so it can access the files). There is no prompt in the ISPF panel for this. - If the automatic send/FTP option was not specified, a manual
transfer of the collection to IBM will be necessary. Locate the
wp.mustgather-
.zip file or the -wp.mustgather- .zip file in the <wp_profile_root>/filesForAutoPD/ directory and follow the instructions in "Exchanging information with IBM Technical Support for problem determination" to manually FTP the collection to IBM. If using z/OS, there may be additional z/OS-specific files required, such as WebSphere Portal servant region or controller region joblogs. Wpcollector currently does not collect these files. Your L2 Support Engineer will inform you in the event these files are needed and provide instructions for collecting them.
Happy Trails
Jerome Slinger
Friday, July 19, 2013
IBM WebSphere Portal ConfigEngine Tasks
action-deploy-portlets-prereq.pzn
If you install Portal or WCM using the administration option, or base install, the Personalization features, including the Personalization Navigator and Personalization Editor, are not installed. However, you can add these features manually after installation by deploying the Personalization portlets and adding the Personalization Navigator and Personalization Editor to a page. This task deploys the personalization portlets.Examples:
UNIX:
./ConfigEngine.sh action-deploy-portlets-prereq.pzn -DPortalAdminPwd=password -DWasPassword=password |
Windows:
ConfigEngine.bat action-deploy-portlets-prereq.pzn -DPortalAdminPwd=password -DWasPassword=password |
i5/OS:
ConfigEngine.sh action-deploy-portlets-prereq.pzn -DPortalAdminPwd=password -DWasPassword=password |
activate-portlets
Auto-synchronization of the Web modules to each node in the cluster might not happen immediately, or at all, depending on how the administrator has auto-synchronization configured in the deployment manager. For this reason, WebSphere Portal cannot guarantee that the portlet has been successfully synchronized to each node in the cluster and thus cannot automatically activate the portlet during deployment.Perform the following steps to manage your portlets:
Deploy your portlets using either the WebSphere Portal Administration page or the XML configuration interface utility (xmlaccess command).
Run this task to activate the deployed portlets and to synchronize the changes across all cluster members.
Example:
ConfigEngine.bat activate-portlets -DWasPassword=password task from the wp_profile_rootConfigEngine directory |
add-wcm-la-attributes
Adds the look-aside (property extension) database attributes necessary for WCM. You have to create the look-aside database first. See: http://www-10.lotus.com/ldd/portalwiki.nsf/dx/Configuring_a_property_extension_database_on_Windows_wp7. Example command:ConfigEngine.bat
add-wcm-la-attributes -DWasPassword=password -DparentProperties=full
path to
wp_profile_root\\ConfigEngine\\config\\helpers\\wp_add_LA.properties |
checkin-wp-proxy-config
This task activates changes made to the WebSphere Portal Ajax proxy configuration (wp.proxy.config.xml) file.Example:
ConfigEngine.sh|bat checkin-wp-proxy-config -DProxyConfigFileName=dir_path/your_updated_proxy_file.name |
cluster-node-config-cluster-setup
Example:ConfigEngine.bat cluster-node-config-cluster-setup -DWasPassword=wpsadmin |
create-jcr-jms-resources-post-dbxfer
The Java Content Repository (JCR) TextSearch functions are used for searching for content in the Lotus Web Content Management (WCM) Authoring user interface.As part of the install of IBM WebSphere Portal V7.0, all environments should be running the JMS task, "create-jcr-jms-resources-post-dbxfer," to move the JCR TextSearch resources from an Apache Derby Datasource/database configuration to the Datasouce/database that is used for the JCR repository. Failure to run this task can leave the datasource definitions pointing to Derby or cause the JCR TextSearch to not function properly.Example:
create-jcr-jms-resources-post-dbxfer -DWasPassword=replaceWithWasPassword |
configure-wcm-authoring
Installs the Web Content Management Authoring Portlet, Local Rendering Portlet and Web Content Manager Portal pages. This task can be run, for example, to install WCM atop a base portal install if the licensed edition allows for use of WCM.Example:
ConfigEngine.bat configure-wcm-authoring -DPortalAdminPwd=xxx -DWasPassword=xxx |
create-virtual-portal
Use this task to create a virtual portal. Additional parameters can be passed to the task, so please refer to the Virtual portals reference for details.create-jcr-jmstopics
Recreates the bus and bus member used for JCR text search functionality.database-transfer
Transfers the portal database from one to another depending on the settings in your configuration files (typically from the default Derby database to another such as DB2). You typically want to run the validate-database-driver and validate-database-connection tasks before this one.delete-virtual-portal
Use this task to delete a virtual portal by using its object ID. To determine the correct object ID of the virtual portal, use the task list-all-virtual-portals.deploy-full-profile-7002-theme
This config task applies the full profile to the WebSphere Portal7.0.0.2 theme.deploy-lightweight-profile-7002-theme
This config task applies the lightweight profile to the WebSphere Portal7.0.0.2 themedeploy-deferred-profile-7002-theme
This config task applies the deferred profile to the WebSphere Portal7.0.0.2 theme.enable-identityprovider-tai
Enables a Trust Association Interceptor (TAI) for allowing OpenID authentication with an identity provider such as Google, Yahoo, or Facebook.AIX:
./ConfigEngine.sh enable-identityprovider-tai -DWasUserId=username -DWasPassword=password |
IBM® i:
ConfigEngine.sh enable-identityprovider-tai -DWasUserId=username -DWasPassword=password |
Linux:
./ConfigEngine.sh enable-identityprovider-tai -DWasUserId=username -DWasPassword=password |
Solaris:
./ConfigEngine.sh enable-identityprovider-tai -DWasUserId=username -DWasPassword=password |
Windows:
ConfigEngine.bat enable-identityprovider-tai -DWasUserId=username -DWasPassword=password |
enable-profiles
This command creates a configuration archive (CAR) file that is used to create additional WebSphere Portal profiles. The Portal.car file is saved to the PortalServer_rootprofileTemplates
default.portal
configArchives directory. This is typically done as a step in the process of creating the WebSphere Portal profile template in a clustered environment.
enable-wcm
Installs Web Content Manager into an existing Server installation. In a clustered environment, this must be executed on each node.See: Installing Web Content Manager into an existing Server installation on Windows
export-library-copy
Exports a copy of a web content library. See: Exporting and importing a web content library copyexport-wcm-data
Exports a web content library. Several things need to be in place for this task to be executed properly, so please refer to: Exporting and importing web content librariesimport-library-copy
Imports a copy of a web content library. See: Exporting and importing a web content library copyimport-wcm-data
Imports a web content library. Several things need to be in place for this task to be executed properly, so please refer to: Exporting and importing web content librarieslist-all-virtual-portals
This tasks lists all your virtual portals, together with the following information:- The title of the virtual portal
- The description of the virtual portal
- The realm of the virtual portal
- The object ID of the virtual portal.
list-server-ports
Example:ConfigEngine.bat list-server-ports -DWasPassword=password |
list-server-ports-by-name
Examples:ConfigEngine.bat list-server-ports-by-name -DServerName=server1 -DWasPassword=password |
ConfigEngine.bat list-server-ports-by-name -DServerName=WebSphere_Portal -DWasPassword=password |
modify-servlet-path
Changes the default portal Uniform Resource Identifier (URI) after installation.Example:
./ConfigEngine.sh modify-servlet-path -DPortalAdminPwd=password -DWasPassword=password |
Note that additional steps are typically required. See the topic, Changing the portal URI, in the appropriate product documentation for your software version.
modify-virtual-portal
Use this task to modify a virtual portal by using its object ID. To determine the correct object ID of the virtual portal, use the task list-all-virtual-portals .package-profiles
Zips the profileTemplates directory and creates a profileTemplates.zip file in the PortalServer_root/profileTemplates directory. This is typically done after the enable-profiles task as a step in the process of creating the WebSphere Portal profile template in a clustered environment.remove-wcm-authoring
Uninstalls the Web Content Management Authoring Portlet, Local Rendering Portlet and Web Content Manager Portal pages.run-wcm-admin-task-member-fixer
Creates a report of users or groups referenced in Web Content Manager items that need fixing. See product documentation: Using the web content member fixer taskExample:
ConfigEngine.bat
run-wcm-admin-task-member-fixer -DPortalAdminId=username
-DPortalAdminPwd=password -DWasUserId=username -DWasPassword=password
-Dlibrary="MyLibrary" |
ConfigEngine.bat
run-wcm-admin-task-member-fixer -DPortalAdminId=username
-DPortalAdminPwd=password -DWasUserId=username -DWasPassword=password
-Dlibrary="MyLibrary" -Dfix=true |
si-remove-setup
Removes the Solution Installer PAAs and their registrations as part of the uninstallation procedure for the IBM WebSphere Portal Solution Installer. For more information, refer to the official documentation for the Solution Installer, which is a PDF file contained within the application that can be obtained from the IBM Lotus and WebSphere Portal Business Solutions Catalog. See also: si-setup.si-setup
This task is executed as a part of the installation procedure for the IBM WebSphere Portal Solution Installer. After the SolutionInstaller.zip has extracted on a node, and the install script has been run, this task is then executed to set up and register the PAA offering directory that the Solution Installer uses. For more information, refer to the official documentation for the Solution Installer, which is a PDF file contained within the application that can be obtained from the IBM Lotus and WebSphere Portal Business Solutions Catalog. See also: si-remove-setup.start-portal-server
Starts the portal server. Note that the portal admin user id and password should be set in wkplc.properties before executing this task.Example:
./ConfigEngine.sh start-portal-server |
stop-portal-server
Stops the portal server. Note that the portal admin user id and password should be set in wkplc.properties before executing this task.Example:
./ConfigEngine.sh stop-portal-server |
validate-database-connection
Typically ran after the validate-database-driver task and before the database-transfer task to validate successful connection to database.Example:
ConfigEngine.bat validate-database-connection -DTransferDomainList=release,customization,community,jcr,feedback,likeminds |
validate-database-driver
Typically ran before the database-transfer task to validate your database driver configuration.Example:
ConfigEngine.bat validate-database-driver -DTransferDomainList=release,customization,community,jcr,feedback,likeminds |
Example:
ConfigEngine.bat validate-standalone-ldap -DWasPassword=wpsadmin -DparentProperties=Z:\helpers\wp_security_ids.properties |
webdav-deploy-zip-file
Use this configuration task to manage theme artifacts and to deploy iWidgets. This task uploads archive or compressed files to portal WebDAV folders.This task has parameters; please see IBM documentation: Task webdav-deploy-zip-file
wp-node-prep-vmm-db-secured-environment
wp-prep-vmm-db-secured-environment
wp-query-attribute-config
Run the ConfigEngine.bat wp-query-attribute-config -DWasPassword=password task, from the wp_profile_root/ConfigEngine directory, any time during the configuration process or at runtime to query an overview of the currently defined LDAP attributes. This task creates the availableAttributes.html report, located in the wp_profile_root/ConfigEngine/log directory. The report contains one table that lists the available attributes for Users (PersonAccount) and one table that lists the available attributes for Groups. For each configured repository there is a column that indicates if the attribute is flagged as unsupported or if the attribute is mapped to a different LDAP attribute.wp-query-repository
Lists the names and types of configured user repositories.wp-update-standalone-ldap-attribute-config
Applies the settings from wkplc.properties related to marking LDAP attributes as unsupported or mapping the portal attributes to attributes in your LDAP. For example, you might need to map the "ibm-primaryEmail" attribute that portal uses to the "mail" attribute in your own LDAP.See: http://www-10.lotus.com/ldd/portalwiki.nsf/dx/Mapping_attributes_on_Windows_in_a_clustered_environment_wp7. This task may do more, but at the time I wrote this, it was documented in this particular context.
wp-validate-federated-ldap-attribute-config
Validates that all defined attributes are available in the configured LDAP user registry.Source : https://wiki.base22.com/
Monday, July 8, 2013
WCM page and authoring portlet may not display after migration
Greetings Fellow WebSpherians
I am posting this one in response to a few queries that were mailed to me and here's to it being helpful :
1. Make sure that the page on which the WCM authoring portlet is installed uses a theme with client-side rendering such as the Page Builder theme.
2. Deploy the hidden Portal page on which the reserved authoring portlet is installed.
3. Run the following task from the
wp_profile_root
/
Config Engine directory.
I am posting this one in response to a few queries that were mailed to me and here's to it being helpful :
After migrating to IBM WebSphere Portal V7.0, you
may not be able to navigate to or display the Web Content Manager (WCM)
out-of-box page or the authoring portlet. In addition, some related
functions in the user interface might not work or might generate
exceptions when accessed. Clicking buttons in the authoring portlet may
generate the following error in the log:
- IWKAP0009E: Servlet not enabled.
Cause
The migration process can disable some new
out-of-the-box features if the feature did not exist in the previous
release or if it was updated. In particular, the Portal page required
for the reserved authoring portlet is missing and the permissions on the
AJAX proxy servlet are not set correctly.
Resolving the problem
To re-enable the affected features manually after migration, do the following:
1. Make sure that the page on which the WCM authoring portlet is installed uses a theme with client-side rendering such as the Page Builder theme.
2. Deploy the hidden Portal page on which the reserved authoring portlet is installed.
- Cluster note: Run this task on the primary node in a V7 clustered environment.
- Windows:
ConfigEngine.bat install-wcm-hidden-authoring-page -DWasPassword=password
UNIX:
./ConfigEngine.sh install-wcm-hidden-authoring-page -DWasPassword=password
i/System:
ConfigEngine.sh install-wcm-hidden-authoring-page -DWasPassword=password
z/OS (run from the UNIX shell) :
./ConfigEngine.sh install-wcm-hidden-authoring-page -DWasPassword=password
Wednesday, October 31, 2012
IBM Customer Experience Suite, IBM WebSphere Portal, and IBM Web Content Manager V8.0
Hey WebSpherians!
So I have decided to venture into the WCM and Portal 8 Realm.Don't forget that I will still be responding to all the WCM/Portal 6 and 7 questions that get submitted.
I decided to add this article plus the source as it does provide some interesting information about my next adventure.
Source :https://www.ibm.com/developerworks/mydeveloperworks/blogs/WebSpherePortal/?lang=en
Take a look at the latest updates available with the IBM Customer Experience Suite, WebSphere Portal and Web Content Manager Beta Two release.
This beta release operates on WebSphere
Application Server Version 8, and includes updates that can provide your
users with a more social, mobile and integrated experience.
Version 8.0 Beta two highlights include
Access the details, Beta software, documentation and support forum here: http ://t inyu rl.c om/y bmsq kz
We look forward to your impressions and experiences with the latest updates.
So I have decided to venture into the WCM and Portal 8 Realm.Don't forget that I will still be responding to all the WCM/Portal 6 and 7 questions that get submitted.
I decided to add this article plus the source as it does provide some interesting information about my next adventure.
Source :https://www.ibm.com/developerworks/mydeveloperworks/blogs/WebSpherePortal/?lang=en
Take a look at the latest updates available with the IBM Customer Experience Suite, WebSphere Portal and Web Content Manager Beta Two release.
Managed Pages A simplified way to create and manage portal pages and web content using a new integrated toolbar. New page draft and approval process lets you preview and approve changes to pages before publishing them.
Site Area Templates Create site area templates that define the authoring settings, such as the design of the form, elements and fields on a form, and default values. Restrict authoring templates usage. For example, use site area templates to only allow " news" items to be created within a " news" site area of a website.
Enhanced Projects Add users as approvers for a project and send a project through a review state before publishing.
Simplified Business Process Management Users access relevant tasks and activities for multiple Business Process Management solutions from a single user interface, the Unified Task List portlet. Integrate your site with several Process Management solutions.
Enhanced SAP integration Support for the new IBM WebSphere Portal Integrator for SAP lets you expose elements from SAP Netweaver Portal directly into WebSphere Portal.
IBM Installation Manager Manage the software life cycle with a single tool: Install, Update, Rollback, Modify, and Uninstall. Faster installation performance and better integration with other IBM products.
Social Business in Context New Community Page support lets you more readily scope and place IBM Connections portlets in the right Portal and WCM context. IBM Connections Community Pages portlets are available for Profiles and Blogs with Beta 2.
A consistent tagging and rating experience between WebSphere Portal, Web Content Manager, and IBM Connections. OpenID Authentication lets portal users authenticate with public social network credentials, such as a Facebook ID, Google ID or Yahoo ID.
Subscribe to:
Posts (Atom)
Generate reports from Opportunities using a Visualforce Page in Salesforce
Step 1: Create a Visualforce Page Go to the Setup menu in Salesforce. Search for "Visualforce Pages" in the Quick Find box and c...
-
Soooo..... I refreshed my sandbox environment to create a partial copy of production. Added my new components and merrily attempted to de...
-
Links to content items can be written as URLs. The following examples show how to write links to Web Content Management Content that are to ...