quality@glassfish.java.net

Re: exception while starting V3

From: Sreekanth <Sreekanth.Manga_at_Sun.COM>
Date: Fri, 08 May 2009 18:56:02 +0530

Hi Tom,

I just wanted to report this to the team.This is not stopping me to
start the server.

Thanks,
Sreekanth

Tom Mueller wrote:
> Sreekanth,
> To work-around the bug in the pkg-client.jar that you have, try
> changing the following line in this file:
>
> proxy.ssl_use_http = False
>
> to
> proxy.ssl_use_http = True
>
> This should allow you to startup the server.
> Thanks.
> Tom
>
>
>
>
> Sreekanth wrote:
>> Hi Tom,
>>
>> Attached is the file you asked for.
>>
>> Thanks,
>> Sreekanth
>>
>>
>> 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
>>>>>>
>>>>>
>>>
>