geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Unable to deploy with Tomcat Native Clusters
Date Tue, 31 Mar 2009 23:13:05 GMT
I always thought the xmlbeans error messages were exceptionally clear  
and to the point about what was wrong with your document, but a lot of  
people seem unable to interpret them.  Did you look at the geronimo  
schema involved to try to figure out what might be wrong?

In this case you need exactly one moduleId element as the first  
element in environment.

thanks
david jencks

On Mar 31, 2009, at 6:45 AM, Hearty wrote:

>
> Hi
>
>    The server used is apache geronimo 2.1
>    I am trying to deploy my war file using tomcat native clusters. I  
> am
> getting the following exception.
>
> C:\server3\fpscripts>C:\server3\bin\deploy.bat -port 1104 -u system -p
> manager d
> eploy ..\fpconfig\fp.war ..\fpconfig\geronimo-web.xml
> Using GERONIMO_BASE:   C:\server3
> Using GERONIMO_HOME:   C:\server3
> Using GERONIMO_TMPDIR: var\temp
> Using JRE_HOME:        C:\Program Files\IBM\Java50\jre
>    Error: Unable to distribute fp.war: xml problem for web app .
>
>        Invalid deployment descriptor: errors:
>
>
>    error: cvc-complex-type.2.4a: Expected elements
>    'dependencies@http://geronimo.apache.org/xml/ns/deployment-1.2
>    hidden-classes@http://geronimo.apache.org/xml/ns/deployment-1.2
>    non-overridable-classes@http://geronimo.apache.org/xml/ns/deployment-1.2
>    inverse-classloading@http://geronimo.apache.org/xml/ns/deployment-1.2
>
> suppress-default-environment@http://geronimo.apache.org/xml/ns/deployment-1 
> .
> 2'
>    instead of
>    'moduleId@http://geronimo.apache.org/xml/ns/deployment-1.2' here in
>    element environment@http://geronimo.apache.org/xml/ns/ 
> deployment-1.2
>
>
>    Descriptor:
>
>    <xml-fragment
>    xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
>    xmlns:tom="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1"
>    xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2"
>    xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0">
>
>      <sys:environment>
>
>        <sys:moduleId>
>
> I am uploading geronimo-web.xml and config.xml I've used while  
> deploying
> http://www.nabble.com/file/p22804936/geronimo-web.xml geronimo-web.xml
> http://www.nabble.com/file/p22804936/config.xml config.xml
>
> geronimo-web.xml is as follows
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <!--
> <web:web-app xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1 
> "
> 	xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
> 	xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0"
> 	xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">
> 	-->
> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 
> "
> xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">	
> 	<sys:environment>
> 		<sys:moduleId>
> 			<sys:groupId>focalpoint</sys:groupId>
> 			<sys:artifactId>fp</sys:artifactId>
> 			<sys:version>1.0</sys:version>
> 			<sys:type>war</sys:type>
> 		</sys:moduleId>
> 		 <sys:moduleId>
> 		      <sys:groupId>org.apache.geronimo.configs</sys:groupId>
> 		      <sys:artifactId>TomcatCluster</sys:artifactId>
> 		      <sys:version>2.1</sys:version>
> 		      <sys:type>car</sys:type>
> 		    </sys:moduleId>	
>
> 		<sys:dependencies>
> 			<sys:dependency>
> 				<sys:groupId>console.dbpool</sys:groupId>
> 				<sys:artifactId>fpdbpool</sys:artifactId>
> 			</sys:dependency>
> 			<sys:dependency>
> 				<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
> 				<sys:artifactId>ehcache</sys:artifactId>
> 				<sys:version>1.0</sys:version>
> 				<sys:type>jar</sys:type>
> 			</sys:dependency>
> 			<sys:dependency>
> 				<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
> 				<sys:artifactId>backport-util-concurrent</sys:artifactId>
> 				<sys:version>3.0</sys:version>
> 				<sys:type>jar</sys:type>
> 			</sys:dependency>
> 			<sys:dependency>
> 				<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
> 				<sys:artifactId>jsr107cache</sys:artifactId>
> 				<sys:version>1.0</sys:version>
> 				<sys:type>jar</sys:type>
> 			</sys:dependency>						
> 			<sys:dependency>
> 				<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
> 				<sys:artifactId>postgresql-8.1</sys:artifactId>
> 				<sys:version>405.jdbc3</sys:version>
> 				<sys:type>jar</sys:type>
> 			</sys:dependency>
> 			<sys:dependency>
> 				<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
> 				<sys:artifactId>ojdbc14</sys:artifactId>
> 				<sys:version>10.2.0.1.0</sys:version>
> 				<sys:type>jar</sys:type>
> 			</sys:dependency>
>
> 			<!--
> 			<sys:dependency>
> 				<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
> 				<sys:artifactId>db2jcc</sys:artifactId>
> 				<sys:version>9.5</sys:version>
> 				<sys:type>jar</sys:type>
> 			</sys:dependency>
> 			<sys:dependency>
> 				<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
> 				<sys:artifactId>db2jcc_license_cu</sys:artifactId>
> 				<sys:version>9.5</sys:version>
> 				<sys:type>jar</sys:type>
> 			</sys:dependency>		
> 			-->
> 			<sys:dependency>
> 				<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
> 				<sys:artifactId>tl_lic</sys:artifactId>
> 				<sys:version>1.0</sys:version>
> 				<sys:type>jar</sys:type>
> 			</sys:dependency>
> 			<!--
> 			<sys:dependency>
> 				<sys:groupId>com.telelogic.focalpoint.lib</sys:groupId>
> 				<sys:artifactId>slf4j-jdk14</sys:artifactId>
> 				<sys:version>1.5.0</sys:version>
> 				<sys:type>jar</sys:type>
> 			</sys:dependency>
>            -->
>                       <sys:dependency>
> 	    		      <sys:groupId>org.apache.geronimo.configs</sys:groupId>
> 	    		      <sys:artifactId>tomcat6</sys:artifactId>
> 	    		      <sys:version>2.1</sys:version>
> 		       </sys:dependency>
> 		</sys:dependencies>
> 		<!--
> 			The <hidden-classes> element is used to specify classes that will  
> never
> be loaded from parent classloaders.
> 			Use this element to specify classes that should be loaded from the
> current module rather than from any parent
> 			classloader. This is important when the current module depends on a
> different version or when the class
> 			represents a framework that must be initialized independently  
> from the
> same framework used by the parent.
> 		-->
> 		<sys:hidden-classes>
>
> 			<sys:filter>org.springframework</sys:filter>
> 			<sys:filter>META-INF/spring</sys:filter>
>
> 			<sys:filter>org.apache.commons</sys:filter>
>
> 			<sys:filter>org.apache.log4j</sys:filter>
>
> 			<sys:filter>org.slf4j</sys:filter>
>
> 			<sys:filter>org.apache.juli</sys:filter>
>
> 			<sys:filter>org.apache.axis2</sys:filter>
>
> 		</sys:hidden-classes>
> 		<sys:non-overridable-classes />
> 	</sys:environment>	
> 	<context-root>/fp</context-root>
> 	<!-- deploy the application to cluster -->
> 	<!-- Part I -->
> 	<!--
> 	 <container-config
> xmlns="http://geronimo.apache.org/xml/ns/web/tomcat/config-1.0">
> 	       <tomcat>
> 	           <cluster>TomcatCluster</cluster>
> 	       </tomcat>
>        </container-config>
>        -->
>        <cluster>TomcatCluster</cluster>
> 	<gbean
> 	    class="org.apache.geronimo.tomcat.cluster.CatalinaClusterGBean"
> 	    name="TomcatCluster">
> 	    <attribute name="className">
> 	      org.apache.catalina.ha.tcp.SimpleTcpCluster
> 	    </attribute>
> 	    <attribute name="initParams">
> 	      managerClassName=org.apache.catalina.ha.session.DeltaManager
> 	      expireSessionsOnShutdown=false
> 	      useDirtyFlag=true
> 	      notifyListenersOnReplication=true
> 	    </attribute>
> 	    <reference name="TomcatValveChain">
> 	
> 	      <name>ReplicationValve</name>
> 	    </reference>
> 	    <reference name="ClusterListenerChain">
> 	      <name>ClusterSessionListener</name>
> 	    </reference>
> 	    <reference name="Channel">
> 	      <name>TomcatGroupChannel</name>
> 	    </reference>
> 	  </gbean>
> 	
> 	  <!-- Cluster Channel -->
> 	  <gbean
> 	    class="org.apache.geronimo.tomcat.cluster.ChannelGBean"
> 	    name="TomcatGroupChannel">
> 	    <attribute name="className">
> 	      org.apache.catalina.tribes.group.GroupChannel
> 	    </attribute>
> 	    <attribute name="initParams"/>
> 	      <reference name="Membership">
> 	        <name>TomcatMembership</name>
> 	      </reference>
> 	      <reference name="Receiver">
> 	        <name>TomcatReceiver</name>
> 	      </reference>
> 	      <reference name="Sender">
> 	        <name>TomcatSender</name>
> 	      </reference>
> 	      <reference name="ChannelInterceptor">
> 	        <name>TomcatChannelInterceptor</name>
> 	      </reference>
> 	  </gbean>
> 	
> 	  <!-- Cluster Membership -->
> 	  <gbean
> 	    class="org.apache.geronimo.tomcat.cluster.MembershipServiceGBean"
> 	    name="TomcatMembership">
> 	    <attribute name="className">
> 	      org.apache.catalina.tribes.membership.McastService
> 	    </attribute>
> 	    <attribute name="initParams">
> 	      mcastAddr=228.0.0.4
> 	      mcastPort=45564
> 	      mcastFrequency=500
> 	      mcastDropTime=3000
> 	    </attribute>
> 	    </gbean>
> 	
> 	  <!-- Cluster Receiver -->
> 	  <gbean
> 	    class="org.apache.geronimo.tomcat.cluster.ReceiverGBean"
> 	    name="TomcatReceiver">
> 	    <attribute name="className">
> 	      org.apache.catalina.tribes.transport.nio.NioReceiver
> 	    </attribute>
> 	    <attribute name="initParams">
> 	      tcpListenAddress=192.168.133.96
> 	      tcpListenPort=4001
> 	      tcpSelectorTimeout=100
> 	      tcpThreadCount=6
> 	    </attribute>
> 	  </gbean>
> 	
> 	  <!-- Cluster Sender -->
> 	  <gbean
> 	    class="org.apache.geronimo.tomcat.cluster.SenderGBean"
> 	    name="TomcatSender">
> 	    <attribute name="className">
> 	      org.apache.catalina.tribes.transport.ReplicationTransmitter
> 	    </attribute>
> 	    <attribute name="initParams">
> 	      replicationMode=pooled
> 	      waitForAck=true
> 	    </attribute>
> 	  </gbean>
> 	
> 	  <!-- Cluster Replication Valve -->
> 	  <gbean
> 	    class="org.apache.geronimo.tomcat.ValveGBean"
> 	    name="ReplicationValve">
> 	    <attribute name="className">
> 	      org.apache.catalina.ha.tcp.ReplicationValve
> 	    </attribute>
> 	    <attribute name="initParams">
> 	
> filter=.*\.gif;.*\.js;.*\.css;.*\.png;.*\.jpeg;.*\.jpg;.*\.htm;.* 
> \.html;.*\.txt;
> 	    </attribute>
> 	    <reference name="NextValve">
> 	      <name>JvmRouteBinderValve</name>
> 	    </reference>
> 	  </gbean>
> 	
> 	  <!-- Cluster Route Binder -->
> 	  <gbean
> 	    class="org.apache.geronimo.tomcat.ValveGBean"
> 	    name="JvmRouteBinderValve">
> 	    <attribute name="className">
> 	      org.apache.catalina.ha.session.JvmRouteBinderValve
> 	    </attribute>
> 	    <attribute name="initParams">
> 	        enabled=true
> 	    </attribute>
> 	  </gbean>
> 	
> 	  <!-- Cluster Listener -->
> 	  <gbean
> 	    class="org.apache.geronimo.tomcat.cluster.ClusterListenerGBean"
> 	    name="ClusterSessionListener">
> 	    <attribute name="className">
> 	      org.apache.catalina.ha.session.ClusterSessionListener
> 	    </attribute>
> 	    <reference name="NextListener">
> 	        <name>JvmRouteSessionIDBinderListener</name>
> 	    </reference>
> 	  </gbean>
> 	
> 	  <!-- Cluster Binder Listener -->
> 	  <gbean
> 	    class="org.apache.geronimo.tomcat.cluster.ClusterListenerGBean"
> 	    name="JvmRouteSessionIDBinderListener">
> 	    <attribute name="className">
> 	      org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener
> 	    </attribute>
> 	  </gbean>
> 	
> 	  <!-- Cluster Channel Interceptor -->
> 	  <gbean
> 	     
> class="org.apache.geronimo.tomcat.cluster.ChannelInterceptorGBean"
> 	    name="TomcatChannelInterceptor">
> 	    <attribute name="className">
> 	       
> org.apache.catalina.tribes.group.interceptors.TcpFailureDetector
> 	    </attribute>
> 	  </gbean>
>
> 	
> 	
> 	<!-- Part II -->
> 	 <security-realm-name>geronimo-properties-realm</security-realm-name>
> 	    <security>
> 	        <default-principal>
> 	        <principal name="anonymous"
> class 
> = 
> "org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"/>
> 	      </default-principal>
> 	      <role-mappings>
> 	        <role role-name="tomcat">
> 	          <principal name="admin"
> class 
> = 
> "org 
> .apache.geronimo.security.realm.providers.GeronimoGroupPrincipal"/>
> 	        </role>
> 	      </role-mappings>
> 	    </security>
> 	
> 	    <cluster>TomcatCluster</cluster>
> 	    <gbean  
> class="org.apache.geronimo.tomcat.cluster.CatalinaClusterGBean"
> name="TomcatCluster">
> 	        <attribute
> name="className">org.apache.catalina.ha.tcp.SimpleTcpCluster</ 
> attribute>
> 	        <attribute name="initParams">
> 	             
> managerClassName=org.apache.catalina.ha.session.DeltaManager
> 	            expireSessionsOnShutdown=false
> 	            useDirtyFlag=true
> 	            notifyListenersOnReplication=true
> 	        </attribute>
> 	        <reference name="TomcatValveChain">
> 	            <name>ReplicationValve</name>
> 	        </reference>
> 	        <reference name="ClusterListenerChain">
> 	            <name>ClusterSessionListener</name>
> 	        </reference>
> 	        <reference name="Channel">
> 	            <name>TomcatGroupChannel</name>
> 	        </reference>
> 	    </gbean>
> 	    <gbean class="org.apache.geronimo.tomcat.cluster.ChannelGBean"
> name="TomcatGroupChannel">
> 	        <attribute
> name="className">org.apache.catalina.tribes.group.GroupChannel</ 
> attribute>
> 	        <attribute name="initParams"/>
> 	        <reference name="Membership">
> 	            <name>TomcatMembership</name>
> 	        </reference>
> 	        <reference name="Receiver">
> 	            <name>TomcatReceiver</name>
> 	        </reference>
> 	        <reference name="Sender">
> 	            <name>TomcatSender</name>
> 	        </reference>
> 	        <reference name="ChannelInterceptor">
> 	            <name>TomcatChannelInterceptor</name>
> 	        </reference>
> 	    </gbean>
> 	    <gbean
> class="org.apache.geronimo.tomcat.cluster.MembershipServiceGBean"
> name="TomcatMembership">
> 	        <attribute
> name="className">org.apache.catalina.tribes.membership.McastService</ 
> attribute>
> 	        <attribute name="initParams">
> 	            mcastAddr=228.0.0.4
> 	            mcastPort=45564
> 	            mcastFrequency=500
> 	            mcastDropTime=3000
> 	        </attribute>
> 	    </gbean>
> 	    <gbean class="org.apache.geronimo.tomcat.cluster.ReceiverGBean"
> name="TomcatReceiver">
> 	        <attribute
> name 
> ="className">org.apache.catalina.tribes.transport.nio.NioReceiver</ 
> attribute>
> 	        <attribute name="initParams">
> 	            tcpListenAddress=192.168.133.96
> 	            tcpListenPort=4001
> 	            tcpSelectorTimeout=100
> 	            tcpThreadCount=6
> 	        </attribute>
> 	    </gbean>
> 	    <gbean class="org.apache.geronimo.tomcat.cluster.SenderGBean"
> name="TomcatSender">
> 	        <attribute
> name 
> = 
> "className 
> ">org.apache.catalina.tribes.transport.ReplicationTransmitter</ 
> attribute>
> 	        <attribute name="initParams">
> 	            replicationMode=pooled
> 	            waitForAck=true
> 	        </attribute>
> 	    </gbean>
> 	    <gbean class="org.apache.geronimo.tomcat.ValveGBean"
> name="ReplicationValve">
> 	        <attribute
> name="className">org.apache.catalina.ha.tcp.ReplicationValve</ 
> attribute>
> 	        <attribute
> name="initParams">filter=.*\.gif;.*\.js;.*\.css;.*\.png;.*\.jpeg;.* 
> \.jpg;.*\.htm;.*\.html;.*\.txt;</attribute>
> 	        <reference name="NextValve">
> 	            <name>JvmRouteBinderValve</name>
> 	        </reference>
> 	    </gbean>
> 	    <gbean class="org.apache.geronimo.tomcat.ValveGBean"
> name="JvmRouteBinderValve">
> 	        <attribute
> name="className">org.apache.catalina.ha.session.JvmRouteBinderValve</ 
> attribute>
> 	        <attribute name="initParams">enabled=true</attribute>
> 	    </gbean>
> 	    <gbean  
> class="org.apache.geronimo.tomcat.cluster.ClusterListenerGBean"
> name="ClusterSessionListener">
> 	        <attribute
> name 
> ="className">org.apache.catalina.ha.session.ClusterSessionListener</ 
> attribute>
> 	        <reference name="NextListener">
> 	            <name>JvmRouteSessionIDBinderListener</name>
> 	        </reference>
> 	    </gbean>
> 	    <gbean  
> class="org.apache.geronimo.tomcat.cluster.ClusterListenerGBean"
> name="JvmRouteSessionIDBinderListener">
> 	        <attribute
> name 
> = 
> "className 
> ">org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener</ 
> attribute>
> 	    </gbean>
> 	    <gbean
> class="org.apache.geronimo.tomcat.cluster.ChannelInterceptorGBean"
> name="TomcatChannelInterceptor">
> 	        <attribute
> name 
> = 
> "className 
> ">org.apache.catalina.tribes.group.interceptors.TcpFailureDetector</ 
> attribute>
> 	    </gbean>
>
> 	
> 	<!-- end of deploy the application to cluster -->
> 	<gbean-ref>
> 		<ref-name>focalpoint/filestorage</ref-name>
> 		<ref-type>
> 			com.telelogic.focalpoint.tools.filestorage.FileStorage
> 		</ref-type>
> 		<pattern>
> 			<name>focalpoint/filestorage</name>
> 		</pattern>
> 	</gbean-ref>
> 	
> 	<gbean-ref>
> 		<ref-name>focalpoint/initjndi</ref-name>
> 		<ref-type>
> 			com.telelogic.focalpoint.bus.InitialResourceContext
> 			<!--  
> com.telelogic.focalpoint.tools.jndi.gBeans.InitialResourceContext
> -->
> 		</ref-type>
> 		<pattern>
> 		<name>focalpoint/initjndi</name>
> 		</pattern>
> 	</gbean-ref>	
> 	
> 	<resource-ref>
> 		<ref-name>jdbc/focalpoint</ref-name>
> 		<pattern>
> 			<groupId>console.dbpool</groupId>
> 			<artifactId>fpdbpool</artifactId>
> 			<name>fpdbpool</name>
> 		</pattern>
> 	</resource-ref>
> 	
> 	
> 	<sys:gbean name="FPLogger"
> 		class="com.telelogic.focalpoint.tools.log.LogInitGBean">
> 		<sys:attribute name="logResource">			
> 			fp-logging.properties
> 		</sys:attribute>
> 	</sys:gbean>
> 	<sys:gbean name="focalpoint/filestorage"
> 		class="com.telelogic.focalpoint.tools.filestorage.FileStorageDB">
> 		<sys:attribute name="basePath">
> 		</sys:attribute>
> 	</sys:gbean>
> 	
> 	<!--  GBEANS Created to let user set the runtime parameters to be  
> used by
> application  -->
> 	
> 	<!-- sys:gbean name="focalpoint/initjndi"
> class 
> ="com.telelogic.focalpoint.tools.jndi.gBeans.InitialResourceContext"
> -->
> 	<sys:gbean name="focalpoint/initjndi"
> class="com.telelogic.focalpoint.bus.InitialResourceContext" >
> 		<!-- REFER DOCUMENTATION BEFORE INSERTING/EDITING VALUE -->
> 		
> 		<sys:attribute name="licenseLocation">
> 		
> 		</sys:attribute>
> 		
> 		<sys:attribute name="dataStorage">
> 		 TABLESPACE FP_DATA STORAGE (initial 1m next 1m pctincrease 0)
> 		</sys:attribute>
> 		
> 		<sys:attribute name="indexStorage">
> 		 TABLESPACE FP_INDEX STORAGE (initial 1m next 1m pctincrease 0)
> 		</sys:attribute>
> 		
> 		<sys:attribute name="bigObjStorage">
> 		  TABLESPACE FP_BIGOBJ STORAGE (initial 1m next 1m pctincrease 0)
> 		</sys:attribute>
> 		
> 		<sys:attribute name="defaultLocale">
> 		
> 		</sys:attribute>
> 		
> 		<sys:attribute name="fontFile">
> 		
> 		</sys:attribute>
> 			
> 			<!-- name="defaultStorage" -->
> 			<!--
> 				  TABLE SPACE NAME MADATORY IF DB IS ORACLE/DB2
> 				  typical default values are
> 			
> 			      FOR ORACLE 	[TABLESPACE FP_DATA STORAGE (initial 1m next 1m
> pctincrease 0)]
> 			      FOR DB2		[IN FP_DATA]
> 			      FOR POSTGRES  []
> 			 --> 			
> 			<!-- name="indexStorage" -->
> 			<!--
> 				  TABLE SPACE NAME MADATORY IF DB IS ORACLE/DB2	
> 				  typical default values are
> 			
> 			      FOR ORACLE 	[TABLESPACE FP_INDEX STORAGE (initial 1m next 1m
> pctincrease 0)]
> 			      FOR DB2		[IN FP_INDEX]
> 			      FOR POSTGRES  []
> 			 -->
> 			<!-- name="bigObjStorage" -->
> 			<!--
> 				  TABLE SPACE NAME MADATORY IF DB IS ORACLE/DB2
> 				  typical default values are
> 			
> 			      FOR ORACLE 	[TABLESPACE FP_BIGOBJ STORAGE (initial 1m next 1m
> pctincrease 0)]
> 			      FOR DB2		[IN FP_BIGOBJ]
> 			      FOR POSTGRES  []
> 			 --> 		
> 			<!--   name="defaultLocale"
> 					MANDATORY FIELD.
> 					FOLLOWS JAVA CONVENTION OF LOCALE SETTING i.e.,<LANGUAGE,COUNTRY>
> 			-->		
> 			<!-- name="fontFile" -->
> 			<!--
> 				 NOT MANDATORY
> 				 FONT FILE LOCATION IN most cases. USED TO RENDER FONTS IN PDF  
> REPORTS
> FOR FEW LANGUAGES like japanese.
> 				 NOT NEEDED FOR MOST LANGUAGES.
> 			-->
> 	</sys:gbean>
>
> </web-app>
>
> config.xml is as follows
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <attributes xmlns:ns2="http://geronimo.apache.org/xml/ns/plugins-1.3"
> xmlns="http://geronimo.apache.org/xml/ns/attributes-1.2">
>    <comment>
> ==================================================================
> Warning - This XML file is regenerated by Geronimo whenever
> changes are made to Geronimo's configuration.
>
> If you want to include comments, create a single comment element
> element.  They are allowable at any level of the configuration.
>
> !!!! Do not edit this file while Geronimo is running !!!!
> ==================================================================</ 
> comment>
>    <module name="org.apache.geronimo.framework/client-system/2.1.1/ 
> car"
> load="false"/>
>    <module name="org.apache.geronimo.framework/online-deployer/2.1.1/ 
> car"
> load="false"/>
>    <module name="org.apache.geronimo.framework/gshell-geronimo/2.1.1/ 
> car"/>
>    <module
> name="org.apache.geronimo.framework/gshell-framework/2.1.1/car"/>
>    <module name="org.apache.geronimo.framework/j2ee-system/2.1.1/ 
> car"/>
>    <module name="org.apache.geronimo.framework/shutdown/2.1.1/car"
> load="false"/>
>    <module
> name="org.apache.geronimo.framework/transformer-agent/2.1.1/car"/>
>    <module name="com.ibm.wasce.configs/collector-tool-config/2.1.0.1/ 
> car"/>
>    <module
> name="com.ibm.wasce.configs/collector-tool-agent-config/2.1.0.1/car"/>
>    <module name="org.apache.geronimo.configs/jasper/2.1.1/car"/>
>    <module name="org.apache.geronimo.configs/j2ee-server/2.1.1/car"/>
>    <module name="org.apache.geronimo.framework/rmi-naming/2.1.1/car">
>        <gbean name="RMIRegistry">
>            <attribute name="port">${NamingPort + PortOffset}</ 
> attribute>
>        </gbean>
>        <gbean name="NamingProperties">
>            <attribute
> name="namingProviderUrl">rmi://${ServerHostname}:${NamingPort +
> PortOffset}</attribute>
>        </gbean>
>        <gbean name="DefaultThreadPool">
>            <attribute name="keepAliveTime">30000</attribute>
>            <attribute name="minPoolSize">${MinThreadPoolSize}</ 
> attribute>
>            <attribute name="maxPoolSize">${MaxThreadPoolSize}</ 
> attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.framework/jee-specs/2.1.1/car"/>
>    <module
> name="org.apache.geronimo.framework/server-security-config/2.1.1/ 
> car"/>
>    <module name="org.apache.geronimo.framework/j2ee-security/2.1.1/ 
> car">
>        <gbean name="JMXService">
>            <attribute name="protocol">rmi</attribute>
>            <attribute name="host">${ServerHostname}</attribute>
>            <attribute name="port">${JMXPort + PortOffset}</attribute>
>            <attribute
> name="urlPath">/jndi/rmi://${ServerHostname}:${NamingPort +
> PortOffset}/JMXConnector</attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/transaction/2.1.1/car">
>        <gbean name="XidFactory">
>            <attribute name="tmId">${TmId}</attribute>
>        </gbean>
>        <gbean name="ResourceBindings">
>            <attribute name="format">${ResourceBindingsFormat}</ 
> attribute>
>            <attribute
> name="nameInNamespace">${ResourceBindingsNameInNamespace}</attribute>
>            <attribute
> name="namePattern">${ResourceBindingsNamePattern}</attribute>
>            <attribute
> name="abstractNameQuery">${ResourceBindingsQuery}</attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/tomcat6/2.1.1/car">
>        <gbean name="TomcatEngine">
>            <attribute name="initParams">name=WASCE
> 	    jvmRoute=node1</attribute>
>        </gbean>
>        <gbean name="TomcatWebConnector">
>            <attribute name="host">${ServerHostname}</attribute>
>            <attribute name="port">${HTTPPort + PortOffset}</attribute>
>            <attribute name="redirectPort">${HTTPSPort +
> PortOffset}</attribute>
>            <attribute name="maxHttpHeaderSize">8192</attribute>
>            <attribute name="maxThreads">150</attribute>
>            <attribute name="minSpareThreads">25</attribute>
>            <attribute name="maxSpareThreads">75</attribute>
>            <attribute name="enableLookups">false</attribute>
>            <attribute name="acceptCount">100</attribute>
>            <attribute
> name="connectionTimeout">${WebConnectorConTimeout}</attribute>
>            <attribute name="disableUploadTimeout">true</attribute>
>        </gbean>
>        <gbean name="TomcatAJPConnector">
>            <attribute name="host">${ServerHostname}</attribute>
>            <attribute name="port">${AJPPort + PortOffset}</attribute>
>            <attribute name="redirectPort">${HTTPSPort +
> PortOffset}</attribute>
>            <attribute name="minSpareThreads">25</attribute>
>            <attribute name="maxSpareThreads">75</attribute>
>            <attribute name="enableLookups">false</attribute>
>        </gbean>
>        <gbean name="TomcatWebSSLConnector">
>            <attribute name="host">${ServerHostname}</attribute>
>            <attribute name="port">${HTTPSPort + PortOffset}</ 
> attribute>
>            <attribute name="maxHttpHeaderSize">8192</attribute>
>            <attribute name="maxThreads">150</attribute>
>            <attribute name="minSpareThreads">25</attribute>
>            <attribute name="maxSpareThreads">75</attribute>
>            <attribute name="enableLookups">false</attribute>
>            <attribute name="acceptCount">100</attribute>
>            <attribute name="disableUploadTimeout">false</attribute>
>            <attribute name="clientAuth">false</attribute>
>            <attribute name="algorithm">Default</attribute>
>            <attribute name="sslProtocol">TLS</attribute>
>            <attribute
> name="keystoreFile">var/security/keystores/geronimo-default</ 
> attribute>
>            <attribute name="keystorePass">secret</attribute>
>            <attribute name="keystoreType">JKS</attribute>
>        </gbean>
>        <gbean name="TomcatHost">
>            <attribute name="initParams">name=${ServerHostname}
>                                        appBase=
>                                        workDir=work</attribute>
>        </gbean>
>    </module>
>    <module
> name="org.apache.geronimo.configs/webservices-common/2.1.1/car"/>
>    <module name="org.apache.geronimo.framework/xmlbeans/2.1.1/car"/>
>    <module name="org.apache.geronimo.framework/plugin/2.1.1/car">
>        <gbean name="DownloadedPluginRepos">
>            <attribute
> name="repositoryList">http://download.boulder.ibm.com/ibmdl/pub/software/websphere/wasce/plugins-2.1.0.1/default-repositories.txt 
> </attribute>
>            <attribute name="userRepositories">~/.m2/repository</ 
> attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/farming/2.1.1/car"
> load="false">
>        <gbean name="NodeInfo">
>            <attribute name="name">${clusterNodeName}</attribute>
>        </gbean>
>        <gbean name="ClusterInfo">
>            <attribute name="name">${clusterName}</attribute>
>        </gbean>
>    </module>
>    <module
> name="org.apache.geronimo.framework/geronimo-gbean-deployer/2.1.1/ 
> car">
>        <gbean name="Deployer">
>            <attribute
> name="remoteDeployAddress">http://${RemoteDeployHostname}:${HTTPPort +
> PortOffset}</attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/openejb/2.1.1/car">
>        <gbean name="EJBNetworkService">
>            <attribute name="port">${OpenEJBPort + PortOffset}</ 
> attribute>
>            <attribute name="host">${ServerHostname}</attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/system-database/2.1.1/ 
> car">
>        <gbean name="DerbyNetwork">
>            <attribute name="host">${ServerHostname}</attribute>
>            <attribute name="port">${DerbyPort + PortOffset}</ 
> attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/derby/2.1.1/car"/>
>    <module name="org.apache.geronimo.configs/activemq-broker/2.1.1/ 
> car">
>        <gbean name="ActiveMQ.tcp.default">
>            <attribute name="host">${ServerHostname}</attribute>
>            <attribute name="port">${ActiveMQPort + PortOffset}</ 
> attribute>
>        </gbean>
>        <gbean name="ActiveMQ.stomp.default">
>            <attribute name="host">${ServerHostname}</attribute>
>            <attribute name="port">${ActiveMQStompPort +
> PortOffset}</attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/openjpa/2.1.1/car"/>
>    <module name="org.apache.geronimo.configs/axis/2.1.1/car"/>
>    <module name="org.apache.geronimo.configs/axis2/2.1.1/car"/>
>    <module name="org.apache.geronimo.configs/axis2-ejb/2.1.1/car"/>
>    <module name="org.apache.geronimo.configs/j2ee-corba-yoko/2.1.1/ 
> car">
>        <gbean name="NameServer">
>            <attribute name="port">${COSNamingPort + PortOffset}</ 
> attribute>
>            <attribute name="host">${COSNamingHost}</attribute>
>        </gbean>
>        <gbean name="Server">
>            <attribute name="port">${ORBSSLPort + PortOffset}</ 
> attribute>
>            <attribute name="host">${ORBSSLHost}</attribute>
>        </gbean>
>        <gbean name="UnprotectedServer">
>            <attribute name="port">${ORBPort + PortOffset}</attribute>
>            <attribute name="host">${ORBHost}</attribute>
>        </gbean>
>    </module>
>    <module
> name="org.apache.geronimo.configs/tomcat6-clustering-wadi/2.1.1/car"
> load="false"/>
>    <module name="org.apache.geronimo.configs/wadi-clustering/2.1.1/ 
> car"
> load="false">
>        <gbean name="DefaultBackingStrategyFactory">
>            <attribute name="nbReplica">${ReplicaCount}</attribute>
>        </gbean>
>        <gbean name="DefaultDispatcherHolder">
>            <attribute name="endPointURI">${EndPointURI}</attribute>
>            <attribute name="clusterName">${ClusterName}</attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/clustering/2.1.1/car">
>        <gbean name="Node">
>            <attribute name="nodeName">${clusterNodeName}</attribute>
>        </gbean>
>    </module>
>    <module
> name="org.apache.geronimo.configs/tomcat6-clustering-builder-wadi/ 
> 2.1.1/car">
>        <gbean name="TomcatClusteringBuilder">
>            <attribute
> name="defaultSweepInterval">${DefaultWadiSweepInterval}</attribute>
>            <attribute
> name="defaultNumPartitions">${DefaultWadiNumPartitions}</attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/tomcat6-deployer/2.1.1/ 
> car"/>
>    <module name="org.apache.geronimo.configs/connector-deployer/ 
> 2.1.1/car">
>        <gbean name="ResourceRefBuilder">
>            <attribute
> name="eeNamespaces">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee 
> </attribute>
>            <attribute
> propertyEditor 
> ="org.apache.geronimo.deployment.service.EnvironmentBuilder"
> name="corbaEnvironment">
>                <environment:environment
> xmlns:environment="http://geronimo.apache.org/xml/ns/deployment-1.2">
>                    <environment:dependencies>
>                        <environment:dependency>
>
> <environment:groupId>org.apache.geronimo.configs</environment:groupId>
>
> <environment:artifactId>j2ee-corba-yoko</environment:artifactId>
>                            <environment:type>car</environment:type>
>            </environment:dependency>
>          </environment:dependencies>
>        </environment:environment></attribute>
>        </gbean>
>        <gbean name="AdminObjectRefBuilder">
>            <attribute
> name="eeNamespaces">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee 
> </attribute>
>        </gbean>
>        <gbean name="ClientResourceRefBuilder">
>            <attribute
> name="eeNamespaces">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee 
> </attribute>
>            <attribute
> propertyEditor 
> ="org.apache.geronimo.deployment.service.EnvironmentBuilder"
> name="corbaEnvironment">
>                <environment:environment
> xmlns:environment="http://geronimo.apache.org/xml/ns/deployment-1.2">
>                    <environment:dependencies>
>                        <environment:dependency>
>
> <environment:groupId>org.apache.geronimo.configs</environment:groupId>
>
> <environment:artifactId>client-corba-yoko</environment:artifactId>
>                            <environment:type>car</environment:type>
>            </environment:dependency>
>          </environment:dependencies>
>        </environment:environment></attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/j2ee-deployer/2.1.1/car">
>        <gbean name="WebBuilder">
>            <attribute
> name="defaultNamespace">http://geronimo.apache.org/xml/ns/j2ee/web/jetty-2.0 
> </attribute>
>        </gbean>
>        <gbean name="EnvironmentEntryBuilder">
>            <attribute
> name="eeNamespaces">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee 
> </attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/activemq-ra/2.1.1/car">
>        <gbean name="ActiveMQ RA">
>            <attribute
> name="ServerUrl">tcp://${ServerHostname}:${ActiveMQPort +
> PortOffset}</attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/client/2.1.1/car"
> load="false"/>
>    <module name="org.apache.geronimo.configs/client-security/2.1.1/ 
> car"
> load="false"/>
>    <module name="org.apache.geronimo.configs/client-corba-yoko/2.1.1/ 
> car"
> load="false"/>
>    <module name="org.apache.geronimo.configs/javamail/2.1.1/car">
>        <gbean name="SMTPTransport">
>            <attribute name="host">${SMTPHost}</attribute>
>            <attribute name="port">${SMTPPort}</attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/jasper-deployer/2.1.1/ 
> car"/>
>    <module name="org.apache.geronimo.configs/myfaces/2.1.1/car"/>
>    <module name="org.apache.geronimo.configs/myfaces-deployer/2.1.1/ 
> car"/>
>    <module name="org.apache.geronimo.framework/offline-deployer/ 
> 2.1.1/car"
> load="false"/>
>    <module name="org.apache.geronimo.configs/openejb-deployer/2.1.1/ 
> car">
>        <gbean name="EjbRefBuilder">
>            <attribute
> name="eeNamespaces">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee 
> </attribute>
>        </gbean>
>        <gbean name="ClientEjbRefBuilder">
>            <attribute
> name="eeNamespaces">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee 
> </attribute>
>            <attribute name="host">${ServerHostname}</attribute>
>            <attribute name="port">${OpenEJBPort + PortOffset}</ 
> attribute>
>        </gbean>
>    </module>
>    <module
> name="org.apache.geronimo.configs/openejb-corba-deployer/2.1.1/car"/>
>    <module
> name="org.apache.geronimo.configs/persistence-jpa10-deployer/2.1.1/ 
> car">
>        <gbean name="PersistenceUnitBuilder">
>            <attribute
> name 
> = 
> "defaultPersistenceProviderClassName 
> ">org.apache.openjpa.persistence.PersistenceProviderImpl</attribute>
>            <attribute
> name="defaultPersistenceUnitProperties">openjpa.Log=commons
>
> openjpa.jdbc.SynchronizeMappings=buildSchema(ForeignKeys=true)
>
> openjpa.jdbc.UpdateManager=operation-order
>
> openjpa.Sequence=table(Table=OPENJPASEQ, Increment=100)</attribute>
>            <attribute
> propertyEditor 
> ="org.apache.geronimo.deployment.service.EnvironmentBuilder"
> name="defaultEnvironment">
>                <environment:environment
> xmlns:environment="http://geronimo.apache.org/xml/ns/deployment-1.2">
>                    <environment:dependencies>
>                        <environment:dependency>
>
> <environment:groupId>org.apache.geronimo.configs</environment:groupId>
>
> <environment:artifactId>openjpa</environment:artifactId>
>                            <environment:type>car</environment:type>
>            </environment:dependency>
>          </environment:dependencies>
>        </environment:environment></attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/axis-deployer/2.1.1/car">
>        <gbean name="AxisModuleBuilderExtension">
>            <attribute name="listener">?name=${webcontainer}</ 
> attribute>
>            <attribute
> propertyEditor 
> ="org.apache.geronimo.deployment.service.EnvironmentBuilder"
> name="defaultEnvironment">
>                <environment:environment
> xmlns:environment="http://geronimo.apache.org/xml/ns/deployment-1.2">
>                    <environment:dependencies>
>                        <environment:dependency>
>
> <environment:groupId>org.apache.geronimo.configs</environment:groupId>
>
> <environment:artifactId>${webcontainerName}</environment:artifactId>
>                            <environment:type>car</environment:type>
>            </environment:dependency>
>          </environment:dependencies>
>        </environment:environment></attribute>
>        </gbean>
>    </module>
>    <module name="org.apache.geronimo.configs/axis2-deployer/2.1.1/car"
> condition="props['org.apache.geronimo.jaxws.provider'] == 'axis2' or
> (props['org.apache.geronimo.jaxws.provider'] == null and  
> webcontainerName ==
> 'tomcat6')"/>
>    <module name="org.apache.geronimo.configs/jaxws-deployer/2.1.1/ 
> car"/>
>    <module name="org.apache.geronimo.configs/axis2-ejb-deployer/ 
> 2.1.1/car"
> condition="props['org.apache.geronimo.jaxws.provider'] == 'axis2' or
> (props['org.apache.geronimo.jaxws.provider'] == null and  
> webcontainerName ==
> 'tomcat6')">
>        <gbean name="Axis2ModuleBuilderExtension">
>            <attribute name="listener">?name=${webcontainer}</ 
> attribute>
>        </gbean>
>    </module>
>    <module
> name="org.apache.geronimo.configs/jaxws-ejb-deployer/2.1.1/car"/>
>    <module name="org.apache.geronimo.configs/client-deployer/2.1.1/ 
> car"/>
>    <module name="org.apache.geronimo.configs/client-transaction/ 
> 2.1.1/car"
> load="false"/>
>    <module name="org.apache.geronimo.configs/hot-deployer/2.1.1/car">
>        <gbean name="HotDeployer">
>            <attribute name="path">deploy/</attribute>
>            <attribute name="pollIntervalMillis">2000</attribute>
>        </gbean>
>    </module>
>    <module name="com.ibm.wasce.configs/welcome-tomcat/2.1.0.1/car"/>
>    <module name="org.apache.geronimo.plugins/console-tomcat/2.1.1/ 
> car"/>
>    <module name="org.apache.geronimo.plugins/pluto-support/2.1.1/ 
> car"/>
>    <module name="org.apache.geronimo.configs/spring/2.1.1/car"/>
>    <module
> name="org.apache.geronimo.plugins/plugin-console-tomcat/2.1.1/car"/>
>    <module
> name="org.apache.geronimo.plugins/debugviews-console-tomcat/2.1.1/ 
> car"/>
>    <module
> name="org.apache.geronimo.configs/dojo-legacy-tomcat/2.1.1/car"/>
>    <module
> name="org.apache.geronimo.plugins/sysdb-console-tomcat/2.1.1/car"/>
>    <module
> name="org.apache.geronimo.plugins/activemq-console-tomcat/2.1.1/car"/>
>    <module
> name="org.apache.geronimo.plugins/plancreator-console-tomcat/2.1.1/ 
> car"/>
>    <module
> name="org.apache.geronimo.configs/remote-deploy-tomcat/2.1.1/car"/>
>    <module name="org.apache.geronimo.configs/uddi-tomcat/2.1.1/car"/>
>    <module name="org.apache.geronimo.configs/ca-helper-tomcat/2.1.1/ 
> car"/>
>    <module name="org.apache.geronimo.framework/upgrade-cli/2.1.1/car"
> load="false"/>
>    <module name="org.apache.geronimo.configs/sharedlib/2.1.1/car"/>
>    <module name="org.apache.geronimo.configs/mejb/2.1.1/car"/>
>    <module name="org.apache.geronimo.configs/dojo-tomcat/2.1.1/car"/>
>    <module name="org.apache.geronimo.plugins/agent/2.1.1/car"/>
>    <module name="org.apache.geronimo.plugins/agent-ds/2.1.1/car"/>
>    <module name="org.apache.geronimo.plugins/mconsole-tomcat/2.1.1/ 
> car"/>
>    <module name="org.apache.geronimo.plugins/mconsole-ds/2.1.1/car"/>
>    <module name="org.apache.geronimo.framework/jmx-security/2.1.1/car"
> load="false">
>        <gbean name="JMXSecureConnector">
>            <attribute name="protocol">rmi</attribute>
>            <attribute name="host">${ServerHostname}</attribute>
>            <attribute name="port">${JMXSecurePort + PortOffset}</ 
> attribute>
>            <attribute
> name="urlPath">/jndi/rmi://${ServerHostname}:${NamingPort +
> PortOffset}/JMXSecureConnector</attribute>
>        </gbean>
>    </module>
>    <module name="com.ibm.wasce.configs/db2v82/2.1.0.1/car"/>
>    <module name="com.ibm.wasce.configs/db2v91/2.1.0.1/car"/>
>    <module name="com.ibm.wasce.configs/db2v95/2.1.0.1/car"/>
>    <module name="console.dbpool/fpdbpool/1.0/rar"/>
>    <module
> name="org.apache.geronimo.configs/jsr88-ear-configurer/2.1.1/car"
> load="false"/>
>    <module
> name="org.apache.geronimo.configs/jsr88-jar-configurer/2.1.1/car"
> load="false"/>
>    <module
> name="org.apache.geronimo.configs/jsr88-war-configurer/2.1.1/car"
> load="false"/>
>    <module
> name="org.apache.geronimo.framework/jsr88-deploymentfactory/2.1.1/car"
> load="false"/>
> </attributes>
>
>
> Please guide me where I went wrong. Also if there is any document  
> available
> regarding tomcat native clusters using geronimo v2.1, please let me  
> know.
> Thanks in advance
> -- 
> View this message in context: http://www.nabble.com/Unable-to-deploy-with-Tomcat-Native-Clusters-tp22804936s134p22804936.html
> Sent from the Apache Geronimo - Users mailing list archive at  
> Nabble.com.
>


Mime
View raw message