0 Replies Latest reply on Jan 9, 2011 3:40 AM by underflyer

    JBoss  5.1.0.GA EJB SSL

    underflyer Newbie

      Hi,

       

      i'm trying to securing my EJB-Communication with SSL, but can't find an instruction for JBossAS 5.1.0-GA to setup an EJB-SSL invoker.

       

      There are several instructions how to declare SSL-Binding-Annotations to the Beans.

       

      What i've done:

      - imported my WEB-SSL-Certificate into my <domain>.keystore.

      - added following lines to jboss-service.xml

       

        <mbean code="org.jboss.remoting.transport.Connector"

               name="jboss.remoting:type=Connector,transport=sslsocket3843,handler=ejb3">

       

          <attribute name="InvokerLocator">sslsocket://${jboss.bind.address}:3843</attribute>

          <attribute name="Configuration">

            <config>

              <handlers>

                <handler subsystem="AOP">

                  org.jboss.aspects.remoting.AOPRemotingInvocationHandler

                </handler>

              </handlers>

            </config>

          </attribute>

        </mbean>

       

      fails with following error:

      09:38:30,473 ERROR [AbstractKernelController] Error installing to Start: name=jboss.remoting:handler=ejb3,transport=sslsocket3843,type=Connector state=Create mode=Manual requiredState=Installed

      java.lang.ClassNotFoundException:

                  org.jboss.aspects.remoting.AOPRemotingInvocationHandler

       

          at org.jboss.remoting.serialization.ClassLoaderUtility.loadClass(ClassLoaderUtility.java:103)

       

      how to accomplish correctly?

       

      greetz