geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gianny Damour <gianny.dam...@optusnet.com.au>
Subject Re: Unable to deploy tomcat app with WADI Cluster
Date Thu, 04 Sep 2008 21:53:23 GMT
Hi Adam,

You will need to set the system property java.net.preferIPv4Stack to  
true when starting Geronimo. Without this properly multicasting does  
not work, at least on Mac OS X.

Thanks,
Gianny


On 05/09/2008, at 6:09 AM, Adam Ruggles wrote:

>
> I'm using the latest version of geronimo (2.1.2 with Tomcat 6) on  
> Mac OS X
> 10.4.11.  I added the <tomcat-clustering-wadi/> attribute to my
> geronimo-web.xml and I added the <distributable/> to my web.xml.
>
> When I attempt to deploy the app I get the following errors:
> Sep 4, 2008 12:53:47 PM org.apache.catalina.tribes.io.BufferPool
> getBufferPool
> INFO: Created a buffer pool with max size:104857600 bytes of
> type:org.apache.catalina.tribes.io.BufferPool15Impl
> Sep 4, 2008 12:53:47 PM  
> org.apache.catalina.tribes.transport.nio.NioReceiver
> listen
> SEVERE: Unable to process request in NioReceiver
> java.net.SocketException: Invalid argument
>         at sun.nio.ch.Net.setIntOption0(Native Method)
>         at sun.nio.ch.Net.setIntOption(Net.java:152)
>         at sun.nio.ch.SocketChannelImpl$1.setInt 
> (SocketChannelImpl.java:372)
>         at sun.nio.ch.SocketOptsImpl.setInt(SocketOptsImpl.java:46)
>         at
> sun.nio.ch.SocketOptsImpl$IP.typeOfService(SocketOptsImpl.java:249)
>         at sun.nio.ch.OptionAdaptor.setTrafficClass 
> (OptionAdaptor.java:158)
>         at sun.nio.ch.SocketAdaptor.setTrafficClass 
> (SocketAdaptor.java:330)
>         at
> org.apache.catalina.tribes.transport.nio.NioReceiver.listen 
> (NioReceiver.java:273)
>         at
> org.apache.catalina.tribes.transport.nio.NioReceiver.run 
> (NioReceiver.java:353)
>         at java.lang.Thread.run(Thread.java:613)
> Sep 4, 2008 12:53:47 PM
> org.apache.catalina.tribes.transport.nio.ParallelNioSender doLoop
>
>
> This is followed by this repeated
> Sep 4, 2008 12:54:50 PM
> org.apache.catalina.tribes.transport.nio.ParallelNioSender doLoop
> WARNING: Not retrying send for:tcp://xxx.xxx.xxx.xxx:4000; Sender is
> disconnected.
> Sep 4, 2008 12:54:50 PM
> org.apache.catalina.tribes.group.interceptors.TcpFailureDetector
> memberDisappeared
> INFO: Received
> memberDisappeared[org.apache.catalina.tribes.membership.MemberImpl 
> [tcp://xxx.xxx.xxx.xxx:4000,xxx.xxx.xxx.xxx,4000,
> alive=64242,id={-87 120 -122 -33 11 104 68 66 -100 43 82 22 -52 78  
> -23 57 },
> payload={-84 -19 0 5 115 114 0 50 111 ...(421)}, command={}, domain= 
> {68 69
> 70 65 85 76 84 95 67 ...(15)}, ]] message. Will verify.
> Sep 4, 2008 12:54:50 PM
> org.apache.catalina.tribes.group.interceptors.TcpFailureDetector
> memberDisappeared
> INFO: Verification complete. Member still
> alive[org.apache.catalina.tribes.membership.MemberImpl[tcp:// 
> xxx.xxx.xxx.xxx:4000,xxx.xxx.xxx.xxx,4000,
> alive=64242,id={-87 120 -122 -33 11 104 68 66 -100 43 82 22 -52 78  
> -23 57 },
> payload={-84 -19 0 5 115 114 0 50 111 ...(421)}, command={}, domain= 
> {68 69
> 70 65 85 76 84 95 67 ...(15)}, ]]
>
>
> And finally this error
> INFO: Received
> memberDisappeared[org.apache.catalina.tribes.membership.MemberImpl 
> [tcp://xxx.xxx.xxx.xxx:4000,xxx.xxx.xxx.xxx,4000,
> alive=64270,id={-87 120 -122 -33 11 104 68 66 -100 43 82 22 -52 78  
> -23 57 },
> payload={-84 -19 0 5 115 114 0 50 111 ...(421)}, command={}, domain= 
> {68 69
> 70 65 85 76 84 95 67 ...(15)}, ]] message. Will verify.
> 12:54:50,813 ERROR [BasicWADISessionManager]
> org.codehaus.wadi.servicespace.ServiceSpaceNotFoundException:
> ServiceSpaceName not found
> 12:54:50,814 ERROR [GBeanInstanceState] Error while starting; GBean  
> is now
> in the FAILED state:
> abstractName="pearson/support/1.0/war? 
> J2EEApplication=null,WebModule=pearson/support/1.0/ 
> war,j2eeType=GBean,name=WADISessionManager"
> org.codehaus.wadi.location.partitionmanager.PartitionManagerException:
> Partition [0] is unknown.
>         at
> org.codehaus.wadi.location.partitionmanager.SimplePartitionManager.wai 
> tForBoot(SimplePartitionManager.java:248)
>         at
> org.codehaus.wadi.location.partitionmanager.SimplePartitionManager.sta 
> rt(SimplePartitionManager.java:119)
>         at
> org.codehaus.wadi.servicespace.basic.BasicServiceHolder.start 
> (BasicServiceHolder.java:60)
>         at
> org.codehaus.wadi.servicespace.basic.BasicServiceRegistry.start 
> (BasicServiceRegistry.java:152)
>         at
> org.codehaus.wadi.servicespace.basic.BasicServiceSpace.start 
> (BasicServiceSpace.java:169)
>         at
> org.apache.geronimo.clustering.wadi.BasicWADISessionManager.doStart 
> (BasicWADISessionManager.java:108)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance 
> (GBeanInstance.java:998)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart( 
> GBeanInstanceState.java:268)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start 
> (GBeanInstanceState.java:102)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive 
> (GBeanInstanceState.java:124)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive 
> (GBeanInstance.java:555)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean 
> (BasicKernel.java:379)
>         at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration 
> GBeans(ConfigurationUtil.java:456)
>         at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start 
> (KernelConfigurationManager.java:188)
>         at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration(SimpleConfigurationManager.java:562)
>         at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration(SimpleConfigurationManager.java:543)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke 
> (ReflectionMethodInvoker.java:34)
>         at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
> (GBeanOperation.java:124)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
> (GBeanInstance.java:832)
>         at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java: 
> 57)
>         at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke 
> (RawOperationInvoker.java:35)
>         at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept 
> (ProxyMethodInterceptor.java:96)
>         at
> org.apache.geronimo.kernel.config.EditableConfigurationManager$ 
> $EnhancerByCGLIB$$44f2f224.startConfiguration(<generated>)
>         at
> org.apache.geronimo.deployment.plugin.local.StartCommand.run 
> (StartCommand.java:67)
>         at java.lang.Thread.run(Thread.java:613)
> org.apache.geronimo.kernel.config.LifecycleException: start of
> pearson/support/1.0/war failed
>         at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration(SimpleConfigurationManager.java:579)
>         at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration(SimpleConfigurationManager.java:543)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke 
> (ReflectionMethodInvoker.java:34)
>         at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
> (GBeanOperation.java:124)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
> (GBeanInstance.java:832)
>         at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java: 
> 57)
>         at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke 
> (RawOperationInvoker.java:35)
>         at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept 
> (ProxyMethodInterceptor.java:96)
>         at
> org.apache.geronimo.kernel.config.EditableConfigurationManager$ 
> $EnhancerByCGLIB$$44f2f224.startConfiguration(<generated>)
>         at
> org.apache.geronimo.deployment.plugin.local.StartCommand.run 
> (StartCommand.java:67)
>         at java.lang.Thread.run(Thread.java:613)
> Caused by:  
> org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
> start exception
>         at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration 
> GBeans(ConfigurationUtil.java:522)
>         at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start 
> (KernelConfigurationManager.java:188)
>         at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration(SimpleConfigurationManager.java:562)
>         ... 14 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
> Configuration pearson/support/1.0/war failed to start due to the  
> following
> reasons:
>   The service
> J2EEApplication=null,j2eeType=WebModule,name=pearson/support/1.0/ 
> war did not
> start because the following dependent services did not start:
> [pearson/support/1.0/war?J2EEApplication=null,WebModule=pearson/ 
> support/1.0/war,j2eeType=GBean,name=WADIClusteredValveRetriever,
> pearson/support/1.0/war?J2EEApplication=null,WebModule=pearson/ 
> support/1.0/war,j2eeType=GBean,name=ClusteredManagerRetriever]
>   The service
> J2EEApplication=null,WebModule=pearson/support/1.0/ 
> war,j2eeType=GBean,name=WADISessionManager
> did not start because Partition [0] is unknown.
>   The service
> J2EEApplication=null,WebModule=pearson/support/1.0/ 
> war,j2eeType=GBean,name=ClusteredManagerRetriever
> did not start because
> pearson/support/1.0/war?J2EEApplication=null,WebModule=pearson/ 
> support/1.0/war,j2eeType=GBean,name=WADISessionManager
> did not start.
>   The service
> J2EEApplication=null,WebModule=pearson/support/1.0/ 
> war,j2eeType=GBean,name=WADIClusteredValveRetriever
> did not start because
> pearson/support/1.0/war?J2EEApplication=null,WebModule=pearson/ 
> support/1.0/war,j2eeType=GBean,name=WADISessionManager
> did not start.
>
>         at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration 
> GBeans(ConfigurationUtil.java:485)
>         ... 16 more
> 12:54:50,918 WARN  [DirectoryHotDeployer] Unable to start some  
> modules for
> /usr/depot/apache-geronimo/geronimo-tomcat6-javaee5-2.1.2/deploy/ 
> support.war
>
>
> Am I missing some piece of the configuration?
> -- 
> View this message in context: http://www.nabble.com/Unable-to- 
> deploy-tomcat-app-with-WADI-Cluster-tp19318948s134p19318948.html
> Sent from the Apache Geronimo - Users mailing list archive at  
> Nabble.com.
>


Mime
View raw message