Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9185

Can't define a remote outbound connection using legacy security configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.DR14
    • 7.1.0.DR12
    • Remoting
    • None
    • Regression, Blocks Testing
    • Not Required
    • Hide
      /core-service=management/security-realm=ejb-security-realm:add()
      /core-service=management/security-realm=ejb-security-realm/server-identity=secret:add(value="cGFzc3cqcmQx")
      /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=remote-ejb:add(host=localhost, port=8080)
      /subsystem=remoting/remote-outbound-connection=remote-ejb-connection:add(outbound-socket-binding-ref=remote-ejb, protocol=http-remoting, security-realm=ejb-security-realm, username=ejb)
      
      Show
      /core-service=management/security-realm=ejb-security-realm:add() /core-service=management/security-realm=ejb-security-realm/server-identity=secret:add(value="cGFzc3cqcmQx") /socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=remote-ejb:add(host=localhost, port=8080) /subsystem=remoting/remote-outbound-connection=remote-ejb-connection:add(outbound-socket-binding-ref=remote-ejb, protocol=http-remoting, security-realm=ejb-security-realm, username=ejb)

      When trying to define a remote outbound connection using just legacy security settings, that means without specifying an authentication context, it fails with:

      {
          "outcome" => "failed",
          "failure-description" => {
              "WFLYCTL0080: Failed services" => {"org.wildfly.remoting.endpoint.outbound-connection.remote-ejb-connection" => "org.jboss.msc.service.StartException in service org.wildfly.remoting.endpoint.outbound-connection.remote-ejb-connection: Failed to start service
          Caused by: java.lang.NullPointerException"},
              "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.remoting.endpoint.outbound-connection.remote-ejb-connection"]
          },
          "rolled-back" => true,
          "response-headers" => {"process-state" => "reload-required"}
      }
      

      Error in server log:

      14:24:57,113 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.remoting.endpoint.outbound-connection.remote-ejb-connection: org.jboss.msc.service.StartException in service org.wildfly.remoting.endpoint.outbound-connection.remote-ejb-connection: Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
      	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: java.lang.NullPointerException
      	at org.jboss.as.remoting.RemoteOutboundConnectionService.start(RemoteOutboundConnectionService.java:111)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
      	... 3 more
      

              dlloyd@redhat.com David Lloyd
              jmartisk@redhat.com Jan Martiska
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: