The following issue has been updated:
Updater: Ate Douma (mailto:[EMAIL PROTECTED])
Date: Sat, 22 May 2004 10:18 AM
Comment:
Multi-file patch described above
Changes:
Attachment changed to JS2-47-patch.txt
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/JS2-47?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JS2-47
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JS2-47
Summary: OJB problems: Failure to run RoleSecurityTest Portlet
Type: Bug
Status: Unassigned
Priority: Blocker
Project: Jetspeed 2
Versions:
2.0-a1
Assignee:
Reporter: Ate Douma
Created: Sat, 22 May 2004 10:16 AM
Updated: Sat, 22 May 2004 10:18 AM
Environment: Windows XP SP1, Tomcat 4.1.29, J2SE 1.4.2_03
Description:
The latest changes in cvs have broken the RoleSecurityTest portlet. It seems that most
these problems are caused by the upgrade to OJB-1.0-rc6.
On the mailing list there is a thread going on about this:
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=14500
I've looked into this and created a multi-file patch to solve a few of the problems
which I will attach it to this issue.
By removing the proxy="dynamic" for SecurityRoleRefImpl and SecurityRoleImpl I got rid
of the RowReader exception as predicted by Scott. Although this is a quick fix I
certainly don't like it we need to fall back to this to be able to use OJB.
Certainly these classloader problems MUST be resolved I think to be able to rely on
OJB in the future.
Then I fixed a NPE in ServletRequestImpl where the size of a returned USER_INFO map is
logged. If its null that leads of course to a NPE.
Finally, I modified the demo security/roles.jsp to only display the USER_INFO when a
user is logged on (no use testing this for a non-logged on user as it MUST be null in
that case).
Although the class not found error on o.a.j.prefs.om.impl.NodeImpl is still thrown and
displayed (only) in the console the page now is rendered without a problem. Seems the
exception is suppressed somewhere in the code or just not communicated back into the
application?
For these three changes, and the modifications I made to the .classpath to get Eclipse
building again, I created a multi-file patch.
I did send a message to the list with the Eclipse .classpath patch earlier but for
some reason I haven't received it back (yet). Something wrong with the list or yaybe
I'm not allowed to attach a patch file?
Well, here is the reason for the .classpath fix:
The .classpath problems are related to multiple log4j.properties and Log4j.properties
files causing Eclipse having a conflict which file to copy to its bin folder and also
a conflict with the mixed case of these files. I resolved this by setting an exclusion
filter on all log4j.properties.
I will continue looking into the NodeImpl class not found exception...
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]