Erros ao atualizar o IBM HTTP Plugin e o IBH IHS

1

Inicialmente, esta atividade começou com a instalação do fix pack do WAS 7.0.0.39 em nosso sistema.

O UpdateInstaller foi atualizado para 7.0.0.39, junto com o WAS e o java.

O WAS é instalado usando wassrvr id, enquanto o servidor da web é instalado usando webserver id.

Depois que eu mudei o ID para webserver e tentei instalar o fix pack para o plug-in IBM HTTP e o servidor IHS usando o comando update.sh , recebi os seguintes erros:

[$WAS_HOME/UpdateInstaller]$ ./update.sh

Executing command: $WAS_HOME/UpdateInstaller/java/jre/bin/java -cp $WAS_HOME/UpdateInstaller/update.jar -Xms48m -Xmx384m run

JVMJ9VM019E Unrecoverable error: Unable to find and initialize required class java/lang/Object
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ppc64/default/jclSC160/vm.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/annotation.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/beans.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/java.util.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/jndi.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/logging.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/security.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/sql.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmorb.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmorbapi.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmcfw.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/rt.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/charsets.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/resources.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmpkcs.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmcertpathfw.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmjgssfw.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmjssefw.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmsaslfw.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmjcefw.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmjgssprovider.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmjsseprovider2.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmcertpathprovider.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/management-agent.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/xml.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/jlm.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/javascript.jar
JVMJ9VM023I This may indicate that JAVA_HOME is incorrect, or that class libraries are not installed
JVMJ9VM015W Initialization error for library jclscar_24(14): JVMJ9VM009E J9VMDllMain failed
Could not create the Java virtual machine.

Então, tentei verificar a versão do java como wassrvr

[/home/wassrvr]$ java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap64devifx-20130702 (SR16 FP3 ))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 j9vmap6423ifx-20130613 (JIT enabled)
J9VM - 20130611_151893_BHdSMr
JIT  - 20121221_30553_r8
GC   - 20120911_AA)
JCL  - 20130702

E novamente usando o caminho absoluto do java:

[/home/wassrvr]$ $WAS_HOME/UpdateInstaller/java/jre/bin/java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap6460sr16fp7ifix-20150930_02(SR16 FP7+IV77565))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr16fp7-20150701_255724 (JIT enabled, AOT enabled)
J9VM - 20150701_255724
JIT  - r9_20150630_95420
GC   - GA24_Java6_SR16_20150701_1008_B255724)
JCL  - 20150628_01

Tentei o mesmo que webserver

[/home/webserver]$ java -version
ksh: java:  not found

Usando o caminho absoluto:

[/home/webserver]$ $WAS_HOME/UpdateInstaller/java/jre/bin/java -version
JVMJ9VM019E Unrecoverable error: Unable to find and initialize required class java/lang/Object
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ppc64/default/jclSC160/vm.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/annotation.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/beans.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/java.util.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/jndi.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/logging.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/security.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/sql.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmorb.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmorbapi.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmcfw.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/rt.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/charsets.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/resources.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmpkcs.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmcertpathfw.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmjgssfw.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmjssefw.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmsaslfw.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmjcefw.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmjgssprovider.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmjsseprovider2.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/ibmcertpathprovider.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/management-agent.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/xml.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/jlm.jar
JVMJ9VM020I Searched in $WAS_HOME/UpdateInstaller/java/jre/lib/javascript.jar
JVMJ9VM023I This may indicate that JAVA_HOME is incorrect, or that class libraries are not installed
JVMJ9VM015W Initialization error for library jclscar_24(14): JVMJ9VM009E J9VMDllMain failed
Could not create the Java virtual machine.

Durante a instalação do fix pack do WAS, não houve erros. Mas, ao tentar instalar o upgrade do Plugin e do IHS, o arquivo de log tmp não está sendo criado.

Estou em um toco aqui, alguma orientação seria apreciada.

    
por debal 21.03.2016 / 06:05

2 respostas

0

Então, finalmente consegui resolver o problema. Depois de verificar a permissão de cada arquivo, um por um, descobriu que um diretório j9vm under $WAS_HOME/UpdateInstaller/java/jre/bin tinha uma permissão 700 . Depois de alterar isso para 755 , consegui executar o script de atualização.

    
por 22.03.2016 / 02:32
0

Por favor, verifique as variáveis de ambiente JAVA_HOME e CLASSPATH do usuário wassrvr e configure-o para os mesmos valores depois de alternar para a conta do servidor web. Este é o primeiro passo que eu faria quando a descrição do erro estivesse apontando que a classe java essencial não pode ser carregada.

    
por 21.03.2016 / 14:01