geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juergen Weber <webe...@gmail.com>
Subject Minimizing a server assembly - how to remove SSL ?
Date Mon, 02 Feb 2009 16:36:39 GMT

Hi, 

how can you remove SSL from a Tomcat module?

I removed the "TomcatWebSSLConnector" GBean from config.xml, but then I get
the strange exception

  The service
ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.3/car,j2eeType=GBean,name=TomcatWebSSLConnector
did not start because service.getName(): "null";  Protocol handler start
failed: java.net.BindException: Address already in use /0.0.0.0:8443

        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485)
        ... 17 more

I created a custom server (really cool feature!) using the console Plugins
portlet, chose the following Plugins  

Geronimo Assemblies :: Boilerplate Minimal
Geronimo Framework, Configs :: Offline Deployer
Geronimo Plugins, Console :: Tomcat
Geronimo Plugins, OpenEJB :: OpenEJB

The assembled server comes up fine (see below). Now I'd like to reduce the
server even further, I want to run a MQ Resource adapter with a message
driven bean. So I guess I don't need ActiveMQ, Derby and SSL. Also openjpa
and webservices-common are started.
How can I get rid of all these?
Also, for an MDB based application, I don't need any access from outside
beside the console, so how can I get rid of all server sockets but HTTP?

Thanks,
Juergen


I


Same when I remove ActiveMQ I get
  The service
ServiceModule=org.apache.geronimo.configs/activemq-broker/2.1.3/car,j2eeType=JMSConnector,name=ActiveMQ.stomp.default
did not start because Failed to bind to server socket:
stomp://localhost:61613 due to: java.net.BindException: Address already in
use

        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485)

	
	
Booting Geronimo Kernel (in Java 1.6.0_11)...
Module  1/22 org.apache.geronimo.framework/gshell-framework/2.1.3/car      
started in   .000s
Module  2/22 org.apache.geronimo.framework/gshell-geronimo/2.1.3/car       
started in   .000s
Module  3/22 org.apache.geronimo.framework/j2ee-system/2.1.3/car           
started in   .000s
Module  4/22 org.apache.geronimo.framework/transformer-agent/2.1.3/car     
started in   .000s
Module  5/22 org.apache.geronimo.framework/jee-specs/2.1.3/car             
started in   .000s
Module  6/22 org.apache.geronimo.framework/rmi-naming/2.1.3/car            
started in   .100s
Module  7/22 org.apache.geronimo.framework/j2ee-security/2.1.3/car         
started in   .123s
Module  8/22 org.apache.geronimo.configs/spring/2.1.3/car                  
started in   .000s
Module  9/22 org.apache.geronimo.plugins/pluto-support/2.1.3/car           
started in   .008s
Module 10/22 org.apache.geronimo.configs/j2ee-server/2.1.3/car             
started in   .027s
Module 11/22 org.apache.geronimo.framework/server-security-config/2.1.3/car
started in   .034s
Module 12/22 org.apache.geronimo.configs/transaction/2.1.3/car             
started in   .096s
Module 13/22 org.apache.geronimo.configs/jasper/2.1.3/car                  
started in   .001s
Module 14/22 org.apache.geronimo.framework/xmlbeans/2.1.3/car              
started in   .000s
Module 15/22 org.apache.geronimo.configs/webservices-common/2.1.3/car      
started in   .000s
Module 16/22 org.apache.geronimo.configs/tomcat6/2.1.3/car                 
started in  1.410s
Module 17/22 org.apache.geronimo.plugins/console-tomcat/2.1.3/car          
started in  1.399s
Module 18/22 org.apache.geronimo.configs/derby/2.1.3/car                   
started in   .000s
Module 19/22 org.apache.geronimo.configs/system-database/2.1.3/car         
started in  1.124s
Module 20/22 org.apache.geronimo.configs/activemq-broker/2.1.3/car         
started in  1.125s
Module 21/22 org.apache.geronimo.configs/openjpa/2.1.3/car                 
started in   .004s
Module 22/22 org.apache.geronimo.configs/openejb/2.1.3/car                 
started in   .446s
Startup completed in 6.619s seconds
  Listening on Ports:
    1199 0.0.0.0 RMI Naming
    1627 0.0.0.0 Derby Connector
    4301 0.0.0.0 OpenEJB Daemon
    8109 0.0.0.0 Tomcat Connector AJP AJP
    8180 0.0.0.0 Tomcat Connector HTTP BIO HTTP
    8543 0.0.0.0 Tomcat Connector HTTPS BIO HTTPS
   10099 0.0.0.0 JMX Remoting Connector
   61713 0.0.0.0 ActiveMQ Transport Connector
   61716 0.0.0.0 ActiveMQ Transport Connector

  Started Application Modules:
    EAR: org.apache.geronimo.plugins/console-tomcat/2.1.3/car
    RAR: org.apache.geronimo.configs/system-database/2.1.3/car

  Web Applications:
    /console
    /console-base

Geronimo Application Server started
-- 
View this message in context: http://www.nabble.com/Minimizing-a-server-assembly---how-to-remove-SSL---tp21792987s134p21792987.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message