1 Reply Latest reply on Jan 14, 2009 11:44 AM by peterj

    Problem after Start

    jzafrilla

      Environment:
      jboss-portal-2.7.0.B1-bundled.zip
      jbossas423
      maven2
      Ubuntu
      Problem:
      I run this:

      mvn install cargo:start -Plocal-portal -DJBOSS_ZIP_HOME=jboss-portal-2.7.0.B1-bundled.zip -DJBOSS_HOME_DIR=jboss-portal-2.7.0.B1-bundled/jboss-portal-2.7.0.B1


      All is ok, but when the server is started, it happend this:

      [INFO] [talledLocalContainer] 10:35:50,478 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 39s:337ms
      [INFO] [talledLocalContainer] 10:35:52,597 WARN [ServiceObjectFactory] Unable to narrow port selection for
      [INFO] [talledLocalContainer] UnifiedPortComponentRef
      [INFO] [talledLocalContainer] serviceEndpointInterface=org.jboss.portal.wsrp.core.WSRP_v1_ServiceDescription_PortType
      [INFO] [talledLocalContainer] portQName=null
      [INFO] [talledLocalContainer] enableMTOM=false
      [INFO] [talledLocalContainer] portComponentLink=null
      [INFO] [talledLocalContainer] callProperties=[]
      [INFO] [talledLocalContainer] stubProperties=[]
      [INFO] [talledLocalContainer] configName=null
      [INFO] [talledLocalContainer] configFile=null
      [INFO] [talledLocalContainer] 10:35:53,463 WARN [ServiceObjectFactory] Unable to narrow port selection for
      [INFO] [talledLocalContainer] UnifiedPortComponentRef
      [INFO] [talledLocalContainer] serviceEndpointInterface=org.jboss.portal.wsrp.core.WSRP_v1_Markup_PortType
      [INFO] [talledLocalContainer] portQName=null
      [INFO] [talledLocalContainer] enableMTOM=false
      [INFO] [talledLocalContainer] portComponentLink=null
      [INFO] [talledLocalContainer] callProperties=[]
      [INFO] [talledLocalContainer] stubProperties=[]
      [INFO] [talledLocalContainer] configName=null
      [INFO] [talledLocalContainer] configFile=null
      [INFO] [talledLocalContainer] JBoss 4.2.3 started on port [8080]
      [INFO] Press Ctrl-C to stop the container...
      [INFO] [talledLocalContainer] 10:35:54,158 WARN [ServiceObjectFactory] Unable to narrow port selection for
      [INFO] [talledLocalContainer] UnifiedPortComponentRef
      [INFO] [talledLocalContainer] serviceEndpointInterface=org.jboss.portal.wsrp.core.WSRP_v1_PortletManagement_PortType
      [INFO] [talledLocalContainer] portQName=null
      [INFO] [talledLocalContainer] enableMTOM=false
      [INFO] [talledLocalContainer] portComponentLink=null
      [INFO] [talledLocalContainer] callProperties=[]
      [INFO] [talledLocalContainer] stubProperties=[]
      [INFO] [talledLocalContainer] configName=null
      [INFO] [talledLocalContainer] configFile=null
      [INFO] [talledLocalContainer] 10:35:54,816 WARN [ServiceObjectFactory] Unable to narrow port selection for
      [INFO] [talledLocalContainer] UnifiedPortComponentRef
      [INFO] [talledLocalContainer] serviceEndpointInterface=org.jboss.portal.wsrp.core.WSRP_v1_Registration_PortType
      [INFO] [talledLocalContainer] portQName=null
      [INFO] [talledLocalContainer] enableMTOM=false
      [INFO] [talledLocalContainer] portComponentLink=null
      [INFO] [talledLocalContainer] callProperties=[]
      [INFO] [talledLocalContainer] stubProperties=[]
      [INFO] [talledLocalContainer] configName=null
      [INFO] [talledLocalContainer] configFile=null
      [INFO] [talledLocalContainer] 10:36:09,747 ERROR [STDERR] 14-ene-2009 10:36:09 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      


      and i get an OutOfMemoryException

      [INFO] [talledLocalContainer] 10:42:43,464 ERROR [STDERR] Exception in thread "ScannerThread"
      [INFO] [talledLocalContainer] 10:42:43,464 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
      [INFO] [talledLocalContainer] 10:46:11,297 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id 7f000101:91e1:496db1d1:344 invoked while multiple threads active within it.
      [INFO] [talledLocalContainer] 10:46:11,297 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic action 7f000101:91e1:496db1d1:344 aborting with 1 threads active!
      [INFO] [talledLocalContainer] 10:46:16,230 ERROR [STDERR] Exception in thread "Thread-4"
      [INFO] [talledLocalContainer] 10:46:16,231 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space




      Thank you very much and sorry for my english.

        • 1. Re: Problem after Start
          peterj

          For the out-of-memory exception, add a permgen size setting to the memory settings in the run.conf file. Example:

          java_opts="-XX:MaxPermSize=128m -Xms128m ..."

          I'm not sure about the wsrp port issue, but if you do not plan to use remote porltet, you can ignore it, or even remove the portal-wsrp.sar directory from jboss-portal.sar.

          By the way, I am not sure if cargo plugin did the install correctly (I have never tried doing that). It appears that you downloaded the bundled Portal (which includes the Portal and JBoss AS), in which case the entire installation process consists of unzip the zip file.