admin@glassfish.java.net

Re: put latest 3.1 default-config.xml in lib\templates for now

From: Jennifer Chou <jennifer.chou_at_oracle.com>
Date: Wed, 07 Apr 2010 17:56:05 +0100

I think it's on our task list so that would probably be me or Byron.

Here's the exception I got when using the tokens:

[#|2010-04-07T17:46:37.093+0100|SEVERE|glassfishv3.0|javax.enterprise.system.container.web.com.sun.enterprise.v3.services.impl|_ThreadID=15;_ThreadName=Configuration
Updater;|Unable to start container com.sun.enterprise.web.WebContainer
java.lang.IllegalArgumentException: WEB0313: Unable to parse port number
${HTTP_LISTENER_PORT} of network-listener http-listener-1
        at
com.sun.enterprise.web.WebContainer.createHttpListener(WebContainer.java:779)
        at
com.sun.enterprise.web.WebContainer.createHttpListener(WebContainer.java:756)
        at
com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:542)
        at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
        at
com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
        at java.security.AccessController.doPrivileged(Native Method)
        at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
        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
org.glassfish.internal.data.EngineInfo.getContainer(EngineInfo.java:91)
        at
com.sun.enterprise.v3.services.impl.WebContainerStarter.startWebContainer(WebContainerStarter.java:198)
        at
com.sun.enterprise.v3.services.impl.WebContainerStarter.postConstruct(WebContainerStarter.java:132)
        at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
        at
com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
        at java.security.AccessController.doPrivileged(Native Method)
        at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
        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.run(AppServerStartup.java:236)
        at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:128)
        at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:456)
        at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:400)
        at
org.jvnet.hk2.osgiadapter.HK2Main$StartupContextService.updated(HK2Main.java:102)
        at
org.apache.felix.cm.impl.ConfigurationManager$UpdateConfiguration.run(ConfigurationManager.java:1389)
        at
org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:88)|#]

On 4/7/2010 5:36 PM, Bill Shannon wrote:
> Jennifer Chou wrote on 4/7/10 9:07 AM:
>
>> It uses "3####" port numbers directly instead of tokens for now until
>> token support is implemented.
>>
>
> I thought token support was already implemented. If not, who's doing it?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>
>