Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-2037

Cant use servicemix start just after installation

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.2
    • Fix Version/s: 3.4.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      HP-UX B.11.23 U ia64

    • Patch Info:
      Patch Available

      Description

      When you unpack servicemix there is no data directory yet. So when you invoke
      servicemix start
      then you get following error
      ./servicemix[40]: /var/opt/xxx/containers/instance-1/data/servicemix.pid: Cannot create the specified file.
      and start of servicemix continues. Later you invoke
      servicemix stop
      and get additional error
      Apache ServiceMix PID file not found.
      and servicemix isnt stopped.

      1. servicemix.patch
        0.5 kB
        Nikolay Martynov

        Activity

        Hide
        nickolay_martinov Nikolay Martynov added a comment -

        Added patch to fix error during first start.

        Show
        nickolay_martinov Nikolay Martynov added a comment - Added patch to fix error during first start.
        Hide
        jbonofre Jean-Baptiste Onofré added a comment -

        The problem only occurs using start|stop argument.

        Anyway, I'm agree that it's not very elegant. I'm gonna create the data directory if it doesn't exist at startup.

        Show
        jbonofre Jean-Baptiste Onofré added a comment - The problem only occurs using start|stop argument. Anyway, I'm agree that it's not very elegant. I'm gonna create the data directory if it doesn't exist at startup.
        Hide
        jbonofre Jean-Baptiste Onofré added a comment -

        Revision 1071670.

        Show
        jbonofre Jean-Baptiste Onofré added a comment - Revision 1071670.

          People

          • Assignee:
            jbonofre Jean-Baptiste Onofré
            Reporter:
            nickolay_martinov Nikolay Martynov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development