0 Replies Latest reply: Aug 23, 2011 9:55 AM by 817812 RSS

    Cannot register host with sconadm/ Update manager

    817812
      Trying to register a node with sconadm fails:-

      # /usr/sbin/sconadm register -a -r /tmp/registrationprofile.properties
      sconadm is running
      Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
      at $Proxy1.getInstanceName(Unknown Source)
      at com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter.getSCNNetworkProxyConfigMBean(NetworkProxyCacaoAdapter.java:49)
      at com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter.setProxy(NetworkProxyCacaoAdapter.java:188)
      at com.sun.cns.basicreg.BasicRegCLI.updateProxyInMSC(BasicRegCLI.java:841)
      at com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:569)
      Caused by: javax.management.InstanceNotFoundException: com.sun.scn:name=SCNBaseServiceFactory,assetSubProfile=Factory,host=localhost,assetProfile=Factory,scnType=ServiceFactory,Vendor=Sun Microsystems Inc
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1349)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1300)
      at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:285)
      at com.sun.cacao.agent.DispatchInterceptor.getClassLoaderFor(DispatchInterceptor.java:548)
      at com.sun.cacao.agent.auth.impl.AccessControlInterceptor.getClassLoaderFor(AccessControlInterceptor.java:427)
      at com.sun.jdmk.JdmkMBeanServerImpl.getClassLoaderFor(JdmkMBeanServerImpl.java:1130)
      at com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.getClassLoaderFor(InstrumDefaultForwarder.java:153)
      at javax.management.remote.rmi.RMIConnectionImpl$4.run(RMIConnectionImpl.java:1308)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor(RMIConnectionImpl.java:1305)
      at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:768)
      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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
      at sun.rmi.transport.Transport$1.run(Transport.java:153)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
      at java.lang.Thread.run(Thread.java:595)
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
      at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
      at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
      at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:972)
      at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
      ... 5 more
      #


      basicreg.log:-

      /tmp/basicreg20110823123559704.log
      ::::::::::::::
      Aug 23, 2011 12:36:14 PM com.sun.cns.basicreg.BasicReg loadPropertiesFromHomeDir
      INFO: properties file loaded from the default config.properties
      Aug 23, 2011 12:36:15 PM com.sun.scn.util.Utils getLocalHostNames
      INFO: get hostname 10.255.0.22
      Aug 23, 2011 12:36:15 PM com.sun.scn.util.Utils dumpThrowable
      WARNING: XYXYXY
      java.net.UnknownHostException: MPS2.corp.yw.kelda: MPS2.corp.yw.kelda
      at java.net.InetAddress.getAllByName0(InetAddress.java:1145)
      at java.net.InetAddress.getAllByName(InetAddress.java:1072)
      at java.net.InetAddress.getAllByName(InetAddress.java:1008)
      at java.net.InetAddress.getByName(InetAddress.java:958)
      at com.sun.scn.util.Utils.getLocalHostNames(Utils.java:154)
      at com.sun.cns.basicreg.cacao.CacaoAdapter.getSCNBaseServiceFactoryMBean
      (CacaoAdapter.java:102)
      at com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter.getSCNNetworkProx
      yConfigMBean(NetworkProxyCacaoAdapter.java:49)
      at com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter.setProxy(NetworkP
      roxyCacaoAdapter.java:188)
      at com.sun.cns.basicreg.BasicRegCLI.updateProxyInMSC(BasicRegCLI.java:84
      1)
      at com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:569)


      Aug 23, 2011 12:36:15 PM com.sun.scn.util.Utils getLocalHostNames
      INFO: first returned hostname localhost



      I have installed the patch 121118-19 and can connect to the Oracle website OK

      Please can anyone help

      Regards
      Mark