<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    How to configure  MySQL Database with Jboss Portal Bundle 2.7.4 in wondows Platform
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/vaibhavnigam">hira magin</a> in <i>Datasource Configuration</i> - <a href="https://community.jboss.org/message/798205#798205">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>How to configure&#160; MySQL Database with Jboss Portal Bundle 2.7.4 in wondows Platform</p><p>Any One Can Help me . I am new in jboss portal I follow this step to configure database with jboss portal but it gives ERROR </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><h3 class="post-title entry-title"> JBOSS Portal Installation </h3><p class="post-header">&#160; </p><h1 class="title" style="font-weight: normal; font-family: verdana;"><span style="font-size: 85%;">Chapter 1. Download</span></h1><p><span style="font-family: verdana; font-size: 85%;"><span>Download JBoss portal from </span><a class="jive-link-external-small" href="http://www.jboss.org/jbossportal/download/index.html" target="_blank">http://www.jboss.org/jbossportal/download/index.html</a><span>.</span><br/>Package: JBoss Portal + JBoss AS 4.2.3<br/><span>Direct download link: </span><a class="jive-link-external-small" href="http://downloads.sourceforge.net/jboss/jboss-portal-2.7.2-bundled.zip" rel="nofollow" target="_blank">http://downloads.sourceforge.net/jboss/jboss-portal-2.7.2-bundled.zip</a><br/></span><span style="font-size: 85%;"><br/>Chapter 2. Installation</span></p><h2 style="font-weight: normal; font-family: verdana;"><span style="font-size: 85%;">2.1 Folder structure (&pi;&#961;&#959;&tau;&#949;&#953;&#957;ό&#956;&#949;&#957;&eta;)</span></h2><p><span style="font-family: verdana; font-size: 85%;">Extract jboss-portal-2.7.2-bundled.zip to a desired folder (for example C:\server\jboss). &#932;&#959; &tau;&#949;&#955;&#953;&#954;ό path &tau;&#959;&#965; portal &#949;ί&#957;&alpha;&#953; C:\server\jboss\jboss-portal-2.7.2-bundled\jboss-portal-2.7.2<br/></span></p><h2 style="font-weight: normal; font-family: verdana;"><span style="font-size: 85%;">2.2 Database</span></h2><p><span style="font-family: verdana; font-size: 85%;">&#916;&eta;&#956;&#953;&#959;&#965;&#961;&gamma;&#959;ύ&#956;&#949; &#956;&#953;&alpha; &#946;ά&sigma;&eta; &#948;&#949;&#948;&#959;&#956;έ&#957;&#969;&#957; (for example jboss).<br/><em>All database tables will be created for you at runtime.</em><br/></span></p><h2 style="font-weight: normal; font-family: verdana;"><span style="font-size: 85%;">2.3 JDBC connector</span></h2><p><span style="font-family: verdana; font-size: 85%;"><span>Download MySQL JDBC connector from </span><a class="jive-link-external-small" href="http://dev.mysql.com/downloads/connector/j/5.1.html" rel="nofollow" target="_blank">http://dev.mysql.com/downloads/connector/j/5.1.html</a><br/>&#932;&#959; &alpha;&#961;&#967;&#949;ί&#959; mysql-connector-java-5.1.7-bin.jar &pi;&#961;έ&pi;&#949;&#953; &#957;&alpha; &tau;&#959;&pi;&#959;&#952;&#949;&tau;&eta;&#952;&#949;ί &sigma;&tau;&#959; path $JBOSS_HOME/server/default/lib (C:\server\jboss\jboss-portal-2.7.2-bundled\jboss-portal-2.7.2\server\default\lib)<br/></span></p><h2 style="font-weight: normal; font-family: verdana;"><span style="font-size: 85%;">2.4 JBoss and MySQL Configuration</span></h2><ol><li><span style="font-size: 85%;">Copy&#160; C:\server\jboss\jboss-portal-2.7.2-bundled\jboss-portal-2.7.2\setup\portal-mysql5-ds.xml (for PHP5) to C:\server\jboss\jboss-portal-2.7.2-bundled\jboss-portal-2.7.2\server\default\deploy</span></li><li><span style="font-size: 85%;">Copy&#160; C:\server\jboss\jboss-portal-2.7.2-bundled\jboss-portal-2.7.2\docs\examples\jca\mysql-ds.xml to C:\server\jboss\jboss-portal-2.7.2-bundled\jboss-portal-2.7.2\server\default\deploy</span></li><li><span style="font-size: 85%;">Rename&#160; C:\server\jboss\jboss-portal-2.7.2-bundled\jboss-portal-2.7.2\server\default\deploy\portal-hsqldb-ds.xml to portal-hsqldb-ds.xml-rename (ώ&sigma;&tau;&#949; &#957;&alpha; &#948;&#953;&alpha;&#946;&alpha;&sigma;&tau;&#959;ύ&#957; &tau;&#959; &alpha;&#957;&tau;ί&sigma;&tau;&#959;&#953;&#967;&#959; mysql)</span></li><li><span style="font-size: 85%;">Rename&#160; C:\server\jboss\jboss-portal-2.7.2-bundled\jboss-portal-2.7.2\server\default\deploy\hsqldb-ds.xml to hsqldb-ds.xml-rename (ώ&sigma;&tau;&#949; &#957;&alpha; &#948;&#953;&alpha;&#946;&alpha;&sigma;&tau;&#959;ύ&#957; &tau;&#959; &alpha;&#957;&tau;ί&sigma;&tau;&#959;&#953;&#967;&#959; mysql)</span></li></ol><h2 style="font-weight: normal; font-family: verdana;"><span style="font-size: 85%;">2.5 Configure portal-mysql5-ds.xml and mysql-ds.xml</span></h2><p><span style="font-family: verdana; font-size: 85%;">&#932;&#961;&#959;&pi;&#959;&pi;&#959;ί&eta;&sigma;&eta; &alpha;&#965;&tau;ώ&#957; &tau;&#969;&#957; &alpha;&#961;&#967;&#949;ί&#969;&#957; &gamma;&#953;&alpha; &tau;&eta; &sigma;&#969;&sigma;&tau;ή &sigma;ύ&#957;&#948;&#949;&sigma;&eta; &sigma;&tau;&eta; &#946;ά&sigma;&eta; &#948;&#949;&#948;&#959;&#956;έ&#957;&#969;&#957; (XAMMP),<br/></span></p><ol style="font-family: verdana;"><li><span style="font-size: 85%; font-weight: normal;">portal-mysql5-ds.xml: Replace</span> <span style="font-size: 85%;"><span class="b"> </span>&#160;&#160;&#160;&#160;&#160;&#160; PortalDS<br/>&#160; jdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=false&amp;jdbcCompliantTruncation=false<br/>&#160; com.mysql.jdbc.Driver<br/>&#160; portal<br/>&#160; portalpassword</span><span class="e"><p style="margin-left: 1em;"><span style="font-size: 85%;"><span class="m"> with </span></span><span style="font-size: 85%;">&#160;&#160;&#160;&#160;&#160; PortalDS<br/>&#160; jdbc:mysql://localhost/jboss?useServerPrepStmts=false&amp;jdbcCompliantTruncation=false<br/>&#160; com.mysql.jdbc.Driver<br/>&#160; root<br/>&#160; </span></p></span></li><li><span style="font-size: 85%;">mysql-ds.xml: Replace<br/><br/>MySqlDS<br/>&#160; jdbc:mysql://mysql-hostname:3306/jbossdb<br/>&#160; com.mysql.jdbc.Driver<br/>&#160; x<br/>&#160; y<br/>with<br/>MySqlDS<br/>&#160; jdbc:mysql://localhost/jboss<br/>&#160; com.mysql.jdbc.Driver<br/>&#160; root<br/>&#160; </span></li></ol><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><h2 style="font-weight: normal; font-family: verdana;"><span style="font-size: 85%;">2.6 Deploy JBoss portal</span></h2><p><span style="font-family: verdana; font-size: 85%;">Run from console C:\server\jboss\jboss-portal-2.7.2-bundled\jboss-portal-2.7.2\bin\run.bat -b 0.0.0.0 </span></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/798205#798205">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Datasource Configuration at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>