Launcher does Token replacement. So does the Server itself. I'll try
and reproduce this problem.
It would be easier if you email domain.xml
1. What is the java commandline that was logged? I.e. is there a
$HTTP... coming in as a System property? Launcher most definitely does
an exhaustive replacement of tokens at launch time
2. The problem does NOT happen when the new config element is not
present -- right?
On 4/7/2010 9:56 AM, Jennifer Chou wrote:
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@glassfish.dev.java.net
For additional commands, e-mail: admin-help@glassfish.dev.java.net
--
Byron Nevins - Oracle Corporation
Home: 650-359-1290
Cell: 650-784-4123
Sierra: 209-295-2188