[jboss-user] [JBoss Portal] - Jboss Portal Installation 2.7.2 - Newbie Issues

Antoine Herzog do-not-reply at jboss.com
Sat Jul 24 02:38:24 EDT 2010

Antoine Herzog [http://community.jboss.org/people/Antoine_h] replied to the discussion

"Jboss Portal Installation 2.7.2 - Newbie Issues"

To view the discussion, visit: http://community.jboss.org/message/554244#554244


you also have this exception, before the one saying that the PortalDS datasource service could not be started :

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
org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.jca:service=LocalTxCM,name=DefaultDS
    at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
    at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
    at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
    at org.jboss.system.ServiceController.install(ServiceController.java:226)
    at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De

portal-mysql5-ds.xml cannot be deployed.

what I guess you have, is :
 - have another xxxx-ds.xml in the /server/default/deploy folder
 - in which there is a declaration for the "PortalDS" datasource (with the same name of datasource).
 - hence, when jboss try to deploy the one declared in the portal-mysql5-ds.xml file, it say "cannot do that..."

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 ?

well anyway : the trouble seems to be there are two files that declare the "PortalDS" data source in the deploy folder.

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

also you have this exception in your log file :
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/
org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.UnknownHostException: www.w3.org
    at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:154)
    at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:295)
    at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder.buildMetaData(JAXRPCServerMetaDataBuilder.java:97)
    at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:56)

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).

you can remove the portal-wsrp.sar folder from your "default/deploy/jboss-portal.sar" folder.
this won't make any trouble.
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....

hope my guess about the datasource config is proper... and it helps you start...
JBoss Portal and GateIn (JSR-286), JSF, Richfaces, J2EE, Drools, BRMS.
 http://www.sysemo.com/Sysemo-expertise-portails-jboss-portal.php http://www.sysemo.com/Sysemo-expertise-portails-jboss-portal.php


Reply to this message by going to Community

Start a new discussion in JBoss Portal at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100724/cb001d76/attachment.html 

More information about the jboss-user mailing list