Authentication problem

Hi,

I am running a Solaris 10 3/05 s10_74L2a SPARC. After registering using the sconadm command

sconadm register -a -r /tmp/registrationprofile.properties

I started the update manager as root but it gives me the follwoign exception on starting

Exception in thread "main" java.lang.NumberFormatException: For input string: "ARG RUN STDIN KILL END"

at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)

at java.lang.Integer.parseInt(Integer.java:447)

at java.lang.Integer.parseInt(Integer.java:497)

at com.sun.cns.authentication.CSMAuthenticator.getNextPAMPrompt(CSMAuthenticator.j ava:257)

at com.sun.cns.authentication.AuthenticationDialog.authenticate(AuthenticationDial og.java:267)

at com.sun.cns.authentication.AuthenticationDialog.authenticate(AuthenticationDial og.java:92)

at com.sun.swup.client.ui.AuthenticationManager.authenticate(AuthenticationManager .java:57)

at com.sun.swup.client.ui.UpdateFrame.setVisible(UpdateFrame.java:80)

at com.sun.swup.client.ui.Application.<init>(Application.java:188)

at com.sun.swup.client.ui.Application.main(Application.java:108)

and i am unable to do anything on the update manager

The ps -ef shows that the following command is running

/usr/bin/java -client -jar /usr/lib/patch/swupdate.jar

which doesnt complete successfully. I am new to solaris and would appreciate any pointers

Thanks

[1490 byte] By [AnyName] at [2007-11-26 9:18:20]
# 1

Did the sconadm registration complete successfully?

Do you have all of the following patches installed?

121453-02 - Sun Update Connection Client Foundation

121118-06 - Sun Update Connection Client, System Edition 1.0.4

120335-04 - Sun Update Connection Client Localization

121081-05 - Connected Customer Agents 1.1.0

121563-02 - Sun Update Connection Registration, version 1.0.3

122231-01 - Sun Connection agents, transport certificate update

What is your java version? (# java -version)

ForumModerator at 2007-7-6 23:47:13 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2

Yes the sconadm registration completed successfully and i can see a number when i run teh command

/usr/lib/cc-ccr/bin/ccr -g cns.assetid

Also

# showrev -p | egrep -e '121453-02|121118-06|120335-04|121081-05|121563-02|122231-01'

Patch: 121453-02 Obsoletes: 120776-03, 121086-02, 119107-07 Requires: 119574-02, 119254-06 Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWppror, SUNWpprou, SUNWppro-plugin-sunos-base, SUNWccccrr, SUNWccccr, SUNWccsign, SUNWcsmauth, SUNWccfw, SUNWdc, SUNWbreg, SUNWcctpx, SUNWccccfg, SUNWccfwctrl, SUNWccinv, SUNWupdatemgru

Patch: 121118-06 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWppror, SUNWpprou, SUNWppro-plugin-sunos-base,

SUNWupdatemgru, SUNWupdatemgrr

Patch: 120335-04 Obsoletes: Requires: 121453-01 Incompatibles: Packages: SUNWpprou

Patch: 121081-04 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWccccrr, SUNWccccr, SUNWccsign, SUNWccfw, SUNWcctpx, SUNWccccfg, SUNWccfwctrl, SUNWccinv

Patch: 121081-05 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWccccrr, SUNWccccr, SUNWccsign, SUNWccfw, SUNWcctpx, SUNWccccfg, SUNWccfwctrl, SUNWccinv

Patch: 121563-02 Obsoletes: Requires: 121453-02 Incompatibles: Packages: SUNWbreg

Patch: 122231-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcctpx

and

# java -version

java version "1.5.0_01"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)

Java HotSpot(TM) Server VM (build 1.5.0_01-b08, mixed mode)

Thank you for your help. Looking forward to a reply

AnyName at 2007-7-6 23:47:13 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3

> # java -version

> java version "1.5.0_01"

> Java(TM) 2 Runtime Environment, Standard Edition

> (build 1.5.0_01-b08)

> Java HotSpot(TM) Server VM (build 1.5.0_01-b08, mixed

> mode)

That's a very old 5.0 version, I'd recommend updating to at least 1.5.0_06. Can't say it will affect this particular problem but there are a lot of bugs fixed since then.

davidholmes at 2007-7-6 23:47:13 > top of Java-index,Administration Tools,Sun Update Connection-System...