[
https://jira.jboss.org/jira/browse/JBAS-7163?page=com.atlassian.jira.plug...
]
Stefan Guilhen closed JBAS-7163.
--------------------------------
Fix Version/s: JBossAS-5.2.0.Beta1
JBossAS-6.0.0.Alpha1
Resolution: Done
The error was caused by a missing dependency in CorbaORBService:
<!-- 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>
-->
I've added the JBossSecurityJNDIContextEstablishment dependency so now the
CorbaORBService will wait until the security domain is available in the JNDI before
attempting to create the SSLSocket factories.
Change has been committed on Branch_5_X and Trunk.
Configuring IIOP over SSL causes IOException on startup
-------------------------------------------------------
Key: JBAS-7163
URL:
https://jira.jboss.org/jira/browse/JBAS-7163
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: IIOP service, Security
Affects Versions: JBossAS-5.1.0.GA
Environment: Windows XP repeatable with jdk 1.6.0_15 and jdk 1.5.0_20
Reporter: Dan Machera
Assignee: Stefan Guilhen
Fix For: JBossAS-5.2.0.Beta1, JBossAS-6.0.0.Alpha1
Perform the following steps:
1. Edit server/all/conf/jacorb.properties - set jacorb.security.support_ssl=on
2. Edit server/all/deploy/iiop-service.xml - uncomment the JaasSecurityDomain mbean and
fill in valid key details then uncomment the SecurityDomain attribute and depends element
of the CorbaORBService mbean.
Start up with JBOSS 5.1.0-GA:
13:31:56,207 WARN [CorbaORBService] Security domain java:/jaas/IIOP+SSL not found
13:31:56,442 INFO [SSLServerSocketFactory] Creating
13:31:56,442 WARN [SSLServerSocketFactory] Could not create
DomainServerSocketFactory: java.io.IOEx
ception: The securityDomain may not be null
13:31:56,442 ERROR [AbstractKernelController] Error installing to Start:
name=jboss:service=CorbaORB
state=Create mode=Manual requiredState=Installed
org.omg.CORBA.INITIALIZE: there was an invocation failure with the socket factory
org.jboss.iiop.jac
orb.SSLServerSocketFactory: java.io.IOException: The securityDomain may not be
null vmcid: 0x0 minor code: 0 completed: No
at org.jacorb.orb.factory.SocketFactoryManager.newFactory(Unknown Source)
The above works successfully on JBOSS 4.2.3-GA
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira