At 14:00 10/31/2000 +0100, Santiago Gala wrote:
>I have changed it, and I will put in CVS tonight (I hope). So you will find
>new behavior tomorrow.
Santiago, you could probably fix following problems in the same go:
Database:
Problem: DB2 sql scripts - The VisitorID field of the Visitor table
needs to be an autoincrement field.
Solution: In the file default_roles.permission.sql, the create table
statement has to be modified. Change the definition of VisitorID to:
VisitorID INT GENERATED ALWAYS AS IDENDITY
Problem: For the jetspeed user "turbine" that is created with the sql
scripts, the confirm_value is not set. Due to this, the user can't log in.
Solution: In the file default_roles.permission.sql, change the insert
into Visitor statement to:
insert into VISITOR (LOGINID, PASSWORD_VALUE, FIRST_NAME, LAST_NAME,
MODIFIED, CREATED, CONFIRM_VALUE) values
('turbine', 'turbine', 'turbine', 'turbine', null, null, 'CONFIRMED');
Problem: When a user registers at the potal and tries to log in for
the first time, an exception is thrown saying:
"The role authenticated_user does not exist in database"
Solution: Add following line at the end of
default_roles_permissions.sql:
insert into USERROLE (ROLEID, ROLENAME) values (2,
'authenticated_user');
Limitation: This fix doesn't use and update the ID_Table values.
Configuration Files:
Problem: During startup of jetspeed, a log message reports an error:
"Parent does not exist within registry: Cocoon"
Solution: Make sure that all portlets of type abstract are at the top
of the portlet configuration (jetspeed-config.jcfg and also in
content/psml/default.psml).
Problem: When trying to customize the page layout, jetspeed can't
find the file /content/dynamic/customizer/xsp/ui-generic.xsl
Solution: In the protlet-registry (jetspeed.config.jcfg), fix the
path in the parameter of the customizer portlet: change
[...]/xsp/ui-generic.xsl to
[...]/xsl/ui-generic.xsl
Thanks,
ingo.
The same buglist, but nicer formatted (HTML):
------------------------------------------------------------------
<h4>
<b>Database:</b></h4>
<ul>
<li>
<b><i>Problem:</i></b> DB2 sql scripts: The <tt>VisitorID</tt> field of
the <tt>Visitor</tt> table needs to be an autoincrement field.</li>
<br><b><i>Solution:</i></b> In the file <tt>default_roles.permission.sql,</tt>
the <tt>create table</tt> statement has to be modified. Change the definition
of <tt>VisitorID</tt> to:
<br><tt>VisitorID INT <u>GENERATED ALWAYS AS
IDENDITY</u></tt>
<br>
<li>
<b><i>Problem:</i></b> For the jetspeed user "turbine" that is created
with the sql scripts, the <tt>confirm_value</tt> is not set.
Due to this, the user can't log in.</li>
<br><b><i>Solution:</i></b> In the file <tt>default_roles.permission.sql</tt>,
change the <tt>insert into Visitor</tt> statement to:
<br><tt>insert into VISITOR (LOGINID, PASSWORD_VALUE, FIRST_NAME, LAST_NAME,
MODIFIED, CREATED, <u>CONFIRM_VALUE</u>) values ('turbine', 'turbine',
'turbine', 'turbine', null, null, <i>'</i><u>CONFIRMED</u><i>'</i>);</tt>
<br>
<li>
<b><i>Problem:</i></b> When a user registers at the potal and tries to
log in for the first time, an exception is thrown saying:</li>
<br><tt>"The role authenticated_user does not exist in database"</tt>
<br><b><i>Solution:</i></b> Add following line at the end of
<tt>default_roles_permissions.sql</tt>:
<br><tt><u>insert into USERROLE (ROLEID, ROLENAME) values (2,
'authenticated_user');</u></tt>
<br><b><i>Limitation:</i></b> This fix doesn't use and update the
<tt>ID_Table</tt>
values.</ul>
<h4>
<b>Configuration Files:</b></h4>
<ul>
<li>
<b><i>Problem:</i></b> During startup of jetspeed, a log message reports
an error: "<tt>Parent does not exist within registry: Cocoon</tt>"</li>
<br><b><i>Solution:</i></b> Make sure that all portlets of type
<tt>abstract</tt>
are at the top of the portlet configuration (<tt>jetspeed-config.jcfg and
</tt>also
in <tt>content/psml/default.psml</tt>).</ul>
<ul>
<li>
<b><i>Problem:</i></b> When trying to customize the page layout, jetspeed
can't find the file
<tt>/content/dynamic/customizer/xsp/ui-generic.xsl</tt></li>
<br><b><i>Solution: </i></b>In the protlet-registry (jetspeed.config.jcfg),
fix the path in the parameter of the customizer portlet: change
[...]<tt>/xs<u>p</u>/ui-generic.xsl</tt>
to [...]<tt>/xs<u>l</u>/ui-generic.xsl</tt></ul>
------------------------------------------------------------------
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]