Results 1 to 2 of 2

Thread: getenv.* : Access denied (java.lang.RuntimePermission getenv.*)

  1. #1
    Join Date
    Jan 2012
    Posts
    1

    Default getenv.* : Access denied (java.lang.RuntimePermission getenv.*)

    Hi

    I am deploying my application on websphere 7.0
    and using spring 3.0.6 release and spring security 3.1.0.release

    while deploying i am getting error
    Permission:

    getenv.* : Access denied (java.lang.RuntimePermission getenv.*)


    Code:

    org.springframework.context.support.AbstractApplic ationContext in {file:/opt/httpd/root/apps/anztsx/ibm7/ccix-dev-ear/tsweb-0.0.1-SNAPSHOT.war/WEB-INF/lib/spring-context-3.0.6.RELEASE.jar}




    I tried to solve this by writing
    permission java.lang.RuntimePermission "getenv.*" ;
    in was.policy file


    but the issue is in my company * is not allowed in was.policy file

    Does any body got similar issue and knows how to solve this?

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Seattle, Washington
    Posts
    467

    Default

    You know this isn't a Spring question, right?

Posting Permissions

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