I also get the same error using jdk1.5.0_18
I note that if i leave jacorb.security.support_ssl set to off, that java:/jaas/IIOP+SSL is visible in the JNDIView, so it does get deployed .. but probably after CORBA has been looking for it, hence the error.
Has the configuration changed somewhere between jboss 4.2.3 and 5.1.0 ? If so, could someone please point me in the right direction.
Thanks for raising this. The issue is that CorbaORBService needs an extra dependency on AS5 when IIOP/SSL is configured. In other words, the section of the iiop-service.xml that configures IIOP/SSL should look as follows:
<!-- uncomment to use IIOP over SSL --> <attribute name="SecurityDomain">java:/jaas/IIOP+SSL</attribute> <depends>JBossSecurityJNDIContextEstablishment</depends <depends>jboss.security:service=JaasSecurityDomain,domain=IIOP+SSL</depends>
Notice the dependency on JBossSecurityJNDIContextEstablishment. This is the missing dep that will make CorbaORBService wait until the security domain is available in JNDI before creating the SSLSocket factories.
I've applied the change to iiop-service.xml on Branch_5_x and Trunk, so it will be available in the next AS release.
Excellent, thanks Stefan
This was driving me crazy :)