posted 17 years ago
Hello,
I've got 2 Linux (RHEL 3) servers with Oracle Application Server 10.1.3.0.0 installed. Both of these are part of a cluster -- node 1 is specified as administrative node, node 2 isn't. However, when I try to deploy to the "home" OC4J process of both through the Enterprise Manager, I get the following error... Same thing when I try to undeploy an application that is deployed to both instances. Funny thing is, despite the exception in the server output, the EM claims the application is (un)deployed successfully. And this seems to be correct, since I can access my application on both nodes seperately. Still, the undeploy does give some problems, as it doesn't seem to get undeployed completely on my non-administrative node (node2).
SEVERE: ClusterDeploymentFactory.getDeploymentManager Cannot connect to any of the OC4J process(es) in the cluster
oracle.oc4j.admin.deploy.spi.exceptions.DeploymentRuntimeException: Cannot connect to any of the OC4J process(es) in the cluster
at oracle.oc4j.admin.deploy.spi.ClusterHelper.getLocalClusterDomain(ClusterHelper.java:353)
at oracle.oc4j.admin.deploy.spi.ClusterDeploymentManager.<init>(ClusterDeploymentManager.java:119)
at oracle.oc4j.admin.deploy.spi.factories.ClusterDeploymentFactory.getDeploymentManager(ClusterDeploymentFactory.java:198)
at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManager.java:112)
at oracle.sysman.ias.studio.j2ee.deploy.oc4j.OC4JDeploymentContextSupport._getManager(OC4JDeploymentContextSupport.java:235)
at oracle.sysman.ias.studio.j2ee.deploy.oc4j.OC4JDeploymentContextSupport.getConnectedDeploymentManager(OC4JDeploymentContextSupport.java:156)
at oracle.sysman.ias.studio.j2ee.deploy.oc4j.IASClusterDeploymentContextSupport.getConnectedDeploymentManager(IASClusterDeploymentContextSupport.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.sysman.ias.studio.jmx.JMXContextHandler.invoke(JMXContextHandler.java:147)
at $Proxy0.getConnectedDeploymentManager(Unknown Source)
at oracle.sysman.ias.studio.j2ee.deploy.DeployModel.<init>(DeployModel.java:169)
at oracle.sysman.ias.studio.j2ee.deploy.DeployPageUtil.createCachedDeployModel(DeployPageUtil.java:261)
at oracle.sysman.ias.studio.j2ee.deploy.UndeployPageHelper.checkSessionValidity(UndeployPageHelper.java:106)
at oracle.sysman.ias.studio.j2ee.shared.ui.PageHelperBase.initializeRequestHandling(PageHelperBase.java:196)
at oracle.sysman.ias.studio.j2ee.shared.ui.PageHelperBase.validate(PageHelperBase.java:378)
at oracle.sysman.ias.studio.sdk.AbstractController.validate(AbstractController.java:635)
at oracle.sysman.ias.studio.j2ee.deploy.DeployController.validate(DeployController.java:194)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:371)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:747)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
On startup, I see the following:
Node 1:
06/07/31 10:30:09 [INFO] UDP - -socket information:
local_addr=192.168.200.73:35342, mcast_addr=225.1.2.3:45671, bind_addr=/192.168.200.73, ttl=32
sock: bound to 192.168.200.73:35342, receive buffer size=64000, send buffer size=32000
mcast_recv_sock: bound to 192.168.200.73:45671, send buffer size=131071, receive buffer size=80000
mcast_send_sock: bound to 192.168.200.73:35343, send buffer size=131071, receive buffer size=80000
Node 2:
06/07/31 10:28:38 [INFO] UDP - -socket information:
local_addr=192.168.200.74:35338, mcast_addr=225.1.2.3:45671, bind_addr=/192.168.200.74, ttl=32
sock: bound to 192.168.200.74:35338, receive buffer size=64000, send buffer size=32000
mcast_recv_sock: bound to 192.168.200.74:45671, send buffer size=131071, receive buffer size=80000
mcast_send_sock: bound to 192.168.200.74:35339, send buffer size=131071, receive buffer size=80000
In opmn.xml, this is defined on both nodes:
<notification-server interface="ipv4">
<port local="6100" remote="6200" request="6003"/>
<ssl enabled="true" wallet-file="$ORACLE_HOME/opmn/conf/ssl.wlt/default"/>
<topology>
<discover list="*225.1.2.3:4567"/>
</topology>
</notification-server>
In the application.xml of the home interface on both:
<cluster allow-colocation="false" write-quota="1">
<replication-policy trigger="onRequestEnd" scope="allAttributes"/>
<protocol>
<multicast ip="225.1.2.3" port="45671"/>
</protocol>
</cluster>
Any idea what the problem could be? Is this OAS related? Maybe something in the config of my cluster?
Or lies the problem in the Linux config? The /etc/hosts file?
Any suggestions are welcome. Thanks.
Regards,
Stan