dev@glassfish.java.net

security runtime error

From: <Shing-Wai.Chan_at_Sun.COM>
Date: Fri, 29 Feb 2008 16:03:05 -0800

I have updated my workspace and see the following:

SEVERE: Error during deployment :
org.jvnet.hk2.component.UnsatisfiedDepedencyException: Unsatisfied
dependency exception : private
com.sun.enterprise.security.SecurityServicesUtil
com.sun.enterprise.security.SecurityLifecycle.secServUtil
        at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:83)
        at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:64)
        at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:50)
        at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:39)
        at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:22)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71)
        at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:24)
        at
com.sun.enterprise.security.SecuritySniffer.setup(SecuritySniffer.java:51)
        at
com.sun.enterprise.v3.server.ContainerStarter.startContainer(ContainerStarter.java:103)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainer(ApplicationLifecycle.java:478)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.load(ApplicationLifecycle.java:272)
        at
com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:276)
        at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:171)
        at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:79)
        at
com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:152)
        at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:109)
        at
com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:605)
        at
com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:536)
        at
com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:785)
        at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:130)
        at
com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:99)
        at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:101)
        at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:78)
        at
com.sun.grizzly.http.SelectorThread$1.execute(SelectorThread.java:669)
        at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
        at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
        at
com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179)
Caused by: org.jvnet.hk2.component.UnsatisfiedDepedencyException:
Unsatisfied dependency exception : private
com.sun.enterprise.server.pluggable.SecuritySupport
com.sun.enterprise.security.SecurityServicesUtil.peSecSupport
        at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:83)
        at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:64)
        at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:50)
        at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:39)
        at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:22)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71)
        at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:24)
        at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:464)
        at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:445)
        at
com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:91)
        at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:64)
        ... 26 more
Caused by: org.jvnet.hk2.component.ComponentException: Failed to create
class com.sun.enterprise.security.SecuritySupportImpl
        at
com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:40)
        at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:38)
        at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:22)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71)
        at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:24)
        at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:278)
        at
com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:86)
        at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:64)
        ... 36 more
Caused by: java.lang.NoClassDefFoundError:
javax/security/jacc/PolicyContextException
        at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:96)
        at
com.sun.enterprise.security.SecuritySupportImpl.initJKS(SecuritySupportImpl.java:85)
        at
com.sun.enterprise.security.SecuritySupportImpl.<init>(SecuritySupportImpl.java:79)
        at
com.sun.enterprise.security.SecuritySupportImpl.<init>(SecuritySupportImpl.java:74)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at
com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:34)
        ... 43 more