System registration not working

Tried to register a host with/usr/bin/updatemanagerAt the end an error window appeared saying:"Exception in web service communication"Any ideas what's goging wrong ?Thanks, Christian
[225 byte] By [scheffczyk] at [2007-11-26 6:02:23]
# 1
Christian,You may need to configure the Update Manager client to use a proxy server. This message usually happens when the client isn't able to send the registration information back to Sun.Frederic
LostInColorado at 2007-7-6 13:25:44 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2

I assume this error msg is showing in a dialog while the registeration window is still up. There is an option in the first couple of registration screens to configure the network proxy. You need to start over (or just close the error dialog and hit the Back button) and then select the "Configure Network Proxies" link (this may not be the exact wording).

-Dave

dave@sun at 2007-7-6 13:25:44 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3
I'm having the same issue It is a dialog box while it tries to register. I can access the internet just fine from the box.
jasonah at 2007-7-6 13:25:44 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 4
The registration mechanism creates a log file in /tmp named basicreg<timestamp>.logIt's fairly verbose, but it may have information pertaining to the Error you are getting.
ejrider at 2007-7-6 13:25:44 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 5

I am seeing the same errors. Proxy is set correctly. When I run from the command line, I get:

updatemanager

Jun 2, 2005 6:27:01 PM java.util.prefs.FileSystemPreferences$2 run

INFO: Created user preferences directory.

Jun 2, 2005 6:29:15 PM com.sun.cc.platform.user.UserServiceClientImpl validate

SEVERE: Error validating user with service: com.sun.cc.platform.user.ValidationFailure: Access Denied: coniglio - Access Denied for access manager data required access: coniglio

my sun online account works fine for other stuff?

mconiglio at 2007-7-6 13:25:44 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 6

Hi Frederic,

I'm sorry to say, but proxy server configuration (as I expected) is not a solution, same behaviour. As jasonah wrote, also my machine can access the internet without problems. To show the problem and the difference with and without proxy configuration, I paste the relevant lines from the logfiles in /tmp. You can easily find the error message shown in the popup window:

Exception in web service communication

Ciao, Christian

without proxy:

==============

INFO: StoreTask ENTER

Jun 3, 2005 9:06:08 AM com.sun.cns.basicreg.wizard.swing.WizardPanel$StoreTask <init>

INFO: >>>> About to output

Jun 3, 2005 9:06:08 AM com.sun.cns.basicreg.common.ProxyManager isProxyEnabled

INFO: proxy is disabled

Jun 3, 2005 9:06:08 AM com.sun.cns.basicreg.adapter.CCRAdapter getValueThroughCSMAuth

INFO: Running cmd := /usr/lib/cc-ccr/bin/ccr [ccr, -g, cns.httpproxy.ipaddr]

Jun 3, 2005 9:06:08 AM com.sun.cns.basicreg.adapter.CCRAdapter getValueThroughCSMAuth

INFO: Running cmd := /usr/lib/cc-ccr/bin/ccr [ccr, -g, cns.httpproxy.port]

Jun 3, 2005 9:06:08 AM com.sun.cns.basicreg.adapter.CCRAdapter getValueThroughCSMAuth

INFO: Running cmd := /usr/lib/cc-ccr/bin/ccr [ccr, -g, cns.httpproxy.auth]

Jun 3, 2005 9:06:08 AM com.sun.cns.basicreg.adapter.Adapter reLoadProxyFromCCR

INFO: loading proxyHost from CCR =

Jun 3, 2005 9:06:08 AM com.sun.cns.basicreg.adapter.Adapter reLoadProxyFromCCR

INFO: loading proxyPort from CCR =

Jun 3, 2005 9:06:08 AM com.sun.cns.basicreg.adapter.Adapter reLoadProxyFromCCR

INFO: loading proxyAuth from CCR = ***

Jun 3, 2005 9:06:08 AM com.sun.cns.basicreg.adapter.eCRAdapter <init>

INFO: Using eCRAdapter endpoint := https://swup-updates.central.sun.com/UserInformationService/UserInformationServ ice

Jun 3, 2005 9:06:12 AM com.sun.cns.basicreg.common.ProxyManager isSecureProxyEnabled

INFO: secure proxy is disabled

Jun 3, 2005 9:06:12 AM com.sun.cns.basicreg.adapter.Adapter connectToSun

INFO: internet connection tested OK !

Jun 3, 2005 9:06:12 AM com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser

SEVERE: Exception in web service communication

Jun 3, 2005 9:06:12 AM com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser

SEVERE: java.lang.NullPointerException

Jun 3, 2005 9:06:12 AM com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser

SEVERE:

with proxy:

===========

INFO: StoreTask ENTER

Jun 3, 2005 9:46:08 AM com.sun.cns.basicreg.wizard.swing.WizardPanel$StoreTask <init>

INFO: >>>> About to output

Jun 3, 2005 9:46:08 AM com.sun.cns.basicreg.common.ProxyManager isProxyEnabled

INFO: proxy is enabled

Jun 3, 2005 9:46:08 AM com.sun.cns.basicreg.common.ProxyManager isSecureProxyEnabled

INFO: secure proxy is enabled

Jun 3, 2005 9:46:08 AM com.sun.cns.basicreg.adapter.eCRAdapter <init>

INFO: Using eCRAdapter endpoint := https://swup-updates.central.sun.com/UserInformationService/UserInformationServ ice

Jun 3, 2005 9:46:11 AM com.sun.cns.basicreg.common.ProxyManager isSecureProxyEnabled

INFO: secure proxy is enabled

Jun 3, 2005 9:46:11 AM com.sun.cns.basicreg.adapter.Adapter connectToSun

INFO: secure proxy tested OK !

Jun 3, 2005 9:46:11 AM com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser

SEVERE: Exception in web service communication

Jun 3, 2005 9:46:12 AM com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser

SEVERE: java.lang.NullPointerException

Jun 3, 2005 9:46:12 AM com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser

SEVERE:

scheffczyk at 2007-7-6 13:25:44 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 7

Same happens to me:

INFO: Using eCRAdapter endpoint := https://swup-updates.central.sun.com/UserInformationService/UserInformationServ ice

Jun 3, 2005 9:27:53 PM com.sun.cns.basicreg.common.ProxyManager isSecureProxyEnabled

INFO: secure proxy is disabled

Jun 3, 2005 9:27:53 PM com.sun.cns.basicreg.adapter.Adapter connectToSun

INFO: internet connection tested OK !

Jun 3, 2005 9:27:53 PM com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser

SEVERE: Exception in web service communication

Jun 3, 2005 9:27:53 PM com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser

SEVERE: java.lang.NullPointerException

Jun 3, 2005 9:27:53 PM com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser

SEVERE:

com.sun.cns.basicreg.adapter.eCRAdapter.authenticateUser(eCRAdapter.java:78)

com.sun.cns.basicreg.adapter.eCRAdapter.authenticateUser(eCRAdapter.java:65)

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

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

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

java.lang.reflect.Method.invoke(Method.java:585)

com.sun.cns.basicreg.wizard.cli.CmdLineWizard.authenticateUser(CmdLineWizard.ja va:1052)

com.sun.cns.basicreg.wizard.cli.CmdLineWizard.outCall(CmdLineWizard.java:802)

com.sun.cns.basicreg.wizard.cli.CmdLineWizard.output(CmdLineWizard.java:759)

com.sun.cns.basicreg.wizard.swing.WizardPanel$StoreTask.<init>(WizardPane l.java:1000)

com.sun.cns.basicreg.wizard.swing.WizardPanel$1.construct(WizardPanel.java:819)

com.sun.cns.basicreg.wizard.swing.SwingWorker$2.run(SwingWorker.java:126)

java.lang.Thread.run(Thread.java:595)

Jun 3, 2005 9:27:53 PM com.sun.cns.basicreg.wizard.cli.CmdLineWizard outCall

Frane at 2007-7-6 13:25:44 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 8
Same here. Sun can you provide an ETA on a fix? Does Sun even monitor these forums?
Smooge at 2007-7-6 13:25:44 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 9
Yes, Sun is monitoring this forum. We are aware of the issue, but we do not have an ETA yet.Frederic Jean
LostInColorado at 2007-7-6 13:25:44 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 10
There is a fix in progress. More details on how to get the fix and apply it will follow shortly, hopefully today.Frederic Jean
LostInColorado at 2007-7-6 13:25:44 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 11
I just downloaded the newest bits today (06/03/2005) from updates.sun.com and everything seems to work now. Can you download the latest and retry? http://www.sun.com/download/products.xml?id=428e5b12-michael
atalkingchimp at 2007-7-6 13:25:44 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 12
Just downloaded the latest version. I type installUpdateConnectionand get 119108-01 is already installed on your system.. Is there some way to make it reinstall? Is the bug really fixed in this one?
Smooge at 2007-7-6 13:25:44 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 13

The following command may do the trick:

/usr/sbin/patchrm 119108-01

Although your mileage may vary.

What I mean to say is that I am not entirely sure this will result in a clean uninstall. I'm not aware of an uninstallUpdateConnection script or command to cleanly remove the previous installation.

If the above succeeds, it is likely you will be able to install with the latest installUpdateConnection command.

I wish I knew where there were formal instructions to point you at for this process... They may exist but I am unaware of them.

I do happen to know this issue is addressed in the latest version.

ejrider at 2007-7-6 13:25:44 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 14
In the documentation there are instructions of how to uninstall.
heinvdm at 2007-7-6 13:25:44 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 15

Have installed updatemanager and completed registration with no problems. Ran updatemanager, installed a few updates, everything seems to work fine. Went to the portal at:

https://updates.sun.com/

Loggged in and see my system. I am running Solaris 10 on a AMD 64 system. Sumcheck on the zip file I downloaded from Sun:

61554 19672 updateConnection-i386.zip

Not sure if this helps, but I am pleased to report that this is working with no issues.

Regards,

Sean

====

SKODella at 2007-7-21 14:56:52 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 16

I confirm with the new download fileset it works for me now!

Thanks for the support!

By the way:

Why is reboot not sufficient to apply the updates ?

What is the difference between reboot, init and shutdown ?

Thouht its all the same, different syntax, same result.

Not true ?

Thanks again, Christian

scheffczyka at 2007-7-21 14:56:53 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 17

Per

http://docs.sun.com/app/docs/doc/816-0211/6m6nc674n?a=view

The reboot utility does not execute the scripts in /etc/rcnum.d or execute shutdown actions in inittab(4). To ensure a complete shutdown of system services, use shutdown(1M) or init(1M) to reboot a Solaris system.

Without running the rc scripts when coming back up, the patches won't get applied.

ejridera at 2007-7-21 14:56:53 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 18

In order to optimize the installation sequence for updates requiring reboot, reconfig or singleuser mode, the installation of such updates is done in a /etc/rcn.d shutdown script rather than a startup script (performing the installation in a startup script could in some instances require a second reboot for some patches which would be undesirable from a system availability standpoint).

There are subtle differences in the commands available to do a shutdown or reboot. The important difference in this case is that 'reboot' does not run the /etc/rcn.d shutdown scripts, it just kills all running processes and then reboots (see the NOTES section of the 'reboot' man page). Since 'reboot' doesn't run the shutdown scripts, it doesn't run the script we use to install the pending updates. shutdown and init do run these scripts, which is why their use is required.

GerryHa at 2007-7-21 14:56:53 > top of Java-index,Administration Tools,Sun Update Connection-System...