Chinaunix首页 | 论坛 | 博客
  • 博客访问: 23541
  • 博文数量: 7
  • 博客积分: 15
  • 博客等级: 民兵
  • 技术积分: 82
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-14 11:40
文章分类

全部博文(7)

文章存档

2014年(7)

我的朋友

分类: LINUX

2014-03-06 16:20:32

PORTAL7安装问题汇总


WAS版本为7.0.0.25,Portal版本为7.0.0.2

1.安装Portal时选择完全安装。

2.对Dmgr扩展后(./manageprofiles.sh -augment),Dmgr无法启动,需要检查Dmgr中的security.xml文件是否有乱码,去除乱码后即可启动。

3.wp-change-portal-admin-user命令不成功,可以使用-Dskip.ldap.validation=true选项。报错输出如下:

./ConfigEngine.sh wp-change-portal-admin-user -DWasPassword=wpsadmin -DnewAdminId=uid=wpsadmin,cn=users,dc=clpc,dc=com -DnewAdminPw=wpsadmin -DnewAdminGroupId=cn=wpsadmins,cn=groups,dc=clpc,dc=com
Licensed Materials - Property of IBM
5724-E76, 5724-E77, 5655-M44
(C) Copyright IBM Corp. All Rights Reserved.

Running WebSphere Portal configuration
/opt/IBM/WebSphere/wp_profile/ConfigEngine/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar:/opt/IBM/WebSphere/AppServer/plugins:/opt/IBM/WebSphere/AppServer/lib/wkplc.comp.registry.jar:/opt/IBM/WebSphere/AppServer/lib/j2ee.jar:/opt/IBM/WebSphere/AppServer/properties
propertiesPath is ConfigEngine_temp.prop
rootDir is /opt/IBM/WebSphere/wp_profile/ConfigEngine
Executing native2ascii with native encoding 'GB18030': ConfigEngine_temp.prop_ -> ConfigEngine_temp_ascii.prop_
Native2ascii execution was successful!
Loading system properties from ConfigEngine_temp_ascii.prop_
ConfigEngine: setting system property JAVA_HOME=/opt/IBM/WebSphere/AppServer/java
ConfigEngine: setting system property local.cell=W32-BB-OAP02Cell01
ConfigEngine: setting system property was.root=/opt/IBM/WebSphere/AppServer
ConfigEngine: setting system property NodeName=portal2
ConfigEngine: setting system property local.node=portal2
ConfigEngine: setting system property ws.ext.dirs=/opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppServer/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime:/opt/IBM/WebSphere/wp_profile/ConfigEngine/lib:/opt/IBM/WebSphere/wp_profile/ConfigEngine/shared/app:/opt/IBM/WebSphere/AppServer/plugins
ConfigEngine: setting system property was.install.root=/opt/IBM/WebSphere/AppServer
ConfigEngine: setting system property jvmArgFor64bit=-D64bit.args=none
ConfigEngine: setting system property cfg.trace=/opt/IBM/WebSphere/wp_profile/ConfigEngine/log/ConfigTrace.log
ConfigEngine: setting system property CellName=W32-BB-OAP02Cell01
ConfigEngine: setting system property was.repository.root=/opt/IBM/WebSphere/wp_profile/config
ConfigEngine: setting system property server.root=/opt/IBM/WebSphere/AppServer
WSVR0615W: 未设置 user.install.root 系统属性。可能找不到某些产品类。
RegistrySynchronized: true
Registry already in sync
[02/01/13 23:01:32.789 CST] ssl.default.password.in.use.CWPKI0041W
[02/01/13 23:01:32.959 CST] ssl.disable.url.hostname.verification.CWPKI0027I
[02/01/13 23:01:32.970 CST] Client code attempting to load security configuration
[02/01/13 23:01:34.166 CST] Client code attempting to load security configuration
Created admin client: com.ibm.ws.management.AdminClientImpl@63ca63ca
Created config Service Proxy: com.ibm.websphere.management.configservice.ConfigServiceProxy@4060406
CELL: W32-BB-OAP02Cell01
NODE: portal2
[02/01/13 23:01:35.612 CST] WSVR0801I
loaded registry at location: registry.xml
wasUserHome now set to: /opt/IBM/WebSphere/wp_profile
Buildfile: base_dynamic.xml
Trying to override old definition of task property
Trying to override old definition of task sleep
Trying to override old definition of task java
Trying to override old definition of task exec

cleanup-work-dir:
Fri Feb 01 23:01:40 CST 2013
     [echo] Cleaning up...
   [delete] Deleting directory /opt/IBM/WebSphere/wp_profile/ConfigEngine/config/work
     [echo] Done.
    [mkdir] Created dir: /opt/IBM/WebSphere/wp_profile/ConfigEngine/config/work

action-set-time-property:
Fri Feb 01 23:01:40 CST 2013

action-init-zos:
Fri Feb 01 23:01:40 CST 2013
     [echo] Setting property isZos to ${isZos}
     [echo] Setting property jvmArgForZos to -Dzos.argsconversion=none

action-set-managed-node-flag:
Fri Feb 01 23:01:40 CST 2013
     [echo] Is this a Managed Node ?  true


action-set-conntype-property:
Fri Feb 01 23:01:41 CST 2013
     [echo] wsadminConnType set to: SOAP

init-cfg-files:
Fri Feb 01 23:01:41 CST 2013
   [delete] Deleting directory /opt/IBM/WebSphere/wp_profile/ConfigEngine/config/work
    [mkdir] Created dir: /opt/IBM/WebSphere/wp_profile/ConfigEngine/config/work
     [copy] Copying 5 files to /opt/IBM/WebSphere/wp_profile/ConfigEngine/config/work
     [copy] Copying 1 file to /opt/IBM/WebSphere/wp_profile/ConfigEngine/config/work
     [copy] Copying 7 files to /opt/IBM/WebSphere/wp_profile/ConfigEngine/config/work
    [chmod] Skipping fileset for directory /opt/IBM/WebSphere/wp_profile/ConfigEngine/config/work. It is empty.
    [chmod] Skipping fileset for directory /opt/IBM/WebSphere/wp_profile/ConfigEngine/lib. It is empty.

set-wsadmin-scripting-classpath-in-jacl-properties-1:
Fri Feb 01 23:01:43 CST 2013
     [echo] /opt/IBM/WebSphere/wp_profile
     [echo] wsadmin.properties com.ibm.ws.scripting.classpath:           '${com.ibm.ws.scripting.classpath}'
     [echo] com.ibm.ws.scripting.classpath.initial:                      '/opt/IBM/WebSphere/wp_profile/ConfigEngine/lib/wkplc.misc.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batch2.jar:/opt/IBM/WebSphere/PortalServer/base/wp.base/shared/app/wp.base.jar:/opt/IBM/WebSphere/PortalServer/shared/app/wp.base.jar:/opt/IBM/WebSphere/wp_profile/ConfigEngine/shared/app/lotusworkplacelib/lwp.clbcmpAPI.jar'

set-wsadmin-scripting-classpath-in-jacl-properties-2:
Fri Feb 01 23:01:43 CST 2013
     [echo] jacl.properties com.ibm.ws.scripting.classpath:              '/opt/IBM/WebSphere/wp_profile/ConfigEngine/lib/wkplc.misc.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/opt/IBM/WebSphere/AppServer/deploytool/itp/batch2.jar:/opt/IBM/WebSphere/PortalServer/base/wp.base/shared/app/wp.base.jar:/opt/IBM/WebSphere/PortalServer/shared/app/wp.base.jar:/opt/IBM/WebSphere/wp_profile/ConfigEngine/shared/app/lotusworkplacelib/lwp.clbcmpAPI.jar'
     [echo] jacl.properties com.ibm.ws.scripting.port:              '8879'
     [echo] jacl.properties com.ibm.ws.scripting.host:              'W32-BB-OAP02.portal.clpc.clic'

set-wsadmin-scripting-classpath-in-jacl-properties:
Fri Feb 01 23:01:43 CST 2013

action-init-cfg-files-zos:
Fri Feb 01 23:01:43 CST 2013

setup-additional-init-files:
Fri Feb 01 23:01:43 CST 2013

init:
Fri Feb 01 23:01:43 CST 2013
     [echo] 2013-02-01-11-01
Trying to override old definition of task wplc-modify-server
Trying to override old definition of task wplc-create-server
Trying to override old definition of task wplc-remove-server

set-properties:
Fri Feb 01 23:01:43 CST 2013
[setproperty] Property PortalAdminId was set to wpsadmin
[setproperty] Property PortalAdminGroupId was set to wpsadmins
[setproperty] Property WpsDocReviewer was set to ${WpsDocReviewer}
[setproperty] Property WpsContentAdministrators was set to ${WpsContentAdministrators}
[setproperty] Property UserSuffix was set to ${LDAPUserSuffix},${LDAPSuffix}
[setproperty] Property GroupSuffix was set to ${LDAPGroupSuffix},${LDAPSuffix}

action-pre-config:
Fri Feb 01 23:01:44 CST 2013
     [echo] executing pre-configuration tasks
   [isWas7] overwriting previous definition of property: null
   [isWas7] +++value of property is 7.0.0.25

action-set-config:
Fri Feb 01 23:01:45 CST 2013
     [echo] executing set-configuration tasks
     [echo] contains@empty_string@

wp-change-portal-admin-user:
Fri Feb 01 23:01:45 CST 2013

wp-validate-user-exists:
Fri Feb 01 23:01:47 CST 2013
[wplc-validate-user-exists] Task parameters:
[wplc-validate-user-exists]   Global attributes:
[wplc-validate-user-exists]     cell="W32-BB-OAP02Cell01"
[wplc-validate-user-exists]     engineinstalllocation="/opt/IBM/WebSphere/wp_profile/ConfigEngine"
[wplc-validate-user-exists]     pathseparator=":"
[wplc-validate-user-exists]     osarch="amd64"
[wplc-validate-user-exists]     node=""
[wplc-validate-user-exists]     server=""

[wplc-validate-user-exists]   Instance attributes (Set 1 of 1):
[wplc-validate-user-exists]     ignoreDuplicateIDs= *** NOT_SPECIFIED ***
[wplc-validate-user-exists]     attribute=[ *** NONE_SPECIFIED *** ]
[wplc-validate-user-exists]     customproperty=[ *** NONE_SPECIFIED *** ]
[wplc-validate-user-exists]     trimSpaces= *** NOT_SPECIFIED ***
[wplc-validate-user-exists]     cn="uid=wpsadmin,cn=users,dc=clpc,dc=com"
[wplc-validate-user-exists] Property written to parameter 'userExists'
[wplc-validate-user-exists] Status = Complete
     [echo] Validating if user 'uid=wpsadmin,cn=users,dc=clpc,dc=com' exists.

BUILD FAILED
/opt/IBM/WebSphere/wp_profile/ConfigEngine/config/actions/wp_security_pub.xml:2492: The following error occurred while executing this line:
/opt/IBM/WebSphere/wp_profile/ConfigEngine/config/actions/wp_security_internal.xml:88: Given user 'uid=wpsadmin,cn=users,dc=clpc,dc=com' does not exist.

Total time: 12 seconds
FAILURE_LOG_DIR=null
isIseries currently set to: null
uploading registry
Created admin client: com.ibm.ws.management.AdminClientImpl@63ca63ca
Created config Service Proxy: com.ibm.websphere.management.configservice.ConfigServiceProxy@49414941
CELL: W32-BB-OAP02Cell01
NODE: portal2
CELL: W32-BB-OAP02Cell01

update-registry-sync-property:
Fri Feb 01 23:01:52 CST 2013
     [echo] updated RegistrySynchronized in file wkplc.properties with value: true

4.打补丁PM56244

Abstract
WebSphere Portal profiles created on 7002 binary installations fail to initialize properly.
Content
If you install WebSphere Portal as a binary installation and upgrade it to v7.0.0.2, the WebSphere_Portal servers in any new profiles you create will not initialize properly. You will see a ClassNotFoundException for the 'com.ibm.wps.devicesupport.PortalDeviceClassBootstrapService' class in the SystemOut.log of the server, and a '404 Initialization of one or more services failed' in the web browser when accessing the server:
======================
[3/5/12 21:41:08:733 EST] 0000001b Servlet E com.ibm.wps.engine.Servlet init EJPFD0016E: Initialization of service failed.
java.lang.ClassNotFoundException: com.ibm.wps.devicesupport.PortalDeviceClassBootstrapService
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:139)
at com.ibm.wps.services.ServiceManager.initInternal(ServiceManager.java:260)
at com.ibm.wps.services.ServiceManager.init(ServiceManager.java:173)
======================

This is due to a defect in WebSphere Portal in this scenario that prevents the 'com.ibm.wps.devicesupport.PortalDeviceClassBootstrapService' from being properly registered.

PM56244 has been created to address this problem. Apply the fix for the APAR and follow all instructions in its readme to prevent/resolve this issue.

This error only occurs if you installed Portal as a binary installation and upgraded it to v7.0.0.2 before creating any profiles.

Related information
PM56244

Additional parameter for stopped servers: This task verifies the user against a running server instance. If the server is stopped, add the -Dskip.ldap.validation=true parameter to the task to skip the validation.

阅读(1476) | 评论(0) | 转发(0) |
0

上一篇:Solaris双网卡绑定

下一篇:没有了

给主人留下些什么吧!~~