Tuesday, August 11, 2009

Automatic BPEL deployment with ant error: A problem occured while connecting to server II

The following error can occur:

Embedded error: The following error occurred while executing this line:
[INSTALL_DIR]/ant/bpel/common-build.xml:84: A problem occured while connecting to server "[hostname]" using port "[port]": java.security.AccessControlException: access denied (com.collaxa.security.DomainPermission HetRotterdamseHuwelijk read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at com.collaxa.security.OC4JSecurityService.checkAccess(OC4JSecurityService.java:16)
at com.collaxa.security.SecurityService.checkDomainAccess(SecurityService.java:26)
at com.collaxa.cube.fe.util.ServletUtils.getLocatorWithoutUrlRewrite(ServletUtils.java:76)
at _deployHttpClientProcess._jspService(_deployHttpClientProcess.java:332)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)


This can be solved by change the orion-application.xml in the deploy_services application.

$ORACLE_HOME/j2ee/oc4j_soa/application-deployments/deploy_service/orion-application.xml and $ORACLE_HOME/j2ee/oc4j_soa/applications/deploy_service/META-INF/orion-application.xml



<jazn provider="XML" jaas-mode="doAsPrivileged" />


Replace by:


<jazn provider="LDAP" jaas-mode="doAsPrivileged" />


Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.

4 comments:

  1. Blogs are so informative where we get lots of information on any topic. Nice job keep it up!!
    _____________________________

    Shakespeare Dissertation

    ReplyDelete
  2. This kind of information is very limited on internet. Nice to find the post related to my searching criteria. Your updated and informative post will be appreciated by blog loving people.

    Dissertation writing services

    ReplyDelete
  3. Hi Arjan,

    thank you for your post, it helped me solve my deployment problem.

    Cheers,

    Cato

    ReplyDelete
  4. This topic is beyond my understanding. I faced this error while connecting to the server. The coding and details just go over my head. I want you to provide easiest possible solution for this problem or anything which can avoid this error.

    ReplyDelete

comment