Re: PortletBridge starting portlet problem

2010-09-01 Thread Jakub Kahovec
The factories are actually set per the context classloader, not per thread, so it is a synchronization issue. Jakub On 1 September 2010 00:49, Scott O'Bryan darkar...@gmail.com wrote: Never mind. My pneumonia is effecting my brain.. :) sorry. Let me take a look at this tomorrow when I'm

Re: PortletBridge starting portlet problem

2010-08-31 Thread Matthias Wessendorf
Hey Scott, Yves, perhaps this is similar to TRINIDAD-195 ? Is this happening on unix,linux or apple OS ? -Matthias On Mon, Aug 30, 2010 at 5:39 PM, Yves Deschamps yves.descha...@univ-lille1.fr wrote: It means Factory already available for this class loader Thanks... Scott O'Bryan a écrit

Re: PortletBridge starting portlet problem

2010-08-31 Thread Michael Freedman
Did you see the latest e-mail/comment on the thread with the subject line: Re: [Trinidad] java.lang.IllegalStateException: Factory already available for this class loader? Sounds plausible that the lack of synchronization is causing this problem. You can either wait to hear from the Trinidad

Re: PortletBridge starting portlet problem

2010-08-31 Thread Scott O'Bryan
I doubt it's a synchronization issue since the Factory is complaining that it already exists for a particular thread. That to me seems to imply it's single threaded. Sent from my iPhone On Aug 31, 2010, at 3:52 PM, Michael Freedman michael.freed...@oracle.com wrote: Did you see the latest

Re: PortletBridge starting portlet problem

2010-08-31 Thread Scott O'Bryan
Never mind. My pneumonia is effecting my brain.. :) sorry. Let me take a look at this tomorrow when I'm hopefully not running a fever. Sent from my iPhone On Aug 31, 2010, at 4:41 PM, Scott O'Bryan darkar...@gmail.com wrote: I doubt it's a synchronization issue since the Factory is

Re: PortletBridge starting portlet problem

2010-08-30 Thread Yves Deschamps
Hi Michael, I just come back from holidays. I try my app with this environment: trinidad 1.2.15-SNAPSHOT (30/08/2010) portlet-bridge 1.0.0 (distribution) myfaces 1.2.9 (distribution) portlet-api-1.0 pluto... 1.1.7 uPortal-3.2.1 The result is : Caused by: java.lang.IllegalStateException:

Re: PortletBridge starting portlet problem

2010-08-30 Thread Scott O'Bryan
Yay.. Exception translation at work. Yves, can you tell us what that message states in English? Sorry, half the characters didn't come through. Sent from my iPhone On Aug 30, 2010, at 6:50 AM, Yves Deschamps yves.descha...@univ-lille1.fr wrote: Hi Michael, I just come back from holidays.

Re: PortletBridge starting portlet problem

2010-08-30 Thread Yves Deschamps
It means Factory already available for this class loader Thanks... Scott O'Bryan a écrit : Yay.. Exception translation at work. Yves, can you tell us what that message states in English? Sorry, half the characters didn't come through. Sent from my iPhone On Aug 30, 2010, at 6:50 AM, Yves

Re: PortletBridge starting portlet problem

2010-07-13 Thread Michael Freedman
This feels more environmental than anything else. Is this still just the situation when accessing from an iPhone user-agent? The regular user-agent still works fine? Can you send me a complete description of your environment? I.e. Specific Trinidad version, Faces make (Mojarra or Myfaces?)

Re: PortletBridge starting portlet problem

2010-07-12 Thread Yves Deschamps
Thank you Michael, I change little things and now, i have this NPE: Caused by: java.lang.NullPointerException at org.apache.myfaces.portlet.faces.util.map.PortletRequestHeaders.initHeaderMap(PortletRequestHeaders.java:109) at

Re: PortletBridge starting portlet problem

2010-07-08 Thread Michael Freedman
Looks like its failing in this line in Trinidad: org.apache.myfaces.trinidadinternal.renderkit.RenderKitDecorator.getRenderKit(RenderKitDecorator.java:119) ConcurrentMapString, Object appMap = RequestContext.getCurrentInstance().getApplicationScopedConcurrentMap();

Re: PortletBridge starting portlet problem

2010-07-07 Thread Yves Deschamps
Thank you Michael, May be it is a track... My portlet is written in JSF 1.2 with Trinidad. When I am in Default User Agent, no problem. When I am in iPhone User Agent, the portlet don't start fine. I see tht in logs : org.jasig.portal.channels.portlet.PortletDispatchException: Exception

PortletBridge starting portlet problem

2010-07-06 Thread Yves Deschamps
Hi all, I have this exception when the portlet start... An idea ? GRAVE: Servlet.service() pour la servlet esup-news-mobile a lancé une exception java.lang.NullPointerException at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:428) at

Re: PortletBridge starting portlet problem

2010-07-06 Thread Scott O'Bryan
I don't have time to take a look at the line ring now but do you have a default viewId specified? Also, what version of the bridge are you using? Sent from my iPhone On Jul 6, 2010, at 6:39 AM, Yves Deschamps yves.descha...@univ-lille1.fr wrote: Hi all, I have this exception when the

Re: PortletBridge starting portlet problem

2010-07-06 Thread Yves Deschamps
Hi Scott, Yes i have a default viewId in portlet.xml : init-param namejavax.portlet.faces.defaultViewId.view/name value/home.jsp/value /init-param I am using this version (with good help from Michael Freedman).

Re: PortletBridge starting portlet problem

2010-07-06 Thread Michael Freedman
Hum... This is what I see for line 428 (BridgeImpl.doFacesRequest(BridgeImpl.java:428): if (request.getPortletSession().getAttribute(key) == null) As the request object has already been dereferenced before this line, the only way, that I can see, that this can throw a NullPointerException