[JBoss JIRA] Created: (SEAMSOCIAL-6) Errors with Facebook component the sample application
by Antoine Büsch (JIRA)
Errors with Facebook component the sample application
-----------------------------------------------------
Key: SEAMSOCIAL-6
URL: https://issues.jboss.org/browse/SEAMSOCIAL-6
Project: Seam Social
Issue Type: Bug
Components: Facebook
Affects Versions: 3.0.0.Alpha1
Environment: MacOS X / JBoss 6.0.0
Reporter: Antoine Büsch
Assignee: Antoine Sabot-Durand
When deploying the sample application and clicking on the Facebook icon, I get a Facebook page with an error message. The following stacktrace appears in the console:
21:30:45,370 ERROR [STDERR] javax.xml.bind.JAXBException: "org.jboss.seam.social.linkedin.model" doesnt contain ObjectFactory.class or jaxb.index
21:30:45,371 ERROR [STDERR] at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:197)
21:30:45,372 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
21:30:45,372 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
21:30:45,372 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
21:30:45,372 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
21:30:45,373 ERROR [STDERR] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:127)
21:30:45,373 ERROR [STDERR] at javax.xml.bind.ContextFinder.find(ContextFinder.java:276)
21:30:45,373 ERROR [STDERR] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
21:30:45,373 ERROR [STDERR] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
21:30:45,373 ERROR [STDERR] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:279)
21:30:45,374 ERROR [STDERR] at org.jboss.seam.social.linkedin.LinkedInHanlderScribe.init(LinkedInHanlderScribe.java:68)
21:30:45,374 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
21:30:45,374 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
21:30:45,374 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
21:30:45,374 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
21:30:45,375 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
21:30:45,375 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
21:30:45,375 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
21:30:45,375 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
21:30:45,375 ERROR [STDERR] at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:193)
21:30:45,375 ERROR [STDERR] at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:591)
21:30:45,376 ERROR [STDERR] at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:200)
21:30:45,376 ERROR [STDERR] at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:340)
21:30:45,376 ERROR [STDERR] at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:121)
21:30:45,376 ERROR [STDERR] at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)
21:30:45,376 ERROR [STDERR] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87)
21:30:45,377 ERROR [STDERR] at org.jboss.seam.social.linkedin.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$Users$abusch$apps$jboss-6$0$0$Final$server$default$deploy$social-web-client$war"-ManagedBean-class_org$jboss$seam$social$linkedin$LinkedInHanlderScribe_$$_WeldClientProxy.getType(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$Users$abusch$apps$jboss-6$0$0$Final$server$default$deploy$social-web-client$war"-ManagedBean-class_org$jboss$seam$social$linkedin$LinkedInHanlderScribe_$$_WeldClientProxy.java)
21:30:45,377 ERROR [STDERR] at org.jboss.seam.social.example.webclient.SocialClient$1.apply(SocialClient.java:81)
21:30:45,377 ERROR [STDERR] at org.jboss.seam.social.example.webclient.SocialClient$1.apply(SocialClient.java:75)
21:30:45,377 ERROR [STDERR] at com.google.common.collect.Maps.uniqueIndex(Maps.java:490)
21:30:45,377 ERROR [STDERR] at org.jboss.seam.social.example.webclient.SocialClient.init(SocialClient.java:74)
21:30:45,377 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
21:30:45,378 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
21:30:45,378 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
21:30:45,378 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
21:30:45,378 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
21:30:45,378 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
21:30:45,378 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
21:30:45,379 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
21:30:45,379 ERROR [STDERR] at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:193)
21:30:45,379 ERROR [STDERR] at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:591)
21:30:45,379 ERROR [STDERR] at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:200)
21:30:45,379 ERROR [STDERR] at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:340)
21:30:45,380 ERROR [STDERR] at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:121)
21:30:45,380 ERROR [STDERR] at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)
21:30:45,380 ERROR [STDERR] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87)
21:30:45,380 ERROR [STDERR] at org.jboss.seam.social.example.webclient.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$Users$abusch$apps$jboss-6$0$0$Final$server$default$deploy$social-web-client$war"-ManagedBean-class_org$jboss$seam$social$example$webclient$SocialClient_$$_WeldClientProxy.getServiceHandlers(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$Users$abusch$apps$jboss-6$0$0$Final$server$default$deploy$social-web-client$war"-ManagedBean-class_org$jboss$seam$social$example$webclient$SocialClient_$$_WeldClientProxy.java)
21:30:45,380 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
21:30:45,381 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
21:30:45,381 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
21:30:45,381 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
21:30:45,381 ERROR [STDERR] at javax.el.BeanELResolver.getValue(BeanELResolver.java:302)
21:30:45,381 ERROR [STDERR] at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
21:30:45,381 ERROR [STDERR] at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
21:30:45,382 ERROR [STDERR] at org.apache.el.parser.AstValue.getValue(AstValue.java:134)
21:30:45,382 ERROR [STDERR] at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187)
21:30:45,382 ERROR [STDERR] at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55)
21:30:45,382 ERROR [STDERR] at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55)
21:30:45,382 ERROR [STDERR] at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:106)
21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.getValue(UIRepeat.java:268)
21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.getDataModel(UIRepeat.java:244)
21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.setIndex(UIRepeat.java:434)
21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.process(UIRepeat.java:468)
21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:953)
21:30:45,383 ERROR [STDERR] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643)
21:30:45,383 ERROR [STDERR] at javax.faces.render.Renderer.encodeChildren(Renderer.java:164)
21:30:45,384 ERROR [STDERR] at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:849)
21:30:45,384 ERROR [STDERR] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643)
21:30:45,384 ERROR [STDERR] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
21:30:45,384 ERROR [STDERR] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
21:30:45,384 ERROR [STDERR] at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389)
21:30:45,384 ERROR [STDERR] at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127)
21:30:45,384 ERROR [STDERR] at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269)
21:30:45,385 ERROR [STDERR] at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269)
21:30:45,385 ERROR [STDERR] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
21:30:45,385 ERROR [STDERR] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
21:30:45,385 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
21:30:45,385 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
21:30:45,385 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
21:30:45,385 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
21:30:45,386 ERROR [STDERR] at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
21:30:45,386 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
21:30:45,386 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
21:30:45,386 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
21:30:45,386 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
21:30:45,386 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
21:30:45,387 ERROR [STDERR] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
21:30:45,387 ERROR [STDERR] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
21:30:45,387 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
21:30:45,387 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
21:30:45,387 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
21:30:45,387 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
21:30:45,387 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
21:30:45,388 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
21:30:45,388 ERROR [STDERR] at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
21:30:45,388 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
21:30:45,388 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
21:30:45,388 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
21:30:45,388 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
21:30:45,389 ERROR [STDERR] at java.lang.Thread.run(Thread.java:680)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] Created: (SEAMPERSIST-46) "Ambiguous dependencies for type [Synchronizations]" on GlassFish 3.1
by Hendy Irawan (JIRA)
"Ambiguous dependencies for type [Synchronizations]" on GlassFish 3.1
---------------------------------------------------------------------
Key: SEAMPERSIST-46
URL: https://issues.jboss.org/browse/SEAMPERSIST-46
Project: Seam Persistence
Issue Type: Bug
Affects Versions: 3.0.0.Final
Environment: GlassFish 3.1, Ubuntu 10.10, java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)
Reporter: Hendy Irawan
After adding @TransactionAttribute to a CDI bean, error occurs:
SEVERE: Exception while loading the app : WELD-001409 Ambiguous dependencies for type [Synchronizations] with qualifiers [@Default] at injection point [[parameter 1] of [method] @Inject public org.jboss.seam.transaction.EntityTransaction.init(Synchronizations)]. Possible dependencies [[Managed Bean [class org.jboss.seam.transaction.SeSynchronizations] with qualifiers [@Any @Default], Managed Bean [class org.jboss.seam.transaction.TransactionManagerSynchronizations] with qualifiers [@Any @Default]]]
org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [Synchronizations] with qualifiers [@Default] at injection point [[parameter 1] of [method] @Inject public org.jboss.seam.transaction.EntityTransaction.init(Synchronizations)]. Possible dependencies [[Managed Bean [class org.jboss.seam.transaction.SeSynchronizations] with qualifiers [@Any @Default], Managed Bean [class org.jboss.seam.transaction.TransactionManagerSynchronizations] with qualifiers [@Any @Default]]]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:309)
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:390)
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
13 years, 8 months