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

Thread: Spring JMX and OC4J/10g r3, Unauthorized access from application

  1. #11
    Join Date
    Sep 2007
    Posts
    1

    Smile

    Quote Originally Posted by gmatthews View Post
    Are you using the magic command...

    -Doc4j.jmx.security.proxy.off=true

    as a VM argument.

    I had similar problem and this command was the solution. Tnks

  2. #12
    Join Date
    Aug 2008
    Posts
    6

    Default

    What's the alternative to using the command line? thanks. Is there something that needs to be done on the deployment descriptor or security settings?

  3. #13
    Join Date
    Aug 2004
    Location
    Sydney
    Posts
    503

    Default

    Just guessing, but since it's just a -D param, you could possibly also set it programmatically, e.g. System.getProperties().put("oc4j.jmx.security.prox y.off", "true");

    however haven't tried that, and not sure if it would work -- depends on how early in the startup process you manage to programmatically set it.

  4. #14
    Join Date
    Aug 2008
    Posts
    6

    Default

    I tried something like that via OC4J enterprise manager, but I think it's too late at that point.

    I want to avoid disabling that security feature if possible, but not sure how to configure spring to login to the JMX Bean server.
    Last edited by bchi49; Jun 11th, 2009 at 07:20 PM.

Posting Permissions

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