Tuesday, April 04, 2006

Re:Editting Analysis Sample
Date: 12/16/2005 03:10 By: James Dixon Status: Admin

Admin
Posts: 141

What is the error that you are getting (can you attach an error log)?
Try to create a JNDI datasource for movestoque. See the example provided by the SampleData datasource in these files:
jboss/server/deploy/sampledata-ds.xml
jboss/server/deploy/pentaho.war/WEB-INF/jboss-web.xml
jboss/server/deploy/pentaho.war/WEB-INF/web.xml
You need to
1
Create your own -ds.xml file e.g jboss/server/deploy/movestoque-ds.xml
It will look something like this.



movestoque
jdbc:mysql://localhost/db
com.mysql.jdbc.Driver
root



2
Add an entry to jboss/server/deploy/pentaho.war/WEB-INF/jboss-web.xml
It will look like this

jdbc/movestoque
javax.sql.DataSource
java:/movestoque

3
Add an entry to jboss/server/deploy/pentaho.war/WEB-INF/web.xml
This goes at the bottom of web.xml and it will look like this

movestoque connection
jdbc/movestoque
javax.sql.DataSource
Container