Christine wrote:
Ate Douma wrote:
By just copying the Tutorial folder into the <demo installation
folder>/pages (it is *not* under webapps/jetspeed/WEB-INF/pages) and
run the demo, the folder and the page should show up when you log in
as user/user.
The folder is there, but there's no page in the folder. I have checked
the file permissions, they are the same as for the other pages.
Christine,
I think I found you problem: your default-page.psml contains an unknown and undefined
element <url>/tutorial</url>.
I completely overlooked that while just reading it but it immediately became apparent when I tried your page definition and showed up as a
clear error message in the jetspeed.log:
ERROR org.apache.jetspeed.page.document.psml.CastorFileSystemDocumentHandler - Could not unmarshal the file
/home/ate/Jetspeed-2.2.0/webapps/jetspeed/../../pages/Public/tutorial/default-page.psml
unable to find FieldDescriptor for 'url' in ClassDescriptor of page{File: [not
available]; line: 7; column: 7}
Just remove the <url> element and the page should show up.
Unclear though is how this error didn't show up in your jetspeed.log as it
should have.
I still haven't had time to run the tutorial (above test was done against a standard jetspeed demo installation), maybe there is something
wrong in the tutorial setup of the logging configuration.
FYI: one of the recent changes before the Jetspeed 2.2.0 release concerned the logging for which Jetspeed now uses a plain environment
variable pointing to the server logging directory: org.apache.portals.logdir
See also the portal app log4j configuration in WEB-INF/classes/log4j.properties
By default, we use standard Apache Portals Applications logging for this, see:
http://portals.apache.org/applications/logging/index.html
and for Tomcat the default deployment will setup a Tomcat listener to configure
this variable automatically for you.
Maybe something is wrong with this on your installation. You could test this by manually set this environment variable before you start your
app server (Tomcat or otherwise) using -Dorg.apache.portals.logdir=<your logdir, e.g. like $CATALINA_HOME/logs>
Groet,
Ate
Christine
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]