JBoss Community

Re: Jboss Portal Installation 2.7.2 - Newbie Issues

created by Andre van Zyl in JBoss Portal - View the full discussion

Hi Namrata

 

I also had some trouble installing and configuring JBoss Portal at the start. Follow these steps and should be fine.

1.     Create your database schema called jbossportal

2.     Create you portal-mysql5-ds.xml file as follows:

 

<datasources>
  <local-tx-datasource>
    <jndi-name>PortalDS</jndi-name>
    <connection-url>jdbc:mysql://localhost:3306/jbossportal?jbossportal?useServerPrepStmts=false&amp;jdbcCompliantTruncation=false</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>root</user-name>
    <password>root</password>
    <min-pool-size>5</min-pool-size>
    <max-pool-size>20</max-pool-size>
    <metadata>
      <type-mapping>MySQL</type-mapping>
    </metadata>
  </local-tx-datasource>
</datasources>

 

3.     Make sure to copy your mysql-connector-java-5.1.8-bin.jar (or applicable the applicable version) file into you lib directory

4.     Start your portal server

5.     Deploy your jboss-portal.sar file into the /server/<portal>/deploy directory

6.     You will notice some exception messages and "table not found" errors during the deployment but do not worry about that

7.     After the server started successfully, stop and start it again and the portal server should start up without any errors

 

You should now be able to access the portal http://localhost:8080/portal. I am running portal 2.7.2 with jboss 4.2.3 and mysql 5.1

Reply to this message by going to Community

Start a new discussion in JBoss Portal at Community