Coherence-cache-config.xml not visible from EAR

hello all.
I've met following issues. The coherence does not see my custom cache-config.xml and thereby uses the default from coherence.jar.
Environment:
1. WLS 10.3, Coherence 3.7, jvm 1.6
2. the active-cache is deployed as shared library
3. the dedicated coherence cluster is configured through WLS Admin console and all started with -Dtangosol.coherence.cacheconfig=d:\OracleFM\R11.1.1.5\WLSGeneric\user_projects\domains\mvn_domain1\coherence-config\coherence-cache-config.xml.. The output shows that the cluster is started and my cache service is started also:
Services
ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.7.1, OldestMemberId=1}
InvocationService{Name=Management, State=(SERVICE_STARTED), Id=1, Version=3.1, OldestMemberId=1}
PartitionedCache{Name=MVN_Test_Service, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}
Cache services are configured with auto-start=true
4. the coherence.jar is placed in EAR\lib\coherence.jar
5. I've got tried to place coherence-cache-config.xml in the following places within EAR
EAR
APP-INF\classes\coherence-cache-config.xml
EAR
lib\coherence-cache-config.xml
EAR
MyModule.jar\META-INF\coherence-cache-config.xml
The result is that coherence uses default config file from coherence.jar instead of the custom one that deployed with EAR. In fact I do not have ideas what is wrong there....
And yet, the coherence that deployed with EAR sucessfully joined to cluster, but only to Service Management. From output: "Member 2 joined Service Management with senior member 1"
Edited by: mvnval on Feb 15, 2012 3:41 AM
Edited by: mvnval on Feb 15, 2012 3:42 AM

Hello Robert. Thanks for prompt reply.
If by saying that you deployed coherence.jar as a shared library means that you put it on the server classpath
In fact I didn't say that. I said that "4. the coherence.jar is placed in EAR\lib\coherence.jar"
Below the output from dedicated Coherence server
+<Feb 16, 2012 4:09:03 AM> <INFO> <NodeManager> <Server output log file is 'D:\OracleFM\R11.1.1.5\WLSGeneric\user_projects\domains\mvn_domain1\servers_coherence\Coherence37Server-0\logs\Coherence37Server-0.out'>+
+2012-02-16 11:39:04.133/0.928 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/D:/OracleFM/R11.1.1.5/WLSGeneric/coherence_3.7.1/lib/coherence.jar!/tangosol-coherence.xml"+
+2012-02-16 11:39:04.578/1.373 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/D:/OracleFM/R11.1.1.5/WLSGeneric/coherence_3.7.1/lib/coherence.jar!/tangosol-coherence-override-dev.xml"+
+2012-02-16 11:39:04.579/1.374 Oracle Coherence 3.7.1.0 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified+
+2012-02-16 11:39:04.586/1.381 Oracle Coherence 3.7.1.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified+
Oracle Coherence Version 3.7.1.0 Build 27797
Grid Edition: Development mode
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
+2012-02-16 11:39:07.080/3.875 Oracle Coherence GE 3.7.1.0 <D4> (thread=main, member=n/a): TCMP bound to /10.6.12.61:9888 using SystemSocketProvider+
+2012-02-16 11:39:10.591/7.386 Oracle Coherence GE 3.7.1.0 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0x75CB" with Member(Id=1, Timestamp=2012-02-16 11:39:07.242, Address=10.6.12.61:9888, MachineId=54771, Location=site:,machine:EPBYMINW0269,process:3012,member:Coherence37Server-0, Role=WeblogicWeblogicCacheServer, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=4) UID=0x0A060C3D0000013585509CEAD5F326A0+
+2012-02-16 11:39:10.597/7.392 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=n/a): Started cluster Name=cluster:0x75CB+
+Group{Address=231.1.1.1, Port=7777, TTL=4}+
MasterMemberSet(
ThisMember=Member(Id=1, Timestamp=2012-02-16 11:39:07.242, Address=10.6.12.61:9888, MachineId=54771, Location=site:,machine:EPBYMINW0269,process:3012,member:Coherence37Server-0, Role=WeblogicWeblogicCacheServer)
OldestMember=Member(Id=1, Timestamp=2012-02-16 11:39:07.242, Address=10.6.12.61:9888, MachineId=54771, Location=site:,machine:EPBYMINW0269,process:3012,member:Coherence37Server-0, Role=WeblogicWeblogicCacheServer)
ActualMemberSet=MemberSet(Size=1
Member(Id=1, Timestamp=2012-02-16 11:39:07.242, Address=10.6.12.61:9888, MachineId=54771, Location=site:,machine:EPBYMINW0269,process:3012,member:Coherence37Server-0, Role=WeblogicWeblogicCacheServer)
+)+
MemberId|ServiceVersion|ServiceJoined|MemberState
+1|3.7.1|2012-02-16 11:39:10.592|JOINED+
RecycleMillis=1200000
RecycleSet=MemberSet(Size=0
+)+
+)+
+TcpRing{Connections=[]}+
+IpMonitor{AddressListSize=0}+
+2012-02-16 11:39:10.629/7.424 Oracle Coherence GE 3.7.1.0 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1+
+2012-02-16 11:39:10.845/7.640 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1+
+2012-02-16 11:39:10.936/7.731 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluster, member=1): Member(Id=2, Timestamp=2012-02-16 11:39:10.74, Address=10.6.12.61:9890, MachineId=54771, Location=site:,machine:EPBYMINW0269,process:3592,member:Coherence37Server-1, Role=WeblogicWeblogicCacheServer) joined Cluster with senior member 1+
+2012-02-16 11:39:10.962/7.757 Oracle Coherence GE 3.7.1.0 <D5> (thread=ReplicatedCache, member=1): Service ReplicatedCache joined the cluster with senior service member 1+
+2012-02-16 11:39:10.975/7.770 Oracle Coherence GE 3.7.1.0 <D5> (thread=OptimisticCache, member=1): Service OptimisticCache joined the cluster with senior service member 1+
+2012-02-16 11:39:10.986/7.781 Oracle Coherence GE 3.7.1.0 <D5> (thread=Invocation:InvocationService, member=1): Service InvocationService joined the cluster with senior service member 1+
+2012-02-16 11:39:10.989/7.785 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=1):+
Services
+(+
+ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.7.1, OldestMemberId=1}+
+InvocationService{Name=Management, State=(SERVICE_STARTED), Id=1, Version=3.1, OldestMemberId=1}+
+PartitionedCache{Name=DistributedCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}+
+ReplicatedCache{Name=ReplicatedCache, State=(SERVICE_STARTED), Id=3, Version=3.0, OldestMemberId=1}+
+Optimistic{Name=OptimisticCache, State=(SERVICE_STARTED), Id=4, Version=3.0, OldestMemberId=1}+
+InvocationService{Name=InvocationService, State=(SERVICE_STARTED), Id=5, Version=3.1, OldestMemberId=1}+
+)+
Started DefaultCacheServer...
+2012-02-16 11:39:10.994/7.789 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluster, member=1): Member 2 joined Service Management with senior member 1+
+2012-02-16 11:39:11.297/8.092 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluster, member=1): Member 2 joined Service DistributedCache with senior member 1+
+2012-02-16 11:39:11.330/8.125 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache, member=1): 3> Transferring primary PartitionSet{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127} to member 2 requesting 128+
+2012-02-16 11:39:11.369/8.164 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluster, member=1): Member 2 joined Service ReplicatedCache with senior member 1+
+2012-02-16 11:39:11.373/8.168 Oracle Coherence GE 3.7.1.0 <D4> (thread=DistributedCache, member=1): 1> Transferring 129 out of 129 partitions to a node-safe backup 1 at member 2 (under 129)+
+2012-02-16 11:39:11.399/8.194 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache, member=1): Transferring 0KB of backup[1] for PartitionSet{128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256} to member 2+
+2012-02-16 11:39:11.443/8.238 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluster, member=1): Member 2 joined Service OptimisticCache with senior member 1+
+2012-02-16 11:39:11.461/8.256 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluster, member=1): Member 2 joined Service InvocationService with senior member 1+
+2012-02-16 12:00:31.435/1288.230 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluster, member=1): Member(Id=3, Timestamp=2012-02-16 12:00:31.425, Address=10.6.12.61:8888, MachineId=54771, Location=site:,machine:EPBYMINW0269,process:6252, Role=WeblogicServer) joined Cluster with senior member 1+
+2012-02-16 12:00:31.726/1288.521 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluster, member=1): Member(Id=4, Timestamp=2012-02-16 12:00:31.7, Address=10.6.12.61:8890, MachineId=54771, Location=site:,machine:EPBYMINW0269,process:7116, Role=WeblogicServer) joined Cluster with senior member 1+
+2012-02-16 12:00:31.758/1288.553 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluster, member=1): Member 3 joined Service Management with senior member 1+
+2012-02-16 12:00:32.092/1288.887 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluster, member=1): Member 4 joined Service Management with senior member 1+
You may see that I have two dedicated Coherence servers member 1 and member 2 that joined in coherence cluster. The member 3 and member 4 are WLS deployed coherence. I mean that I have two WLS that configured to join Coherence cluster, and it's happened after the application had been deployed on both of them. You may see that the two last joined only to Service Management
There is the output from WLS-out:
+2012-02-16 12:00:29.071/1219.089 Oracle Coherence 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational configuration from "zip:D:/OracleFM/R11.1.1.5/WLSGeneric/user_projects/domains/mvn_domain1/servers/WLSServer-1/tmp/_WL_user/TestEAR/g0yzyu/lib/coherence.jar!/tangosol-coherence.xml"+
+2012-02-16 12:00:29.173/1219.191 Oracle Coherence 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational overrides from "zip:D:/OracleFM/R11.1.1.5/WLSGeneric/user_projects/domains/mvn_domain1/servers/WLSServer-1/tmp/_WL_user/TestEAR/g0yzyu/lib/coherence.jar!/tangosol-coherence-override-dev.xml"+
+2012-02-16 12:00:29.175/1219.193 Oracle Coherence 3.7.1.0 <D5> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified+
+2012-02-16 12:00:29.179/1219.197 Oracle Coherence 3.7.1.0 <D5> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified+
Oracle Coherence Version 3.7.1.0 Build 27797
Grid Edition: Development mode
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
+2012-02-16 12:00:30.069/1220.087 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded Reporter configuration from "zip:D:/OracleFM/R11.1.1.5/WLSGeneric/user_projects/domains/mvn_domain1/servers/WLSServer-1/tmp/_WL_user/TestEAR/g0yzyu/lib/coherence.jar!/reports/report-group.xml"+
And this from WLS-log:
+####<Feb 16, 2012 12:00:31 PM FET> <Info> <com.oracle.wls> <EPBYMINW0269> <WLSServer-1> <Logger@1380966230 3.7.1.0> <<anonymous>> <> <> <1329382831441> <BEA-000000> <2012-02-16 12:00:31.441/1221.459 Oracle Coherence GE 3.7.1.0 <Info> (thread=Cluster, member=n/a): This Member(Id=3, Timestamp=2012-02-16 12:00:31.425, Address=10.6.12.61:8888, MachineId=54771, Location=site:,machine:EPBYMINW0269,process:6252, Role=WeblogicServer, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=4) joined cluster "cluster:0x75CB" with senior Member(Id=1, Timestamp=2012-02-16 11:39:07.242, Address=10.6.12.61:9888, MachineId=54771, Location=site:,machine:EPBYMINW0269,process:3012,member:Coherence37Server-0, Role=WeblogicWeblogicCacheServer, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=4)>+
+####<Feb 16, 2012 12:00:31 PM FET> <Info> <com.oracle.wls> <EPBYMINW0269> <WLSServer-1> <Logger@9259509 3.7.1.0> <<anonymous>> <> <> <1329382831661> <BEA-000000> <2012-02-16 12:00:31.661/1221.679 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Started cluster Name=cluster:0x75CB+
+Group{Address=231.1.1.1, Port=7777, TTL=4}+
MasterMemberSet(
ThisMember=Member(Id=3, Timestamp=2012-02-16 12:00:31.425, Address=10.6.12.61:8888, MachineId=54771, Location=site:,machine:EPBYMINW0269,process:6252, Role=WeblogicServer)
OldestMember=Member(Id=1, Timestamp=2012-02-16 11:39:07.242, Address=10.6.12.61:9888, MachineId=54771, Location=site:,machine:EPBYMINW0269,process:3012,member:Coherence37Server-0, Role=WeblogicWeblogicCacheServer)
ActualMemberSet=MemberSet(Size=3
Member(Id=1, Timestamp=2012-02-16 11:39:07.242, Address=10.6.12.61:9888, MachineId=54771, Location=site:,machine:EPBYMINW0269,process:3012,member:Coherence37Server-0, Role=WeblogicWeblogicCacheServer)
Member(Id=2, Timestamp=2012-02-16 11:39:10.74, Address=10.6.12.61:9890, MachineId=54771, Location=site:,machine:EPBYMINW0269,process:3592,member:Coherence37Server-1, Role=WeblogicWeblogicCacheServer)
Member(Id=3, Timestamp=2012-02-16 12:00:31.425, Address=10.6.12.61:8888, MachineId=54771, Location=site:,machine:EPBYMINW0269,process:6252, Role=WeblogicServer)
+)+
MemberId|ServiceVersion|ServiceJoined|MemberState
+1|3.7.1|2012-02-16 11:39:07.242|JOINED,+
+2|3.7.1|2012-02-16 11:39:10.74|JOINED,+
+3|3.7.1|2012-02-16 12:00:31.646|JOINED+
RecycleMillis=1200000
RecycleSet=MemberSet(Size=0
+)+
+)+
+TcpRing{Connections=[2]}+
+IpMonitor{AddressListSize=0}+
+>+
+####<Feb 16, 2012 12:00:31 PM FET> <Info> <com.oracle.wls> <EPBYMINW0269> <WLSServer-1> <Logger@9259509 3.7.1.0> <<anonymous>> <> <> <1329382831916> <BEA-000000> <2012-02-16 12:00:31.916/1221.934 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=3): Loaded cache configuration from "zip:D:/OracleFM/R11.1.1.5/WLSGeneric/user_projects/domains/mvn_domain1/servers/WLSServer-1/tmp/_WL_user/TestEAR/g0yzyu/lib/coherence.jar!/coherence-cache-config.xml">+
+####<Feb 16, 2012 12:00:32 PM FET> <Info> <Deployer> <EPBYMINW0269> <WLSServer-1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329382832019> <BEA-149059> <Module EjbWebServices.jar of application TestEAR is transitioning from STATE_NEW to STATE_PREPARED on server WLSServer-1.>+
+####<Feb 16, 2012 12:00:32 PM FET> <Info> <com.oracle.wls> <EPBYMINW0269> <WLSServer-1> <Logger@9259509 3.7.1.0> <<anonymous>> <> <> <1329382832020> <BEA-000000> <2012-02-16 12:00:32.018/1222.036 Oracle Coherence GE 3.7.1.0 <Info> (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=3): Loaded cache configuration from "zip:D:/OracleFM/R11.1.1.5/WLSGeneric/user_projects/domains/mvn_domain1/servers/WLSServer-1/tmp/_WL_user/TestEAR/g0yzyu/EjbWebServices.jar!/META-INF/coherence-cache-config.xml">+
+####<Feb 16, 2012 12:00:32 PM FET> <Info> <EJB> <EPBYMINW0269> <WLSServer-1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1329382832037> <BEA-010008> <EJB Deploying file: EjbWebServices.jar>+

Similar Messages

  • How to specify index for cache in coherence-cache-config.xml

    Hi All,
    We want to apply indexing on cache data.
    Suppose i have a EMPLOYEE object in coherence cache.
    and i want to use employeeID for indexing purpose.
    Can anybody help me to achieve this at Congregational level i.e. using xml file (coherence-cache-config.xml) .
    Edited by: 981644 on Jan 16, 2013 1:51 AM

    Hi,
    I've posted some [url http://coherence.oracle.com/download/attachments/14647422/add-index-namespace.jar]code and the [url http://coherence.oracle.com/download/attachments/14647422/add-index-namespace-src.jar]source. It depends on coherence common version 2.3.0.39174 however I believe it will work with 2.0.0.23649 also. Coherence common library can be downloaded from [url http://coherence.oracle.com/display/INC10/coherence-common]here
    Note: This is purely an example on how to achieve index creation via a cache configuration file and is not a part of the product thus is not covered by product support.
    Here is an example cache configuration that uses the namespace:
    <cache-config xmlns:service="class://com.oracle.coherence.environment.extensible.ServiceOperations">
        <caching-scheme-mapping>
            <service:index-add cache-name="dist-indexes">
                <extractor>
                    <class-name>ReflectionExtractor</class-name>
                    <init-params>
                        <init-param>
                            <param-type>string</param-type>
                            <param-value>getName</param-value>
                        </init-param>
                    </init-params>
                </extractor>
            </service:index-add>
            <!-- Simplified POF Config -->
            <service:index-add cache-name="dist-indexes" pof-enabled="true">
                <pof-index>8,16,32</pof-index>
            </service:index-add>
            <!-- This should not be counted based on system-property override -->
            <service:index-add cache-name="dist-indexes" pof-enabled="true" enabled="{tangosol.index.add}">
                <pof-index>8,16,31</pof-index>
            </service:index-add>
            <!-- Explicit POF Config -->
            <service:index-add cache-name="dist-indexes">
                <extractor>
                    <class-name>PofExtractor</class-name>
                    <init-params>
                        <init-param>
                            <param-type>{class}</param-type>
                            <param-value>null</param-value>
                        </init-param>
                        <init-param>
                            <param-type>{object}</param-type>
                            <param-value>
                                <class-name>com.tangosol.io.pof.reflect.SimplePofPath</class-name>
                                <init-params>
                                    <init-param>
                                        <param-type>{int[]}</param-type>
                                        <param-value>1,2,4</param-value>
                                    </init-param>
                                </init-params>                     
                            </param-value>
                        </init-param>
                    </init-params>
                </extractor>
            </service:index-add>
        </caching-scheme-mapping>
    </cache-config>Thanks,
    Harvey

  • Specifying coherence-cache-config.xml for multiple clusters

    Hi,
    I am running two cache clusters (Cluster A and B that hold different cache types). we have a web application that needs to communicate with both the clusters. we have two coherence-cache-config-g.xml files, one for each cluster.
    where do we specify the two coherence-cache-config.xml for each of these clusters in our coherence.jar that we deploy on the web app server.
    pls provide some inputs...
    thanks in advance,
    - G.

    Hi G,
    You can define a path to the cache configuration descriptor in your operation configuration override file (tangosol-coherence=override.xml) or specify it in the system property "tangosol.coherence.cacheconfig".
    Please see this Wiki page for details:
    http://wiki.tangosol.com/display/COH32UG/configurable-cache-factory-config
    Regards,
    Gene

  • Coherence-cache-config.xml Q

    coherence-cache-config.xml has all the cache schemes defined and mappings listed.
    Let's say, I'd like to set distributed limited, with bs, dist-limited-bs, do I have to delete other entries for near, replicated, local in this xml, coherence-cache-config.xml file?
    Thanks

    thanks Nick.
    I checked the link and it specifies various cache schemes that can be specified and a sample file exists in coherence.jar.
    So, how do you specify a cache that you want? Do you override using the override xml files?
    my apologies for my limited knowledge in coherence.

  • Not overriding the coherence-cache-config.xml but showing the error...

    Hi,
    I have created a file called tangosol-coherence-override.xml file in the specified path which is " C:\Program Files\Oracle\Coherence for .NET"
    and the coherence.jar file is located in path which is "C:\Program Files\Oracle\Coherence for .NET\lib"
    but it is not overriding the xml file.. with the default file...
    C:\Program Files\Oracle\Coherence for .NET\examples\ContactCache.Java>"C:\Progra
    m Files\Java\jdk1.6.0_11\bin\java" -server -showversion -Xms128m -Xmx128m -Dtang
    osol.coherence.ttl=0 -Dtangosol.coherence.cacheconfig=contact-cache-config.xml -
    cp "config;lib\custom-types.jar;C:\Program Files\Oracle\Coherence for .NET\lib\c
    oherence.jar" com.tangosol.net.DefaultCacheServer
    java version "1.6.0_11"
    Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
    Java HotSpot(TM) Server VM (build 11.0-b16, mixed mode)
    2011-06-20 15:06:57.607/2.366 Oracle Coherence 3.7.0.0 <Info> (thread=main, memb
    er=n/a): Loaded operational configuration from "jar:file:/C:/Program%20Files/Ora
    cle/Coherence%20for%20.NET/lib/coherence.jar!/tangosol-coherence.xml"
    2011-06-20 15:06:57.989/2.748 Oracle Coherence 3.7.0.0 <Info> (thread=main, memb
    er=n/a): Loaded operational overrides from "jar:file:/C:/Program%20Files/Oracle/
    Coherence%20for%20.NET/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2011-06-20 15:06:58.049/2.808 Oracle Coherence 3.7.0.0 <D5> (thread=main, member
    =n/a): Optional configuration override "/tangosol-coherence-override.xml" is not
    specified
    2011-06-20 15:06:58.062/2.821 Oracle Coherence 3.7.0.0 <D5> (thread=main, member
    =n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.7.0.0 Build 23397
    Grid Edition: Development mode
    Thanks in Advance

    The CLASSPATH is not the same as the PATH. It is similar but a classpath is a set of directories or jar files that Java uses to look for executable code and resources.
    Assuming you are using the example start-cache-server.cmd file that comes with the .Net examples to start your server you can put the tangosol-coherence-override.xml file into the C:\Program Files\Oracle\Coherence for .NET\examples\ContactCache.Java\config directory as this is on the classpath when using that script.
    JK

  • Compacting the cache-config.xml for multiple cache-store

    Hi,
    I have a cache-config.xml that has various ReadWriteBackingMaps with different CacheLoader implementations. I was wondering of the best way to compact this xml using the scheme-ref tag, as all I really need is schemes, with different cache stores. e.g. I have an InstrumentCacheStore and a CurrencyCacheStore .. which invoke different CacheLoaders. they are both distributed caches.
    I thought the below would work, but it dosen't.. :( when loading a currency, the InstrumentCacheStore gets invoked.
    is there a way to compact this XML? Else, for 6 different cache loaders that I have, do I have to specify the whole distributed-scheme again and again?
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>instrument-*</cache-name>
    <scheme-name>distributed-instrument-scheme</scheme-name>
    </cache-mapping>
    <cache-mapping>
    <cache-name>currency-*</cache-name>
    <scheme-name>distributed-currency-scheme</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <distributed-scheme>
    <scheme-name>distributed-instrument-scheme</scheme-name>
    <scheme-ref>distributed-scheme</scheme-ref>
    </distributed-scheme>
    <distributed-scheme>
    <scheme-name>distributed-currency-scheme</scheme-name>
    <scheme-ref>distributed-scheme</scheme-ref>
    <!-- THIS DOES NOT OVERRIDE THE DEFAULT distributed-scheme? -->
    <cachestore-scheme>
    <class-scheme>
    <class-name>coherence.cachestore.CurrencyCacheStore</class-name>
    </class-scheme>
    </cachestore-scheme>
    </distributed-scheme>
    <distributed-scheme>
    <scheme-name>distributed-scheme</scheme-name>
    <service-name>DistributedCache</service-name>
    <backing-map-scheme>
    <read-write-backing-map-scheme>
    <internal-cache-scheme>
    <local-scheme>
    <scheme-ref>LocalSizeLimited</scheme-ref>
    </local-scheme>
    </internal-cache-scheme>
    <cachestore-scheme>
    <class-scheme>
    <class-name>coherence.cachestore.InstrumentCacheStore</class-name>
    </class-scheme>
    </cachestore-scheme>
    </read-write-backing-map-scheme>
    </backing-map-scheme>
    <serializer>
    <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
    </serializer>
    <partition-count>5557</partition-count>
    <backup-count>1</backup-count>
    <thread-count>10</thread-count>
    <autostart>true</autostart>
    </distributed-scheme>
    <local-scheme>
    <scheme-name>LocalSizeLimited</scheme-name>
    <high-units>500000000</high-units>
    <low-units>10000</low-units>
    <unit-calculator>BINARY</unit-calculator>
    </local-scheme>
    </caching-schemes>
    </cache-config>
    --------------------------------------------------------------------------------------------------------------

    There are two possible ways to sort this out
    1. The cache configuration for the distributed-currency-scheme shown in the original post is wrong and does not correctly override the cache store, it should look like this:.
    <distributed-scheme>
      <scheme-name>distributed-currency-scheme</scheme-name>
      <scheme-ref>distributed-scheme</scheme-ref>
      <backing-map-scheme>
        <read-write-backing-map-scheme>
          <internal-cache-scheme>
            <local-scheme>
              <scheme-ref>LocalSizeLimited</scheme-ref>
            </local-scheme>
          </internal-cache-scheme>
          <cachestore-scheme>
            <class-scheme>
              <class-name>coherence.examples.CurrencyCacheStore</class-name>
            </class-scheme>
          </cachestore-scheme>
        </read-write-backing-map-scheme>
      </backing-map-scheme>
    </distributed-scheme> 2. You can use a single scheme and parameterise it like this:
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
      <caching-scheme-mapping>
        <cache-mapping>
          <cache-name>instrument-*</cache-name>
          <scheme-name>distributed-scheme</scheme-name>
          <init-params>
            <init-param>
              <param-name>cache-store-class-name</param-name>
              <param-value>coherence.examples.InstrumentCacheStore</param-value>
            </init-param>
          </init-params>
        </cache-mapping>
        <cache-mapping>
          <cache-name>currency-*</cache-name>
          <scheme-name>distributed-scheme</scheme-name>
          <init-params>
            <init-param>
              <param-name>cache-store-class-name</param-name>
              <param-value>coherence.examples.CurrencyCacheStore</param-value>
            </init-param>
          </init-params>
        </cache-mapping>
      </caching-scheme-mapping>
      <caching-schemes>
        <distributed-scheme>
          <scheme-name>distributed-scheme</scheme-name>
          <service-name>DistributedCache</service-name>
          <backing-map-scheme>
            <read-write-backing-map-scheme>
              <internal-cache-scheme>
                <local-scheme>
                  <scheme-ref>LocalSizeLimited</scheme-ref>
                </local-scheme>
              </internal-cache-scheme>
              <cachestore-scheme>
                <class-scheme>
                  <class-name>{cache-store-class-name}</class-name>
                </class-scheme>
              </cachestore-scheme>
            </read-write-backing-map-scheme>
          </backing-map-scheme>
          <serializer>
            <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
          </serializer>
          <partition-count>5557</partition-count>
          <backup-count>1</backup-count>
          <thread-count>10</thread-count>
          <autostart>true</autostart>
        </distributed-scheme>
        <local-scheme>
          <scheme-name>LocalSizeLimited</scheme-name>
          <high-units>500000000</high-units>
          <low-units>10000</low-units>
          <unit-calculator>BINARY</unit-calculator>
        </local-scheme>
      </caching-schemes>
    </cache-config>Parameter names from the init-params part of each cache mapping can be used inside curly brackets in the cache scheme part.
    Hope that helps,
    JK

  • Custom p13n-cache-config.xml

    Trying to implement 5.1 P13N CacheProvider SPI Implementation from link:
    http://docs.oracle.com/cd/E24290_01/coh.371/e22621/wlportal.htm#CHDIFHCD
    In step 2: The p13n-cache-config.xml has been updated with the <default-provider-id>com.tangosol.coherence.weblogic</default-provider-id> line.
    Question:
    How can a custom p13n-cache-config.xml be loaded using a -D command?
    Edited by: user734247 on May 1, 2013 1:28 PM

    Hi,
    The p13n-cache-config.xml needs to changed in each of your WLP application's META-INF directory. Coherence does not need this file but rather the provider configuration in file makes Portal application to start using coherence for p13 caching.
    HTH
    Regards,
    _NJ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Aggregating cache-config.xml files

    I'd like to add to, rather than override, my cache config files. How do I go about that? Do I have to deal with XmlElements of the DefaultConfigurableCacheFactory directly, or is there some simpler way to do this?
    Thanks ---

    Hi Cindy,
    There is nothing in the core product but if you use the Coherence Incubator Commons then you can do it. http://coherence.oracle.com/display/INC10/coherence-common
    You need to include the coherence-commons jar in your class path then you can do this...
    <cache-config
         xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config coherence-cache-config.xsd"
            xmlns:element="class://com.oracle.coherence.environment.extensible.namespaces.XmlElementProcessingNamespaceContentHandler"
            element:introduce-cache-config="coherence-common-cache-config.xml">
        <caching-scheme-mapping>
        </caching-scheme-mapping>
        <caching-schemes>
        </caching-schemes>
    </cache-config>The above config uses the element namespace from the incubator that allows you to add the element:introduce-cache-config attribute to the cache-config tag which imports the specified cache config file. http://coherence.oracle.com/display/INC10/element-namespace
    JK

  • How to read the extended-cache-config.xml file. in C++ API

    I want to create my own XML config file and define the config values in that, so that C++ Client (using Coherence C++ API) application can access the config files.
    Also how to get the instance of configuration values which Coherence client has read,
    i.e.
    TangosolCoherenceOverride=$PATH/examples/config/tangosol-coherence-override.xml
    TangosolCoherenceCacheconfig=$PATH/examples/config/extend-cache-config.xml
    How to get the instance of this XMLDocument ? and read values from it.
    Thanks,
    Naveen

    Hi,
    You can get the cache-config that was read by getting it from the ConfigurableCacheFatory (which you can get from the CacheFactory) via getConfig(). See:
    http://download.oracle.com/otn_hosted_doc/coherence/352CPP/classcoherence_1_1net_1_1_cache_factory.html
    http://download.oracle.com/otn_hosted_doc/coherence/352CPP/classcoherence_1_1net_1_1_configurable_cache_factory.html
    There is no way to get the actual XmlDocument object from the cluster that is read for the cluster-config (though you could open the same path yourself).
    thanks,
    -Rob

  • Can create new cache with new cache config xml to existing cache server?

    Hi,
    I have a question regarding coherence cache.
    currently there is coherence cache server running with its own cache config file.
    Can I create another cache with new cache config file?
    If so, do I need add my own cache config file and pof file to the server?
    so during cache server start up, it can load cache config and pof config file?
    Thanks for the help.
    Regards
    Julia

    Yes, when you want to load your own cache configuration you can use something like
    export CLASSPATH=coherence.jar
    java -Xms512m -Xmx512m -Dtangosol.coherence.cacheconfig=my-cache-config.xml com.tangosol.net.DefaultCacheServerby using the system parameter tangosol.coherence.cacheconfig you can add your own cache configuration. Note that
    the POF configuration is loaded when you are referring to it in your cache configuration.

  • After upgrading a domain I am getting .....config.xml not found error

    upgraded domain from 10.3.0 to 10.3.2
    while upgrading one message was..
    "no servers are detected under this directory"
    and now after my upgrade is successfully done its showing me that "the config.xml not found"...

    If you live near an Apple Store, make a Genius Bar appointment to have the computer tested. Supposedly there is no charge for testing. Use 2nd link if not near an Apple Store or aren’t in the US.       Hardware Repair - Keeping Confidential Data Safe
    Genius Bar Reservation US
    Authorized Service Provider

  • Coherence-cache-config

    Hi,
    I have an exe, which connects to coherence and allows me to dump data to the cache. I have moved this code to a lib, which now being called from a dll.
    As far as possible the project settings are the same. When I try to connect to the cache via CacheFactory::getCache("dist-test"), and exception is thrown indicating that there is an error opening file "coherence-cache-config".
    I have no idea where to go from here. Where should coherence-cache-config be located?
    I appreciate any help on this.
    Thanks.

    The coherence library will look for the config file in the applications current directory, which unless you do something to change will be the application start directory. Alternatively you can tell Coherence the explicit location of the file, likely obtaining this location either from the command line or from you own config. The CacheFactory::loadXml and CacheFactory::comdigure methods are what you would need to invoke, see http://download.oracle.com/docs/cd/E15357_01/coh.360/e15728/classcoherence_1_1net_1_1_cache_factory.html#ba843198c7451b654834746a4e300036
    Thanks,
    Mark
    Oracle Coherence

  • Actual and Forecast not visible from Planning App -- VERY CRITICAL ISSUE ,

    this is a very critical issue.. need immediate help..
    my customer cannot see the Actual and Forecast not visible from Planning App. please help me with the same. tell me the possible solns as i cudnt have a web confrerence with the custmer till now.
    thanks/

    John ,
    they are seeing the application in planning. they created a scenario dimension containing , budget, actual and forecast.. but in the planing application they can only see budget. the rest 2 are not visible.
    thanks..

  • Mail send from iPhone not visible from Macbook

    Any mail I sent from my iPhone (latest OS) is not visible from my Macbook Pro (latest OS) in the sent box. 
    I need this to be fixed. How? I have read through the forums and there seems to be no fix to this. And yes, I have everything configured properly (ie. to keep sent messages on server, etc).
    Any help to fix this would be appreciated as I need to access all my emails for work from my computer.

    Please ignore the above .  I have discovered what I did wrong - but don't know how to delete the question!
    Sorry

  • Struts-config.xml not being parsed properly

    Hi,
    I'm new to struts and am having a weird problem. I've researched a lot and talked to a lot of developers and I still have a problem. The problem is as follows.
    I am getting the following error when deploying my ear file on weblogic8.1:
    <BEA-101216> <Servlet: "action" failed to preload on startup in Web application: "bpa".
    javax.servlet.UnavailableException: Parsing error processing resource path
         at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
         at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1014)
         at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
         at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3197)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
         at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5647)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869)
         at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2022)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2063)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2592)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2515)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2317)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2399)
         at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2311)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2479)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170).
    Now, when looking at the struts-config file, everything seems fine. However, when i remove the <form-bean> declarations, i don't get this error. Of course, without the form-bean declarations, the application comes to a halt when it needs them. I've tried almost everything under the sun and nothing has worked so far, i'm sure it's probably something simple and i'll feel like a complete idiot when it's figured out, but until then, can anyone help???
    The config file looks as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <!-- ========== Form Bean Definitions =================================== -->
    <form-beans>
    <!-- Register User form bean -->
    <form-bean name="registerCustomerForm" type="au.com.bpa.web.RegisterCustomerForm" />
         <!-- List Applications - customer - form bean -->
    <form-bean name="listApplicationsForm" type="au.com.bpa.web.ListApplicationsForm" />
         <!-- List Applications - cts - form bean -->
    <form-bean name="listApplicationsCTSForm" type="au.com.bpa.web.ListApplicationsCTSForm" />
         <!-- List Applications - call centre - form bean -->
    <form-bean name="listApplicationsCallCentreForm" type="au.com.bpa.web.ListApplicationsCallCentreForm" />
    <!-- Single Residence Application form bean -->
         <form-bean name="singleResidenceApplicationForm" type="au.com.bpa.web.SingleResidenceApplicationForm" />
    <!-- Single Residence Application Processing form bean -->
         <form-bean name="singleResidenceApplicationProcessingForm" type="au.com.bpa.web.SingleResidenceApplicationProcessingForm" />
         <!-- Upload Floor Plan Attachment form bean -->
    <form-bean name="uploadArchitecturalFloorPlanAttachmentForm" type="au.com.bpa.web.UploadAttachmentForm" />
         <!-- Upload Site Plan Attachment form bean -->
    <form-bean name="uploadSitePlanAttachmentForm" type="au.com.bpa.web.UploadAttachmentForm" />
         <!-- Upload Other Attachment form bean -->
    <form-bean name="uploadAttachmentForm" type="au.com.bpa.web.UploadAttachmentForm" />
         <!-- Remove Attachment(s) form bean -->
    <form-bean name="removeAttachmentsForm" type="au.com.bpa.web.RemoveAttachmentsForm" />
         <!-- Reject Application form bean -->
         <form-bean name="rejectApplicationForm" type="org.apache.struts.action.DynaActionForm">
              <form-property name="applicationPK" type="java.lang.Integer" />
              <form-property name="comments" type="java.lang.String" />
         </form-bean>
         <!-- Edit restricted names form bean -->
         <form-bean name="editRestrictedNamesForm" type="org.apache.struts.validator.DynaValidatorForm">
              <form-property name="category" type="java.lang.String" />
              <form-property name="name" type="java.lang.String" />
         </form-bean>
         <!-- Find by Id form bean -->
         <form-bean name="findApplicationByIdForm" type="org.apache.struts.action.DynaActionForm">
              <form-property name="idType" type="java.lang.String" initial="applicationId" />
              <form-property name="idValue" type="java.lang.String" />
         </form-bean>
         <!-- Business Reports form bean -->
         <form-bean name="businessReportsForm" type="org.apache.struts.action.DynaActionForm">
              <form-property name="reportType" type="java.lang.String" />
              <form-property name="from" type="java.lang.String" />
              <form-property name="to" type="java.lang.String" />
         </form-bean>
    </form-beans>
    <!-- ========== Global Exception Definitions ============================== -->
    <global-exceptions>
    <exception type="java.lang.Exception" key="errors.java.lang.Exception" path="/errors/applicationException.jsp" />
    </global-exceptions>
    <!-- ========== Global Forward Definitions ============================== -->
    <global-forwards>
    <forward name="invalidSession" path="/errors/invalidSession.jsp" />
    <forward name="applicationException" path="/errors/applicationException.jsp" />
         <forward name="notFound" path="/errors/notFound.jsp" />
         <forward name="logoff" path="/common/logoff" />
         <forward name="goSingleResidenceApplication" path="/common/goSingleResidenceApplication.do" />
         <forward name="viewApplication" path="/common/viewApplication.do" />
         <!-- customer -->
         <forward name="customer/viewApplicationList" path="/customer/viewApplicationList.do" />
         <!-- cts -->
         <forward name="cts/viewApplicationList" path="/cts/viewApplicationList.do" />
         <forward name="cts/unlockAndExit" path="/cts/unlockAndExit.do" />
         <!-- call centre -->
         <forward name="call-centre/viewApplicationList" path="/call-centre/viewApplicationList.do" />
    </global-forwards>
    <!-- ========== Action Mapping Definitions ============================== -->
    <action-mappings>
         <!-- Common Actions - All Roles -->
         <!-- saves a request token -->
         <action path="/goRegisterCustomer" type="au.com.bpa.web.SaveTokenAction">
    <forward name="success" path="/registerCustomer.jsp" />
    </action>
    <!-- Register a User -->
    <action path="/registerCustomer" type="au.com.bpa.web.RegisterCustomerAction" name="registerCustomerForm" input="/registerCustomer.jsp" scope="request" validate="true">
    <forward name="success" path="/registerCustomer-success.jsp" />
         <forward name="invalidToken" path="/errors/invalidToken.jsp" />
    </action>
         <!-- Process a logon -->
         <action path="/common/logon" type="au.com.bpa.web.LogonAction" scope="request" validate="true">
    <forward name="guest" path="/common/disclaimer.jsp" />
         <forward name="customer" path="/common/disclaimer.jsp" />
         <forward name="cts" path="/cts/index.jsp" />
         <forward name="admin" path="/admin/index.jsp" />
         <forward name="browserError" path="/errors/browserError.jsp" />
    </action>
    <!-- Single Residence Application Form -->
    <action path="/common/singleResidenceApplication" type="au.com.bpa.web.SingleResidenceApplicationAction" name="singleResidenceApplicationForm" scope="request" input="/common/singleResidenceApplication.jsp" validate="true">
         <forward name="submitted" path="/common/singleResidenceApplication-submitted.jsp" />
         <forward name="manual" path="/common/singleResidenceApplication-manualValidationRequired.jsp" />
         <forward name="invalidToken" path="/errors/invalidToken.jsp" />
    </action>
         <!-- submit a single residence app - saves a request token -->
         <action path="/common/goSingleResidenceApplication" type="au.com.bpa.web.SaveTokenAction">
    <forward name="success" path="/common/singleResidenceApplication.jsp" />
    </action>
    <!-- Upload Architectural Floor Plan Attachment Form -->
    <action path="/common/uploadArchitecturalFloorPlanAttachment" type="au.com.bpa.web.UploadAttachmentAction" name="uploadArchitecturalFloorPlanAttachmentForm" scope="request">
    <exception type="java.lang.Exception" key="errors.singleResidenceApplication.file" path="/common/addAttachment-error.jsp" />
         <forward name="success" path="/common/addAttachment-success.jsp" />
         <forward name="fileTypeError" path="/common/addAttachment-fileTypeError.jsp" />
         <forward name="applicationException" path="/common/addAttachment-error.jsp" />
    </action>
    <!-- Upload Site Plan Attachment Form -->
    <action path="/common/uploadSitePlanAttachment" type="au.com.bpa.web.UploadAttachmentAction" name="uploadSitePlanAttachmentForm" scope="request">
    <exception type="java.lang.Exception" key="errors.singleResidenceApplication.file" path="/common/addAttachment-error.jsp" />
         <forward name="success" path="/common/addAttachment-success.jsp" />
         <forward name="fileTypeError" path="/common/addAttachment-fileTypeError.jsp" />
         <forward name="applicationException" path="/common/addAttachment-error.jsp" />
    </action>
    <!-- Upload Attachment Form -->
    <action path="/common/uploadAttachment" type="au.com.bpa.web.UploadAttachmentAction" name="uploadAttachmentForm" scope="request">
    <exception type="java.lang.Exception" key="errors.singleResidenceApplication.file" path="/common/addAttachment-error.jsp" />
         <forward name="success" path="/common/addAttachment-success.jsp" />
         <forward name="fileTypeError" path="/common/addAttachment-fileTypeError.jsp" />
         <forward name="applicationException" path="/common/addAttachment-error.jsp" />
    </action>
    <!-- Remove Attachment Form -->
    <action path="/common/removeAttachments" type="au.com.bpa.web.RemoveAttachmentsAction" name="removeAttachmentsForm" scope="request" validate="true">
         <forward name="success" path="/common/removeAttachments-success.jsp" />
    </action>
         <!-- view / edit an application -->
         <action path="/common/viewApplication" type="au.com.bpa.web.ViewApplicationAction">
    <forward name="editSingleResidenceApplication" path="/common/singleResidenceApplication.jsp" />
         <forward name="viewSingleResidenceApplication" path="/common/singleResidenceApplicationView.jsp" />
    </action>
         <!-- Customer Actions - Customer Role -->
         <!-- view list of submitted applications - customer -->
         <action path="/customer/viewApplicationList" type="au.com.bpa.web.ListApplicationsAction" name="listApplicationsForm" scope="request" validate="false">
    <forward name="success" path="/customer/listApplications.jsp" />
    </action>
         <action path="/customer/findApplicationById" type="au.com.bpa.web.ListApplicationsAction" name="findApplicationByIdForm" scope="request" validate="false">
    <forward name="success" path="/customer/listApplications.jsp" />
    </action>
         <!-- CTS Staff Actions - CTS Role -->
         <!-- view list of applications - cts -->
         <action path="/cts/viewApplicationList" type="au.com.bpa.web.ListApplicationsCTSAction" name="listApplicationsCTSForm" scope="request" validate="false">
    <forward name="success" path="/cts/listApplications.jsp" />
    </action>
         <action path="/cts/findApplicationById" type="au.com.bpa.web.ListApplicationsCTSAction" name="findApplicationByIdForm" scope="request" validate="false">
    <forward name="success" path="/cts/listApplications.jsp" />
    </action>
         <!-- save user preferences -->
         <action path="/cts/saveUserPreferences" type="au.com.bpa.web.SaveUserPreferencesAction">
    <forward name="success" path="/cts/listApplications.jsp" />
    </action>
         <!-- process an application -->
         <action path="/cts/processApplication" type="au.com.bpa.web.ProcessApplicationAction">
    <forward name="success" path="/cts/processApplication.jsp" />
         <forward name="noApplicationsAvailable" path="/cts/processApplication-noApplicationsAvailable.jsp" />
         <forward name="sewerInGroupApplication" path="/cts/sewerInGroupApplication.jsp" />
         <forward name="insufficientFunds" path="/cts/insufficientFunds" />
    </action>
         <!-- process an application -->
    <!-- Single Residence Application Processing Form -->
    <action path="/cts/singleResidenceProcessingApplication" type="au.com.bpa.web.SingleResidenceApplicationProcessingAction" name="singleResidenceApplicationProcessingForm" scope="request" input="/cts/processApplication.jsp" validate="true">
         <forward name="invalidToken" path="/errors/invalidToken.jsp" />
         <forward name="success" path="/cts/processApplication-success.jsp" />
         <forward name="notValidated" path="/cts/processApplication.do" />
    </action>
         <!-- update a validation run -->
         <action path="/cts/updateValidationRun" type="au.com.bpa.web.UpdateValidationRunAction">
    <forward name="success" path="/cts/processApplication-success.jsp" />
    <forward name="notValidated" path="/cts/processApplication.do" />
    </action>
    <!-- unlock application and return to list -->
    <action path="/cts/unlockAndExit" type="au.com.bpa.web.UnlockApplicationAction" scope="request">
              <!-- forwards to global forward cts/viewApplicationList -->
         </action>
    <!-- export application and return to list -->
    <action path="/cts/exportApplication" type="au.com.bpa.web.ExportApplicationAction" scope="request">
              <!-- forwards to global forward cts/viewApplicationList -->
         </action>
         <!-- approve application and return to list -->
         <action path="/cts/forceApplicationApproval" type="au.com.bpa.web.ForceApplicationApprovalAction" scope="request">
              <!-- forwards to global forward cts/viewApplicationList -->
         </action>
    <!-- reject application and return to list -->
         <action path="/cts/rejectApplication" type="au.com.bpa.web.RejectApplicationAction" name="rejectApplicationForm" scope="request">
              <!-- forwards to global forward cts/viewApplicationList -->
         </action>
         <!-- resolve insufficient funds -->
         <action path="/cts/resolveInsufficientFunds" type="au.com.bpa.web.ResolveInsufficientFundsAction">
    <forward name="success" path="/cts/insufficientFundsResolved.jsp" />
         <forward name="failure" path="/cts/insufficientFundsNotResolved.jsp" />
    </action>
         <!-- Call Centre Staff Actions - Call Centre Role -->
         <!-- view list of applications - cts -->
         <action path="/call-centre/viewApplicationList" type="au.com.bpa.web.ListApplicationsCallCentreAction" name="listApplicationsCallCentreForm" scope="request" validate="false">
    <forward name="success" path="/call-centre/listApplications.jsp" />
    </action>
         <action path="/call-centre/findApplicationById" type="au.com.bpa.web.ListApplicationsCallCentreAction" name="findApplicationByIdForm" scope="request" validate="false">
    <forward name="success" path="/call-centre/listApplications.jsp" />
    </action>
         <!-- save user preferences -->
         <action path="/call-centre/saveUserPreferences" type="au.com.bpa.web.SaveUserPreferencesAction">
    <forward name="success" path="/call-centre/listApplications.jsp" />
    </action>
         <!-- view / edit an application -->
         <action path="/call-centre/viewApplication" type="au.com.bpa.web.ViewApplicationCallCentreAction">
         <forward name="viewSingleResidenceApplication" path="/call-centre/viewApplication.jsp" />
    </action>
         <!-- Admin Actions - Admin Role -->
    <!-- show edit restricted names -->
         <action path="/admin/editRestrictedNames" type="au.com.bpa.web.EditRestrictedNamesAction" name="editRestrictedNamesForm" scope="request" input="/admin/restrictedNames.jsp" validate="false">
              <forward name="success" path="/admin/restrictedNames.jsp" />
         </action>
         <!-- add edit restricted and return to list -->
         <action path="/admin/addRestrictedName" type="au.com.bpa.web.AddRestrictedNameAction" name="editRestrictedNamesForm" scope="request" input="/admin/restrictedNames.jsp" validate="true">
              <forward name="success" path="/admin/editRestrictedNames.do" />
              <forward name="invalidToken" path="/errors/invalidToken.jsp" />
         </action>
         <!-- delete edit restricted and return to list -->
         <action path="/admin/deleteRestrictedName" type="au.com.bpa.web.DeleteRestrictedNameAction" name="editRestrictedNamesForm" scope="request" input="/admin/restrictedNames.jsp" validate="false">
              <forward name="success" path="/admin/editRestrictedNames.do" />
         </action>
         <!-- show a business report -->
         <action path="/admin/showBusinessReport" type="au.com.bpa.web.BusinessReportsAction" name="businessReportsForm" scope="request" validate="false">
              <forward name="detailedProcessingStatistics" path="/admin/reportProcessingStatistics.jsp" />
              <forward name="detailedPerformanceStatistics" path="/admin/reportPerformanceStatistics.jsp" />
              <forward name="reasonsForRejection" path="/admin/reportReasonsForRejection.jsp" />
              <forward name="reasonsForManualProcessing" path="/admin/reportReasonsForManualProcessing.jsp" />
              <forward name="keyPerformanceIndicators" path="/admin/reportKeyPerformanceIndicators.jsp" />
              <forward name="applsWithoutWaterService" path="/admin/reportApplsWithoutWaterService.jsp" />
         </action>
    </action-mappings>
    <!-- ========== Controller Configuration ================================ -->
    <controller>
    <set-property property="maxFileSize" value="2M" />
         <set-property property="debug" value="4" />
    </controller>
    <!-- ========== Message Resources Definitions =========================== -->
    <message-resources parameter="au.com.bpa.web.ApplicationResources"/>
    <!-- ========== Plug Ins Configuration ================================== -->
    <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
    </plug-in>
    </struts-config>
    This application was originally designed using JBuilder, but now i'm migrating it to Eclipse.
    Also, i tried to change the path to one of the form-beans to something that didn't exist, just to see what error i got, and it didn't do anything.
    Any help would be much appreciated.
    Osireion.

    hi
    i am facing the same problem....while iam trying to execute the following error has occured...
    i checked the struts-config.xml file ..if i remove the form beans tag then every thing will be correct ...can some body help me please..........
    javax.servlet.UnavailableException: Parsing error processing resource path
         at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
         at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1014)
         at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
         at javax.servlet.GenericServlet.init(GenericServlet.java:256)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)

Maybe you are looking for

  • Problems in converting video in ipod format using quicktime pro...read me!!

    I'm having problems in converting mpeg video with quicktime pro. Tha fact is that after a very long process (more than 1 hour) quicktime crates from the original mpeg file an ipod format .m4v file with no sound at all, just images... someone can help

  • Cleaning up my Mac before migration

    I'm about to migrate my mid2009 MBP to a new MBP Retina, but before migrationg (using the TimeMachine backup), I'd like to tidy up my current mid2009 MBP, in order to avoid "leftovers" from uninstalled apps. I've noticed in System Preferences, that s

  • Syncing Address Book to IPod Classic

    Problem: Syncing Address Book to my iPod Classic 80 (using iMac, bought new Dec. 2007) I have tried again and again to sync my Address Book to the iPod; with always the same weird results. 1. When I sync my iPod to the Address Book, only seven contac

  • How do i get the camera to be beside the keyboard in messages

    how do i get the camera to be beside the keyboard in messages, when you look at all the demonstrations online it shows the camera icon being there so you can add a photo to the message, but on my iphone 4 i don't have that icon.

  • Need HP fax history past last 30 for HP OfficeJet v40 anyone know how?

    I have an HP OfficeJet v40 and need the complete fax history past the last thirty you can print off the standard report on the machine itself. Does anyone know how to get into the full memory of fax transactions? I have tried to find a route via the