AnsweredAssumed Answered

Permission error on SOAP connection

Question asked by grzegorc on Sep 14, 2016
Latest reply on Oct 28, 2016 by grzegorc

We are Managed Hosted and have an issue with the new version of Java(1.7.101) that Bb installed back in June.  When trying to communicate to a third party vendor through a SOAPConnection we are receiving an error in the stdout-stderr log as shown below.  We have attempted to add additional permissions to the building block to give access, but have found no permission that fixes the issue.  Does anyone have any suggestion on things to try?

 

Exception in thread "Timeout guard" java.security.AccessControlException: access denied ("java.net.SocketPermission" "localhost:0" "listen,resolve")

    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:395)

    at java.security.AccessController.checkPermission(AccessController.java:559)

    at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)

    at blackboard.platform.security.BbSecurityManager.actuallyCheckPermission(BbSecurityManager.java:115)

    at blackboard.platform.security.BbSecurityManager.checkPermission(BbSecurityManager.java:105)

    at java.lang.SecurityManager.checkListen(SecurityManager.java:1134)

    at java.net.Socket.bind(Socket.java:629)

    at sun.security.ssl.BaseSSLSocketImpl.bind(BaseSSLSocketImpl.java:114)

    at sun.security.ssl.SSLSocketImpl.bind(SSLSocketImpl.java:68)

    at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:465)

    at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140)

    at blackboard.tomcat.startup.StrictSSLSocketFactory.createSocket(StrictSSLSocketFactory.java:89)

    at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)

    at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)

    at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)

    at java.lang.Thread.run(Thread.java:745)

Outcomes