Dave Johnson on open web technologies, social software and software development
Roller suggestions Dave, if you're listening, here are my only two gripes with Roller right now. I would really really want a referrer log, and I would also like to know how many are subscribed to the RSS feed. I have a tracker which shows how many hit the webpage, but I have a feeling most people use RSS feeds (I do anyway). Add that, and I'm going to have to post a You Rule blog entry. Deal? ;-) [Valued Roller customer Rickard Oberg]This is pretty tempting: Rickard Oberg publicly saying that "Dave rules." I could use that on my resume. All I have to do is to steal some code from MiniBlog and add an RSS hit counter? I'm in!
Dave Johnson in Roller
08:21PM Oct 17, 2002
Comments [0]
Tags:
Roller
I couldn't resist solving the weird CSS problem and now Roller runs perfectly on OC4J!
The problem was this: IE was able to load the Roller style sheets, but Mozilla was not. The solution was this: add the line "text/css css" to OC4J's config/mime.types file and then delete the contents of the OC4J temporary files directory OC4J/default/roller.Rejoice: no more install-blogging!
Dave Johnson in Roller
08:07PM Oct 17, 2002
Comments [0]
Tags:
Roller
Dave Johnson in Roller
06:53PM Oct 17, 2002
Comments [0]
Tags:
Roller
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.
Dave Johnson in Roller
05:08PM Oct 17, 2002
Comments [0]
Tags:
Roller
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]
Dave Johnson in Blogging
09:56AM Oct 17, 2002
Comments [0]
Tags:
Blogging