Jump to content
We've recently updated our Privacy Statement, available here ×

aalmero

Members
  • Posts

    1
  • Joined

  • Last visited

aalmero's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. you might want to try to configure ur datasource first in ur server. 1. copy ojdbc14.jar \jasperserver-3.5.0\apache-tomcat\common\lib 2. edit context.xml in \jasperserver-3.5.0\apache-tomcat\webapps\jasperserver\META-INF and add oracle config with the additional parameter on the <url> <Resource name="jdbc/oracleDS" auth="Container" type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver" url="jdbc:oracle:thin:@127.0.0.1:1521:xe" username="wtf" password="wtf" maxActive="20" maxIdle="10" maxWait="-1"/> 3. edit web.xml in \jasperserver-3.5.0\apache-tomcat\webapps\jasperserver\WEB-INF and add config below <resource-ref> <description>Oracle Datasource example</description> <res-ref-name>jdbc/oracleDS</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> 4. configure a new jndi in the jasper server data source page. select "jndi" specify the name.... specify "jdbc/oracleDS" 5. now you can reference this datasource in ur reports. hth
×
×
  • Create New...