"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.

Similar Messages

  • Conflicts in DOE when the object does not exist in CDS.

    Hi all.
    SCENARIO:
    I have implemented a SWCV with only a DO ( backend triggered). It has a Node structure with only one child structure.
    My DO has three function:
    - GETLIST:  return a table with objects from R3  identified by WCRN.
    - GETDETAIL: For each register from getlist, return a list of child registers with state : IMP or SEÑ.
                        This state in R3 may be IMP, SEÑ o NORM (but in devices, only I want them in state IMP o SEÑ)
    - MODIFY: modify the state for a child register.
    EXAMPLE:
    For example, I create a parent object in R3 with 3 children registers with state IMP. This parent register with his three children registers are upload to CDS.  When I syncronize, I obtain them in my device.
    PROBLEM:
    The problem starts when I modify the state to NORM of any child register in R3.  Then, in DOE, this child register is deleted in CDS becouse as I have said before, the function GETDETAIL only returns registers in state IMPS o SEÑ. Automatically the queue
    of my device is update too. Before syncronize my device, I change the state to SEÑ of the tree children registers in PDA. Then when I syncronize, the process tries to update then in CDS but one of this child register does not exist in DOE so I obtain the error text below in DOE:
    Mesage: "Cannot update/delete object that does not exist in the CDS; node 'ZMOB_DESC_ETIQUETA' "
    Service Name:  KEYMAP_SERVICE_BV  And in my Device, the child which generated the conflict does not exist (this is oK) but I continue having the others two children registers with the same state that I modified before syncronizing (SEÑ) while in R3 those two states are IMP.
    I have tested to modify the 3 posibilities of conflict detection scheme of the DO but the problem continues.
    I would like to know if there is any posibility or configuration to obtain the next scenario:  when this conflict will occurs, GETDETAIL will run and depending on which source will have preference:
    1- DEVICE PREFERENCE - the state from children registers in R3 will be updated to SEÑ.
    2 - R3 PREFERENCE - the state from my children registers in the device will be the same as in R3 (IMP).
    but never never never  never will happens like now ( differente state in R3 and PDA after syncronizing)
    Best regards
    Edited by: Maria Elena Fernandez on Feb 10, 2010 12:52 PM

    Hi again Oliver.
    Are you sure that ROW-LEVEL Conflict handling should detect the row with conflict and download the others two child register trought GETDAIL?
    I've just checked it again but it continues without working. After the conflict, none child is downloaded to my device.
    According to your two opcions:
    1- Imposible to avoid that.  It's a customer's requirement that they can modify states by R3 and Devices.
    2- Imposible too becouse we've already implemented the swcv in a production scenario. The application is already running and to change the model suppose a long time.
    I explain you the scenario again with an graphical example:
    INIITIAL STATE:  ( Device)
    parent structure :  ID1(key), date,                                 
    child structure:        ID1, 1, IMP (status)                                 
                                            ID1, 2, IMP (status)                                
                                            ID1, 3, IMP (status)                                 
    INITIAL STATE ( R3).
    ID1(key), date, ....
      -  ID1, 1, IMP(status)
      -  ID1, 2, IMP(status)
      -  ID1, 3, IMP (status)
    After this, I modified in R3->   ID1, 1, IMP  to  ID1, 1, NOR
    Then, GETDETAIL starts and deletes that register in DOE.
    Now I change the 3 children register in Device
      ID1, 1, IMP     -->  ID1, 1, SEÑ                                       
      ID1, 2, IMP     -->  ID1, 2, SEÑ                                   
      ID1, 3, IMP     -->   ID1, 3, SEÑ          
    After I syncronice,  FINAL STATE ( Device)
    parent structure :  ID1(key), date, ....                             
         child strucuture:                                                                               
    - ID1, 2, SEÑ (status)                             
                                     - ID1, 3, SEÑ (status)            
    FINAL STATE ( R3)
       ID1(key), date, ....
            -  ID1, 1, NORM(status)
            -  ID1, 2, IMP(status)
            -  ID1, 3, IMP (status)
    And that is the problem, different states between R3 and device.   I should need that the state in device for the others two children will be also IMP if R3 has preference or the two children will be SEÑ in R3 if the device has preference. But Now neither children in R3 nor children in Device are updated . Only the first which generate the conflict is deleted from device ( normal because it was still in the queue from the device before syncronice.
    Best regards.
    Edited by: Maria Elena Fernandez on Feb 11, 2010 8:32 AM
    Edited by: Maria Elena Fernandez on Feb 11, 2010 8:43 AM

  • MIME Content Type in HTTP Headers - They don't exist for TIFF images

    Hello,
    I think this may be a bug...
    In an effort to stop client browsers from attempting to render TIF images served up from UCM 11g, I would like to change the MIME Typte to: application/octet-stream
    Supremely, a browser would see this in the HTTP header and simply provide the "OPEN or SAVE" dialog.
    Seems easy enough - from the UCM Configuration Manager, I can set/edit all the mime types I want. I did set .tiff and .tif to application/octet-stream. Apparently Weblogic does NOT honor these settings.
    When I click on a PDF file, I get: application/pdf
    When I click on a TXT file, I get: text/plain
    When I click on a TIF file, I get: NOTHING - no mime type specified in the HTTP header at all.
    Does anybody know where in the stack of Weblogic/UCM 11g that mime types are set? Does anybody know why I'm not seeing ANY mime type when I click on a tif?
    Please let me know.
    Thanks!
    JDM

    Yeah, that does seem a bit unwieldy. Try the following instead:
    Navigate to the "<Middleware_home>/user_projects/domains/<yourdomain>/config/" directory and there create the following file :
    mimemappings.properties
    In this file add the below mapping :
    tiff=application/octet-stream
    Save the changes , restart UCM server and then test to see if the issue still shows up .

  • 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

  • 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

  • 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

  • [BUG]rb_gc_mark() unknown data type 0x0(0x1810340) non object Error

    I reference Sigar in my code, like this
          sigar = Sigar.new
          fs_list = sigar.file_system_list
    It occur error when sigar call file_system_list method,
    the error decription :
    /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:28: [BUG] rb_gc_mark(): unknown data type 0x10(0x1ca9920) non object
    ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux]
    -- Control frame information -----------------------------------------------
    c:0018 p:---- s:0075 b:0075 l:000074 d:000074 CFUNC  :file_system_list
    c:0017 p:0029 s:0072 b:0072 l:000071 d:000071 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:28
    c:0016 p:0017 s:0064 b:0062 l:000061 d:000061 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:14
    c:0015 p:0063 s:0056 b:0056 l:000055 d:000055 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat.rb:60
    c:0014 p:0093 s:0046 b:0044 l:000043 d:000043 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat.rb:26
    c:0013 p:0062 s:0041 b:0041 l:000040 d:000040 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat_processor.rb:32
    c:0012 p:0009 s:0037 b:0037 l:000a10 d:000036 BLOCK  /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat_processor.rb:19
    c:0011 p:---- s:0035 b:0035 l:000034 d:000034 FINISH
    c:0010 p:---- s:0033 b:0033 l:000032 d:000032 CFUNC  :call
    c:0009 p:0025 s:0030 b:0030 l:000029 d:000029 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/em/timers.rb:51
    c:0008 p:---- s:0027 b:0027 l:000026 d:000026 FINISH
    c:0007 p:---- s:0025 b:0025 l:000024 d:000024 CFUNC  :call
    c:0006 p:---- s:0023 b:0023 l:000022 d:000022 CFUNC  :run_machine
    c:0005 p:0248 s:0020 b:0020 l:000019 d:000019 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256
    c:0004 p:0129 s:0013 b:0013 l:000db0 d:000db0 METHOD /var/vcap/packages/cloud_agent/lib/cloud_agent/runner.rb:45
    c:0003 p:0206 s:0009 b:0009 l:002148 d:001660 EVAL   /var/vcap/packages/cloud_agent/bin/cloud_agent:29
    c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
    c:0001 p:0000 s:0002 b:0002 l:002148 d:002148 TOP
    -- Ruby level backtrace information ----------------------------------------
    /var/vcap/packages/cloud_agent/bin/cloud_agent:29:in `<main>'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/runner.rb:45:in `run'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `call'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/em/timers.rb:51:in `fire'
    /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/em/timers.rb:51:in `call'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat_processor.rb:19:in `block in enable'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat_processor.rb:32:in `beat'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat.rb:26:in `send_via_mbus'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/heartbeat.rb:60:in `heartbeat_payload'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:14:in `get_usage'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:28:in `fs_usage_safe'
    /var/vcap/packages/cloud_agent/lib/cloud_agent/disk.rb:28:in `file_system_list'
    -- C level backtrace information -------------------------------------------
    *** glibc detected *** ruby: malloc(): smallbin double linked list corrupted: 0x0000000001b7c260 ***
    sometimes it happen and sometimes not,the versiong of sigar is 0.7.2,ruby is 1.9.3p448, i could solve this probelm  although i spent some days on this probem.
    i will appericate you suggestion

    I thik it is connected with Garbage Collector,I Close the GC(GC.disable),then i create a Sigar object,continuly, i open GC(GC.enable),it seem that it work well now,is there some wrong with the Sigar Gem package?

  • 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

  • How to create a new user, USERA, to have all the objects of USERB?

    Question as the title.
    Also, the USERA can only SELECT the objects of USERB.
    There is no any other previlage available to USERA.
    Thanks in advance.

    Hi, If USERA can ONLY see the objects of USERB, than granting SELECT ANY TABLE will not help, with this privilege USERA wil be able to select pretty much any table in the database, except for dictionary tables.
    I think what you need to do is create USERA, create public synonyms for all the tables under USERB, grant select to USERA on all the tables individually owned by USERB( if there are many tables that you can generate a script using SQL).
    This USERA will only have access to USERB tables and has only SELECT access and any other user whom you want to access these tables, you create the same grant script and run it.
    This way you need not have to maintain a seperate copy of all the USERB tables under USERA .
    Hope this helps.
    -Ramki

  • When a new user is created on the Server Computer,Why profile for the user is created as computername.username?

    When a new user is created on the Server Computer,Why profile for the user is created as computername.username?

    This is done if there are domain users with the same name. For example, if there is a domain user named 'test' who has logged in on the server, he will get the profile 'test'. If you then create a local user named 'test', the profile 'test' already exists
    and the computer will create the profile 'computername.test'

  • 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.

  • Unknown calculation type [0] during the dynamic calculation

    Dear Experts,
    I've received the following error when I try to run a business rule (Run on save) attached to a data form:
    "Unknown calculation type [0] during the dynamic calculation. Only default agg/formula/time balance operations are handled"
    Thanks in advance..

    Log into Oracle Support and have a read of
    "Error "1012703 Unknown calculation type [0] during the dynamic calculation. Only default agg/formula/time balance operations are handled" During Calculation [ID 744529.1]"
    "Error: "Unknown calculation type [0] during the dynamic calculation. Only default agg/formula/time balance operations are handled." [ID 593227.1]"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • I bought an ebook but when I  try to download it I receive a message stating 'Adobe reader could not open .....acsm because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wa

    Can anyone assist me? I keep receiving this message when I download my ebook ''Adobe reader could not open .....acsm because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't decoded).'
    Much appreciated

    I think you should ask in the Digital Editions forum, Adobe Digital Editions

  • When I try to open a PDF downloaded from Adobe DC I get an error message:Adobe Acrobat Reader DC could not open 'nrneph.2015.33.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email

    When I try to download a PDF from Adobe DC, I get an error message: "Adobe Acrobat Reader DC could not open 'nrneph.2015.33.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)"
    I am using a Macbook Pro, OSX 10.9.5, Safari browser. Previous versions of Adobe Acrobat have worked fine for years.
    WGC

    What's the name of the file you are attempting to open?  Is it "ScreenFlow_4.5.2.dmg"?  If it is the correct name then the message is correct and you are attempting to open a file with DMG files extension and not one with a PDF file extension.  Adobe Reader opens PDF files an not any other file type.

  • I keep getting an error on my MAC when i try to open any and all JPG FILES.  How do I correct  Adobe Reader could not open 'images rest 12-4.jpg' because it is either not a supported file type or because the file has been damaged (for example, it was sent

    Adobe Reader could not open 'images rest 12-4.jpg' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
    that is the message how do i correct this problem

    It sounds like your file associations are messed up and Reader is trying to open your .jpg files. Is this correct?
    If so, you just need to change the associations to choose what application opens them. Here's how: Change File Associations in Mac OS X

Maybe you are looking for