Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7163

Configuring IIOP over SSL causes IOException on startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.M2
    • JBossAS-5.1.0.GA
    • IIOP service, Security
    • None

      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

              sguilhen Stefan Guilhen
              dmac_jira Dan Machera (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: