java.lang.IllegalStateException: Missing POF configuration
597812Dec 27 2009 — edited Dec 28 2009Hi All,
I am using Coherence 3.4.2 and trying to execute a sample wiht POF and getting the below exception
.(Wrapped: error configuring class "com.tangosol.io.pof.ConfigurablePofContext") java.lang.IllegalStateException: Missing POF configuration (Config=person-pof-config.xml)
my cache config is
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>*</cache-name>
<scheme-name>ExamplesPartitionedPofScheme</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>ExamplesPartitionedPofScheme</scheme-name>
<service-name>PartitionedPofCache</service-name>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>String</param-type>
<param-value>person-pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
<backing-map-scheme>
<local-scheme>
<!-- each node will be limited to 250MB -->
<high-units>250M</high-units>
<unit-calculator>binary</unit-calculator>
</local-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
</caching-schemes>
</cache-config>
How do i specify the POF config file using a command line option ??
Please clarify ASAP.
Regards
SRINI