Home » Fusion Middleware & Colab Suite » Weblogic & Application Server » OC4J Assistant Fails + Enterprise Manager Web Console does not start
OC4J Assistant Fails + Enterprise Manager Web Console does not start [message #118369] Wed, 04 May 2005 14:26 Go to next message
Mauricio de A. R.
Messages: 13
Registered: May 2004
Junior Member
Operating System and Version: Suse Enterprise 9
Product (i.e., OAS, IAS, etc): IAS
Product Version: 10g
JDK Version: 1.3.1

-----

Hello,

we are trying to install ias 10g (9.0.4) in a server running Suse Enterprise 9 and our enviroment variables are set
as follows:

-----
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/ias
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib:/u01/app/product/oracle/ias/opmn/lib/
export TNS_ADMIN=/u01/app/oracle/product/9.2.0/network/admin
export NLS_LANG="BRAZILIAN PORTUGUESE_BRAZIL.WE8ISO8859P1"
export ORACLE_OWNER=ias
export ORACLE_TERM=xterm
export PATH=$PATH:/usr/bin/:$ORACLE_HOME/bin:/opt/bin:/usr/local/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/java/bin:.
export JAVA_HOME=/usr/java/jdk13113
export JDK_HOME=/usr/java/jdk13113
export JRE_HOME=/usr/java/jdk13113/jre
export CLASSPATH=$ORACLE_HOME/jdbc/lib/classes12.zip:$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib
export DISPLAY=192.168.1.237:0.0
export TMP=/tmp
export TEMP=/tmp
export TMPDIR=/tmp
export LD_PRELOAD=/u01/app/oracle/product/ias/libcwait.so
export LD_ASSUME_KERNEL=2.4.1
export LD_KERNEL_ASSUME=2.4.1
-----

The installer goes ok until the post-installation action of configuring OC4J:

-----
OC4J instance 'home': Adding property 'jbo.server.in_oc4j=true'
Initializing DCM..ERROR: Caught exception while initializing DCM.
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:124)
at oracle.ias.sysmgmt.clustermanagement.OpmnAgent.openOEMSSession(Unknown Source)
at oracle.ias.sysmgmt.clustermanagement.OpmnAgent.sendHTTPRequest(Unknown Source)
at oracle.ias.sysmgmt.clustermanagement.OpmnAgent.getOpmnProcStatus(Unknown Source)
at oracle.ias.sysmgmt.clustermanagement.OpmnAgent.getProcessStatus(Unknown Source)
at oracle.ias.sysmgmt.clustermanagement.OpmnAgent.getComponentProcessStatus(Unknown Source)
at oracle.ias.sysmgmt.task.ProcessManager.isDaemonUp(Unknown Source)
at oracle.ias.sysmgmt.task.ProcessManager.isDaemonUp(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.daemonStart(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
Configuration assistant "OC4J Instance Configuration Assistant" failed
-----

Checked that opmn is running but, sometimes, it seems to be shutting down by itself. The URL to the
documentation pages (when its up) is there and accessible, but the page of the enterprise manager console
is not (on port 1810 as it appears in setupinfo.txt file).

Read a metalink note about this error on OC4J assistant and set the enviroment variables suggested in the
workaround (TMP, TEMP, TMPDIR) but it still gives me the same error. Another note suggested to put a complement
like "-Djava.io.tmpdir=..." in the command being performed when the error occured. Found this command in the
log installActions but this complement was already in the line of the command, but anyway I try running it
manually but the error persisted.

Also check the configuration in /etc/hosts file to see if the host names where fully qualified. Ok. They were and
there was also the short name (without the domain).

In the logs, could not find any info about host/port which it´s trying to connect but being refused just the log of
the refusal and something about not being able to find 'java:comp/ServerAdministrator' but could not figure out.
Following goes some pieces of these logs. If anybody could help me it will be very appreciated. Thanks in advanvce.

-----

05/05/04 14:23:25 [4] Logging disabled
05/05/04 14:26:35 [4] Diretório de estado PM já existe: /u01/app/oracle/product/ias/opmn/logs/states
05/05/04 14:26:35 [4] Servidor OPMN pronto. Tratamento de solicitação ativado.
05/05/04 14:26:36 [4] Solicitação 2 Iniciado. Comando: start
05/05/04 14:26:36 [4] Iniciando Processo: HTTP_Server~HTTP_Server~HTTP_Server~1 (97189894:0)
05/05/04 14:26:36 [4] Iniciando Processo: OC4J~home~default_island~1 (97189895:0)
05/05/04 14:26:37 [4] Processo Ativo: HTTP_Server~HTTP_Server~HTTP_Server~1 (97189894:6891)
05/05/04 14:26:41 [4] Processo Ativo: OC4J~home~default_island~1 (97189895:6892)
05/05/04 14:26:41 [4] Solicitação 2 Concluída. Comando: start
05/05/04 14:27:16 [4] Solicitação 5 Iniciado. Comando: stop
05/05/04 14:27:16 [4] Interrompendo Processo: HTTP_Server~HTTP_Server~HTTP_Server~1 (97189894:6891)
05/05/04 14:27:16 [4] Interrompendo Processo: OC4J~home~default_island~1 (97189895:6892)
05/05/04 14:27:17 [4] Processo Interrompido: HTTP_Server~HTTP_Server~HTTP_Server~1 (97189894:6891)
05/05/04 14:29:17 [4] Solicitação 5 Concluída. Comando: stop
05/05/04 14:29:17 [4] Interrompendo Processo: OC4J~home~default_island~1 (97189895:6892)
05/05/04 14:29:17 [4] [libopmnoc4j] Imposição Imposta para o Processo: OC4J~home~default_island~1 (97189895:6892)
05/05/04 14:29:17 [4] Servidor OPMN interrompido. Tratamento de solicitação desativado.
05/05/04 14:29:17 [4] Solicitação 6 Iniciado. Comando: shutdown
05/05/04 14:29:19 [4] Processo Interrompido: OC4J~home~default_island~1 (97189895:6892)
05/05/04 14:29:19 [4] Solicitação 6 Concluída. Comando: shutdown
05/05/04 14:29:19 [3] Http 6
ias_plutao.plutao.thermus~OC4J~home~default_island~97189895:6892
Status: Stopped
Operation: request (success)
ErrFile: /u01/app/oracle/product/ias/opmn/logs/OC4J~home~default_island~1

--------
05/05/04 14:30:33 Start process
--------
05/05/04 14:30:38 Warning: Error reading transaction-log file (/u01/app/oracle/product/ias/j2ee/home/persistence/home_default_island_1/transac
tion.state) for recovery: premature end of file
05/05/04 14:30:38 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
05/05/04 14:30:38 Recovery completed, 0 connections committed and 0 rolled back...
05/05/04 14:30:39 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized

--------
05/05/04 14:30:45 Stop process
--------
Error: Unable to find java:comp/ServerAdministrator: Lookup error: java.net.ConnectException: Connection refused; nested exception is:
java.net.ConnectException: Connection refused
com.evermind.client.orion.AdminCommandException: Unable to find java:comp/ServerAdministrator: Lookup error: java.net.ConnectException: Connec
tion refused; nested exception is:
java.net.ConnectException: Connection refused
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:105)
at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:27)
javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused; nested exception is:
java.net.ConnectException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:153)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:102)
at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:27)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:153)
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2209)
at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1685)
at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:727)
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
... 2 more
---- Embedded exception
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:153)
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2209)
at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1685)
at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:727)
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:102)
at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:27)
Re: OC4J Assistant Fails + Enterprise Manager Web Console does not start [message #120681 is a reply to message #118369] Sun, 22 May 2005 19:32 Go to previous message
stevenr
Messages: 5
Registered: May 2005
Location: India
Junior Member
Hi Mauricio

Do you have some sort of firewall running on that box ? The error seems to be as a result of something blocking RMI lookups. The OC4J server usually uses the ports from 3201-3300 for RMI. You need to ensure no one is blocking access to these ports.

HTH

Ciao
Previous Topic: several page custom SSO
Next Topic: IAS: multiple instances
Goto Forum:
  


Current Time: Mon Dec 23 02:32:46 CST 2024