Re: Registry class

2001-08-31 Thread Raphaël Luta

Vincent Bonamy wrote:

 Hello,
 
 I have pb with the class Registry : it seems it does'nt exist in the
 current cvs !??


There are 2 Registry classes/interfaces in the CVS:
- the Registry service
   (org.apache.jetspeed.services.Registry and
org.apache.jetspeed.services.registry.*)
- the Registry object model
   org.apache.jetspeed.om.registry.* for the interfaces
   org.apache.jetspeed.om.registry.base.* for the default implementations

The Registry service provides the manipulation methods to access/create/remove
entries in the Registry. These entries are instances of implementations of the
registry object model interfaces.

If you want to check which implementation classes are currently used by
Jetspeed, look at /WEB-INF/conf/registry.xml which is the Castor mapping
file used by the Registry service.  

--
Raphael Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Paris


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




Re: Registry class

2001-08-31 Thread Vincent Bonamy

What I want exactly to do is to add or remove entries of my local-portlets.xreg
with a jsp.

So, maybe that CastorRegistryService class can help me?

Thanks,
vincent.


Raphaël Luta wrote:

 Vincent Bonamy wrote:

  Hello,
 
  I have pb with the class Registry : it seems it does'nt exist in the
  current cvs !??

 There are 2 Registry classes/interfaces in the CVS:
 - the Registry service
(org.apache.jetspeed.services.Registry and
 org.apache.jetspeed.services.registry.*)
 - the Registry object model
org.apache.jetspeed.om.registry.* for the interfaces
org.apache.jetspeed.om.registry.base.* for the default implementations

 The Registry service provides the manipulation methods to access/create/remove
 entries in the Registry. These entries are instances of implementations of the
 registry object model interfaces.

 If you want to check which implementation classes are currently used by
 Jetspeed, look at /WEB-INF/conf/registry.xml which is the Castor mapping
 file used by the Registry service.

 --
 Raphael Luta - [EMAIL PROTECTED]
 Vivendi Universal Networks - Paris

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


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




Re: Registry class

2001-08-31 Thread Vincent Bonamy

I think endly that the class static RegistryManager is convenient for me

bye,
vincent.

Vincent Bonamy wrote:

 What I want exactly to do is to add or remove entries of my local-portlets.xreg
 with a jsp.

 So, maybe that CastorRegistryService class can help me?

 Thanks,
 vincent.



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




Re: Registry class

2001-08-31 Thread Raphaël Luta

Vincent Bonamy wrote:

 I think endly that the class static RegistryManager is convenient for me
 



The static service accessor class org.apache.jetspeed.services.Registry
should answer all your needs.
The CastorRegistryService implementation will store by default all entries
added by programmatic means into the xreg file defined by the
service.Registry.default.Portlet key in JR.p which is local-portlets
by default.

--
Raphael Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Paris


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




Re: Registry class

2001-08-31 Thread Vincent Bonamy


Thanks Raphael,

org.apache.jetspeed.services.registrymanager.RegistryManager is no more in
the current cvs , isn't it ?    :(

I'm going to use org.apache.jetspeed.services.Registry: it changed in the
current cvs,
it is instead of RegistryManager, no ?
Cool  :)

bye and thanks.

vincent.


Raphaël Luta wrote:

 Vincent Bonamy wrote:

  I think endly that the class static RegistryManager is convenient for me
 

 The static service accessor class org.apache.jetspeed.services.Registry
 should answer all your needs.
 The CastorRegistryService implementation will store by default all entries
 added by programmatic means into the xreg file defined by the
 service.Registry.default.Portlet key in JR.p which is local-portlets
 by default.

 --
 Raphael Luta - [EMAIL PROTECTED]
 Vivendi Universal Networks - Paris

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


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




Re: Latest Jetspeed from CVS with latest Jetty 3.1RC8 (and Opera...)

2001-08-31 Thread Chris Kimpton

Hi,

--- Paul Spencer [EMAIL PROTECTED] wrote:
 Chris,
 Am I summarizing the correctly:
 o  Jetspeed works correctly with Tomcat 3.3. and Opera

Yep - homepage comes up with content.

 o  Jetspeed is NOT displaying content with JBoss/Jetty and Opera.

Yep (although I am just running with Jetty at this stage - it gets
worse with JBoss...)

 
 Assuming the above:
 I would expect to see entries in jetspeed.log when you display the
 initial page.
  -- INFO -- Created a CapabilityMap for agent: ...
  -- DEBUG -- template exists:

E:\apache\jakarta-tomcat-3.3-b1\webapps\jetspeed\WEB-INF\templates\vm\controllers\html\column.vm
 returning /html/column.vm
 
 This tells me the Jetspeed, is getting the request, and the media
 type
 has been identified as HTML.
 
 Is this what you are seeing?
 

For IE5.5,

I see it creating the Capability Map.

I then see it finding the Home and default.vm templates.

A little further down is this error

ERROR -- Error rendering Velocity template: screens/html/Home.vm:
Invocation of method 'getPane' in  class
org.apache.jetspeed.util.template.JetspeedTool threw exception class
javax.xml.transform.TransformerFactoryConfigurationError :
java.lang.ClassNotFoundException:
org.apache.xalan.processor.TransformerFactoryImpl


For Opera, it is very similar, it creates a capability map and finds
the Home and default vm's and then gets the above error.

There is a jaxp jar in the jetty main classpath - I guess this is
forcing it to look in the main classpath for the xalan stuff...

I added xerces and xalan to the main classpath and bingo - Opera now
looks great - content and all!

...but Internet Explorer still thinks its not html and offers you a
Download dialog... which when downloaded is the home page...

There are no obvious errors in the jetspeed.log.


Regards,
Chris


=
Need somewhere to Live in London - http://freeflats.com

__
Do You Yahoo!?
Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

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




Re: Apache 1.3.x / Tomcat / Firewall = no go ?

2001-08-31 Thread Jim O'Connor

Norman,
You need to have Apache hand-off to Tomcat, using mod_jk.  Take a look
at this http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html

- Original Message -
From: Norman Schoneich [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 30, 2001 11:34 AM
Subject: Apache 1.3.x / Tomcat / Firewall = no go ?


 Hi!

 I've set up Apache as a proxy(+ reverse proxy) for Tomcat 3.2.3 and I'm
 using the current (cvs) Jetspeed version. My problem with this setup is
that
 Jetspeed adds the tomcat port (8080) to the urls. But there's no access
 through the firewall to the 8080 urls. How can I tell Jetspeed to add port
 80 instead of port 8080 to the urls or simply add nothing ?

 TIA.



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





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




Registry.getEntry

2001-08-31 Thread Vincent Bonamy

Hello,

I try to use the
Registry.getEntry(regName, entryName)
but it returns to me null everytime!

I tried with
regName = local-portlets.xreg   ( or regName =
$conf_jetspeed/local-portlets.xreg)
entryName=Geomath

I have an entry in my ocal-portlets.xreg:
portlet-entry name=Geomath  

/portlet-entry


What is wrong please?
Can you explain me ?

Thanks,
vincent.


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




AW: Apache 1.3.x / Tomcat / Firewall = no go ?

2001-08-31 Thread Norman Schöneich

Hi!

Apache and Tomcat ARE working at the moment (with mod_jk). That is not the
problem. The problem is that Jetspeed writes the port Tomcat is running on
into the URLs.

-Ursprüngliche Nachricht-
Von: Jim O'Connor [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 31. August 2001 13:28
An: [EMAIL PROTECTED]
Betreff: Re: Apache 1.3.x / Tomcat / Firewall = no go ?


Norman,
You need to have Apache hand-off to Tomcat, using mod_jk.  Take a look
at this http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html

- Original Message -
From: Norman Schoneich [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 30, 2001 11:34 AM
Subject: Apache 1.3.x / Tomcat / Firewall = no go ?


 Hi!

 I've set up Apache as a proxy(+ reverse proxy) for Tomcat 3.2.3 and I'm
 using the current (cvs) Jetspeed version. My problem with this setup is
that
 Jetspeed adds the tomcat port (8080) to the urls. But there's no access
 through the firewall to the 8080 urls. How can I tell Jetspeed to add port
 80 instead of port 8080 to the urls or simply add nothing ?

 TIA.


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




Re: Registry.getEntry

2001-08-31 Thread Raphaël Luta

Vincent Bonamy wrote:

 Hello,
 
 I try to use the
 Registry.getEntry(regName, entryName)
 but it returns to me null everytime!
 
 I tried with
 regName = local-portlets.xreg   ( or regName =
 $conf_jetspeed/local-portlets.xreg)
 entryName=Geomath
 
 I have an entry in my ocal-portlets.xreg:
 portlet-entry name=Geomath  
 
 /portlet-entry
 
 
 What is wrong please?
 Can you explain me ?
 


As always, look at the code... Registry is used everywhere.

To answer directly your question

PortletEntry geomath = (PortletEntry)Registry.getEntry(Registry.PORTLET, Geomath);

The regname parameter describes the Registry name which is related to the type
of object stored not to the implementation xreg file.

--
Raphael Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Paris


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




using jetspeed parts stand-alone?

2001-08-31 Thread Nils Kaiser

hi,

I have to build a chat community and am interested in using jetspeed
features. As I have to use frames (because of the java chat applet), I don't
want to use the jetspeed package as provided. The only part I would use are
the portlet classes without PSML files behind. How can I for example build a
Page using JetSpeed within a servlet? is that good idea or should I bould my
own block classes for using with turbine?

thx.



Jetspeed from CVS - how do customise a pane?

2001-08-31 Thread Chris Kimpton

Hi,

Not sure if this is done yet - but I'll ask anyway...

The default setting for the turbine user in the standard build of
jetspeed has a customisation Layout of Menu pane.

What I'd like to know is how do you get portlets onto the panes.  I'd
have thought there would be an edit button for each pane and clicking
this gives a similar window from which you can configure the layout
of the pane.

Thanks for any insights,
Chris

=
Need somewhere to Live in London - http://freeflats.com

__
Do You Yahoo!?
Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

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




Re: using jetspeed parts stand-alone?

2001-08-31 Thread Raphaël Luta

Nils Kaiser wrote:

 hi,
 
 I have to build a chat community and am interested in using jetspeed
 features. As I have to use frames (because of the java chat applet), I don't
 want to use the jetspeed package as provided. The only part I would use are
 the portlet classes without PSML files behind. How can I for example build a
 Page using JetSpeed within a servlet? is that good idea or should I bould my
 own block classes for using with turbine?
 


You can very easily use Portlet without PSML configuration management or
customization features in any Turbine screen/navigation/layout simply by
using the JetspeedTool pull object like this:

$jetspeed.getPortlet(Apache)

This will only depend on Registry and Portlet API and completely bypass
PSML and customization features.

If you don't want to completely use Turbine neither, it's certainly possible
but starting from JetspeedTool you'll need to figure out all the dependencies.

--
Raphael Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Paris


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




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]




confirm.email.enable=false doesn't work

2001-08-31 Thread Sven . Hohlfeld

Hello,

I don't want a specific verfication of a User registration, because I can't
run a
local Email Server due to Firewall. So I read the Jetspeed-FAQ and found
that a
confirm.email.enable=false
in the JetspeedResource.properties
should do it. But it doesn't!
Has anyone around here encountered similar problems?
An other thing I fell over was that within the Documentation it is said
that
you should modify TurbineResources.properties
instead of JetspeedResource.properties.
That's strange too, I think...

Thanks for your help

Sven Hohlfeld









IMPORTANT NOTICE:

This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the sender.




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


blank portlets??. really weird

2001-08-31 Thread Jacky ESAYAG


hi, something happend and suddenly all my portlets went blank...   I
checked and the problem was on the  portlets.xreg.Apparently, last time
it saved something weird happend and the file got cut in half.  Any clues
on what could have happend??..  The admin.xreg was blank!

jacky


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




PSML from DOM Document

2001-08-31 Thread Dave Carlson

I'm especially interested in this point because I've considered using dbXML
as a native XML database to store psml.  dbXML allows me to query the
database and return a DOM Document, or as SAX stream.  This may be a quick
solution to a scalable storage of psml, without having to map to a
relational dbms.

A very brief summary of how you accomplished this would be helpful!

Dave

 -Original Message-
 From: David Halsted [mailto:[EMAIL PROTECTED]]

 Today, for example, we got Jetspeed to read PSML
 information from an org.w3c.dom.Document, rather than a file;
 that's kind of
 handy.




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




Re: How do I set the portlet title - in the portlet?

2001-08-31 Thread Chris Kimpton

Hi,

--- Raphaël Luta [EMAIL PROTECTED] wrote:
 
 
 Chris Kimpton wrote:
  
 
 It all depends on when do you try to set up the title:
 - if it's during the the getContent() call, then it depends on the
 control implementation
   because if getContent is only called when needed, the portlet
 title is already rendered...
   If you're using on Velocity, you can modify the control template
 to do something like
   this :
 
 #if( ! $portlet.isClosed($data) )
 #set ($content = $portlet.getContent($data))

I have code like the above in my jetspeed.vm and have just switched
to the latest jetspeed code from CVS - I am getting a problem where
the first portlet has the content displayed before the title, but
then the remainding portlets are displayed correctly.

Could this be a velocity problem - something to do with the #set
command?

Thanks for any insights,
Chris

=
Need somewhere to Live in London - http://freeflats.com

__
Do You Yahoo!?
Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

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




Re: How do I set the portlet title - in the portlet?

2001-08-31 Thread Raphaël Luta

Chris Kimpton wrote:

 Hi,
 
 --- Raphaël Luta [EMAIL PROTECTED] wrote:
 

Chris Kimpton wrote:

It all depends on when do you try to set up the title:
- if it's during the the getContent() call, then it depends on the
control implementation
  because if getContent is only called when needed, the portlet
title is already rendered...
  If you're using on Velocity, you can modify the control template
to do something like
  this :

#if( ! $portlet.isClosed($data) )
#set ($content = $portlet.getContent($data))

 
 I have code like the above in my jetspeed.vm and have just switched
 to the latest jetspeed code from CVS - I am getting a problem where
 the first portlet has the content displayed before the title, but
 then the remainding portlets are displayed correctly.
 
 Could this be a velocity problem - something to do with the #set
 command?
 


This is related to the JSP inside Velocity fix: since JSP always stream
their response and it's not possible to intercept their response in servlet
2.2 environments; the default behavior for VelocityPortlet is now
to stream its response directly.

You can simply subclass VelocityPortlet.java to VelocityBufferedPortlet.java,
copy getContent() and patch it this way:

151c151
 TurbineVelocity.handleRequest(context, templatePath, rundata.getOut());
---
  s = TurbineVelocity.handleRequest(context, templatePath);

You can then use the VelocityBufferedPortlet as the parent for your portlets that

require this title manipulation and keep the base VelocityPortlet for the others
(especially the Customization portlets that need the streaming features to work).

--
Raphael Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Paris


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




RE: Jetspeed in Production??

2001-08-31 Thread David Halsted


Basically, we're using MS-SQL on the backend (lots of reasons, not
completely my favorite choice) to drive a service that lets our customers
run our software for their customers via a Web portal.  We're running with
JBoss, and have a fairly nice package worked up that installs very quickly,
but it's really a custom build for us at the moment. 

We'll have to monkey some with the admin stuff, and we've written some
things that are peculiar to our situation (we have pretty odd
group/user/permission needs, for example).  The same set of code should
drive both internal and external apps.  We haven't really started building
portlets in earnest, but we have a fair number of modular jsp apps that I'm
sure we'll be able to plug in easily.  For one of the applications, we're
actually passing off to a Citrix server and running the app through that.
As we go forward, we will be folding in other applications and information
from other entities within our corporate group.  

So far, I'm extremely pleased with Jetspeed, especially as it compares with
the proprietary package we were using before.  As we go forward and get some
real testing and stressing done I'll pass any interesting results on to the
group.

Best,
Dave

-Original Message-
From: Sumit Ranjan [mailto:[EMAIL PROTECTED]] 
Sent: Friday, August 31, 2001 1:02 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Jetspeed in Production??

hi david !
   many congratulations on a successful implementation of jetspeed.
   could you please share your experiences with uslike tell us about the
functionalities or architecture in your scheme of things...what version of
jetspeed have u used...what db...etc

hope to hear from you in detail...

all the best for your roll out.

sumit
- Original Message -
From: David Halsted [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 31, 2001 12:38 AM
Subject: RE: Jetspeed in Production??


 We're in the process of doing it and plan to roll out at the end of
 September.  Unless we run into a real show-stopper, Jetspeed will support
 both internal and external production applications.  We are playing around
a
 bit with some things to integrate with a back-end database.  If we come up
 with anything that looks like it might be useful for anybody else we'll
 submit the code.  Today, for example, we got Jetspeed to read PSML
 information from an org.w3c.dom.Document, rather than a file; that's kind
of
 handy.

 I'd be glad to answer any questions or refer them to some of the rest of
the
 crew here.

 Best,

 Dave Halsted

 **
 David G. Halsted, Ph.D.
 Director, Core Technology
 Creative Solutions, Inc.
 Dexter, MI 48130
 [EMAIL PROTECTED]

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 2:32 PM
 To: [EMAIL PROTECTED]
 Subject: Jetspeed in Production??

 This isn't a technical problem however I am just curious to know...is
there
 anyone out there the is working for a company that has implemented
Jetspeed
 into their production environment successfully and currently using it??
 Would anyone respond if you are and what company you work for??  I'm
 interested to know since we are looking to make this a reality at my
 company.

 Thanks in advance!!
 Bob Wilson.


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


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




Re: PSML from DOM Document

2001-08-31 Thread Raphaël Luta

David,

While what you've done works, you must be aware that you've actually modified
a Castor auto-generated class:
org.apache.jetspeed.xml.api.portletmarkup.Portlets

and thus you cannot depend anymore on the API regeneation during the build
process, which may be very painful.

To address the current limitation of the PSML implementations, I'm working on
an interface based PSML object model with hand written implementation and
a loading service, just like we have for the Registry.

This should allow you to load PSML data from any source an is much cleaner than
modifying an auto-generated API.

David Halsted wrote:

 Sure.  We took a version of CastorPsmlManagerService called
 DatabasePsmlManagerService that is being worked on by a group of people --
 our contact is  Atul Dambalkar ([EMAIL PROTECTED]), but there are several
 other authors.  The version we have of DatabasesPsmlManagerService isn't
 finished, but looks as though it anticipates that a PSML will be stored as a
 binary chunk, and we have that information already in other spots in a
 database, so it'd be redundant to store it as an XML in the database that
 essentially summarizes information already available elsewhere.  Therefore, 
 we added unmarshal(Class, Node)  (I think -- haven't got the code in front
 of me at the moment) to org.apache.jetspeed.xml.api.portletmarkup.Portlets;
 that calls org.exolab.castor.xml.Unmarshaller.unmarshal(Node) in Castor.
 That let us create a Portlets directly from a DOM instead of using a Reader,
 so we could skip writing and reading a file as an intermediary step.
 
 I can send bits of code to anybody who's interested.  If other people are
 interested in doing this, the unmarshal() bit we added to Portlets is pretty
 innocent and might be a candidate for inclusion in the code base.
 
 Best,
 
 Dave Halsted
 
 -Original Message-
 From: Dave Carlson [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, August 31, 2001 12:46 PM
 To: [EMAIL PROTECTED]
 Subject: PSML from DOM Document
 
 I'm especially interested in this point because I've considered using dbXML
 as a native XML database to store psml.  dbXML allows me to query the
 database and return a DOM Document, or as SAX stream.  This may be a quick
 solution to a scalable storage of psml, without having to map to a
 relational dbms.
 
 A very brief summary of how you accomplished this would be helpful!
 
 Dave
 
 
-Original Message-
From: David Halsted [mailto:[EMAIL PROTECTED]]

 
Today, for example, we got Jetspeed to read PSML
information from an org.w3c.dom.Document, rather than a file;
that's kind of
handy.


 


--
Raphael Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Paris


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




Re: Jetspeed from CVS - how do customise a pane?

2001-08-31 Thread Paul Spencer

Chris,
Click pencil icon to customize the pane.  In the case of the Turbine
user, the pencil icon on the Home tab will customize the portals on that
tabbed pane.  The pencil icon on the far right of the home tab will
customize the tabs on that pane.  Thus to add tabs click the pencil icon
on the far right.  Then click the pencil icon on each tab to add portlet
to the tabbed pane.

Paul Spencer

Chris Kimpton wrote:
 
 Hi,
 
 Not sure if this is done yet - but I'll ask anyway...
 
 The default setting for the turbine user in the standard build of
 jetspeed has a customisation Layout of Menu pane.
 
 What I'd like to know is how do you get portlets onto the panes.  I'd
 have thought there would be an edit button for each pane and clicking
 this gives a similar window from which you can configure the layout
 of the pane.
 
 Thanks for any insights,
 Chris
 
 =
 Need somewhere to Live in London - http://freeflats.com
 
 __
 Do You Yahoo!?
 Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger
 http://im.yahoo.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

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




Re: confirm.email.enable=false doesn't work

2001-08-31 Thread Paul Spencer

I assume you are using Jetspeed 1.3a1. This is a known problem that has
been fixed in the current cvs (1.3a2-dev)

Paul Spencer

[EMAIL PROTECTED] wrote:
 
 Hello,
 
 I don't want a specific verfication of a User registration, because I can't
 run a
 local Email Server due to Firewall. So I read the Jetspeed-FAQ and found
 that a
 confirm.email.enable=false
 in the JetspeedResource.properties
 should do it. But it doesn't!
 Has anyone around here encountered similar problems?
 An other thing I fell over was that within the Documentation it is said
 that
 you should modify TurbineResources.properties
 instead of JetspeedResource.properties.
 That's strange too, I think...
 
 Thanks for your help
 
 Sven Hohlfeld
 
 
 
 
   
Name: InterScan_Disclaimer.txt
InterScan_Disclaimer.txtType: Plain Text (text/plain)
Encoding: 7bit
 
   
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

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




Re: how to handle wron hypersonic while user registration?

2001-08-31 Thread Paul Spencer

This has been fixed in the current CVS (1.3a2-dev)

Paul Spencer

[EMAIL PROTECTED] wrote:
 
 Hello!
 
 I found serveral similar threads concerning this problem but none
 did realy fit - so here we go:
 
 After user confirmation I get the already known error with
 the authenticated user role:
 
  Exception:  java.lang.Exception: The role authenticated_user does not
 exist in database.
  Stack Trace follows:
  java.lang.Exception: The role authenticated_user does not exist in
 database.
  at
 org.apache.jetspeed.modules.actions.JLoginUser.doPerform(JLoginUser.java:178)
  at org.apache.turbine.modules.Action.perform(Action.java:91)
  at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:121)
  at org.apache.turbine.Turbine.doGet(Turbine.java:326)
  at org.apache.turbine.Turbine.doPost(Turbine.java:451)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
 org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
  at org.apache.tomcat.core.Handler.service(Handler.java:287)
  at
 org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
  at
 org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
  at
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
  at
 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
  at
 org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
  at
 org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
  at java.lang.Thread.run(Thread.java:484)
 
 I would like to put that role into the database manually but is it really
 necessary to
 rebuild the whole jetspeed.war file after that?
 
 Thanks.
 
 Sven Hohlfel
 
   
Name: InterScan_Disclaimer.txt
InterScan_Disclaimer.txtType: Plain Text (text/plain)
Encoding: 7bit
 
   
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

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




Re: blank portlets??. really weird

2001-08-31 Thread Paul Spencer

Jacky,
Any message(s) in Jetspeed.log?

Paul Spencer

Jacky ESAYAG wrote:
 
 hi, something happend and suddenly all my portlets went blank...   I
 checked and the problem was on the  portlets.xreg.Apparently, last time
 it saved something weird happend and the file got cut in half.  Any clues
 on what could have happend??..  The admin.xreg was blank!
 
 jacky
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

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




Re: FileWatcher / customizing turbine user

2001-08-31 Thread Paul Spencer

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

Paul Spencer

Ted Husted wrote:
 
 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]

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




Re: Latest Jetspeed from CVS with latest Jetty 3.1RC8 (and Opera...)

2001-08-31 Thread Paul Spencer

Chris,
For IE 5.5, the media type is NOT html?

What is the agent, i.e. what follows -- INFO -- Created a CapabilityMap
for agent:  in jetspeed.log?

Paul Spencer

Chris Kimpton wrote:
 
 Hi,
 
 --- Paul Spencer [EMAIL PROTECTED] wrote:
  Chris,
  Am I summarizing the correctly:
  o  Jetspeed works correctly with Tomcat 3.3. and Opera
 
 Yep - homepage comes up with content.
 
  o  Jetspeed is NOT displaying content with JBoss/Jetty and Opera.
 
 Yep (although I am just running with Jetty at this stage - it gets
 worse with JBoss...)
 
 
  Assuming the above:
  I would expect to see entries in jetspeed.log when you display the
  initial page.
   -- INFO -- Created a CapabilityMap for agent: ...
   -- DEBUG -- template exists:
 
 
E:\apache\jakarta-tomcat-3.3-b1\webapps\jetspeed\WEB-INF\templates\vm\controllers\html\column.vm
  returning /html/column.vm
 
  This tells me the Jetspeed, is getting the request, and the media
  type
  has been identified as HTML.
 
  Is this what you are seeing?
 
 
 For IE5.5,
 
 I see it creating the Capability Map.
 
 I then see it finding the Home and default.vm templates.
 
 A little further down is this error
 
 ERROR -- Error rendering Velocity template: screens/html/Home.vm:
 Invocation of method 'getPane' in  class
 org.apache.jetspeed.util.template.JetspeedTool threw exception class
 javax.xml.transform.TransformerFactoryConfigurationError :
 java.lang.ClassNotFoundException:
 org.apache.xalan.processor.TransformerFactoryImpl
 
 For Opera, it is very similar, it creates a capability map and finds
 the Home and default vm's and then gets the above error.
 
 There is a jaxp jar in the jetty main classpath - I guess this is
 forcing it to look in the main classpath for the xalan stuff...
 
 I added xerces and xalan to the main classpath and bingo - Opera now
 looks great - content and all!
 
 ...but Internet Explorer still thinks its not html and offers you a
 Download dialog... which when downloaded is the home page...
 
 There are no obvious errors in the jetspeed.log.
 
 Regards,
 Chris
 
 =
 Need somewhere to Live in London - http://freeflats.com
 
 __
 Do You Yahoo!?
 Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger
 http://im.yahoo.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

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




Re: Jetspeed, Jetty - embedded in JBoss...

2001-08-31 Thread Paul Spencer

Chris,
Did you delete the user turbine? 

The turbine user is used when creating new users.

Paul Spencer

Chris Kimpton wrote:
 
 Hi,
 
 I also get this error if I log in as a user who does not have their
 own user directory below WEB-INF/psml/user
 
 It seems to be because the search for psml files fails to find one,
 ie
 
 [Fri Aug 31 14:45:09 GMT+01:00 2001] -- INFO -- PSML-Man: calculated
 resource:user\turbine\html\default.psml. Base:
 C:\rbidev\apps\instruments\bin\webapp\WEB-INF\psml
 [Fri Aug 31 14:45:09 GMT+01:00 2001] -- INFO -- CastorPsmlManager:
 about to return null doc:
 [Fri Aug 31 14:45:09 GMT+01:00 2001] -- INFO -- PSML-Man: calculated
 resource:user\turbine\default.psml. Base:
 C:\rbidev\apps\instruments\bin\webapp\WEB-INF\psml
 [Fri Aug 31 14:45:09 GMT+01:00 2001] -- INFO -- CastorPsmlManager:
 about to return null doc:
 [Fri Aug 31 14:45:09 GMT+01:00 2001] -- INFO -- PSML-Man: calculated
 resource:anon\default.psml. Base:
 C:\rbidev\apps\instruments\bin\webapp\WEB-INF\psml
 
 ..but there is no anon\default.psml - should there be one - perhaps
 the same as the anon\html\default.psml ?
 
 HTH,
 Chris
 
 --- Chris Kimpton [EMAIL PROTECTED] wrote:
  Hi,
 
  Sort of related to my earlier post on this combination, I am now
  trying to run the Jetspeed app with the jboss/jetty bundle.
 
  As it support deployment of wars, I just dropped the standard build
  jetspeed war into the jboss deploy directory.
 
  It recognised and expanded/deployed it.  I then point my browser at
  it and get the home page - although no content - see earlier post.
  I
  then login and select the customize link - but then get this error:
 
 
  Horrible Exception: java.lang.ClassCastException: java.lang.String
  at
 
 
org.apache.jetspeed.services.rundata.DefaultJetspeedRunData.getProfile(DefaultJetspeedRunData.java:237)
  at
 
 
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(JetspeedSessionValidator.java:127)
  at org.apache.turbine.modules.Action.perform(Action.java:87)
  at
  org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
  at org.apache.turbine.Turbine.doGet(Turbine.java:405)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
 
 com.mortbay.Jetty.Servlet.ServletHolder.handle(ServletHolder.java:488)
  at
 
 com.mortbay.Jetty.Servlet.ServletHandler.handle(ServletHandler.java:488)
  at
 
 com.mortbay.Jetty.Servlet.ServletHandler.handle(ServletHandler.java:317)
  at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:956)
  at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:913)
  at com.mortbay.HTTP.HttpServer.service(HttpServer.java:714)
  at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:521)
  at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:347)
  at
 
 com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:107)
  at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:294)
  at
 
 com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:613)
  at java.lang.Thread.run(Unknown Source)
 
 
  I am guessing this is due to the fact that web container is running
  inside JBoss and so the classpath is working a little funkily...
 
  I was wondering what was being looked for in the
  DefaultJetspeedRunData.getProfile method - is it trying to load
  stuff
  from disk?
 
  Thanks for any insights,
  Chris
 
 
 =
 Need somewhere to Live in London - http://freeflats.com
 
 __
 Do You Yahoo!?
 Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger
 http://im.yahoo.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

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




RE: PSML from DOM Document

2001-08-31 Thread David Halsted

It's going to have to.  Don't have that bit done yet.

-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]] 
Sent: Friday, August 31, 2001 3:26 PM
To: [EMAIL PROTECTED]
Subject: Re: PSML from DOM Document

David,
Does this design allow a administrator to maintain another user's
configuration?  This would be a valuable feature.

Paul Spencer


David Halsted wrote:
 
 Sure.  We took a version of CastorPsmlManagerService called
 DatabasePsmlManagerService that is being worked on by a group of people --
 our contact is  Atul Dambalkar ([EMAIL PROTECTED]), but there are several
 other authors.  The version we have of DatabasesPsmlManagerService isn't
 finished, but looks as though it anticipates that a PSML will be stored as
a
 binary chunk, and we have that information already in other spots in a
 database, so it'd be redundant to store it as an XML in the database that
 essentially summarizes information already available elsewhere.
Therefore,
 we added unmarshal(Class, Node)  (I think -- haven't got the code in front
 of me at the moment) to
org.apache.jetspeed.xml.api.portletmarkup.Portlets;
 that calls org.exolab.castor.xml.Unmarshaller.unmarshal(Node) in Castor.
 That let us create a Portlets directly from a DOM instead of using a
Reader,
 so we could skip writing and reading a file as an intermediary step.
 
 I can send bits of code to anybody who's interested.  If other people are
 interested in doing this, the unmarshal() bit we added to Portlets is
pretty
 innocent and might be a candidate for inclusion in the code base.
 
 Best,
 
 Dave Halsted
 
 -Original Message-
 From: Dave Carlson [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 31, 2001 12:46 PM
 To: [EMAIL PROTECTED]
 Subject: PSML from DOM Document
 
 I'm especially interested in this point because I've considered using
dbXML
 as a native XML database to store psml.  dbXML allows me to query the
 database and return a DOM Document, or as SAX stream.  This may be a quick
 solution to a scalable storage of psml, without having to map to a
 relational dbms.
 
 A very brief summary of how you accomplished this would be helpful!
 
 Dave
 
  -Original Message-
  From: David Halsted [mailto:[EMAIL PROTECTED]]
 
  Today, for example, we got Jetspeed to read PSML
  information from an org.w3c.dom.Document, rather than a file;
  that's kind of
  handy.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

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

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




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
   

Re: FileWatcher / customizing turbine user

2001-08-31 Thread Paul Spencer

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_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