"Exception in web service communication" when trying to register system
Hello,
I've tried several versions of update manager, including the
version provided by patch 121453-02, to register our systems.
It never worked.
When I last tried, I used the CLI, using this RegistrationProfile.properties (comments from template removed):
<->8-->8>
userName=<myemailaddress>
password=<mypassword>
hostName=
subscriptionKey=
portalEnabled=false
proxyHostName=************
proxyPort=81
proxyUserName=
proxyPassword=
<->8-->8>
The command line looked like this:
<->8-->8>
sconadm register -a -r /export/home/root/RegistrationProfile.properties -p proxy.**.*******.**:81 -l /tmp/sconreg
<->8-->8>
This was the output I get:
<->8-->8>
sconadm is running
Authenticating user ...
Exception in web service communication
<->8-->8>
The command hang for two hours.
Immediatly after running the command, this was logged in the
logfile:
<->8-->8>
02.01.2006 16:05:41 com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: proxyPort = 81
02.01.2006 16:05:41 com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: proxyUsername =
02.01.2006 16:05:41 com.sun.cns.basicreg.BasicRegCLI printRegistrationProfile
INFO: proxyPassword = ****
02.01.2006 16:05:41 com.sun.cns.basicreg.BasicRegCLI run
INFO: Authenticating user ...
02.01.2006 16:05:41 com.sun.cns.basicreg.adapter.eCRAdapter <init>
INFO: Using eCRAdapter endpoint := https://cns-services.sun.com/UserInformationService/UserInformationService
<->8-->8>
and after two hours:
<->8-->8>
02.01.2006 18:06:03 com.sun.cns.basicreg.common.ProxyManager isSecureProxyEnabled
INFO: secure proxy is enabled
02.01.2006 18:06:03 com.sun.cns.basicreg.adapter.Adapter connectToSun
INFO: secure proxy tested OK !
02.01.2006 18:06:03 com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser
SCHWERWIEGEND: Exception in web service communication
02.01.2006 18:06:04 com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser
SCHWERWIEGEND: java.lang.NullPointerException
02.01.2006 18:06:04 com.sun.cns.basicreg.adapter.eCRAdapter authenticateUser
SCHWERWIEGEND:
com.sun.cns.basicreg.adapter.eCRAdapter.authenticateUser(eCRAdapter.java:82)
com.sun.cns.basicreg.BasicRegCLI.authenticateUser(BasicRegCLI.java:1016)
com.sun.cns.basicreg.BasicRegCLI.run(BasicRegCLI.java:653)
com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:548)
02.01.2006 18:06:04 com.sun.cns.basicreg.BasicRegCLI run
SCHWERWIEGEND: Exception in web service communication
02.01.2006 18:06:04 com.sun.cns.basicreg.BasicRegCLI run
SCHWERWIEGEND: Exception in web service communication
<->8-->8>
I rebooted the system after installing the latest version.
I've noticed some people solved such problems by backing out
some patches, but after investigating the problems for lots of time,
I've still not managed to get it working.
As an alternative to rebooting the system, the readme of above
patch recommends to restart a daemon. When I execute the
command
<->8-->8>
/usr/lib/cc-cfw/framework/lib/cc-client-adm start
<->8-->8>
this is the result:
<->8-->8>
Starting the components of the service platform.
Looking up the start entries in /usr/lib/cc-cfw/platform
Invoking the script /usr/lib/cc-cfw/platform/transport/start
ERROR : CNS Transport is not properly enabled. Cannot find /etc/init.d/cc-transport
Invoking the script /usr/lib/cc-cfw/platform/ccragent/start
ERROR : ccragent is not properly enabled. Cannot find /etc/init.d/cc-ccragent
Invoking the script /usr/lib/cc-cfw/platform/fwagent/start
ERROR : ccfwagent is not properly enabled. Cannot find /etc/init.d/cc-fwagent
Starting the components of the service swupPortalMgmt.
Looking up the start entries in /usr/lib/cc-cfw/swupPortalMgmt
Invoking the script /usr/lib/cc-cfw/swupPortalMgmt/swupagent/start
<->8-->8>
So maybe, there's something messed up.
Any hints?
Regards,
Juergen Maihoefner
Message was edited by: ForumModerator
Message was edited by: ForumModerator

