We're updating the issue view to help you get more done. 

Glassfish local container is configured twice

Description

I had a deja-vu while debugging some Glassfish configuration issue and came across the following call stacks:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 Thread [Worker-1] (Suspended (breakpoint at line 128 in org.codehaus.cargo.container.glassfish.GlassFishStandaloneLocalConfiguration)) org.codehaus.cargo.container.glassfish.GlassFishStandaloneLocalConfiguration.doConfigure(org.codehaus.cargo.container.LocalContainer) line: 128 org.codehaus.cargo.container.glassfish.GlassFishStandaloneLocalConfiguration(org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration).configure(org.codehaus.cargo.container.LocalContainer) line: 190 org.codehaus.cargo.container.glassfish.GlassFishStandaloneLocalConfiguration(org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration).configure(org.codehaus.cargo.container.LocalContainer) line: 77 org.codehaus.cargo.container.glassfish.GlassFish3xInstalledLocalContainer(org.codehaus.cargo.container.spi.AbstractLocalContainer).start() line: 154 Thread [Worker-1] (Suspended (breakpoint at line 128 in org.codehaus.cargo.container.glassfish.GlassFishStandaloneLocalConfiguration)) org.codehaus.cargo.container.glassfish.GlassFishStandaloneLocalConfiguration.doConfigure(org.codehaus.cargo.container.LocalContainer) line: 128 org.codehaus.cargo.container.glassfish.GlassFishStandaloneLocalConfiguration(org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration).configure(org.codehaus.cargo.container.LocalContainer) line: 190 org.codehaus.cargo.container.glassfish.GlassFishStandaloneLocalConfiguration(org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration).configure(org.codehaus.cargo.container.LocalContainer) line: 77 org.codehaus.cargo.container.glassfish.GlassFish3xInstalledLocalContainer(org.codehaus.cargo.container.glassfish.internal.AbstractGlassFishInstalledLocalContainer).doStart(org.codehaus.cargo.container.spi.jvm.JvmLauncher) line: 93 org.codehaus.cargo.container.glassfish.GlassFish3xInstalledLocalContainer(org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer).startInternal() line: 301 org.codehaus.cargo.container.glassfish.GlassFish3xInstalledLocalContainer(org.codehaus.cargo.container.spi.AbstractLocalContainer).start() line: 162

These stack traces basically show that GlassFishStandaloneLocalConfiguration.doConfigure() is invoked twice when starting the container.

Status

Assignee

Savas Ali Tokmen

Reporter

Benjamin Bentmann

Components

Fix versions

Affects versions

1.0.6

Priority

Minor