[jboss-jira] [JBoss JIRA] (WFLY-5333) Happen to se org.omg.CORBA.PolicyError: There is no PolicyFactory time to time

Dominik Pospisil (JIRA) issues at jboss.org
Wed Oct 21 05:00:00 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120333#comment-13120333 ] 

Dominik Pospisil commented on WFLY-5333:
----------------------------------------

The cause of the issue is that CSIv2Initializer.post_init() fails intermittently with ServiceNotFoundException: Service service jboss.iiop-openjdk.ior-security-config not found. 

2015-10-20 21:56:13,833 DEBUG [org.wildfly.iiop.openjdk] (MSC service thread 1-1) CSIv2Initializer unexpected exception.: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.iiop-openjdk.ior-security-config not found
        at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:669)
        at org.wildfly.iiop.openjdk.service.IORSecConfigMetaDataService.getCurrent(IORSecConfigMetaDataService.java:76)
        at org.wildfly.iiop.openjdk.csiv2.CSIv2IORInterceptor.<init>(CSIv2IORInterceptor.java:85)
        at org.wildfly.iiop.openjdk.csiv2.CSIv2Initializer.post_init(CSIv2Initializer.java:67)
        at com.sun.corba.se.impl.interceptors.PIHandlerImpl.postInitORBInitializers(PIHandlerImpl.java:866)
        at com.sun.corba.se.impl.interceptors.PIHandlerImpl.initialize(PIHandlerImpl.java:252)
        at com.sun.corba.se.impl.orb.ORBImpl.postInit(ORBImpl.java:490)
        at com.sun.corba.se.impl.orb.ORBImpl.set_parameters(ORBImpl.java:543)
        at org.omg.CORBA.ORB.init(ORB.java:353)
        at org.wildfly.iiop.openjdk.service.CorbaORBService.start(CorbaORBService.java:134)
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

Note that the exception is never logged in current code and is swallowed in com.sun.corba.se.impl.interceptors.PIHandlerImpl.




> Happen to se org.omg.CORBA.PolicyError: There is no PolicyFactory time to time
> ------------------------------------------------------------------------------
>
>                 Key: WFLY-5333
>                 URL: https://issues.jboss.org/browse/WFLY-5333
>             Project: WildFly
>          Issue Type: Bug
>          Components: IIOP
>    Affects Versions: 10.0.0.Beta2
>            Reporter: Ondřej Chaloupka
>            Assignee: Dominik Pospisil
>
> I happens to me that I can see time to time error {{org.omg.CORBA.PolicyError: There is no PolicyFactory Registered for type}} [1].
> I can see this issue during deployment 
> Unfortunately it's intermittent failure that I'm not able to reproduce surely. In most cases the server starts fine (and tests run without any problem).
> This happens normally on server which is used as target of iiop call from other server.
> Adding the server log for further reference.
> [1]
> {code}
> ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."crashrecovery-txpropag-server.jar".component.MultiXACrashBean.EjbIIOPService: org.jboss.msc.service.StartException in service jboss.deployment.unit."crashrecovery-txpropag-server.jar".component.MultiXACrashBean.EjbIIOPService: org.omg.CORBA.PolicyError: There is no PolicyFactory Registered for type -2023406815
>  at org.jboss.as.ejb3.iiop.EjbIIOPService.start(EjbIIOPService.java:398)
>  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
>  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  at java.lang.Thread.run(Thread.java:745)
> Caused by: org.omg.CORBA.PolicyError: There is no PolicyFactory Registered for type -2023406815
>  at com.sun.corba.se.impl.interceptors.PIHandlerImpl.create_policy(PIHandlerImpl.java:955)
>  at com.sun.corba.se.impl.orb.ORBImpl.create_policy(ORBImpl.java:1611)
>  at org.jboss.as.ejb3.iiop.EjbIIOPService.start(EjbIIOPService.java:291)
>  ... 5 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list