How to create multiple pof configuration files for c# client

Is there a way to have multiple pof files for c# coherence client?
Can I create a file called my-pof-config.xml with the following line...
<pof-config xmlns="http://schemas.tangosol.com/pof">
<user-type-list>
<include>assembly://Coherence/Tangosol.Config/coherence-pof-config.xml</include>
     <include>file://pof-config.xml</include>
and here is what pof-config.xml file look like
<?xml version="1.0" encoding="UTF-8"?>
<pof-config xmlns="http://schemas.tangosol.com/pof">
<user-type-list>
In my C# visual studio project, this is where I load my-pof-config.xml in app.config
<coherence>
<cache-factory-config>coherence.xml</cache-factory-config>
<cache-config>coherence-cache-config.xml</cache-config>
<pof-config>my-pof-config.xml</pof-config>
</coherence>
and this is what I saw in the log...
2012-02-23 14:35:35,529 DEBUG Coherence (null) - 2012-02-23 14:35:35.529 level(thread=System.Threading.Thread): Loaded POF configuration from "FileResource(Uri = file://my-pof-config.xml, AbsolutePath = D:\worktrees\ads\mainline\v2\ads\demos_cs\build\my-pof-config.xml)"
2012-02-23 14:35:35,545 DEBUG Coherence (null) - 2012-02-23 14:35:35.545 level(thread=System.Threading.Thread): Loaded included POF configuration from "EmbeddedResource(Uri = assembly://Coherence/Tangosol.Config/coherence-pof-config.xml, AbsolutePath = assembly://Coherence/Tangosol.Config/coherence-pof-config.xml)"
2012-02-23 14:35:35,623 DEBUG Coherence (null) - 2012-02-23 14:35:35.623 level(thread=ExtendTcpCacheServiceCSharp:TcpInitiator): Loaded POF configuration from "FileResource(Uri = file://my-pof-config.xml, AbsolutePath = D:\worktrees\ads\mainline\v2\ads\demos_cs\build\my-pof-config.xml)"
I don't see pof-config.xml is loaded at "Loaded included POF configuration....". How do I get around it so I can load multiple pof configuration files for c# client?

Hi,
Not sure about C# but I would suggest try removing file:// from
<include>file://pof-config.xml</include>and keep pof-config.xml and my-pof-config.xml in the same directory.
Hope this helps!
Cheers,
NJ

Similar Messages

  • How to create an unsigned appxbundle file for windows store app?

    Hi,
    Is it possible create an unsigned appxbundle file for windows store app and later sign it with my company certificate?
    If yes, how can I achieve it?
    Thanks

    You would create your own appx pacakge using
    MakeAppx.exe.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • How to create a positve pay file for ACH and Wire transfers through F110

    Hi All,
    I need to create a positive pay file for ACH and Wire transfers to the bank for auto clearing. For checks we have a standard program (RFCHKE00) to create the positive pay file which creates the output lists after the F110 payment process. Is there any standard SAP program available which creates the Positive pay file (Output list) for ACH and wire transfers through F110.
    Thanks
    Sridhar

    Please let your abaper create a 'Z' program using RFCHKE00. For example 'ZRFCHKE00' and use it in the same way as you currently use RFCHKE00 for checks.
    After the program is created, use SE38 and save it as a variant using your own specifications. Thereafter, in F110, when carrying out a payment run, under 'Printout/data medium', enter the program name under "Lists" with the variant. Then click on 'Maintain Variants' and make the necessay specifications there as well.
    Instruct your end-users to enter this program when running ACH and wire transactions through F110.
    Please let us know if this information was helpful.
    Thanks,
    Elias

  • How to generate an XML Configuration File for EBS Source Type

    Hi,
    We have installed SES, I want to integrate it to enable for searching repository contracts.
    In the sources I have selected oracle.apps.okc.repository.textsearch.server.RepHeaderSearchExpVO.
    For this source I need to specify the Configuration URL.
    Here I need to provide the path for configuration XML file. But before that I need to generate the XML Configuration file.
    Is there any steps on how we can create this XML file.
    like I would want to know how we can create the XML file and on which folder on the server should I be putting it
    Thanks

    Hi there,
    We are running into same issue and need the exact same information. Can someone help with this question on priority?
    Thanks,
    Darshan

  • How to create multiple page pdf file

    Hello,
    Sometimes I need to create multiple (more precisely double) page pdf file from another pdf file to reduce the printing cost of the document. For this I crop the single page document and then print it in a double page pdf file (in landscape).
    But I am still facing a problem in this regard. When I make a double page pdf the gutter (distance between two pages, left and right) is more than 1.5 inch. This is a great problem. Can anyone tell me how to reduce the gutter when making a double page pdf file (don't just suggest to crop the single page pdf, i tried this as well, I cropped using the feature "remove white margin" but still there is more than 1.5 inch between two pages)
    Please help me.
    Thanks in advance.
    Regards
    mathmad

    When you print, select the printer properties for the Adobe PDF printer. On the layout tab is an option for the number of pages per sheet. In some versions it is listed as multi-up as I recall. I did not say to simply print from the 2-up display. It is a printer option, not a display option.

  • How to select a Hibenrate configuration file for web application/junit?

    Dear all,
    I am using hibernate for a web application.
    I have two configuration files: one ("hibernate-jta.cfg.xml") uses a data source and the other ("hibernate.cfg.xml") directly uses jdbc.
    private static String CONFIG_FILE = "hibernate-jta.cfg.xml"; private static String CONFIG_FILE_WITHOUT_DATASOURCE = "hibernate.cfg.xml";
    When I deplyed my applcation to an application server, I need to use the first one. When I run junit test, I need to use the second one.
    How can I design a mecanism to switch between the two configuration files according the the case: web application or java stand alone application?
    Configuration cfg = new Configuration(); cfg.configure(CONFIG_FILE);
    Thanks.
    Pengyou

    My solution is to add a new public method "initFactoryForJunit() " in the Static singleton.
    In the junit test, this method will be invoked in order to load a second configuration file.
    public class ThreadsafeSessionFactory {
         private static Logger log = Logger
                   .getLogger(ThreadsafeSessionFactory.class);
         private static String CONFIG_FILE = "hibernate-jta.cfg.xml";
         private static String CONFIG_FILE_FOR_JUNIT = "hibernate.cfg.xml";
         private static final Configuration cfg = new Configuration();
         private static org.hibernate.SessionFactory sessionFactory;
         public static SessionFactory getInstance() {
              log.info("getInstance()");
              if (sessionFactory == null) {
                   ThreadsafeSessionFactory.initFactory();
              return sessionFactory;
         /*public synchronized Session openSession() {
              log.debug("openSession()");
              return sessionFactory.getCurrentSession();
         public synchronized Session getCurrentSession() {
              log.debug("getCurrentSession()");
              return sessionFactory.getCurrentSession();
         private static void initFactory() {
              log.debug("initFactory()");
              if (sessionFactory == null) {
                   try {
                        Configuration cfg = new Configuration();
                        cfg.configure(CONFIG_FILE);
                        String factoryJndiName = cfg
                                  .getProperty(Environment.SESSION_FACTORY_NAME);
                        if (factoryJndiName != null) {
                             log.debug("using jndi factory");
                             cfg.buildSessionFactory();
                             sessionFactory = (SessionFactory) (new InitialContext())
                                       .lookup(factoryJndiName);
                        } else {
                             log.info("using default factory");
                             sessionFactory = cfg.buildSessionFactory();
                             log.info("after using default factory");
                   } catch (Exception ex) {
                        ex.printStackTrace();
                        log.error("failed creating session factory");
                        throw new HibernateException(
                                  "initFactory(): failed initializing configuration");
         public static void initFactoryForJunit() {
              log.debug("initFactory()");
              if (sessionFactory == null) {
                   try {
                        Configuration cfg = new Configuration();
                        cfg.configure(CONFIG_FILE_FOR_JUNIT);
                        String factoryJndiName = cfg
                                  .getProperty(Environment.SESSION_FACTORY_NAME);
                        if (factoryJndiName != null) {
                             log.debug("using jndi factory");
                             cfg.buildSessionFactory();
                             sessionFactory = (SessionFactory) (new InitialContext())
                                       .lookup(factoryJndiName);
                        } else {
                             log.info("using default factory");
                             sessionFactory = cfg.buildSessionFactory();
                             log.info("after using default factory");
                   } catch (Exception ex) {
                        ex.printStackTrace();
                        log.error("failed creating session factory");
                        throw new HibernateException(
                                  "initFactory(): failed initializing configuration");
         public static void close() {
              if (sessionFactory != null)
                   sessionFactory.close();
              sessionFactory = null;
    }

  • How to create a Plan.xml file for modification

    Hi,
    I am trying to create a plan.xml file. Is there any way, I can generate a plan.xml file.
    I see a tab in Admin Console in deployments and plan. but there is nothing there. what it has to do with plan.
    Thanks
    regards
    Amir riaz

    You can find the steps here.
    http://weblogic-wonders.com/weblogic/2009/11/29/plan-xml-usage-for-message-driven-bean/
    http://weblogic-wonders.com/weblogic/2009/12/16/invalidation-interval-secs/

  • How to create multiple workbooks in BI7 for a query

    Hi all,
    I have created a query and saved it as a workbook.If I want to create second workbook for the same query what is the way for that ? I am unble to trace the path.can anyone help me on this ?
    Regards
      KK

    Hi San/KJ,
    I have saved query as WB,and I am trying to re open the WB,system is giving an exception stating that " A critical problem has occurred This progrm has to close.Please refer to trace for further information " .Shall I have to implement any note for this ?
    regards
      KK

  • How to create multiple PDF files.

    Hi,
    I have two tables, one with the customer address and another one with a note. May I know how to create a separate PDF file (for each customer) that should start with the customer name/address (from customer table) and followed by a note (from the note table)
    Thanks in advance

    Hi,
    I am stuck at the first step of designing report with jasper ireport designer... my test data is currently on apex.oracle.com and my real data is hosted on the intranet, there are quite a few options available to link to the table source before designing the report but I am not sure which one to use to connect to APEX.oracle.com (or to my intranet.. interestingly there is no option for ODBC connection, usually that's the one I use to upload files to oracle)...
    can you please suggest how to link to the table...?
    alternatively, I downloaded the data and saved it in the csv format and used that as the source to create a sample report which is shown below (is there a way to manually convert it to sql based)...? here is the report
    <?xml version="1.0" encoding="UTF-8"?>
    <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report9" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="62e163c3-8f34-451a-800b-5f4285e2e194">
         <property name="ireport.zoom" value="1.0"/>
         <property name="ireport.x" value="0"/>
         <property name="ireport.y" value="0"/>
         <field name="MONTH" class="java.lang.String"/>
         <field name="CUSTOMER" class="java.lang.String"/>
         <field name="PRODUCT" class="java.lang.String"/>
         <field name="Revenue" class="java.lang.String"/>
         <background>
              <band splitType="Stretch"/>
         </background>
         <title>
              <band height="79" splitType="Stretch"/>
         </title>
         <pageHeader>
              <band height="35" splitType="Stretch"/>
         </pageHeader>
         <columnHeader>
              <band height="61" splitType="Stretch">
                   <staticText>
                        <reportElement uuid="e7032731-30c5-4d15-b6e0-bccaeb8de3b0" x="0" y="0" width="138" height="20"/>
                        <textElement/>
                        <text><![CDATA[MONTH]]></text>
                   </staticText>
                   <staticText>
                        <reportElement uuid="0a3a1aef-e967-42c4-81bd-1fc0688afffa" x="138" y="0" width="138" height="20"/>
                        <textElement/>
                        <text><![CDATA[CUSTOMER]]></text>
                   </staticText>
                   <staticText>
                        <reportElement uuid="35720a70-999c-4b17-966d-7a6ff104ccd2" x="276" y="0" width="138" height="20"/>
                        <textElement/>
                        <text><![CDATA[PRODUCT]]></text>
                   </staticText>
                   <staticText>
                        <reportElement uuid="bbec6818-cdb0-4745-927c-6f3e40209fb2" x="414" y="0" width="138" height="20"/>
                        <textElement/>
                        <text><![CDATA[Revenue]]></text>
                   </staticText>
              </band>
         </columnHeader>
         <detail>
              <band height="125" splitType="Stretch">
                   <textField>
                        <reportElement uuid="a6554549-7721-4a4f-94f0-3169139bfdb6" x="0" y="0" width="138" height="20"/>
                        <textElement/>
                        <textFieldExpression><![CDATA[$F{MONTH}]]></textFieldExpression>
                   </textField>
                   <textField>
                        <reportElement uuid="c2943016-5a5f-42e8-8612-5b8dafc23eea" x="138" y="0" width="138" height="20"/>
                        <textElement/>
                        <textFieldExpression><![CDATA[$F{CUSTOMER}]]></textFieldExpression>
                   </textField>
                   <textField>
                        <reportElement uuid="3d97fdd0-5923-469a-862f-be485b6416ac" x="276" y="0" width="138" height="20"/>
                        <textElement/>
                        <textFieldExpression><![CDATA[$F{PRODUCT}]]></textFieldExpression>
                   </textField>
                   <textField>
                        <reportElement uuid="724e9536-667b-4db1-96b8-81e2f5554ea2" x="414" y="0" width="138" height="20"/>
                        <textElement/>
                        <textFieldExpression><![CDATA[$F{Revenue}]]></textFieldExpression>
                   </textField>
              </band>
         </detail>
         <columnFooter>
              <band height="45" splitType="Stretch"/>
         </columnFooter>
         <pageFooter>
              <band height="54" splitType="Stretch"/>
         </pageFooter>
         <summary>
              <band height="42" splitType="Stretch"/>
         </summary>
    </jasperReport>

  • Multiple log4j.xml files for single application.

    Hi All,
    How to use multiple log4j.xml files for single application?
    I do have a pluggable application modules. ie, If I add a jar I will get some functionalities. Like that i do have many jars.
    Log4j.xml also will be present in that jar only. So if I add multiple jar files like this, I will get multiple log4j.xml files. What should I do?

    Each logger can have its own file I think. Check the log4j documentation.

  • How can I Create a Client Configuration File for RemoteApp and Desktop Connection with Server 2012?

    I have a working RDS RemoteApp site and looking to test out the feature in Windows 7 Control Panel\All Control Panel Items\RemoteApp and Desktop Connections
    I came across this link: Create a Client Configuration File for RemoteApp and Desktop Connection and I believe this is what I need to do first, but these instructions are for
    Server 2008, and I'm running 2012.
    Any suggestions or tips on how I can begin testing this with Server 2012?

    Hi,
    You can manually enter the path to the 2012 feed and it will connect and download the RemoteApps and Desktop connections.
    If you need a sample .wcx file I have posted one here a couple of times.  If you want I will look for it and post a link.
    -TP
    I tried adding my URL's below, these are sample links that work for me right now for when I log into the web page, but neither of these work.  And I'm not sure what I would need to do with or how to create a .wcx file.
    When I type in my URL of: https://connect.mydomain.org/RDWeb, I get redirected to: 
    https://connect.mydomain.org/RDWeb/Pages/en-US/login.aspx?ReturnUrl=/RDWeb/Pages/en-US/Default.aspx

  • How to create multiple output files using TrAX?

    I am new in this field. I'm trying to create multiple xml output files using TrAX. I have to parse a xml source file and output it to multiple xml files. My problem is that it only creates one output file and puts all the parsed data there. When i use saxon and run xsl and xml files, it works fine and creates multiple files...it has something to do with my java code...Any help is greatly appreciated.
    Here's my XSL file
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.1"
    <xsl:template match="data_order">
    <data_order>
         <xsl:copy-of select="contact_address"/>
         <xsl:copy-of select="shipping_address"/>
         <xsl:apply-templates select="ds"/>
    </data_order>
    </xsl:template>
    <xsl:template match="ds">
    <xsl:variable name="file" select="concat('order', position(),'.xml')"/>
    <order number="{position()}" href="{$file}"/>
    <xsl:document href="{$file}">
    <xsl:copy-of select="."/>     
    </xsl:document>
    </xsl:template>
    </xsl:stylesheet>
    xml source file
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE operation SYSTEM 'data_order.dtd'>
    <data_order job_id='00-00-000' origin='PM-ESIP'>
         <contact_address>
              <first_name>ssssss</first_name>
              <last_name>sssss></last_name>
              <phone>2323232</phone>
              <email>dfdfdsaf</email>
         </contact_address>
         <ds ds_short_name ='mif13tbs'>
              <output>
                   <media_format>neither</media_format>
                   <media_type>FTP</media_type>
                   <output_format>GIF</output_format>
              </output>
         </ds>
              <ds ds_short_name ='mif15tbs'>
              <output>
                   <media_format>neither</media_format>
                   <media_type>FTP</media_type>
                   <output_format>GIF</output_format>
              </output>
         </ds>
    </data_order>
    My java file
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    import java.io.*;
    public class FileTransform {
    public static void main(String[] args)
    throws Exception {
    File source = new File(args[0]);
    File style = new File(args[1]);
    File out = new File(args[2]);
    TransformerFactory factory = TransformerFactory.newInstance();
    Transformer t = factory.newTransformer(new StreamSource(style));
    t.transform(new StreamSource(source), new StreamResult(out));

    Saxon has specific extensions. In this case it is <xsl:document>. That looks like a standard XSLT element, but it actually isn't. The history behind it is this: There was a proposal to create a new version of XSLT, called XSLT 1.1. One of the new features of this version was to be this xsl:document element. The author of the Saxon product, Michael Kay, is one of the people on the W3C committee directing the evolution of XSLT, so he upgraded his product to implement XSLT 1.1. But then the committee decided to drop XSLT 1.1 as a recommendation. So that left Saxon in the strange position of implementing a non-existent extension to XSLT.
    The other outcome of this process was that XSLT (1.0) does not have a way of producing more than one output file from an input file. And so the short answer to your question is "Trax can't do that." However, XSLT 2.0 will be able to do that, although it is not yet a formal W3C recommendation, and when it does become one it will take a while before there are good implementations of it. (I predict that Saxon will be the first good implementation.)
    One of the problems with XML and XSLT is that what you knew a year ago is probably obsolete now, because of all the evolution going on. So being new in the field is not a disadvantage, unless you get stung by reading obsolete tutorials or magazine articles.

  • How to create multiple pages in the output file?

    hi, we have an application (C++) that generates PDF output. I've been asked to figure out how to create multiple copies of each page (uncollated). i.e. the output would be 4 copies of p 1 followed by 4 copies of p 2, etc. I'd like to do this without actually replicating each page if possible ... any ideas?

    Why not just put four copies of the same CosObj reference into the Pages array/tree?

  • How to create multiple instance on same database

    Hi ,
    I would like to know how to create multiple instance on same database . I know that some people use database configuration assistant to do this but i could not figure out how they did it.
    Any how if some one can help me with this and can give me links of this it would be great help for me.
    Thank you for reading my problem and helping me !
    Amil
    please if possible mail me on [email protected]

    How to create multiple instance?????Do you mean multiple instances on the same database, or multiple databases on the same machine ?
    I m new to this field....
    Willin to learn a lot about oracle....Then it wouldn't be bad reading a bit of Database Concepts

  • How to create multiple segments on the target structure of an IDOC

    Hi All
       I am working on the Shipment Confirmation Interface( Message Type SHPCON ) which is FILE to IDOC Scenario. I have a segment called E1EDL18 which occurs only once on the target side of the idoc. Now I have to created multiple E1EDl18 segments for the Qualifiers ORI, PGI and PCK. I treid to send a constant ORI,PGI,PCK and then used an user defined function which splits the constant at COMMA and then I am assigning to the target field QUALF. In the display queue for QUALF I see three values with context but still only one E1EDL!* segment is created. Please let me know how to create multiple E1EDl18 segments for three qualifiers.
    Thanks
    Naga

    In message Mapping, just right click on the segment and click on duplicate subtree. now it will create you another segment with same name and fields in it..
    you can hard code the Qual, or you can map the required source field into it.

Maybe you are looking for