<!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="http://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;">
    Jboss Portal Installation 2.7.2 - Newbie Issues
</h3>
<span style="margin-bottom: 10px;">
    reply from <a href="http://community.jboss.org/people/Antoine_h">Antoine Herzog</a> in <i>JBoss Portal</i> - <a href="http://community.jboss.org/message/554244#554244">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hello,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>you also have this exception, before the one saying that the PortalDS datasource service could not be started :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>2010-07-21 13:49:30,414 DEBUG [org.jboss.deployment.SARDeployer] create operation failed for package file:/home/Namrata/Download/Dump/jboss-portal-2.7.2/server/default/deploy/portal-mysql5-ds.xml<br/>org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.jca:service=LocalTxCM,name=DefaultDS<br/>&#160;&#160;&#160; at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)<br/>&#160;&#160;&#160; at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)<br/>&#160;&#160;&#160; at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)<br/>&#160;&#160;&#160; at org.jboss.system.ServiceController.install(ServiceController.java:226)<br/>&#160;&#160;&#160; at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)<br/>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(De</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>portal-mysql5-ds.xml cannot be deployed.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>what I guess you have, is :</p><p> - have another xxxx-ds.xml in the /server/default/deploy folder</p><p> - in which there is a declaration for the "PortalDS" datasource (with the same name of datasource).</p><p> - hence, when jboss try to deploy the one declared in the portal-mysql5-ds.xml file, it say "cannot do that..."</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I guess you have added the portal-mysql5-ds.xml file, to declare the datasource configuration with mysql, but did not deleted the one that was yet there, for hsqldb ?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>well anyway : the trouble seems to be there are two files that declare the "PortalDS" data source in the deploy folder.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>if you want to keep some "xxx-ds.xml" saved files (saving some configurations trials), then move them in another folder : such as /server/default/deploy_saved_files</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>*******************</p><p>also you have this exception in your log file :</p><p>2010-07-21 13:49:24,256 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/home/Namrata/Download/Dump/jboss-portal-2.7.2/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.war/<br/>org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.UnknownHostException: www.w3.org<br/>&#160;&#160;&#160; at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:154)<br/>&#160;&#160;&#160; at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:295)<br/>&#160;&#160;&#160; at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder.buildMetaData(JAXRPCServerMetaDataBuilder.java:97)<br/>&#160;&#160;&#160; at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:56)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>this is because the portal-wsrp.sar module needs some access to the net, and you might not have it (or have it properly configure for the WSRP feature).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>you can remove the portal-wsrp.sar folder from your "default/deploy/jboss-portal.sar" folder.</p><p>this won't make any trouble.</p><p>you only won't have the WSRP feature... but that is for Remote Portlet Service, that is Portlet that are running on another server... and not necessary to have the default portal working....</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>hope my guess about the datasource config is proper... and it helps you start...</p><p>Antoine</p><p>JBoss Portal and GateIn (JSR-286), JSF, Richfaces, J2EE, Drools, BRMS.</p><p><a class="jive-link-external-small" href="http://www.sysemo.com/Sysemo-expertise-portails-jboss-portal.php">http://www.sysemo.com/Sysemo-expertise-portails-jboss-portal.php</a></p></div>

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


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

</div>

</body>
</html>