Thanks that worked. Now on to the next issue. :working:
Gianny Damour-2 wrote: > > Hi Adam, > > At this stage, there is no bug number and I will create one as soon > as I get better connectivity (I moved house over the week-end and > internet access is not yet set-up at my new place). > > Some Tribes classes, e.g. org.apache.catalina.tribes.UniqueId, have > been repackaged which has broken the classloading filtering rule of > tomcat6-no-ha. You will need to redeploy this configuration: > > 1. copy the deployment plan of tomcat6-no-ha in a working directory. > You can find the plan in the repository: > repository/org/apache/geronimo/configs/tomcat6-no-ha/2.1.2/tomcat6-no- > ha-2.1.2.car/META-INF/plan.xml > > 2. change the hidden-classes filter to (bottom of the file): > <hidden-classes> > <filter>org.apache.catalina.tribes.</filter> > </hidden-classes> > > 3. redeploy the configuration: > deploy/redeploy <working dir>/plan.xml > > You can now start a clustered app. I attach a plan with an already > updated classloading filter for your convenience. > > Thanks, > Gianny > > > <?xml version="1.0" encoding="UTF-8"?> > <!--Licensed to the Apache Software Foundation (ASF) under one or more > contributor license agreements. See the NOTICE file distributed with > this work for additional information regarding copyright ownership. > The ASF licenses this file to You under the Apache License, Version > 2.0 > (the "License"); you may not use this file except in compliance with > the License. You may obtain a copy of the License at > > http://www.apache.org/licenses/LICENSE-2.0 > > Unless required by applicable law or agreed to in writing, software > distributed under the License is distributed on an "AS IS" BASIS, > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or > implied. > See the License for the specific language governing permissions and > limitations under the License.--> > <!--$Rev: 666151 $ $Date: 2008-06-11 01:24:07 +1000 (Wed, 11 Jun 2008) > $--> > <module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2"> > <environment> > <moduleId> > <groupId>org.apache.geronimo.configs</groupId> > <artifactId>tomcat6-no-ha</artifactId> > <version>2.1.2</version> > <type>car</type> > </moduleId> > <dependencies> > <dependency> > <groupId>org.apache.geronimo.configs</groupId> > <artifactId>j2ee-server</artifactId> > <version>2.1.2</version> > <type>car</type> > </dependency> > <dependency> > <groupId>org.apache.geronimo.configs</groupId> > <artifactId>tomcat6</artifactId> > <version>2.1.2</version> > <type>car</type> > </dependency> > </dependencies> > <hidden-classes> > <filter>org.apache.catalina.tribes.</filter> > </hidden-classes> > <non-overridable-classes/> > </environment> > </module> > > > > On 05/09/2008, at 10:23 AM, Adam Ruggles wrote: > >> >> Hi Gianny, >> >> Thanks for the info. Is there a bug number that I can track on >> this issue? >> >> Thanks, >> Adam >> >> >> >> Gianny Damour-2 wrote: >>> >>> Hi Adam, >>> >>> I know what the issue is. As a matter of fact I fixed it a couple of >>> months ago. I will work on a fix for your Geronimo version over the >>> week-end. >>> >>> Meanwhile, you can use the geronimo-jetty assembly which does not >>> have >>> this problem. >>> >>> Thanks, >>> Gianny >>> >>>> Adam Ruggles <[EMAIL PROTECTED]> wrote: >>>> >>>> >>>> Adding that property produced this error message (repeated multiple >>>> times): >>>> >>>> >>>> INFO: Created a buffer pool with max size:104857600 bytes of >>>> type:org.apache.catalina.tribes.io.BufferPool15Impl >>>> 15:30:01,742 ERROR [BasicServiceSpaceDispatcher] See nested >>>> org.codehaus.wadi.group.MessageExchangeException: >>>> java.lang.ClassCastException: cannot assign instance of >>>> org.apache.catalina.tribes.UniqueId to field >>>> org.codehaus.wadi.tribes.TribesPeer.uniqueId of type >>>> org.apache.catalina.tribes.UniqueId in instance of >>>> org.codehaus.wadi.tribes.TribesPeer >>>> at >>>> org.codehaus.wadi.servicespace.basic.TransformEnvelopeInterceptor.on >>>> Inbou >>>> ndEnvelope(TransformEnvelopeInterceptor.java:46) >>>> at >>>> org.codehaus.wadi.group.impl.AbstractDispatcher.onInboundEnvelope >>>> (Abstrac >>>> tDispatcher.java:308) >>>> at >>>> org.codehaus.wadi.group.impl.AbstractDispatcher.onEnvelope >>>> (AbstractDispat >>>> cher.java:92) >>>> at >>>> org.codehaus.wadi.servicespace.basic.ServiceSpaceEndpoint.dispatch >>>> (Servic >>>> eSpaceEndpoint.java:49) >>>> at >>>> org.codehaus.wadi.group.impl.ServiceEndpointWrapper.dispatch >>>> (ServiceEndpo >>>> intWrapper.java:50) >>>> at >>>> org.codehaus.wadi.group.impl.BasicEnvelopeDispatcherManager >>>> $DispatchRunne >>>> r.run(BasicEnvelopeDispatcherManager.java:121) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask >>>> (ThreadPoolExecutor >>>> .java:650) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.run >>>> (ThreadPoolExecutor.jav >>>> a:675) >>>> at java.lang.Thread.run(Thread.java:613) >>>> Caused by: java.lang.ClassCastException: cannot assign instance of >>>> org.apache.catalina.tribes.UniqueId to field >>>> org.codehaus.wadi.tribes.TribesPeer.uniqueId of type >>>> org.apache.catalina.tribes.UniqueId in instance of >>>> org.codehaus.wadi.tribes.TribesPeer >>>> at >>>> java.io.ObjectStreamClass$FieldReflector.setObjFieldValues >>>> (ObjectStreamCl >>>> ass.java:2004) >>>> at >>>> java.io.ObjectStreamClass.setObjFieldValues >>>> (ObjectStreamClass.java:1184) >>>> at >>>> java.io.ObjectInputStream.defaultReadFields >>>> (ObjectInputStream.java:1914) >>>> at >>>> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java: >>>> 1832) >>>> at >>>> java.io.ObjectInputStream.readOrdinaryObject >>>> (ObjectInputStream.java:1719) >>>> >>>> at >>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) >>>> at >>>> java.io.ObjectInputStream.defaultReadFields >>>> (ObjectInputStream.java:1908) >>>> at >>>> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java: >>>> 1832) >>>> at >>>> java.io.ObjectInputStream.readOrdinaryObject >>>> (ObjectInputStream.java:1719) >>>> >>>> at >>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) >>>> at >>>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) >>>> at >>>> org.codehaus.wadi.servicespace.basic.BasicServiceSpaceEnvelopeHelper >>>> .tran >>>> sformInboundEnvelope(BasicServiceSpaceEnvelopeHelper.java:123) >>>> at >>>> org.codehaus.wadi.servicespace.basic.TransformEnvelopeInterceptor.on >>>> Inbou >>>> ndEnvelope(TransformEnvelopeInterceptor.java:44) >>>> ... 8 more >>>> >>>> >>>> >>>> >>>> Gianny Damour-2 wrote: >>>>> >>>>> 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 >>>>> >>>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Unable-to-deploy-tomcat-app-with-WADI- >>>> Cluster-tp193 >>>> 18948s134p19321415.html >>>> Sent from the Apache Geronimo - Users mailing list archive at >>>> Nabble.com. >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/Unable-to- >> deploy-tomcat-app-with-WADI-Cluster-tp19318948s134p19322624.html >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/Unable-to-deploy-tomcat-app-with-WADI-Cluster-tp19318948s134p19384076.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
