0 Replies Latest reply on Feb 6, 2012 4:07 PM by user7278985

    Issue connecting iplanet to Glassfish 3.1.1

      I have deployed a new application to a Glassfish 3.1.1 cluster with the load balancing plugin installed on iplanet 7.0.13. When I try to access the application through the iplanet web server I get the following error message:-

      [#|2012-02-06T13:56:57.916+0000|INFO|oracle-glassfish3.1.1|javax.enterprise.system.core.security|_ThreadID=32;_ThreadName=Thread-2;|JACC Policy Provider:Failed Permission Check: context (" TestApp/TestApp ") , permission (" (javax.security.jacc.WebUserDataPermission /eDocsLogin.jsp GET) ") |#]

      [#|2012-02-06T13:56:57.918+0000|SEVERE|oracle-glassfish3.1.1|org.apache.catalina.connector.CoyoteAdapter|_ThreadID=32;_ThreadName=Thread-2;|PWC3989: An exception or error occurred in the container during the request processing
      java.lang.ArrayIndexOutOfBoundsException: 1
      at com.sun.web.security.RealmAdapter.getHostAndPort(RealmAdapter.java:971)
      at com.sun.web.security.RealmAdapter.redirect(RealmAdapter.java:1090)
      at com.sun.web.security.RealmAdapter.hasUserDataPermission(RealmAdapter.java:941)
      at com.sun.web.security.RealmAdapter.hasUserDataPermission(RealmAdapter.java:865)

      This works fine if accessed directly from the Application server itself, but I can't get this working through the web server at all. I've tried using the reverse proxy functionality, through http and https, and opening up the server.policy and granted.policy files but with no success.

      Any help on this would be gratefully received.



      Edited by: user7278985 on 06-Feb-2012 08:06