jboss-3.0beta_tomcat-4.0.2: cannot setup HTTPS...
fred_soulier Apr 4, 2002 12:06 PMHi
I have been trying to setup HTTPS in jboss 3.0 beta without success...
Here is what I have done:
- extracted /META-INF/jboss-service.xml from the tomcat4-service.sar in /deploy
- removed the mbean for HTTP connection on port 8080 (basically the jboss-service.xml does not do anything now)
- created a https-service.xml file as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server [
<!ENTITY catalina.home "../jakarta-tomcat-4.0.2">
<!ENTITY jboss.home "..">
]>
<!-- The service configuration for the embedded Tomcat4 web container
-->
<!-- Tomcat 4.0.1 SSL Configuration -->
/opt/jboss-3.0.0beta/jakarta-tomcat-4.0.2/conf/.keystore
changeit
&catalina.home;
8080
-copied this https-service.xml in /deploy
I get:
17:29:24,149 ERROR [ServiceController] JMException thrown during ServiceProxy operation start on mbean Security:name=JaasSecurityDomain,domain=SSL
javax.management.InstanceNotFoundException: jboss.security:service=JaasSecurityManager
at com.sun.management.jmx.MBeanServerImpl.getMBean(MBeanServerImpl.java:1678)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1522)
at org.jboss.security.plugins.JaasSecurityDomain.start(JaasSecurityDomain.java:110)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
at $Proxy2.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:341)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
at $Proxy1.start(Unknown Source)
at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:296)
at org.jboss.deployment.MainDeployer.run(MainDeployer.java:259)
at java.lang.Thread.run(Thread.java:484)
17:29:24,159 ERROR [SARDeployer] operation failed
... blabla
Well, I have tried a https-service.xml with only:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server [
<!ENTITY catalina.home "../jakarta-tomcat-4.0.2">
<!ENTITY jboss.home "..">
]>
<!-- The service configuration for the embedded Tomcat4 web container
-->
&catalina.home;
8080
and it deployed ok with an active HTTP server on port 8080.
This new way of configuring the web server is far from being trivial ;)
Thanks for any help.
Fred