dev@glassfish.java.net

Re: Build failure on Windows : UnsatisfiedDepedencyException

From: Sekhar Vajjhala <Sekhar.Vajjhala_at_Sun.COM>
Date: Thu, 01 Oct 2009 08:09:23 -0400

I did update my workspace yesterday and even blew away the workspace
and started fresh . But I still got the error below.

Issue 9599 seems to have been fixed on Sept 19, 2009.
So, the fix should be in my workspace.

But I will give it one more try right now.

Thanks,
Sekhar

Jane Young wrote:
> This is related to
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=9599
>
> Please update your workspace and recompile.
>
> Thanks,
> Jane
>
>
> Sekhar Vajjhala wrote:
>> I am trying to build GF v3 from trunk using the instructions
>> http://wiki.glassfish.java.net/Wiki.jsp?page=V3FullBuildInstructions
>> on Windows XP. The build is failing with
>> UnsatisfiedDepedencyException - stack trace below.
>>
>> Any suggestions ?
>>
>> It looks like the Windows GF build on Hudson (
>> http://hudson.glassfish.org/job/gf-trunk-build-windows/ ) is
>> successful, though.
>>
>> Thanks,
>> Sekhar
>>
>> ------------------------------------------
>> SEVERE: Exception while deploying the app
>> org.jvnet.hk2.component.UnsatisfiedDepedencyException: Unsatisfied
>> dependency ex
>> ception : private com.sun.enterprise.security.ssl.SSLUtils
>> com.sun.enterprise.se
>> curity.SecurityLifecycle.sslUtils
>> at
>> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java
>> :102)
>> at
>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:1
>> 70)
>> at
>> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:91)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java
>> :88)
>> at
>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
>> at
>> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.jav
>> a:58)
>> at
>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>> at
>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
>> pl.java:60)
>> at
>> com.sun.enterprise.security.SecuritySniffer.setup(SecuritySniffer.jav
>> a:105)
>> at
>> com.sun.enterprise.v3.server.ContainerStarter.startContainer(Containe
>> rStarter.java:99)
>> at
>> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainer(Appl
>> icationLifecycle.java:671)
>> at
>> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos
>> (ApplicationLifecycle.java:419)
>> at
>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationL
>> ifecycle.java:232)
>> at
>> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDep
>> loyerImpl.java:186)
>> at
>> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDep
>> loyerImpl.java:146)
>> at
>> org.glassfish.ejb.embedded.EJBContainerImpl.deploy(EJBContainerImpl.j
>> ava:112)
>> at
>> org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContaine
>> r(EJBContainerProviderImpl.java:120)
>> at
>> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.jav
>> a:102)
>> at
>> org.glassfish.distributions.test.UnitTest.test(UnitTest.java:63)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMet
>> hodRunner.java:99)
>> at
>> org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethod
>> Runner.java:81)
>> at
>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
>> dAfterRunner.java:34)
>> at
>> org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunne
>> r.java:75)
>> at
>> org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java
>> :45)
>> at
>> org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(Te
>> stClassMethodsRunner.java:66)
>> at
>> org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethod
>> sRunner.java:35)
>> at
>> org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClass
>> Runner.java:42)
>> at
>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
>> dAfterRunner.java:34)
>> at
>> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:5
>> 2)
>> at
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
>> java:62)
>> at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
>> tSet(AbstractDirectoryTestSuite.java:140)
>> at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
>> stractDirectoryTestSuite.java:165)
>> at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
>> refireBooter.java:289)
>> at
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
>> ava:1005)
>> Caused by: org.jvnet.hk2.component.UnsatisfiedDepedencyException:
>> Unsatisfied de
>> pendency exception :
>> com.sun.enterprise.server.pluggable.SecuritySupport com.sun
>> .enterprise.security.ssl.SSLUtils.secSupp
>> at
>> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java
>> :102)
>> at
>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:1
>> 70)
>> at
>> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:91)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java
>> :88)
>> at
>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
>> at
>> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.jav
>> a:58)
>> at
>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>> at
>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
>> pl.java:60)
>> at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:599)
>> at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:580)
>> at
>> com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.ja
>> va:149)
>> at
>> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java
>> :81)
>> ... 43 more
>> Caused by: org.jvnet.hk2.component.ComponentException: Failed to
>> create class co
>> m.sun.enterprise.security.ssl.SecuritySupportImpl
>> at
>> com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:80)
>>
>> at
>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:71)
>> at
>> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.jav
>> a:58)
>> at
>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>> at
>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
>> pl.java:60)
>> at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:358)
>> at
>> com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.ja
>> va:144)
>> at
>> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java
>> :81)
>> ... 55 more
>> Caused by: java.lang.IllegalStateException: java.io.EOFException
>> at
>> com.sun.enterprise.security.ssl.SecuritySupportImpl.loadStores(Securi
>> tySupportImpl.java:156)
>> at
>> com.sun.enterprise.security.ssl.SecuritySupportImpl.initJKS(SecurityS
>> upportImpl.java:107)
>> at
>> com.sun.enterprise.security.ssl.SecuritySupportImpl.<init>(SecuritySu
>> pportImpl.java:86)
>> at
>> com.sun.enterprise.security.ssl.SecuritySupportImpl.<init>(SecuritySu
>> pportImpl.java:81)
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
>> orAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
>> onstructorAccessorImpl.java:27)
>> at
>> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>> at java.lang.Class.newInstance0(Class.java:355)
>> at java.lang.Class.newInstance(Class.java:308)
>> at
>> com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:72)
>>
>> ... 62 more
>> Caused by: java.io.EOFException
>> at java.io.DataInputStream.readInt(DataInputStream.java:375)
>> at
>> sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:628)
>> at
>> sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:3
>> 8)
>> at java.security.KeyStore.load(KeyStore.java:1185)
>> at
>> com.sun.enterprise.security.ssl.SecuritySupportImpl.loadKS(SecuritySu
>> pportImpl.java:194)
>> at
>> com.sun.enterprise.security.ssl.SecuritySupportImpl.loadStores(Securi
>> tySupportImpl.java:147)
>> ... 72 more
>> Sep 29, 2009 7:14:55 AM
>> org.glassfish.ejb.embedded.EJBContainerProviderImpl crea
>> teEJBContainer
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>