You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Craig Castelaz <cr...@flashline.com> on 2001/04/27 16:51:27 UTC

Customize

After a few mishaps, we've recently install Jetspeed on JRun 3.0, and basic
functionality appears to be just fine.  That is, we get the "It worked"
message when we first start, and can successfully login as either Turbine or
Admin.  However, when we attempt to "customize" either of these two users,
nothing happens.  Regardless of whether we're adding or removing portlets,
when we click "finish" and are returned to the previous page, the portlets
remain unchanged.  For instance, the Turbine user starts with xmlhack,
Morzilla Dot Org, and Apache Week, and ends up with the same three portlets
regardless of the selections in the customize page.  There is no visible
blow-up, but several errors do appear in various logs.

In the JRun System.out log (nnnnnn-out.log) the following lines appear:
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!
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!

The JRun server event log (nnnnnn-event.log) looks uneventful.  Pardon the
pun.

The JRun server err log (nnnnnn-err.log) has one error in a stream of
successes.  (List is truncated)
.....
initializing service: ProfileManager
initializing service: PortletCache
initializing service: ThreadPool
initializing service: RegistryManager
initializing service: URLManager
java.lang.NullPointerException
	at
org.apache.jetspeed.services.registrymanager.FileWatcher.isModified(FileWatc
her.java:165)
	at
org.apache.jetspeed.services.registrymanager.FileWatcher.run(FileWatcher.jav
a:144)
initializing service: TurbineSecurityService
initializing service: TurbinePoolBrokerService
initializing service: ResourcesService
initializing service: URLManager
......

The richest area of logged errors is, not surprisingly, the jetspeed.log
where most of the problems seemed to deal with caching or items not being
found in the registry.  There are additional errors regarding writing
Turbine's home PSML which we're assuming to be occuring after "finish" is
clicked.

.....
[Fri Apr 27 10:02:35 EDT 2001] -- NOTICE  -- DiskCache: this URL can't be
stored in cache... providing it
directly.jrun://localvm/apps/foobar/resources/rss/Jetspeed.rss
[Fri Apr 27 10:02:35 EDT 2001] --  ERROR  -- RSSPortlet:  Couldn't parse out
XML document -> jrun://localvm/apps/foobar/resources/rss/Jetspeed.rss 
	Exception:  java.io.IOException:
jrun://localvm/apps/foobar/resources/rss/Jetspeed.rss: is not in cache after
forcing
.....
[Fri Apr 27 10:02:35 EDT 2001] --  ERROR  -- 
	Exception:  org.apache.jetspeed.portal.PortletException:
jrun://localvm/apps/foobar/resources/rss/Jetspeed.rss: is not in cache after
forcing
.....
[Fri Apr 27 10:02:35 EDT 2001] -- NOTICE  -- Created a CapabilityMap for
agent:  Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
[Fri Apr 27 10:02:35 EDT 2001] --  ERROR  -- 
	Exception:  org.apache.jetspeed.om.registry.InvalidEntryException:
The specified entry does not exist within the Registry
http://java.apache.org/jetspeed/channels/jetspeed.rss
.....
[Fri Apr 27 10:02:35 EDT 2001] --  ERROR  -- 
	Exception:  org.apache.jetspeed.om.registry.InvalidEntryException:
The specified entry does not exist within the Registry
http://java.apache.org/jetspeed/channels/turbine.rss
.....
[Fri Apr 27 10:04:30 EDT 2001] --  ERROR  -- 
	Exception:  java.io.IOException: The URL you specified within the
disk cache does not exist: jrun://localvm/apps/foobar/resources/welcome.html
.....
[Fri Apr 27 10:04:30 EDT 2001] -- NOTICE  -- DiskCache: this URL can't be
stored in cache... providing it
directly.jrun://localvm/apps/foobar/resources/rss/admin.rss
[Fri Apr 27 10:04:30 EDT 2001] --  ERROR  -- RSSPortlet:  Couldn't parse out
XML document -> jrun://localvm/apps/foobar/resources/rss/admin.rss 
	Exception:  java.io.IOException:
jrun://localvm/apps/foobar/resources/rss/admin.rss: is not in cache after
forcing
.....
[Fri Apr 27 10:06:06 EDT 2001] -- NOTICE  -- PSMLManager: Writing turbine's
PSML for 'text/html' to '/WEB-INF/psml/turbine/homeHTML.psml'
[Fri Apr 27 10:06:06 EDT 2001] -- NOTICE  -- Returning local cached URL
[Fri Apr 27 10:06:06 EDT 2001] --  ERROR  -- PSMLManager: Error writing PSML
	Exception:  java.io.IOException: Cannot write to remote URLs!
.....
[Fri Apr 27 10:06:06 EDT 2001] -- NOTICE  -- PSMLManager: Writing turbine's
PSML for 'text/vnd.wap.wml' to '/WEB-INF/psml/turbine/homeWML.psml'
[Fri Apr 27 10:06:06 EDT 2001] --  ERROR  -- PSMLManager: Error writing PSML
	Exception:  java.lang.NullPointerException
.....

Any help regarding these error messages would be greatly appreciated.

Thanks,
Craig


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org