[GLASSFISH-19945] java.lang.IllegalStateException thrown while running some security WSS tests Created: 19/Mar/13  Updated: 26/Apr/13  Resolved: 26/Apr/13

Status: Resolved
Project: glassfish
Component/s: security
Affects Version/s: None
Fix Version/s: 4.0_b87_RC3

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

OS: oel5.8
build: promoted build 80


Tags: 4_0-approved

 Description   

There are 6 test cases failed in security/wss test module with the same exceptions. The list of the failed tests:
appserver-sqe/pe/security/wss/sslwss/clientcerto/ejbws
appserver-sqe/pe/security/wss/sslwss/clientcerto/servletws
appserver-sqe/pe/security/wss/sslwss/transpo/ejbws
appserver-sqe/pe/security/wss/sslwss/transpo/servletws
appserver-sqe/pe/security/wss/dynencryptkey/servletws

These tests passed for GF3.x and failed for GF4.0. No test code changes made.
Steps to reproduce the bug:

1. Install GF4.0, start domain
2. Checkout SQE workspace:
cvs co appserver-sqe/bootstrap.xml
(CVSROOT: :pserver:<your cvs user>@sunsw.us.oracle.com:/m/jws
cd appserver-sqe
ant -f bootstrap.xml co-security
3.set following env. variables
S1AS_HOME <GF install dir>, for example: /export/sonia/v4/glassfish4/glassfish
SPS_HOME <appserver-sqe>, for example: /export/sonia/appserver-sqe
ANT_HOME <ant location>, for example: /export/sonia/ant-1.7.1
JAVA_HOME <java location>, for example: /export/sonia/jdk1.7.0_04
4. cd <workspace dir>/appserver-sqe/pe/security/wss, run "ant enable-wss-log"
5. cd <workspace dir>/appserver-sqe/pe/security/wss/dynencryptkey, run "ant all". The test failed and following exceptions displayed in the client side:

runclient-ssl-pe:
[echo] Test is running on Platform Edition!
[exec] Mar 19, 2013 12:38:26 PM org.glassfish.appclient.client.acc.AppclientCommandArguments warnAboutPasswordUsage
[exec] WARNING: ACC013: The -password option is deprecated and will likely be removed in a future release. Please use -passwordfile or let the app client container prompt for the username and/or password if they are needed to access a remote resource.
[exec] Mar 19, 2013 12:38:29 PM com.sun.enterprise.deployment.node.SaxParserHandler error
[exec] SEVERE: enterprise.deployment.backend.invalidDescriptorFailure
[exec] Mar 19, 2013 12:38:29 PM com.sun.enterprise.deployment.node.SaxParserHandler error
[exec] SEVERE: enterprise.deployment.backend.invalidDescriptorFailure
[exec] Mar 19, 2013 12:38:29 PM com.sun.enterprise.deployment.ServiceReferenceDescriptor addRuntimePortInfo
[exec] WARNING: Runtime port info SEI null is not declared in standard service-ref deployment descriptors (under port-component-ref), is this intended ?
[exec] MultiException stack 1 of 12
[exec] java.lang.IllegalStateException: java.io.IOException: Keystore was tampered with, or password was incorrect
[exec] at com.sun.enterprise.security.ssl.impl.SecuritySupportImpl.loadStores(SecuritySupportImpl.java:217)
[exec] at com.sun.enterprise.security.ssl.impl.SecuritySupportImpl.initJKS(SecuritySupportImpl.java:150)
[exec] at com.sun.enterprise.security.ssl.impl.SecuritySupportImpl.<init>(SecuritySupportImpl.java:122)
[exec] at com.sun.enterprise.security.ssl.impl.SecuritySupportImpl.<init>(SecuritySupportImpl.java:117)
[exec] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[exec] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
[exec] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[exec] at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
[exec] at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1087)
[exec] at org.jvnet.hk2.internal.ClazzCreator.createMe(ClazzCreator.java:245)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:320)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:573)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:560)
[exec] at org.glassfish.appclient.client.acc.ACCModulesManager.getService(ACCModulesManager.java:158)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.createContainer(AppClientContainerBuilder.java:183)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:171)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainerForAppClientArchiveOrDir(AppClientFacade.java:456)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:415)
[exec] at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:270)
[exec] at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
[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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
[exec] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
[exec] Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
[exec] at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:772)
[exec] at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
[exec] at java.security.KeyStore.load(KeyStore.java:1214)
[exec] at com.sun.enterprise.security.ssl.impl.SecuritySupportImpl.loadKS(SecuritySupportImpl.java:254)
[exec] at com.sun.enterprise.security.ssl.impl.SecuritySupportImpl.loadStores(SecuritySupportImpl.java:208)
[exec] ... 68 more
[exec] Caused by: java.security.UnrecoverableKeyException: Password verification failed
[exec] at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:770)
[exec] ... 72 more
[exec] MultiException stack 2 of 12
[exec] java.lang.IllegalStateException: Unable to perform operation: create on com.sun.enterprise.security.ssl.impl.SecuritySupportImpl
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:347)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:573)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:560)
[exec] at org.glassfish.appclient.client.acc.ACCModulesManager.getService(ACCModulesManager.java:158)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.createContainer(AppClientContainerBuilder.java:183)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:171)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainerForAppClientArchiveOrDir(AppClientFacade.java:456)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:415)
[exec] at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:270)
[exec] at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
[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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
[exec] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
[exec] MultiException stack 3 of 12
[exec] java.lang.IllegalArgumentException: While attempting to resolve the dependencies of com.sun.enterprise.security.ssl.SSLUtils errors were found
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:227)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:573)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:560)
[exec] at org.glassfish.appclient.client.acc.ACCModulesManager.getService(ACCModulesManager.java:158)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.createContainer(AppClientContainerBuilder.java:183)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:171)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainerForAppClientArchiveOrDir(AppClientFacade.java:456)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:415)
[exec] at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:270)
[exec] at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
[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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
[exec] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
[exec] MultiException stack 4 of 12
[exec] java.lang.IllegalStateException: Unable to perform operation: resolve on com.sun.enterprise.security.ssl.SSLUtils
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:341)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:573)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:560)
[exec] at org.glassfish.appclient.client.acc.ACCModulesManager.getService(ACCModulesManager.java:158)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.createContainer(AppClientContainerBuilder.java:183)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:171)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainerForAppClientArchiveOrDir(AppClientFacade.java:456)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:415)
[exec] at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:270)
[exec] at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
[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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
[exec] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
[exec] MultiException stack 5 of 12
[exec] java.lang.IllegalArgumentException: While attempting to resolve the dependencies of com.sun.enterprise.iiop.security.IIOPSSLUtilImpl errors were found
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:227)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:573)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:560)
[exec] at org.glassfish.appclient.client.acc.ACCModulesManager.getService(ACCModulesManager.java:158)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.createContainer(AppClientContainerBuilder.java:183)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:171)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainerForAppClientArchiveOrDir(AppClientFacade.java:456)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:415)
[exec] at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:270)
[exec] at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
[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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
[exec] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
[exec] MultiException stack 6 of 12
[exec] java.lang.IllegalStateException: Unable to perform operation: resolve on com.sun.enterprise.iiop.security.IIOPSSLUtilImpl
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:341)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:573)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:560)
[exec] at org.glassfish.appclient.client.acc.ACCModulesManager.getService(ACCModulesManager.java:158)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.createContainer(AppClientContainerBuilder.java:183)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:171)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainerForAppClientArchiveOrDir(AppClientFacade.java:456)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:415)
[exec] at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:270)
[exec] at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
[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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
[exec] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
[exec] MultiException stack 7 of 12
[exec] java.lang.IllegalArgumentException: While attempting to resolve the dependencies of com.sun.enterprise.security.appclient.AppClientSecurityInfoImpl errors were found
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:227)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:573)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:560)
[exec] at org.glassfish.appclient.client.acc.ACCModulesManager.getService(ACCModulesManager.java:158)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.createContainer(AppClientContainerBuilder.java:183)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:171)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainerForAppClientArchiveOrDir(AppClientFacade.java:456)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:415)
[exec] at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:270)
[exec] at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
[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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
[exec] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
[exec] MultiException stack 8 of 12
[exec] java.lang.IllegalStateException: Unable to perform operation: resolve on com.sun.enterprise.security.appclient.AppClientSecurityInfoImpl
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:341)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:107)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:573)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:560)
[exec] at org.glassfish.appclient.client.acc.ACCModulesManager.getService(ACCModulesManager.java:158)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.createContainer(AppClientContainerBuilder.java:183)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:171)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainerForAppClientArchiveOrDir(AppClientFacade.java:456)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:415)
[exec] at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:270)
[exec] at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
[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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
[exec] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
[exec] MultiException stack 9 of 12
[exec] java.lang.IllegalArgumentException: While attempting to resolve the dependencies of org.glassfish.appclient.client.acc.AppClientContainerSecurityHelper errors were found
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:227)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:573)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:560)
[exec] at org.glassfish.appclient.client.acc.ACCModulesManager.getService(ACCModulesManager.java:158)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.createContainer(AppClientContainerBuilder.java:183)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:171)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainerForAppClientArchiveOrDir(AppClientFacade.java:456)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:415)
[exec] at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:270)
[exec] at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
[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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
[exec] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
[exec] MultiException stack 10 of 12
[exec] java.lang.IllegalStateException: Unable to perform operation: resolve on org.glassfish.appclient.client.acc.AppClientContainerSecurityHelper
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:341)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:543)
[exec] at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:192)
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:215)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:573)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:560)
[exec] at org.glassfish.appclient.client.acc.ACCModulesManager.getService(ACCModulesManager.java:158)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.createContainer(AppClientContainerBuilder.java:183)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:171)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainerForAppClientArchiveOrDir(AppClientFacade.java:456)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:415)
[exec] at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:270)
[exec] at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
[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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
[exec] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
[exec] MultiException stack 11 of 12
[exec] java.lang.IllegalArgumentException: While attempting to resolve the dependencies of org.glassfish.appclient.client.acc.AppClientContainer errors were found
[exec] at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:227)
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:312)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:573)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:560)
[exec] at org.glassfish.appclient.client.acc.ACCModulesManager.getService(ACCModulesManager.java:158)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.createContainer(AppClientContainerBuilder.java:183)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:171)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainerForAppClientArchiveOrDir(AppClientFacade.java:456)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:415)
[exec] at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:270)
[exec] at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
[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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
[exec] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
[exec] MultiException stack 12 of 12
[exec] java.lang.IllegalStateException: Unable to perform operation: resolve on org.glassfish.appclient.client.acc.AppClientContainer
[exec] at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:341)
[exec] at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
[exec] at org.jvnet.hk2.internal.PerLookupContext.findOrCreate(PerLookupContext.java:69)
[exec] at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2203)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:573)
[exec] at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:560)
[exec] at org.glassfish.appclient.client.acc.ACCModulesManager.getService(ACCModulesManager.java:158)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.createContainer(AppClientContainerBuilder.java:183)
[exec] at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:171)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainerForAppClientArchiveOrDir(AppClientFacade.java:456)
[exec] at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:415)
[exec] at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:270)
[exec] at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
[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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
[exec] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)

— I checked server.log and no exceptions there.



 Comments   
Comment by Tim Quinn [ 03/Apr/13 ]

Fix checked in:

Project: glassfish
Repository: svn
Revision: 61118
Author: tjquinn
Date: 2013-04-03 04:18:21 UTC
Link:

Log Message:
------------
Fix for GLASSFISH-19945 - java.lang.IllegalStateException thrown while running some security WSS tests

Formerly, the SecuritySupportImpl class would get the passwords to use for the keystore and the truststore from the MasterPasswordHelper. Only if the keystore password was null would it check the standard system properties for the passwords.

If an appclient command specified a keystore or truststore password using a system property settingon the command line, SecuritySupportImpl would ignore them (if the master pw helper returned non-null ones, which it would: the defaults.)

This change causes the SecuritySupportImpl to check for and use the system property settings either if the passwords from the master password helper are null or if the current environment is the ACC.

Tests: QL, SQE test (appserver-sqe/pe/security/wss/dynencryptkey/servletws)

Revisions:
----------
61118

Modified Paths:
---------------
trunk/main/nucleus/security/ssl-impl/src/main/java/com/sun/enterprise/security/ssl/impl/SecuritySupportImpl.java

Comment by sonialiu [ 25/Apr/13 ]

Thanks Tim for the fix. However, I am still seeing the same failures with the same exceptions when I ran appserver-sqe/pe/security/wss/dynencryptkey/servletws test against latest nightly build (04/25 nightly), could you please double check if the fix is in? Thanks.

Comment by Tim Quinn [ 26/Apr/13 ]

Looks as if some changes in hk2 or run levels have changed when SecuritySupportImpl is instantiated relative to services it injects.

As a result, the logic that used to work to detect if the class is running in the ACC no longer works.

  • What is the impact on the customer of the bug?
    SQE regression. User-specified keystore and truststore passwords are ignored when launching a client.
  • What is the cost/risk of fixing the bug?
    Minimal cost and risk. If injected fields are null when they are needed then just use the default habitat to look them up explicitly.
  • Is there an impact on documentation or message strings?
    No
  • Which tests should QA (re)run to verify the fix did not destabilize GlassFish?
    QL (and the SQE test Sonia has identified to verify the fix)
  • Which is the targeted build of 4.0 for this fix?
    4.0-b87
  • If this an integration of a new version of a component from another project,
    what are the changes that are being brought in?
    n/a
Comment by Tim Quinn [ 26/Apr/13 ]

Fix checked in.

Project: glassfish
Repository: svn
Revision: 61684
Author: tjquinn
Date: 2013-04-26 18:33:43 UTC
Link:

Log Message:
------------
Fix for GLASSFISH-19945 - java.lang.IllegalStateException thrown while running some security WSS tests

This problem seems to have returned with some changes in hk2 or run levels. Fields that used to be injected in the ACC case are no longer.

These changes check all injected fields before use and, if null, try to load them from the service locator explicitly.

Approved: Michael C
Reviewed: Tom M

Revisions:
----------
61684

Modified Paths:
---------------
trunk/main/nucleus/security/ssl-impl/src/main/java/com/sun/enterprise/security/ssl/impl/SecuritySupportImpl.java

Generated at Tue Jun 02 06:07:37 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.