Question related to POF configuration and use-subclasses

Hi,
I noticed that the default POF configuration in coherence.jar (coherence-pof-config.xml) forces the use-subclasses flag to true (the ultimate use-subclasses value is true if whichever loaded POF configuration file specifies it to be true), and thus making it impossible to get error messages if a certain subclass of a registered type is not registered specifically in the POF-configuration, and users may silently lose data this way.
My question is:
Is the use-subclasses flag in the coherence-pof-config.xml set to true only because of Throwable-s, or are there other Coherence-provided classes which are serialized by subclass resolution and thus depend on the use-subclasses flag being true?
If only the Throwable-s depend on that, then instead of setting it to true, we can set it to false and use the following class instead of ConfigurablePofContext as the Serializer class for the POF-enabled services:
import com.tangosol.io.pof.ConfigurablePofContext;
import com.tangosol.run.xml.XmlElement;
* This class extends ConfigurablePofContext with the possibility to
* configurably disable the subclass-allowed setting forced true in the
* coherence-pof-config.xml, and still be able to use ThrowablePofSerializer for
* each not specifically configured Throwable subclass.
* @author Robert Varga
public class ThrowableAwareConfigurablePofContext extends
      ConfigurablePofContext {
    * By setting this flag to true, it is possible to disable subclass
    * resolution. Interface resolution remains untouched.
   private boolean m_fDisableSubclassAllowed;
    * {@inheritDoc}
   public ThrowableAwareConfigurablePofContext() {
    * {@inheritDoc}
    * @param sLocator
   public ThrowableAwareConfigurablePofContext(String sLocator) {
      super(sLocator);
    * {@inheritDoc}
    * @param xml
   public ThrowableAwareConfigurablePofContext(XmlElement xml) {
      super(xml);
    * Sets the {@link #m_fDisableSubclassAllowed} flag. You can set this as an
    * <init-param> in the Coherence cache configuration file.
    * @param disableSubclassAllowed
   public void setDisableSubclassAllowed(boolean disableSubclassAllowed) {
      this.m_fDisableSubclassAllowed = disableSubclassAllowed;
    * @return false if disableSubclassAllowed is true, or result from the super
    *         implementation otherwise.
   @Override
   protected boolean isSubclassAllowed() {
      return (!m_fDisableSubclassAllowed) && super.isSubclassAllowed();
    * If the super implementation could not resolve the type id for the class,
    * and subclass-allowed is disabled and clz is a {@link java.lang.Throwable}
    * subclass then it falls back to the configuration for
    * {@link java.lang.Throwable}.
   @Override
   protected int getInheritedUserTypeIdentifier(Class clz) {
      int result = super.getInheritedUserTypeIdentifier(clz);
      if (result == -1 && !isSubclassAllowed()
            && Throwable.class.isAssignableFrom(clz)) {
         result = getUserTypeIdentifier(Throwable.class);
      return result;
}Thanks and best regards,
Robert

dcarrano wrote:
Hi Robert,
If you are only interested in Java you are correct.
If you need more detail please let me know but I hope this answers your question.
Best regards,
-DaveHi Dave,
I am also interested in other environments, so I need more detail.
I am looking at the portability of my POF Serializer generator in which I assume that use-subclasses is false, because supporting use-subclasses being true would be quite hard to define, not to mention implement.
Thanks and best regards,
Robert

Similar Messages

  • How to configure and use jboss cache

    Hi,
    I need to use Jboss Cache in our application,
    But i don't know anything about Jboss Cache...
    can u tell me requirements and configuration for this?
    and i am using jboss application server 3.2.3..
    and apache-ant-1.7.1, jdk1.6.0_06, jbosscache 2.2.0
    can u tell me how to configure and use jboss cache?
    Thanks & Regards
    Thilkumar

    Go to the JBoss web site and read up on the documentation there.
    And if you still have any questions you'll probably get better answers at the JBoss forums than in these forums.
    - Roy

  • How to configure and use StartTLS on Windows AD server (2008 R2 or 2012) ?

    I would like to use port 389 with secure ldap using StartTLS, i.e ldap over TLS. I could not find documentation to configure and use ldap over tls using port 389 with the implementation of StartTLS command. Though I could find documentation on secure ldap
    on port 636. Please help.

    Hello,
    see about self-signed certificates in
    http://support.microsoft.com/kb/321051/en-us and how to enable them in AD.
    Please see if steps in
    https://kb.meraki.com/knowledge_base/certificate-requirements-for-tls will help you.
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • How to configure and use labview using java

    I want to configure and use labview in my application using java, please help me out with a solution how i can configure it (like providing input to labview and getting output from labview in java ).
    Thanks,
    ATF

    Did you try a search?
    Or: How Do I Integrate Java with National Instruments Software Products?

  • How to Configure and Use Oracle's JMS Connector with Tibco EMS

    Jeff,
    I am getting the below exception while try to do the deployment of the sample provided on 'How to Configure and Use Oracle's JMS Connector with Tibco Enterprise for JMS'
    While deployment not able to get the 'TibcoJMSReference',
    As I understand in the 'orion-application.xml for the below, unable to get the instance. Could you adivce how I can enable the trace more?
    <resource-provider class="com.evermind.server.deployment.ContextScanningResourceProvider" name="TibcoJMSReference">
    could you help to resolve the issue?
    Error
    Operation failed with error: No resource named 'TibcoJMSReference/TibcoXACF'found

    Hi,
    I'm also looking for the same 'Configure and Use Oracle's JMS Connector with Tibco JMS to consume message'. If you have already implemented and working fine, please let me know the steps and some documents.

  • How to configure and use KM

    Hi Experts,
    Iam new to KM.We need to configure KM for our client. When I surfed internet ,I can see only explanation on KM but I need steps for configuration and details about how well KM can be used. Share me the documents,procedures and steps to configure and use KM.
    Currently Iam working on KM Navigation Iview and I have following doubts
    1) Is there a way to allot some space in KM automatically when users are newly created.Under Userhome link of KM , for the newly created users a seperate link is automatically created .Do I have to assign that to user for using KM.
    2)Can we restrict space for each user in KM.
    3)How to configure and customize context menu in KM navigation iview.
    Regards
    Karthiheyan Murugesan

    Hi Karthiheyan,
    Still I have further requirement like How to transfer all datas of KM from one server to a new server for all the users (also how to create back up?   
      Through KM Tranport you can transport  the contents from server to server
    For KM content transport go through the below help document
    http://help.sap.com/saphelp_nw70/helpdata/en/46/7649426fd759dbe10000000a1553f6/frameset.htm
    How to customize the various options like view , actions ,settings present under Details option?
    For the context menu of folder New->Forms->...How to restrict this forms visibility?   
            This can be done using the Layout set,there you will be having collection render,resource render,details setting through which the options can be customized and  the customized layout should be used in field layout set in the KM Navigation Iview.For further understanding go through the below document.
    http://help.sap.com/saphelp_nw70/helpdata/en/30/504a1e7f0e354bbf9adedf1a29f3ec/frameset.htm
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/504e31fc-f46f-2910-98b4-dd94478c22f8?QuickLink=index&overridelayout=true
    Naga

  • Configurations and uses of productionresource/tool..?

    Hii friends.
    Please let me know the uses of productionresource/tool and its configurations and uses. i heard that most of the manufacturing industries use this senarious.
    Please help me
    Regards,
    Sirish

    Dear,
    Production Resource/Tool(PRT) is a moveable operating resource used in production
    You can assign production resources and tools to the task lists and production orders for which they are required.
    Production resources/tools that are used for testing during production can be assigned to the corresponding inspection characteristic in the inspection plan.
    Purpose
    Unlike machines and fixed assets, production resources and tools (PRTs) are movable (not stationary) operating resources that are required to perform an activity and can be used repeatedly. For example, PRTs include documents, engineering drawings, jigs and fixtures, and measurement instruments.
    You can assign production resources/tools to internal and external activities. You use the assignment to determine:
    The quantity
    The operating time
    The dates
    of the PRTs required to carry out the activity.
    There are several categories of production resources and tools in the R/3 System. The category determines the characteristics and business functions that a PRT can have.
    You can create production resources/tools with the following categories:
    A material PRT has its own material master record with the view "PRT". A material PRT can be procured, that is, it can either be purchased or produced. You can also keep it in stock and track both its value and quantity.
    A miscellaneous PRT has its own PRT master record and can neither be procured nor kept in stock.
    A document PRT has its own document info record, (for example engineering drawings or NC programs). You can manage these PRTs using the R/3 Document Management System.
    In the Project System you can assign documents directly to activities. Consequently you will not use this type of PRT very often.
    An equipment PRT has its own equipment master record and has the full equipment functionality. This category is particularly useful for those production resources or tools which you must maintain yourself or which must be serviced at regular intervals. With the equipment category, you can furnish proof of service or usage values for the production resource/tool.
    PRT as a material - MM01
    PRT Master - CF01
    Document - CV01N
    Equipment - IE01
    PRT availability check - OPJK
    PRT control keys - IMG>Production>Basic data>PRT>define control keys
    Also refer the links below...
    http://help.sap.com/saphelp_47x200/helpdata/en/89/a42719461e11d182b50000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/bf/5ffd0e6d4311d1ad5e0000e8a6353a/frameset.htm
    Hope this helps...
    Regards
    R.Brahmankar

  • Tiny doc error? Configuring+and+Using+Coherence+Extend

    This page:
    http://coherence.oracle.com/display/COH35UG/Configuring+and+Using+Coherence+Extend
    mentions the string "dist-extend-direct" only once. Is that intended just as an example of something that would match against
    <cache-name>dist-*</cache-name>
    or was that an error? It seems like it should be mentioned explicitly in the XML config file examples on that page.
    -Andrew

    Hi Andrew,
    It is the former. It is intended as an example of a cache name that would match the "<cache-name>dist-*</cache-name>" cache mapping in the cluster cache config.
    Patrick

  • Configure and use push notifications for IOS - Xamarin

    Is it possible to configure and use push notifications in SharePoint 2013 apps for iPhone Xamarin.
    Recently I started creating a Xamarin application that supports both Android and IPhone application. So my doubt here is, Is it possible to create a solution in SharePoint Server for sending
    push notifications and a client side iOS - Xamarin application for receiving the notifications.
    If Possible how I can create the same. Please help. If it is not possible anyone please suggest me a workaround to implement the same.

    This is not a permanent fix but through this you can easily use the apps
    Go to Settings> General> Accessibility> Guided Access
    Now tap the Guided Access and turn it on.
    Now go straight to the app which is having this problem. After opening the app press the home button 3 times to activate the Guided Access mode.
    After activating and choosing a password you'll see that there is no "connect to iTunes to use push notifications in ios 8.1" pop up any more.
    If you want to leave the app press the home button three times again.
    Thanks
    It works 100%

  • Question about Backing Up apps and using Migration tool

    Since installing Leopard on my G5 PPC, I have been having a strange problem with the sleep, screen saver. Anytime the system goes into screensaver or sleep, it will not come back and will be frozen. Needless to say I was told by the Mac Genius guys that I need to do a clean install.
    So my real question now is about backing up all my apps and then using the migration tool to bring them back into the new install. I was going to attempt to use Carbon Copy Cloner on a second internal drive (Time Machine has never worked for me on my Lacie 500gb.) Once I have a full bootable copy, I will do a clean install (erase and install option) on my original drive, then I guess I am going to use the migration tool.
    So my questions are:
    1) Does this strategy seem like it will work?
    2) Is the migration tool straightforward? IE - Can I pick and choose what to put back on the new install?
    3) Any pitfalls that I should be aware of?
    I have already backed up my docs and data to the external, but I have so many programs with plugins installed that getting my apps back the way they are is essential to me.
    Thanks.

    Remember Time Machine is designed to do constant, incremental backups of your HDD. If you delete something from the internal HDD of the Mac it will no longer be backed up to the external HDD and will eventually be deleted from the backup archive as time passes and TM keeps doing its backups.
    What will probably be a better solution is to simply drag-n-drop the entire iTunes folder to an external HDD for backup and use that as the main iTunes library. The drawback to this is that to play the music you'll need to have the external HDD connected. Unless your plan is not to delete all the music from your MBP, just some of it.

  • How to Configure and Use Oracle's JMS Connector with Tibco Enterprise

    Following the advice here: http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-connect-to-tibco/doc/how-to-connect-to-tibco.html
    I believe I need to provide a username and password for the Tibco JMS provider, and would like to know the correct way. Is this right, in orion-application.xml
        <resource-provider class="com.evermind.server.deployment.ContextScanningResourceProvider" name="TibcoJMSReference">
            <property
                name="java.naming.factory.initial"
                value="com.tibco.tibjms.naming.TibjmsInitialContextFactory">
            </property>
            <property
                name="java.naming.provider.url"
                value="tibjmsnaming://jleinawe-sun:7222">
            </property>
      <property name="java.naming.security.principal" value="user" />
      <property name="java.naming.security.credentials" value="password" />
        </resource-provider>

    This is kind of up to Tibco...
    When you add properties to the resource-provider element, you are just adding entries to a Map which gets passed to the initial context factory, which in this case is implemented by Tibco (TibjmsInitialContextFactory), so you may want to check their docs.
    It's possible they only use that for username/password for JNDI access purposes and not for JMS. If so, you can explicitly set username/password for outbound connections in the oc4j-ra.xml file, and using ResUser/ResPassword in the MDB's activation-spec to set username/password for inbound connections.
    -Jeff

  • Queries related to MAM configuration and MI synchronization

    Hi,
    I have queries as to the synchronization in MI & MAM
    1. When I am synchronizing with MI Server, the requests are going in I-Waiting work lists in  work list monitor..  What could be the reason for it.
    2. I require clarification as to exact purpose of the variants used in Master data selections of the MAM configuration. Is it to reduce the replicator database or to reduce the handheld database.
    I have created one variant for each FL, equipment and measurement points
    A. The FL variant downloads all the necessary FL to the MI server. We havent assigned the variant to the user so as download the ony the FLs related to work orders.
    B. The Equipment variant doesnt download any equipments because we are not using any equipments
    C. The measurement point variant downloads the measurement points related to the FLs mentioned in the FL variant.
    In the above scenario, we are able to download Work orders, Functional locations but not able download measurement points. In our scenario, we dont have equipments and measurement points are related to FL directly. The work list monitor displays "No data from R/3 downloaded".
    Is it due to the MAM configuration ?
    Can I debug the synchronization process in MI server so as to simulate the events happening when a synchronization is requested from MI client.
    Thanks
    Raj

    Hi Raja,
    Question 1: Two possible reasons for I-Waiting - breakpoint in backend BAPI and it waits for action. Or one of the SyncBOs is not activated (very common reason, check merep_pd).
    Question 2: "Master data selection" is for replication. Technical objects on the device are coming from three sourses - when they are referenced on order and notif header level, when they are in order object list (and this is activated on the backend), standalone TOs configured in "user-dependent data".
    Normally, if order references FL, FL should come to the device, if this FL references Meas. Point it should come to the deice as well. If you check logs for FL you will probably see "cascading error" for the meas. point. Few things to check - this meas. point is returned by the BAPI MAM041_getlist so it is suposed to be replicated. If it is in the list - check BAPI MAM041_getdetail to see that it does not return error. No error - check DB on the middleware to see that it is indeed replicated.
    Regards,
    Larissa Limarova

  • Configuring and using CipherSuites in WLS 6.1

    I have a few questions about the supported CipherSuites in WLS 6.1 and the
    the handshake mechanism works with this default:
    1) Edocs specifies that the CipherSuite that WLS uses is configured in the
    config.xml. I understand this and can see the tag <Ciphersuites> with a
    default setting of SSL_RSA_EXPORT_WITH_RC4_40_MD5 in the docs on the
    config.xml file. My question is: Is there anywhere in the console to
    configure this???
    2) From my understanding, in the handshake phase of the SSL protocol, the
    client send over which it's list of CipherSuites it would like to use in
    order of preference. The server then selects which one will be used. My
    question is: If the CipherSuite defined in the config.xml is not in the
    client's preferred list what will happen? Will WLS pick one of it's other
    CipherSuites that is in the client's list? What if WLS doesn't support any
    of the suites specified in the client's preferred list?
    Answers to any or all of these would be greatly appreciated.
    Thanks,
    Mich

    hi it is unlikely people will answer you here because it is about netbeans. this is a java site so they will probably tell you to go to a netbeans site. the one i use is nabbles netbeans just do a search on google to find it.
    you might get lucky here but i doubt it because most people here use notepad and run programs from command prompt. so they might not even know anyway. also i think there is a tutorial at the netbeans sites about transfering libraries they tell you how in some of the introductory tutorials. i think one of the tutorials in relation to setting up a database using derby shows you how to do it but i can't remember.
    your best bet is nabble good luck.

  • Visual Hub questions (related to Apple TV) and others

    Hey guys,
    Just bought Visual Hub to convert my stuff.
    What do you recommend for the settings ?
    Right now this is what I use : (NOTE : I translated on the fly from french so maybe it's a bit different)
    -To : iTunes
    -Optimize for : Apple TV 5.1
    -Quality : BIG QUESTION HERE : I want as close as 1080p as can be, but if the source file I'm -converting is poor quality, won't this make a big file for nothing ? What should I base my choice on?
    -H.264 enabled
    -In advanced, I select double-pass and deinterlace, audio settings = initial
    Nothing else is tweaked in advanced
    so what do you think ?
    I have a couple of other questions :
    - What if I deinterlace a video that is not interlaced in the beginning ?
    - How can I determine if a video is interlaced ?
    - How can I tell if a video is in 5.1 or even full HD ?
    - How can I make sure to get 5.1 on my Apple TV
    - Can Apple TV play 1080p ? or is it just upscaling ?
    - If A TV can output 1080p, where can I find sources file of such quality ?
    Anything else that I should know of related to my questions ?
    Thanks guys !!

    I don't use visualhub so I couldn't suggest settings for you, but.
    but if the source file I'm -converting is poor quality, won't this make a big file for nothing
    Yes, that's all it will do.
    What if I deinterlace a video that is not interlaced in the beginning ?
    You will lose detail
    How can I determine if a video is interlaced ?
    Take a look at it on a progressive scan display such as your mac monitor, you will see horizontal lines in high motion areas when paused.
    How can I tell if a video is in 5.1 or even full HD ?
    See This
    How can I make sure to get 5.1 on my Apple TV
    Your content file need to have an AC3 track and you will need to play the audio through a 5.1 capable receiver or home theatre system.
    Can Apple TV play 1080p ? or is it just upscaling ?
    It can play up to 720p after which it upscales.
    If A TV can output 1080p, where can I find sources file of such quality ?
    More or less nowhere.

  • Question related to ALSB configuration of Proxy Service in ALBPM

    Hi,
    I happened to find "Proxy Service" as one of the supported types under "Oracle Service Bus" external resource configuration. However, I wasn't able to find any documentation related to this type.
    I configured it hoping that this automatically create a proxy service for my Business Service.However, it doesn't seem to do so.
    Can somebody explain where this feature could be used ?
    Rudraksh

    Rudraksh,
    I'll try to explain better what I said about external resources.
    Let's say you have a process and you need to invoke two services already published in your service bus. You can catalog (introspect) those services directly from the service bus. You'd go to a module in your catalog, select catalog component and choose 'service bus' as the type. This will connect to your service bus and show you the available projects and the available proxy services in each project. There you can choose the one you want to invoke and when the introspection is done you'll have some BPM Objects in your catalog to invoke that service. If you look under external resources you'll see two new definitions, a server definition (ip, port, etc.) and a service definition (endpoint URI).
    Now imagine you've finished the development of your project and you want to test it in your test environment. You would export your project and publish it in a BPM Enterprise server. But in this environment you have another service bus for testing, and you want to use this one and not the one you used for development. You need to tell your process to invoke those services instead of the services in your development environment (maybe your own PC). One way to do this is to introspect each service again, recompile your project, export it and publish it again. But it's not very flexible and it's time consuming. This is why you have external resources. Once you've deployed a project in BPM Enterprise, you can go to the 'Process Administrator' web application and modify the definitions of your external resources. So in this example you'd simply look for your server definition and change the IP address and port to point to the service bus in your test environment. If the service has a different URI you can modify it in the service definition. You restart your engine and that's it, now your process will invoke the services in the service bus for testing. Something analogous to having your application's configuration in a properties file instead of hard-coded in your code.
    Now about the 'Proxy Service' external resource, I think I got it wrong. My guess is that it's for the OBPM transport. There is a new 'native' transport for the BPM in the service bus. It has some advantages like speed, transaction propagation, etc. I understand it's based on RMI so this would be the way of specifying the URL and credentials for the 'initial context factory'. Maybe someone else can confirm this.
    Cheers

Maybe you are looking for

  • Font Change in Lightroom Web Gallery

    Is ther any way to change the default font in the lightroom web galleries (specifically the HTML-based gallery)? I feel like it's probably a simple change in a menu somewhere that I missed

  • Get message "Choose Cinema Tools application"

    I tried for the first time to use cinema tools in my Final Cut Pro 7.0.3, but i dident find the application. My application folder in finder its totaly empty. I see some cinematools.fcpres files with NTSC and PAL in the Final Cut folder but its not s

  • Add page to navigation term programatically

    hi friends i need to add a page to navigation termset in termstore with friendly url programatically 

  • Importing MPEG in Adobe Premiere

    Can any one tell me the reson why the Adobe Premiere doesn't support MPEG files? (File format not supported) Any codec missing or any other additional supporting software required or something else. Thx in advance........

  • Document files and JPG files larger on sharepoint than they ought to be

    Documents that I've uploaded to sharepoint (documents meaning anything that is file.doc / file.docx) seem to be nearly twice as large as they should be in most cases. I'm pretty sure that uploading the document to sharepoint mysteriously adds somethi