[GLASSFISH-13548] Allocate exception for servlet Simple com.sun.enterprise.container.common.spi.util.InjectionException Created: 20/Sep/10  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: test
Affects Version/s: 3.1
Fix Version/s: not determined

Type: Bug Priority: Critical
Reporter: Sreekanth Assignee: Sreekanth
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: Linux


Attachments: File SampleService.ear     Text File server.log     Text File server.log    
Issuezilla Id: 13,548
Tags: 3_1-exclude, test_issue

 Description   

Once I deploy this webservice transaction test application and access the
webservice, I get the below exception:

Steps to reproduce:
===================

1)Create connection pool using
asadmin --echo=true create-jdbc-connection-pool --datasourceclassname
org.apache.derby.jdbc.ClientXADataSource --restype javax.sql.XADataSource –
property
portNumber=1527:serverName=localhost:User=APP:Password=APP:databaseName=sample
derby_netPool

2)Create jdbc resource using
asadmin create-jdbc-resource --connectionpoolid derby_netPool --enabled=true
jdbc/JavaProgrammingLibrary

3)Deploy the attached application and access it from browser :
http://localhost:8080/SampleService-war/SimpleService?wsdl

Exception:
==========
[#|2010-09-
20T17:27:33.698+0530|INFO|glassfish3.1|javax.enterprise.system.tools.admin.org.g
lassfish.deployment.admin|_ThreadID=15;_ThreadName=Thread-1;|SampleService was
successfully deployed in 25,969 milliseconds.|#]

[#|2010-09-
20T17:27:36.247+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com
.sun.enterprise.web|_ThreadID=15;_ThreadName=Thread-1;|PWC1412: WebModule[null]
ServletContext.log():PWC1409: Marking servlet Simple as unavailable|#]

[#|2010-09-
20T17:27:36.247+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com
.sun.enterprise.web|_ThreadID=126;_ThreadName=http-thread-pool-
10080(1);|PWC1412: WebModule[null] ServletContext.log():PWC1409: Marking servlet
Simple as unavailable|#]

[#|2010-09-
20T17:27:36.247+0530|INFO|glassfish3.1|javax.enterprise.system.container.web.com
.sun.enterprise.web|_ThreadID=126;_ThreadName=http-thread-pool-
10080(1);|PWC1412: WebModule[null] ServletContext.log():PWC1409: Marking servlet
Simple as unavailable|#]

[#|2010-09-
20T17:27:36.250+0530|WARNING|glassfish3.1|javax.enterprise.system.container.web.
com.sun.enterprise.web|_ThreadID=15;_ThreadName=Thread-
1;|StandardWrapperValve[Simple]: PWC1382: Allocate exception for servlet Simple
com.sun.enterprise.container.common.spi.util.InjectionException: Error creating
managed object for class org.glassfish.webservices.JAXWSServlet
at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManaged
Object(InjectionManagerImpl.java:317)
at
com.sun.enterprise.web.WebContainer.createServletInstance(WebContainer.java:690)
at
com.sun.enterprise.web.WebModule.createServletInstance(WebModule.java:1945)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1251)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1058)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:1
89)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
75)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingS
tandardPipeline.java:91)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java
:228)
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:824)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:721)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1014)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:22
0)
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:53
0)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:511)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.enterprise.container.common.spi.util.InjectionException: No
descriptor registered for current invocation :
com.sun.enterprise.web.WebComponentInvocation@14b746c8
at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstanc
e(InjectionManagerImpl.java:148)
at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstanc
e(InjectionManagerImpl.java:132)
at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManaged
Object(InjectionManagerImpl.java:311)
... 28 more

#]

[#|2010-09-
20T17:27:36.250+0530|WARNING|glassfish3.1|javax.enterprise.system.container.web.
com.sun.enterprise.web|_ThreadID=126;_ThreadName=http-thread-pool-
10080(1);|StandardWrapperValve[Simple]: PWC1382: Allocate exception for servlet
Simple
com.sun.enterprise.container.common.spi.util.InjectionException: Error creating
managed object for class org.glassfish.webservices.JAXWSServlet
at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManaged
Object(InjectionManagerImpl.java:317)
at
com.sun.enterprise.web.WebContainer.createServletInstance(WebContainer.java:690)
at
com.sun.enterprise.web.WebModule.createServletInstance(WebModule.java:1945)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1251)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1058)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:1
89)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
75)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingS
tandardPipeline.java:91)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java
:228)
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:824)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:721)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1014)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:22
0)
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:53
0)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:511)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.enterprise.container.common.spi.util.InjectionException: No
descriptor registered for current invocation :
com.sun.enterprise.web.WebComponentInvocation@14b746c8
at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstanc
e(InjectionManagerImpl.java:148)
at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstanc
e(InjectionManagerImpl.java:132)
at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManaged
Object(InjectionManagerImpl.java:311)
... 28 more

#]

[#|2010-09-
20T17:27:36.250+0530|WARNING|glassfish3.1|javax.enterprise.system.container.web.
com.sun.enterprise.web|_ThreadID=126;_ThreadName=http-thread-pool-
10080(1);|StandardWrapperValve[Simple]: PWC1382: Allocate exception for servlet
Simple
com.sun.enterprise.container.common.spi.util.InjectionException: Error creating
managed object for class org.glassfish.webservices.JAXWSServlet
at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManaged
Object(InjectionManagerImpl.java:317)
at
com.sun.enterprise.web.WebContainer.createServletInstance(WebContainer.java:690)
at
com.sun.enterprise.web.WebModule.createServletInstance(WebModule.java:1945)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1251)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1058)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:1
89)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
75)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingS
tandardPipeline.java:91)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java
:228)
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:824)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:721)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1014)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:22
0)
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:53
0)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:511)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.enterprise.container.common.spi.util.InjectionException: No
descriptor registered for current invocation :
com.sun.enterprise.web.WebComponentInvocation@14b746c8
at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstanc
e(InjectionManagerImpl.java:148)
at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstanc
e(InjectionManagerImpl.java:132)
at
com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManaged
Object(InjectionManagerImpl.java:311)
... 28 more

#]


 Comments   
Comment by Sreekanth [ 20/Sep/10 ]

Created an attachment (id=4923)
Ear file

Comment by Bhakti Mehta [ 11/Oct/10 ]
      • Issue 13549 has been marked as a duplicate of this issue. ***
Comment by Bhakti Mehta [ 30/Nov/10 ]

Rama, please can you look into this issue with WSServletContextListener This is the stacktrace I am seeing with yesterday's build
asadmin deploy ~/gfbugs/13458/SampleService.ear
org.glassfish.api.admin.CommandException: remote failure: Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class org.glassfish.webservices.WSServletContextListener. Please see server.log for more details.
Command deploy failed.

Btw I tried these steps
asadmin --echo=true create-jdbc-connection-pool --datasourceclassname org.apache.derby.jdbc.ClientXADataSource --restype javax.sql.XADataSource --property portNumber=1527:serverName=localhost:User=APP:Password=APP:databaseName=sample derby_netPool

asadmin create-jdbc-resource --connectionpoolid derby_netPool --enabled=true jdbc/JavaProgrammingLibrary

asadmin deploy ~/gfbugs/13458/SampleService.ear

Comment by ramapulavarthi [ 15/Dec/10 ]

I tried with latest V3.1 standalone built from my local workspace and I could not reproduce the problem. The ear file deployed fine for me. Are you seeing problem when deploying to a cluster? Please confirm the issue with latest Galssfish V3.1 nightly/promoted build.

Comment by ramapulavarthi [ 15/Dec/10 ]

Please confirm the issue with latest build of v3.1.

Comment by Sreekanth [ 20/Dec/10 ]

I am still seeing this issue with the latest build of metro and glassfish 3.1 .I am not using clustered environment.But I have 2 domains running on that server.

Please find the attached server log.

Comment by Sreekanth [ 20/Dec/10 ]

Server file.

Comment by Sreekanth [ 20/Dec/10 ]

Assigning back to Rama.

Comment by ramapulavarthi [ 20/Dec/10 ]

Sreekanth, Can you reproduce it on a default glassfish installation that has single (default) domain?

Comment by Sreekanth [ 21/Dec/10 ]

Yes.It is reproducible on default setup as well.

Comment by Sreekanth [ 21/Dec/10 ]

log file when run with default glassfish installation

Comment by ramapulavarthi [ 22/Dec/10 ]

Finally I have managed to deploy the ear with some modifications.
(1) There are additional resources required by the application. They can be created by doing
asadmin create-jms-resource --restype javax.jms.Queue --enabled=true --property Name=PhysicalQueue jms/Queue
asadmin create-jms-resource --restype javax.jms.ConnectionFactory jms/ConnectionFactory

These steps are gathered from wstx sample in https://wsit-docs.dev.java.net/releases/1.2/wsittutorial.zip

(2) The contents of the ear file are
META-INF/
META-INF/MANIFEST.MF
jar/
lib/
META-INF/application.xml
META-INF/sun-application.xml
SampleService-ejb.jar
SampleService-war.war
lib/SampleService-ejb.jar ---> is not needed and should be removed.

(3) In this application, the META-INF/MANIFEST.MF in SampleService-war.war has Class-Path: SampleService-ejb.jar which is discovered by the EJB Deployer twice as it exists in root ear as well as the classpath of the war.

There seems to be a bug in Gllassfish deployment, when an ejb is shared by the web application like this, the EJB annotations (in this case ws) are processed twice. Some observations about the problem can also be found at a Users's blog http://www.shareyourwork.org/roller/ralphsjavablog/entry/jee6_and_packaging_an_ear.

To workaround this, remove the Class-Path entry in SampleService-war.war META-INF/MANIFEST.MF. Also, this ejb is not used by the Servlet at all and seems to have been introduced for no useful reason. I could deploy fine with the above modifications.

With this evaluation, I think this is a non-blocker for Metro in v3.1. Deployment issue in v3.1 has to be pursued as a separate issue in GF.

Comment by ramapulavarthi [ 23/Dec/10 ]

Assigning back to sqe and adding 3_1-exclude so that sqe can continue to track it for fixing the test case.

The EAR should be fixed to not share the EJB components. May be the Deployer could be intelligent to detect this and warn the users on deployment, but it is tricky to implement with the possibility of different components packaged in the same module in JavaEE 6. The discussion on topic can be followed at http://java.net/projects/glassfish/lists/dev/archive/2010-12/message/200

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-14687] [regression] javax.xml.ws.WebServiceException while deploying a 109 web service Created: 15/Nov/10  Updated: 17/Feb/12

Status: Reopened
Project: glassfish
Component/s: test
Affects Version/s: 3.1
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: sonymanuel Assignee: Sreekanth
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: Linux


Attachments: Java Archive File 14687-src.jar     File jaxws-wsamss11.war     File jaxws-wsamss12.war     Text File server.log    
Issuezilla Id: 14,687
Tags: 3_1-exclude, 3_1_2-exclude, metro2_2-waived

 Description   

While deploying the attached applications on 3.1 build 29 get the following
exception. This used to work fine with GF 3.0.1.

[#|2010-11-15T18:57:38.336+0530|WARNING|glassfish3.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=14;_ThreadName=Thread-1;|Deployment
failed
javax.xml.ws.WebServiceException: WSDL
jndi:/server/jaxws-wsamss11/WEB-INF/wsdl/wsaTestService.wsdl has the following
services [

{http://example.org/wsaTestService}

wsaTestService] but not . Maybe you
forgot to specify a serviceName and/or targetNamespace in
@WebService/@WebServiceProvider?
at
com.sun.xml.ws.server.EndpointFactory.verifyPrimaryWSDL(EndpointFactory.java:481)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:159)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:513)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:568)
at
org.glassfish.webservices.WSServletContextListener.registerEndpoint(WSServletContextListener.java:260)
at
org.glassfish.webservices.WSServletContextListener.contextInitialized(WSServletContextListener.java:99)
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4703)
at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:533)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5323)
at com.sun.enterprise.web.WebModule.start(WebModule.java:497)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1934)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1611)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:242)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:262)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:438)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:243)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:351)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:354)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:369)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1061)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1257)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1246)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:396)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:216)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:619)

#]

[#|2010-11-15T18:57:38.343+0530|SEVERE|glassfish3.1|org.apache.catalina.core.StandardContext|_ThreadID=14;_ThreadName=Thread-1;|PWC1306:
Startup of context /jaxws-wsamss11 failed due to previous errors|#]

[#|2010-11-15T18:57:38.347+0530|SEVERE|glassfish3.1|org.apache.catalina.core.StandardContext|_ThreadID=14;_ThreadName=Thread-1;|PWC1305:
Exception during cleanup after start failed
org.apache.catalina.LifecycleException: PWC2769: Manager has not yet been started
at org.apache.catalina.session.StandardManager.stop(StandardManager.java:872)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5527)
at com.sun.enterprise.web.WebModule.stop(WebModule.java:528)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5341)
at com.sun.enterprise.web.WebModule.start(WebModule.java:497)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1934)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1611)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:242)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:262)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:438)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:243)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:351)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:354)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:369)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1061)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1257)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1246)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:396)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:216)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:619)

#]


 Comments   
Comment by sonymanuel [ 15/Nov/10 ]

Created an attachment (id=5464)
webservice app

Comment by sonymanuel [ 15/Nov/10 ]

Created an attachment (id=5465)
app2

Comment by sonymanuel [ 15/Nov/10 ]

Created an attachment (id=5466)
server log

Comment by Bhakti Mehta [ 20/Nov/10 ]

Is this only happening in specific cases. I do not see cts failures related to
this. Requesting Rama to look into this

Comment by jitu [ 08/Dec/10 ]

Can you attach the source code. Want to see primarily @WebService, @WebServiceProvider annotations.
WEB-INF/classes/wsa/msinterop/s11/server/NonAnonymousProvider.class
WEB-INF/classes/wsa/msinterop/s11/server/WsaTestImpl.class
WEB-INF/classes/wsa/msinterop/s11/server/WsaTestPortType.class
WEB-INF/classes/wsa/msinterop/s11/server/WsaTestService.class

Comment by sonymanuel [ 08/Dec/10 ]

Attaching requested src.

Comment by jitu [ 09/Dec/10 ]

@WebServiceProvider(wsdlLocation="WEB-INF/wsdl/wsaTestService.wsdl")
@ServiceMode(value = Service.Mode.MESSAGE)
public class NonAnonymousProvider implements Provider<SOAPMessage> {
}

In the above class, WSDL is specified, but not serviceName, portName, and targetNamespace elements. Otherwise, runtime cannot find a correponding port in WSDL. I would be really surprised, if this really worked any time.

Also, I don't see any use in specifying wsdlLocation in this case. Correct the test.

Comment by jitu [ 09/Dec/10 ]

Test case is invalid.

Comment by sonymanuel [ 21/Dec/10 ]

I tried deploying the app on GF 3.0.1 and it works fine. See logs below.

[#|2010-12-21T22:53:24.424+0530|INFO|glassfish3.0.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=26;_ThreadName=Thread-1;|WS00018: Webservice Endpoint deployed
WsaTestImpl listening at address at http://localhost:10128/jaxws-wsamss11/wsaTestService|#]

[#|2010-12-21T22:53:24.425+0530|INFO|glassfish3.0.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=26;_ThreadName=Thread-1;|WS00018: Webservice Endpoint deployed
wsa.msinterop.s11.server.NonAnonymousProvider listening at address at http://localhost:10128/jaxws-wsamss11/NonAnonymousProviderService|#]

[#|2010-12-21T22:53:24.475+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=26;_ThreadName=Thread-1;|Loading application jaxws-wsamss11 at /jaxws-wsamss11|#]

[#|2010-12-21T22:53:24.475+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=26;_ThreadName=http-thread-pool-10096-(1);|Loading application jaxws-wsamss11 at /jaxws-wsamss11|#]

[#|2010-12-21T22:53:24.475+0530|INFO|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=26;_ThreadName=http-thread-pool-10096-(1);|Loading application jaxws-wsamss11 at /jaxws-wsamss11|#]

[#|2010-12-21T22:53:24.486+0530|INFO|glassfish3.0.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=26;_ThreadName=Thread-1;|jaxws-wsamss11 was successfully deployed in 229 milliseconds.|#]

I checked the CVS history for this test case. This particular test was written by Arun and checked in by Deepak (I think) on 2007/03/09. There has been no change to the test or config file since. Since it deployed fine on GF 3.0.1, I assume it worked on all prior GF/Metro releases till 2007/03/09

Reopening the issue as it is a regression and ~450 jax-wsa interop test cases are blocked because of this deployment issue.

The sources are available
tango/qe-tests/jax-wsa/interop-109/src/wsamss11

If its a test case please let me know exactly what to fix since I am fairly new to this.

With the 20th Dec nightly build I am seeing a NPE.

[#|2010-12-21T22:46:24.266+0530|SEVERE|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=15;_ThreadName=Thread-1;|The log message is null.
java.lang.RuntimeException
at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:192)
at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:870)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:354)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:369)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1080)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1260)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1248)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:453)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:220)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:817)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:718)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1007)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at org.glassfish.webservices.WebServicesDeployer.doWebServiceDeployment(WebServicesDeployer.java:719)
at org.glassfish.webservices.WebServicesDeployer.doWebServicesDeployment(WebServicesDeployer.java:650)
at org.glassfish.webservices.WebServicesDeployer.prepare(WebServicesDeployer.java:183)
... 29 more

#]
Comment by ramapulavarthi [ 23/Dec/10 ]

We should definitely fix the NPE.

Regarding the original issue, as Jitu mentioned test case need to be fixed to specify serviceName and portName and targetNameSpace in @WebServiceProvider matching those attributes in the packaged wsdl. In V2 we might be creating the web service endpoint lazily giving a false sense of deployment success. If you try to access the endpoint, then you would see if the web service was created successfully. Check the logs by accessing http://localhost:10128/jaxws-wsamss11/NonAnonymousProviderService in a browser after deploying on V2 or V3.0.1. Though the testcase is not modified, it is possible that the the test case has not been ever verified to make sure that the non-anonymous endpoint receives messages.

Comment by ramapulavarthi [ 23/Dec/10 ]

Removing the 3_1-regression keyword as it is not real regression. Adding 3_1-exclude so that sqe can continue to track for fixing the test case.

As earlier evaluated, in V3.1 we are creating web service endpoints on deployment unlike in previous versions where endpoints are lazily created. This is done as fix for https://glassfish.dev.java.net/issues/show_bug.cgi?id=14061. This is one way good that it finds the serious runtime errors during deployment itself. The sqe test case should be corrected and the exception in the log is clear on what is missing. Here is the excerpt from v3.1 log.

Caused by: java.lang.RuntimeException: Servlet web service endpoint '' failure
at org.glassfish.webservices.WSServletContextListener.contextInitialized(WSServletContextListener.java:104)
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4683)
at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:531)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5303)
... 38 more
Caused by: javax.xml.ws.WebServiceException: WSDL jndi:/server/jaxws-wsamss11/WEB-INF/wsdl/wsaTestService.wsdl has the following services [

{http://example.org/wsaTestService}

wsaTestService] but not . Maybe you forgot to specify a serviceName and/or targetNamespace in @WebService/@WebServiceProvider?
at com.sun.xml.ws.server.EndpointFactory.verifyPrimaryWSDL(EndpointFactory.java:481)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:159)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:513)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:568)
at org.glassfish.webservices.WSServletContextListener.registerEndpoint(WSServletContextListener.java:260)
at org.glassfish.webservices.WSServletContextListener.contextInitialized(WSServletContextListener.java:99)
... 41 more

#]
Comment by ramapulavarthi [ 23/Dec/10 ]

sqe should fix the testcase

Comment by sonymanuel [ 03/Jan/11 ]

Assigning to Anand for checking the testcase.

Comment by Martin Grebac [ 09/Dec/11 ]

Sreekanth, is this one still valid?

Comment by Sreekanth [ 17/Feb/12 ]

This is still an issue with the latest promoted build of glassfish 3.1.2.Will try to fix as suggested by Jitu and Rama





[GLASSFISH-19779] Tests overwrite the domain-passwords keystore (was java.lang.RuntimeException: java.io.IOException: Invalid keystore format) Created: 06/Mar/13  Updated: 20/Dec/16

Status: Open
Project: glassfish
Component/s: sqe-test
Affects Version/s: 4.0_dev
Fix Version/s: 4.0

Type: Bug Priority: Major
Reporter: Sreekanth Assignee: Sreekanth
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Glassfish 4.0 b73, JDK 1.7.0_17



 Description   

Hi,

I am seeing this exception as part of running Metro SQE tests. While running tests, we typically update the glassfish keystores with the certs from copyv3.zip. From glassfish 4.0 b73, after we patch the certificates, I am getting the below exception.

Exception:
==========

appserver-start-notwin:
[exec] Deprecated syntax, instead use:
[exec] asadmin --user admin --passwordfile /space/hudson/hudson-workspace/glassfish3/glassfish/domains/domain1/config/domain-passwords start-domain [options] ...
[exec] Error starting domain domain1.
[exec] The server exited prematurely with exit code 1.Waiting for domain1 to start .....Command start-domain failed.
[exec]
[exec] Before it died, it produced the following output:
[exec]
[exec] Launching GlassFish on Felix platform
[exec] Registry Info:: Total repositories: 1, Total modules = 286
[exec] Attached repository: [javax.ejb-api:org.eclipse.persistence.oracle:org.glassfish.main.web.gui-plugin-common:org.glassfish.javax.enterprise.concurrent:org.glassfish.main.web.cli:org.glassfish.main.persistence.jpa-container:pfl-dynamic:org.glassfish.main.persistence.cmp.support-ejb:org.glassfish.main.admingui.console-ejb-lite-plugin:org.glassfish.main.external.libpam4j-repackaged:org.glassfish.main.webservices.metro-glue:org.glassfish.main.persistence.cmp.utility:org.glassfish.main.ejb.gf-ejb-connector:org.glassfish.main.admingui.console-plugin-service:org.glassfish.main.cluster.ssh:org.glassfish.jersey.containers.glassfish.jersey-gf-ejb:org.glassfish.main.admin.rest-service:GlassFish-Application-Common-Module:org.eclipse.persistence.core:org.glassfish.jersey.core.jersey-server:pfl-basic-tools:org.glassfish.corba.glassfish-corba-omgapi:javax.servlet.jsp-api:org.glassfish.main.admingui.console-jts-plugin:org.glassfish.external.dbschema-repackaged:javax.xml.jaxr-api-osgi:org.glassfish.main.core.logging:org.glassfish.hk2.external.asm-all-repackaged:org.glassfish.jersey.media.jersey-media-sse:org.glassfish.main.ha.shoal-cache-store:org.glassfish.main.batch.connector:org.glassfish.main.persistence.cmp.ejb-mapping:org.glassfish.main.concurrent.config:org.glassfish.main.common.glassfish-naming:javax.interceptor-api:org.glassfish.main.javax.security.jacc:org.glassfish.main.jms.admin:org.glassfish.main.resources.javamail-connector:jackson-mapper-asl:org.shoal.gms-impl:javax.persistence:org.eclipse.persistence.jpa.jpql:org.glassfish.main.security.webservices.security:org.glassfish.main.orb.enabler:org.glassfish.main.cluster.gms-adapter:org.glassfish.main.admin.launcher:org.glassfish.main.security.jaspic.provider.framework:com.sun.pkg.client:com.google.guava:JSR352.API:com.sun.jsftemplating:org.glassfish.main.web.ha:org.glassfish.main.appclient.gf-client-module:org.glassfish.main.deployment.autodeploy:com.sun.xml.bind:org.glassfish.main.jdbc.runtime:org.glassfish.corba.glassfish-corba-internal-api:org.glassfish.main.flashlight.framework:jackson-core-asl:org.glassfish.main.transaction.jta:org.glassfish.main.admin.cli:org.glassfish.main.concurrent.runtime:org.glassfish.main.common.glassfish-api:org.glassfish.main.ejb.ejb-container:org.glassfish.main.loadbalancer.gf-load-balancer-connector:org.glassfish.main.common.glassfish-ee-api:org.glassfish.main.concurrent.admin:org.glassfish.jersey.media.jersey-media-json-jettison:org.glassfish.hk2.config:org.glassfish.main.webservices.soap-tcp:javax.transaction.cdi-api:org.glassfish.main.appclient.server.appclient-connector:javax.servlet.jsp.jstl-api:org.glassfish.main.web.war-util:org.glassfish.metro.webservices-extra-jdk-packages:org.glassfish.main.web.jspcaching-connector:javax.websocket-api:org.glassfish.main.ha.shoal-cache-bootstrap:org.eclipse.persistence.moxy:org.glassfish.main.connectors.internal-api:org.glassfish.main.external.trilead-ssh2-repackaged:org.glassfish.main.persistence.cmp.internal-api:org.glassfish.main.security.inmemory.jacc.provider:org.glassfish.main.ejb.internal-api:org.glassfish.external.schema2beans-repackaged:org.codehaus.jettison.jettison:org.glassfish.main.connectors.admin:org.apache.felix.bundlerepository:org.glassfish.hk2.external.cglib:org.glassfish.main.core.glassfish-extra-jre-packages:org.glassfish.javax.faces:org.glassfish.main.transaction.internal-api:org.glassfish.main.external.j-interop-repackaged:org.glassfish.main.web.glue:org.glassfish.tyrus.server:org.glassfish.main.transaction.jts:org.glassfish.main.admin.core:org.glassfish.main.security.ejb.security:org.glassfish.hk2.utils:org.glassfish.jersey.media.jersey-media-moxy:org.glassfish.main.connectors.runtime:org.glassfish.hk2.osgi-adapter:org.glassfish.main.admin.rest-client:org.glassfish.hk2.api:pfl-tf:org.glassfish.main.jms.core:org.glassfish.main.web.core:org.glassfish.main.common.glassfish-mbeanserver:org.jboss.weld.osgi-bundle:org.glassfish.main.security.ee:pfl-asm:org.glassfish.main.jdbc.admin:org.glassfish.main.common.container-common:org.glassfish.main.admingui.console-jdbc-plugin:org.glassfish.main.admingui.console-corba-plugin:org.glassfish.main.admingui.glassfish-osgi-console-plugin:org.glassfish.main.cluster.admin:org.glassfish.main.deployment.javaee-full:org.glassfish.main.ejb.ejb-full-container:org.glassfish.tyrus.container-grizzly:org.glassfish.main.external.ldapbp-repackaged:org.eclipse.persistence.jpa:org.glassfish.main.core.glassfish:org.glassfish.main.common.amx-core:org.glassfish.tyrus.client:org.eclipse.persistence.dbws:org.glassfish.main.admingui.console-jca-plugin:org.glassfish.main.webservices.connector:org.glassfish.main.persistence.gf-jpa-connector:org.glassfish.main.connectors.inbound-runtime:org.glassfish.main.admingui.connector.gf-admingui-connector:javax.jms-api:org.glassfish.main.orb.connector:com.sun.mail.javax.mail:org.glassfish.main.admin.util:org.glassfish.javax.json:org.glassfish.hk2.config-types:org.glassfish.hk2.external.javax.inject:org.glassfish.main.web.weld-integration:org.glassfish.main.deployment.dol:org.glassfish.main.web.gf-web-connector:org.glassfish.hk2.runlevel:org.glassfish.hk2.hk2:org.glassfish.main.common.annotation-framework:woodstox-core-asl:org.glassfish.main.admingui.console-ejb-plugin:org.glassfish.hk2.core:pfl-tf-tools:org.glassfish.hk2.locator:org.glassfish.main.web.jstl-connector:org.glassfish.main.admin.gf-restadmin-connector:org.glassfish.main.admin.monitoring-core:org.glassfish.main.resources.runtime:org.glassfish.tyrus.spi:org.glassfish.corba.glassfish-corba-csiv2-idl:javax.xml.rpc-api:org.glassfish.main.admin.backup:org.glassfish.main.external.ant:org.glassfish.main.admingui.console-common-full-plugin:org.glassfish.web.javax.servlet.jsp.jstl:org.glassfish.main.admingui.console-common:org.glassfish.main.simple-glassfish-api:org.glassfish.fighterfish.osgi-jpa-extension:org.glassfish.main.web.weld-integration-fragment:org.glassfish.main.persistence.cmp.generator-database:org.glassfish.main.admingui.console-cluster-plugin:org.glassfish.main.web.naming:org.glassfish.main.admingui.dataprovider:org.glassfish.main.common.scattered-archive-api:org.glassfish.main.web.sse:org.glassfish.main.jdbc.config:org.glassfish.hk2.external.bean-validator:gmbal:org.glassfish.main.resources.connector:org.glassfish.main.core.javaee-kernel:org.glassfish.main.javax.security.auth.message:org.glassfish.main.resourcebase.resources.nucleus-resources:org.glassfish.jersey.media.jersey-media-json-jackson:org.glassfish.main.persistence.cmp.enhancer:org.jvnet.mimepull:org.glassfish.main.common.internal-api:org.glassfish.metro.webservices-osgi:org.glassfish.jersey.ext.jersey-bean-validation:org.glassfish.main.osgi-platforms.osgi-container:org.glassfish.main.flashlight.flashlight-extra-jdk-packages:org.glassfish.main.external.antlr-repackaged:javax.resource-api:com.sun.xml.bind.extra:org.glassfish.main.connectors.gf-connectors-connector:pfl-basic:org.glassfish.main.connectors.work-management:org.glassfish.jersey.containers.jersey-container-grizzly2-http:org.glassfish.main.cluster.gms-bootstrap:org.glassfish.main.security.websecurity:org.glassfish.main.grizzly.glassfish-grizzly-extra-all:org.glassfish.main.deployment.common:org.glassfish.main.ha.ha-file-store:org.glassfish.main.jms.gf-jms-injection:org.glassfish.main.deployment.javaee-core:org.glassfish.main.common.stats77:org.glassfish.hk2.osgi-resource-locator:org.glassfish.main.admingui.console-web-plugin:org.glassfish.tyrus.core:org.eclipse.persistence.antlr:org.glassfish.main.persistence.glassfish-oracle-jdbc-driver-packages:org.glassfish.main.registration.registration-impl:org.glassfish.main.persistence.cmp.support-sqlstore:org.glassfish.main.appclient.acc-config:javax.ws.rs.javax.ws.rs-api:org.glassfish.main.deployment.deployment-client:JSR352.Runtime:org.glassfish.main.common.util:org.glassfish.hk2.class-model:org.glassfish.main.common.amx-javaee:org.glassfish.main.security.services:org.glassfish.main.jms.gf-jms-connector:org.glassfish.main.admingui.console-updatecenter-plugin:javax.enterprise.concurrent.javax.enterprise.concurrent-api:org.glassfish.main.appclient.server.appclient-server-core:javax.management.j2ee-api:org.glassfish.main.deployment.admin:org.glassfish.main.registration.glassfish-registration:org.glassfish.main.web.embed-api:org.glassfish.jersey.containers.jersey-container-servlet:javax.transaction-api:org.glassfish.main.persistence.cmp.model:org.glassfish.main.web.gf-weld-connector:org.glassfish.main.registration.registration-api:org.glassfish.main.security.ssl-impl:org.glassfish.ha.ha-api:org.glassfish.main.persistence.common:org.shoal.cache:org.glassfish.jersey.core.jersey-client:org.eclipse.persistence.asm:org.glassfish.javax.el:jackson-jaxrs:org.glassfish.main.grizzly.nucleus-grizzly-all:org.glassfish.main.web.jsf-connector:org.glassfish.main.persistence.entitybean-container:stax2-api:jackson-xc:org.glassfish.jersey.media.jersey-media-multipart:org.glassfish.main.security.appclient.security:org.glassfish.main.admin.config-api:org.glassfish.main.webservices.jsr109-impl:org.glassfish.jersey.core.jersey-common:org.glassfish.external.management-api:org.glassfish.tyrus.container-servlet:javax.servlet-api:org.shoal.gms-api:org.glassfish.jersey.containers.jersey-container-servlet-core:org.glassfish.main.external.jmxremote_optional-repackaged:org.glassfish.main.security:org.glassfish.web.javax.servlet.jsp:org.glassfish.main.orb.iiop:org.glassfish.main.admingui.console-community-branding-plugin:org.glassfish.main.cluster.common:org.glassfish.main.core.kernel:org.glassfish.main.admingui.console-jms-plugin:javax.enterprise.deploy-api:org.glassfish.corba.glassfish-corba-orb:org.eclipse.persistence.jpa.modelgen:org.glassfish.main.resources.javamail-runtime:org.glassfish.tyrus.websocket-core:org.glassfish.main.loadbalancer.load-balancer-admin:]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.jboss.weld.osgi-bundle [38]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.oracle [162]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.ha.shoal-cache-bootstrap [27]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.glassfish-mbeanserver [69]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.external.antlr-repackaged [39]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.concurrent.config [122]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.containers.jersey-container-servlet-core [58]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-jts-plugin [26]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.jms.core [194]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.cluster.common [20]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [jackson-jaxrs [59]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.annotation-api [2]], State = [READY]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.containers.jersey-container-grizzly2-http [108]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.core [29]], State = [READY]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.web.javax.servlet.jsp.jstl [196]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.containers.glassfish.jersey-gf-ejb [160]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.ejb.ejb-container [40]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.osgi-adapter [205]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.javax.security.auth.message [181]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-web-plugin [99]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.jaspic.provider.framework [126]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.cluster.ssh [60]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.webservices.soap-tcp [19]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.appclient.security [5]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-ejb-plugin [16]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [stax2-api [107]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.ha.ha-file-store [257]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.scattered-archive-api [177]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.web.javax.servlet.jsp [157]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.gui-plugin-common [80]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.webservices.metro-glue [156]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-ejb-container [281]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.external.dbschema-repackaged [152]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.deployment.deployment-client [53]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.ws.rs.javax.ws.rs-api [95]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.loadbalancer.load-balancer-admin [66]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.core.javaee-kernel [15]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.grizzly.nucleus-grizzly-all [9]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.registration.registration-impl [130]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [JSR352.API [239]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.enterprise.deploy-api [159]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [pfl-dynamic [32]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.jpa [149]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.gf-jpa-connector [206]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.corba.glassfish-corba-csiv2-idl [240]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.ha.shoal-cache-store [220]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.external.jmxremote_optional-repackaged [68]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.external.ldapbp-repackaged [166]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.jpa.modelgen [49]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.resources.javamail-runtime [256]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.osgi-platforms.osgi-container [31]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.fileinstall [272]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.gogo.command [286]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.ejb.gf-ejb-connector [103]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.metro.webservices-extra-jdk-packages [73]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.core.glassfish [247]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.ejb.security [248]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.corba.glassfish-corba-omgapi [252]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.javax.faces [231]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.media.jersey-media-multipart [198]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.appclient.acc-config [204]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.external.cglib [192]], State = [READY]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.launcher [254]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.internal-api [210]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [GlassFish-Application-Common-Module [168]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.interceptor-api [111]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.config-api [124]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-ejb-lite-plugin [267]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.codehaus.jettison.jettison [114]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [pfl-tf [249]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.ejb-api [25]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-community-branding-plugin [37]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.management.j2ee-api [81]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.bundlerepository [201]], State = [READY]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.servlet-api [165]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.core [104]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-javaee-base [282]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.jpa.jpql [83]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.gf-restadmin-connector [35]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.corba.glassfish-corba-internal-api [203]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.websocket-api [128]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.connectors.inbound-runtime [71]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.sse [155]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-jpa [278]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [jackson-core-asl [148]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.websecurity [82]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.xml.jaxr-api-osgi [79]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.registration.glassfish-registration [33]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.config-types [178]], State = [READY]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.gf-web-connector [167]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [woodstox-core-asl [94]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.osgi-platforms.felix-webconsole-extension [274]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-corba-plugin [174]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.shoal.cache [163]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.jdbc.runtime [188]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.external.asm-all-repackaged [262]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [pfl-basic-tools [217]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [jackson-xc [235]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.media.jersey-media-sse [173]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-cdi [275]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.appclient.server.appclient-connector [169]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.ejb.ejb-full-container [158]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.jpa-container [154]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.core [238]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.external.management-api [96]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.connectors.runtime [230]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.rest-service [263]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.glassfish-osgi-console-plugin [224]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.ssl-impl [161]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.transaction.jts [45]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.resource-api [134]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.containers.jersey-container-servlet [77]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security [142]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.javax.json [237]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.external.javax.inject [14]], State = [READY]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.class-model [216]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.osgi-resource-locator [4]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.external.trilead-ssh2-repackaged [258]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.spi [46]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.backup [75]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.antlr [28]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.grizzly.glassfish-grizzly-extra-all [10]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.connectors.gf-connectors-connector [52]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [pfl-basic [185]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.common [101]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.javax.enterprise.concurrent [100]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.ext.jersey-bean-validation [91]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.external.j-interop-repackaged [171]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.amx-core [13]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.resources.javamail-connector [215]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.asm [170]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.gf-weld-connector [65]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.deployment.common [110]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.monitoring-core [164]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.glassfish-api [260]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.cli [90]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [com.sun.pkg.client [44]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.ee [41]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.connectors.admin [244]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.glassfish-ee-api [241]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.util [153]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.webservices.security [208]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.core [175]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.loadbalancer.gf-load-balancer-connector [125]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.corba.glassfish-corba-orb [132]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-common [193]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.registration.registration-api [97]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.server [127]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.transaction.jta [214]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.resourcebase.resources.nucleus-resources [172]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.jms-api [184]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.ejb-mapping [74]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.concurrent.runtime [43]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.enhancer [151]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.media.jersey-media-moxy [50]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.jdbc.config [123]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.scr [284]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.hk2 [63]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.core.kernel [211]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.servlet.jsp.jstl-api [93]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.transaction.internal-api [88]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.batch.connector [232]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.ha [265]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [JSR352.Runtime [105]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.resources.connector [236]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.annotation-framework [23]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-jpa-extension [118]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.deployment.javaee-full [213]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.glassfish-naming [129]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.naming [8]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.weld-integration [51]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.utils [225]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.external.libpam4j-repackaged [56]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.orb.iiop [268]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.metro.webservices-osgi [6]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.core.jersey-common [243]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.weld-integration-fragment [87]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [jackson-mapper-asl [109]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.metro.webservices-api-osgi [1]], State = [READY]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-http [279]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.model [98]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.transaction.cdi-api [12]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.core [190]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.locator [30]], State = [READY]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [gmbal [221]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.support-sqlstore [245]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.gogo.runtime [277]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-cluster-plugin [54]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.container-servlet [180]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.orb.enabler [78]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.jdbc.admin [57]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [pfl-asm [147]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.websocket-core [116]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.webservices.connector [229]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.shoal.gms-api [234]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.webservices.jsr109-impl [86]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.simple-glassfish-api [67]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.api [47]], State = [READY]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.moxy [84]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.utility [102]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.cluster.gms-bootstrap [72]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [com.sun.mail.javax.mail [17]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.runlevel [227]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.resources.runtime [113]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-plugin-service [233]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.rest-client [85]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [pfl-tf-tools [34]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.cli [195]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.media.jersey-media-json-jackson [266]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.deployment.admin [18]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.enterprise.concurrent.javax.enterprise.concurrent-api [136]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.war-util [89]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.jms.admin [119]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.internal-api [115]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.jvnet.mimepull [131]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.glue [64]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.osgi-platforms.osgi-cli-remote [285]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.media.jersey-media-json-jettison [186]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.support-ejb [212]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-web-container [269]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.orb.connector [200]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.deployment.autodeploy [179]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.shoal.gms-impl [264]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-jdbc [270]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.entitybean-container [36]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.deployment.dol [138]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.external.schema2beans-repackaged [226]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.jms.gf-jms-connector [189]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.core.jersey-client [133]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.connectors.work-management [106]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [com.google.guava [141]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.appclient.server.appclient-server-core [140]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.container-common [143]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [com.sun.jsftemplating [21]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.javax.el [199]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.eventadmin [271]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.jsf-connector [76]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.external.ant [253]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.deployment.javaee-core [139]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.util [62]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.external.bean-validator [222]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.ejb.internal-api [246]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-common-full-plugin [150]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.cluster.gms-adapter [187]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.jspcaching-connector [219]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.servlet.jsp-api [197]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.core.glassfish-extra-jre-packages [183]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.eclipse.persistence.dbws [146]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.jms.gf-jms-injection [250]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.stats77 [24]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.connector.gf-admingui-connector [48]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [jaxb-api [3]], State = [READY]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-jdbc-plugin [223]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.jersey.core.jersey-server [22]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.appclient.gf-client-module [144]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.javax.security.jacc [42]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.jstl-connector [218]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.gogo.shell [276]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.flashlight.framework [259]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.ha.ha-api [145]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.inmemory.jacc.provider [120]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.flashlight.flashlight-extra-jdk-packages [55]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.common.amx-javaee [117]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.webconsole [273]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.fighterfish.osgi-jta [283]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.apache.felix.configadmin [280]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-jca-plugin [121]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-updatecenter-plugin [7]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [com.sun.xml.bind [61]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.cluster.admin [209]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.core.logging [202]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.connectors.internal-api [70]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.xml.rpc-api [261]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.console-jms-plugin [112]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.persistence [255]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.admingui.dataprovider [207]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.hk2.config [191]], State = [READY]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.client [228]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [com.sun.xml.bind.extra [92]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.web.embed-api [176]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.cmp.generator-database [251]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.persistence.glassfish-oracle-jdbc-driver-packages [182]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.tyrus.container-grizzly [135]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [javax.transaction-api [11]], State = [RESOLVED]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.security.services [242]], State = [NEW]]
[exec] Registered Module: [OSGiModuleImpl:: Bundle = [org.glassfish.main.concurrent.admin [137]], State = [NEW]]
[exec]
[exec] Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@2401e897 in service registry.
[exec] Found populator: com.sun.enterprise.v3.server.GFDomainXml
[exec] We are in non-embedded mode, so org.glassfish.main.core.glassfish [247] has nothing to do.
[exec] Completed shutdown of GlassFish runtime
[exec] Mar 06, 2013 10:06:18 PM BundleProvisioner createBundleProvisioner
[exec] INFO: clazz = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner
[exec] Exception in thread "main" java.lang.reflect.InvocationTargetException
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.lang.reflect.Method.invoke(Method.java:601)
[exec] at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
[exec] at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
[exec] Caused by: org.glassfish.embeddable.GlassFishException: com.sun.enterprise.module.bootstrap.BootException: Unable to load service
[exec] at com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime.newGlassFish(EmbeddedOSGiGlassFishRuntime.java:103)
[exec] at com.sun.enterprise.glassfish.bootstrap.GlassFishRuntimeDecorator.newGlassFish(GlassFishRuntimeDecorator.java:68)
[exec] at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntime.newGlassFish(OSGiGlassFishRuntime.java:88)
[exec] at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:113)
[exec] ... 6 more
[exec] Caused by: com.sun.enterprise.module.bootstrap.BootException: Unable to load service
[exec] at com.sun.enterprise.module.bootstrap.Main.findStartupService(Main.java:228)
[exec] at com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime.newGlassFish(EmbeddedOSGiGlassFishRuntime.java:98)
[exec] ... 9 more
[exec] Caused by: A MultiException has 5 exceptions. They are:
[exec] 1. java.lang.RuntimeException: java.io.IOException: Invalid keystore format
[exec] 2. java.lang.IllegalStateException: Unable to perform operation: post construct on org.glassfish.security.services.impl.DomainPasswordAliasStore
[exec] 3. java.lang.IllegalStateException: Unable to perform operation: post construct on com.sun.enterprise.v3.server.SystemTasksImpl
[exec] 4. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of com.sun.enterprise.v3.server.AppServerStartup errors were found
[exec] 5. java.lang.IllegalStateException: Unable to perform operation: resolve on com.sun.enterprise.v3.server.AppServerStartup
[exec]
[exec] at org.jvnet.hk2.internal.Collector.throwIfErrors(Collector.java:84)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:212)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:294)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:433)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:87)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2099)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:599)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:581)
[exec] at com.sun.enterprise.module.bootstrap.Main.findStartupService(Main.java:221)
[exec] ... 10 more
[exec] Caused by: java.lang.RuntimeException: java.io.IOException: Invalid keystore format
[exec] at org.glassfish.security.services.impl.DomainPasswordAliasStore.initStore(DomainPasswordAliasStore.java:69)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.lang.reflect.Method.invoke(Method.java:601)
[exec] at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:991)
[exec] at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:270)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:306)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:433)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2099)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:599)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:581)
[exec] at org.glassfish.config.support.TranslatedConfigView.domainPasswordAliasStore(TranslatedConfigView.java:160)
[exec] at org.glassfish.config.support.TranslatedConfigView.getTranslatedValue(TranslatedConfigView.java:80)
[exec] at com.sun.enterprise.v3.server.SystemTasksImpl.resolveJavaConfig(SystemTasksImpl.java:232)
[exec] at com.sun.enterprise.v3.server.SystemTasksImpl.postConstruct(SystemTasksImpl.java:108)
[exec] at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:264)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:306)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:433)
[exec] at org.glassfish.hk2.runlevel.internal.RunLevelContext.findOrCreate(RunLevelContext.java:119)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2099)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:540)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:174)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:197)
[exec] ... 17 more
[exec] Caused by: java.io.IOException: Invalid keystore format
[exec] at com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:709)
[exec] at java.security.KeyStore.load(KeyStore.java:1214)
[exec] at com.sun.enterprise.security.store.PasswordAdapter.loadKeyStore(PasswordAdapter.java:189)
[exec] at com.sun.enterprise.security.store.PasswordAdapter.<init>(PasswordAdapter.java:158)
[exec] at org.glassfish.security.services.impl.JCEKSPasswordAliasStore.init(JCEKSPasswordAliasStore.java:93)
[exec] at org.glassfish.security.services.impl.DomainPasswordAliasStore.initStore(DomainPasswordAliasStore.java:67)
[exec] ... 42 more
[exec]
[exec] Result: 1



 Comments   
Comment by Tim Quinn [ 06/Mar/13 ]

Can you describe exactly how the test "patches" the certs?

Comment by Sreekanth [ 06/Mar/13 ]

Probably this will help you.

http://docs.oracle.com/cd/E19159-01/820-1072/gfrgz/index.html

Comment by Sreekanth [ 06/Mar/13 ]

The download link to copyv3.zip provided in the link doesn't seem to work. I will send you an email to the link hosted internally on one of my boxes

Comment by Sreekanth [ 06/Mar/13 ]

Hi,

Just by patching the certificates alone, I am unable to reproduce this issue locally. I am able to reproduce this in 3 different automated setups, though.

But in the same automated setups, with glassfish b72 and prior builds this is working fine. So I can tell some thing changed in glassfish 4.0 b73. But I am unable to pinpoint what process of QE automation is creating the problem with b73. This might be caused by some change to glassfish ,that I am not aware.

I will update here as soon as I find what exactly is causing the issue in my setup. In the mean while if any one can security team can figure out what might have caused this, please let me know.

Comment by Sreekanth [ 06/Mar/13 ]

There is this target in our automation script which seems to create a problem.

<copy file="$

{admin.password.file}

" tofile="$

{as.home}

/domains/domain1/config/domain-passwords" overwrite="true"/>

Looks like till b72, when we replace the file with text file, some how glassfish never complained.

Tim,

Can you please take it from here. If there is some thing I need to know / I misunderstood, please guide me.

Thanks,
Sreekanth

Comment by Tim Quinn [ 06/Mar/13 ]

Sreekanth,

domain-passwords is a keystore that holds password aliases. Would a user really expect the system to continue to work if s/he replaced a binary keystore file with a text file?

I do not know why this worked with earlier builds. In fact it seems to me that earlier versions were incorrect if they did not flag this as an error.

If the admin.password.file is a text file you want to specify on asadmin commands using --passwordfile then the script should deposit it somewhere else, not overwrite the existing keystore.

Comment by Alex Pineda [ 08/Mar/13 ]

Needs this issue resolved in GF 4.0

Comment by Tim Quinn [ 08/Mar/13 ]

Alex, please clarify what you mean by needing this resolved for GF 4.0.

the file at $

{domain-dir}

/config/domain-passwords is a binary JCEKS keystore file that holds encrypted password aliases that are managed using "asadmin create-password-alias" and "asadmin delete-password-alias."

From what I understand from Sreekanth the test overwrites this binary file with a text file that the test uses as a password file (asadmin -passwordfile domain-passwords).

My point is that the test should place its password file elsewhere to avoid overwriting the domain's password alias binary file.

As for why this worked in earlier builds... I did some work within the past few weeks generalizing the password alias handling to support both open-source GF and other platforms. It's possible that the revised implementation for GF is reading the password alias keystore in as part of start-up, while the earlier releases might have done so only when an alias was first created or accessed. In either case, the tests should not overwrite this file – that's not something we'd support users doing.

Comment by Alex Pineda [ 12/Mar/13 ]

My request to resolve is based on the issue is marked as a "blocker" for Metro test execution. So, we need to resolve it. Does not mean we have the change the code. I see from your comments that you believe the test behavior is not correct. We need to get Sreekanth's feedback to see what he believes needs to be done.

Comment by Martin Grebac [ 13/Mar/13 ]

Just a side-note - Tim, doesn't what you describe have a performance implication on GF startup time as you describe previously some reading happened lazily?

Comment by Tim Quinn [ 13/Mar/13 ]

Good point, Martin.

I've checked in an change so that the keystore will be opened just-in-time on first actual use which will take it out of the server start-up code path.

Comment by Martin Grebac [ 14/Mar/13 ]

Perfect. Sreekanth - you mentioned yesterday this one is not blocking you any more - can the issue be closed then?

Comment by Tim Quinn [ 14/Mar/13 ]

I would recommend leaving this issue open until the tests have been changed to not overwrite the keystore.

The tests might have begun to pass again, now that the keystore is opened lazily again, but the tests should still be corrected.

Therefore I have changed the description and assigned this issue to Sreekanth.

Comment by Sreekanth [ 14/Mar/13 ]

Hi,

I have changed my test code to change the glassfish admin password using change-admin-password command. Now tests are back in shape.

Tim- I have changed my test code before you have made changes to read the keystore file lazily as you have mentioned in your previous comment. So I think I can close this for now.

Also want to mention that I didn't get a chance to check if my problem got resolved with your changes. I am not sure now if I need to check that as well. For now I will keep the issue open and reduce the severity .

Comment by Sreekanth [ 14/Mar/13 ]

Downgrading the severity as it is no more affecting my tests.

Comment by Tim Quinn [ 14/Mar/13 ]

Hi, Sreekanth.

Can you help me understand what effect changing the test to use change-admin-password will have?

From the original test code, it looked to me as if the test was specifying a text password file with contents like this:

AS_ADMIN_PASSWORD=some-password

and would then specify

--passwordfile $

{as.home}/domains/domain1/config/domain-passwords

on later asadmin commands as a way of choosing what admin password to use.

The basic idea of providing a password file in the test is fine. My point was that the test should not place its password text file at ${as.home}

/domains/domain1/config/domain-passwords because that file path is already used for a completely different purpose by GlassFish...it is the binary keystore file which holds password aliases (not passwords, password aliases).

Instead, the test should copy its password file to some other location - or perhaps not copy it at all and just use "--passwordfile $

{admin.password.file}

" on the asadmin commands.





Generated at Thu Jan 19 09:04:42 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.