Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Missing POF Configuration

771451May 6 2010 — edited May 10 2010
To Whom It May Concern:

We are evaluating Oracle Coherence and I'm trying to get a C++ Managed<T> object placed within a Coherence 3.5 cluster all on a Linux system
I have a Proxy runing and have the c++ application connected to the cluster.

I the Client side I was getting error:
what(): Portable(com.tangosol.util.WrapperException): (Wrapped) unknown user type: 1001


This lead me to type and configure the Proxy with a pof-config. Now I'm getting the dreaded....
2010-05-06 13:15:39.170/4.350 Oracle Coherence GE 3.5.3/465 <Error> (thread=DistributedCache, member=1):
(Wrapped) java.lang.IllegalStateException: Missing POF configuration (Config=/app/utp/kmueller/utp_depot/CCG/Prd_MAG/trunk/test/system/RMGClusterProxy/custom-types-pof-config.xml)
at com.tangosol.coherence.Component._newChild(Component.CDB:47)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onServiceStarted(DistributedCache.CDB:99)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onServiceState(Grid.CDB:23)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.setServiceState(Service.CDB:8)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.setServiceState(Grid.CDB:21)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$NotifyStartup.onReceived(Grid.CDB:5)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:9)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:136)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(DistributedCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)



Here is my custom-typespof_config.xml

<?xml version="1.0"?>
<!DOCTYPE pof-config SYSTEM "pof-config.dtd">

<pof-config>
<user-type-list>
<!-- include all "standard" Coherence POF user types -->
<include>coherence-pof-config.xml</include>

<!-- include all application POF user types -->
<user-type>
<type-id>1001</type-id>
<class-name>bin.rmg_3_0.CoherenceMsgObj</class-name>
</user-type>

</user-type-list>
</pof-config>


here is my main configuration for the proxy:
<proxy-scheme>
<service-name>ExtendTcpProxyService</service-name>
<thread-count>1</thread-count>
<acceptor-config>
<tcp-acceptor>
<local-address>
<address>localhost</address>
<port>9099</port>
</local-address>
</tcp-acceptor>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>string</param-type>
<param-value>/app/utp/kmueller/utp_depot/CCG/Prd_MAG/trunk/test/system/RMGClusterProxy/custom-types-pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
</acceptor-config>
<autostart>true</autostart>
</proxy-scheme>


I start the system with this shell command.
$JAVAEXEC -server -showversion $JAVA_OPTS \
-cp "$COHERENCE_HOME/lib/coherence.jar" \
-Dtangosol.pof.enabled=true \
-Dtangosol.pof.config=/app/utp/kmueller/utp_depot/CCG/Prd_MAG/trunk/test/system/RMGClusterProxy/custom-types-pof-config.xml \
-Dtangosol.coherence.cacheconfig=./RmgCoherencePubProxy.xml \
com.tangosol.net.DefaultCacheServer $1


I'm not sure is it not finding the file or it's not finding the Java Object I created to Serilize/de-serialze the object that is being created from the c++ side.

At this point I have been stumped. Any one help whre to figure this out in the documentation or the Coherence 3.5 book will make my day.

Thank You,
Kevin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 7 2010
Added on May 6 2010
6 comments
3,707 views