quality@glassfish.java.net

Re: exception while starting V3

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Thu, 07 May 2009 13:22:20 -0700

Thanks Tom for the detailed analysis. It really helps in this kind
tricky situation when user thinks he/she does not have
UC installed but start domain failed because of UC pkg-client.jar is
doing some thing underneath. Hope after UC bug 1164
got integrated to GlassFish through UC2.2, this issue will be gone even
when user has left some old UC pkg-client.jar ?

Hi Sreekanth,

Could you check to see if you have some left over UC files some where
and please let us know. I wonder if error message
could be improved in this case, may be you can file a enhancement on
that. Thanks a lot :-)

Judy

Tom Mueller wrote:
> The GFv3 ZIP file includes the pkg-client.jar file which reads the
> $HOME/.updatetool/defaults.cfg file if it is there. If the file is
> missing, it silently continues. The only way to get the exception that
> you reported is if you have the file. Maybe you used updatetool in a
> previous install? Can you send the contents of that file?
>
> Thanks.
> Tom
>
> Sreekanth wrote:
>> Hi Tom,
>>
>> I did not explicitly install update tool on it.All I did is extracted
>> the zip folder and started the app server.
>>
>> So what if I don't want to use the update tool?Should I see this
>> exception then?
>>
>> Thanks,
>> Sreekanth
>>
>> Tom Mueller wrote:
>>> This appears to be UC bug 1164
>>> <https://updatecenter2.dev.java.net/issues/show_bug.cgi?id=1164>
>>> that has been fixed in the 2.2 release (GFv3 is currently using 2.1).
>>>
>>> Please check your updatetool proxy preferences and make sure that if
>>> the checkbox for "Use HTTP proxy for SSL" is not checked that you
>>> actually have a valid value there for the port. Or check the box.
>>>
>>> Tom
>>>
>>> Sreekanth wrote:
>>>> Hi,
>>>>
>>>> I have downloaded and installed the
>>>> glassfish-v3-b47a-05_05_2009.zip and when i start the server , I
>>>> see the following exception.
>>>>
>>>>
>>>> [#|2009-05-06T20:09:29.768+0530|SEVERE|glassfish|com.sun.pkg.client.SystemInfo|_ThreadID=13;_ThreadName=Thread-1;|unable
>>>> to get proxy
>>>> java.lang.NumberFormatException: null
>>>> at java.lang.Integer.parseInt(Integer.java:415)
>>>> at java.lang.Integer.parseInt(Integer.java:497)
>>>> at com.sun.pkg.client.SystemInfo.loadProxyInfo(SystemInfo.java:193)
>>>> at
>>>> com.sun.pkg.client.SystemInfo.getProxySelector(SystemInfo.java:96)
>>>> at com.sun.pkg.client.Image.<init>(Image.java:803)
>>>> at com.sun.pkg.client.Image.<init>(Image.java:813)
>>>> at
>>>> com.sun.enterprise.registration.glassfish.RegistrationUtil.getUpdateCenterImage(RegistrationUtil.java:175)
>>>>
>>>> at
>>>> com.sun.enterprise.registration.glassfish.RegistrationUtil.setUpdateCenterUUID(RegistrationUtil.java:182)
>>>>
>>>> at
>>>> com.sun.enterprise.registration.glassfish.RegistrationUtil.synchUUID(RegistrationUtil.java:169)
>>>>
>>>> at
>>>> com.sun.enterprise.registration.glassfish.PingService.postConstruct(PingService.java:85)
>>>>
>>>> at
>>>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
>>>>
>>>> at
>>>> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at
>>>> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87)
>>>>
>>>> at
>>>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
>>>> at
>>>> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>>>>
>>>> at
>>>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>>>> at
>>>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.server.AppServerStartup$2.run(AppServerStartup.java:200)
>>>>
>>>> at
>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>>>>
>>>> at
>>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>>
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>>
>>>> at java.lang.Thread.run(Thread.java:619)
>>>> |#]
>>>>
>>>> Thanks,
>>>> Sreekanth
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>>
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>