[flexcoders] Re: Urgent call for Flex Portlet (Flex Taglibs) specialists (James Ward, help!)

2007-03-20 Thread johan.wasserman
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 flexcoders@yahoogroups.com, 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 flexcoders@yahoogroups.com, 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.
  
 





[flexcoders] Re: Urgent call for Flex Portlet (Flex Taglibs) specialists (James Ward, help!)

2007-03-20 Thread johan.wasserman
The 2.5 feature will be available (downloadable) where?

Thanks Ed.
And thanks to everyone working on this.


--- In flexcoders@yahoogroups.com, ed_solovey [EMAIL PROTECTED] 
wrote:

 There is a 2.5 feature that allows quick enabling of Flex 
applications
 as local portlets and as WSRP producer portlets.  It is documented 
in
 Chapter 18 of the Beta 2 documentation.  Here is the summary 
paragraph
 from the documentation,
 
 The portal feature lets you easily configure Flex client 
applications
 as local portlets on a portal server. It also lets you enable Flex
 client applications for consumption by a portlet consumer using 
portal
 servers that support WSRP.
 
 The 2.5 Beta 2 will be publicly available tomorrow evening.  If you
 would like access before then, please send an email to Leslie Lewis,
 [EMAIL PROTECTED]
 
 Best,
 Ed
 
 --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote:
 
  your first email arrived 5 hours earlier than this in the middle 
of the
  night for most folks in north america, so give folks a little 
time :-)
  I'll see if anyone on the enterprise team knows anything.
   
  Matt
  
  
  
  From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
  Behalf Of johan.wasserman
  Sent: Monday, March 19, 2007 7:21 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Urgent call for Flex Portlet (Flex 
Taglibs)
  specialists (James Ward, help!)
  
  
  
  Is there a point to posting questions and calls for assistance 
here?
  
  Where are all the really good guys out there that can actually 
solve 
  some challanging issues to get Flex used in more and more 
  applications?
  
  I really need assistance, what's going to happen next? Let my 
client 
  choose other technology or try to get this Flex thing to work? 
I'll 
  implement the solution, no matter what the technology, but I am 
proud 
  of Flex and would like to see it work, how about you?
  
  --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
  , 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.
  
 





[flexcoders] Urgent call for Flex Portlet (Flex Taglibs) specialists (James Ward, help!)

2007-03-19 Thread johan.wasserman
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.



[flexcoders] Re: Urgent call for Flex Portlet (Flex Taglibs) specialists (James Ward, help!)

2007-03-19 Thread johan.wasserman
Is there a point to posting questions and calls for assistance here?

Where are all the really good guys out there that can actually solve 
some challanging issues to get Flex used in more and more 
applications?

I really need assistance, what's going to happen next?  Let my client 
choose other technology or try to get this Flex thing to work?  I'll 
implement the solution, no matter what the technology, but I am proud 
of Flex and would like to see it work, how about you?

--- In flexcoders@yahoogroups.com, johan.wasserman 
[EMAIL PROTECTED] 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.





[flexcoders] Re: Flex CacheKeyUtils error on JBoss Portal

2007-03-11 Thread johan.wasserman
Is there no one out there that can give any response to the error?  I 
have searched Adobe Labs for any groups or comunities on the Flex Tag 
library to no avail.  Is there any other way to intigrate Flex into 
JBoss portal other than using the Flex taglibs?  I desperately need to 
prsent flex apps as portlets on JBoss portal.



[flexcoders] Re: Flex CacheKeyUtils error on JBoss Portal

2007-03-11 Thread johan.wasserman
Is there no one out there that can give any response to the error?  I 
have searched Adobe Labs for any groups or comunities on the Flex Tag 
library to no avail.  Is there any other way to intigrate Flex into 
JBoss portal other than using the Flex taglibs?  I desperately need to 
prsent flex apps as portlets on JBoss portal.



[flexcoders] Flex CacheKeyUtils error on JBoss Portal

2007-03-10 Thread johan.wasserman
I am trying to deploy a Flex app on JBoss portal using the Flex tag 
library
JBoss Portal 2.6.0 Developer Release 1
JBoss AS 4.0.5 GA
Flex 2.0.1

jsp:
%@ taglib uri=FlexTagLib prefix=mm %
mm:mxml source=/login.mxml/

Portlet code:
package com.jboss.portlet.login;

import javax.portlet.GenericPortlet;
import javax.portlet.PortletException;
import javax.portlet.PortletRequestDispatcher;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import javax.portlet.UnavailableException;
import java.io.IOException;

public class LoginPortlet extends GenericPortlet {
public void doView (RenderRequest request, RenderResponse response)
throws PortletException, IOException, UnavailableException {
response.setContentType(text/html);
PortletRequestDispatcher rd = getPortletContext().getRequestDispatcher
(/login/login.jsp);
rd.include(request,response);
}
}

I get the following error:
java.lang.NullPointerException
at flex.server.j2ee.cache.CacheKeyUtils.generateSwfCacheKey
(CacheKeyUtils.java:54)
at flex.server.j2ee.RequestContext.setupMxmlRequest
(RequestContext.java:102)
at flex.server.j2ee.RequestContext.init(RequestContext.java:62)
at flex2.server.j2ee.CompileAgent.setupMxmlContextKeys
(CompileAgent.java:16)
at flex2.server.j2ee.CompileAgentServlet.setupMxmlContextKeys
(CompileAgentServlet.java:30)
at flex2.server.j2ee.MxmlServlet.doGet(MxmlServlet.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)


I have tried the simplest code possible, but as soon as I add the 
mm:mxml/ tag, the error occurs:
%@ taglib uri=FlexTagLib prefix=mm %
mm:mxml/