Hi, I followed the instructions from the following page http://www.jboss.org/community/wiki/JBossPortalonAS5, but rather than using 5.1.0Beta1, I am using 5.1.0.GA.
Both maven compiling steps went fine for me, but unfortunately the compiling of the JBoss_Portal_Branch_2_7_AS5 had i few issues. Here is the output: [javac] Compiling 249 source files to /commons/data/downloads/jboss/portal_as5/portal/wsrp/output/classes | [javac] /commons/data/downloads/jboss/portal_as5/portal/wsrp/src/main/org/jboss/portal/test/wsrp/config/ProducerConfigurationTestCase.java:45: warning: [deprecation] org.jboss.xb.binding.XercesXsMarshaller in org.jboss.xb.binding has been deprecated | [javac] import org.jboss.xb.binding.XercesXsMarshaller; | [javac] ^ | [javac] /commons/data/downloads/jboss/portal_as5/portal/wsrp/src/main/org/jboss/portal/test/wsrp/deployment/DeploymentTestCase.java:33: package org.jboss.portal.metadata.wsrp.consumer does not exist | [javac] import org.jboss.portal.metadata.wsrp.consumer.ConsumerDeploymentsMetaData; | [javac] ^ | [javac] /commons/data/downloads/jboss/portal_as5/portal/wsrp/src/main/org/jboss/portal/test/wsrp/deployment/DeploymentTestCase.java:34: package org.jboss.portal.metadata.wsrp.consumer does not exist | [javac] import org.jboss.portal.metadata.wsrp.consumer.WSRPProducerMetaData; | [javac] ^ | [javac] /commons/data/downloads/jboss/portal_as5/portal/wsrp/src/main/org/jboss/portal/wsrp/WSRPResourceURL.java:30: warning: [deprecation] org.jboss.portal.common.util.MediaType in org.jboss.portal.common.util has been deprecated | .............. I discovered that to resolve this build issue I had to add the jar create from the mvn install for the metadata (metadata-wsrp-trunk-SNAPSHOT.jar). This then leads to the following build problem: [javac] /commons/data/downloads/jboss/portal_as5/portal/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPConsumerDeploymentImpl.java:43: package org.jboss.portal.deployer.wsrp.container does not exist | [javac] public class WSRPConsumerDeploymentImpl implements org.jboss.portal.deployer.wsrp.container.WSRPDeployment | [javac] ^ | [javac] /commons/data/downloads/jboss/portal_as5/portal/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPConsumerDeploymentImpl.java:65: cannot find symbol | [javac] symbol : class ConsumerDeploymentsMetaData | [javac] location: class org.jboss.portal.wsrp.deployment.WSRPConsumerDeploymentImpl | [javac] public void deployConsumer (ConsumerDeploymentsMetaData deployments) | [javac] ^ | Adding the jar created from mvn package for the deployer fixes this build issue. This gives me the following structure in jboss server/all/deploy (NOTE, gif and png are removed from the output): | [da...@dalef9 deploy]$ tree jboss-portal/ | jboss-portal/ | |-- jboss-portal.sar | | |-- META-INF | | | |-- aliases.txt | | | |-- default-object.xml | | | |-- jboss-dependency.xml | | | `-- jboss-service.xml | | |-- conf | | | |-- bundles | | | | |-- Resource.properties | | | | |-- Resource_fr.properties | | | | |-- Resource_it.properties | | | | |-- Resource_ja.properties | | | | `-- Resource_pt.properties | | | |-- config.xml | | | |-- data | | | |-- hibernate | | | | |-- instance | | | | | |-- domain.hbm.xml | | | | | `-- hibernate.cfg.xml | | | | |-- portal | | | | | |-- domain.hbm.xml | | | | | `-- hibernate.cfg.xml | | | | |-- portlet | | | | | |-- domain.hbm.xml | | | | | `-- hibernate.cfg.xml | | | | |-- user | | | | | |-- domain.hbm.xml | | | | | |-- hibernate.cfg.xml | | | | | `-- setup.txt | | | | `-- workflow | | | | `-- hibernate.cfg.xml | | | |-- identity | | | | |-- identity-config.xml | | | | |-- ldap_identity-config.xml | | | | |-- profile-config.xml | | | | `-- standardidentity-config.xml | | | |-- login-config.xml | | | |-- standardjboss-portlet.xml | | | `-- theme | | | `-- portal-layout.tld | | |-- dtd | | | |-- identity-config_2_6.dtd | | | `-- profile-config_2_6.dtd | | `-- lib | | |-- commons-collections.jar | | |-- commons-fileupload.jar | | |-- commons-io.jar | | |-- ehcache.jar | | |-- freemarker.jar | | |-- jboss-portlet-api-lib.jar | | |-- jbpm-identity.jar | | |-- jbpm-jpdl.jar | | |-- portal-api-lib.jar | | |-- portal-common-lib.jar | | |-- portal-common-portal-lib.jar | | |-- portal-core-lib.jar | | |-- portal-identity-lib.jar | | |-- portal-identity-sso-lib.jar | | |-- portal-jems-lib.jar | | |-- portal-portlet-bridge-lib.jar | | |-- portal-portlet-controller-lib.jar | | |-- portal-portlet-federation-lib.jar | | |-- portal-portlet-lib.jar | | |-- portal-portlet-management-lib.jar | | |-- portal-portlet-server-lib.jar | | |-- portal-registration-lib.jar | | |-- portal-search-lib.jar | | |-- portal-security-lib.jar | | |-- portal-server-lib.jar | | |-- portal-theme-lib.jar | | |-- portal-web-lib.jar | | |-- portal-workflow-lib.jar | | |-- portals-bridges-common.jar | | |-- portlet-api.jar | | `-- tagsoup.jar | |-- portal-ajax.war | | |-- WEB-INF | | | |-- jboss-web.xml | | | `-- web.xml | | `-- dyna | | |-- builder.js | | |-- controls.js | | |-- dragdrop.js | | |-- dyna.js | | |-- effects.js | | |-- prototype.js | | |-- scriptaculous.js | | |-- slider.js | | |-- style.css | | `-- unittest.js | |-- portal-aop.xml | |-- portal-core.war | | |-- WEB-INF | | | |-- classes | | | | |-- Resource.properties | | | | |-- Resource_de.properties | | | | |-- Resource_fr.properties | | | | |-- Resource_it.properties | | | | |-- Resource_ja.properties | | | | |-- Resource_pt_BR.properties | | | | |-- nodesk | | | | | |-- Modes.properties | | | | | `-- WindowStates.properties | | | | |-- phalanx | | | | | |-- Modes.properties | | | | | `-- WindowStates.properties | | | | `-- templates | | | | `-- user | | | | |-- emailTemplate.tpl | | | | `-- emailTemplate_fr.tpl | | | |-- jboss-portal-app.xml | | | |-- jboss-portlet.xml | | | |-- jboss-web.xml | | | |-- jsp | | | | |-- content | | | | | `-- portlet_editor.jsp | | | | |-- error | | | | | |-- page.jsp | | | | | `-- portal.jsp | | | | |-- header | | | | | |-- header.jsp | | | | | `-- tabs.jsp | | | | `-- test | | | | |-- testIf01.jsp | | | | |-- testInclude01.jsp | | | | |-- testInclude02.jsp | | | | |-- testInclude03.jsp | | | | |-- testIterate01.jsp | | | | |-- testIterate02.jsp | | | | |-- testIterate03.jsp | | | | |-- testTaglib01.jsp | | | | `-- testTaglib02.jsp | | | |-- portal-layouts.xml | | | |-- portal-lib.tld | | | |-- portal-renderSet.xml | | | |-- portal-themes.xml | | | |-- portlet-instances.xml | | | |-- portlet.xml | | | |-- theme-basic-lib.tld | | | `-- web.xml | | |-- css | | | |-- login.css | | | `-- modal.css | | |-- images | | | |-- corners | | | | |-- 7px | | | | | |-- ....gif | | | | `-- gray-header.gif | | | |-- favicon.ico | | | |-- logo-small-blue.gif | | | |-- modal | | | | |-- .....gif ...png | | | `-- portletIcon_Default1.gif | | |-- js | | | |-- login.js | | | |-- modal.js | | | `-- tooltip | | | |-- domLib.js | | | |-- domTT.js | | | |-- domTT_drag.js | | | `-- fadomatic.js | | |-- layouts | | | |-- 1column | | | | `-- index.jsp | | | |-- 3columns | | | | `-- index.jsp | | | |-- common | | | | |-- modal_body.jsp | | | | `-- modal_head.jsp | | | `-- generic | | | |-- index.jsp | | | `-- maximized.jsp | | `-- themes | | |-- common | | | |-- common.css | | | |-- portlet-editor.css | | | `-- tooltip.css | | |-- industrial | | | |-- images | | | | |-- .....gif | | | | |-- Thumbs.db | | | `-- portal_style.css | | |-- maple | | | |-- images | | | | |-- Thumbs.db | | | | |-- .....gif | | | `-- portal_style.css | | `-- renewal | | |-- images | | | |-- .......gif | | `-- portal_style.css | `-- portal-server.war | |-- WEB-INF | | |-- classes | | | |-- Resource.properties | | | |-- Resource_de.properties | | | |-- Resource_fr.properties | | | |-- Resource_it.properties | | | |-- Resource_ja.properties | | | `-- Resource_pt_BR.properties | | |-- context.xml | | |-- jboss-web.xml | | `-- web.xml | |-- images | | |-- .........png | `-- login.jsp | | 56 directories, 323 files | This gives me the following structure in jboss server/all/deployers: | [da...@dalef9 deployers]$ tree jboss-portal.deployer/ | jboss-portal.deployer/ | |-- META-INF | | `-- deployer-jboss-beans.xml | |-- conf | | `-- standardjboss-portlet.xml | |-- deployer-portal-trunk-SNAPSHOT.jar | |-- deployer-portlet-trunk-SNAPSHOT.jar | |-- deployer-theme-trunk-SNAPSHOT.jar | |-- deployer-wsrp-trunk-SNAPSHOT.jar | |-- dtd | | |-- jboss-portal-app_2_6.dtd | | |-- jboss-portlet_2_6.dtd | | |-- jboss-wsrp-consumer_2_6.dtd | | |-- jboss-wsrp-producer_2_6.dtd | | |-- portal-layouts_2_7.dtd | | |-- portal-object_2_6.dtd | | |-- portal-renderset_2_7.dtd | | |-- portal-theme_2_7.dtd | | `-- portlet-instances_2_6.dtd | |-- metadata-metadata-trunk-SNAPSHOT.jar | |-- metadata-theme-trunk-SNAPSHOT.jar | |-- metadata-wsrp-trunk-SNAPSHOT.jar | |-- tld | | |-- portal-layout.tld | | |-- portlet.tld | | `-- portlet_2_0.tld | `-- xsd | |-- jboss-wsrp-consumer_2_6.xsd | |-- jboss-wsrp-producer_2_6.xsd | `-- jboss-wsrp-producer_2_7.xsd | | 5 directories, 24 files | | | | | On deploy this gives me the following exception: | | | | | | | 13:27:52,889 INFO [TomcatDeployment] deploy, ctxPath=/admin-console | | | 13:27:52,944 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console' | | | 13:27:55,516 INFO [TomcatDeployment] deploy, ctxPath=/ | | | 13:27:55,561 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console | | | 13:27:55,610 INFO [TomcatDeployment] deploy, ctxPath=/portal-ajax | | | 13:27:55,682 INFO [TomcatDeployment] deploy, ctxPath=/portal | | | 13:27:55,881 ERROR [AbstractKernelController] Error installing to Installed: name=vfsfile:/usr/local/jboss-5.1.0.GA/server/all/deploy/jboss-portal/jboss-portal.sar/ state=Start mode=Manual requiredState=Installed | | | org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/usr/local/jboss-5.1.0.GA/server/all/deploy/jboss-portal/jboss-portal.sar/ | | | at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) | | | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177) | | | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | | | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | | | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | | | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | | | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | | | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | | | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | | | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | | | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | | | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | | | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | | | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | | | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | | | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | | | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | | | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | | | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | | | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | | | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | | | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | | | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | | | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | | | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | | | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | | | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | | | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | | | at org.jboss.Main.boot(Main.java:221) | | | at org.jboss.Main$1.run(Main.java:556) | | | at java.lang.Thread.run(Thread.java:619) | | | Caused by: java.lang.NullPointerException | | | at org.jboss.portal.deployer.portlet.ObjectDeployer.internalDeploy(ObjectDeployer.java:64) | | | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | | | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | | | ... 29 more | | | 13:27:55,896 WARN [DelegatingURLFactoryService] Unregistration of URL factory org.jboss.portal.core.controller.command.mapper.signouturlfact...@1bddffe failed because it is not registered | | | 13:27:56,054 INFO [ClientENCInjectionContainer] STOPPED CLIENT ENC CONTAINER: tagsoup | | | 13:27:56,082 INFO [ClientENCInjectionContainer] STOPPED CLIENT ENC CONTAINER: portal-server-lib | | | 13:27:56,115 INFO [ClientENCInjectionContainer] STOPPED CLIENT ENC CONTAINER: freemarker | | | 13:27:56,246 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): | | | | | | DEPLOYMENTS MISSING DEPENDENCIES: | | | Deployment "vfsfile:/usr/local/jboss-5.1.0.GA/server/all/deploy/jboss-portal/portal-core.war/" is missing the following dependencies: | | | Dependency "portal:deployer=InstanceDeployment" (should be in state "Real", but is actually in state "** NOT FOUND Depends on 'portal:deployer=InstanceDeployment' **") | | | Dependency "portal:deployer=ObjectDeployment" (should be in state "Real", but is actually in state "** NOT FOUND Depends on 'portal:deployer=ObjectDeployment' **") | | | Dependency "portal:deployer=PortletDeployment" (should be in state "Real", but is actually in state "** NOT FOUND Depends on 'portal:deployer=PortletDeployment' **") | | | | Does anyone have any ideas what has gone wrong, or how to fix it ? | | | | Cheers, | | | | Andy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246400#4246400 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246400 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user