apache apachecon app asf atom atomprotocol atompub blogapps blogging businessblogging conferences family feeds foss general glassfish google humor ibm java javaone links linux mac microsoft movies music netbeans opensocial opensource photos politics rest roller rome rss socialnetworking socialsite socialsoftware sun triangle trianglebloggers vacation webdev webservices wiki
Tonight, I've been trying to complete the install of Roller of Oracle's OC4J9.0.3 J2EE app server. I've had a little luck, but I am still not quite there.
I tried the JDK 1.4 trick suggested by Matt from the JavaLobby and that worked for me. OC4J is now working fine for me under JDK 1.4.
Next, I searched around for docs on configuring OC4J Servlet Authentication so that I can get OC4J to use Roller's rolleruser and role tables. I found the docs for the Orion DataSourceUserManager on OrionSupport.com.
Following those docs, I put a user-manager element after the principals element in the OC4J/application.xml file like so:
<user-manager class="com.evermind.sql.DataSourceUserManager"> <property name="table" value="rolleruser" /> <property name="passwordField" value="password" /> <property name="usernameField" value="username" /> <property name="groupMembershipTableName" value="role" /> <property name="groupMembershipUsernameFieldName" value="username" /> <property name="groupMembershipGroupFieldName" value="role" /> <property name="dataSource" value="jdbc/rollerdb"/> </user-manager>
and I put a security-role mapping after the commit-coordinator elementin OC4J/application.xml:
<security-role-mapping name="guest"> <group name="guest" /> </security-role-mapping>
Then I tried to login and OC4J complained that it could not find Roller's login page "404 Not Found Could not find form-login-error page: '/login.jsp?error=true'" Matt Raible's cool error=true trick is not acceptible to OC4J. So I wrote a loginerror.jsp page, took out the error=true thing and tried again.
Now, OC4J displays my login.jsp page, but when I post the page I get a "Redirection Limit for this URL exceeded, unable to load the requested page." Time to do some googling.
I think you just need to find a style that adds the most value to yourself and the people you talk to and stick to it. I need to think about this more, but "trust" is a very key word. Blogs enable the creation and management of trust outside of centralized brands and authority... [Joi Ito on disclosure and trust in weblogs]
This work is licensed under a Creative Commons License.
Copyright 2002-2007, David M Johnson (dave.johnson at rollerweblogger.org)
This is a personal weblog, I do not speak for my employer.

Buy now from Amazon.com
Or direct from Manning
| « October 2002 » | ||||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
4 | ||||||
7 | ||||||
23 | 25 | |||||
27 | 28 | |||||
| Today | ||||||
Allen Gilliland
Anil Gangolli
Dan Axon
Danese Cooper
Film Babble Blog
Geertjan's Weblog
Henri Yandell
James Robertson
Jim Grisanzio
Josh Staiger
Linda Skrocki
Pat Chanezon
Rama
Ruby Sinreich
Simon Phipps
Tim Bray
Will Snow
Janne Jalkanen
Joe Gregorio
Matt Raible
Mike Cannon Brookes
Rafe Colburn
Sam Ruby
Simon Brown
My other sites