[Clustering/JBoss] - Failed to replicate sessionID
by muleal
Hello,
I'm using JBoss 4.0.3SP1 under load balancer hardware and some times I have to log on twice inside my application.
My application is based on Struts.
I've checked the log created by Jboss and I saw some evidence of what can be causing the problem (see the log below).
Does anybody have any idea of what can be the cause of the problem?
Thanks in advance,
Murilo
-------------------------------------------------------------------------------------
11:21:26,821 WARN [InstantSnapshotManager] Failed to replicate sessionID:l6hiN9rO1TGuC4-wTao3xg**
java.lang.IllegalArgumentException: storeSession(): session is null
at org.jboss.web.tomcat.tc5.session.JBossCacheManager.storeSession(JBossCacheManager.java:342)
at org.jboss.web.tomcat.tc5.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:38)
at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:91)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:138)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
-------------------------------------------------------------------------------------
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961408#3961408
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961408
19 years, 9 months
[JBossCache] - problem getting pojocache to work
by lior.dra
Hi All
I am trying to setup a clustered jboss cache solution,
I am using pojo cache (1.4 latest release)
For some reason I can't get replication to work between 2 machines.
Replication is happening fine on one machine (more then one JVM processes)
I am using the distribution?s pojocache-service.xml
With the following changes:
REPL_SYNC instead of LOCAL
And <UDP loopback =?false? ?> on the windows machine.
I am using the example?s ?Sample-Cluster? name .
One machine runs Fedora core 5 + jdk 1.5.xx, the second machine is
Win XP + jdk 1.5.xx..
I have ?aspectisized? my non annotated pojos (again replication is happening fine on a single machine)
I have turned the firewall off on both machines. (on the linux box I have also disabled SELinux)
To be on the safe side I went as far as using a cross cable between the machines, with no other network connections.
The code for starting the cache is very similar to the code in the distribution?s
..examples/Pojocache/non-annotated/?test class.
Any thoughts ?
Thanks
Lior
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961405#3961405
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961405
19 years, 9 months
[EJB/JBoss] - Re: ejb-jar.xml must either obey the right xml schema or def
by klsateesh
"klsateesh" wrote : Hi All,
|
| I Installed Patch1 with EJB3 Option and i ab able to deploy the App Successfully and when i enter the User details and try to register i am getting the following Error:
|
|
| | 14:56:58,479 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value
| | false
| | 14:57:30,602 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
| | javax.faces.FacesException: Error calling action method of component with id _id0:_id6
| | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
| | at javax.faces.component.UICommand.broadcast(UICommand.java:106)
| | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
| | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
| | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
| | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
| | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java
| | :664)
| | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| | at java.lang.Thread.run(Thread.java:595)
| | Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{register.register}
| | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153)
| | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
| | ... 24 more
| | Caused by: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.interceptor.Invocation
| | Context.getTarget()Ljava/lang/Object;
| | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
| | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
| | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
| | 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:78)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| | 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:181)
| | at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
| | at $Proxy92.register(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.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
| | ... 25 more
| | Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava
| | /lang/Object;
| | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:128)
| | 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(TransactionScopedEntityManagerIntercep
| | tor.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.invokeInOurTx(TxPolicy.java:79)
| | ... 45 more
| | Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object;
| | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:37)
| | 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)
| | ... 52 more
| |
|
|
| I tried the booking example and also getting the below Exception
|
|
| javax.faces.el.EvaluationException: /register.xhtml @67,80 value="#{register.verify}": $Proxy148
| | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
| | at javax.faces.component.UIOutput.getValue(UIOutput.java:75)
| | at javax.faces.component.UIInput.validate(UIInput.java:273)
| | at javax.faces.component.UIInput.processValidators(UIInput.java:144)
| | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:417)
| | at javax.faces.component.UIForm.processValidators(UIForm.java:68)
| | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:417)
| | at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:142)
| | at org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:240)
| | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
| | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
| | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java
|
| thanks
| sateesh
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961403#3961403
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961403
19 years, 9 months