Apache Jetspeed Portlet API 2

2001-09-01 Thread Ted Husted

So, is the Portlet API in the CVS the best reference copy right now?

< http://cvs.apache.org/viewcvs/jakarta-jetspeed/proposals/portletAPI/ >

I tried to find one on the IBM sites

< http://www.developer.ibm.com/welcome/websphere/wps/ >

< http://www-4.ibm.com/software/webservers/portal/ >

but came up empty. Many mentions of the API. Just couldn't find the API
itself.


Is the code in the portlet_api branch to be considered a "reference
implementation"?


I also take it the current plan is to move Jetspeed to the new API in
the 1.3a3 timeframe, rather than move onto Jetspeed 2?



-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: FileWatcher / customizing turbine user

2001-09-01 Thread Ted Husted

Success!

Turns out I had previously checked out the CVS using the Porlet API tag.
When I checked it out again, CVS very politely remembered that, so I
didn't get the current HEAD. Did a clean check-out, build, and deploy,
and a2-dev is working as expected. 

-T.

Paul Spencer wrote:
> 
> Ted,
> Do any portlets on the homepage appear?
> 
> You can remove offending portlets by edit
> jetspeed\WEB-INF\psml\anon\html\en\default.psml.  The problem may be
> limited to specific portlet types, i.e. RSS.
> 
> I am not sure what the problem is.  I am running Tomcat v3.3-b1 and have
> no experience with Tomcat 4.0.  The problem may be related to Tomcat,
> but I do not know.
> 
> Paul Spencer
> 
> Ted Husted wrote:
> >
> > Paul Spencer wrote:
> > >
> > > Ted,
> > > The e-mail problem has been fixed in the Jetspeed 1.3a2-dev, a.k.a. CVS.
> > >
> > > Paul Spencer
> >
> > Thanks, Paul.
> >
> > Built it from CVS. Removed the old deployment, and cleared out the
> > Tomcat work directory. Deployed the new WAR. The FileManager is still
> > reporting a NULL, and then a huge NullPointerException stack trace came
> > up on the default page.
> >
> > Not sure what else to do.
> >
> > -- Ted Husted, Husted dot Com, Fairport NY USA.
> > -- Custom Software ~ Technical Services.
> > -- Tel +1 716 737-3463
> > -- http://www.husted.com/about/struts/
> >
> > java.lang.NullPointerException at
> >
> > 
>org.apache.jetspeed.portal.controls.TitlePortletControl.getPortletOptions(TitlePortletControl.java:193)
> > at
> >
> > 
>org.apache.jetspeed.portal.controls.TitlePortletControl.getContent(TitlePortletControl.java:120)
> > at
> >
> > 
>org.apache.jetspeed.portal.controllers.RowColumnPortletController.getHTMLContent(RowColumnPortletController.java:166)
> > at
> >
> > 
>org.apache.jetspeed.portal.controllers.RowColumnPortletController.getContent(RowColumnPortletController.java:115)
> > at
> >
> > org.apache.jetspeed.portal.PortletSet.getContent(PortletSet.java:280) at
> >
> > 
>org.apache.jetspeed.portal.controllers.RowColumnPortletController.getHTMLContent(RowColumnPortletController.java:182)
> > at
> >
> > 
>org.apache.jetspeed.portal.controllers.RowColumnPortletController.getContent(RowColumnPortletController.java:115)
> > at
> >
> > org.apache.jetspeed.portal.PortletSet.getContent(PortletSet.java:280) at
> >
> > 
>org.apache.jetspeed.portal.controllers.RowColumnPortletController.getHTMLContent(RowColumnPortletController.java:166)
> > at
> >
> > 
>org.apache.jetspeed.portal.controllers.RowColumnPortletController.getContent(RowColumnPortletController.java:115)
> > at
> >
> > org.apache.jetspeed.portal.PortletSet.getContent(PortletSet.java:280) at
> >
> > org.apache.jetspeed.modules.screens.Home.getPSMLContent(Home.java:263)
> > at
> >
> > org.apache.jetspeed.modules.screens.Home.doBuild(Home.java:190) at
> > org.apache.turbine.modules.Screen.build(Screen.java:98)
> >at
> > org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129) at
> >
> > 
>org.apache.jetspeed.services.jsp.tags.EcsScreenTag.doStartTag(EcsScreenTag.java:102)
> > at
> >
> > 
>org.apache.jsp._0002fWEB_0002dINF_0002ftemplates_0002fjsp_0002fscreens_0002fEcs_jsp._jspService(_0002fWEB_0002dINF_0002ftemplates_0002fjsp_0002fscreens_0002fEcs_jsp.java:63)
> >at
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at
> >
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:1264) at
> >
> > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
> > at
> >
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
> > at
> >
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:458) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:1264) at
> >
> > 
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
> > at
> >
> > 
>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:563)
> > at
> >
> > 
>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:486)
> > at
> >
> > org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:391)
> > at
> >
> > 
>org.apache.jsp._0002fWEB_0002dINF_0002ftemplates_0002fjsp_0002flayouts_0002fhtml_0002fen_0002fdefault_jsp._jspService(_0002fWEB_0002dINF_0002ftempl

Re: FileWatcher / customizing turbine user

2001-08-31 Thread Ted Husted

Paul Spencer wrote:
> 
> Ted,
> The e-mail problem has been fixed in the Jetspeed 1.3a2-dev, a.k.a. CVS.
> 
> Paul Spencer

Thanks, Paul. 

Built it from CVS. Removed the old deployment, and cleared out the
Tomcat work directory. Deployed the new WAR. The FileManager is still
reporting a NULL, and then a huge NullPointerException stack trace came
up on the default page. 

Not sure what else to do.

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/


java.lang.NullPointerException at
  
org.apache.jetspeed.portal.controls.TitlePortletControl.getPortletOptions(TitlePortletControl.java:193)
at
  
org.apache.jetspeed.portal.controls.TitlePortletControl.getContent(TitlePortletControl.java:120)
at
  
org.apache.jetspeed.portal.controllers.RowColumnPortletController.getHTMLContent(RowColumnPortletController.java:166)
at
  
org.apache.jetspeed.portal.controllers.RowColumnPortletController.getContent(RowColumnPortletController.java:115)
at
  
org.apache.jetspeed.portal.PortletSet.getContent(PortletSet.java:280) at
  
org.apache.jetspeed.portal.controllers.RowColumnPortletController.getHTMLContent(RowColumnPortletController.java:182)
at
  
org.apache.jetspeed.portal.controllers.RowColumnPortletController.getContent(RowColumnPortletController.java:115)
at
  
org.apache.jetspeed.portal.PortletSet.getContent(PortletSet.java:280) at
  
org.apache.jetspeed.portal.controllers.RowColumnPortletController.getHTMLContent(RowColumnPortletController.java:166)
at
  
org.apache.jetspeed.portal.controllers.RowColumnPortletController.getContent(RowColumnPortletController.java:115)
at
  
org.apache.jetspeed.portal.PortletSet.getContent(PortletSet.java:280) at
  
org.apache.jetspeed.modules.screens.Home.getPSMLContent(Home.java:263)
at
  
org.apache.jetspeed.modules.screens.Home.doBuild(Home.java:190) at
org.apache.turbine.modules.Screen.build(Screen.java:98)
   at
org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129) at
  
org.apache.jetspeed.services.jsp.tags.EcsScreenTag.doStartTag(EcsScreenTag.java:102)
at
  
org.apache.jsp._0002fWEB_0002dINF_0002ftemplates_0002fjsp_0002fscreens_0002fEcs_jsp._jspService(_0002fWEB_0002dINF_0002ftemplates_0002fjsp_0002fscreens_0002fEcs_jsp.java:63)
   at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at
  
javax.servlet.http.HttpServlet.service(HttpServlet.java:1264) at
  
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at
  
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at
  
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:458) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:1264) at
  
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at
  
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:563)
at
  
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:486)
at
  
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:391)
at
  
org.apache.jsp._0002fWEB_0002dINF_0002ftemplates_0002fjsp_0002flayouts_0002fhtml_0002fen_0002fdefault_jsp._jspService(_0002fWEB_0002dINF_0002ftemplates_0002fjsp_0002flayouts_0002fhtml_0002fen_0002fdefault_jsp.java:177)
   at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at
  
javax.servlet.http.HttpServlet.service(HttpServlet.java:1264) at
  
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at
  
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at
  
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:458) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:1264) at
  
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at
  
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:563)
at
  
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:486)
at
  
org.apache.turbine.services.jsp.TurbineJspService.handleRequest(TurbineJspService.java:172)
at
  
org.apache.jetspeed.modules.layouts.JetspeedJspLayout.doBuild(JetspeedJspLayout.java:101)
at
   org.apache.turbine.modules.Layout.build(Layout.java:91)
at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:122)
   at
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:171)
at
   org.apache.turbine.mod

FileWatcher / customizing turbine user

2001-08-31 Thread Ted Husted

NT Workstation 4 sp6
Tomcat 4.0b7 binary 
Jetspeed 1.3a1 binary

After installing the WAR, Tomcat complains 

DCE: isLocal:
url=file:///D:\public\tomcat4\webapps\jetspeed\WEB-INF\cache\http_www.apacheweek.com_issues_apacheweek-headlines.xml
file=
D:\public\tomcat4\webapps\jetspeed\WEB-INF\cache\http_www.apacheweek.com_issues_apacheweek-headlines.xml

//** 

java.lang.NullPointerException
at
org.apache.jetspeed.services.registrymanager.FileWatcher.isModified(FileWatcher.java:165)
at
org.apache.jetspeed.services.registrymanager.FileWatcher.run(FileWatcher.java:144)

**//

initializing service: RegistryManager

The only bum URLs I could find were those referring to java.apache.org
instead of jakarta.apache.org, but fixing those didn't help.

I also haven't had any luck getting the email confirmation system to
work. Tried putting in the SMTP server for my cable connection, and also
tried JAMES. If I could just customize the turbine user for now, that
would be great. But when I try, it complains that 

Error=CustomizePortlet: Could not get Portlet MyWeather from
PortletFactory!
Error=CustomizePortlet: Could not get Portlet Jetspeed from
PortletFactory!
Error=CustomizePortlet: Could not get Portlet Stocks from
PortletFactory!
Error=CustomizePortlet: Could not get Portlet AdminInfo from
PortletFactory!

and ignores any customize changes I try to make to admin or turbine
(including just turning things off).

I tried changing the turbine profile by hand and make changes that way
-- but only if I restart Tomcat aftewards. If I remove portlets this
way, the GUI does not let me turn them back on again. It sounds like
permissions, but I'm running it on NT workstation.


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]