geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GERONIMO-6426) Could not use <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/> to enable Cluster feature
Date Mon, 27 May 2013 12:35:22 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-6426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Forrest Xia updated GERONIMO-6426:
----------------------------------

    Fix Version/s:     (was: 3.0.1)
                   3.0.2
    
> Could not use <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
to enable Cluster feature
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6426
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6426
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>            Reporter: xiezhi
>             Fix For: 3.0-M1, 3.0.0, 3.0.2
>
>
> I have found uncomment the cluster fragment in server.xml below is OK.
>                 <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" channelSendOptions="8">
>                     <Manager className="org.apache.catalina.ha.session.DeltaManager"
expireSessionsOnShutdown="false" notifyListenersOnReplication="true" name="${ClusterName}"
channelSendOptions="6" mapSendOptions="6"/>
>                     <Channel className="org.apache.catalina.tribes.group.GroupChannel">
>                         <Membership className="org.apache.catalina.tribes.membership.McastService"
address="228.0.0.4" port="45564" frequency="500" dropTime="3000" />
>                         <Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver"
address="auto" port="4000" autoBind="100" selectorTimeout="5000" maxThreads="6" />
>                         <Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
>                             <Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"
/>
>                         </Sender>
>                         <Interceptor className="org.apache.geronimo.tomcat.interceptor.DisableMcastInterceptor"
/>
>                         <Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"
interval="60"/>
>                         <Interceptor className="org.apache.catalina.tribes.group.interceptors.StaticMembershipInterceptor">
>                             <Member port="5002" securePort="-1" host="${ServerHostname}"
domain="test-domain" UniqueId="{1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}" />
>                         </Interceptor>
>                         <Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"
/>
>                         <Interceptor className="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor"
/>
>                     </Channel>
>                     <Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;" />
>                     <Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve"
/>
>                     <ClusterListener className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"
/>
>                     <ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"
/>
>                 </Cluster>
> But if I add a 	
> <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/> into server.xml,
the   server start failure.
> 2012-12-20 13:53:47,677 INFO  [geronimo-osgi-registry] SPI-Provider Manifest header found
in bundle: org.apache.geronimo.modules.geronimo-webservices
> 2012-12-20 13:53:47,892 INFO  [AprLifecycleListener] The APR based Apache Tomcat Native
library which allows optimal performance in production environments was not found on the java.library.path:
E:\jdks\IBM\Java60\jre\bin\default;E:\jdks\IBM\Java60\jre\bin;C:\windows\system32;C:\windows;.;E:\jdks\IBM\Java60\\bin;E:\jdks\IBM\Java60\\jre\bin;E:\mavens\apache-maven-2.2.1\bin;E:\Ant\apache-ant-1.7.1/bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\IBM\Infoprint Select;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth
Software\syswow64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program
Files (x86)\Lenovo\Access Connections\;C:\Program Files (x86)\IBM\Personal Communications\;C:\Program
Files (x86)\IBM\Trace Facility\;C:\Program Files (x86)\ooRexx;C:\Program Files\TortoiseSVN\bin;C:\Program
Files\TortoiseGit\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files\Intel\WiFi\bin\;C:\Program
Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\SSH Communications Security\SSH
Secure Shell;C:\AppServ\Apache2\bin;C:\AppServ\php;C:\AppServ\MySQL\bin;C:\Program Files (x86)\IDM
Computer Solutions\UltraEdit\;C:\Program Files (x86)\IDM Computer Solutions\UltraCompare\;.
> 2012-12-20 13:53:47,948 ERROR [GBeanInstanceState] Error while starting; GBean is now
in the FAILED state: abstractName="org.apache.geronimo.configs/tomcat7/3.0.0/car?ServiceModule=org.apache.geronimo.configs/tomcat7/3.0.0/car,j2eeType=GBean,name=TomcatServer"
> java.lang.NullPointerException
> 	at org.apache.geronimo.tomcat.model.ClusterType.getCluster(ClusterType.java:115)
> 	at org.apache.geronimo.tomcat.model.HostType.getHost(HostType.java:538)
> 	at org.apache.geronimo.tomcat.model.EngineType.getEngine(EngineType.java:351)
> 	at org.apache.geronimo.tomcat.model.ServiceType.getService(ServiceType.java:295)
> 	at org.apache.geronimo.tomcat.model.ServerType.build(ServerType.java:300)
> 	at org.apache.geronimo.tomcat.TomcatServerGBean.<init>(TomcatServerGBean.java:141)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:44)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:516)
> 	at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958)
> 	at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
> 	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
> 	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:466)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:710)
> 	at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:239)
> 	at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:99)
> 	at org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107)
> 	at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:66)
> 	at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
> 	at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32)
> 2012-12-20 13:53:48,347 ERROR [GBeanInstanceState] Error while starting; GBean is now
in the FAILED state: abstractName="org.apache.geronimo.configs/tomcat7/3.0.0/car?ServiceModule=org.apache.geronimo.configs/tomcat7/3.0.0/car,j2eeType=GBean,name=TomcatServer"
> java.lang.NullPointerException
> 	at org.apache.geronimo.tomcat.model.ClusterType.getCluster(ClusterType.java:115)
> 	at org.apache.geronimo.tomcat.model.HostType.getHost(HostType.java:538)
> 	at org.apache.geronimo.tomcat.model.EngineType.getEngine(EngineType.java:351)
> 	at org.apache.geronimo.tomcat.model.ServiceType.getService(ServiceType.java:295)
> 	at org.apache.geronimo.tomcat.model.ServerType.build(ServerType.java:300)
> 	at org.apache.geronimo.tomcat.TomcatServerGBean.<init>(TomcatServerGBean.java:141)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:44)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:516)
> 	at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958)
> 	at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
> 	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
> 	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:466)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:710)
> 	at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:239)
> 	at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:99)
> 	at org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107)
> 	at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:66)
> 	at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
> 	at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32)
> 2012-12-20 13:53:48,367 WARN  [EmbeddedDaemon] Failed to start module org.apache.geronimo.configs/remote-deploy-tomcat/3.0.0/car;
Cause by org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
> 2012-12-20 13:53:48,369 WARN  [EmbeddedDaemon] Please try to correct the problem by referring
to the logged exception. If you want to bypass it in future restart, you can set load="false"
on that module.
> 2012-12-20 13:53:49,303 INFO  [container] A org.apache.aries.jpa.container.properties
file was found. The default properties {} will be overridden.
> 2012-12-20 13:53:49,308 INFO  [container] No quiesce support is available, so managed
persistence units will not participate in quiesce operations
> 2012-12-20 13:53:49,663 INFO  [KernelContextGBean] bound gbean org.apache.geronimo.configs/system-database/3.0.0/car?J2EEApplication=null,ResourceAdapterModule=org.apache.geronimo.configs/system-database/3.0.0/car,j2eeType=ValidatorFactory,name=ValidatorFactory
at name jca:/org.apache.geronimo.configs/system-database/ValidatorFactory/ValidatorFactory
> 2012-12-20 13:53:49,712 INFO  [GenericConnectionManager] No runtime TransactionSupport
> 2012-12-20 13:53:50,426 INFO  [SinglePoolConnectionInterceptor] Removing ManagedConnectionInfo:
org.apache.geronimo.connector.outbound.ManagedConnectionInfo@2570257. mc: org.tranql.connector.jdbc.ManagedXAConnection@732f732f]
from pool org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor@4a904a9
> 2012-12-20 13:53:50,429 INFO  [KernelContextGBean] bound gbean org.apache.geronimo.configs/system-database/3.0.0/car?J2EEApplication=null,JCAConnectionFactory=SystemDatasource,JCAManagedConnectionFactory=SystemDatasource,JCAResource=tranql-connector-derby-embed-xa-1.7,ResourceAdapter=tranql-connector-derby-embed-xa-1.7,ResourceAdapterModule=org.apache.geronimo.configs/system-database/3.0.0/car,j2eeType=JCAConnectionManager,name=SystemDatasource
at name jca:/org.apache.geronimo.configs/system-database/JCAConnectionManager/SystemDatasource
> 2012-12-20 13:53:50,432 INFO  [GenericConnectionManager] No runtime TransactionSupport
> 2012-12-20 13:53:50,433 INFO  [KernelContextGBean] bound gbean org.apache.geronimo.configs/system-database/3.0.0/car?J2EEApplication=null,JCAConnectionFactory=NoTxDatasource,JCAManagedConnectionFactory=NoTxDatasource,JCAResource=tranql-connector-derby-embed-xa-1.7,ResourceAdapter=tranql-connector-derby-embed-xa-1.7,ResourceAdapterModule=org.apache.geronimo.configs/system-database/3.0.0/car,j2eeType=JCAConnectionManager,name=NoTxDatasource
at name jca:/org.apache.geronimo.configs/system-database/JCAConnectionManager/NoTxDatasource
> 2012-12-20 13:53:50,643 INFO  [PortletContainerImpl] Portlet Container [pluto-portal-driver]:
Container initialized successfully.
> 2012-12-20 13:53:50,699 ERROR [GBeanInstanceState] Error while starting; GBean is now
in the FAILED state: abstractName="org.apache.geronimo.configs/tomcat7/3.0.0/car?ServiceModule=org.apache.geronimo.configs/tomcat7/3.0.0/car,j2eeType=GBean,name=TomcatServer"
> java.lang.NullPointerException
> 	at org.apache.geronimo.tomcat.model.ClusterType.getCluster(ClusterType.java:115)
> 	at org.apache.geronimo.tomcat.model.HostType.getHost(HostType.java:538)
> 	at org.apache.geronimo.tomcat.model.EngineType.getEngine(EngineType.java:351)
> 	at org.apache.geronimo.tomcat.model.ServiceType.getService(ServiceType.java:295)
> 	at org.apache.geronimo.tomcat.model.ServerType.build(ServerType.java:300)
> 	at org.apache.geronimo.tomcat.TomcatServerGBean.<init>(TomcatServerGBean.java:141)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:44)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:516)
> 	at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958)
> 	at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
> 	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
> 	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:466)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:710)
> 	at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:239)
> 	at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:99)
> 	at org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107)
> 	at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:66)
> 	at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
> 	at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32)
> 2012-12-20 13:53:50,721 WARN  [EmbeddedDaemon] Failed to start module org.apache.geronimo.plugins/console-tomcat/3.0.0/car;
Cause by org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
> 2012-12-20 13:53:50,723 WARN  [EmbeddedDaemon] Please try to correct the problem by referring
to the logged exception. If you want to bypass it in future restart, you can set load="false"
on that module.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message