Thursday February 16, 2006 After I finished the first deployment to Oracles Application Server a coworker asked me about how to configure Data Sources in that setup. So finally yesterday evening I booted my second laptop up into SuSE Linux Enterprise Server 9 SP3 to start looking at that.
The first problems I encountered were "How did you start up this thing again?" & "What's the administrator user name and password for this server?". It was only three weeks since I played with that server but in the meantime I played with other application servers. It took me a while but finally I got everything under control.
The next question was to find a database to run alongside on the laptop. Since I ride the train and work in different places, I prefer complete self-hosted environments. So I took the sample PointBase database from Creator for my tests.
The interesting fields are the Location (should match the resource-ref name in the web.xml of your application), the Data Source Class (probably always com.evermind.sql.DriverManagerDataSource for everything except Oracle DB's) and the JDBC Driver (is com.pointbase.jdbc.jdbcUniversalDriver for my test setup).
JDBC Url, Username and Password are needed as well;-)
A couple of other fields need values but they are not interesting for web applications.
Have fun with your data bases;-)
-- Marco