Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Dm shell doesnt work on Linux

  1. #11
    Join Date
    Nov 2008
    Location
    London,UK
    Posts
    299

    Default

    Got a issues with it.

    I use to modify my dmk.sh (adding classpath,jmx options and also other jvm parameters).

    Now when i run this spring Dm as a service in linux , I see that dmk.sh doesnt get invoked.

    So how do I add these startup parameters ?

    Also how do i specify my custom config directory ?(as i want to run multiple instances)

  2. #12
    Join Date
    Oct 2008
    Location
    Southampton, England
    Posts
    61

    Default

    Hi,

    The behaviour of the service wrapper is configured via the wrapper.conf file. It may be possible to get the behaviour your after using that. I would start by trying to get what you want out of the service wrapper by passing arguments in to the dm Server on the command line then migrate them over to the wrapper conf file.

    Chris.
    Christopher Frost,
    Spring Insight and CloudFoundry

  3. #13
    Join Date
    Nov 2008
    Location
    London,UK
    Posts
    299

    Default

    One more observation was

    1. When I run the startup.sh with nohup, dm shell is working fine.

    2. Also if i use a wrapper script and run in background it works fine. i. e
    test.sh having
    ./springsource-dm-kernel-2.0.0.RELEASE/bin/startup.sh -clean &

  4. #14
    Join Date
    Oct 2008
    Location
    Southampton, England
    Posts
    61

    Default

    Hi,

    Thanks for the info. Do you mean the converse that the shell is not working when running startup.sh &

    If you feel there is an improvement here could you qualify it a bit and I'll gladly raise a bugzilla for it. Feel free to youself.

    https://bugs.eclipse.org/bugs/buglis...;product=Virgo

    Thanks, Chris.
    Christopher Frost,
    Spring Insight and CloudFoundry

  5. #15
    Join Date
    Nov 2008
    Location
    London,UK
    Posts
    299

    Default

    Yes exactly, when i run as startup.sh & , dm shell just hangs.

    I have posted the BUG as suggested under VIRGO.

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=308776

  6. #16
    Join Date
    Oct 2008
    Location
    Southampton, England
    Posts
    61

    Default

    Hi,

    I saw the issue on Bugzilla this morning, thank you.
    It will get looked at once we have done a base line release and get back in to the regular process of doing releases.

    Chris.
    Christopher Frost,
    Spring Insight and CloudFoundry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •