-
1. Re: New exception in JBP 2.7.1
prabhat.jha Feb 3, 2009 12:19 PM (in response to gressho)Hi Werner,
Would you be able to send me a deployable, may be a stripped down version of what you are using, for us to reproduce? You can send directly to me at pjhaATredhatDOTcom.
Thanks,
Prabhat -
2. Re: New exception in JBP 2.7.1
gressho Feb 5, 2009 1:52 AM (in response to gressho)Hi Prabhat,
this is a maven project. In the ulbak/ulbak directory is a master POM which
should call the others as well. This on produces a single ear-file which I simply move to the farm-directory.
You also need a datasource, you'll find the persistence.xml in the ejb-subproject. It's configured for a DB2 database.
I think I will give it another try with JBP 2.6.6 but I can't say when. So far
I've shutdown all but one cluster node to stabilize the app.
Thanks and best wishes
Werner -
3. Re: New exception in JBP 2.7.1
prabhat.jha Feb 5, 2009 9:00 AM (in response to gressho)I was thinking that you might have missed the pom at ubalk directory level (not ubalk/ubalk).
-
4. Re: New exception in JBP 2.7.1
prabhat.jha Feb 5, 2009 9:08 AM (in response to gressho)Looking at more carefully, I see that your ear include portlet bridge 1.0.0.B3.jar and the latest one is 1.0.0.B6.jar. New one has lots of fixes but it does not seem like it will fix this.
Looking at http://anonsvn.jboss.org/repos/portletbridge/trunk/core/portletbridge-impl/src/main/java/org/jboss/portletbridge/application/PortletStateHolder.java,
this class needs to be marked serializable. That should fix it. -
-
6. Re: New exception in JBP 2.7.1
gressho Feb 5, 2009 10:45 AM (in response to gressho)Thanks for your help!
Best wishes
Werner -
7. Re: New exception in JBP 2.7.1
wesleyhales Feb 5, 2009 12:22 PM (in response to gressho)Can you try to upgrade to B6 and let us know if you are getting the error? Just check here for config details http://www.jboss.org/files/portletbridge/docs/1.0.0.B6/en/html_single/index.html#configuration ... it should not be complicated, and for some reason if it is, let me know how I can help.
The reason is, even if we do make certain session classes serializable, you will still need to use trunk until we release the latest version. -
8. Re: New exception in JBP 2.7.1
wesleyhales Feb 5, 2009 12:48 PM (in response to gressho)Also, the error is still in B6. But is it actually causing the application to break? or is it just showing up in the error log?
Every time the bridge gets an instance, the object is checked (See factory method in PortletStateHolder). Watch PBR-75 for the fix. -
9. Re: New exception in JBP 2.7.1
gressho Feb 6, 2009 3:26 AM (in response to gressho)Ouch, I simply denied the fact I reconfigured the apache loadbalancer. I
moved the configuration to a virtual host and the application broke!!!
I really can't believe, but moving back to the original configuration without
virtual hosts let the application work in the cluster again. :-(
I'm sorry about this.
Best wishes
Werner -
10. Re: New exception in JBP 2.7.1
gressho Feb 6, 2009 5:32 AM (in response to gressho)Ok, as long I don't use virtual hosts all is working fine. As I already stated in
PortletBridge forum, I've some issues with PB beta 6 but I guess I'll have to reconfigure my app in near future. I thank you for your help in this matter.