tried to do it but that doesn't work. I thought the @Factory specifies that the
method of the component is used to initialize the value of the named context
variable, when the context variable has no value --> which means myBean == null
(please correct me if I am wrong). But myBean is already created with the
@In(create=true) statement !
I added as adviced the @Factory-annotation:
| @Stateful
| @Name("myController")
| @Interceptors(SeamInterceptor.class)
| @LoggedIn
| public class Controller {
|
| @In(value="myBean",create=true)
| protected MyBean myBean;
|
| /**
| * begin conversation
| **/
| @Create
| @Begin
| public void init() {
| myBean.setTheValueThatShouldBeSeenInTheForm("Hello World");
| }
|
| @Factory("myBean")
| public void initMyBean() {
| // doNothing !!!
| }
|
| /**
| * just do any conversation-logic
| **/
| public void doAnythingAction() {
| ...
| }
|
| /**
| * finish conversation
| **/
| @End
| public void doEndConversationAction() {
| ...
| }
| }
|
and ended in the following recursive exception - any ideas ???
| 2006-03-08 18:37:12,484 ERROR [STDERR]
java.lang.reflect.UndeclaredThrowableException
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
$Proxy155.LoginActionInit(Unknown Source)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.callComponentMethod(Component.java:1146)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.callCreateMethod(Component.java:1134)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.newInstance(Component.java:1123)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1071)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1054)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.getInstanceFromFactory(Component.java:1104)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1068)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1054)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.getInstanceToInject(Component.java:1178)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.injectFields(Component.java:862)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.inject(Component.java:679)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:29)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:61)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:38)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:41)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:120)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:62)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:190)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
$Proxy155.LoginActionInit(Unknown Source)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.callComponentMethod(Component.java:1146)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.callCreateMethod(Component.java:1134)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.newInstance(Component.java:1123)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1071)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1054)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.getInstanceFromFactory(Component.java:1104)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1068)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1054)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.getInstanceToInject(Component.java:1178)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.injectFields(Component.java:862)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.Component.inject(Component.java:679)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:29)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:61)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,500 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:38)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:41)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:120)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:62)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:190)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
$Proxy155.LoginActionInit(Unknown Source)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.Component.callComponentMethod(Component.java:1146)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.Component.callCreateMethod(Component.java:1134)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.Component.newInstance(Component.java:1123)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1071)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1054)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.Component.getInstanceFromFactory(Component.java:1104)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1068)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1054)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.Component.getInstanceToInject(Component.java:1178)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.Component.injectFields(Component.java:862)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.Component.inject(Component.java:679)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:29)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:61)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,515 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,562 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:38)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:41)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:120)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:62)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:190)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
$Proxy155.LoginActionInit(Unknown Source)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,656 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.Component.callComponentMethod(Component.java:1146)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.Component.callCreateMethod(Component.java:1134)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.Component.newInstance(Component.java:1123)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1071)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1054)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.Component.getInstanceFromFactory(Component.java:1104)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1068)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.Component.getInstance(Component.java:1054)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.Component.getInstanceToInject(Component.java:1178)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.Component.injectFields(Component.java:862)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.Component.inject(Component.java:679)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:29)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:61)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:585)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58)
| 2006-03-08 18:37:12,671 ERROR [STDERR] at
sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)
|
| this continous endless
|
|
So what is the difference between @Factory and @Create, and when in the
livecycle of Seam a injected bean is available ???
It is a fact, that the bean is already created when the init()-Method is called
(otherwise I would get a nullpointerexception), but the changed value there is
not outjected to the faces-context again after init() has finished (that is
what I assume). Even the @Out annotation has no influence on this at all ...
Is this a bug or a feature ? Please help ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928820#3928820
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928820
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user