Yet ANOTHER problem with sconadm

sconadm commandline and output:

# /usr/sbin/sconadm register -a -r ./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.getSCNNetworkProxyConfigMBe an(NetworkProxyCacaoAdapter.java:49)

at com.sun.cns.basicreg.cacao.NetworkProxyCacaoAdapter.setProxy(NetworkProxyCacaoA dapter.java:188)

at com.sun.cns.basicreg.BasicRegCLI.updateProxyInMSC(BasicRegCLI.java:839)

at com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:566)

Caused by: javax.management.InstanceNotFoundException: com.sun.scn:name=SCNBaseServiceFactory,assetSubProfile=Factory,host=solsti

ce.lan,assetProfile=Factory,scnType=ServiceFactory,Vendor=Sun Microsystems Inc

at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServ erInterceptor.java:1010)

at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(Default MBeanServerInterceptor.java:1349)

at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:13 00)

at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(Defaul tMBeanServerInterceptor.java:285)

at com.sun.cacao.agent.DispatchInterceptor.getClassLoaderFor(DispatchInterceptor.j ava:474)

at com.sun.cacao.agent.auth.impl.AccessControlInterceptor.getClassLoaderFor(Access ControlInterceptor.java:427)

at com.sun.jdmk.JdmkMBeanServerImpl.getClassLoaderFor(JdmkMBeanServerImpl.java:113 0)

at com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.getClassLoaderFor(Ins trumDefaultForwarder.java:153)

at javax.management.remote.rmi.RMIConnectionImpl$4.run(RMIConnectionImpl.java:1306 )

at java.security.AccessController.doPrivileged(Native Method)

at javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor(RMIConnectionIm pl.java:1303)

at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:766 )

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va: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:255)

at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)

at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)

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(RMI Connector.java:978)

at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandl er.java:287)

... 5 more

output of 'smpatch get':

patchpro.backout.directory-""

patchpro.baseline.directory-/var/sadm/spool

patchpro.download.directory-/var/sadm/spool

patchpro.install.types -rebootafter:reconfigafter:standard

patchpro.patch.source-https://getupdates1.sun.com/

patchpro.patchset-current

patchpro.proxy.host -""

patchpro.proxy.passwd********

patchpro.proxy.port -8080

patchpro.proxy.user -""

/etc/release:

Solaris Nevada snv_52 X86

Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.

Use is subject to license terms.

Assembled 06 November 2006

/var/sadm/system/admin/CLUSTER:

CLUSTER=SUNWCall

output of 'psrinfo -v':

Status of virtual processor 0 as of: 03/09/2007 20:40:55

on-line since 02/11/2007 19:33:24.

The i386 processor operates at 2793 MHz,

and has an i387 compatible floating point processor.

Status of virtual processor 1 as of: 03/09/2007 20:40:55

on-line since 02/11/2007 19:33:33.

The i386 processor operates at 2793 MHz,

and has an i387 compatible floating point processor.

Contents of the registration profile:

userName=********

password=*******

#

# Name (label) of this machine as you would like it to appear on the Sun Connection

# portal. If left blank hostname will be used

#

hostName=solstice

subscriptionKey=

portalEnabled=false

proxyHostName=

proxyPort=

proxyUserName=

proxyPassword=

I've already tried these commands as posted by the Mod a few weeks ago:

# cacaoadm stop

# cacaoadm status

# /usr/lib/cc-ccr/bin/eraseCCRRepository

# rm /var/scn/persistence/SCN*

# cacaoadm start

# /usr/sbin/sconadm register -a -r /usr/lib/breg/data/RegistrationProfile.properties

... to no effect.

Message was edited by:

dramatools

[5484 byte] By [dramatoolsa] at [2007-11-26 21:07:49]
# 1

Please post the output of the following commands so that we can check your patch levels and the java version:

# showrev -p | cut -d" " -f2 | sort > /tmp/showrev-p

# egrep '11978[8|9]|12033[5|6]|12108[1|2]' /tmp/showrev-p

# egrep '12111[8|9]|12145[3|4]|12156[3|4]' /tmp/showrev-p

# egrep '12223[1|2]|12300[5|6]|124463|12461[4|5]' /tmp/showrev-p

# java -version

Also can you check whether the following packages are installed and just let us know of the ones which aren't.

# pkginfo SUNWzoner SUNWj5rt SUNWj5rtx SUNWpoolr SUNWpool SUNWadmc

# pkginfo SUNWadmfr SUNWadmfw SUNWlur SUNWluu SUNWluzone SUNWzoneu

# pkginfo SUNWbreg SUNWbrg SUNWccccfg SUNWccccr SUNWccccrr SUNWccfw

# pkginfo SUNWccfwctrl SUNWccinv SUNWccsign SUNWcctpx SUNWcsr SUNWcsu

# pkginfo SUNWdc SUNWppro-plugin-sunos-base SUNWppror SUNWpprou SUNWxcu4

# pkginfo SUNWctpls SUNWmfrun SUNWjdmk-base SUNWxwrtl SUNWxwice SUNWxwfnt

# pkginfo SUNWxwplt SUNWxwplr

ForumModeratora at 2007-7-10 2:42:52 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2

# cat /tmp/showrev-p

116299-08

116303-02

118668-07

118669-07

# java -version

java version "1.6.0-rc"

Java(TM) SE Runtime Environment (build 1.6.0-rc-b100)

Java HotSpot(TM) Client VM (build 1.6.0-rc-b100, mixed mode, sharing)

# pkginfo SUNWzoner SUNWj5rt SUNWj5rtx SUNWpoolr SUNWpool SUNWadmc

systemSUNWadmc System administration core libraries

systemSUNWj5rt JDK 5.0 Runtime Env. (1.5.0_08)

systemSUNWj5rtx JDK 5.0 64-bit Runtime Env. (1.5.0_08)

systemSUNWpool Resource Pools

systemSUNWpoolr Resource Pools (Root)

systemSUNWzoner Solaris Zones (Root)

# pkginfo SUNWadmfr SUNWadmfw SUNWlur SUNWluu SUNWluzone SUNWzoneu

systemSUNWadmfr System & Network Administration Framework Configuration

systemSUNWadmfw System & Network Administration Framework

application SUNWlurLive Upgrade (root)

application SUNWluuLive Upgrade (usr)

application SUNWluzone Live Upgrade (zones support)

systemSUNWzoneu Solaris Zones (Usr)

# pkginfo SUNWbreg SUNWbrg SUNWccccfg SUNWccccr SUNWccccrr SUNWccfw

application SUNWbrgSCN Basic Registration Application, Usr (/usr)

systemSUNWccccfg Connected Customer Client Configuration Agent

systemSUNWccccr Client Configuration Registry User Pkg

systemSUNWccccrr Client Configuration Registry Root Pkg

systemSUNWccfwClient Configuration Framework

ERROR: information for "SUNWbreg" was not found

# pkginfo SUNWccfwctrl SUNWccinv SUNWccsign SUNWcctpx SUNWcsr SUNWcsu

systemSUNWccfwctrl Connected Customer Framework Control Agent

systemSUNWccinvConnected Customer Inventory Agent

systemSUNWccsignPlatform Signing Lib

systemSUNWcctpxConnected Customer Platform Transport

systemSUNWcsrCore Solaris, (Root)

systemSUNWcsuCore Solaris, (Usr)

# pkginfo SUNWdc SUNWppro-plugin-sunos-base SUNWppror SUNWpprou SUNWxcu4

systemSUNWppro-plugin-sunos-base PatchPro SunOS Base plugin

systemSUNWpprorPatchPro core functionality (Root)

systemSUNWpprouPatchPro core functionality (Usr)

systemSUNWxcu4XCU4 Utilities

ERROR: information for "SUNWdc" was not found

# pkginfo SUNWctpls SUNWmfrun SUNWjdmk-base SUNWxwrtl SUNWxwice SUNWxwfnt

CTL SUNWctplsPortable layout services for Complex Text Layout support

application SUNWjdmk-base Java DMK 5.1 minimal subset

systemSUNWmfrunMotif RunTime Kit

systemSUNWxwfntX Window System platform required fonts

systemSUNWxwiceX Window System Inter-Client Exchange (ICE) Components

systemSUNWxwrtlX Window System & Graphics Runtime Library Links in /usr/lib

# pkginfo SUNWxwplt SUNWxwplr

systemSUNWxwplr X Window System platform software configuration

systemSUNWxwplt X Window System platform software

dramatoolsa at 2007-7-10 2:42:52 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3

Please post a copy of the /etc/cacao/instances/default/private/cacao.properties file as I believe you may be running into a known bug affecting registration on java 1.6 x86 hosts.

Note that you may have to raise a support case in order for us to 100% confirm this (since the data we'll need to look through is not suitable for posting on a public forum)

ForumModeratora at 2007-7-10 2:42:52 > top of Java-index,Administration Tools,Sun Update Connection-System...