Andre van Zyl [
http://community.jboss.org/people/andrevanzyl] created the discussion
"Re: Jboss Portal Installation 2.7.2 - Newbie Issues"
To view the discussion, visit:
http://community.jboss.org/message/562352#562352
--------------------------------------------------------------
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&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
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
[
http://community.jboss.org/message/562352#562352]
Start a new discussion in JBoss Portal at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]