3 Replies Latest reply on Jan 8, 2009 11:21 PM by harrison xu

    Arjuna port issue on GA

    Peter Johnson Master

      I downloaded and ran GA and got this exception:

      09:43:35,805 INFO [TransactionManagerService] JBossTS Transaction Service (JTA
      version) - JBoss Inc.
      09:43:35,806 INFO [TransactionManagerService] Setting up property manager MBean
       and JMX layer
      09:43:36,006 ERROR [AbstractKernelController] Error installing to Create: name=T
      ransactionManager state=Configured
      com.arjuna.ats.arjuna.exceptions.FatalError: [com.arjuna.ats.internal.arjuna.uti
      ls.SocketProcessId_2] - SocketProcessId.getpid could not get unique port.
       at com.arjuna.ats.internal.arjuna.utils.SocketProcessId.getpid(SocketPro
      cessId.java:105)
       at com.arjuna.ats.arjuna.utils.Utility.getpid(Utility.java:277)
       at com.arjuna.ats.arjuna.common.Uid.<init>(Uid.java:105)
       at com.arjuna.ats.arjuna.utils.Utility.getProcessUid(Utility.java:289)
       at com.arjuna.ats.internal.arjuna.recovery.TransactionStatusManagerItem.
      <init>(TransactionStatusManagerItem.java:366)
       at com.arjuna.ats.internal.arjuna.recovery.TransactionStatusManagerItem.
      createAndSave(TransactionStatusManagerItem.java:84)
       at com.arjuna.ats.arjuna.recovery.TransactionStatusManager.start(Transac
      tionStatusManager.java:145)
       at com.arjuna.ats.arjuna.recovery.TransactionStatusManager.<init>(Transa
      ctionStatusManager.java:72)
       at com.arjuna.ats.arjuna.coordinator.TxControl.<clinit>(TxControl.java:3
      55)
       at com.arjuna.ats.jbossatx.jta.TransactionManagerService.create(Transact
      ionManagerService.java:178)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(Reflec
      tionUtils.java:59)
       at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(
      ReflectMethodInfoImpl.java:150)
       at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethod
      JoinPoint.java:66)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$Joi
      npointDispatchWrapper.execute(KernelControllerContextAction.java:241)
       at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(Executio
      nWrapper.java:47)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dis
      patchExecutionWrapper(KernelControllerContextAction.java:109)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dis
      patchJoinPoint(KernelControllerContextAction.java:70)
       at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInte
      rnal(LifecycleAction.java:221)
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction
      (InstallsAwareAction.java:54)
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction
      (InstallsAwareAction.java:42)
       at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
      pleInstallAction(SimpleControllerContextAction.java:62)
       at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
      tall(AccessControllerContextAction.java:71)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install
      (AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
      ctControllerContext.java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
      oller.java:1598)
       at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
      ctController.java:934)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
      actController.java:1062)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
      actController.java:984)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
      oller.java:774)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
      oller.java:540)
       at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(B
      eanMetaDataDeployer.java:121)
       at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(B
      eanMetaDataDeployer.java:51)
       at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.i
      nternalDeploy(AbstractSimpleRealDeployer.java:62)
       at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
      AbstractRealDeployer.java:50)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
      Wrapper.java:171)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
      sImpl.java:1439)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
      rst(DeployersImpl.java:1157)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
      rst(DeployersImpl.java:1178)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
      Impl.java:1098)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
      ctControllerContext.java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
      oller.java:1598)
       at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
      ctController.java:934)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
      actController.java:1062)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
      actController.java:984)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
      ller.java:822)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
      ller.java:553)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
      Impl.java:781)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
      rImpl.java:541)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
      ofile(ProfileServiceBootstrap.java:279)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
      ProfileServiceBootstrap.java:157)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
      397)
       at org.jboss.Main.boot(Main.java:209)
       at org.jboss.Main$1.run(Main.java:547)
       at java.lang.Thread.run(Thread.java:595)
      09:43:36,705 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of
      incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual Stat
      e}
      
      CachedConnectionManager
       -> TransactionManager{Configured:**ERROR**}
      
      DefaultUserTransactionprovider
       -> <UNKNOWN DefaultUserTransactionprovider>{Described:** UNRESOLVED Demands 'Tr
      ansactionManager' **}
      <<and lots more>>


      Here is my environment:

      09:43:15,481 INFO [ServerInfo] Java version: 1.5.0_16,Sun Microsystems Inc.
      09:43:15,482 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 1.5.0
      _16-b02,Sun Microsystems Inc.
      09:43:15,483 INFO [ServerInfo] OS-System: Windows Vista 6.0,amd64


      I tried changing the com.arjuna.ats.arjuna.recovery.recoveryPort value in jbossjta-properties.xml, but got the same result. The CR2 release works fine on this same box (just now ran it, came up OK).

      I do not have any applications deployed and am using the 'default' configuration without any changes or additions.

      I tried using the JDK 6 variation - same problem.

      I brought up Kubuntu 8.04 in VMWare, it gets the same exception as above. Here is the config and exception:

      10:22:56,661 INFO [ServerInfo] Java version: 1.6.0_07,Sun Microsystems Inc.
      10:22:56,694 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 10.0-b23,Sun Microsystems Inc.
      10:22:56,695 INFO [ServerInfo] OS-System: Linux 2.6.24-19-generic,i386
      ...
      10:23:34,275 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
      10:23:34,276 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
      10:23:34,687 ERROR [AbstractKernelController] Error installing to Create: name=TransactionManager state=Configured
      com.arjuna.ats.arjuna.exceptions.FatalError: [com.arjuna.ats.internal.arjuna.utils.SocketProcessId_2] - SocketProcessId.getpid could not get unique port.
       at com.arjuna.ats.internal.arjuna.utils.SocketProcessId.getpid(SocketProcessId.java:105)
       at com.arjuna.ats.arjuna.utils.Utility.getpid(Utility.java:277)
       at com.arjuna.ats.arjuna.common.Uid.<init>(Uid.java:105)
       at com.arjuna.ats.arjuna.utils.Utility.getProcessUid(Utility.java:289)
       at com.arjuna.ats.internal.arjuna.recovery.TransactionStatusManagerItem.<init>(TransactionStatusManagerItem.java:366)
      ...


      I just now tried on my laptop; it is running a 32-bit version of Vista and I used the JDK6 variant. Works fine there.

      I rebooted my laptop into Ubuntu 8.10 (32-bit) and ran the JDK6 variant. It ran just fine.

      So I have two locations where I get the above exception. In both of those locations CR2 runs without issue. What changed in Arjuna between CR2 and GA that could cause this issue?