I'm trying to configure JBoss 3.0.0_tomcat_4.0.3 with SSL.
I followed the instructions in the JBoss Administration and
Development document.
1) Generated chap8.keystore file and copied to
$JBOSS_HOME/server/default/conf
2) Modified tomcat4-service.xml to add
<!-- The SSL domain setup -->
<mbean code="org.jboss.security.plugins.JaasSecurityDomain"
name="Security:name=JaasSecurityDomain,domain=RMI+SSL">
<constructor>
<arg type="java.lang.String" value="RMI+SSL"/>
</constructor>
<attribute name="KeyStoreURL">chap8.keystore</attribute>
<attribute name="KeyStorePass">rmi+ssl</attribute>
</mbean>
and
<!-- A HTTPS Connector on port 8443 -->
<Connector className = "org.apache.catalina.connector.http.HttpConnector"
port = "8443" scheme="https" secure="true">
<Factory className="org.jboss.web.catalina.security.SSLServerSocketFactory"
securityDomainName="java:/jaas/RMI+SSL" clientAuth="false"
protocol="TLS"/>
</Connector>
This generates this error in the server.log:
17:18:27,711 ERROR [SARDeployer] start operation failed on package file:/opt/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/tomcat4-service.xml
javax.management.InstanceNotFoundException: jboss.security:service=JaasSecurityManager is not registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:403)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480)
at org.jboss.security.plugins.JaasSecurityDomain.start(JaasSecurityDomain.java:116)
...
What mbean code should be registered with
name=jboss.security:service=JaasSecurityManager
??
Tx!
JD
