Dave Johnson on open web technologies, social software and software development
This is what I added to OC4J/config/data-sources.xml:
<data-source class="com.evermind.sql.DriverManagerDataSource" name="rollerdb" location="jdbc/rollerdb" connection-driver="org.gjt.mm.mysql.Driver" username="scott" password="tiger" url="jdbc:mysql://localhost:3306/roller?autoReconnect=true" inactivity-timeout="30" schema="database-schemas/my-sql.xml" />This is what I added to Roller's web.xml:
<resource-ref> <res-ref-name>jdbc/rollerdb</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref>
It is late and I'm tired of this experiment in install-blogging, so I'm gonna call it a night. I hope I haven't bored you to tears and caused you to unsubscribe from my RSS feed. I'll wrap things up tomorrow night and give you a final report.
Dave Johnson in Roller
07:02PM Oct 16, 2002
Comments [0]
Tags:
Roller
<init-param> <param-name>javaccmd</param-name> <param-value>/usr/java/j2sdk1.4.1/bin/javac</param-value> </init-param>Add this to the end of config/server.xml:
<compiler executable="javac" classpath="/usr/java/j2sdk1.4.1/jre/lib/rt.jar" />
Dave Johnson in Roller
06:15PM Oct 16, 2002
Comments [1]
Tags:
Roller
I dumped Roller in OC4J/home/roller and then added the following to OC4J/home/config/server.xml:
<application name="roller" path="../roller" />this to OC4J/home/config/application.xml:
<web-module id="roller" path="../../home/roller" />and this to OC4J/home/config/http-web-site.xml:
<web-app application="default" name="roller" root="/roller" />Now I'm getting a string of error messages that indicate that OC4J is attempting to deploy Roller. Good.
Dave Johnson in Roller
05:52PM Oct 16, 2002
Comments [0]
Tags:
Roller
Dave Johnson in Roller
05:00PM Oct 16, 2002
Comments [0]
Tags:
Roller
No docs were included in the 24MB OC4J download, so I hit the Oracle OTN site and found the Oracle9iAS Containers for J2EE User's Guide. Chapter 2 is what I want. I think I want to run just a single instance, but the docs make that sounds a little naughty - "this undermines the enterprise management provided by the Enterprise Manager." Whatever. Uh oh, Leo is awake and he is not happy about his cold.
Dave Johnson in Roller
04:08PM Oct 16, 2002
Comments [0]
Tags:
Roller
Dave Johnson in Roller
03:55PM Oct 16, 2002
Comments [0]
Tags:
Roller
I thank my parents and my sister for an awesome childhood - where life was simple and dreams were boundless. [<a href= "http://www.raibledesigns.com/page/rd/20021016#the_cabin">Matt Raible, The Cabin]Excellent story Matt, and those pictures are wonderful.
Dave Johnson in General
02:42PM Oct 16, 2002
Comments [0]
Tags:
General
Dave Johnson in Blogging
03:53AM Oct 16, 2002
Comments [0]
Tags:
Blogging
Dave Johnson in Java
03:48AM Oct 16, 2002
Comments [0]
Tags:
Java