[JBoss JIRA] Created: (SEAMSOCIAL-18) OAuthServiceSettingsImpl is mandatory for all providers
by Marek Smigielski (JIRA)
OAuthServiceSettingsImpl is mandatory for all providers
-------------------------------------------------------
Key: SEAMSOCIAL-18
URL: https://issues.jboss.org/browse/SEAMSOCIAL-18
Project: Seam Social
Issue Type: Bug
Reporter: Marek Smigielski
Assignee: Antoine Sabot-Durand
When you don't need all of services (ex. Twitter), you still have to provide configuration for them all. It shouldn't be mandatory.
19:57:58,853 INFO [org.jboss.seam.social.oauth.SeamSocialExtension] *** Extension is in Process Bean ***
19:57:58,853 INFO [org.jboss.seam.social.oauth.SeamSocialExtension] === Found service LinkedIn ===
19:57:58,898 INFO [org.jboss.seam.international.status.TypedStatusMessageBundleExtension] Add @MessageBundle to org.jboss.seam.solder.reflection.annotated.AnnotatedTypeBuilder.messages injection point for the type: org.jboss.seam.solder.support.SolderMessages
19:57:58,913 INFO [org.jboss.seam.international.status.TypedStatusMessageBundleExtension] Add @MessageBundle to org.jboss.seam.solder.reflection.annotated.AnnotationBuilder.messages injection point for the type: org.jboss.seam.solder.support.SolderMessages
19:57:58,919 INFO [org.jboss.seam.social.oauth.SeamSocialExtension] *** Extension is in Process Bean ***
19:57:59,051 INFO [org.jboss.seam.social.oauth.SeamSocialExtension] *** Extension is in Process Bean ***
19:57:59,051 INFO [org.jboss.seam.social.oauth.SeamSocialExtension] === Found service Twitter ===
19:57:59,058 INFO [org.jboss.seam.config.xml.bootstrap.XmlConfigExtension] Wrapping InjectionTarget to set field values: org.jboss.seam.social.oauth.OAuthServiceSettingsImpl
19:57:59,097 INFO [org.jboss.seam.social.oauth.SeamSocialExtension] *** Extension is in Process Bean ***
19:57:59,122 INFO [org.jboss.seam.social.oauth.SeamSocialExtension] *** Extension is in Process Bean ***
19:57:59,533 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=vfs:///Users/marek/Tools/jboss-6.0.0.Final/server/default/deploy/checkout.war_WeldBootstrapBean state=Create: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [OAuthServiceSettings] with qualifiers [@RelatedTo] at injection point [[parameter 1] of [method] @Inject public org.jboss.seam.social.twitter.TwitterScribe.setSettings(OAuthServiceSettings)]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:305) [:6.0.0.Final]
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:139) [:6.0.0.Final]
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:162) [:6.0.0.Final]
at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:377) [:6.0.0.Final]
at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:363) [:6.0.0.Final]
at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:388) [:6.0.0.Final]
at org.jboss.weld.integration.deployer.env.helpers.BootstrapBean.boot(BootstrapBean.java:92) [:6.0.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 6 months
[JBoss JIRA] Created: (JBSEAM-4806) failed to load multiple apps with jboss-seam.jar in global classpath
by Alberto Fernández (JIRA)
failed to load multiple apps with jboss-seam.jar in global classpath
--------------------------------------------------------------------
Key: JBSEAM-4806
URL: https://issues.jboss.org/browse/JBSEAM-4806
Project: Seam 2
Issue Type: Bug
Environment: Java 1.6.23, Glasshfis v 2.1.1, Solaris 9 and Windows XP.
Reporter: Alberto Fernández
We have a special setup with seam jars in global classpath on server (some tweak needed). WEB-INF/lib is empty in this setup.
When loading multiple apps on the server, it fails on server restarts because the apps are loaded simultaneously with various threads and the class org.jboss.seam.contexts.Lifecycle have an static variable "application" shared for all threads. The solution: transform the "application" variable to a ThreadLocal variable (patch attached)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 6 months
[JBoss JIRA] Created: (SEAMSOCIAL-13) Loose the coupling with Scribe-Java Library by using Injection
by Antoine Sabot-Durand (JIRA)
Loose the coupling with Scribe-Java Library by using Injection
--------------------------------------------------------------
Key: SEAMSOCIAL-13
URL: https://issues.jboss.org/browse/SEAMSOCIAL-13
Project: Seam Social
Issue Type: Task
Components: OAuth Core
Affects Versions: 3.0.0.Alpha1
Reporter: Antoine Sabot-Durand
Assignee: Antoine Sabot-Durand
Fix For: 3.0.0.Alpha2
We should loose the coupling with Scribe framework by using a bean injection to interact with Scribe calls instead of making all the services beans heritated from OAuthServiceScribe. Thus we could change the underlying low level OAuth management framework without impacting all the service Beans
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 6 months