A iniciar o IBM WebSphere Portal e Application Server, o seguinte erro e exibido:TCPC0003E: TCP Channel TCP_5 initialization failed. The socket bind failed for host * and port 10030. The port may already be in use.00000018 ChannelFramew E CHFW0029E: Errorinitializing chain DCS because of exceptioncom.ibm.wsspi.channel.framework.exception.RetryableChannelException: Address already in use Este problema ocorre quando o start do WebSphere e imediatamente apos o stop do WebSphere, sendo tando pelo procedimento padrao ou kill no processo Java. Algumas portas nao sao liberadas pelo sistema operacional o que leva em torno de 3 minutos para a liberacao de todas as portas apos o stop do servidor.Assim que a JVM recebe a informacao de parada , ela envia as informacoes para o sistema operacional para que destrua todas as portas abertas. A responsabilidade de liberar as portas e do sistema operacional.Este tipo de problema ocorre apenas em sistemas operacionais Linux.SolucaoA solucao e simples.1 Faca o backup do arquivo sysctl.conf 2 Adicione o seguinte valor: net.ipv4.tcp_fin_timeout = 30 3 No exemplo acima, o sistema operacional ira liberar as portas abertas em 30 segundos. Durante a migracao do WerbSphere Portal versao 6.0.x para WebSphere Portal 7.0.x na execucao do portal-post-upgrade, ocorre uma falha durante o export da politica do thema.Normalmente o problema ocorre no servidor WebSphere Portal 7 quando esta exportando e copiando as politica de tema do ambiente WebSphere Portal 6. A falha ocorre com a seguinte excecao: action-update-theme-policy-wp.theme.customizer Ao editar o arquivo /opt/IBM/WebSphere/PortalServer/theme/wp.theme.customizer/config/includes/wp.theme.customizer_cfg.xml na linha 62, pode-se confirmar que o problema ocorre no action-export-theme-policies.Mensagem de erro[exec] [copy] Copying 1 file to /opt/IBM/WebSphere/wp_profile/ConfigEngine/config/work [exec] [mkdir] Created dir: /opt/IBM/WebSphere/wp_profile/theme/wp.theme.customizer/config/policies [exec] [xmlaccess] EJPXB0006I: Connecting to URL http://localhost:10039/wps/config/ [exec] [xmlaccess] EJPXB0004I: Writing output file /opt/IBM/WebSphere/wp_profile/theme/wp.theme.customizer/config/policies/themecustomizer-ExportedThemePolicies.xml [exec] [xmlaccess] EJPXB0002I: Reading input file /opt/IBM/WebSphere/wp_profile/ConfigEngine/config/work/ExportThemePolicies.xml [exec] [xmlaccess] EJPXB0019E: Server response indicates an error. For status and details of the XmlAccess error look at file /opt/IBM/WebSphere/wp_profile/theme/wp.theme.customizer/config/policies/themecustomizer-ExportedThemePolicies.xml. [exec] [xmlaccess] EJPXB0019E: Server response indicates an error. For status and details of the XmlAccess error look at file /opt/IBM/WebSphere/wp_profile/theme/wp.theme.customizer/config/policies/themecustomizer-ExportedThemePolicies.xml. [exec] BUILD FAILED [exec] /opt/IBM/WebSphere/PortalServer/theme/wp.theme.customizer/config/includes/wp.theme.customizer_cfg.xml:62: The following error occurred while executing this line: [exec] /opt/IBM/WebSphere/PortalServer/theme/wp.theme.customizer/config/includes/wp.theme.customizer_cfg.xml:41: EJPXB0019E: Server response indicates an error. For status and details of the XmlAccess error look at file /opt/IBM/WebSphere/wp_profile/theme/wp.theme.customizer/config/policies/themecustomizer-ExportedThemePolicies.xml. [exec] Total time: 12 seconds [exec] FAILURE_LOG_DIR=null [exec] basepath = /opt/IBM/WebSphere/PortalServer/theme/wp.theme.customizer [exec] isIseries currently set to: null [exec] uploading registry [exec] Created admin client: com.ibm.ws.management.AdminClientImpl@54d554d5 [exec] Created config Service Proxy: com.ibm.websphere.management.configservice.ConfigServiceProxy@142f142f [exec] CELL: srwpsv7Node01 [exec] NODE: srwpsv7Node01 [exec] Websphere:_Websphere_Config_Data_Type=Registry,_Websphere_Config_Data_Id=cells/srwpsv7Node01|registry.xml#Registry_1347370620668,_WEBSPHERE_CONFIG_SESSION=anonymous1349445876367 [exec] update-registry-sync-property: [exec] Fri Oct 05 11:04:36 BRT 2012 [exec] [echo] updated RegistrySynchronized in file wkplc.properties with value: trueBUILD FAILED/opt/IBM/WebSphere/wp_profile/PortalServer/migration/mig_ant_driver.xml:284: The following error occurred while executing this line:/opt/IBM/WebSphere/wp_profile/PortalServer/migration/components/wp.migration.postupgrade/mig_ant.xml:133: The following error occurred while executing this line:/opt/IBM/WebSphere/wp_profile/PortalServer/migration/components/wp.migration.postupgrade/mig_ant.xml:172: The following error occurred while executing this line:/opt/IBM/WebSphere/wp_profile/PortalServer/migration/components/wp.migration.postupgrade/mig_ant.xml:209: The following error occurred while executing this line:/opt/IBM/WebSphere/wp_profile/PortalServer/migration/mig_ant_driver.xml:568: The following error occurred while executing this line:/opt/IBM/WebSphere/wp_profile/PortalServer/migration/components/wp.migration.theme.customizer/mig_ant.xml:33: exec returned: 1Resolvendo o problemaNo ambiente WebSphere Portal 6.0.x1 Crie um arquivo chamado ExportThemePolicy.xml2 Edite o arquivo ExportThemePolicy.xml e copie o codigo abaixo dentro do arquivo ExportThemePolicy.xml.3 Navegue ate /opt/IBM/WebSphere/PortalServer/bin.4 Execute o xmlaccess para exportar a politica do tema.5 - ./xmlaccess.sh -user wpsadmin -password wpsadmin -url http://serverportalv6:10038/wps/config -in /opt/ExportThemePolicy.xml -out /opt/ExportThemev6.xml6 Copie o arquivo para o servidor