-
1. Re: IPC - Event could be send, but couldn't be received
wesleyhales Dec 4, 2009 1:58 PM (in response to tdevos09)First, Is there a reason you are extending the GenericFacesPortlet?
If not, then life will be much easier for you. You can send and receive an event as shown here in the seam booking example.
http://anonsvn.jboss.org/repos/portletbridge/tags/2.0.0.BETA/examples/seam/booking/
Seam is not required, so the same code can be used with regular JSF.
Checkout the booking example and change the event name in portlet.xml and the code to see if it will send and receive your event.
For a detailed look, you can watch this screencast:
http://www.vimeo.com/5847864 -
2. Re: IPC - Event could be send, but couldn't be received
tdevos09 Dec 8, 2009 8:36 AM (in response to tdevos09)Hello,
thank you for your reponse.
I am using GenericFacesPortlet, because we are developing on JSF/Richfaces or is this relation not mandatory?!?
I've followed the screencast, but was not successful yet.
I can build and deploy the portlet, but during starting the portlet I am receiving even though the portlet get displayed:14:08:30,740 ERROR [STDERR] java.io.NotSerializableException: org.jboss.portletbridge.RequestScopeManager 14:08:30,740 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) 14:08:30,740 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) 14:08:30,740 ERROR [STDERR] at org.jboss.invocation.MarshalledValue.<init>(MarshalledValue.java:70) 14:08:30,740 ERROR [STDERR] at org.jboss.portal.portlet.session.SubSession.synchronizeWithPortalSession(SubSession.java:192) 14:08:31,226 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:112) 14:08:31,226 ERROR [STDERR] at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) 14:08:31,226 ERROR [STDERR] at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:93) 14:08:31,226 ERROR [STDERR] at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) 14:08:31,726 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:162) ....
The result is, that the event seems can be published, but is not been catched by the BridgeEventHandler. -
3. Re: IPC - Event could be send, but couldn't be received
wesleyhales Dec 8, 2009 9:31 AM (in response to tdevos09)I recently fixed many of the serialization issues and we have not released since then. Use the snapshot api and impl from:
http://snapshots.jboss.org/maven2/org/jboss/portletbridge/ -
4. Re: IPC - Event could be send, but couldn't be received
tdevos09 Dec 9, 2009 5:02 AM (in response to tdevos09)I've tried it with the new jars, but it stopped again with this NotSerializableException:
10:04:46,312 ERROR [STDERR] java.io.NotSerializableException: javax.portlet.PortletMode
10:04:46,468 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
10:04:46,468 ERROR [STDERR] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
10:04:46,468 ERROR [STDERR] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
10:04:46,468 ERROR [STDERR] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
10:04:46,468 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
10:04:46,983 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
Is this exception the reason, why I didn't receive the event or are there maybe other traps.
Is there a method to find out, that the MyBridgeEventHandler is running properly?
I also build up 3 project skeletons (Sender, Receiver, Sender & Receiver) for testing to deactivate as many dependencies as possible, but wasn't successful too. -
5. Re: IPC - Event could be send, but couldn't be received
wesleyhales Dec 16, 2009 7:37 PM (in response to tdevos09)Make sure your portlet.xml has this at the top:
<?xml version="1.0" encoding="UTF-8"?> <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd">
I know that javax.portlet.PortletMode is not serializable, but I have never seen this problem at runtime. There must be something else wrong. Did you look at the seamBooking example? I also just tested this across different portlets in seperate war/ears and everything works fine.
-
6. Re: IPC - Event could be send, but couldn't be received
tdevos09 Dec 17, 2009 4:35 AM (in response to wesleyhales)Thank you very much Wesley!
Your hint was the right one. The modification of the <portlet-app>-Tag was the sticking point.
I would propose to add this modification to the next version of JBoss Portlet Bridge
Reference Guide, because I didn't paid enough attention to the header tag in portlet.xml. -
7. Re: IPC - Event could be send, but couldn't be received
tdevos09 Mar 8, 2010 10:19 AM (in response to tdevos09)Hello,
I have still a problem with a NotSerializableException, that occurs on javax.portlet.PortletMode.
Can I abort this exception with an configuration or do I have to wait that this serialization problem is fixed (snapshot has still the same problem) ?
Following the detailed exception:
16:03:00,226 ERROR [STDERR] java.io.NotSerializableException: javax.portlet.PortletMode
16:03:00,226 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
16:03:00,226 ERROR [STDERR] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
16:03:00,226 ERROR [STDERR] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
16:03:00,226 ERROR [STDERR] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
16:03:00,390 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
16:03:00,390 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
16:03:00,390 ERROR [STDERR] at java.util.HashMap.writeObject(HashMap.java:1000)
16:03:00,390 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor874.invoke(Unknown Source)
16:03:00,390 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
16:03:00,390 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
16:03:00,390 ERROR [STDERR] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
16:03:00,390 ERROR [STDERR] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
16:03:00,390 ERROR [STDERR] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
16:03:00,390 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
16:03:00,390 ERROR [STDERR] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
16:03:00,390 ERROR [STDERR] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
16:03:00,390 ERROR [STDERR] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
16:03:00,390 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
16:03:00,390 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
16:03:00,391 ERROR [STDERR] at org.jboss.invocation.MarshalledValue.<init>(MarshalledValue.java:70)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.portlet.session.SubSession.synchronizeWithPortalSession(SubSession.java:192)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:112)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:93)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:162)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.org$jboss$portal$core$impl$model$instance$InstanceContainerImpl$invoke$aop(InstanceContainerImpl.java:408)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
16:03:00,391 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
16:03:00,391 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.invoke(InstanceContainerImpl.java)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.AbstractInstance.invoke(AbstractInstance.java:231)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.core.impl.model.content.InternalContentProvider.renderWindow(InternalContentProvider.java:294)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.execute(RenderWindowCommand.java:100)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:124)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:134)
16:03:00,391 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:48)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:55)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,392 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,393 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
16:03:00,393 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,393 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,393 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
16:03:00,393 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
16:03:00,393 ERROR [STDERR] at org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.render(RenderWindowCommand.java:80)
16:03:00,393 ERROR [STDERR] at org.jboss.portal.core.model.portal.command.render.RenderPageCommand.execute(RenderPageCommand.java:222)
16:03:00,393 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
16:03:00,393 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:124)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:134)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:48)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,394 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:55)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.core.model.portal.PortalObjectResponseHandler.processCommandResponse(PortalObjectResponseHandler.java:80)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processHandlers(ClassicResponseHandler.java:78)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processCommandResponse(ClassicResponseHandler.java:53)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.core.controller.handler.ResponseHandlerSelector.processCommandResponse(ResponseHandlerSelector.java:70)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.core.controller.Controller.processCommandResponse(Controller.java:315)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.core.controller.Controller.processCommand(Controller.java:303)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.core.controller.Controller.handle(Controller.java:261)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
16:03:00,395 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:196)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
16:03:00,396 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,397 ERROR [STDERR] at org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
16:03:00,397 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
16:03:00,397 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,397 ERROR [STDERR] at org.jboss.portal.core.aspects.server.IdentityCacheInterceptor.invoke(IdentityCacheInterceptor.java:68)
16:03:00,896 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
16:03:00,896 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,896 ERROR [STDERR] at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
16:03:00,896 ERROR [STDERR] at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
16:03:00,896 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
16:03:00,896 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
16:03:00,896 ERROR [STDERR] at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
16:03:00,896 ERROR [STDERR] at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
16:03:00,897 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
16:03:00,897 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,897 ERROR [STDERR] at org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69)
16:03:00,897 ERROR [STDERR] at org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130)
16:03:00,897 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
16:03:00,897 ERROR [STDERR] at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
16:03:00,897 ERROR [STDERR] at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252)
16:03:00,897 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
16:03:00,897 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
16:03:00,897 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
16:03:00,897 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
16:03:00,897 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
16:03:00,897 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
16:03:00,897 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
16:03:00,897 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
16:03:00,897 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
16:03:00,897 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
16:03:00,897 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
16:03:00,897 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
16:03:00,897 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
16:03:00,897 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
16:03:00,897 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
16:03:00,898 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
16:03:00,898 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
16:03:00,898 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
16:03:00,898 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
16:03:00,898 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)Thank you in advance!
-
8. Re: IPC - Event could be send, but couldn't be received
eliasbg Jun 17, 2010 7:46 PM (in response to wesleyhales)Hello Wesley,
The motive of message is to ask you for a help since I have the same problem:
java.io.NotSerializableException: javax.portlet.PortletMode
This error is generated immediately after putting the GateIn in Cluster, in this URL https://community.jboss.org/thread/153263?tstart=0 ; I am explaining the procedure that I have realized, hope that you could help me.
Greetings,Elías Barrientos García.
-
9. Re: IPC - Event could be send, but couldn't be received
rameshbacha Sep 16, 2010 9:38 AM (in response to eliasbg)I tried to create a portlet application with a sender and a receiver portlet.I am using the
<properties>
<jsf.version>1.2_14</jsf.version>
<richfaces.version>3.3.3.Final</richfaces.version>
<portletbridge.version>2.0.0.FINAL</portletbridge.version>
</properties>I am following the same example as shown in the demo http://www.vimeo.com/5847864 . The problem is when i click on sendevent button in portletA, Portlet B is replaced with Portlet A content.
Can you please help me on it.
-
10. Re: IPC - Event could be send, but couldn't be received
wesleyhales Sep 16, 2010 10:09 AM (in response to rameshbacha)Completely different problem, and I've never heard of this happening.
1) don't hijack old threads... start a new one
2) This video http://www.vimeo.com/11484018 which was shot more recently, will give you a closer look how to do it
3) if all else fails, the problem is in your code or config files. make sure your web.xml and portlet.xml mathc the examples exactly