[JBoss Seam] - Problem with @Asynchronous
by hasc
Hi,
after trying to set up a TimerService without success i was trying to set up a scheduled task with @Asynchronous.
I ' am running into a similiar or same (i am still not so familiar with seam) error message.
i wrote an observer which triggers the asynchronous annotated method:
@Name("initializer")
| public class Initializer {
|
| @Logger Log log;
|
| @In(create=true)
| CacheObserver cacheobserver;
|
| @Observer("hello")
| public void log(String msg)
| {
| log.info("cacheobserver called");
| Calendar calendar = Calendar.getInstance();
| calendar.add(Calendar.MINUTE,1);
| cacheobserver.checkCache(calendar.getTime(),new Long(2000000));
|
| }
| }
the @Asynchronous annotated method is provided by an stateless bean:
| @Local
| public interface CacheObserver{
|
| @Asynchronous
| public void checkCache(@Expiration java.util.Date date, @IntervalDuration Long duration);
| }
|
|
| @Stateless
| @Name("cacheobserver")
| public class CacheObserverBean implements CacheObserver, Serializable
| {
| @Logger Log log;
|
| public void checkCache(Date date, Long d)
| {
| log.info("check cache!");
| }
|
| }
|
here is the stacktrace i get:
2007-10-21 17:10:15,484 INFO [de.axima.gmp.service.Initializer] cacheobserver called
| 2007-10-21 17:10:15,484 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1115c51, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@1b04fbf{ url=null ,addedOrder=0}
| 2007-10-21 17:10:15,484 DEBUG [org.jboss.seam.intercept.RootInterceptor] intercepted: cacheobserver.checkCache
| 2007-10-21 17:10:15,500 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.dispatcher
| 2007-10-21 17:10:15,500 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.intercept.RootInterceptor] intercepted: org.jboss.seam.core.dispatcher.scheduleInvocation
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.intercept.SessionBeanInterceptor] post construct phase for instance of component: org.jboss.seam.core.dispatcher
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.dispatcher
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.dispatcher
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.intercept.RootInterceptor] intercepted: org.jboss.seam.core.dispatcher.POST_CONSTRUCT
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.intercept.RootInterceptor] intercepted: org.jboss.seam.core.dispatcher.scheduleInvocation
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.dispatcher
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
| 2007-10-21 17:10:15,515 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.dispatcher
| 2007-10-21 17:10:15,609 DEBUG [org.jboss.ejb.txtimer.TimerImpl] setTimerState: created
| 2007-10-21 17:10:15,625 WARN [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] Adding multiple last resources is disallowed. Current resource is org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@147c327
| 2007-10-21 17:10:15,625 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
| 2007-10-21 17:10:15,625 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
| 2007-10-21 17:10:15,625 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
| 2007-10-21 17:10:15,625 ERROR [org.jboss.ejb.txtimer.TimerServiceImpl] Cannot create txtimer
| java.lang.IllegalStateException: Unable to persist timer
| at org.jboss.ejb.txtimer.DatabasePersistencePolicy.insertTimer(DatabasePersistencePolicy.java:124)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy30.insertTimer(Unknown Source)
| at org.jboss.ejb.txtimer.TimerServiceImpl.createTimer(TimerServiceImpl.java:256)
| at org.jboss.ejb3.timerservice.jboss.TimerServiceFacade.createTimer(TimerServiceFacade.java:56)
| at org.jboss.seam.core.Dispatcher.schedule(Dispatcher.java:215)
| at org.jboss.seam.core.Dispatcher.scheduleInvocation(Dispatcher.java:205)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
| at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
| at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
| at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
| at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
| at $Proxy303.scheduleInvocation(Unknown Source)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:72)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
| at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:50)
| at org.javassist.tmp.java.lang.Object_$$_javassist_63.scheduleInvocation(Object_$$_javassist_63.java)
| at org.jboss.seam.interceptors.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
| at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:50)
| at org.javassist.tmp.java.lang.Object_$$_javassist_62.checkCache(Object_$$_javassist_62.java)
| at de.axima.gmp.service.Initializer.log(Initializer.java:26)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
| at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
| at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87)
| at de.axima.gmp.service.Initializer_$$_javassist_61.log(Initializer_$$_javassist_61.java)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
| at org.jboss.seam.Component.callComponentMethod(Component.java:1838)
| at org.jboss.seam.core.Events.raiseEvent(Events.java:80)
| at de.axima.gmp.webapp.CalculationManagerBean.init(CalculationManagerBean.java:68)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
| at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:37)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.interceptors.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:63)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
| at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:204)
| at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:100)
| at $Proxy299.init(Unknown Source)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:72)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
| at org.jboss.seam.interceptors.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:40)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
| at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:50)
| at org.javassist.tmp.java.lang.Object_$$_javassist_56.init(Object_$$_javassist_56.java)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
| at org.jboss.seam.Component.callComponentMethod(Component.java:1834)
| at org.jboss.seam.Component.callCreateMethod(Component.java:1757)
| at org.jboss.seam.Component.newInstance(Component.java:1746)
| at org.jboss.seam.Component.getInstance(Component.java:1643)
| at org.jboss.seam.Component.getInstance(Component.java:1610)
| at org.jboss.seam.Component.getInstance(Component.java:1604)
| at org.jboss.seam.jsf.SeamELResolver.getValue(SeamELResolver.java:49)
| at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
| at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
| at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45)
| at org.apache.el.parser.AstValue.getTarget(AstValue.java:42)
| at org.apache.el.parser.AstValue.invoke(AstValue.java:127)
| at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
| at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
| at org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58)
| at org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75)
| at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:148)
| at org.jboss.seam.core.Pages.callAction(Pages.java:499)
| at org.jboss.seam.core.Pages.enterPage(Pages.java:282)
| at org.jboss.seam.jsf.AbstractSeamPhaseListener.enterPage(AbstractSeamPhaseListener.java:276)
| at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:214)
| at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:56)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
| at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
| at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:43)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:543)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
| at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
| at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f57fdff:75e:471b6a8d:79 status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f57fdff:75e:471b6a8d:79 status: ActionStatus.ABORT_ONLY >))
| at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
| at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.insertTimer(GeneralPurposeDatabasePersistencePlugin.java:199)
| at org.jboss.ejb.txtimer.DatabasePersistencePolicy.insertTimer(DatabasePersistencePolicy.java:120)
| ... 228 more
| Caused by: org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f57fdff:75e:471b6a8d:79 status: ActionStatus.ABORT_ONLY >)
| at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:343)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
| at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
| ... 230 more
| Caused by: javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f57fdff:75e:471b6a8d:79 status: ActionStatus.ABORT_ONLY >
| at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.checkEnlisted(TxConnectionManager.java:744)
| at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:577)
| at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337)
| ... 234 more
| 2007-10-21 17:10:15,656 DEBUG [org.jboss.seam.Component] outjecting dependencies of: initializer
| 2007-10-21 17:10:15,656 DEBUG [org.jboss.seam.Component] disinjecting dependencies of: initializer
I 'm not sure if the error is caused by a misconfiguration of datasources or whereelse to search. Any help would be great.
Thanks and regards,
hasc
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097255#4097255
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097255
18Â years, 8Â months
[JBossWS] - Re: JBossWS vs Glassfish, do we a 'Tester' ?
by iner
Hello,
My mistake with Wise, sorry for that.
changed the login in 'wise-ds.xml' and able to create a new user and to log in ( shame that I cannot erase the last post )
Adding a WebService which I have tried out in Glassfish:
It is this small one:
@Stateless()
| @WebService()
| public class ProjectManagerWs {
|
| @WebMethod
| public String version() {
| return "ProjectManager version 0.1";
| }
| }
Surfing to:
http://127.0.0.1:8080/ProjectManagerWsService/ProjectManagerWs?wsdl
I am able to see the WSDL.
But adding it to wise and clicking the link which I have created gives me the following error:
16:47:48,421 INFO [WSDLManagerBean] *** Beginning conversation, savedWsdl = null
16:47:48,426 ERROR [WSDLManagerBean] An unexpected exception occurred while selecting the wsdl.
java.lang.NoClassDefFoundError: org/jboss/wsf/spi/tools/WSContractConsumer
| at it.javalinux.wise.seam.actions.WSDLManagerBean.selectWsdl(WSDLManagerBean.java:116)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Am I forgetting something ?
the mysql says:
mysql> select * from savedwsdl;
| +-------------+---------------------------------------------------------------------+----------+------------+-------------------+
| | idSavedWSDL | wsdlLink | wsdlText | savingDate | idUserInformation |
| +-------------+---------------------------------------------------------------------+----------+------------+-------------------+
| | 2 | http://127.0.0.1:8080/ProjectManagerWsService/ProjectManagerWs?wsdl | tt | 2007-10-21 | 3 |
| +-------------+---------------------------------------------------------------------+----------+------------+-------------------+
|
| regards, i
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097254#4097254
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097254
18Â years, 8Â months
[JBoss AOP] - Re: duplicate method: _getAdvisor
by avihaimar
The stack trace:
16:09:12,066 ERROR [STDERR] [warn] AOP Instrumentor failed to transform com.radware.insite.model.trafficredirection.farm.profile.FarmProfile
| _$$_javassist_233
| 16:09:12,066 ERROR [STDERR] javassist.bytecode.DuplicateMemberException: duplicate method: _getAdvisor in com.radware.insite.model.trafficre
| direction.farm.profile.FarmProfile_$$_javassist_233
| 16:09:12,066 ERROR [STDERR] at javassist.bytecode.ClassFile.testExistingMethod(ClassFile.java:552)
| 16:09:12,082 ERROR [STDERR] at javassist.bytecode.ClassFile.addMethod(ClassFile.java:532)
| 16:09:12,082 ERROR [STDERR] at javassist.CtClassType.addMethod(CtClassType.java:1170)
| 16:09:12,082 ERROR [STDERR] at org.jboss.aop.instrument.ClassicInstrumentor.addHelperClass(ClassicInstrumentor.java:187)
| 16:09:12,082 ERROR [STDERR] at org.jboss.aop.instrument.ClassicInstrumentor.doSetupBasics(ClassicInstrumentor.java:157)
| 16:09:12,082 ERROR [STDERR] at org.jboss.aop.instrument.Instrumentor.setupBasics(Instrumentor.java:887)
| 16:09:12,082 ERROR [STDERR] at org.jboss.aop.instrument.MethodExecutionTransformer.instrument(MethodExecutionTransformer.java:141)
| 16:09:12,082 ERROR [STDERR] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:703)
| 16:09:12,082 ERROR [STDERR] at org.jboss.aop.AspectManager.translate(AspectManager.java:909)
| 16:09:12,097 ERROR [STDERR] at org.jboss.aop.AspectManager.transform(AspectManager.java:821)
| 16:09:12,097 ERROR [STDERR] at org.jboss.aop.standalone.AOPTransformer.aspectTransform(AOPTransformer.java:88)
| 16:09:12,097 ERROR [STDERR] at org.jboss.aop.standalone.AOPTransformer.transform(AOPTransformer.java:75)
| 16:09:12,097 ERROR [STDERR] at sun.instrument.TransformerManager.transform(TransformerManager.java:122)
| 16:09:12,097 ERROR [STDERR] at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155)
| 16:09:12,097 ERROR [STDERR] at java.lang.ClassLoader.defineClass1(Native Method)
| 16:09:12,097 ERROR [STDERR] at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
| 16:09:12,097 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
| 16:09:12,097 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:12,113 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:12,113 ERROR [STDERR] at javassist.util.proxy.FactoryHelper.toClass2(FactoryHelper.java:177)
| 16:09:12,113 ERROR [STDERR] at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:159)
| 16:09:12,113 ERROR [STDERR] at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:337)
| 16:09:12,113 ERROR [STDERR] at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:312)
| 16:09:12,113 ERROR [STDERR] at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:271)
| 16:09:12,113 ERROR [STDERR] at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java
| :138)
| 16:09:12,113 ERROR [STDERR] at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:42)
| 16:09:12,113 ERROR [STDERR] at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
| 16:09:12,129 ERROR [STDERR] at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
| 16:09:12,129 ERROR [STDERR] at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
| 16:09:12,129 ERROR [STDERR] at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.jav
| a:56)
| 16:09:12,129 ERROR [STDERR] at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:295)
| 16:09:12,129 ERROR [STDERR] at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
| 16:09:12,129 ERROR [STDERR] at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
| 16:09:12,129 ERROR [STDERR] at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
| 16:09:12,129 ERROR [STDERR] at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
| 16:09:12,129 ERROR [STDERR] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
| 16:09:12,129 ERROR [STDERR] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
| 16:09:12,144 ERROR [STDERR] at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
|
| 16:09:12,144 ERROR [STDERR] at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246)
| 16:09:12,144 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 16:09:12,144 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 16:09:12,144 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:12,144 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:12,144 ERROR [STDERR] at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
| 16:09:12,144 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| 16:09:12,144 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| 16:09:12,144 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
| 16:09:12,160 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:12,160 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:12,160 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 16:09:12,160 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 16:09:12,160 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 16:09:12,160 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 16:09:12,160 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 16:09:12,160 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| 16:09:12,160 ERROR [STDERR] at $Proxy0.start(Unknown Source)
| 16:09:12,160 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
| 16:09:12,160 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
| 16:09:12,176 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:12,176 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:12,176 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 16:09:12,176 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 16:09:12,176 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 16:09:12,176 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 16:09:12,176 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 16:09:12,176 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 16:09:12,176 ERROR [STDERR] at $Proxy59.start(Unknown Source)
| 16:09:12,176 ERROR [STDERR] at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
| 16:09:12,176 ERROR [STDERR] at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:551)
| 16:09:12,191 ERROR [STDERR] at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:333)
| 16:09:12,191 ERROR [STDERR] at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
| 16:09:12,191 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| 16:09:12,191 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| 16:09:12,191 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
| 16:09:12,191 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:12,191 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:12,191 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 16:09:12,191 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 16:09:12,207 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 16:09:12,207 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 16:09:12,207 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 16:09:12,207 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| 16:09:12,207 ERROR [STDERR] at $Proxy0.start(Unknown Source)
| 16:09:12,207 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
| 16:09:12,207 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
| 16:09:12,207 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:12,207 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:12,207 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 16:09:12,207 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 16:09:12,222 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 16:09:12,222 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 16:09:12,222 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 16:09:12,222 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 16:09:12,222 ERROR [STDERR] at $Proxy33.start(Unknown Source)
| 16:09:12,222 ERROR [STDERR] at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
| 16:09:12,222 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 16:09:12,222 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 16:09:12,222 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:12,238 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:12,238 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 16:09:12,238 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 16:09:12,238 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| 16:09:12,238 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 16:09:12,238 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| 16:09:12,238 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| 16:09:12,238 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| 16:09:12,238 ERROR [STDERR] at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
| 16:09:12,254 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.
| java:188)
| 16:09:12,254 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| 16:09:12,254 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 16:09:12,254 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 16:09:12,254 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 16:09:12,254 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 16:09:12,254 ERROR [STDERR] at $Proxy34.start(Unknown Source)
| 16:09:12,254 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| 16:09:12,254 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
| 16:09:12,269 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| 16:09:12,269 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| 16:09:12,269 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
| 16:09:12,269 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:12,269 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:12,269 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 16:09:24,259 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 16:09:24,259 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| 16:09:24,259 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 16:09:24,259 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| 16:09:24,259 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 16:09:24,259 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 16:09:24,275 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 16:09:24,275 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 16:09:24,275 ERROR [STDERR] at $Proxy9.deploy(Unknown Source)
| 16:09:24,275 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| 16:09:24,275 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| 16:09:24,275 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.jav
| a:263)
| 16:09:24,275 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:
| 274)
| 16:09:24,275 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:2
| 25)
| 16:09:24,400 ERROR [STDERR] [warn] AOP Instrumentor failed to transform com.radware.insite.model.trafficredirection.destination.DnsHostName_
| $$_javassist_234
| 16:09:24,400 ERROR [STDERR] javassist.bytecode.DuplicateMemberException: duplicate method: _getAdvisor in com.radware.insite.model.trafficre
| direction.destination.DnsHostName_$$_javassist_234
| 16:09:24,400 ERROR [STDERR] at javassist.bytecode.ClassFile.testExistingMethod(ClassFile.java:552)
| 16:09:24,400 ERROR [STDERR] at javassist.bytecode.ClassFile.addMethod(ClassFile.java:532)
| 16:09:24,400 ERROR [STDERR] at javassist.CtClassType.addMethod(CtClassType.java:1170)
| 16:09:24,400 ERROR [STDERR] at org.jboss.aop.instrument.ClassicInstrumentor.addHelperClass(ClassicInstrumentor.java:187)
| 16:09:24,416 ERROR [STDERR] at org.jboss.aop.instrument.ClassicInstrumentor.doSetupBasics(ClassicInstrumentor.java:157)
| 16:09:24,416 ERROR [STDERR] at org.jboss.aop.instrument.Instrumentor.setupBasics(Instrumentor.java:887)
| 16:09:24,416 ERROR [STDERR] at org.jboss.aop.instrument.MethodExecutionTransformer.instrument(MethodExecutionTransformer.java:141)
| 16:09:24,416 ERROR [STDERR] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:703)
| 16:09:24,416 ERROR [STDERR] at org.jboss.aop.AspectManager.translate(AspectManager.java:909)
| 16:09:24,416 ERROR [STDERR] at org.jboss.aop.AspectManager.transform(AspectManager.java:821)
| 16:09:24,416 ERROR [STDERR] at org.jboss.aop.standalone.AOPTransformer.aspectTransform(AOPTransformer.java:88)
| 16:09:24,416 ERROR [STDERR] at org.jboss.aop.standalone.AOPTransformer.transform(AOPTransformer.java:75)
| 16:09:24,416 ERROR [STDERR] at sun.instrument.TransformerManager.transform(TransformerManager.java:122)
| 16:09:24,416 ERROR [STDERR] at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155)
| 16:09:24,416 ERROR [STDERR] at java.lang.ClassLoader.defineClass1(Native Method)
| 16:09:24,416 ERROR [STDERR] at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
| 16:09:24,416 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
| 16:09:24,431 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:24,431 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:24,431 ERROR [STDERR] at javassist.util.proxy.FactoryHelper.toClass2(FactoryHelper.java:177)
| 16:09:24,431 ERROR [STDERR] at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:159)
| 16:09:24,431 ERROR [STDERR] at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:337)
| 16:09:24,431 ERROR [STDERR] at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:312)
| 16:09:24,431 ERROR [STDERR] at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:271)
| 16:09:24,431 ERROR [STDERR] at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java
| :138)
| 16:09:24,431 ERROR [STDERR] at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:42)
| 16:09:24,431 ERROR [STDERR] at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
| 16:09:24,431 ERROR [STDERR] at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
| 16:09:24,447 ERROR [STDERR] at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
| 16:09:24,447 ERROR [STDERR] at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.jav
| a:56)
| 16:09:24,447 ERROR [STDERR] at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:295)
| 16:09:24,447 ERROR [STDERR] at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
| 16:09:24,447 ERROR [STDERR] at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
| 16:09:24,447 ERROR [STDERR] at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
| 16:09:24,447 ERROR [STDERR] at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
| 16:09:24,447 ERROR [STDERR] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
| 16:09:24,447 ERROR [STDERR] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
| 16:09:24,447 ERROR [STDERR] at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
|
| 16:09:24,463 ERROR [STDERR] at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246)
| 16:09:24,463 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 16:09:24,463 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 16:09:24,463 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:24,463 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:24,463 ERROR [STDERR] at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
| 16:09:24,463 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| 16:09:24,463 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| 16:09:24,463 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
| 16:09:24,463 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:24,463 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:24,463 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 16:09:24,478 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 16:09:24,478 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 16:09:24,478 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 16:09:24,478 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 16:09:24,478 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| 16:09:24,478 ERROR [STDERR] at $Proxy0.start(Unknown Source)
| 16:09:24,478 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
| 16:09:24,478 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
| 16:09:24,478 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:24,478 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:24,478 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 16:09:24,478 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 16:09:24,494 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 16:09:24,494 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 16:09:24,494 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 16:09:24,494 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 16:09:24,494 ERROR [STDERR] at $Proxy59.start(Unknown Source)
| 16:09:24,494 ERROR [STDERR] at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
| 16:09:24,494 ERROR [STDERR] at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:551)
| 16:09:24,494 ERROR [STDERR] at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:333)
| 16:09:24,494 ERROR [STDERR] at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
| 16:09:24,494 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| 16:09:24,510 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| 16:09:24,510 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
| 16:09:24,510 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:24,510 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:24,510 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 16:09:24,510 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 16:09:24,510 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 16:09:24,510 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 16:09:24,510 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 16:09:24,510 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| 16:09:24,510 ERROR [STDERR] at $Proxy0.start(Unknown Source)
| 16:09:24,510 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
| 16:09:24,525 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
| 16:09:24,525 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:24,525 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:24,525 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 16:09:24,525 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 16:09:24,525 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| 16:09:24,525 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 16:09:24,525 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 16:09:24,525 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 16:09:24,525 ERROR [STDERR] at $Proxy33.start(Unknown Source)
| 16:09:24,525 ERROR [STDERR] at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
| 16:09:24,525 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 16:09:24,525 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 16:09:24,541 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:24,541 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:24,541 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 16:09:24,541 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 16:09:24,541 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| 16:09:24,541 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 16:09:24,541 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| 16:09:24,541 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| 16:09:24,541 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| 16:09:24,541 ERROR [STDERR] at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
| 16:09:24,541 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.
| java:188)
| 16:09:24,556 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| 16:09:24,556 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 16:09:24,556 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 16:09:24,556 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 16:09:24,556 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 16:09:24,556 ERROR [STDERR] at $Proxy34.start(Unknown Source)
| 16:09:24,556 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| 16:09:24,556 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
| 16:09:24,556 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| 16:09:24,556 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| 16:09:24,556 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
| 16:09:24,556 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:09:24,572 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:09:24,572 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| 16:09:24,572 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| 16:09:24,572 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| 16:09:24,572 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 16:09:24,572 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| 16:09:24,572 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| 16:09:24,572 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| 16:09:24,572 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| 16:09:24,572 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| 16:09:24,588 ERROR [STDERR] at $Proxy9.deploy(Unknown Source)
| 16:09:24,588 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| 16:09:24,588 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| 16:09:24,588 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.jav
| a:263)
| 16:09:24,588 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:
| 274)
| 16:09:24,588 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:2
| 25)
Is there any workaround for this?
we want to intercpt our model and the model is entites class (ejb3)
Thank you
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097253#4097253
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097253
18Â years, 8Â months
[JBoss Seam] - Error in Hibernate Filter With Multiple Entities
by pourmo
Hi
We have followed the wiki hibernate search and filter examples, everyting works fine when querying a single entity, however the filter returns all records when multiple entities are passed to createFullTextQuery method.
| public org.hibernate.search.jpa.FullTextQuery exeuteSearch(EntityManager entityManager,
| String[] fields,String searchString,Class... entityTypes) {
| org.hibernate.search.jpa.FullTextQuery query=null;
| if(stringBridge==null){
| stringBridge = new PaddedIntegerBridge();
| }
| try{
|
| BooleanQuery mainQuery = new BooleanQuery();
|
| BooleanQuery entityQuery = new BooleanQuery();
| QueryParser parser = new MultiFieldQueryParser(fields,analyser, null);
| parser.setAllowLeadingWildcard(true);
| org.apache.lucene.search.Query contentSearch = parser.parse(searchString);
| entityQuery.add(contentSearch, BooleanClause.Occur.MUST);
|
| Integer currentAccessLevel = (Integer)Component.getInstance("currentAccessLevel");
| System.out.println("currentAccessLevel Filter " + currentAccessLevel);
| org.apache.lucene.search.Query accessLimitQuery =
| new ConstantScoreRangeQuery(SearchUtility.READ_ACCESS_LEVEL, null, stringBridge.objectToString(currentAccessLevel), true, true);
|
| org.apache.lucene.search.Filter accessFilter = new QueryFilter(accessLimitQuery);
| org.apache.lucene.search.FilteredQuery accessFilterQuery = new org.apache.lucene.search.FilteredQuery(entityQuery, accessFilter);
| mainQuery.add(accessFilterQuery, BooleanClause.Occur.SHOULD);
| query=( (FullTextEntityManager)entityManager ).createFullTextQuery(mainQuery, entityTypes);
|
| }catch(Exception ex){
|
| }
| return query;
| }
|
We are using
JBoss 4.2.1 GA
Seam 2.0 CR1
This is very dangerous as the record are visible to all users regardless of their read access level.
Cheers
Mo
[img][/img]
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097251#4097251
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097251
18Â years, 8Â months
[JBossWS] - Re: JBossWS vs Glassfish, do we a 'Tester' ?
by iner
Hello Alessio,
Trying the WISE.
Using JBoss 4.2.1.
Did not install JBossWS though - is that necessary ?
When surfing to:
http://localhost:8080/Wise/
I get the following error in the JBoss-console:
| 15:35:12,680 INFO [EJBContainer] STARTED EJB: org.jboss.seam.transaction.EjbTransaction ejbName: EjbTransaction
| 15:35:12,713 INFO [EJB3Deployer] Deployed: file:/C:/app/jboss-4.2.1.GA/server/default/tmp/deploy/tmp39865Wise.ear-contents/jboss-seam.jar
| 15:35:12,717 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment
| 15:35:12,720 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=Wise.ear,jar=Wise.ejb3.jar,unitName=Wise with dependencies:
| 15:35:12,722 INFO [JmxKernelAbstraction] jboss.jca:name=WiseDatasource,service=DataSourceBinding
| 15:35:12,725 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=Wise.ear,jar=Wise.ejb3.jar,unitName=Wise
| 15:35:12,762 INFO [Ejb3Configuration] found EJB3 Entity bean: it.javalinux.wise.seam.entities.SavedWsdl
| 15:35:12,766 INFO [Ejb3Configuration] found EJB3 Entity bean: it.javalinux.wise.seam.entities.UserInformation
| 15:35:12,792 INFO [Configuration] Reading mappings from resource : META-INF/orm.xml
| 15:35:12,794 INFO [Ejb3Configuration] [PersistenceUnit: Wise] no META-INF/orm.xml found
| 15:35:12,800 INFO [AnnotationBinder] Binding entity from annotated class: it.javalinux.wise.seam.entities.SavedWsdl
| 15:35:12,803 INFO [EntityBinder] Bind entity it.javalinux.wise.seam.entities.SavedWsdl on table SavedWSDL
| 15:35:12,826 INFO [AnnotationBinder] Binding entity from annotated class: it.javalinux.wise.seam.entities.UserInformation
| 15:35:12,828 INFO [EntityBinder] Bind entity it.javalinux.wise.seam.entities.UserInformation on table UserInformation
| 15:35:12,839 INFO [CollectionBinder] Mapping collection: it.javalinux.wise.seam.entities.UserInformation.savedWsdls -> SavedWSDL
| 15:35:12,986 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
| 15:35:12,989 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
| 15:35:12,999 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
| org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'root'@'loc
| alhost' (using password: NO))
| at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179)
| at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577)
|
When using 'MySQL Administrator' and going to 'Server Connection'
Then I am able to see all the connection made in my mysql-ds.xml within JBoss but not the connection in 'wise-ds.xml'
I am not able to register a new user ....
I am running on a windows vista at the moment, that is
my working machine - the installation-routine for JBossWS seems
a bit complicated.
Could you give me further advice.
regards, i
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097250#4097250
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097250
18Â years, 8Â months
[JBoss Seam] - Entity relation deleated
by mhiggins
This may be an EJB3 question but I am new to both and working with seam ? I have a many to many unidirectional relation. I have a simple from to build these objects / relations up and that works fine. In another form I am trying to work on instances of the object graph but when I display the page the last line in the log is:
| 09:09:27,174 INFO [STDOUT] Hibernate: delete from Profile_Location where profile_id=?
| 09:09:27,225 INFO [STDOUT] Hibernate: delete from Profile_Location where profile_id=?
| 09:09:27,226 INFO [STDOUT] Hibernate: delete from Profile_Location where profile_id=?
|
I have no delete calls in my code and can't figure out where this is coming from. There are 3 users in the system and that corresponds to the 3 delete calls above. Are my relations mapped wrong? Here is the code for the relations. I have a user and a user has a profile and the profile can have many locations, i.e. a person can have more then one address. The main question is why are these relations being deleted?
User Entity
| @Entity
| @Name("user")
| public class User implements Serializable {
|
| ...
| private Profile profile;
| ...
| @OneToOne(cascade = CascadeType.ALL)
| @JoinColumn(name = "profile_id")
| public Profile getProfile() {
| return profile;
| }
|
| public void setProfile(Profile profile) {
| this.profile = profile;
| }
| }
|
Profile Entity
| @Entity
| @Name("profile")
| public class Profile implements Serializable {
| ...
| private Set<Location>locations;
| ....
| @ManyToMany
| @JoinTable(name="Profile_Location",
| joinColumns={@JoinColumn(name="profile_id")},
| inverseJoinColumns={@JoinColumn(name="location_id")})
| public Set<Location> getlocations() {
| return locations;
| }
|
| public void setlocations(Set<Location> locations) {
| locations = locations;
| }
| }
|
Location Entity. I want the Location to be associated with other types of objects(non just profiles ) there is no reference to the Profile in the Locaiton.
| @Entity
| @Name("location")
| public class Location implements Serializable {
| ...
| }
|
DistanceCalcAction, this is the statefull session bean that is using the Location entities to calcualte distance between users.
| @Stateful
| @Scope(EVENT)
| @Name("distanceCalc")
| public class DistanceCalcAction implements DistanceCalc {
|
| @Logger Log log;
|
| @PersistenceContext
| private EntityManager em;
|
| private User fromUser;
|
| private User toUser;
|
| @In
| private FacesMessages facesMessages;
|
| @Out
| private List<User> users;
|
| @Out(required=false)
| private Double distance;
|
| @Create
| public void getUsers(){
| users = (List<User>)em.createQuery("SELECT u from User as u").getResultList();
| }
|
| public void calc(){
|
| Distance distanceTool = new Distance();
|
| User from = (User) em.createQuery("SELECT u FROM User u WHERE u.id = :id").setParameter("id",fromUser.getId()).getSingleResult();
| User to = (User) em.createQuery("SELECT u FROM User u WHERE u.id = :id").setParameter("id",toUser.getId()).getSingleResult();
|
| distance = distanceTool.distanceVincenty(
| from.getProfile().getDefaultLocation().getLatitude(),
| from.getProfile().getDefaultLocation().getLongitude(),
| to.getProfile().getDefaultLocation().getLatitude(),
| to.getProfile().getDefaultLocation().getLongitude(), Distance.FORMAT_MILES);
| }
|
| @Factory("fromUser")
| public User getFromUser() {
| fromUser = new User();
| return fromUser;
| }
| @Factory("toUser")
| public User getToUser() {
| toUser = new User();
| return toUser;
| }
|
| public void setFromUser(User fromUser) {
| this.fromUser = fromUser;
| }
|
| public void setToUser(User toUser) {
| this.toUser = toUser;
| }
| @Destroy @Remove
| public void destroy() {}
|
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097249#4097249
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097249
18Â years, 8Â months
[JBossWS] - web service not found
by robert_trudel
hi
somebody sent me a wsdl, i use the jboss tool to generate the classe
it's the wsdl:
<?xml version="1.0" encoding="utf8" ?>
| <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
| xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="
| http://www.w3.org/2001/XMLSchema" xmlns:soapenc="
| http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="
| http://tempuri.org/Facturateur/Service1" xmlns:tm="
| http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="
| http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="
| http://tempuri.org/Facturateur/Service1" xmlns:wsdl="
| http://schemas.xmlsoap.org/wsdl/">
| <wsdl:types>
| <s:schema elementFormDefault="qualified" targetNamespace="
| http://tempuri.org/Facturateur/Service1">
| <s:element name="GetVersion">
| <s:complexType />
| </s:element>
| <s:element name="GetVersionResponse">
| <s:complexType>
| <s:sequence>
| <s:element minOccurs="0" maxOccurs="1" name="
| GetVersionResult" type="s:string" />
| </s:sequence>
| </s:complexType>
| </s:element>
| <s:element name="GetPrix">
| <s:complexType>
| <s:sequence>
| <s:element minOccurs="0" maxOccurs="1" name="F" type="
| s:string" />
| </s:sequence>
| </s:complexType>
| </s:element>
| <s:element name="GetPrixResponse">
| <s:complexType>
| <s:sequence>
| <s:element minOccurs="0" maxOccurs="1" name="
| GetPrixResult" type="s:string" />
| </s:sequence>
| </s:complexType>
| </s:element>
| <s:element name="Authentification" type="tns:Authentification"
| />
| <s:complexType name="Authentification">
| <s:sequence>
| <s:element minOccurs="0" maxOccurs="1" name="CodeApporteur"
| type="s:string" />
| </s:sequence>
| </s:complexType>
| <s:element name="GetDevis">
| <s:complexType>
| <s:sequence>
| <s:element minOccurs="0" maxOccurs="1" name="F" type="
| s:string" />
| </s:sequence>
| </s:complexType>
| </s:element>
| <s:element name="GetDevisResponse">
| <s:complexType>
| <s:sequence>
| <s:element minOccurs="0" maxOccurs="1" name="
| GetDevisResult" type="s:string" />
| </s:sequence>
| </s:complexType>
| </s:element>
| <s:element name="GetSouscription">
| <s:complexType>
| <s:sequence>
| <s:element minOccurs="0" maxOccurs="1" name="F" type="
| s:string" />
| </s:sequence>
| </s:complexType>
| </s:element>
| <s:element name="GetSouscriptionResponse">
| <s:complexType>
| <s:sequence>
| <s:element minOccurs="0" maxOccurs="1" name="
| GetSouscriptionResult" type="s:string" />
| </s:sequence>
| </s:complexType>
| </s:element>
| </s:schema>
| </wsdl:types>
| <wsdl:message name="GetVersionSoapIn">
| <wsdl:part name="parameters" element="tns:GetVersion" />
| </wsdl:message>
| <wsdl:message name="GetVersionSoapOut">
| <wsdl:part name="parameters" element="tns:GetVersionResponse" />
| </wsdl:message>
| <wsdl:message name="GetPrixSoapIn">
| <wsdl:part name="parameters" element="tns:GetPrix" />
| </wsdl:message>
| <wsdl:message name="GetPrixSoapOut">
| <wsdl:part name="parameters" element="tns:GetPrixResponse" />
| </wsdl:message>
| <wsdl:message name="GetPrixAuthentification">
| <wsdl:part name="Authentification" element="tns:Authentification"
| />
| </wsdl:message>
| <wsdl:message name="GetDevisSoapIn">
| <wsdl:part name="parameters" element="tns:GetDevis" />
| </wsdl:message>
| <wsdl:message name="GetDevisSoapOut">
| <wsdl:part name="parameters" element="tns:GetDevisResponse" />
| </wsdl:message>
| <wsdl:message name="GetDevisAuthentification">
| <wsdl:part name="Authentification" element="tns:Authentification"
| />
| </wsdl:message>
| <wsdl:message name="GetSouscriptionSoapIn">
| <wsdl:part name="parameters" element="tns:GetSouscription" />
| </wsdl:message>
| <wsdl:message name="GetSouscriptionSoapOut">
| <wsdl:part name="parameters" element="tns:GetSouscriptionResponse
| " />
| </wsdl:message>
| <wsdl:message name="GetSouscriptionAuthentification">
| <wsdl:part name="Authentification" element="tns:Authentification"
| />
| </wsdl:message>
| <wsdl:portType name="PrixSoap">
| <wsdl:operation name="GetVersion">
| <wsdl:input message="tns:GetVersionSoapIn" />
| <wsdl:output message="tns:GetVersionSoapOut" />
| </wsdl:operation>
| <wsdl:operation name="GetPrix">
| <wsdl:input message="tns:GetPrixSoapIn" />
| <wsdl:output message="tns:GetPrixSoapOut" />
| </wsdl:operation>
| <wsdl:operation name="GetDevis">
| <wsdl:input message="tns:GetDevisSoapIn" />
| <wsdl:output message="tns:GetDevisSoapOut" />
| </wsdl:operation>
| <wsdl:operation name="GetSouscription">
| <wsdl:input message="tns:GetSouscriptionSoapIn" />
| <wsdl:output message="tns:GetSouscriptionSoapOut" />
| </wsdl:operation>
| </wsdl:portType>
| <wsdl:binding name="PrixSoap" type="tns:PrixSoap">
| <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
| style="document" />
| <wsdl:operation name="GetVersion">
| <soap:operation soapAction="
| http://tempuri.org/Facturateur/Service1/GetVersion" style="
| document" />
| <wsdl:input>
| <soap:body use="literal" />
| </wsdl:input>
| <wsdl:output>
| <soap:body use="literal" />
| </wsdl:output>
| </wsdl:operation>
| <wsdl:operation name="GetPrix">
| <soap:operation soapAction="
| http://tempuri.org/Facturateur/Service1/GetPrix" style="
| document" />
| <wsdl:input>
| <soap:body use="literal" />
| <soap:header message="tns:GetPrixAuthentification" part="
| Authentification" use="literal" />
| </wsdl:input>
| <wsdl:output>
| <soap:body use="literal" />
| </wsdl:output>
| </wsdl:operation>
| <wsdl:operation name="GetDevis">
| <soap:operation soapAction="
| http://tempuri.org/Facturateur/Service1/GetDevis" style="
| document" />
| <wsdl:input>
| <soap:body use="literal" />
| <soap:header message="tns:GetDevisAuthentification" part="
| Authentification" use="literal" />
| </wsdl:input>
| <wsdl:output>
| <soap:body use="literal" />
| </wsdl:output>
| </wsdl:operation>
| <wsdl:operation name="GetSouscription">
| <soap:operation soapAction="
| http://tempuri.org/Facturateur/Service1/GetSouscription" style="
| document" />
| <wsdl:input>
| <soap:body use="literal" />
| <soap:header message="tns:GetSouscriptionAuthentification"
| part="Authentification" use="literal" />
| </wsdl:input>
| <wsdl:output>
| <soap:body use="literal" />
| </wsdl:output>
| </wsdl:operation>
| </wsdl:binding>
| <wsdl:service name="Prix">
| <wsdl:port name="PrixSoap" binding="tns:PrixSoap">
| <soap:address location="
| http://www.test.com/ws/tarificateur/tarif.asmx" />
| </wsdl:port>
| </wsdl:service>
| </wsdl:definitions>
jboss generated some classe
GetPrix.java
GetPrixResponse.java
Prix.java
PrixSoap.java
....
so i implemented the server class (TarifImpl who implement the interface generated by jobss)
in the web.xml i wrote
| <servlet>
| <servlet-name>Facturateur</servlet-name>
| <servlet-class>com.test.ws.TarifImpl</servlet-class>
| </servlet>
|
| <servlet-mapping>
| <servlet-name>Facturateur</servlet-name>
| <url-pattern>/Facturateur</url-pattern>
| </servlet-mapping>
|
when i go to http://localhost:8080/jbossws/services
there is no service
any idea?
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097246#4097246
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097246
18Â years, 8Â months