1 2 Previous Next 21 Replies Latest reply: Jun 11, 2009 5:56 AM by 807567 RSS

    Excception is web service communication

    807567
      Hello, I've browsed through the forums as many others have had this problem over the lats couple of years, but I never saw a definitive resolution to the problem.

      I have 2 Solaris 9 machines that I just installed update manager on and when I try to register via command line or GUI I get this "Exception is web service communication" error. I have other machines that i have registered with the same proxy and I've even tried using 3 other proxies to no avail..Is there a fix for this issue yet?
        • 1. Re: Excception is web service communication
          807567
          Hi Woodson2,

          Could you check you have the latest SUC patches installed on the failing machines :

          Sparc x86
          111711-16      111713-13      
          112945-46      114193-36      
          116552-02      116553-02      
          126982-01      126983-01
          • 2. Re: Excception is web service communication
            807567
            The patches are all installed

            root@uusnww0x-temp:(/)# showrev -p|grep 111711
            Patch: 111711-11 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC
            Patch: 111711-12 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC
            Patch: 111711-13 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC
            Patch: 111711-14 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC
            Patch: 111711-15 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC
            Patch: *111711-16* Obsoletes: Requires: Incompatibles: Packages: SUNWlibC
            Patch: 111712-11 Obsoletes: Requires: 111711-11 Incompatibles: Packages: SUNWlibCx
            Patch: 111712-12 Obsoletes: Requires: 111711-12 Incompatibles: Packages: SUNWlibCx
            Patch: 111712-13 Obsoletes: Requires: 111711-13 Incompatibles: Packages: SUNWlibCx
            Patch: 111712-14 Obsoletes: Requires: 111711-14 Incompatibles: Packages: SUNWlibCx
            Patch: 111712-15 Obsoletes: Requires: 111711-15 Incompatibles: Packages: SUNWlibCx
            Patch: 111712-16 Obsoletes: Requires: 111711-16 Incompatibles: Packages: SUNWlibCx

            Patch: 112945-40 Obsoletes: 113829-04, 114724-01 Requires: Incompatibles: Packages: SUNWmccom, SUNWmcc, SUNWwbapi, SUNWwbcor, SUNWwbcou, SUNWwbpro, SUNWlvma, SUNWwbmc, SUNWmga, SUNWdclnt, SUNWpmgr, SUNWwbdev
            Patch: 112945-44 Obsoletes: 113829-04, 114724-01 Requires: Incompatibles: Packages: SUNWmccom, SUNWmcc, SUNWwbapi, SUNWwbcor, SUNWwbcou, SUNWwbpro, SUNWlvma, SUNWwbmc, SUNWmga, SUNWdclnt, SUNWpmgr, SUNWwbdev
            Patch: 112945-45 Obsoletes: 113829-04, 114724-01 Requires: Incompatibles: Packages: SUNWmccom, SUNWmcc, SUNWmc, SUNWwbapi, SUNWwbcor, SUNWwbcou, SUNWwbpro, SUNWlvma, SUNWwbmc, SUNWmga, SUNWdclnt, SUNWpmgr, SUNWwbdev
            Patch: *112945-46* Obsoletes: 113829-04, 114724-01 Requires: Incompatibles: Packages: SUNWmccom, SUNWmcc, SUNWmc, SUNWwbapi, SUNWwbcor, SUNWwbcou, SUNWwbpro, SUNWlvma, SUNWwbmc, SUNWmga, SUNWdclnt, SUNWpmgr, SUNWwbdev
            Patch: 112945-35 Obsoletes: 113829-04, 114724-01 Requires: Incompatibles: Packages: SUNWmcc, SUNWwbapi, SUNWwbcor, SUNWwbcou, SUNWwbpro, SUNWlvma, SUNWmga, SUNWdclnt, SUNWpmgr, SUNWwbdev
            Patch: 112945-27 Obsoletes: 113829-04, 114724-01 Requires: Incompatibles: Packages: SUNWwbapi, SUNWwbcor, SUNWwbcou, SUNWwbpro, SUNWlvma, SUNWmga, SUNWdclnt, SUNWpmgr, SUNWwbdev
            Patch: 112945-31 Obsoletes: 113829-04, 114724-01 Requires: Incompatibles: 117679-01 Packages: SUNWwbapi, SUNWwbcor, SUNWwbcou, SUNWwbpro, SUNWlvma, SUNWmga, SUNWdclnt, SUNWpmgr, SUNWwbdev
            Patch: 126982-01 Obsoletes: Requires: 112945-45 Incompatibles: Packages: SUNWwbcor, SUNWpmgr

            root@uusnww0x-temp:(/)# showrev -p|grep 116552
            Patch: 116552-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr
            Patch: *116552-02* Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr

            root@uusnww0x-temp:(/)# showrev -p|grep 126982
            Patch: *126982-01* Obsoletes: Requires: 112945-45 Incompatibles: Packages: SUNWwbcor, SUNWpmgr
            • 3. Re: Excception is web service communication
              807567
              We will need to see the current state of the system in regards to the Sun UC Software environment. Please run the attached script and post the output (omitting any hostnames/IP addresses are required).
              • 4. Re: Excception is web service communication
                807567
                sh suc.sh
                User:
                Logname: root
                Mon May 5 13:30:40 EDT 2008



                smpatch settings:

                patchpro.backout.directory - ""
                patchpro.download.directory - /var/sadm/spool
                patchpro.install.types - rebootafter:reconfigafter:standard
                patchpro.patch.source - https://updateserver.sun.com/solaris/
                patchpro.patchset - patchdb1
                patchpro.proxy.host - ""
                patchpro.proxy.passwd **** ****
                patchpro.proxy.port - 8080
                patchpro.proxy.user - ""
                patchpro.sun.passwd **** ****
                patchpro.sun.user - ""


                smpatch analyze:

                Cannot connect to retrieve detectors: Unrecognized SSL message, plaintext connection?


                Sun UC patch revision:

                111711-11
                111711-12
                111711-13
                111711-14
                111711-15
                111711-16
                112945-27
                112945-31
                112945-35
                112945-40
                112945-44
                112945-45
                112945-46
                116552-01
                116552-02
                126982-01


                Solaris release:

                Solaris 9 9/04 s9s_u7wos_09 SPARC
                Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
                Use is subject to license terms.
                Assembled 29 June 2004


                Java -version:

                java version "1.5.0_06"
                Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
                Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)


                Software Cluster:

                CLUSTER=SUNWCXall


                All ccr properties:

                16:
                Property not defined: 16

                cns.assetid:


                cns.ccr.keyGenPath:
                /usr/lib/cc-ccr/bin/ccrKeyGen

                cns.clientid:


                cns.httpproxy.auth:


                cns.httpproxy.ipaddr:


                cns.httpproxy.port:


                cns.regtoken:


                cns.security.password:


                cns.security.privatekey:


                cns.security.publickey:


                cns.swup.autoAnalysis.enabled:
                true

                cns.swup.checkinInterval:
                2

                cns.swup.lastCheckin:
                0

                cns.swup.patchbaseline:
                current

                cns.swup.regRequired:
                true

                cns.transport.serverurl:




                patchsvr not installed.



                Sun UC package status:
                • 5. Re: Excception is web service communication
                  807567
                  can you reapply the package SUNWpprou from the update connection installation folder. then ensure patchpro.patch.source is set to https://getupdates1.sun.com and patchpro.patchset is set to current. once you've done this, try registering using sconadm
                  • 6. Re: Excception is web service communication
                    807567
                    Re-applying SUNWpprou

                    root@##########:(/tmp/update_connection/packages)# pkgadd -d . SUNWpprou
                    Processing package instance <SUNWpprou> from </tmp/update_connection/packages>

                    /usr/lib/patch/com/sun/patchpro/conf/Config.properties
                    /usr/lib/patch/com/sun/patchpro/conf/PatchProMessages.properties
                    /usr/lib/patch/crl.jar
                    /usr/lib/patch/dtd <attribute change only>
                    /usr/lib/patch/dtd/patchlistset.dtd
                    /usr/lib/patch/libsdbndbm.so.1
                    /usr/lib/patch/patchpro.jar
                    /usr/lib/patch/pprosched
                    /usr/lib/patch/simpledb.jar
                    /usr/sbin/pprosetup
                    /usr/sbin/pprosvc
                    /usr/sbin/smpatch

                    Do you want to install these conflicting files [y,n,?,q] y
                    ## Checking for setuid/setgid programs.

                    The following files are being installed with setuid and/or setgid
                    permissions:
                    * /usr/sbin/smpatch <setuid root>

                    * - overwriting a file which is also setuid/setgid.

                    Do you want to install these as setuid/setgid files [y,n,?,q] y

                    Installing PatchPro core functionality (Usr) as <SUNWpprou>

                    ## Installing part 1 of 1.
                    /usr/lib/patch/SUNOSTTY.so
                    /usr/lib/patch/cacerts
                    /usr/lib/patch/com/sun/patchpro/conf/Config.properties
                    /usr/lib/patch/com/sun/patchpro/conf/PatchProMessages.properties
                    /usr/lib/patch/crl.jar
                    /usr/lib/patch/dtd/patchlistset.dtd
                    /usr/lib/patch/libsdbndbm.so.1
                    /usr/lib/patch/patchpro.jar
                    /usr/lib/patch/pproschedroot@uusnww0x-temp:(/)# 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 https://getupdates1.sun.com/
                    patchpro.patchset current current
                    patchpro.proxy.host - ""
                    patchpro.proxy.passwd **** ****
                    patchpro.proxy.port - 8080
                    patchpro.proxy.user - ""
                    /usr/lib/patch/simpledb.jar
                    /usr/sbin/pprosetup
                    /usr/sbin/pprosvc
                    /usr/sbin/smpatch
                    [ verifying class <none> ]

                    Installation of *<SUNWpprou>* was successful.



                    Setting parameters

                    root@uusnww0x-temp:(/)# smpatch set -L patchpro.patch.source=https://getupdates1.sun.com
                    root@uusnww0x-temp:(/)# smpatch set -L patchpro.patchset=current


                    Still failing

                    root@uusnww0x-temp:(/)# sconadm register -a -r uusnww0x-temp.properties
                    sconadm is running
                    Authenticating user ...
                    Exception in web service communication
                    • 7. Re: Excception is web service communication
                      807567
                      can you try using this command:

                      # /usr/sbin/sconadm proxy -r /tmp/registrationprofile.properties
                      • 8. Re: Excception is web service communication
                        807567
                        root@uusnww0y-temp:(/)# sconadm proxy -r temp.properties
                        sconadm is running
                        sconadm has been completed successfully

                        root@uusnww0y-temp:(/)# sconadm register -a -r temp.properties
                        sconadm is running
                        Authenticating user ...
                        Exception in web service communication



                        Here are my patchpro settings just FYI.

                        root@uusnww0y-temp:(/)# smpatch get
                        patchpro.backout.directory /var/sadm/spool ""
                        patchpro.download.directory /var/sadm/spool /var/sadm/spool
                        patchpro.install.types - rebootafter:reconfigafter:standard
                        patchpro.patch.source https://getupdates1.sun.com https://updateserver.sun.com/solaris/
                        patchpro.patchset current patchdb1
                        patchpro.proxy.host proxyva.utc.com ""
                        patchpro.proxy.passwd **** ****
                        patchpro.proxy.port 8080 8080
                        patchpro.proxy.user "" ""
                        patchpro.sun.passwd **** ****
                        patchpro.sun.user - ""

                        Edited by: Woodson2 on May 7, 2008 7:08 AM
                        • 9. Re: Excception is web service communication
                          807567
                          This system is still affected by the problems of installing patch 112945-46 after installing the UM bundle, the way to tell is by looking at the following two settings:

                          patchpro.patch.source https://getupdates1.sun.com https://updateserver.sun.com/solaris/
                          patchpro.patchset current patchdb1

                          As you will be aware the default value is held in the right field, whereas the user-set value is held in the left.

                          Please run the following commands:

                          # smpatch unset patchpro.patch.source
                          # smpatch unset patchpro.patchset

                          and then reinstall the SUNWpprou package from the UM bundle.

                          Maybe one day our colleagues will get around to resolving the issue at source, but in the mean time we have to install patch 112945-46 BEFORE applying the bundle to prevent this problem happening.
                          • 10. Re: Excception is web service communication
                            807567
                            root@uusnww0y-temp:(/)# smpatch unset patchpro.patch.source
                            root@uusnww0y-temp:(/)# smpatch unset patchpro.patchset

                            root@uusnww0y-temp:(/export/home/mstarlin/update_connection/packages)# pkgadd -d . SUNWpprou

                            Processing package instance <SUNWpprou> from </export/home/mstarlin/update_connection/packages>

                            PatchPro core functionality (Usr)
                            (sparc) 5.0,REV=2005.01.02.01.00
                            Copyright 2007 Sun Microsystems, Inc. All rights reserved.
                            Use is subject to license terms.

                            This appears to be an attempt to install the same architecture and
                            version of a package which is already installed. This installation
                            will attempt to overwrite this package.

                            Using </> as the package base directory.
                            ## Processing package information.
                            ## Processing system information.
                            28 package pathnames are already properly installed.
                            ## Verifying package dependencies.
                            ## Verifying disk space requirements.
                            ## Checking for conflicts with packages already installed.
                            ## Checking for setuid/setgid programs.

                            The following files are being installed with setuid and/or setgid
                            permissions:
                            * /usr/sbin/smpatch <setuid root>

                            * - overwriting a file which is also setuid/setgid.

                            Do you want to install these as setuid/setgid files [y,n,?,q] y

                            Installing PatchPro core functionality (Usr) as <SUNWpprou>

                            ## Installing part 1 of 1.
                            [ verifying class <none> ]

                            Installation of <SUNWpprou> was successful.


                            root@uusnww0y-temp:(/export/home/mstarlin/update_connection/packages)# smpatch get
                            patchpro.backout.directory /var/sadm/spool ""
                            patchpro.baseline.directory - /var/sadm/spool
                            patchpro.download.directory /var/sadm/spool /var/sadm/spool
                            patchpro.install.types - rebootafter:reconfigafter:standard
                            patchpro.patch.source - https://getupdates1.sun.com/
                            patchpro.patchset - current
                            patchpro.proxy.host proxyva.utc.com ""
                            patchpro.proxy.passwd **** ****
                            patchpro.proxy.port 80 8080
                            patchpro.proxy.user "" ""


                            root@uusnww0y-temp:(/)# sconadm register -a -r temp.properties
                            sconadm is running
                            Authenticating user ...
                            Exception in web service communication

                            root@uusnww0y-temp:(/)# smpatch get
                            patchpro.backout.directory /var/sadm/spool ""
                            patchpro.baseline.directory - /var/sadm/spool
                            patchpro.download.directory /var/sadm/spool /var/sadm/spool
                            patchpro.install.types - rebootafter:reconfigafter:standard
                            patchpro.patch.source - https://getupdates1.sun.com/
                            patchpro.patchset - current
                            patchpro.proxy.host proxyva.utc.com ""
                            patchpro.proxy.passwd **** ****
                            patchpro.proxy.port 8080 8080
                            patchpro.proxy.user "" ""
                            Here's smpatch output now
                            • 11. Re: Excception is web service communication
                              807567
                              OK, that's looking a little healthier now in terms of the settings at least. What version of Java are you using?

                              There was a bug in versions prior to 1.5.0_08 that caused this problem.

                              I would suggest installing Java JDK 1.5.0_15 (otherwise known as JDK 5.0 update 15).

                              The only other thing that I would like to know is the type of proxy that you are using - is it squid, MS ISA, etc?
                              • 12. Re: Excception is web service communication
                                807567
                                root@uusnww0y-temp:(/)# java -version
                                java version "1.5.0_06"
                                Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
                                Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)


                                The proxy that I'm using, (which works on other machines on the same network) is running bluecoat....This is the answer I received from the network group

                                "Bluecoat, they have their own code, but it's probably close to squid."
                                • 13. Re: Excception is web service communication
                                  807567
                                  I'm not too sure about the insides of the bluecoat appliances, but I would recommend that you update Java as I mentioned before. Let us know if that resolves your issue.
                                  • 14. Re: Excception is web service communication
                                    807567
                                    I updated java

                                    root@uusnww0y-temp:(/usr)# java -version
                                    java version "1.5.0_15"
                                    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
                                    Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)

                                    Still failing

                                    root@uusnww0y-temp:(/)# sconadm register -a -r temp.properties
                                    sconadm is running
                                    Authenticating user ...
                                    Exception in web service communication
                                    1 2 Previous Next