quality@glassfish.java.net

Re: exception while starting V3

From: Sreekanth <Sreekanth.Manga_at_Sun.COM>
Date: Fri, 08 May 2009 09:33:20 +0530

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
>>>>
>>>
>


[main]
_last_active_image =
optin.usage.reporting = true
preferences.version = 0.1
image_list = /space/Sreekanth/servers/glassfishv3-st
        /space/Sreekanth/servers/glassfishv3-new
        
optin.update.notification = true

[logging]
file.max_bytes = 5242880
log_level = INFO
file.path =
console.enable = False
file.backup_count = 4

[network]
proxy.auth = false
proxy.port = 8080
proxy.ssl_use_http = False
proxy.host = webcache.sfbay.sun.com
proxy.required = true

[notifier]
_last_update_check_type = daily
check_at_start = False
check_frequency = daily
display_seconds = -1
_last_update_check_time = 1241683858.17