Sorry for having been so impatient, my bad... Firstly, thanks to
everyone who's put in so many hours to bring us these technologies, I
hope you had as much fun "making" it as I have using it.
Matt, I can wait 48 hours, anything to get this technology in. I
just really want it to work; 1 - Because I think it's fantasic, 2 -
I'm a technology junky, 3 - It's above all, the best possible
solution. Please drop a post when you guys have something, I'm
holding my breath...
Jeff, my portlet is real simple, I tested using a simple .mxml page,
in which case I got the "generateSwfCacheKey" error, and then I used
Flah Taglibs in a .jsp, and got the "generateJspCacheKey" error. To
confirm, I just editied the .jsp and changed its contents
to "Hello...", and the portlet displayed it perfectly. As soon as
you start using the mxml tags in the .jsp it goes bottoms-up.
Portlet code below.... (I will wait for Matt's response on the 48
hour new stuff)
package com.test;
import javax.portlet.PortletRequestDispatcher;
public class Test extends javax.portlet.GenericPortlet
{
public void doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
{
response.setContentType("text/html");
PortletRequestDispatcher rd =
getPortletContext().getRequestDispatcher
("/ftest/index.jsp");
//ftest/index.mxml
rd.include(request,response);
}
}
--- In [email protected], "jeffjvroom" <[EMAIL PROTECTED]> wrote:
>
> I'm not sure why this is happening unfortunately. In both of those
> stack traces, the line of code looks like:
>
> String uri = request.getRequestURL().toString();
>
> So either request is null or the request.getRequestURL() method is
> returning null? I'm not sure why either of those would happen.
>
> Jeff
>
> >
> > --- In [email protected], "johan.wasserman"
> > <johan.wasserman@> wrote:
> > >
> > > I have tried and tried, fried my brain, and I am desperate.
> > >
> > > I firstly wrote a simple portlet and tried to present a flex
page
> > on
> > > JBoss portal, unsuccessfull because of the -
> > > java.lang.NullPointerException
> > > at flex.server.j2ee.cache.CacheKeyUtils.generateJspCacheKe
> > > (CacheKeyUtils.java:68)
> > >
> > > OR
> > > generateSwfCacheKey(CacheKeyUtils.java:54) if I try to show the
> > mxml
> > > file directly, without going through the taglib.
> > >
> > > - error.
> > >
> > > Then, with effort, learned how another portal server works, I
> > > inastalled and configured Jetspeed 2, and after trying just
about
> > > every trick in the book, had to give up and realised the same -
> > > java.lang.NullPointerException
> > > at flex.server.j2ee.cache.CacheKeyUtils.generateJspCacheKey
> > > (CacheKeyUtils.java:68)
> > >
> > > - error haunting me.
> > >
> > > I have a simple, yet urgent requirement, I need to make Flex
> > > applications available as portlets, on (prefferably) an Appache
> > > opensource portal server.
> > >
> > > PLEASE will SOMEONE help me?!
> > >
> > > I'll send my JBoss and / or Jetspeed 2 installation, zipped, so
> you
> > > can have the full config and everything I have done, I'll send
> the
> > > MySQL databases for these portal servers, ANYTHING, just say
what
> > you
> > > need.
> > >
> > > The only common denominator is that both these portal servers
are
> > > based on Apache Tomcat....
> > >
> > > PLEASE PLEASE ASSIST.
> > >
> >
>