Uploaded image for project: 'las2peer'
  1. las2peer
  2. LAS-74

Starting Service throws AgentAlreadyRegisteredException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v0.3
    • Component/s: las2peer Monitoring
    • Labels:
      None
    • Environment:

      LAS2peer seed network

      Description

      Starting the MonitoringDataProcessingService or MonitoringDataProvisionService throws an i5.las2peer.p2p.AgentAlreadyRegisteredException.

      exception in executed line: startService('i5.las2peer.services.monitoring.provision.MonitoringDataProvisionService')

      i5.las2peer.execution.L2pServiceException: Error registering the service at the node!
      at i5.las2peer.tools.L2pNodeLauncher.startService(L2pNodeLauncher.java:525)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at i5.las2peer.tools.CommandPrompt.executeMethod(CommandPrompt.java:349)
      at i5.las2peer.tools.CommandPrompt.handleCommand(CommandPrompt.java:297)
      at i5.las2peer.tools.CommandPrompt.handleLine(CommandPrompt.java:456)
      at i5.las2peer.tools.CommandPrompt.prompt(CommandPrompt.java:778)
      at i5.las2peer.tools.CommandPrompt.startPrompt(CommandPrompt.java:794)
      at i5.las2peer.tools.L2pNodeLauncher.interactive(L2pNodeLauncher.java:628)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at i5.las2peer.tools.CommandPrompt.executeMethod(CommandPrompt.java:349)
      at i5.las2peer.tools.CommandPrompt.handleCommand(CommandPrompt.java:297)
      at i5.las2peer.tools.CommandPrompt.handleLine(CommandPrompt.java:456)
      at i5.las2peer.tools.L2pNodeLauncher.launchSingle(L2pNodeLauncher.java:737)
      at i5.las2peer.tools.L2pNodeLauncher.main(L2pNodeLauncher.java:879)
      Caused by: i5.las2peer.p2p.AgentAlreadyRegisteredException: This agent is already running here!
      at i5.las2peer.p2p.Node.registerReceiver(Node.java:580)
      at i5.las2peer.p2p.PastryNodeImpl.registerReceiver(PastryNodeImpl.java:471)
      at i5.las2peer.tools.L2pNodeLauncher.startService(L2pNodeLauncher.java:582)
      at i5.las2peer.tools.L2pNodeLauncher.startService(L2pNodeLauncher.java:518)
      ... 19 more

        Attachments

          Activity

            People

            • Assignee:
              cuje Thomas Cujé
              Reporter:
              cuje Thomas Cujé
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/May/15