[GLASSFISH-18011] regression in specj 2010 benchmark Created: 15/Dec/11  Updated: 27/Dec/11  Resolved: 27/Dec/11

Status: Resolved
Project: glassfish
Component/s: performance
Affects Version/s: 3.1.2_b14
Fix Version/s: 3.1_b15

Type: Bug Priority: Major
Reporter: amitagarwal Assignee: Scott Oaks
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Dependency
depends on GLASSFISH-18018 LogDBHelper logging extraneous INFO l... Resolved

 Description   

Latest promoted build b14 of 3.1.2 branch shows 6% regression for specj enterprise 2010 benchmark. Will add more details to it.



 Comments   
Comment by Scott Oaks [ 15/Dec/11 ]

This is at least partially affected by the extraneous logging statements from LogDBHelper.

Comment by Scott Oaks [ 16/Dec/11 ]

The logging in 18018 accounts for 4% of the regression. The remaining 2% was introduced previous to build 14 and is under investigation.

Comment by marina vatkina [ 16/Dec/11 ]

It was more than logging - the code was querying the database table every time

Comment by Scott Oaks [ 27/Dec/11 ]

Regression has been completely removed in b15.





[GLASSFISH-12918] Incorrect http/https listener port values in load-balancer.xml Created: 09/Aug/10  Updated: 26/Nov/10  Resolved: 10/Aug/10

Status: Resolved
Project: glassfish
Component/s: load_balancer
Affects Version/s: 3.1
Fix Version/s: 3.1_b15

Type: Bug Priority: Critical
Reporter: sonymanuel Assignee: kshitiz_saxena
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: Linux


Attachments: XML File domain.xml     XML File loadbalancer.xml    
Issue Links:
Dependency
depends on GLASSFISH-12936 NetworkListener API does not return p... Resolved
Issuezilla Id: 12,918

 Description   

The load-balancer xml generated using export-http-lb-config has incorrect values
for http/https ports. Attached a generated lb xml and corresponding domain.xml



 Comments   
Comment by sonymanuel [ 09/Aug/10 ]

Created an attachment (id=4653)
lb xml

Comment by sonymanuel [ 09/Aug/10 ]

Created an attachment (id=4654)
domain xml

Comment by kshitiz_saxena [ 10/Aug/10 ]

Please try on latest build and report back

Comment by kshitiz_saxena [ 10/Aug/10 ]

Issue exists when a new instances are created. Please refer to issue 12936 for
more details.

Workaround : Restart DAS and then run export-http-lb-config

Comment by kshitiz_saxena [ 10/Aug/10 ]

Using GlassFishConfigBean.getRawView(...) to get raw view and using that to
retrieve listener's port

Checkin logs :
https://glassfish-svn.dev.java.net/source/browse/glassfish-svn/trunk/v3/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/InstanceReaderImpl.java?view=diff&rev=39524&p1=trunk/v3/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/InstanceReaderImpl.java&p2=trunk/v3/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/InstanceReaderImpl.java&r1=39523&r2=39524

Comment by kshitiz_saxena [ 10/Aug/10 ]

Fixed in b15





[GLASSFISH-12769] FileNotFoundException if installed in C:\Program Files and using ACC Created: 23/Jul/10  Updated: 26/Nov/10  Resolved: 02/Aug/10

Status: Resolved
Project: glassfish
Component/s: standalone_client
Affects Version/s: v3.0.1
Fix Version/s: 3.1_b15

Type: Bug Priority: Major
Reporter: rogierdegroot Assignee: Tim Quinn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows (generic)
Platform: All


Issue Links:
Dependency
depends on GLASSFISH-12804 start-instance fails in Felix if inst... Resolved
Issuezilla Id: 12,769

 Description   

Steps to reproduce:

1) Install GlassFish on Windows using the NetBeans Java EE installer. This will
install GlassFish in C:\Program Files\sges-v3 by default.
2) Create an enterprise project (using NetBeans) with an application client module.
3) Attempt to deploy / run the project on GlassFish.

Result:

Deployment will fail, claiming it can't find gf-client.jar. This is not true, as
the file is where it's supposed to be & accessible. The problem seems to be the
space in the "Program Files" folder name, as reinstalling GlassFish in another
folder resolves the issue.

Complete GlassFish output:

INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
INFO: Starting Grizzly Framework 1.9.18-o - Fri Jul 23 10:12:44 CEST 2010
INFO: Starting Grizzly Framework 1.9.18-o - Fri Jul 23 10:12:44 CEST 2010
INFO: Grizzly Framework 1.9.18-o started in: 78ms listening on port 7676
INFO: GlassFish Server Open Source Edition 3.0.1 (22) startup time :
Felix(20937ms) startup services(1750ms) total(22687ms)
INFO: Grizzly Framework 1.9.18-o started in: 313ms listening on port 8181
INFO: Grizzly Framework 1.9.18-o started in: 234ms listening on port 3700
INFO: Grizzly Framework 1.9.18-o started in: 265ms listening on port 4848
INFO: Grizzly Framework 1.9.18-o started in: 344ms listening on port 8080
INFO: Binding RMI port to *:8686
INFO: Using
com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the
delegate
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
INFO: JMXStartupService: Started JMXConnector, JMXService URL =
service:jmx:rmi://goad-dev-108.goadvisedit.local:8686/jndi/rmi://goad-dev-108.goadvisedit.local:8686/jmxrmi
INFO:

{felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Program Files\glassfish-3.0.1\glassfish\modules\autostart, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\DOCUME~1\grootr\LOCALS~1\Temp\fileinstall-6320740478644322870, felix.fileinstall.filter = null}

INFO: WELD-000900 1.0.1 (SP3)
INFO: Hibernate Validator bean-validator-3.0-JBoss-4.0.2
INFO: Instantiated an instance of
org.hibernate.validator.engine.resolver.JPATraversableResolver.
WARNING: ACDEPL112: Error attempting to process extensions from the manifest of
JAR file C:\Program
Files\glassfish-3.0.1\glassfish\domains\domain1\generated\xml\TestApp\TestApp-app-client_jar\TestApp-ejb.jar;
ignoring it and continuing
java.io.FileNotFoundException: C:\Program
Files\glassfish-3.0.1\glassfish\domains\domain1\generated\xml\TestApp\TestApp-app-client_jar\TestApp-ejb.jar
(Het systeem kan het opgegeven bestand niet vinden)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.jar.JarFile.<init>(JarFile.java:135)
at java.util.jar.JarFile.<init>(JarFile.java:99)
at
org.glassfish.appclient.server.core.jws.ExtensionFileManager.findExtensionTransitiveClosure(ExtensionFileManager.java:264)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.processExtensionReferences(JavaWebStartInfo.java:334)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.startJWSServices(JavaWebStartInfo.java:311)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.access$100(JavaWebStartInfo.java:96)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo$1.run(JavaWebStartInfo.java:257)
at
org.glassfish.appclient.server.core.jws.JavaWebStartState.transition(JavaWebStartState.java:84)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.start(JavaWebStartInfo.java:253)
at
org.glassfish.appclient.server.core.AppClientServerApplication.start(AppClientServerApplication.java:134)
at
org.glassfish.appclient.server.core.AppClientServerApplication.start(AppClientServerApplication.java:126)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
at
org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
at
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:619)

SEVERE: Exception while invoking class
org.glassfish.appclient.server.core.AppClientServerApplication start method
java.lang.RuntimeException: java.io.FileNotFoundException:
C:\Program%20Files\glassfish-3.0.1\glassfish\modules\gf-client.jar (Het systeem
kan het opgegeven pad niet vinden)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo$1.run(JavaWebStartInfo.java:259)
at
org.glassfish.appclient.server.core.jws.JavaWebStartState.transition(JavaWebStartState.java:84)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.start(JavaWebStartInfo.java:253)
at
org.glassfish.appclient.server.core.AppClientServerApplication.start(AppClientServerApplication.java:134)
at
org.glassfish.appclient.server.core.AppClientServerApplication.start(AppClientServerApplication.java:126)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
at
org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
at
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException:
C:\Program%20Files\glassfish-3.0.1\glassfish\modules\gf-client.jar (Het systeem
kan het opgegeven pad niet vinden)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.jar.JarFile.<init>(JarFile.java:135)
at java.util.jar.JarFile.<init>(JarFile.java:99)
at
org.glassfish.appclient.server.core.jws.JWSAdapterManager.getGFClientModuleClassPath(JWSAdapterManager.java:612)
at
org.glassfish.appclient.server.core.jws.JWSAdapterManager.addStaticSystemContent(JWSAdapterManager.java:243)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.addSignedSystemContent(JavaWebStartInfo.java:497)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.initClientStaticContent(JavaWebStartInfo.java:478)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.addClientContentToHTTPAdapters(JavaWebStartInfo.java:420)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.startJWSServices(JavaWebStartInfo.java:312)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.access$100(JavaWebStartInfo.java:96)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo$1.run(JavaWebStartInfo.java:257)
... 35 more

SEVERE: Exception while loading the app
java.lang.RuntimeException: java.io.FileNotFoundException:
C:\Program%20Files\glassfish-3.0.1\glassfish\modules\gf-client.jar (Het systeem
kan het opgegeven pad niet vinden)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo$1.run(JavaWebStartInfo.java:259)
at
org.glassfish.appclient.server.core.jws.JavaWebStartState.transition(JavaWebStartState.java:84)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.start(JavaWebStartInfo.java:253)
at
org.glassfish.appclient.server.core.AppClientServerApplication.start(AppClientServerApplication.java:134)
at
org.glassfish.appclient.server.core.AppClientServerApplication.start(AppClientServerApplication.java:126)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
at
org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
at
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException:
C:\Program%20Files\glassfish-3.0.1\glassfish\modules\gf-client.jar (Het systeem
kan het opgegeven pad niet vinden)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.jar.JarFile.<init>(JarFile.java:135)
at java.util.jar.JarFile.<init>(JarFile.java:99)
at
org.glassfish.appclient.server.core.jws.JWSAdapterManager.getGFClientModuleClassPath(JWSAdapterManager.java:612)
at
org.glassfish.appclient.server.core.jws.JWSAdapterManager.addStaticSystemContent(JWSAdapterManager.java:243)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.addSignedSystemContent(JavaWebStartInfo.java:497)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.initClientStaticContent(JavaWebStartInfo.java:478)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.addClientContentToHTTPAdapters(JavaWebStartInfo.java:420)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.startJWSServices(JavaWebStartInfo.java:312)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo.access$100(JavaWebStartInfo.java:96)
at
org.glassfish.appclient.server.core.jws.JavaWebStartInfo$1.run(JavaWebStartInfo.java:257)
... 35 more

WARNING: Exception while cleaning module
'org.glassfish.internal.data.EngineRef@b079fd'java.lang.NullPointerException
java.lang.NullPointerException
at
org.glassfish.appclient.server.core.AppClientDeployer.clean(AppClientDeployer.java:265)
at org.glassfish.internal.data.EngineInfo.clean(EngineInfo.java:114)
at org.glassfish.internal.data.EngineRef.clean(EngineRef.java:171)
at
com.sun.enterprise.v3.server.ApplicationLifecycle$1.actOn(ApplicationLifecycle.java:224)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:342)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1224)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:365)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:204)
at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
at
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:619)

INFO: Instantiated an instance of
org.hibernate.validator.engine.resolver.JPATraversableResolver.
INFO: Grizzly Framework 1.9.18-o started in: 63ms listening on port 8080
INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
INFO: Grizzly Framework 1.9.18-o started in: 62ms listening on port 8181
INFO: Installed C:\Program
Files\glassfish-3.0.1\glassfish\modules\autostart\org.apache.felix.fileinstall-autodeploy-bundles.cfg
INFO:

{felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Program Files\glassfish-3.0.1\glassfish\domains\domain1\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\DOCUME~1\grootr\LOCALS~1\Temp\fileinstall-9178998680775030469, felix.fileinstall.filter = null}

INFO: Installed C:\Program
Files\glassfish-3.0.1\glassfish\modules\autostart\org.apache.felix.scr.jar
INFO: Installed C:\Program
Files\glassfish-3.0.1\glassfish\modules\autostart\osgi-web-container.jar
INFO: Started bundle:
file:/C:/Program%20Files/glassfish-3.0.1/glassfish/modules/autostart/org.apache.felix.scr.jar
INFO: Started bundle:
file:/C:/Program%20Files/glassfish-3.0.1/glassfish/modules/autostart/osgi-web-container.jar
INFO: Total number of available updates : 0



 Comments   
Comment by Tim Quinn [ 29/Jul/10 ]

Fix checked in. (This also depended on Sahoo's fix for 12804.)

Author: tjquinn
Date: 2010-07-29 22:44:30+0000
New Revision: 39207

Modified:

trunk/v3/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/JWSAdapterManager.java

Comment by Tim Quinn [ 02/Aug/10 ]
      • Issue 12866 has been marked as a duplicate of this issue. ***




[GLASSFISH-12505] Embedded does not play nice with non-felix Created: 06/Jul/10  Updated: 17/Aug/10  Resolved: 17/Aug/10

Status: Resolved
Project: glassfish
Component/s: embedded
Affects Version/s: 3.1
Fix Version/s: 3.1_b15

Type: Bug Priority: Major
Reporter: Byron Nevins Assignee: Amy Roh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 12,505

 Description   

set Glassfish_Platform to "Static"
start V3

Catastrophe! It enters a Zombie/Undead state instead of dying cleanly.

INFO: Cannot inject org.glassfish.api.embedded.Server
org.glassfish.api.embedded.web.WebBuilder.server in component
org.glassfish.api.embedd
ed.web.WebBuilder@ee3dee
java.util.MissingResourceException: Can't find resource for bundle
java.util.PropertyResourceBundle, key core.unable_start_container
at java.util.ResourceBundle.getObject(ResourceBundle.java:384)
at java.util.ResourceBundle.getString(ResourceBundle.java:344)
at
com.sun.enterprise.v3.services.impl.WebContainerStarter.startWebContainer(WebContainerStarter.java:213)
at
com.sun.enterprise.v3.services.impl.WebContainerStarter.postConstruct(WebContainerStarter.java:135)
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:458)
at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:402)
at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:311)
at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:304)
at
com.sun.enterprise.glassfish.bootstrap.ASMainStatic$1.run(ASMainStatic.java:191)
at java.lang.Thread.run(Thread.java:619)
Jul 6, 2010 10:23:59 AM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Startup service failed to start : Can't find resource for bundle
java.util.PropertyResourceBundle, key core.unable_start_container
Jul 6, 2010 10:23:59 AM com.sun.enterprise.v3.server.AppServerStartup run
INFO: GlassFish Server Open Source Edition 3.1-SNAPSHOT (bnevins-private)
startup time : Static(12594ms) startup services(5140ms) total(1773
4ms)
Jul 6, 2010 10:23:59 AM org.jvnet.hk2.component.InjectionManager inject
INFO: Cannot inject org.glassfish.api.embedded.Server
org.glassfish.api.embedded.web.WebBuilder.server in component
org.glassfish.api.embedd
ed.web.WebBuilder@f12b72
Jul 6, 2010 10:23:59 AM org.glassfish.kernel.event.EventsImpl$1 run
WARNING: Exception while dispatching an event
org.jvnet.hk2.component.UnsatisfiedDependencyException: Unsatisfied dependency
exception : org.glassfish.api.embedded.web.WebBuilder org.gla
ssfish.web.embed.impl.EmbeddedWebArchivist.builder
at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:116)
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:66)
at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
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.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at org.jvnet.hk2.component.Habitat.getByContract(Habitat.java:994)
at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:729)
at
com.sun.enterprise.web.WebContainer.loadDefaultWebModulesAfterAllAppsProcessed(WebContainer.java:1423)
at com.sun.enterprise.web.WebContainer.event(WebContainer.java:581)
at org.glassfish.kernel.event.EventsImpl$1.run(EventsImpl.java:117)
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)
Caused by: org.jvnet.hk2.component.UnsatisfiedDependencyException: Unsatisfied
dependency exception : org.glassfish.api.embedded.Server org.
glassfish.api.embedded.web.WebBuilder.server
at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:116)
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:66)
at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
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.jvnet.hk2.component.Habitat.getBy(Habitat.java:1000)
at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:981)
at
com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:149)
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:95)
... 19 more
Caused by: org.jvnet.hk2.component.UnsatisfiedDependencyException: Unsatisfied
dependency exception : org.glassfish.api.embedded.Server org.
glassfish.api.embedded.web.WebBuilder.server
at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:111)
... 32 more
Jul 6, 2010 10:23:59 AM org.glassfish.admin.mbeanserver.RMIConnectorStarter
startRegistry
INFO: Binding RMI port to *:8686
Jul 6, 2010 10:24:00 AM
org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread
startConnector
INFO: JMXStartupService: Started JMXConnector, JMXService URL =
service:jmx:rmi://129.150.239.217:8686/jndi/rmi://129.150.239.217:8686/jmxrm
i
Jul 6, 2010 10:24:00 AM AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started



 Comments   
Comment by sirajg [ 06/Jul/10 ]

WebBuilder unable to find resource.

Comment by Amy Roh [ 17/Aug/10 ]

It works as expected with the latest promoted build. Please re-open if you
experience the issue again.

bash-3.2$ export GlassFish_Platform=Static
bash-3.2$ echo $GlassFish_Platform
Static
bash-3.2$ ./asadmin start-domain
Waiting for the server to start .....
Successfully started the domain : domain1
domain location: /Users/Amy/glassfish-3.1-b15/glassfishv3/glassfish/domains/domain1
Log File:
/Users/Amy/glassfish-3.1-b15/glassfishv3/glassfish/domains/domain1/logs/server.log
Admin Port: 4848
Command start-domain executed successfully.





Generated at Sun Dec 04 19:45:31 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.