Uploaded image for project: 'AdMax'
  1. AdMax
  2. ADMAX-2845

TimeZone: Event listener log shows exception "org.apache.commons.exec.ExecuteException" while event Listener runs.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Daily Data Availability Phase 2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Description

      Event listener log shows exception "org.apache.commons.exec.ExecuteException" while event Listener runs.

      1)Ran

      tsaapp@tvvm-staging-xml1:/usr/local/tsa/bidmgr$ ./event-listener.sh -I123 -d .

      2011-09-28 04:07:29.860 (3) [main]: Debug Level set to 3

      2011-09-28 04:07:30.056 (3) [main]: Re-scheduling task ID: go_1317199804303_6_2011-09-28

      2011-09-28 04:07:30.063 (3) [main]: Re-scheduling task ID: ms_1317199804304_6_2011-09-28

      .

      .

      .

      2011-09-28 04:07:30.596 (3) [main]: Durable subscription: Using client ID of 123

      2011-09-28 04:07:30.819 INFO [FailoverTransport]: Successfully connected to tcp://event-msg-broker-01:61616

      2011-09-28 04:07:31.116 WARN [ActiveMQSessionExecutor]: Received a message on a connection which is not yet started. Have you forgotten to call Connection.start()? Connection: ActiveMQConnection

      {id=ID:tvvm-staging-xml1-58800-1317208050478-0:0,clientId=123,started=false}

      Received: MessageDispatch {commandId = 0, responseRequired = false, consumerId = ID:tvvm-staging-xml1-58800-1317208050478-0:0:1:1, destination = topic://tsa.data.events, message = ActiveMQTextMessage {commandId = 73998, responseRequired = true, messageId = ID:brian-57835-1311784997439-0:34:1:1:1, originalDestination = null, originalTransactionId = null, producerId = ID:brian-57835-1311784997439-0:34:1:1, destination = topic://tsa.data.events, transactionId = null, expiration = 0, timestamp = 1311784998544, arrival = 0, brokerInTime = 1311784767655, brokerOutTime = 1317205915289, correlationId = null, replyTo = null, persistent = true, type = null, priority = 4, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = null, marshalledProperties = org.apache.activemq.util.ByteSequence@7cb25b9d, dataStructure = null, redeliveryCounter = 0, size = 0, properties =

      {messageType=runAdmaxSummarizer}

      , readOnlyProperties = true, readOnlyBody = true, droppable = false, text = <runAdmaxSummarizer>

      <stringDate>2011-07-27...xSummarizer>}, redeliveryCounter = 0}

      2011-09-28 04:07:31.664 (3) [main]: Waiting for messages...

      2011-09-28 04:07:33.806 (3) [main]: Processing Event: RunAdmaxSummarizer:[ Date: 2011-07-27 TimeZoneIDs: 25,28 ]

      2011-09-28 04:07:33.839 (3) [pool-1-thread-2]: Running command: /usr/local/tsa/bidmgr/event-wrapper.sh admax.sh -d 3 --timezoneid 25,28

      Executing admax.sh -d 3 --timezoneid 25,28: writing to /var/local/tsa/log/2011-09-28/admax.sh_d_3__timezoneid_25,28_04:07:33.log

      2011-09-28 04:07:33.926 (1) [pool-1-thread-2]: Exception [Error running command: ]:org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)

      at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)

      at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)

      at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:147)

      at com.thesearchagency.event.EventListener$ProcessRunner.run(EventListener.java:835)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

      at java.lang.Thread.run(Thread.java:595)

      2)Also checked the event listener log and got the error- "shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

      "

      tsaapp@tvvm-staging-xml1:/var/local/tsa/log$ tail -70f event-listener.log

      .

      .

      .

      2011-09-28 03:25:33.957 (3) [pool-1-thread-2]: Running command: /usr/local/tsa/bidmgr/event-wrapper.sh sepull164.sh -d 3 --timezoneid 12

      2011-09-28 03:25:33.958 (3) [pool-1-thread-3]: Running command: /usr/local/tsa/bidmgr/event-wrapper.sh sepull164.sh -d 3 --timezoneid 12

      shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

      shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

      Executing sepull164.sh -d 3 --timezoneid 12: writing to /var/local/tsa/log/2011-09-28/sepull164.sh_d_3__timezoneid_12_03:25:34.log

      Executing sepull164.sh -d 3 --timezoneid 12: writing to /var/local/tsa/log/2011-09-28/sepull164.sh_d_3__timezoneid_12_03:25:33.log

      2011-09-28 03:25:34.147 (1) [pool-1-thread-3]: Exception [Error running command: ]:org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)

      at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)

      at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)

      at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:147)

      at com.thesearchagency.event.EventListener$ProcessRunner.run(EventListener.java:835)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

      at java.lang.Thread.run(Thread.java:595)

      3)

      tail -f /var/local/tsa/log/2011-09-28/sepull147.sh_d_3__timezoneid_17,3,22,15,23,9_03:25:38.log

      shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

      =================== Staging MSN

      shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

      Error occurred during initialization of VM

      java.lang.Error: Properties init: Could not determine current working directory.

      =================== Done.

        Attachments

          Activity

            People

            • Assignee:
              caitlyn Caitlyn Duggan (Inactive)
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: