[jboss-user] [JBoss Portal] - Re: Problem running HelloWorldPortlet

prabhat.jha@jboss.com do-not-reply at jboss.com
Thu Jan 25 11:41:53 EST 2007


You don't have datasource file in your deployment. You can get the file from sourceforge from one of the bundled distribution. It's portal-hsqldb-ds.xml. 

Or create a xml file with the same name and following content:

<?xml version="1.0" encoding="UTF-8"?>

  <local-tx-datasource>
    <jndi-name>PortalDS</jndi-name>    <connection-url>jdbc:hsqldb:${jboss.server.data.dir}${/}portal${/}hypersonic${/}database</connection-url>
    <driver-class>org.hsqldb.jdbcDriver</driver-class>
    <user-name>sa</user-name>
    
  </local-tx-datasource>


and copy this file in deploy directory. It should be fine after that.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006420#4006420

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006420



More information about the jboss-user mailing list