Unknown user type with POF serialization

Hi all,
I'm using 3.6 and am just starting to implement POF.  In general it has been pretty easy but I seem to have a problem with my near scheme and POF.  Things work ok in my unit tests, but it doesn't work when I deploy to a single instance of WebLogic 12 on my laptop.  Here is an example scheme:
<near-scheme>
  <scheme-name>prod-near</scheme-name>
  <autostart>true</autostart>
  <front-scheme>
    <local-scheme>
      <high-units>{high-units 2000}</high-units>
      <expiry-delay>{expiry-delay 2h}</expiry-delay>
    </local-scheme>
  </front-scheme>
  <back-scheme>
    <distributed-scheme>
      <backing-map-scheme>
        <local-scheme>
          <high-units>{high-units 10000}</high-units>
          <expiry-delay>{expiry-delay 2h}</expiry-delay>
        </local-scheme>
      </backing-map-scheme>
      <serializer>
        <instance>
          <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
          <init-params>
            <init-param>
              <param-value>/Bus/pof-config.xml</param-value>
              <param-value>String</param-value>
            </init-param>
          </init-params>
        </instance>
      </serializer>
    </distributed-scheme>
  </back-scheme>
</near-scheme>
I don't know if it matter, but some of my caches use another scheme that references this one as a parent:
<near-scheme>
  <scheme-name>daily-near</scheme-name>
  <scheme-ref>prod-near</scheme-ref>
  <autostart>true</autostart>
  <back-scheme>
    <distributed-scheme>
      <backing-map-scheme>
        <local-scheme>
          <high-units system-property="daily-near-high-units">{high-units 10000}</high-units>
          <expiry-delay>{expiry-delay 1d}</expiry-delay>
        </local-scheme>
      </backing-map-scheme>
      <serializer>
        <instance>
          <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
          <init-params>
            <init-param>
              <param-value>/Bus/pof-config.xml</param-value>
              <param-value>String</param-value>
            </init-param>
          </init-params>
        </instance>
      </serializer>
    </distributed-scheme>
  </back-scheme>
</near-scheme>
Those schemes have existed for years.  I'm only now adding the serializers.  I use this same cache config file in my unit tests, as well as the same pof config file.  My unit tests do ExternalizableHelper.toBinary(o, pofContext) and ExternalizableHelper.fromBinary(b, pofContext).  I create the test pof context by doing new ConfigurablePofContext("/Bus/pof-config.xml").  I've also tried actually putting and getting an object to and from a cache in my unit tests.  Everything works as expected.
My type definition looks like this:
<user-type>
  <type-id>1016</type-id>
  <class-name>com.mycompany.mydepartment.bus.service.role.RoleResource</class-name>
</user-type>
I'm not using the tangosol.pof.enabled system property because I don't think it's necessary with the explicit serializers.
Here is part of a stack trace:
(Wrapped) java.io.IOException: unknown user type: com.mycompany.mydepartment.bus.service.role.RoleResource
    at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:214)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ConverterValueToBinary.convert(PartitionedCache.CDB:3)
    at com.tangosol.util.ConverterCollections$ConverterCacheMap.put(ConverterCollections.java:2486)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.put(PartitionedCache.CDB:1)
    at com.tangosol.coherence.component.util.SafeNamedCache.put(SafeNamedCache.CDB:1)
    at com.tangosol.net.cache.CachingMap.put(CachingMap.java:943)
    at com.tangosol.net.cache.CachingMap.put(CachingMap.java:902)
    at com.tangosol.net.cache.CachingMap.put(CachingMap.java:814)
Any idea what I'm missing?
Thanks
John

SR-APX wrote:
Aleks
thanks for your response.
However the include property needs to present inside the <user-type-list> tag....
<user-type-list> <include>coherence-pof-config.xml </include></user-type-list>
For all other interested users the following property, tangosol.pof.enabled=true , must also be set for pof serialization to work correctly.
Thanks again...
ShamsurHi Shamsur,
it is not mandatory to use tangosol.pof.enabled=true, you can alternatively specify the serializer for the clustered services to be configured for POF (not necessarily all of them) on a service-by-service basis in the cache configuration file explicitly with the following element.
<serializer>com.tangosol.io.pof.ConfigurablePofContext</serializer>Best regards,
Robert

Similar Messages

  • Issue with "unknown user type 6" on Coherence 3.5.2

    Having an issue with a cluster which is running using an internally developed cluster starter tool. This tool, and the associated cluster, all use POF, and upon attempting to connect a non-storing member to the cluster from java, the following exception is raised...
    2011-07-11 15:54:58.338/2.469 Oracle Coherence GE 3.5.2/463p2 <Error> (thread=Cluster, member=n/a): This cluster node is
    configured to use serializer com.tangosol.io.pof.ConfigurablePofContext {location=application-pof-config.xml}, which ap
    pears to be different from the serializer used by Member(Id=1, Timestamp=2011-07-11 15:34:30.779, Address=10.74.82.193:8
    088, MachineId=11188, Location=site:INTRANET.BARCAPINT.COM,machine:ldnpsm020006423,process:80976,member:ldnpsm020006423:
    cacheserver:1).
    java.io.StreamCorruptedException: unknown user type: 6
    at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3289)
    at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2600)
    at com.tangosol.io.pof.ConfigurablePofContext.deserialize(ConfigurablePofContext.java:348)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.readObject(Service.CDB:4)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$ServiceConfigMap.readObject(Grid.CDB
    :1)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$MemberConfigResponse.read(Grid.CDB:1
    3)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:123)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService.onNotify(ClusterServi
    ce.CDB:3)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    at java.lang.Thread.run(Thread.java:619)
    There is no serialiser configured in the cache config, instead we just set tangosol.pof.enabled=true, and set the pof config file to what is seen above. The thing which is very confusing about this error is that unlike other clients which we connect, and in fact the servers they connect to, this client never attempts to load the cache configuration file. The point at which this should happen, prior to pof loading, shows:
    2011-07-11 15:54:57.260/1.391 Oracle Coherence GE 3.5.2/463p2 <Info> (thread=Main Thread, member=n/a): Loaded cache conf
    iguration from "jar:file:/C:/Program%20Files/Oracle/coherence/3.5.2b463P2/lib/coherence.jar!/reports/report-group.xml"
    I have tried every combination of classpath entries I can think of, and no matter what, it never shows an attempt to load the application-cache-config.xml supplied in the startup. Does anyone have any experience with something like this?

    I guess your non-storing JAVA code does not specify -Dtangosol.pof.enabled=true and the -Dtangosol.pof.config =<POF file location> on joining the cluster. Post the startup java command and the complete logs.
    If application-cache-config is not loaded then coherence-cache-config.xml should be loaded by default and set -Dtangosol.coherence.cacheconfig=<application-cache-config>
    Cheers,
    NJ

  • "unknown user type" exception when the object don't exist for i/p key.

    Hi
    I'm using Coherence REST service(comes with the Coherence bundle) to validate my cache data.
    When I hit the cache for a valid key, I get data returned back. But for the object that don't exist in the cache I get "Internal Server" error.
    I'm fine with "Internal Server" response show in the browser, but I don't want it to be printed as part of my coherence logs.
    For example, when I hit the REST url for key that don't exist in the cache, I get below exception in coherence logs.
    How can I get rid off it (or) suppress the exception logs.
    Thanks for your time.
    (Wrapped) java.io.IOException: unknown user type: com.tangosol.coherence.rest.internal.Get
         at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
         at com.tangosol.util.Base.ensureRuntimeException(Base.java:269)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher.packetizeMessage(PacketPublisher.CDB:23)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher$InQueue.add(PacketPublisher.CDB:11)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.dispatchMessage(Grid.CDB:62)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.post(Grid.CDB:31)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.send(Grid.CDB:1)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:13)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:11)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.invoke(PartitionedCache.CDB:30)
         at com.tangosol.util.ConverterCollections$ConverterInvocableMap.invoke(ConverterCollections.java:2282)
         at com.tangosol.util.ConverterCollections$ConverterNamedCache.invoke(ConverterCollections.java:2748)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.invoke(PartitionedCache.CDB:11)
         at com.tangosol.coherence.component.util.SafeNamedCache.invoke(SafeNamedCache.CDB:1)
         at com.tangosol.coherence.rest.EntryResource.getValue(EntryResource.java:241)
         at com.tangosol.coherence.rest.EntryResource.get(EntryResource.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:616)
         at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
         at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
         at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
         at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
         at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
         at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
         at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
         at com.sun.jersey.server.impl.container.httpserver.HttpHandlerContainer.handle(HttpHandlerContainer.java:191)
         at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:83)
         at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
         at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:86)
         at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:589)
         at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:83)
         at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:561)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
         at java.lang.Thread.run(Thread.java:679)
    Caused by: java.io.IOException: unknown user type: com.tangosol.coherence.rest.internal.Get
         at com.tangosol.io.pof.ConfigurablePofContext.serialize(ConfigurablePofContext.java:351)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.writeObject(Service.CDB:1)
         at com.tangosol.coherence.component.net.Message.writeObject(Message.CDB:1)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$InvokeRequest.write(PartitionedCache.CDB:7)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.serializeMessage(Grid.CDB:14)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher.packetizeMessage(PacketPublisher.CDB:17)
         ... 42 more
    Caused by: java.lang.IllegalArgumentException: unknown user type: com.tangosol.coherence.rest.internal.Get
         at com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:430)
         at com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:419)
         at com.tangosol.io.pof.PofBufferWriter.writeUserType(PofBufferWriter.java:1671)
         at com.tangosol.io.pof.PofBufferWriter.writeObject(PofBufferWriter.java:1623)
         at com.tangosol.io.pof.ConfigurablePofContext.serialize(ConfigurablePofContext.java:345)
         ... 47 more

    Hi,
    I included coherence-rest-pof-config.xml as part of my pof-config as shown below.
    <pof-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://xmlns.oracle.com/coherence/coherence-pof-config"
    xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-pof-config coherence-pof-config.xsd">
    <user-type-list>
    <include>coherence-pof-config.xml</include>
    <include>coherence-rest-pof-config.xml</include>
    <user-type>
    <type-id>1001</type-id>
    I also checked my coherence-rest.jar files for the configuration and the clasess, and all of them exist.
    I started my coherence by passing the classpath as below:
    $JAVAEXEC -server -Xms6g -Xmx6g -XX:+UseParNewGC -XX:MaxGCPauseMillis=50 -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:CMSInitiatingOccupancyFraction=25 -XX:MinHeapFreeRatio=40 -XX:MaxHeapFreeRatio=70 -Duser.timezone=GMT -Djava.rmi.server.hostname=xx.xx.xx.xx -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=13366 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dtangosol.coherence.log.level=3 -Dtangosol.coherence.log=log4j -showversion $JAVA_OPTS -cp $COHERENCE_HOME/config/:$COHERENCE_HOME/lib/coherence.jar:$COHERENCE_HOME/lib/guidecacheclient.jar:$COHERENCE_HOME/lib/jersey-server-1.8.jar:$COHERENCE_HOME/lib/jersey-core-1.8.jar:$COHERENCE_HOME/lib/jersey-json-1.8.jar:$COHERENCE_HOME/lib/jackson-all-1.8.1.jar:$COHERENCE_HOME/lib/coherence-rest.jar:$COHERENCE_HOME/lib/log4j-1.2.16.jar -Dtangosol.coherence.management=all -Dtangosol.coherence.management.remote=true -Dtangosol.coherence.localhost=xx.xx.xx.xx -Dtangosol.coherence.mode=eval com.tangosol.net.DefaultCacheServer $1
    While starting, I'm getting configuration missing exception as shown below. What am I still missing.
    Exception in thread "main" (Wrapped) (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext") java.lang.IllegalStateException: Missing PofSerializer configuration (Config=pgs-pof-config.xml, Type-Id=801, Class-Name=com.tangosol.coherence.rest.internal.Get)
         at com.tangosol.coherence.component.util.Daemon.start(Daemon.CDB:52)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:7)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
         at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:39)
         at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)
         at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)
         at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
         at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.java:1105)
         at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:937)
         at com.tangosol.net.DefaultCacheServer.startServices(DefaultCacheServer.java:81)
         at com.tangosol.net.DefaultCacheServer.intialStartServices(DefaultCacheServer.java:250)
         at com.tangosol.net.DefaultCacheServer.startAndMonitor(DefaultCacheServer.java:55)
         at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)
    Caused by: (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext") java.lang.IllegalStateException: Missing PofSerializer configuration (Config=pgs-pof-config.xml, Type-Id=801, Class-Name=com.tangosol.coherence.rest.internal.Get)
         at com.tangosol.io.ConfigurableSerializerFactory.createSerializer(ConfigurableSerializerFactory.java:46)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.instantiateSerializer(Service.CDB:1)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:32)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:4)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onEnter(Grid.CDB:25)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onEnter(PartitionedService.CDB:19)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:14)
         at java.lang.Thread.run(Thread.java:679)
    Caused by: java.lang.IllegalStateException: Missing PofSerializer configuration (Config=pgs-pof-config.xml, Type-Id=801, Class-Name=com.tangosol.coherence.rest.internal.Get)
         at com.tangosol.io.pof.ConfigurablePofContext.report(ConfigurablePofContext.java:1283)
         at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:1013)
         at com.tangosol.io.pof.ConfigurablePofContext.initialize(ConfigurablePofContext.java:797)
         at com.tangosol.io.pof.ConfigurablePofContext.setContextClassLoader(ConfigurablePofContext.java:322)
         at com.tangosol.io.ConfigurableSerializerFactory.createSerializer(ConfigurableSerializerFactory.java:42)
         ... 7 more
    Thanks for your help.

  • Coherence unknown user type error

    I am getting the following error while trying to set up coherence on a project
    {"message":"unknown user type: com.trgr.cobalt.webcontent.coherence.PortableProperties","stackTrace":"java.lang.IllegalArgumentException: unknown user type: com.trgr.cobalt.webcontent.coherence.PortableProperties\r\n\tat com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:399)\r\n\tat com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:388)\r\n\tat com.tangosol.io.pof.PofBufferWriter.writeObject(PofBufferWriter.java:1432)\r\n\tat com.tangosol.io.pof.ConfigurablePofContext.serialize(ConfigurablePofContext.java:337)\r\n\tat com.tangosol.util.ExternalizableHelper.serializeInternal(ExternalizableHelper.java:2525)\r\n\tat com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:206)\r\n\tat com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ConverterValueToBinary.convert(DistributedCache.CDB:3)\r\n\tat com.tangosol.util.ConverterCollections$ConverterMap.put(ConverterCollections.java:1566)\r\n\tat com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ViewMap.put(DistributedCache.CDB:1)\r\n\tat com.tangosol.coherence.component.util.SafeNamedCache.put(SafeNamedCache.CDB:1)\r\n\tat ....
    I have the following pof-config.xml file in my project
    From properties file:
    tangosol.pof.config=webcontent-pof-config.xml
    XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE pof-config SYSTEM "pof-config.dtd">
    <pof-config>
        <user-type-list>
            <include>coherence-pof-config.xml</include>
            <user-type>
                <type-id>16001</type-id>
                <class-name>com.trgr.cobalt.webcontent.coherence.PortableProperties</class-name>
            </user-type>
        </user-type-list>
    </pof-config>
    PortableProperties is a pretty simple class that we use to interact with the coherence cache. It simply uses a Map<String, Object>, and reads/writes the contents to the Pof. Here is the class signature for reference
    public class PortableProperties extends AbstractEvolvable implements PortableObject, Serializable
    From what I can tell, that is all the configuration you need. Does anyone have any clue what I am missing to make this work? Thanks.

    It seems that your application is loading the default POF config file and not the one defined by you in you configuration, due to which it cannot find the user-type defined by you.
    Can you please share the logs which you get on your console while starting up the server

  • ClassFilter is unknown user type

    If you try to use the ClassFilter class included with Coherence 3.6.1, it doesn't work because the pof config doesn't include an id+serializer for it. You get the "unknown user type" error.
    Why is that?
    We ended up implementing our own ClassFilter.

    If you try to use the ClassFilter class included with Coherence 3.6.1, it doesn't work because the pof config doesn't include an id+serializer for it. You get the "unknown user type" error.
    Why is that?
    We ended up implementing our own ClassFilter.

  • Issue with POF serialization - Failure to deserialize an Invocable object: java.io.StreamCorruptedException

    Am running into following exception even after following all guidelines to implement POF. The main objective is to perform Distributed Bulk cache loading.
    Oracle Coherence GE 3.7.1.10 <Error> (thread=Invocation:InvocationService, member=1): Failure to deserialize an Invocable object: java.io.StreamCorruptedException: unknown user type: 1001
    java.io.StreamCorruptedException: unknown user type: 1001
      at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3312)
      at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2604)
      at com.tangosol.io.pof.ConfigurablePofContext.deserialize(ConfigurablePofContext.java:371)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.readObject(Service.CDB:1)
      at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:1)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.InvocationService$InvocationRequest.read(InvocationService.CDB:8)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.deserializeMessage(Grid.CDB:19)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:31)
      at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
      at java.lang.Thread.run(Thread.java:662)
    Following is the pof-config.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <pof-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns="http://xmlns.oracle.com/coherence/coherence-pof-config"
                xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-pof-config/1.1/coherence-pof-config.xsd">
      <user-type-list>
        <include>coherence-pof-config.xml</include>
        <user-type>
          <type-id>1001</type-id>
          <class-name>com.westgroup.coherence.bermuda.loader.DistributedLoaderAgent</class-name>
          <serializer>
            <class-name>com.tangosol.io.pof.PofAnnotationSerializer</class-name>     
            <init-params>
              <init-param>
                <param-type>int</param-type>
                <param-value>{type-id}</param-value>
              </init-param>
              <init-param>
                <param-type>java.lang.Class</param-type>
                <param-value>{class}</param-value>
              </init-param>
              <init-param>
                <param-type>boolean</param-type>
                <param-value>true</param-value>
              </init-param>
            </init-params>
          </serializer>
        </user-type>
         <user-type>
          <type-id>1002</type-id>
          <class-name>com.westgroup.coherence.bermuda.profile.lpa.LPACacheProfile</class-name>
          <serializer>
            <class-name>com.tangosol.io.pof.PofAnnotationSerializer</class-name>     
            <init-params>
              <init-param>
                <param-type>int</param-type>
                <param-value>{type-id}</param-value>
              </init-param>
              <init-param>
                <param-type>java.lang.Class</param-type>
                <param-value>{class}</param-value>
              </init-param>
              <init-param>
                <param-type>boolean</param-type>
                <param-value>true</param-value>
              </init-param>
            </init-params>
          </serializer>
        </user-type>
         <user-type>
          <type-id>1003</type-id>
          <class-name>com.westgroup.coherence.bermuda.profile.lpa.Address</class-name>
          <serializer>
            <class-name>com.tangosol.io.pof.PofAnnotationSerializer</class-name>     
            <init-params>
              <init-param>
                <param-type>int</param-type>
                <param-value>{type-id}</param-value>
              </init-param>
              <init-param>
                <param-type>java.lang.Class</param-type>
                <param-value>{class}</param-value>
              </init-param>
              <init-param>
                <param-type>boolean</param-type>
                <param-value>true</param-value>
              </init-param>
            </init-params>
          </serializer>
        </user-type>
         <user-type>
          <type-id>1004</type-id>
          <class-name>com.westgroup.coherence.bermuda.profile.lpa.Discipline</class-name>
          <serializer>
            <class-name>com.tangosol.io.pof.PofAnnotationSerializer</class-name>     
            <init-params>
              <init-param>
                <param-type>int</param-type>
                <param-value>{type-id}</param-value>
              </init-param>
              <init-param>
                <param-type>java.lang.Class</param-type>
                <param-value>{class}</param-value>
              </init-param>
              <init-param>
                <param-type>boolean</param-type>
                <param-value>true</param-value>
              </init-param>
            </init-params>
          </serializer>
        </user-type>
         <user-type>
          <type-id>1005</type-id>
          <class-name>com.westgroup.coherence.bermuda.profile.lpa.Employment</class-name>
          <serializer>
            <class-name>com.tangosol.io.pof.PofAnnotationSerializer</class-name>     
            <init-params>
              <init-param>
                <param-type>int</param-type>
                <param-value>{type-id}</param-value>
              </init-param>
              <init-param>
                <param-type>java.lang.Class</param-type>
                <param-value>{class}</param-value>
              </init-param>
              <init-param>
                <param-type>boolean</param-type>
                <param-value>true</param-value>
              </init-param>
            </init-params>
          </serializer>
        </user-type>
      </user-type-list>
      <allow-interfaces>true</allow-interfaces>
      <allow-subclasses>true</allow-subclasses>
    </pof-config>
    cache-config.xml
    <cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"
      xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config http://xmlns.oracle.com/coherence/coherence-cache-config/1.1/coherence-cache-config.xsd">
       <defaults>
        <serializer>pof</serializer>
        </defaults>
      <caching-scheme-mapping>
      <cache-mapping>
      <cache-name>DistributedLPACache</cache-name>
      <scheme-name>LPANewCache</scheme-name>
      <init-params>
      <init-param>
      <param-name>back-size-limit</param-name>
      <param-value>250MB</param-value>
      </init-param>
      </init-params>
      </cache-mapping>
      </caching-scheme-mapping>
      <caching-schemes>
      <!-- Distributed caching scheme. -->
      <distributed-scheme>
      <scheme-name>LPANewCache</scheme-name>
      <service-name>HBaseLPACache</service-name>
      <serializer>
      <instance>
                 <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
                 <init-params>
                   <init-param>
                     <param-type>java.lang.String</param-type>
                     <param-value>pof-config.xml</param-value>
                   </init-param>
                 </init-params>
            </instance>
      </serializer>
      <backing-map-scheme>
      <read-write-backing-map-scheme>
      <internal-cache-scheme>
      <class-scheme>
      <class-name>com.tangosol.util.ObservableHashMap</class-name>
      </class-scheme>
      </internal-cache-scheme>
      <cachestore-scheme>
      <class-scheme>
      <class-name>com.westgroup.coherence.bermuda.profile.lpa.LPACacheProfile</class-name>
      </class-scheme>
      </cachestore-scheme>
      <read-only>false</read-only>
      <write-delay-seconds>0</write-delay-seconds>
      </read-write-backing-map-scheme>
      </backing-map-scheme>
      <autostart>true</autostart>
      </distributed-scheme>
      <invocation-scheme>
           <scheme-name>InvocationService</scheme-name>
           <service-name>InvocationService</service-name>
           <thread-count>5</thread-count>
           <autostart>true</autostart>
        </invocation-scheme>
      </caching-schemes>
    </cache-config>
    DistributedLoaderAgent (user type 1001)
    import java.io.IOException;
    import java.io.Serializable;
    import java.lang.annotation.Annotation;
    import org.apache.log4j.Logger;
    import com.tangosol.io.pof.PofReader;
    import com.tangosol.io.pof.PofWriter;
    import com.tangosol.io.pof.PortableObject;
    import com.tangosol.io.pof.annotation.Portable;
    import com.tangosol.io.pof.annotation.PortableProperty;
    import com.tangosol.net.AbstractInvocable;
    import com.tangosol.net.InvocationService;
    @Portable
    public class DistributedLoaderAgent extends AbstractInvocable implements PortableObject{
      private static final long serialVersionUID = 10L;
      private static Logger m_logger = Logger.getLogger(DistributedLoaderAgent.class);
      @PortableProperty(0)
      public String partDumpFileName = null;
      public String getPartDumpFileName() {
      return partDumpFileName;
      public void setPartDumpFileName(String partDumpFileName) {
      this.partDumpFileName = partDumpFileName;
      public DistributedLoaderAgent(){
      super();
      m_logger.debug("Configuring this loader ");
      public DistributedLoaderAgent(String partDumpFile){
      super();
      m_logger.debug("Configuring this loader to load dump file "+ partDumpFile);
      partDumpFileName = partDumpFile;
      @Override
      public void init(InvocationService service) {
      // TODO Auto-generated method stub
      super.init(service);
      @Override
      public void run() {
      // TODO Auto-generated method stub
      try{
      m_logger.debug("Invoked DistributedLoaderAgent");
      MetadataTranslatorService service = new MetadataTranslatorService(false, "LPA");
      m_logger.debug("Invoking service.loadLPACache");
      service.loadLPACache(partDumpFileName);
      }catch(Exception e){
      m_logger.debug("Exception in DistributedLoaderAgent " + e.getMessage());
      @Override
      public void readExternal(PofReader arg0) throws IOException {
      // TODO Auto-generated method stub
      setPartDumpFileName(arg0.readString(0));
      @Override
      public void writeExternal(PofWriter arg0) throws IOException {
      // TODO Auto-generated method stub
      arg0.writeString(0, getPartDumpFileName());
    Please assist.

    OK I have two suggestions.
    1. Always create and flush the ObjectOutputStream before creating the ObjectInputStream.
    2. Always close the output before you close the input. Actually once you close the output stream both the input stream and the socket are closed anyway so you can economize on this code. In the above you have out..writeObject() followed by input.close() followed by out.close(). Change this to out.writeObject() followed by out.close(). It may be that something needed flushing and the input.close() prevented the flush from happening.

  • Unknown User Type Error using Add-AzureAccount

    Using the following code in an Azure automation runbook from the Portal (attempting to start a VM):
    workflow VMStart
    $Cred = Get-AutomationPSCredential –Name automationuser
    Add-AzureAccount -Credential $Cred
    Select-AzureSubscription -SubscriptionName "MySubscription"
    Start-AzureVM -ServiceName "MyServiceName" -Name "MyVirtualMachine" -force
    I get the following errors in the Output Pane:
    1/15/2015 4:53:09 PM, Error: Add-AzureAccount : unknown_user_type: Unknown User Type
    At VMStart:7 char:7
    +
    + CategoryInfo : CloseError: (:) [Add-AzureAccount], AadAuthenticationFailedException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.AddAzureAccount
    1/15/2015 4:53:10 PM, Error: Select-AzureSubscription : The subscription named 'MySubscription' cannot be found. Use Set-AzureSubscription to
    initialize the subscription data.
    Parameter name: name
    At VMStart:9 char:9
    +
    + CategoryInfo : CloseError: (:) [Select-AzureSubscription], ArgumentException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.SelectAzureSubscriptionCommand
    1/15/2015 4:53:10 PM, Error: Start-AzureVM : A parameter cannot be found that matches parameter name 'force'.
    At VMStart:11 char:11
    +
    + CategoryInfo : InvalidArgument: (:) [Start-AzureVM], ParameterBindingException
    + FullyQualifiedErrorId :
    NamedParameterNotFound,Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.StartAzureVMCommand
    I can't find any information on the "Unknown User Type" error.
    Any ideas?
    Thanks,
    Scott

    Hi Joe -
    I attempted to install the Azure Powershell using the instructions here:
    http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/
    Upon completion I was unable to find Azure Powershell from Start/Programs:
    I then attempted to re-install Azure Powershell.  Initially, it came up with the error: "There was an error loading custom feed: 'http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml'. Error: 'ProductId PHP not found.'."
    I clicked OK and WPI indicated that the Azure Powershell would be installed.  I clicked INSTALL and WPI showed Azure Powershell in the list, but the Total File Download size was 0MB.  I clicked I ACCEPT and it immediately blinked back that Azure
    Powershell was installed.
    When I clicked FINISH, however, the following was displayed:
    Here is the the log file from the latest attempt:
    DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9842185
    DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9842185 responded with 302
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 302 Found
    Cache-Control: private
    Content-Length: 175
    Content-Type: text/html; charset=utf-8
    Expires: Fri, 16 Jan 2015 17:18:12 GMT
    Location: https://www.microsoft.com/web/webpi/5.0/webproductlist.xml
    Server: Microsoft-IIS/8.5
    X-AspNet-Version: 2.0.50727
    X-Powered-By: ASP.NET
    Date: Fri, 16 Jan 2015 17:19:11 GMT
    DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/webproductlist.xml responded with 304
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 304 Not Modified
    Content-Type: text/xml
    Last-Modified: Thu, 15 Jan 2015 19:17:09 GMT
    ETag: "246ac1dbf730d01:0"
    Cache-Control: max-age=280
    Date: Fri, 16 Jan 2015 17:19:12 GMT
    Connection: keep-alive
    X-CCC: US
    X-CID: 2
    DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\1343597488.xml.temp
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml
    DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml responded with 304
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 304 Not Modified
    Content-Type: text/xml
    Last-Modified: Fri, 17 Oct 2014 12:44:38 GMT
    ETag: "97c9cd1c8eacf1:0"
    Cache-Control: max-age=296
    Date: Fri, 16 Jan 2015 17:19:14 GMT
    Connection: keep-alive
    X-CCC: US
    X-CID: 2
    DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\-97141593.xml.temp
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/webapplicationlist.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-97141593.xml'
    DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml
    DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml responded with 304
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 304 Not Modified
    Content-Type: text/xml
    Last-Modified: Thu, 08 May 2014 18:42:31 GMT
    ETag: "26a51545ed6acf1:0"
    Cache-Control: max-age=372
    Date: Fri, 16 Jan 2015 17:19:15 GMT
    Connection: keep-alive
    X-CCC: US
    X-CID: 2
    DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\-230948881.xml.temp
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/mediaproductlist.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-230948881.xml'
    DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml
    DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml responded with 304
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 304 Not Modified
    Content-Type: text/xml
    Last-Modified: Tue, 21 Oct 2014 20:26:36 GMT
    ETag: "247eed4f6dedcf1:0"
    Cache-Control: max-age=278
    Date: Fri, 16 Jan 2015 17:19:15 GMT
    Connection: keep-alive
    X-CCC: US
    X-CID: 2
    DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\-1135381691.xml.temp
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-1135381691.xml'
    DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml
    DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml responded with 304
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 304 Not Modified
    Content-Type: text/xml
    Last-Modified: Thu, 08 May 2014 18:42:32 GMT
    ETag: "8285645ed6acf1:0"
    Cache-Control: max-age=60
    Date: Fri, 16 Jan 2015 17:19:15 GMT
    Connection: keep-alive
    X-CCC: US
    X-CID: 2
    DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\-1877981721.xml.temp
    DownloadManager Information: 0 : Filtering by current OS
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://www.microsoft.com/web/webpi/5.0/enterpriseproductlist.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\-1877981721.xml'
    DownloadManager Information: 0 : Sucessfully loaded the feed 'https://go.microsoft.com/?linkid=9842185' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\1343597488.xml'
    DownloadManager Information: 0 : Loading product xml from: http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml
    DownloadManager Information: 0 : Content-Encoding header: 'gzip'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '14692'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '104283'
    DownloadManager Information: 0 : Failed to load the feed 'http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\883561549.xml.err'
    DownloadManager Error: 0 : Error loading downloaded product file: 'System.InvalidOperationException: ProductId PHP not found.
    at Microsoft.Web.PlatformInstaller.DependencyProduct.ResolveProductIds(ProductManager pm)
    at Microsoft.Web.PlatformInstaller.DependencyLogicalAnd.ResolveProductIds(ProductManager pm)
    at Microsoft.Web.PlatformInstaller.Product.ResolveIDs()
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXmlInternal(LineInfoDocument xmlDoc, Boolean loadEnclosures)
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(LineInfoDocument document, Boolean loadEnclosures)
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(String xmlFile, Boolean loadEnclosures)
    at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 osType)'
    DownloadManager Information: 0 : Content-Encoding header: 'gzip'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '14692'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '104283'
    DownloadManager Information: 0 : Failed to load the feed 'http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml' after preprocessing, location on disk: 'C:\Users\Scott\AppData\Local\Microsoft\Web Platform Installer\preprocessor\883561549.xml.err'
    DownloadManager Error: 0 : Error loading feed http://www.microsoft.com/web/webpi/2.0/ToolsProductList.xml: System.InvalidOperationException: ProductId PHP not found.
    at Microsoft.Web.PlatformInstaller.DependencyProduct.ResolveProductIds(ProductManager pm)
    at Microsoft.Web.PlatformInstaller.DependencyLogicalAnd.ResolveProductIds(ProductManager pm)
    at Microsoft.Web.PlatformInstaller.Product.ResolveIDs()
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXmlInternal(LineInfoDocument xmlDoc, Boolean loadEnclosures)
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(LineInfoDocument document, Boolean loadEnclosures)
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadFromXml(String xmlFile, Boolean loadEnclosures)
    at Microsoft.Web.PlatformInstaller.ProductManager.Load(Uri productFileUrl, Boolean filterByArchitectureAndOS, Boolean loadEnclosures, Boolean useCachedVersion, String cacheDirectory, Architecture architecture, Int32 osType)
    at Microsoft.Web.PlatformInstaller.ProductManager.LoadExternalFile(Uri uri)
    at Microsoft.Web.PlatformInstaller.ProductServiceImpl.LoadProducts(String primaryFeed, String[] feeds)
    DownloadManager Information: 0 : Getting ratings file from http://go.microsoft.com/?linkid=9752395
    DownloadManager Information: 0 : Contextual entry products: WindowsAzurePowerShell
    DownloadManager Information: 0 : Adding product Microsoft Azure PowerShell with Microsoft Azure SDK (WindowsAzurePowershell) to cart
    DownloadManager Information: 0 : Contextual navigation to product 'WindowsAzurePowershell'
    DownloadManager Information: 0 : http://go.microsoft.com/?linkid=9752395 responded with 302
    DownloadManager Information: 0 : Response headers:
    HTTP/1.1 302 Found
    Cache-Control: private
    Content-Length: 203
    Content-Type: text/html; charset=utf-8
    Expires: Fri, 16 Jan 2015 17:18:17 GMT
    Location: http://www.microsoft.com/web/handlers/WebPI.ashx?command=getatomfeedwithavgratingquery
    Server: Microsoft-IIS/8.5
    X-AspNet-Version: 2.0.50727
    X-Powered-By: ASP.NET
    Date: Fri, 16 Jan 2015 17:19:16 GMT
    DownloadManager Information: 0 : Content-Encoding header: 'gzip'
    DownloadManager Information: 0 : Number of bytes downloaded over the internet: '22570'
    DownloadManager Information: 0 : Number of bytes after possible decompression: '75392'
    DownloadManager Warning: 0 : Error getting last-modified header, error code: 12150
    DownloadManager Warning: 0 : HttpQueryInfoWithRetry for HTTP_QUERY_LAST_MODIFIED failed.
    DownloadManager Information: 0 : Ratings file loaded successfully
    DownloadManager Information: 0 : Dependent product WindowsAzurePowershellOnly does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product WindowsManagementFramework_86_64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product WindowsAzurePowershellOnly does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product WindowsManagementFramework_86_64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product WindowsAzurePowershellOnly does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Dependent product WindowsManagementFramework_86_64 does not apply for current OS / configuration. Not adding
    DownloadManager Information: 0 : Adding product 'WindowsAzurePowershell'
    DownloadManager Information: 0 : Setting current install to 1
    DownloadManager Information: 0 : Starting install sequence
    DownloadManager Information: 0 : Starting EXE command for product 'Microsoft Azure PowerShell with Microsoft Azure SDK'. Commandline is: 'C:\Windows\system32\cmd.exe /C echo noop'. Process Id: 5308
    DownloadManager Information: 0 : Install exit code for product 'Microsoft Azure PowerShell with Microsoft Azure SDK' is '0'
    DownloadManager Information: 0 : Install return code for product 'Microsoft Azure PowerShell with Microsoft Azure SDK' is Success
    DownloadManager Information: 0 : Product Microsoft Azure PowerShell with Microsoft Azure SDK done install completed
    DownloadManager Information: 0 : Increasing current install to 2
    DownloadManager Information: 0 : Product: WindowsAzurePowershell, Install Status: InstallCompleted-Success, Install Time: 00:00:00.0560000
    DownloadManager Information: 0 : Clearing cart
    I did attempt to open the regular Powershell and use the command Get-AzureVM, but the following error was returned:
    The term 'Get-AzureVM' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
    spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:12
    + Get-AzureVM <<<<
    + CategoryInfo : ObjectNotFound: (Get-AzureVM:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    Any advice appreciated...
    Thanks,
    Scott

  • Unknown user type: oracle.jbo.domain.Date exception from time to time. How to solve?

    Hi,
    This is the first time I am using Coherence to cache some lists in my ADF Application. This is my objects configuration file:
    <?xml version="1.0"?>
    <!DOCTYPE pof-config SYSTEM "pof-config.dtd">
    <pof-config>
        <user-type-list>
            <!-- coherence POF user types -->
            <include>coherence-pof-config.xml</include>
            <!-- com.tangosol.examples package -->
            <user-type>
                <type-id>1001</type-id>
                <class-name>package.dataproviders.TFDO1Services</class-name>
            </user-type>
            <user-type>
                <type-id>1002</type-id>
                <class-name>package.dataproviders.TFDO2Services</class-name>
            </user-type>
        </user-type-list>
        <allow-interfaces>true</allow-interfaces>
        <allow-subclasses>true</allow-subclasses>
    </pof-config>
    I have implemented the portableObject interface to each of my objects and they look like this:
        @Override
        public void readExternal(PofReader pofReader) throws IOException {
            this.tfMyList = (ArrayList<GenericRowData>) pofReader.readObject(0);
        @Override
        public void writeExternal(PofWriter pofWriter) throws IOException {
            pofWriter.writeObject(0, this.tfMyList);
    Please any help would be great!

    Hi Alejandro,
    Please note that when POF serialize collections it is somewhat lossy, in that when you deserialize the collection you may get a different collection implementation.  I.e. you're list will come out as a an implementation of java.util.List but not necessarily a java.util.ArrayList, so just cast to the List interface.  If you absolutely need a certain class impl type then you can use the readCollection method passing in the list you wish to have populated.
    thanks,
    Mark

  • Change user type with terminal

    Hi all,
    I am trying to find the commands' to be able to change a 'Service' user from an Admin user to a standard user. I have found ways to do it via single user mode however i would like to be able to do this with terminal as i will be using remote desktop to change all the service users in my company. Any help would be great
    Cheers

    I can't take full credit for this. I found it at:
    http://farbflash.de/cgi-bin/blosxom.cgi/?find=snippets
    I did, however, know the command to look for.
    The commands necessary to create an admin user are as follows:
    sudo -s
    niutil -create . /users/username
    niutil -createprop . /users/username passwd \"\"
    niutil -createprop . /users/username home /Users/username
    niutil -createprop . /users/username shell /bin/tcsh
    niutil -createprop . /users/username uid 520
    niutil -createprop . /users/username gid 20
    niutil -createprop . /users/username realname \"First Last\" - if this property is not created, the user won't appear in the loginwindow!
    niutil -appendprop . /groups/admin users username - only for admin users!
    These below are optional:
    niutil -createprop . /users/username hint \"password hint\"
    niutil -createprop . /users/username writerspassword username
    niutil -createprop . /users/username writershint \"\"
    niutil -createprop . /users/username writerspicture username
    niutil -createprop . /users/username sharedDir Public
    exit
    There needs to be a valid home directory, shell, and/or SharedDir for the user. A home directory can be created as easily as:
    sudo mkdir /Users/username
    sudo chown username:staff /Users/username
    Or if you want the default OS X user directory structure:
    sudo cp -rp /System/Library/User Template/English.lproj /Users/username
    sudo chown -R username:staff /Users/username
    (/System/Library/User Template also has other localized language templates)
    Additional info:
    To change an admin user back to an ordinary user:
    sudo niutil -destroyval . /groups/admin users username
    Be careful to leave at least one accessible admin user, otherwise you will lock yourself out of your machine.
    after changing netinfo:
    sudo niutil -resync .
    log out and in the user you changed.

  • Pof Serialization issue

    Hi guys,
    I get an "unknown user type issue" for only one class defined in my pof-config-file. The rest are ok which is the part I can't get my head round.
    Log (showing config load)
    Everything seems to load ok. In fact, just to confirm, I messed up some tags in the xml file and I got problems. So it's finding the file ok.
    +010-06-30 11:35:11.965/1.212 Oracle Coherence GE 3.5.3/465 <D5> (thread=Cluster, member=n/a): Member 1 joined Service InvocationService with senior member 1+
    +2010-06-30 11:35:12.007/1.255 Oracle Coherence GE 3.5.3/465 <D5> (thread=Invocation:Management, member=2): Service Management joined the cluster with senior service member 1+
    +2010-06-30 11:35:12.267/1.514 Oracle Coherence GE 3.5.3/465 <Info> (thread=Cluster, member=2): Loading POF configuration from resource "file:/mnt/linux-share/zeus/Zeus-core/config/zeus-pof-config.xml"+
    +2010-06-30 11:35:12.268/1.515 Oracle Coherence GE 3.5.3/465 <Info> (thread=Cluster, member=2): Loading POF configuration from resource "jar:file:/mnt/linux-share/repository/com/tangsol/coherence/3.5.3/coherence-3.5.3.jar!/coherence-pof-config.xml"+
    +2010-06-30 11:35:12.283/1.530 Oracle Coherence GE 3.5.3/465 <D5> (thread=DistributedCache, member=2): Service DistributedCache joined the cluster with senior service member 1+
    +2010-06-30 11:35:12.338/1.585 Oracle Coherence GE 3.5.3/465 <D5> (thread=DistributedCache, member=2): Service DistributedCache: received ServiceConfigSync containing 2040 entries+
    Exception
    Exception in thread "main" java.lang.IllegalArgumentException: unknown user type: org.zeus.query.QueryInvocable
    at com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:400)
    at com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:389)
    at com.tangosol.io.pof.PofBufferWriter.writeObject(PofBufferWriter.java:1432)
    at com.tangosol.io.pof.ConfigurablePofContext.serialize(ConfigurablePofContext.java:338)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.writeObject(Service.CDB:4)
    at com.tangosol.coherence.component.net.Message.writeObject(Message.CDB:1)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.InvocationService$InvocationRequest.write(InvocationService.CDB:3)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher.packetizeMessage(PacketPublisher.CDB:137)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher$InQueue.add(PacketPublisher.CDB:8)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.dispatchMessage(Grid.CDB:50)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.post(Grid.CDB:35)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.send(Grid.CDB:1)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.InvocationService.execute(InvocationService.CDB:31)
    at com.tangosol.coherence.component.util.safeService.SafeInvocationService.execute(SafeInvocationService.CDB:1)
    at org.ebtic.bpm.zeus.query.DistributedQueryProcessor.invokeQuery(DistributedQueryProcessor.java:133)
    at org.ebtic.bpm.zeus.query.DistributedQueryProcessor.query(DistributedQueryProcessor.java:95)
    at org.ebtic.bpm.zeus.query.DistributedQueryProcessor.main(DistributedQueryProcessor.java:56)
    My pof-config file looks like this:
    +<!DOCTYPE pof-config SYSTEM "pof-config.dtd">+
    +<pof-config>+
    +<user-type-list>+
    +<include>coherence-pof-config.xml</include>+
    +<user-type>+
    +<type-id>10001</type-id>+
    +<class-name>org.util.ZeusKey</class-name>+
    +</user-type>+
    +<user-type>+
    +<type-id>10002</type-id>+
    +<clas-name>org.query.QueryInvocable</clas-name>+
    +</user-type>+
    +<user-type>+
    +<type-id>10003</type-id>+
    +<class-name>org.sequencegenerator.ZeusSequenceGenerator$State</class-name>+
    +</user-type>+
    +</user-type-list>+
    +<allow-interfaces>true</allow-interfaces>+
    +<allow-subclasses>true</allow-subclasses>+
    +</pof-config>+
    Only the class QueryInvocable is causing a problem. ZeusKey and SequenceGenerator are working perfectly well.
    QueryInvocable looks like the following:
    public class QueryInvocable
    extends AbstractInvocable implements ExternalizableLite,
    PortableObject
    +{+
    private String m_sCacheName;
    private PartitionSet partitionSet;
    public QueryInvocable()
    +{+
    +}+
    public QueryInvocable(String sCacheName, PartitionSet partitions)
    +{+
    m_sCacheName = sCacheName;
    partitionSet = partitions;
    +}+
    +public PartitionSet getPartitionSet(){+
    return partitionSet;
    +}+
    +public String getCacheName(){+
    return m_sCacheName;
    +}+
    +public void setPartitionSet(PartitionSet pSet){+
    this.partitionSet = pSet;
    +}+
    +public void setCacheName(String name){+
    this.m_sCacheName = name;
    +}+
    +/**+
    +* {@inheritDoc}+
    +public void run(){+
    +try{+
    ZeusQueryProcessor client = new ZeusQueryProcessor("Distributed Query Processor", partitionSet);
    client.process();
    +}+
    +catch(Exception e){+
    System.err.println("Exception creating ZeusQueryProcessor.");
    e.printStackTrace();
    +}+
    +}+
    +public void readExternal(PofReader reader) throws IOException{+
    System.out.println("Reading in....");
    m_sCacheName = reader.readString(0);
    partitionSet = (PartitionSet) reader.readObject(1);
    +}+
    +public void writeExternal (PofWriter writer) throws IOException{+
    System.out.println("Writing out....");;
    writer.writeString(0, m_sCacheName);
    writer.writeObject(1, partitionSet);
    +}+
    +public void readExternal(DataInput in) throws IOException{+
    System.out.println("Reading in....");
    m_sCacheName = (String) ExternalizableHelper.readObject(in);
    partitionSet = (PartitionSet) ExternalizableHelper.readObject(in);
    +}+
    +public void writeExternal(DataOutput out) throws IOException{+
    System.out.println("Writing out....");;
    ExternalizableHelper.writeObject(out, m_sCacheName);
    ExternalizableHelper.writeObject(out, partitionSet);
    +}+
    +}+
    Edited by: user11218537 on 30-Jun-2010 00:54

    user11218537 wrote:
    Sorry, this was the result of my not-very-efficient attempt to anonymize my code posting. The package and class names do actually match.
    I may have "by accident" solved the problem but I am not sure since I have to test properly. It appears that if I define the PofSerialization stuff in the pof-context.xml, which is then referenced from my coherence-cache-config.xml, I should not set the tangosol.pof.enabled=true flag.
    I was basically trying to turn of pof so that I could test something else in my code but it appears that just by removing that flag in the cache-server.sh script (which I had added earlier), the problem disappeared and coherence is still using pof.
    What am I missing? Is this behaviour correct?If you remove the tangosol.pof.enabled flag from the Java properties, then POF by default will not be used.
    On the other hand if you still have POF configured for certain services with the <serializer> element referring to a PofContext implementation e.g. ConfigurablePofContext, then those services (and only those services) will use POF.
    Best regards,
    Robert

  • Error getting while creating the custom pof serializer class

    the error which i am getting is
    2011-07-19 15:16:38.767/4.840 Oracle Coherence GE 3.7.0.0 <Error> (thread=main, member=1): Error while starting se
    vice "AspNetSessionCache": (Wrapped) (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext")
    Wrapped: Unable to load class for user type (Config=pof-config.xml, Type-Id=1001, Class-Name=examples.testJavaClas
    )) (Wrapped) java.lang.ClassNotFoundException: examples.testJavaClass
    at com.tangosol.coherence.component.util.Daemon.start(Daemon.CDB:52)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:7)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
    at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:39)
    at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)
    at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)
    at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
    at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.
    ava:1102)
    at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:934
    at com.tangosol.net.DefaultCacheServer.startServices(DefaultCacheServer.java:81)
    at com.tangosol.net.DefaultCacheServer.intialStartServices(DefaultCacheServer.java:250)
    at com.tangosol.net.DefaultCacheServer.startAndMonitor(DefaultCacheServer.java:55)
    at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)
    Caused by: (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext") (Wrapped: Unable to load c
    ass for user type (Config=pof-config.xml, Type-Id=1001, Class-Name=examples.testJavaClass)) (Wrapped) java.lang.Cl
    ssNotFoundException: examples.testJavaClass
    at com.tangosol.io.ConfigurableSerializerFactory.createSerializer(ConfigurableSerializerFactory.java:46)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.instantiateSerializer(Service.CDB:1
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:32)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:4)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onEnter(Grid.CDB:26)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onEnter(Par
    itionedService.CDB:19)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:14)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: (Wrapped: Unable to load class for user type (Config=pof-config.xml, Type-Id=1001, Class-Name=examples.
    estJavaClass)) (Wrapped) java.lang.ClassNotFoundException: examples.testJavaClass
    at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
    at com.tangosol.io.pof.ConfigurablePofContext.report(ConfigurablePofContext.java:1254)
    at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:956)
    at com.tangosol.io.pof.ConfigurablePofContext.initialize(ConfigurablePofContext.java:775)
    at com.tangosol.io.pof.ConfigurablePofContext.setContextClassLoader(ConfigurablePofContext.java:319)
    at com.tangosol.io.ConfigurableSerializerFactory.createSerializer(ConfigurableSerializerFactory.java:42)
    ... 7 more
    Caused by: (Wrapped) java.lang.ClassNotFoundException: examples.testJavaClass
    at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
    at com.tangosol.util.Base.ensureRuntimeException(Base.java:269)
    at com.tangosol.io.pof.ConfigurablePofContext.loadClass(ConfigurablePofContext.java:1198)
    at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:952)
    ... 10 more
    Caused by: java.lang.ClassNotFoundException: examples.testJavaClass
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at com.tangosol.util.ExternalizableHelper.loadClass(ExternalizableHelper.java:3056)
    at com.tangosol.io.pof.ConfigurablePofContext.loadClass(ConfigurablePofContext.java:1194)
    ... 11 more
    Exception in thread "main" (Wrapped) (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext")
    Wrapped: Unable to load class for user type (Config=pof-config.xml, Type-Id=1001, Class-Name=examples.testJavaClas
    )) (Wrapped) java.lang.ClassNotFoundException: examples.testJavaClass
    at com.tangosol.coherence.component.util.Daemon.start(Daemon.CDB:52)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:7)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
    at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:39)
    at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)
    at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)
    at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
    at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.
    ava:1102)
    at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:934
    at com.tangosol.net.DefaultCacheServer.startServices(DefaultCacheServer.java:81)
    at com.tangosol.net.DefaultCacheServer.intialStartServices(DefaultCacheServer.java:250)
    at com.tangosol.net.DefaultCacheServer.startAndMonitor(DefaultCacheServer.java:55)
    at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)
    Caused by: (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext") (Wrapped: Unable to load c
    ass for user type (Config=pof-config.xml, Type-Id=1001, Class-Name=examples.testJavaClass)) (Wrapped) java.lang.Cl
    ssNotFoundException: examples.testJavaClass
    at com.tangosol.io.ConfigurableSerializerFactory.createSerializer(ConfigurableSerializerFactory.java:46)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.instantiateSerializer(Service.CDB:1
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:32)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:4)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onEnter(Grid.CDB:26)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onEnter(Par
    itionedService.CDB:19)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:14)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: (Wrapped: Unable to load class for user type (Config=pof-config.xml, Type-Id=1001, Class-Name=examples.
    estJavaClass)) (Wrapped) java.lang.ClassNotFoundException: examples.testJavaClass
    at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
    at com.tangosol.io.pof.ConfigurablePofContext.report(ConfigurablePofContext.java:1254)
    at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:956)
    at com.tangosol.io.pof.ConfigurablePofContext.initialize(ConfigurablePofContext.java:775)
    at com.tangosol.io.pof.ConfigurablePofContext.setContextClassLoader(ConfigurablePofContext.java:319)
    at com.tangosol.io.ConfigurableSerializerFactory.createSerializer(ConfigurableSerializerFactory.java:42)
    ... 7 more
    Caused by: (Wrapped) java.lang.ClassNotFoundException: examples.testJavaClass
    at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
    at com.tangosol.util.Base.ensureRuntimeException(Base.java:269)
    at com.tangosol.io.pof.ConfigurablePofContext.loadClass(ConfigurablePofContext.java:1198)
    at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:952)
    ... 10 more
    Caused by: java.lang.ClassNotFoundException: examples.testJavaClass
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at com.tangosol.util.ExternalizableHelper.loadClass(ExternalizableHelper.java:3056)
    at com.tangosol.io.pof.ConfigurablePofContext.loadClass(ConfigurablePofContext.java:1194)
    ... 11 more
    2011-07-19 15:16:38.825/4.898 Oracle Coherence GE 3.7.0.0 <D4> (thread=ShutdownHook, member=1): ShutdownHook: stop
    ing cluster node
    2011-07-19 15:16:38.826/4.899 Oracle Coherence GE 3.7.0.0 <D5> (thread=Cluster, member=1): Service Cluster left th
    cluster
    Press any key to continue . . .
    coherence-pof-config.xml is
    <?xml version="1.0"?>
    <!DOCTYPE pof-config SYSTEM "pof-config.dtd">
    <pof-config>
    <user-type-list>
    <user-type>
    <type-id>1001</type-id>
    <class-name>examples.testJavaClass</class-name>
    <serializer>
    <class-name>com.tangosol.io.pof.PortableObjectSerializer</class-name>
    <init-params>
    <init-param>
    <param-type>string</param-type>
    <param-value>1</param-value>
    </init-param>
    </init-params>
    </serializer>
    </user-type>
    </user-type-list>
    </pof-config>
    testJavaClass.CLASS file is
    package examples;
    import com.tangosol.io.pof.PofReader;
    import com.tangosol.io.pof.PofWriter;
    import com.tangosol.io.pof.PortableObject;
    import com.tangosol.util.Base;
    import java.io.IOException;
    public class testJavaClass implements PortableObject
    private String MembershipId;
    private String m_sStreet;
    private String m_sCity;
    public testJavaClass()
    public testJavaClass(String sName, String sStreet, String sCity)
    setName(sName);
    setStreet(sStreet);
    setCity(sCity);
    public void readExternal(PofReader reader)
    throws IOException
    setName(reader.readString(0));
    setStreet(reader.readString(1));
    setCity(reader.readString(2));
    public void writeExternal(PofWriter writer)
    throws IOException
    writer.writeString(0, getName());
    writer.writeString(1, getStreet());
    writer.writeString(2, getCity());
    // accessor methods omitted for brevity
    Thanks.

    Hi Wijk,
    I have created java class with using NetBeans IDE .
    and running with .NET client and i kept it in the folder (C:\Program Files\Oracle\Coherence for .NET\examples\ContactCache.Java\src\examples).
    Thanks....

  • Strange issue with POF: byte array with the value 94

    This is a somewhat strange issue we’ve managed to reduce to this test case. We’ve also seen similar issues with chars and shorts as well. It’s only a problem if the byte value inside the byte array is equal to 94! A value of 93, 95, etc, seems to be ok.
    Given the below class, the byte values both in the array and the single byte value are wrong when deserializing. The value inside the byte array isn’t what we put in (get [75] instead of [94]) and the single byte value is null (not 114).
    Pof object code:
    package com.test;
    import java.io.IOException;
    import java.util.Arrays;
    import com.tangosol.io.pof.PofReader;
    import com.tangosol.io.pof.PofWriter;
    import com.tangosol.io.pof.PortableObject;
    public class PofObject1 implements PortableObject {
         private byte[] byteArray;
         private byte byteValue;
         public void setValues() {
              byteArray = new byte[] {94};
              byteValue = 114;
         @Override
         public void readExternal(PofReader reader) throws IOException {
              Object byteArray = reader.readObjectArray(0, null);
              Object byteValue = reader.readObject(1);
              System.out.println(Arrays.toString((Object[])byteArray));
              System.out.println(byteValue);
              if (byteValue == null) throw new IOException("byteValue is null!");
         @Override
         public void writeExternal(PofWriter writer) throws IOException {
              writer.writeObject(0, byteArray);
              writer.writeObject(1, byteValue);
    Using writer.writeObjectArray(0, byteArray); instead of writer.writeObject(0, byteArray); doesn't help. In this case byteArray would be of type Object[] (as accessed through reflection).
    This is simply put in to a distributed cache and then fetched back. No EPs, listeners or stuff like that involved:
         public static void main(String... args) throws Exception {
              NamedCache cache = CacheFactory.getCache("my-cache");
              PofObject1 o = new PofObject1();
              o.setValues();
              cache.put("key1", o);
              cache.get("key1");
    Only tried it with Coherecne 3.7.1.3.
    Cache config file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
         <caching-scheme-mapping>
              <cache-mapping>
                   <cache-name>my-cache</cache-name>
                   <scheme-name>my-cache</scheme-name>
              </cache-mapping>
         </caching-scheme-mapping>
         <caching-schemes>
              <distributed-scheme>
                   <scheme-name>my-cache</scheme-name>
                   <service-name>my-cache</service-name>
                   <serializer>
                        <class-name>
                             com.tangosol.io.pof.ConfigurablePofContext
                        </class-name>
                        <init-params>
                             <init-param>
                                  <param-type>string</param-type>
                                  <param-value>pof-config.xml</param-value>
                             </init-param>
                        </init-params>
                   </serializer>
                   <lease-granularity>thread</lease-granularity>
                   <thread-count>10</thread-count>
                   <backing-map-scheme>
                        <local-scheme>
                        </local-scheme>
                   </backing-map-scheme>
                   <autostart>true</autostart>
              </distributed-scheme>
         </caching-schemes>
    </cache-config>
    POF config file:
    <?xml version="1.0"?>
    <pof-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://xmlns.oracle.com/coherence/coherence-pof-config"
         xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-pof-config coherence-pof-config.xsd">
         <user-type-list>
              <!-- coherence POF user types -->
              <include>coherence-pof-config.xml</include>
              <user-type>
                   <type-id>1460</type-id>
                   <class-name>com.test.PofObject1</class-name>
              </user-type>
         </user-type-list>
    </pof-config>

    Hi,
    POF uses certain byte values as an optimization to represent well known values of certain Object types - e.g. boolean True and False, some very small numbers, null etc... When you do read/write Object instead of using the correct method I suspect POF gets confused over the type and value that the field should be.
    There are a number of cases where POF does not know what the type is - Numbers would be one of these, for example if I stored a long of value 10 on deserialization POF would not know if that was an int, long double etc... so you have to use the correct method to get it back. Collections are another - If you serialize a Set all POF knows is that you have serialized some sort of Collection so unless you are specific when deserializing you will get back a List.
    JK

  • ChainedExtractor user type missing

    Hi,
    I am trying to use ChainedExtractor in my project but when i am running the program it is throwing error:
    (Wrapped) java.io.IOException: unknown user type: com.tangosol.util.extractor.ChainedExtractor
    It is complaining about all in-built filters and asking me to add in pof config which i was expecting that it will add itself.
    Am i missing something????
    Thanks

    Hi
    Coherence classes are not automatically added to the POF configuration, you need to include them in your POF configuration file using an <include> like this...
    <?xml version="1.0"?>
    <pof-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xmlns="http://xmlns.oracle.com/coherence/coherence-pof-config"
                  xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-pof-config coherence-pof-config.xsd">       
      <user-type-list>
        <include>coherence-pof-config.xml</include>   
        <!-- Add your own types here -->
      </user-type-list>
    </pof-config>
    You can see on line 6 <include>coherence-pof-config.xml</include>  that imports the POF configuration file that is inside the coherence.jar
    JK

  • C++ - Unable to load class for user type- ClassNotFoundException

    Hi ,
    I'm getting ClassNotFoundException when i try to start the coherence server. I've no clue to solve it.
    Any help would be appreciated.
    i'm using POF serializer and registering the class using the macro
    COH_REGISTER_POF_SERIALIZER(1234,TypedClass<CVOG_AllocationInquiry>::create(), PortableObjectSerializer::create(1234));
    i've set the CLASSPATH to my source folder.
    i read some posts saying we need java wrapper for this? is that true, do we need java wrapper for all the c++classes that we register.
    Here are the details:
    my C++ class :
    class CVOG_AllocationInquiry : public cloneable_spec<CVOG_AllocationInquiry, extends<Object>, implements< PortableObject> >
         friend class factory<CVOG_AllocationInquiry>;
    protected:
         CVOG_AllocationInquiry()
         : m_modl_yr_nbr(self()), m_sellng_src_cd(self()), m_alloc_grp_cd(self()),
         m_namplt_cd(self()), m_veh_prod_cd(self()), m_alloc_grp_desc(self())
         CVOG_AllocationInquiry(String::View modl_yr_nbr, String::View sellng_src_cd, String::View alloc_grp_cd, String::View namplt_cd, String::View veh_prod_cd, String::View alloc_grp_desc)
                             :m_modl_yr_nbr(self(),modl_yr_nbr),m_sellng_src_cd(self(),sellng_src_cd),m_alloc_grp_cd(self(),alloc_grp_cd),m_namplt_cd(self(),namplt_cd),
                             m_veh_prod_cd(self(),veh_prod_cd),m_alloc_grp_desc(self(),alloc_grp_desc)
    // initialize(m_modl_yr_nbr, modl_yr_nbr);
         CVOG_AllocationInquiry(const CVOG_AllocationInquiry& alloc)
                        :super(alloc),m_modl_yr_nbr(self(),alloc.m_modl_yr_nbr),m_sellng_src_cd(self(),alloc.m_sellng_src_cd),
                        m_alloc_grp_cd(self(),alloc.m_alloc_grp_cd),m_namplt_cd(self(),alloc.m_namplt_cd),
                        m_veh_prod_cd(self(),alloc.m_veh_prod_cd),m_alloc_grp_desc(self(),alloc.m_alloc_grp_desc)
    public:
         virtual String::View getGrpCd() const {return m_alloc_grp_cd; }
         virtual String::View getGrpDesc() const { return m_alloc_grp_desc;}
         virtual String::View getModlYr() const { return m_modl_yr_nbr;}
         virtual String::View getNmPltCd() const {return m_namplt_cd; }
         virtual String::View getSelSrcCd() const {return m_sellng_src_cd; }
         virtual String::View getVehProdCd() const { return m_veh_prod_cd ;}
    virtual void writeExternal(PofWriter::Handle hOut) const
         hOut->writeString(0, getModlYr());
         hOut->writeString (1, getSelSrcCd());
         hOut->writeString (2, getGrpCd());
         hOut->writeString (3, getNmPltCd());
         hOut->writeString (4, getVehProdCd());
         hOut->writeString (5, getGrpDesc());
    virtual void readExternal(PofReader::Handle hIn)
         // add for other members also here
    initialize(m_modl_yr_nbr, hIn->readString(0));
    initialize(m_sellng_src_cd, hIn->readString(1));
    initialize(m_alloc_grp_cd, hIn->readString(2));
    initialize(m_namplt_cd, hIn->readString(3));
    initialize(m_veh_prod_cd, hIn->readString(4));
    initialize(m_alloc_grp_desc, hIn->readString(5));
    public: // Object interface
    virtual bool equals(Object::View that) const
    if (instanceof<CVOG_AllocationInquiry::View>(that))
         CVOG_AllocationInquiry::View vThat = cast<CVOG_AllocationInquiry::View>(that);
    return Object::equals(getGrpCd() ,vThat->getGrpCd()) &&
                   Object::equals(getGrpDesc() ,vThat->getGrpDesc()) &&
                   Object::equals(getModlYr() ,vThat->getModlYr()) &&
                   Object::equals(getNmPltCd() ,vThat->getNmPltCd()) &&
                   Object::equals(getSelSrcCd() ,vThat->getSelSrcCd()) &&
                   Object::equals(getVehProdCd() ,vThat->getVehProdCd());
    return false;
    virtual size32_t hashCode() const
         size32_t m_nNum;
    return (size32_t) m_nNum;
    virtual void toStream(std::ostream& out) const
    out << getGrpCd() << ", " << getGrpDesc() << " " << getModlYr();
    private:
    FinalView<String> m_modl_yr_nbr;
    FinalView<String> m_sellng_src_cd;
    FinalView<String> m_alloc_grp_cd;
    FinalView<String> m_namplt_cd;
    FinalView<String> m_veh_prod_cd;
    FinalView<String> m_alloc_grp_desc;
    cache config file -
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>AllocInq-extend</cache-name>
    <scheme-name>extend-dist</scheme-name>
    </cache-mapping>
    <cache-mapping>
    <cache-name>dist-extend-near</cache-name>
    <scheme-name>extend-near</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <near-scheme>
    <scheme-name>extend-near</scheme-name>
    <front-scheme>
    <local-scheme>
    <high-units>1000</high-units>
    </local-scheme>
    </front-scheme>
    <back-scheme>
    <remote-cache-scheme>
    <scheme-ref>extend-dist</scheme-ref>
    </remote-cache-scheme>
    </back-scheme>
    <invalidation-strategy>all</invalidation-strategy>
    </near-scheme>
    <remote-cache-scheme>
    <scheme-name>extend-dist</scheme-name>
    <service-name>ExtendTcpProxyService</service-name>
    <initiator-config>
    <tcp-initiator>
    <remote-addresses>
    <socket-address>
    <address>localhost</address>
    <port>9099</port>
    </socket-address>
    </remote-addresses>
    <connect-timeout>10s</connect-timeout>
    </tcp-initiator>
    <outgoing-message-handler>
    <request-timeout>5s</request-timeout>
    </outgoing-message-handler>
    </initiator-config>
    </remote-cache-scheme>
    <remote-invocation-scheme>
    <scheme-name>extend-invocation</scheme-name>
    <service-name>ExtendTcpInvocationService</service-name>
    <initiator-config>
    <tcp-initiator>
    <remote-addresses>
    <socket-address>
    <address>localhost</address>
    <port>9099</port>
    </socket-address>
    </remote-addresses>
    <connect-timeout>10s</connect-timeout>
    </tcp-initiator>
    <outgoing-message-handler>
    <request-timeout>5s</request-timeout>
    </outgoing-message-handler>
    </initiator-config>
    </remote-invocation-scheme>
    </caching-schemes>
    </cache-config>
    server config file :
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>AllocInq-*</cache-name>
    <scheme-name>dist-default</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <distributed-scheme>
    <scheme-name>dist-default</scheme-name>
    <lease-granularity>member</lease-granularity>
    <thread-count>8</thread-count>
    <backing-map-scheme>
    <local-scheme/>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>
    <proxy-scheme>
    <service-name>ExtendTcpProxyService</service-name>
    <thread-count>5</thread-count>
    <acceptor-config>
    <serializer>
    <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
    <init-params>
    <init-param>
    <param-type>String</param-type>
    <param-value>/home/hema/workspace/CoherenceClient/config/pof.xml</param-value>
    </init-param>
    </init-params>
    </serializer>
    <tcp-acceptor>
    <local-address>
    <address>localhost</address>
    <port>9099</port>
    </local-address>
    </tcp-acceptor>
    </acceptor-config>
    <proxy-config>
    <cache-service-proxy>
    <lock-enabled>true</lock-enabled>
    </cache-service-proxy>
    </proxy-config>
    <autostart>true</autostart>
    </proxy-scheme>
    </caching-schemes>
    </cache-config>
    pof.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>1234</type-id>
    <class-name>CVOG_AllocationInquiry</class-name>
    <serializer>
    <class-name>CVOG_AllocationInquiry</class-name>
    <init-params>
    <init-param>
    <param-type>string</param-type>
    <param-value>1</param-value>
    </init-param>
    </init-params>
    </serializer>
    </user-type>
    </user-type-list>
    </pof-config>

    Hi Mark,
    i did go thru' the thread and understood that no "pof " mentioning in the cache xml file. I removed the pof config details from the cache xml config file and registersd the c++ class using the macro.
    after these, iwas able to start the extended proxy server from consol:
    When i try to do the same from my program as :
    String::View vsCacheName = "AllocInq-extend";
              CacheFactory::configure(CacheFactory::loadXmlFile(String::create ("/home/hema/workspace/CoherenceClient/config/cache-config_TCP.xml")),CacheFactory::loadXmlFile(String::create("/home/hema/workspace/CoherenceClient/config/tangosol-coherence-override.xml")));
              NamedCache::Handle hCache = NULL;
              hCache = CacheFactory::getCache(vsCacheName);
    i get the following error,
    Oracle Coherence for C++ Version 3.7.0.0 Build 23257
    RTC Linux x64 Release g++ build
    Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
    2011-09-06 08:01:48.185/13.197 Oracle Coherence for C++ RTC 3.7.0.0 <D5> (thread=ExtendTcpProxyService:coherence::component::util::TcpInitiator): Started: coherence::component::util::TcpInitiator@0x73d3c8{Name=ExtendTcpProxyService:coherence::component::util::TcpInitiator, State=(service_started), ThreadCount=0, Codec=coherence::component::net::extend::PofCodec@0x744300{Format=POF}, PingInterval=0, PingTimeout=5000, RequestTimeout=5000, ConnectTimeout=10000, RemoteAddresses=[sles/192.168.1.5:9099], KeepAliveEnabled=0, TcpDelayEnabled=0, ReceiveBufferSize=0, SendBufferSize=0, LingerTimeout=0}
    2011-09-06 08:01:48.187/13.199 Oracle Coherence for C++ RTC 3.7.0.0 <D5> (thread=main): Connecting Socket to sles/192.168.1.5:9099
    2011-09-06 08:01:51.199/16.211 Oracle Coherence for C++ RTC 3.7.0.0 <Info> (thread=main): Error connecting Socket to sles/192.168.1.5:9099: coherence::io::IOException: getpeername(nSocket, &addrPeer, &cbPeer) failed; errno[107]
    at virtual bool coherence::native::posix::PosixSocket::connect(coherence::lang::TypedHandle<const coherence::net::SocketAddress>, int64_t)(PosixSocket.hpp:640)
    at coherence::native::posix::PosixSocket::connect(coherence::lang::TypedHandle<coherence::net::SocketAddress const>, long)
    at coherence::net::Socket::connect(coherence::lang::TypedHandle<coherence::net::SocketAddress const>, long)
    at coherence::component::util::TcpInitiator::openConnection()
    at coherence::component::util::Initiator::ensureConnection()
    at coherence::component::net::extend::RemoteCacheService::openChannel()
    at coherence::component::net::extend::RemoteService::doStart()
    at coherence::component::net::extend::RemoteService::start()
    at coherence::component::util::SafeService::startService(coherence::lang::TypedHandle<coherence::net::Service>) const
    at coherence::component::util::SafeService::restartService() const
    at coherence::component::util::SafeService::ensureRunningServiceInternal(bool) const
    at coherence::component::util::SafeService::start()
    at coherence::net::DefaultConfigurableCacheFactory::configureService(coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureService(coherence::lang::String::StringHandle<coherence::lang::String const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureRemoteCache(coherence::lang::TypedHandle<coherence::net::DefaultConfigurableCacheFactory::CacheInfo const>, coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::configureCache(coherence::lang::TypedHandle<coherence::net::DefaultConfigurableCacheFactory::CacheInfo const>, coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureCache(coherence::lang::String::StringHandle<coherence::lang::String const>)
    at coherence::net::CacheFactory::getCache(coherence::lang::String::StringHandle<coherence::lang::String const>)
    <stack frame symbol unavailable>
    at __libc_start_main
    on thread "main"
    2011-09-06 08:01:51.210/16.222 Oracle Coherence for C++ RTC 3.7.0.0 <Error> (thread=main): Unable to start service ExtendTcpProxyService: coherence::net::messaging::ConnectionException: could not establish a connection to one of the following addresses: {sles/192.168.1.5:9099}; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
    at virtual coherence::lang::TypedHandle<coherence::component::net::extend::PofConnection> coherence::component::util::TcpInitiator::openConnection()(TcpInitiator.cpp:284)
    at coherence::component::util::TcpInitiator::openConnection()
    at coherence::component::util::Initiator::ensureConnection()
    at coherence::component::net::extend::RemoteCacheService::openChannel()
    at coherence::component::net::extend::RemoteService::doStart()
    at coherence::component::net::extend::RemoteService::start()
    at coherence::component::util::SafeService::startService(coherence::lang::TypedHandle<coherence::net::Service>) const
    at coherence::component::util::SafeService::restartService() const
    at coherence::component::util::SafeService::ensureRunningServiceInternal(bool) const
    at coherence::component::util::SafeService::start()
    at coherence::net::DefaultConfigurableCacheFactory::configureService(coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureService(coherence::lang::String::StringHandle<coherence::lang::String const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureRemoteCache(coherence::lang::TypedHandle<coherence::net::DefaultConfigurableCacheFactory::CacheInfo const>, coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::configureCache(coherence::lang::TypedHandle<coherence::net::DefaultConfigurableCacheFactory::CacheInfo const>, coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureCache(coherence::lang::String::StringHandle<coherence::lang::String const>)
    at coherence::net::CacheFactory::getCache(coherence::lang::String::StringHandle<coherence::lang::String const>)
    <stack frame symbol unavailable>
    at __libc_start_main
    on thread "main"
    coherence::net::messaging::ConnectionException: could not establish a connection to one of the following addresses: {sles/192.168.1.5:9099}; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
    at virtual coherence::lang::TypedHandle<coherence::component::net::extend::PofConnection> coherence::component::util::TcpInitiator::openConnection()(TcpInitiator.cpp:284)
    at coherence::component::util::TcpInitiator::openConnection()
    at coherence::component::util::Initiator::ensureConnection()
    at coherence::component::net::extend::RemoteCacheService::openChannel()
    at coherence::component::net::extend::RemoteService::doStart()
    at coherence::component::net::extend::RemoteService::start()
    at coherence::component::util::SafeService::startService(coherence::lang::TypedHandle<coherence::net::Service>) const
    at coherence::component::util::SafeService::restartService() const
    at coherence::component::util::SafeService::ensureRunningServiceInternal(bool) const
    at coherence::component::util::SafeService::start()
    at coherence::net::DefaultConfigurableCacheFactory::configureService(coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureService(coherence::lang::String::StringHandle<coherence::lang::String const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureRemoteCache(coherence::lang::TypedHandle<coherence::net::DefaultConfigurableCacheFactory::CacheInfo const>, coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::configureCache(coherence::lang::TypedHandle<coherence::net::DefaultConfigurableCacheFactory::CacheInfo const>, coherence::lang::TypedHandle<coherence::run::xml::XmlElement const>)
    at coherence::net::DefaultConfigurableCacheFactory::ensureCache(coherence::lang::String::StringHandle<coherence::lang::String const>)
    at coherence::net::CacheFactory::getCache(coherence::lang::String::StringHandle<coherence::lang::String const>)
    <stack frame symbol unavailable>
    at __libc_start_main
    on thread "main"
    Pls can you suggest something, greatly appreciated in advance.
    althouh i did observe one thing,, when i start the service from console, the ip is different. But from the program, it displays the different ip that it looks for connection and fails.

  • Accessing an Unknown User account

    Sorry if this is covered I could only find how to get rid on them and I need to access them not get rid of them.
    I had a system crash with a blue screen. When it came back there was only a temp profile loading. In System Properties
    under the tab Advanced button User Profiles
    I have two Unknown Users listed with sizes listed.There is no folder for them under Users nor a listing in the system management in control panel. I cannot find these anywhere I could access them to pull files.
    After some time I switched her  to a local profile because of size limitations on the server and letting the profile rebuilt from the server copy I found that a large chunk of profile went missing. I believe it is in one of these two "Account Unknown"
    users that show in the accounts list where you set to local accounts.
    Problem I have is I don't have a profile folder to pull from. Yet I see this large profile listed.
    My question is there any way I can get into that profile to retrieve those missing files? I have been reading posts about this for days and they are all what are these profiles and how do I make them go away. Well I need into them.
    Hope you can help,
    thank you,
    Ric

    I have tried a data recovery software. I have Data Rescue. It finds all sorts of deleted files. the problems are I have no idea if they are from the missing profile. reason being the profile was not deleted be someone it was dumped after a system crash and
    was gone from the user folder after a reboot from a bluescreen. Now you can see them here and I really need to access them in the profile's structure as it was on the system IE the desktop and DOCUMENT folders and so on.
    Now does someone know how to do that? I have a  screen shot but I have to wait to show it. well the profile the unknown is listed as 2.3GB.
    Also if the fix need to run in other OS I can make it work I'm good a few different ones.
    Thank you anyone that can help.

Maybe you are looking for

  • Laptop crashed and how to transfer music from ipod back to laptop and won't transfer new purchases to ipod?

    My laptop crashed about 2 days ago. I got it fixed and had to reinstall it. I had to reinstall itunes all over again. How do I transfer all my songs from my ipod including the ones that were from hardcopies and by hardcopies I mean cds I bought in re

  • Adobe Forms - Table control data Saved in Database table through Web Dynpro

    Hello Friends, I Am facing a Problem in Adobe Forms through Web Dynpro. i Want to Make Interactive online Adobe Forms - In Table Control user enter the multiple entry in the table control and after that Click on SAVE button , entry will saved in Data

  • Best Way to Save Data

    Hi all, I'm relatively new to Java, and have a quick question. What is the best way to save data in an application, and what is a good rule of thumb when to dive into a database to hold the information. For example a directory of people and their inf

  • Weblogic 8.1 suddenly failing to start at the 1536MB level

    We are running WebLogic Server 8.1 SP5 on Windows Server 2003 SP2. We have been running weblogic for a long time with a memory allocation of 1.5GB (1536MB). But all of a sudden, it wouldn't start giving the following error. "Error occured during init

  • Oracle Forms Exam study guide

    I want to study for the Oracle Forms: Build Internet application exam (IZ0-141) is this exam specified by oracle versions? Forms for 9i looks a little different that forms for 10g. If it is for 9i the download for Oracle9i Application Server is no lo