[seam-issues] [JBoss JIRA] Issue Comment Edited: (SEAMSECURITY-47) security-openid-rp - fails to deploy on GlassFish
Jozef Hartinger (JIRA)
jira-events at lists.jboss.org
Thu Mar 24 07:51:45 EDT 2011
[ https://issues.jboss.org/browse/SEAMSECURITY-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591517#comment-12591517 ]
Jozef Hartinger edited comment on SEAMSECURITY-47 at 3/24/11 7:50 AM:
----------------------------------------------------------------------
Shane, right, but the org.jboss.seam.security.external.openid.OpenIdRpBean class itself is not an assignable bean since it is annotated with @Typed(OpenIdRpBean.class)
The org.jboss.seam.security.external.openid.OpenIdRpInApplicationScopeProducer is required. This bean is an alternative, which is enabled (through beans.xml) in the WEB-INF/classes BDA, but it is not enabled in the seam-security-external BDA. Thus the UnsatisfiedResolutionException.
was (Author: jharting):
Shane, right, but the org.jboss.seam.security.external.openid.OpenIdRpBean class itself is not an assignable bean since it is annotated with @Typed(OpenIdRpBean.class)
The org.jboss.seam.security.external.openid.OpenIdRpInApplicationScopeProducer is required.
> security-openid-rp - fails to deploy on GlassFish
> -------------------------------------------------
>
> Key: SEAMSECURITY-47
> URL: https://issues.jboss.org/browse/SEAMSECURITY-47
> Project: Seam Security
> Issue Type: Bug
> Affects Versions: 3.0.0.CR3
> Reporter: Jozef Hartinger
> Assignee: Shane Bryzak
> Priority: Critical
> Fix For: 3.0.0.Final
>
>
> Looks like a bug in Seam, since nor I am able to locate an assignable implementation of OpenIdRelyingPartyApi
> [#|2011-03-24T11:50:30.349+0100|SEVERE|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=61;_ThreadName=Thread-1;|Exception while loading the app : WELD-001408 Unsatisfied dependencies for type [OpenIdRelyingPartyApi] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.seam.security.external.openid.OpenIdAuthenticator.openIdApi]
> org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [OpenIdRelyingPartyApi] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.seam.security.external.openid.OpenIdAuthenticator.openIdApi]
> at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:305)
> at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:139)
> at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:162)
> at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:385)
> at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:371)
> at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:396)
> at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:190)
> at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128)
> at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:298)
> at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
> 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:355)
> at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
> at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
> at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
> at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
> at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
> at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:465)
> at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:222)
> 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:822)
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
> 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:662)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list