1 Reply Latest reply on Sep 9, 2010 9:52 AM by Thomas Heute

    Portal in JBoss 5.1.x

    Luca Stancapiano Apprentice

      Is Jboss Portal still supported in JBoss 5.1.x? I tried to install it through this document:

       

      http://community.jboss.org/wiki/JBossPortalonAS5

       

      But compiling JBoss Portal from:

       

      http://anonsvn.jboss.org/repos/portal/branches/JBoss_Portal_Branch_2_7_AS5

      I get Exceptions in the WSRP module. Here the log:



      ==============================================================
      ==
      ==  Executing 'most' in module 'wsrp'...
      ==
      ==

      _default:compile-classes:
          [javac] Compiling 249 source files to /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/output/classes
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_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
      [execmodules] import org.jboss.xb.binding.XercesXsMarshaller;
      [execmodules]                            ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/test/wsrp/deployment/DeploymentTestCase.java:33: package org.jboss.portal.metadata.wsrp.consumer does not exist
      [execmodules] import org.jboss.portal.metadata.wsrp.consumer.ConsumerDeploymentsMetaData;
      [execmodules]                                               ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/test/wsrp/deployment/DeploymentTestCase.java:34: package org.jboss.portal.metadata.wsrp.consumer does not exist
      [execmodules] import org.jboss.portal.metadata.wsrp.consumer.WSRPProducerMetaData;
      [execmodules]                                               ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_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
      [execmodules] import org.jboss.portal.common.util.MediaType;
      [execmodules]                                    ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/WSRPResourceURL.java:50: warning: [deprecation] org.jboss.portal.common.util.MediaType in org.jboss.portal.common.util has been deprecated
      [execmodules]    private static final List<MediaType> SUPPORTED_RESOURCE_TYPES = new ArrayList<MediaType>(4);
      [execmodules]                              ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/WSRPResourceURL.java:155: warning: [deprecation] org.jboss.portal.common.util.MediaType in org.jboss.portal.common.util has been deprecated
      [execmodules]    private void isSupported(MediaType mediaType)
      [execmodules]                             ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPConsumerDeploymentImpl.java:27: package org.jboss.portal.metadata.wsrp.consumer does not exist
      [execmodules] import org.jboss.portal.metadata.wsrp.consumer.ConsumerDeploymentsMetaData;
      [execmodules]                                               ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPConsumerDeploymentImpl.java:28: package org.jboss.portal.metadata.wsrp.consumer does not exist
      [execmodules] import org.jboss.portal.metadata.wsrp.consumer.EndpointConfigMetaData;
      [execmodules]                                               ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPConsumerDeploymentImpl.java:29: package org.jboss.portal.metadata.wsrp.consumer does not exist
      [execmodules] import org.jboss.portal.metadata.wsrp.consumer.PropertyMetaData;
      [execmodules]                                               ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPConsumerDeploymentImpl.java:30: package org.jboss.portal.metadata.wsrp.consumer does not exist
      [execmodules] import org.jboss.portal.metadata.wsrp.consumer.RegistrationDataMetaData;
      [execmodules]                                               ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPConsumerDeploymentImpl.java:31: package org.jboss.portal.metadata.wsrp.consumer does not exist
      [execmodules] import org.jboss.portal.metadata.wsrp.consumer.WSRPProducerMetaData;
      [execmodules]                                               ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPConsumerDeploymentImpl.java:43: package org.jboss.portal.deployer.wsrp.container does not exist
      [execmodules] public class WSRPConsumerDeploymentImpl implements org.jboss.portal.deployer.wsrp.container.WSRPDeployment
      [execmodules]                                                                                            ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPConsumerDeploymentImpl.java:65: cannot find symbol
      [execmodules] symbol  : class ConsumerDeploymentsMetaData
      [execmodules] location: class org.jboss.portal.wsrp.deployment.WSRPConsumerDeploymentImpl
      [execmodules]    public void deployConsumer (ConsumerDeploymentsMetaData deployments)
      [execmodules]                                ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPConsumerDeploymentImpl.java:84: cannot find symbol
      [execmodules] symbol  : class WSRPProducerMetaData
      [execmodules] location: class org.jboss.portal.wsrp.deployment.WSRPConsumerDeploymentImpl
      [execmodules]    private WSRPConsumer getConsumer(WSRPProducerMetaData producer)
      [execmodules]                                     ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPConsumerDeploymentImpl.java:177: cannot find symbol
      [execmodules] symbol  : class EndpointConfigMetaData
      [execmodules] location: class org.jboss.portal.wsrp.deployment.WSRPConsumerDeploymentImpl
      [execmodules]    protected EndpointConfigurationInfo getEndpointConf (EndpointConfigMetaData endpointMetaData, ProducerInfo producerInfo)
      [execmodules]                                                         ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPConsumerDeploymentImpl.java:223: cannot find symbol
      [execmodules] symbol  : class RegistrationDataMetaData
      [execmodules] location: class org.jboss.portal.wsrp.deployment.WSRPConsumerDeploymentImpl
      [execmodules]    protected RegistrationInfo getRegistrationInfo (RegistrationDataMetaData registrationMetaData, ProducerInfo producerInfo)
      [execmodules]                                                    ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/producer/config/impl/ProducerConfigurationServiceImpl.java:43: warning: [deprecation] org.jboss.xb.binding.XercesXsMarshaller in org.jboss.xb.binding has been deprecated
      [execmodules] import org.jboss.xb.binding.XercesXsMarshaller;
      [execmodules]                            ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/test/wsrp/config/ProducerConfigurationTestCase.java:252: warning: [deprecation] toURL() in java.io.File has been deprecated
      [execmodules]       configuration = getProducerConfiguration(tmp.toURL());
      [execmodules]                                                   ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/test/wsrp/config/ProducerConfigurationTestCase.java:281: warning: [deprecation] org.jboss.xb.binding.XercesXsMarshaller in org.jboss.xb.binding has been deprecated
      [execmodules]       XercesXsMarshaller marshaller = new XercesXsMarshaller();
      [execmodules]       ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/test/wsrp/config/ProducerConfigurationTestCase.java:281: warning: [deprecation] org.jboss.xb.binding.XercesXsMarshaller in org.jboss.xb.binding has been deprecated
      [execmodules]       XercesXsMarshaller marshaller = new XercesXsMarshaller();
      [execmodules]                                           ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/test/wsrp/deployment/DeploymentTestCase.java:63: cannot find symbol
      [execmodules] symbol  : class ConsumerDeploymentsMetaData
      [execmodules] location: class org.jboss.portal.test.wsrp.deployment.DeploymentTestCase
      [execmodules]       resolver.addClassBindingForLocation("deployments", ConsumerDeploymentsMetaData.class);
      [execmodules]                                                          ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/test/wsrp/deployment/DeploymentTestCase.java:64: cannot find symbol
      [execmodules] symbol  : class ConsumerDeploymentsMetaData
      [execmodules] location: class org.jboss.portal.test.wsrp.deployment.DeploymentTestCase
      [execmodules]       ConsumerDeploymentsMetaData deployments = (ConsumerDeploymentsMetaData) PortalUnmarshallerFactory.getInstance().getUnmarshaller().unmarshal(
      [execmodules]       ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/test/wsrp/deployment/DeploymentTestCase.java:64: cannot find symbol
      [execmodules] symbol  : class ConsumerDeploymentsMetaData
      [execmodules] location: class org.jboss.portal.test.wsrp.deployment.DeploymentTestCase
      [execmodules]       ConsumerDeploymentsMetaData deployments = (ConsumerDeploymentsMetaData) PortalUnmarshallerFactory.getInstance().getUnmarshaller().unmarshal(
      [execmodules]                                                  ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/handler/RequestHeaderClientHandler.java:154: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated
      [execmodules]       if (log.isDebugEnabled())
      [execmodules]              ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/handler/RequestHeaderClientHandler.java:174: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated
      [execmodules]          if (log.isDebugEnabled())
      [execmodules]                 ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/handler/RequestHeaderClientHandler.java:180: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated
      [execmodules]       if (log.isDebugEnabled())
      [execmodules]              ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/WSRPResourceURL.java:50: warning: [deprecation] org.jboss.portal.common.util.MediaType in org.jboss.portal.common.util has been deprecated
      [execmodules]    private static final List<MediaType> SUPPORTED_RESOURCE_TYPES = new ArrayList<MediaType>(4);
      [execmodules]                                                                                  ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/WSRPResourceURL.java:54: warning: [deprecation] org.jboss.portal.common.util.MediaType in org.jboss.portal.common.util has been deprecated
      [execmodules]       SUPPORTED_RESOURCE_TYPES.add(MediaType.CSS);
      [execmodules]                                    ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/WSRPResourceURL.java:55: warning: [deprecation] org.jboss.portal.common.util.MediaType in org.jboss.portal.common.util has been deprecated
      [execmodules]       SUPPORTED_RESOURCE_TYPES.add(MediaType.JS);
      [execmodules]                                    ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/WSRPResourceURL.java:56: warning: [deprecation] org.jboss.portal.common.util.MediaType in org.jboss.portal.common.util has been deprecated
      [execmodules]       SUPPORTED_RESOURCE_TYPES.add(MediaType.TEXT);
      [execmodules]                                    ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/WSRPResourceURL.java:59: warning: [deprecation] org.jboss.portal.common.util.MediaType in org.jboss.portal.common.util has been deprecated
      [execmodules]          SUPPORTED_RESOURCE_TYPES.add(MediaType.parseMimeType("image/*"));
      [execmodules]                                       ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/WSRPResourceURL.java:130: warning: [deprecation] org.jboss.portal.common.util.MediaType in org.jboss.portal.common.util has been deprecated
      [execmodules]             MediaType mediaType = null;
      [execmodules]             ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/WSRPResourceURL.java:133: warning: [deprecation] org.jboss.portal.common.util.MediaType in org.jboss.portal.common.util has been deprecated
      [execmodules]                mediaType = MediaType.parseMimeTypeByExtension(file);
      [execmodules]                            ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/WSRPResourceURL.java:159: warning: [deprecation] org.jboss.portal.common.util.MediaType in org.jboss.portal.common.util has been deprecated
      [execmodules]          for (MediaType type : SUPPORTED_RESOURCE_TYPES)
      [execmodules]               ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPConsumerDeploymentImpl.java:67: cannot find symbol
      [execmodules] symbol  : class WSRPProducerMetaData
      [execmodules] location: class org.jboss.portal.wsrp.deployment.WSRPConsumerDeploymentImpl
      [execmodules]       for (WSRPProducerMetaData producer : deployments.getDeployments())
      [execmodules]            ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPConsumerDeploymentImpl.java:235: cannot find symbol
      [execmodules] symbol  : class PropertyMetaData
      [execmodules] location: class org.jboss.portal.wsrp.deployment.WSRPConsumerDeploymentImpl
      [execmodules]          for (PropertyMetaData property : registrationMetaData.getProperties())
      [execmodules]               ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/producer/WSRPProducerImpl.java:150: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated
      [execmodules]       if (log.isDebugEnabled())
      [execmodules]              ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/producer/config/impl/ProducerConfigurationServiceImpl.java:244: warning: [deprecation] toURL() in java.io.File has been deprecated
      [execmodules]          return config.toURL();
      [execmodules]                       ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/producer/config/impl/ProducerConfigurationServiceImpl.java:259: warning: [deprecation] org.jboss.xb.binding.XercesXsMarshaller in org.jboss.xb.binding has been deprecated
      [execmodules]       XercesXsMarshaller marshaller = new XercesXsMarshaller();
      [execmodules]       ^
      [execmodules] /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/wsrp/src/main/org/jboss/portal/wsrp/producer/config/impl/ProducerConfigurationServiceImpl.java:259: warning: [deprecation] org.jboss.xb.binding.XercesXsMarshaller in org.jboss.xb.binding has been deprecated
      [execmodules]       XercesXsMarshaller marshaller = new XercesXsMarshaller();
      [execmodules]                                           ^
      [execmodules] Note: Some input files use unchecked or unsafe operations.
      [execmodules] Note: Recompile with -Xlint:unchecked for details.
      [execmodules] 17 errors
      [execmodules] 23 warnings

      BUILD FAILED
      /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/tools/etc/buildfragments/buildmagic.ent:273: The following error occurred while executing this line:
      /Users/flashboss/Sviluppo/src/workspace_portal_2_7_branch_AS5/portal/tools/etc/buildfragments/buildmagic.ent:395: Compile failed; see the compiler error output for details.

      Total time: 35 seconds