facebook

[Closed] -D java system parameters and Jonas

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #247412 Reply

    eosterm
    Member

    All,

    I’m trying with no luck to pass on some “-D” Java system properties from MyEclipse to jonas (4.3.2).

    I’ve placed them in Windows / Preferences / MyEclipse / Application Servers / Jonas 4
    ‘Option Program Arguments’. My text looks like this:

     -Dmy.var=my.val -Dmy.var.2=my.val.2 

    After adding my parameters there, I even removed my deployment and added it from scratch.
    The doc on starting the app server did not address this; no ‘help’ button on the ‘Jonas 4’ page. When I start jonas using MyEclipse and my code act like nothing has been set.

    I tried this w/o eclipse and it works (so this is less likely to be a jonas issue).
    I added my -Dfoo=bar parameters to jonas.bat and started with ‘jonas start’.
    That works fine.

    WinXP
    Eclipse 3.01
    MyEclipse 3.8.4

    Any ideas would be much appreciated.

    Thanks,

    –Erik

    #247439

    eosterm
    Member

    Doh! Replying to myself, here.

    I got this to work; I was in the wrong location.

    This part was right:
    Windows / Preferences / MyEclipse / Application Servers / Jonas 4
    But then you need to drill down further to the ‘JDK’ thing right under Jonas 4.
    I put my -D parameters in the box titled ‘Optional Java VM Arguments’ and it all worked ok.

    –Erik

    #247443

    Riyad Kalla
    Member

    Glad you found it, thanks for following up.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] -D java system parameters and Jonas

You must be logged in to post in the forum log in