2 Replies Latest reply on Jan 25, 2007 12:10 PM by prabhat.jha

    test5

    sudarshanacharya

      test

        • 1. Re: Problem running HelloWorldPortlet
          prabhat.jha

          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.

          • 2. Re: Problem running HelloWorldPortlet
            prabhat.jha

            hsqldb-ds.xml defines DefaultDS that is needed for other components of JBoss to work. portal-hsql-ds defines PortalDS for portal to work.

            You can name your datasource file anything you want but it should have -ds.xml in it's name and datasource named PortalDS.