pb to register with sconadm

Hello

I have a big pb :

bash-3.00# sconadm register -a -r RegistrationProfile.properties

sconadm is running

Authenticating user ...

Exception in thread "main" java.lang.reflect.UndeclaredThrowableException

at $Proxy5.getOfferingInstanceName(Unknown Source)

at com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter.getSWUPOfferingInstanceMBean(SWUP OMCacaoAdapter.java:145)

at com.sun.cns.basicreg.cacao.SWUPOMCacaoAdapter.setSWUPPortalEnabled(SWUPOMCacaoA dapter.java:301)

at com.sun.cns.basicreg.BasicRegCLI.run(BasicRegCLI.java:758)

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

Caused by: javax.management.InstanceNotFoundException: com.sun.scn:name=SWUPOfferingFactory,assetSubProfile=TODO,host=192.168.1.82,ass etProfile=OperatingSystem,scnType=OfferingFactory,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:460)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)

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

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

... 5 more

-

I alos check cacao log and this is the out of cacao logs.

cat /var/cacao/instances/default/logs/cacao.0

Cacao version supported: 2.0

Private paths: []

Public paths: [file:/usr/lib/scn/lib/scn-prom-offering.jar]

Library paths: []

Ignored at startup: false

Enable on demand: false

Sep 7, 2006 12:58:43 PM com.sun.cacao.element.ElementSupport setAdministrativeState

FINE: Administrative state change to UNLOCKED : com.sun.cacao:type=ModuleManager,instance="com.sun.scn.offering.ProductRegistra tion"

Sep 7, 2006 12:58:43 PM com.sun.cacao.container.impl.ContainerPrivate init

INFO: Cacao Initialization completed

Sep 7, 2006 12:59:09 PM com.sun.scn.jmx.impl.AbstractComponent log

WARNING: SCNClientConfigImpl.activate("com.sun.scn.offering.SoftwareUpdate") -- failed, no such module

My release is :

Solaris 10 6/06 s10s_u2wos_09a SPARC

And I have installed theses packages :

SUNWccccrr SUNWccfw SUNWccccr SUNWccsign SUNWcctpx SUNWccinv SUNWppror SUNWpprou SUNWctpls SUNWmfrun SUNWxwrtl SUNWxwice SUNWxwfnt SUNWxwplr SUNWxwplt SUNWj3rt SUNWcsmauth SUNWupdatemgru SUNWupdatemgrr SUNWzoner SUNWj5rt SUNWpoolr SUNWpool SUNWadmc SUNWadmfr SUNWadmfw SUNWadmc SUNWlur SUNWluu SUNWluzone SUNWzoneu SUNWcacaort SUNWscn-base-r SUNWscn-base SUNWsamr SUNWsam SUNWscnprmr SUNWscnprm SUNWscnsom SUNWsensor SUNWbrg SUNWbrgr SUNWccccfg SUNWccfwctrl SUNWxcu4 SUNWjdmk-base SUNWsensorr SUNWscnsomr SUNWppro-plugin-sunos-base

Anyone has an idee ? I need help !

thanks

[5109 byte] By [stoufette] at [2007-11-26 11:03:40]
# 1

I managed to cli register using the following list of packages

SUNWzoner SUNWctpls SUNWj5rt SUNWpoolr SUNWpool SUNWadmc SUNWadmfr SUNWadmfw SUNWlur SUNWluu SUNWluzone SUNWzoneu SUNWccccrr SUNWccccr SUNWccfw SUNWccsign SUNWcctpx SUNWccfwctrl SUNWccinv SUNWccccfg SUNWcsmauth SUNWppror SUNWpprou SUNWppro-plugin-sunos-base SUNWscn-base-r SUNWscn-base SUNWsamr SUNWsam SUNWscnprmr SUNWscnprm SUNWscnsom SUNWcacaort SUNWsensor SUNWbrg SUNWbrgr SUNWxcu4 SUNWjdmk-base SUNWscnsomr SUNWsensorr

Which I am pretty sure is a strict subset of the packages you used.

In addition to what I used, you seem to have

SUNWmfrun SUNWxwrtl SUNWxwice SUNWxwfnt SUNWxwplr SUNWxwplt SUNWj3rt

SUNWupdatemgru SUNWupdatemgrr

Which will give you a windowing system and the Sun Update Manager.

and SUNWadmc (which I think should already be fully installed and doesn't need to be added?)

In any case, I think what you need to do (if you are using a proxy and s10u2 on the command line) is to first use the sconadm proxy command to set up the proxy:

sconadm proxy -r RegistrationProfile.properties

and then

sconadmregister -a -r RegistrationProfile.properties should work.

Alternatively,

sconadm register -c

should bring up the UI if you are in a windowing environment..

ejrider at 2007-7-7 3:17:34 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2
Thank you for your answer but I'm not using any Proxy.do you think I must use a proxy ?thanks
stoufette at 2007-7-7 3:17:34 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3
You shouldn't need a proxy if the machine in question has a direct conneciton to the internet.As I said, since it appears you have the capability of using a windowing environment, you may wish to try and register with sconadm register -cBest Regards,-ethan
ejrider at 2007-7-7 3:17:34 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4
the pb is I don't have the capability of using a windowing environment !Do you have another idea ?thanks
stoufette at 2007-7-7 3:17:34 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5

Hi stoufette,

Could you check your installed packages against the following list:

SUNWzoner

SUNWctpls

SUNWj5rt

SUNWpoolr

SUNWpool

SUNWadmc

SUNWadmfr

SUNWadmfw

SUNWlur

SUNWluu

SUNWluzone

SUNWzoneu

SUNWccccrr

SUNWccccr

SUNWccfw

SUNWccsign

SUNWcctpx

SUNWccfwctrl

SUNWccinv

SUNWccccfg

SUNWcsmauth

SUNWppror

SUNWpprou

SUNWppro-plugin-sunos-base

SUNWscn-base-r

SUNWscn-base

SUNWsamr

SUNWsam

SUNWscnprmr

SUNWscnprm

SUNWscnsom

SUNWcacaort

SUNWsensor

SUNWbrg

SUNWbrgr

SUNWxcu4

SUNWjdmk-base

SUNWscnsomr

SUNWsensorr

If any of these are missing from your installation, could you install as appropriate?

ForumModerator at 2007-7-7 3:17:34 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 6
I also had to make sure the the hostname is not associated with 127.0.0.1 but with the Public IP address of the sun box. basically move the hostname in /etc/inet/hosts and /etc/inet/ipnodes.
VickyShrestha at 2007-7-7 3:17:34 > top of Java-index,Administration Tools,Sun Update Connection-System...