Apache Roller Weblogger software

677 views Asked by At

I am creating a blog using Apache Roller Weblogger software, am very new to this.. I am deploying it on the Tomcat, and m using the PostgreSQL database.. I did all the configuration in the roller-custom.properties.. If i give the url http://localhost:8080/roller/ in the browser I am getting the resource not available error, And in the roller.log file if I check, the database is loading fine..

Please if anybody have relevant suggestion please do share..

1

There are 1 answers

0
Gary Kephart On

I had to add this to my web.xml:

<resource-ref>
        <res-ref-name>jdbc/rollerdb</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
</resource-ref>

and this to my jboss-web.xml:

   <resource-ref>
     <res-ref-name>jdbc/rollerdb</res-ref-name>
     <jndi-name>java:/jdbc/rollerdb-31</jndi-name>
   </resource-ref>