5 Replies Latest reply on Dec 9, 2014 10:58 AM by joelgaspard

    How to get more then 10 concurrent instances to run on a single VM?

    iwitham

      I have 2 VM's that each have the following resources:

       

      4 CPU's

      16GB RAM

      JBos AS 6

       

      Each jboss instance has its own virtual IP address

      Each jboss instance has a dedicated peer ID

       

      I have 14 instances of Jboss on one and 15 on the other that I want to run concurrently.  The instances are configured with the following:  Jboss has a max heap size of 3.5GB and each instance have max heap sizes of 1GB.  I launched Jconsole to watch the instances memory usage during and after loading.  Once I launched the 10 instance the committed memory was at 4+GB and I could not launch additional instances.  The log shows the following information:

       

      2013-03-28 15:15:23,191 INFO  [org.jboss.system.server.jmx.JMXKernel] (Thread-21) Server exit called, exiting the JVM now!

      2013-03-28 15:15:23,195 INFO  [STDOUT] (Thread-1) Posting Shutdown Request to the server...

      2013-03-28 15:15:23,196 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] (Thread-22) Stopping: JBossAS [6.1.0.Final "Neo"]

      2013-03-28 15:15:23,197 INFO  [org.apache.coyote.http11.Http11Protocol] (Thread-22) Pausing Coyote HTTP/1.1 on http-jcmshowell%2F10.3.2.125-8080

      2013-03-28 15:15:23,198 INFO  [org.apache.coyote.http11.Http11Protocol] (Thread-22) Stopping Coyote HTTP/1.1 on http-jcmshowell%2F10.3.2.125-8080

      2013-03-28 15:15:23,201 INFO  [org.apache.coyote.ajp.AjpProtocol] (Thread-22) Pausing Coyote AJP/1.3 on ajp-jcmshowell%2F10.3.2.125-8009

      2013-03-28 15:15:23,202 INFO  [org.apache.coyote.ajp.AjpProtocol] (Thread-22) Stopping Coyote AJP/1.3 on ajp-jcmshowell%2F10.3.2.125-8009

      2013-03-28 15:15:23,205 INFO  [org.apache.coyote.http11.Http11Protocol] (Thread-22) Pausing Coyote HTTP/1.1 on http-jcmshowell%2F10.3.2.125-8443

      2013-03-28 15:15:23,207 INFO  [org.apache.coyote.http11.Http11Protocol] (Thread-22) Stopping Coyote HTTP/1.1 on http-jcmshowell%2F10.3.2.125-8443

      2013-03-28 15:15:23,227 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (Thread-22) undeploy, ctxPath=/jcms

      2013-03-28 15:18:06,089 ERROR [ProfileServiceBootstrap] (Thread-2) Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

      DEPLOYMENTS MISSING DEPENDENCIES:

        Deployment "AdminConsoleActivator" is missing the following dependencies:

          Dependency "WebServer" (should be in state "Installed", but is actually in state "Configured")

        Deployment "CachedConnectionManager" is missing the following dependencies:

          Dependency "TransactionManager" (should be in state "Installed", but is actually in state "PreInstall")

        Deployment "DefaultUserTransactionprovider" is missing the following dependencies:

          Dependency "<UNKNOWN DefaultUserTransactionprovider>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'TransactionManager' **")

        Deployment "JBossTransactionServices" is missing the following dependencies:

          Dependency "TransactionManager" (should be in state "Installed", but is actually in state "PreInstall")

        Deployment "JBossWSConsoleActivator" is missing the following dependencies:

          Dependency "WebServer" (should be in state "Installed", but is actually in state "Configured")

        Deployment "JmxConsoleActivator" is missing the following dependencies:

          Dependency "WebServer" (should be in state "Installed", but is actually in state "Configured")

        Deployment "MK2TimerServiceFactory" is missing the following dependencies:

          Dependency "persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb" (should be in state "Installed", but is actually in state "Configured")

          Dependency "interface javax.transaction.TransactionManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'interface javax.transaction.TransactionManager' **")

        Deployment "ModClusterListener" is missing the following dependencies:

          Dependency "WebServer" (should be in state "Create", but is actually in state "Configured")

        Deployment "ObjectStoreBrowserBean" is missing the following dependencies:

          Dependency "<UNKNOWN ObjectStoreBrowserBean>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'TransactionManager' **")

        Deployment "RealTransactionManager" is missing the following dependencies:

          Dependency "TransactionManager" (should be in state "Installed", but is actually in state "PreInstall")

        Deployment "TransactionManager" is missing the following dependencies:

          Dependency "<UNKNOWN TransactionManager>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'RecoveryManager' **")

        Deployment "TxControl" is missing the following dependencies:

          Dependency "<UNKNOWN TxControl>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'RecoveryManager' **")

        Deployment "UnifiedInvoker" is missing the following dependencies:

          Dependency "TransactionManager" (should be in state "Create", but is actually in state "PreInstall")

        Deployment "WebServer" is missing the following dependencies:

          Dependency "jboss.jca:service=CachedConnectionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **")

          Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")

        Deployment "WorkManager" is missing the following dependencies:

          Dependency "TransactionManager" (should be in state "Installed", but is actually in state "PreInstall")

        Deployment "jboss-switchboard:appName=JCMSWebTier,module=JCMSWebTier" is missing the following dependencies:

          Dependency "java:global/cdi/JCMSWebTier/JCMSWebTier/BeanManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'java:global/cdi/JCMSWebTier/JCMSWebTier/BeanManager' **")

        Deployment "jboss.ejb:persistencePolicy=database,service=EJBTimerService" is missing the following dependencies:

          Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss.ejb:service=EJBTimerService" is missing the following dependencies:

          Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")

          Dependency "jboss.ejb:persistencePolicy=database,service=EJBTimerService" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment" is missing the following dependencies:

          Dependency "jboss.jca:service=WorkManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **")

          Dependency "jboss:service=TransactionManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")

        Deployment "jboss.jca:name='jboss-xa-jdbc.rar',service=RARDeployment" is missing the following dependencies:

          Dependency "jboss.jca:service=WorkManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **")

          Dependency "jboss:service=TransactionManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")

        Deployment "jboss.jca:name='jms-ra.rar',service=RARDeployment" is missing the following dependencies:

          Dependency "jboss.jca:service=WorkManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **")

          Dependency "jboss:service=TransactionManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")

        Deployment "jboss.jca:name='mail-ra.rar',service=RARDeployment" is missing the following dependencies:

          Dependency "jboss:service=TransactionManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")

          Dependency "jboss.jca:service=WorkManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **")

        Deployment "jboss.jca:name='quartz-ra.rar',service=RARDeployment" is missing the following dependencies:

          Dependency "jboss:service=TransactionManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")

          Dependency "jboss.jca:service=WorkManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **")

        Deployment "jboss.jca:name=DefaultDS,service=DataSourceBinding" is missing the following dependencies:

          Dependency "jboss.jca:name=DefaultDS,service=LocalTxCM" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss.jca:name=DefaultDS,service=LocalTxCM" is missing the following dependencies:

          Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")

          Dependency "jboss.jca:name=DefaultDS,service=ManagedConnectionPool" (should be in state "Create", but is actually in state "Configured")

          Dependency "jboss.jca:service=CachedConnectionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **")

        Deployment "jboss.jca:name=DefaultDS,service=ManagedConnectionFactory" is missing the following dependencies:

          Dependency "RecoveryManager" (should be in state "Installed", but is actually in state "**ERROR**")

        Deployment "jboss.jca:name=DefaultDS,service=ManagedConnectionPool" is missing the following dependencies:

          Dependency "jboss.jca:name=DefaultDS,service=ManagedConnectionFactory" (should be in state "Create", but is actually in state "Instantiated")

        Deployment "jboss.jca:name=JCMSWebDBDS,service=DataSourceBinding" is missing the following dependencies:

          Dependency "jboss.jca:name=JCMSWebDBDS,service=LocalTxCM" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss.jca:name=JCMSWebDBDS,service=LocalTxCM" is missing the following dependencies:

          Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")

          Dependency "jboss.jca:service=CachedConnectionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **")

          Dependency "jboss.jca:name=JCMSWebDBDS,service=ManagedConnectionPool" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss.jca:name=JCMSWebDBDS,service=ManagedConnectionFactory" is missing the following dependencies:

          Dependency "RecoveryManager" (should be in state "Installed", but is actually in state "**ERROR**")

        Deployment "jboss.jca:name=JCMSWebDBDS,service=ManagedConnectionPool" is missing the following dependencies:

          Dependency "jboss.jca:name=JCMSWebDBDS,service=ManagedConnectionFactory" (should be in state "Create", but is actually in state "Instantiated")

        Deployment "jboss.jca:name=JCMSWebDS,service=DataSourceBinding" is missing the following dependencies:

          Dependency "jboss.jca:name=JCMSWebDS,service=LocalTxCM" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss.jca:name=JCMSWebDS,service=LocalTxCM" is missing the following dependencies:

          Dependency "jboss.jca:service=CachedConnectionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **")

          Dependency "jboss.jca:name=JCMSWebDS,service=ManagedConnectionPool" (should be in state "Create", but is actually in state "Configured")

          Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")

        Deployment "jboss.jca:name=JCMSWebDS,service=ManagedConnectionFactory" is missing the following dependencies:

          Dependency "RecoveryManager" (should be in state "Installed", but is actually in state "**ERROR**")

        Deployment "jboss.jca:name=JCMSWebDS,service=ManagedConnectionPool" is missing the following dependencies:

          Dependency "jboss.jca:name=JCMSWebDS,service=ManagedConnectionFactory" (should be in state "Create", but is actually in state "Instantiated")

        Deployment "jboss.jca:name=JmsXA,service=ConnectionFactoryBinding" is missing the following dependencies:

          Dependency "jboss.jca:name=JmsXA,service=TxCM" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss.jca:name=JmsXA,service=ManagedConnectionFactory" is missing the following dependencies:

          Dependency "RecoveryManager" (should be in state "Installed", but is actually in state "**ERROR**")

        Deployment "jboss.jca:name=JmsXA,service=ManagedConnectionPool" is missing the following dependencies:

          Dependency "jboss.jca:name=JmsXA,service=ManagedConnectionFactory" (should be in state "Create", but is actually in state "Instantiated")

        Deployment "jboss.jca:name=JmsXA,service=TxCM" is missing the following dependencies:

          Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")

          Dependency "jboss.jca:name=JmsXA,service=ManagedConnectionPool" (should be in state "Create", but is actually in state "Configured")

          Dependency "jboss.jca:service=CachedConnectionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **")

        Deployment "jboss.jca:name=RSLIMSDS,service=DataSourceBinding" is missing the following dependencies:

          Dependency "jboss.jca:name=RSLIMSDS,service=LocalTxCM" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss.jca:name=RSLIMSDS,service=LocalTxCM" is missing the following dependencies:

          Dependency "jboss.jca:service=CachedConnectionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **")

          Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")

          Dependency "jboss.jca:name=RSLIMSDS,service=ManagedConnectionPool" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss.jca:name=RSLIMSDS,service=ManagedConnectionFactory" is missing the following dependencies:

          Dependency "RecoveryManager" (should be in state "Installed", but is actually in state "**ERROR**")

        Deployment "jboss.jca:name=RSLIMSDS,service=ManagedConnectionPool" is missing the following dependencies:

          Dependency "jboss.jca:name=RSLIMSDS,service=ManagedConnectionFactory" (should be in state "Create", but is actually in state "Instantiated")

        Deployment "jboss.web.deployment:war=/ROOT" is missing the following dependencies:

          Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss.web.deployment:war=/invoker" is missing the following dependencies:

          Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss.web.deployment:war=/jcms" is missing the following dependencies:

          Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "Configured")

          Dependency "vfs:///usr/local/jbosshowell/server/default/deploy/JCMSWebTier.war_WeldBootstrapBean" (should be in state "Create", but is actually in state "Instantiated")

        Deployment "jboss:service=ClientUserTransaction" is missing the following dependencies:

          Dependency "jboss:service=proxyFactory,target=ClientUserTransactionFactory" (should be in state "Create", but is actually in state "Configured")

          Dependency "jboss:service=proxyFactory,target=ClientUserTransaction" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss:service=KeyGeneratorFactory,type=HiLo" is missing the following dependencies:

          Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be in state "Create", but is actually in state "Configured")

          Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")

        Deployment "jboss:service=invoker,type=local" is missing the following dependencies:

          Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")

        Deployment "jboss:service=proxyFactory,target=ClientUserTransaction" is missing the following dependencies:

          Dependency "jboss:service=invoker,type=unified" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss:service=proxyFactory,target=ClientUserTransactionFactory" is missing the following dependencies:

          Dependency "jboss:service=invoker,type=unified" (should be in state "Create", but is actually in state "Configured")

        Deployment "persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb" is missing the following dependencies:

          Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be in state "Create", but is actually in state "Configured")

        Deployment "vfs:///usr/local/jbosshowell/server/default/deploy/JCMSIntegrationTier.jar" is missing the following dependencies:

          Dependency "interface javax.transaction.TransactionManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'interface javax.transaction.TransactionManager' **")

          Dependency "interface javax.transaction.TransactionManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'interface javax.transaction.TransactionManager' **")

        Deployment "vfs:///usr/local/jbosshowell/server/default/deploy/JCMSMiddleTier.jar" is missing the following dependencies:

          Dependency "interface javax.transaction.TransactionManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'interface javax.transaction.TransactionManager' **")

          Dependency "interface javax.transaction.TransactionManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'interface javax.transaction.TransactionManager' **")

        Deployment "vfs:///usr/local/jbosshowell/server/default/deploy/JCMSWebTier.war_WeldBootstrapBean" is missing the following dependencies:

          Dependency "JBossTransactionServices" (should be in state "Installed", but is actually in state "Described")

       

      DEPLOYMENTS IN ERROR:

        Deployment "interface javax.transaction.TransactionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'interface javax.transaction.TransactionManager' **

        Deployment "<UNKNOWN ObjectStoreBrowserBean>" is in error due to the following reason(s): ** UNRESOLVED Demands 'TransactionManager' **

        Deployment "jboss.jca:service=WorkManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **

        Deployment "<UNKNOWN TxControl>" is in error due to the following reason(s): ** UNRESOLVED Demands 'RecoveryManager' **

        Deployment "jboss:service=invoker,type=unified" is in error due to the following reason(s): Configured

        Deployment "<UNKNOWN TransactionManager>" is in error due to the following reason(s): ** UNRESOLVED Demands 'RecoveryManager' **

        Deployment "java:global/cdi/JCMSWebTier/JCMSWebTier/BeanManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'java:global/cdi/JCMSWebTier/JCMSWebTier/BeanManager' **

        Deployment "<UNKNOWN DefaultUserTransactionprovider>" is in error due to the following reason(s): ** UNRESOLVED Demands 'TransactionManager' **

        Deployment "jboss:service=TransactionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss:service=TransactionManager' **

        Deployment "RecoveryManager" is in error due to the following reason(s): com.arjuna.ats.arjuna.exceptions.FatalError: ARJUNA-12359 SocketProcessId.getpid could not get unique port., **ERROR**

        Deployment "jboss.jca:service=CachedConnectionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **

        Deployment "jboss.web:service=WebServer" is in error due to the following reason(s): Configured

       

          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.2.GA]

          at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.2.GA]

          at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.1.0.Final]

          at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]

          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.1.0.Final]

          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.1.0.Final]

          at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]

          at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]

          at java.lang.Thread.run(Thread.java:662) [:1.6.0_30]

       

      2013-03-28 15:18:06,094 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] (Thread-2) JBossAS [6.1.0.Final "Neo"] Started in 20s:920ms

       

      I am confused by this since I would believe this is configured correctly.  Is there a limit on the number of concurrent instances that can be run on a single server?  Is there a way to make this work?  Anyone run into this issue and have been able to resolve it?

       

      Thanks,

       

      Iry Witham

      Scientific Applications Administrator

      Scientific Computing Group

      Computational Sciences Dept.

      The Jackson Laboratory

      600 Main Street

      Bar Harbor, ME  04609

      Phone: 207-288-6744

      email: iry.witham@jax.org

        • 1. Re: How to get more then 10 concurrent instances to run on a single VM?
          peterj

          You can run dozen of JBoss AS server instances, provided you have sufficient RAM to handle the combined memory requirements of the instances. For example, with a 16GB machine I could 16 JBoss AS instances with each set to 1GB max heap (and assuming reasonable permgen size and resonable number of threads - there is much more to the memory requirements of the java process than just heap!).

           

          I am confused about these two statements made in the same sentence:

          "Jboss has a max heap size of 3.5GB"

          "each instance have max heap sizes of 1GB"

          Please define what you mean by 'Jboss' and by 'instance' in the above statements.

           

          Also notice the message in caps in parentesis in the first error message you posted:

          2013-03-28 15:18:06,089 ERROR [ProfileServiceBootstrap] (Thread-2) Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

           

          There should be another error earlier in the log that explains why the deployments failed.

          • 2. Re: How to get more then 10 concurrent instances to run on a single VM?
            iwitham

            My reference to:

             

            "Jboss has a max heap size of 3.5GB"

            "each instance have max heap sizes of 1GB"

             

            The first item is the parent Jboss process and the second item(s) are the individual instances I need to run.

             

            Here is the remainder of the log:

             

            15:17:45,171 INFO  [AbstractServer] Starting: JBossAS [6.1.0.Final "Neo"]

            15:17:46,571 INFO  [ServerInfo] Java version: 1.6.0_30,Sun Microsystems Inc.

            15:17:46,571 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_30-b12)

            15:17:46,571 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 20.5-b03,Sun Microsystems Inc.

            15:17:46,571 INFO  [ServerInfo] OS-System: Linux 3.0.38-0.5-default,amd64

            15:17:46,572 INFO  [ServerInfo] VM arguments: -Xms512m -Xmx1024m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInter

            val=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Dlogging.configuration=file:./jbosshowell

            /bin/logging.properties -Djava.library.path=/usr/local/jbosshowell/bin/native/lib64 -Djava.endorsed.dirs=/usr/local/jbosshowell/lib/endorsed

            15:17:46,609 INFO  [JMXKernel] Legacy JMX core initialized

            15:17:50,546 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA

            15:17:51,359 INFO  [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]

            15:17:56,612 INFO  [PersistenceUnitValueMetaData] iDependOn persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb

            15:18:03,214 INFO  [JMXConnector] starting JMXConnector on host jcmshowell:1090

            15:18:03,302 INFO  [MailService] Mail Service bound to java:/Mail

            15:18:03,971 INFO  [HornetQServerImpl] live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=tr

            ue,journalDirectory=/usr/local/jbosshowell/server/default/data/hornetq/journal,bindingsDirectory=/usr/local/jbosshowell/server/default/data/hornetq/

            bindings,largeMessagesDirectory=/usr/local/jbosshowell/server/default/data/hornetq/largemessages,pagingDirectory=/usr/local/jbosshowell/server/defau

            lt/data/hornetq/paging)

            15:18:03,973 INFO  [HornetQServerImpl] Waiting to obtain live lock

            15:18:04,037 INFO  [JournalStorageManager] Using AIO Journal

            15:18:04,058 WARNING [HornetQServerImpl] Security risk! It has been detected that the cluster admin user and password have not been changed from the

            installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.

            15:18:04,179 INFO  [AIOFileLockNodeManager] Waiting to obtain live lock

            15:18:04,179 INFO  [AIOFileLockNodeManager] Live Server Obtained live lock

            15:18:04,717 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.3.Final-r${buildNumber} jcmshowell:5455 for CORE protocol

            15:18:04,719 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.3.Final-r${buildNumber} jcmshowell:5445 for CORE protocol

            15:18:04,722 INFO  [HornetQServerImpl] Server is now live

            15:18:04,723 INFO  [HornetQServerImpl] HornetQ Server version 2.2.5.Final (HQ_2_2_5_FINAL_AS7, 121) [af6f696d-64a2-11e2-a6d9-c8cbb8b42275] started

            15:18:04,790 INFO  [WebService] Using RMI server codebase: http://jcmshowell:8083/

            15:18:04,998 INFO  [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSSTS_4_14_0_Final) - JBoss Inc.

            15:18:05,002 INFO  [arjuna] ARJUNA-12324 Start RecoveryActivators

            15:18:05,017 INFO  [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at Thu, 28 Mar 2013 15:18:05

            15:18:05,039 ERROR [STDERR] Exception in thread "Transaction Expired Entry Monitor" com.arjuna.ats.arjuna.exceptions.FatalError: ARJUNA-12359 Socket

            ProcessId.getpid could not get unique port.

            15:18:05,039 ERROR [STDERR]     at com.arjuna.ats.internal.arjuna.utils.SocketProcessId.<init>(SocketProcessId.java:82)

            15:18:05,039 ERROR [STDERR]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

            15:18:05,039 ERROR [STDERR]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

            15:18:05,039 ERROR [STDERR]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

            15:18:05,040 ERROR [STDERR]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

            15:18:05,040 ERROR [STDERR]     at java.lang.Class.newInstance0(Class.java:355)

            15:18:05,040 ERROR [STDERR]     at java.lang.Class.newInstance(Class.java:308)

            15:18:05,040 ERROR [STDERR]     at com.arjuna.ats.arjuna.utils.Utility.initDefaultProcess(Utility.java:336)

            15:18:05,040 ERROR [STDERR]     at com.arjuna.ats.arjuna.utils.Utility.getProcess(Utility.java:348)

            15:18:05,040 ERROR [STDERR]     at com.arjuna.ats.arjuna.utils.Utility.getpid(Utility.java:287)

            15:18:05,040 ERROR [STDERR]     at com.arjuna.ats.arjuna.common.Uid.<init>(Uid.java:84)

            15:18:05,040 ERROR [STDERR]     at com.arjuna.ats.arjuna.state.OutputObjectState.<init>(OutputObjectState.java:63)

            15:18:05,041 ERROR [STDERR]     at com.arjuna.ats.internal.arjuna.objectstore.FileSystemStore.allObjUids(FileSystemStore.java:158)

            15:18:05,041 ERROR [STDERR]     at com.arjuna.ats.arjuna.objectstore.ObjectStore.allObjUids(ObjectStore.java:70)

            15:18:05,041 ERROR [STDERR]     at com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionStatusManagerScanner.scan(ExpiredTransactionStatusManag

            erScanner.java:82)

            15:18:05,041 ERROR [STDERR]     at com.arjuna.ats.internal.arjuna.recovery.ExpiredEntryMonitor.run(ExpiredEntryMonitor.java:172)

            15:18:05,042 ERROR [AbstractKernelController] Error installing to Create: name=RecoveryManager state=Configured: com.arjuna.ats.arjuna.exceptions.Fa

            talError: ARJUNA-12359 SocketProcessId.getpid could not get unique port.

                    at com.arjuna.ats.internal.arjuna.utils.SocketProcessId.<init>(SocketProcessId.java:82) [:6.1.0.Final]

                    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_30]

                    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [:1.6.0_30]

                    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [:1.6.0_30]

                    at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_30]

            at java.lang.Class.newInstance0(Class.java:355) [:1.6.0_30]

                    at java.lang.Class.newInstance(Class.java:308) [:1.6.0_30]

                    at com.arjuna.ats.arjuna.utils.Utility.initDefaultProcess(Utility.java:336) [:6.1.0.Final]

                    at com.arjuna.ats.arjuna.utils.Utility.getProcess(Utility.java:348) [:6.1.0.Final]

                    at com.arjuna.ats.arjuna.utils.Utility.getpid(Utility.java:287) [:6.1.0.Final]

                    at com.arjuna.ats.arjuna.common.Uid.<init>(Uid.java:84) [:6.1.0.Final]

                    at com.arjuna.ats.arjuna.StateManager.<init>(StateManager.java:829) [:6.1.0.Final]

                    at com.arjuna.ats.arjuna.StateManager.<init>(StateManager.java:802) [:6.1.0.Final]

                    at com.arjuna.ats.arjuna.coordinator.BasicAction.<init>(BasicAction.java:65) [:6.1.0.Final]

                    at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.<init>(TwoPhaseCoordinator.java:58) [:6.1.0.Final]

                    at com.arjuna.ats.arjuna.AtomicAction.<init>(AtomicAction.java:71) [:6.1.0.Final]

                    at com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule.<init>(AtomicActionRecoveryModule.java:263) [:6.1.0.Final]

                    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_30]

                    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [:1.6.0_30]

                    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [:1.6.0_30]

                    at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_30]

                    at java.lang.Class.newInstance0(Class.java:355) [:1.6.0_30]

                    at java.lang.Class.newInstance(Class.java:308) [:1.6.0_30]

                    at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.loadModule(PeriodicRecovery.java:893) [:6.1.0.Final]

                    at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.loadModules(PeriodicRecovery.java:864) [:6.1.0.Final]

                    at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.<init>(PeriodicRecovery.java:121) [:6.1.0.Final]

                    at com.arjuna.ats.internal.arjuna.recovery.RecoveryManagerImple.<init>(RecoveryManagerImple.java:112) [:6.1.0.Final]

                    at com.arjuna.ats.arjuna.recovery.RecoveryManager.<init>(RecoveryManager.java:458) [:6.1.0.Final]

                    at com.arjuna.ats.arjuna.recovery.RecoveryManager.manager(RecoveryManager.java:128) [:6.1.0.Final]

                    at com.arjuna.ats.arjuna.recovery.RecoveryManager.manager(RecoveryManager.java:109) [:6.1.0.Final]

                    at com.arjuna.ats.jbossatx.jta.RecoveryManagerService.create(RecoveryManagerService.java:53) [:6.1.0.Final]

                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_30]

                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_30]

                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_30]

                    at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_30]

                    at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60) [jboss-reflect.jar:2.2.1.SP1]

                    at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168) [jboss-reflect.jar:2.2.1.SP1]

                    at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) [jboss-reflect.jar:2.2.1.SP1]

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257

            ) [jboss-kernel.jar:2.2.0.SP2]

                    at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) [jboss-kernel.jar:2.2.0.SP2]

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125) [jboss

            -kernel.jar:2.2.0.SP2]

                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72) [jboss-kernel.

            jar:2.2.0.SP2]

                    at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202) [jboss-kernel.jar:2.2.0.SP2]

                    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.SP2]

                    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-depen

            dency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.

            2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2

            .0.SP2]

                    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0

            .SP2]

                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.2.GA]

                    at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.2.GA]

                    at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:63) [:2.2.2.GA]

                at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.2.GA]

                    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.2.GA]

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.2.GA]

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.2.GA]

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.2.GA]

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.2.GA]

                    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0

            .SP2]

                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.2.GA]

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.2.GA]

                    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.2.GA]

                    at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.1.0.Final]

                    at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]

                    at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]

                    at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]

                    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.SP2]

                    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-depen

            dency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.

            2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2

            .0.SP2]

                    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0

            .SP2]

                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.SP2]

                    at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]

                    at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]

                    at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]

                    at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]

                    at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]

                    at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]

                    at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]

                    at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.1.0.Final]

                    at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.1.0.Final]

                    at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6

            ]

                    at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alp

            ha-6]

                    at java.lang.Thread.run(Thread.java:662) [:1.6.0_30]

                    at java.lang.Class.newInstance0(Class.java:355) [:1.6.0_30]

                    at java.lang.Class.newInstance(Class.java:308) [:1.6.0_30]

                    at com.arjuna.ats.arjuna.utils.Utility.initDefaultProcess(Utility.java:336) [:6.1.0.Final]

             

            15:18:05,381 INFO  [xnio] XNIO Version 2.1.0.CR2

            15:18:05,388 INFO  [nio] XNIO NIO Implementation Version 2.1.0.CR2

            15:18:05,502 WARN  [arjuna] ARJUNA-12066 Destructor of still running action id null invoked - Aborting

            15:18:05,586 INFO  [remoting] JBoss Remoting version 3.1.0.Beta2

            15:18:05,762 INFO  [Version] WELD-000900 1.1.2 (Final)

            15:18:05,858 INFO  [HornetQServerImpl] trying to deploy queue jms.queue.ExpiryQueue

            15:18:05,882 INFO  [HornetQServerImpl] trying to deploy queue jms.queue.DLQ

            15:18:05,907 INFO  [service] Removing bootstrap log handlers

            15:18:06,089 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incom

            plete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

             

            I hope that helps.

            • 3. Re: How to get more then 10 concurrent instances to run on a single VM?
              peterj

              Here's the problem:

               

              15:18:05,039 ERROR [STDERR] Exception in thread "Transaction Expired Entry Monitor" com.arjuna.ats.arjuna.exceptions.FatalError: ARJUNA-12359 Socket

              ProcessId.getpid could not get unique port.

               

              Looks like Arjuna is running into problems getting a port. I don't know off-hand where Arjuna's config file is, or how to configure ports or port ranges for it. But that is what you'll have to do.

              • 4. Re: How to get more then 10 concurrent instances to run on a single VM?
                robin.gray_bioc

                Did you solve this issue?   We are experiencing the exact same issue with JBoss6.1 on a windows vm.  The 11th instance cannot get the port.

                • 5. Re: How to get more then 10 concurrent instances to run on a single VM?
                  joelgaspard

                  It is a quite old issue, but I've encountered the same problem.

                  You could allow this 11th instance to get a port by changing the property socketProcessIdMaxPorts in the CoreEnvironmentBean tag located in the file server\<conf>\deploy\transaction-jboss-beans.xml : it defines the maximum number of ports to search when looking for one that is free (see CoreEnvironmentBean javadoc). In the default conf, this threshold is 10.