Channel contract mismatch when implementing ISerializable

Hello,
I am trying to retrieve an object via an OperationContract Channel
but when I try to implement ISerializable for that class, I receive a CommunicationException client side. The serialization and deserialization work fine server side. 
The exception additional information says: "the server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.
Basically, I am using a WCF service (self-hosted) very similar to what is described here:
https://msdn.microsoft.com/en-us/library/ms731758(v=vs.110).aspx
In my case, the operation contract expose is a get property that returns an object A (a container of data really). One of the fields of this object is also an object, B. Now, B is a very simple class that contains only three jagged arrays, and three get properties
that transform the jagged arrays to multidimensional arrays.
Serialization, deserialization and operation contract work fine in this setup. When class B implements ISerializable, the channel returns the exception. ISerializable is implemented in the following way:
constructor: (not sure the details are important but nevertheless) reads the entries in Serialization info and if the serialized file contains the jagged arrays it just makes the assignment, if it contains the multidimensional arrays, it converts them
to jagged and makes the assignment.
GetObjectData: only adds to SerializationInfo the jagged arrays.
If you are wondering, this is done to keep retro-compatibility with an old version of class B (serialization is not only used by Channel, I also use it to save data). 
Thanks,
Leo

Hi LeoBrl,
>>the server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.
For your issue, it will be better if you can try to post a simple reproduce project in here.
Besides, for troubleshooting this issue, please try to enable the WCF Tracing to help get more detailed error information.
#How to configure WCF Tracing:
https://msdn.microsoft.com/en-us/library/ms733025(v=vs.110).aspx .
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Internal error when implementing extension

    Hello everyone
    At the moment I create a new contract (transaction RECN) an error occurs and I can not solve.
    Someone could help me?
    Internal error when implementing extension (see long text)
    Message no. RECAAP093
    Diagnosis
    Call of GET_EXTENSION( ) method for enhancement CL_FILACI_VICN01_EXTENSION failed.
    It tried to use an add-on or customer-specific enhancement that is not implemented in your system.
    To be able to determine the technical attributes of enhancement CL_FILACI_VICN01_EXTENSION, the RECA_STORABLE_EXT Business Add-In has to supply the desired information. However, this was not the case. In an implementation of RECA_STORABLE_EXT, the GET_OBJNAME_EXT( ) method must supply the required enhancement CL_FILACI_VICN01_EXTENSION.
    Below is example code for GET_OBJNAME_EXT( ):
    CASE ID_OBJNAME_STD.
        WHEN '...'.
          APPEND 'CL_FILACI_VICN01_EXTENSION' TO CT_OBJNAME_EXT.
      ENDCASE.
    For more information, refer to the documentation for the RECA_STORABLE_EXT Business Add-In.
    Start BAdI Builder
    Procedure
    Contact your system administrator.
    tks a lot!

    Hi Fabio,
    I would kindly ask you appy the SAP note [1521903|https://service.sap.com/sap/support/notes/1521903] and proceed as described in the note to resolve the issue.
    Hope this information is helpful for you.
    Regards, Franz

  • IDoc adapter inbound channel: Error Error when reading Exchange Profile

    Hello Experts,
    Currently i am working on an IDOC to file scenario, in which Data will be sent from ECC server (IDOC) to an FTP server via SAP PI, but when i try to send IDOC to PI, i am getting the following error
    in Transaction SM58:-
    'IDoc adapter inbound channel: Error Error when reading Exchange Profile for system XID and
    client 401 occurred in the IS pipeline' .
    Can anyone please help me on this.
    Thanks & Regards,
    Amit Naik

    Hello Experts,
    Let me explain to you the whole scenario, We have two servers of PI, 7.1 & 7.0. Now the Java Stack of 7.0 is not working & Cache update of 7.1 is not happening.
    Thats why we have linked ABAP stack of 7.0 with Java stack of 7.1. Now we can see the objects created under Java 7.1 in ABAP stack of 7.0 (SXI_CACHE).
    Now we have done all the settings to create an IDOC to file scenario. All the RFCs are working fine, but when we send an IDOC from the ECC system to ABAP 7.0, we are getting the following error 'Error while reading exchange profile for system NW' in SM58 .
    Now can anyone tell me what exact settings i have to change in the Exchange profile (Java stack of 7.1), so that the Java 7.1 & ABAP 7.0 connection is setup or do i need to change anything else.
    Thanks & Regards,
    Amit Naik

  • Graphics tab in REBDBU: Internal error when implementing extension

    Hello,
    Seek your kind help please.
    I have entered in the building master data using REBDBE. We have a tab called Graphics. The pictures etc of the building are uploaded using a software called Korasoft. When i am clicking on the Graphics tab, it is entering the screen but immediately afterwards flashing the following message, "Internal error when implementing extension".
    Doing a F1 on the error message shows the foll details:
    "Diagnosis
    An internal error occurred during the implementation of a customer-specific enhancement. A CHANGE-API module was called with an object reference (parameter IO_OBJECT) that was not instantiated in the required activity for changing (02). The API modules are function modules and begin with API_RE_.
    Procedure
    Within the BAdI implementation, transfer the parameter IO_OBJECT from the BAdI method directly to the API module. Make sure that the transferred instance is allowed to be changed."
    I found that the SAP note 1139014 causes this error message to be generated. Note 1139014 forms a part of support pack level 13 (release 600). Recently we have upgraded our systems from support pack level 8 to support pack level 13. Naturally even this note got implemented at that time.
    But now this note is causing this error message and so I will be grateful if someone can please tell me how to rectify the error.
    Regards,
    Suvarghya Dutta
    Edited by: Suvarghya Dutta on Feb 11, 2009 5:30 PM

    Hi Fabio,
    I would kindly ask you appy the SAP note [1521903|https://service.sap.com/sap/support/notes/1521903] and proceed as described in the note to resolve the issue.
    Hope this information is helpful for you.
    Regards, Franz

  • Unable to drag variables in "Use Associations" when implementing a task

    Nothing happens when i try to drag variables from right panel into fields on the left in "Use Association" window, when implementing a script task (or human task).
    i've cleared the repository and re-installed jdeveloper, but the problem is still there. The version of jdeveloper is 11.1.1.5.0
    any ideas about this?
    thanks.

    Hi. There are several ways for get that. Please describe a little more what are you doing. You can have the same data from different namespace, different data type and so on.
    Regards Dariel

  • Timeout when implemented Flowbox

    hi everyone,
    i met a problem when implemented the Flowbox,i created more than one flowbox instance on the stage then used code to add child into them dynamicly.but it blocked throwing timeout error.
    i did a simple demo to reproduce it,please see the code as below :
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                        layout="absolute"
                        xmlns:local="*">
         <local:FlowBox id="box1"
                           x="10"
                           y="188"
                           width="226"
                           height="133"
                           borderStyle="solid"
                           borderColor="#E36410"
                           borderThickness="2"/>
         <local:FlowBox id="box2"
                           x="290"
                           y="188"
                           width="223"
                           height="138"
                           borderStyle="solid"
                           borderColor="#37E015"
                           borderThickness="2"/>
         <local:FlowBox id="box3"
                           x="562"
                           y="188"
                           width="194"
                           height="133"
                           borderStyle="solid"
                           borderColor="#179EFC"
                           borderThickness="2"/>
         <mx:Button click="add()"
                      x="290"
                      y="77"
                      label="add"/>
         <mx:HSlider minimum="1"
                        maximum="100"
                        id="sl"
                        liveDragging="true"
                        x="353"
                        y="128"
                        snapInterval="1"
                        value="1"/>
         <mx:Script>
              <![CDATA[
                   import mx.collections.ArrayCollection;
                   import mx.containers.BoxDirection;
                   import mx.controls.Label;
                   private function add():void
                        var arr:ArrayCollection=new ArrayCollection();
                        for (var i:int=0; i < sl.value; i++)
                             var s:String=String(Math.random().toFixed(int(Math.random() * 10)));
                             var lbl:Label=new Label();
                             lbl.text=s;
                             box1.addChild(lbl);
                        for (var i:int=0; i < sl.value; i++)
                             var s:String=String(Math.random().toFixed(int(Math.random() * 10)));
                             var lbl:Label=new Label();
                             lbl.text=s;
                             box2.addChild(lbl);
                        for (var i:int=0; i < sl.value; i++)
                             var s:String=String(Math.random().toFixed(int(Math.random() * 10)));
                             var lbl:Label=new Label();
                             lbl.text=s;
                             box3.addChild(lbl);
              ]]>
         </mx:Script>
         <mx:Label x="255"
                     y="128"
                     text="element count:"/>
    </mx:Application>
    Thanks very much 

    Hi,
    There is no setting to increase the default timeout of 10 minutes for the Metapedia import process. If the Excel import file is so large that the import process times out, the import file will need to be split into multiple smaller import files that are imported separately.
    or else
    just try to import only the recent added categories and terms.
    Thanks
    Krishna

  • Whether or not to continue the use of network services when implementing IPv6

    Whether or not to continue use of network services when implementing IPv6

    Hi,
    Which network service do you specify?
    Could you detail your question?
    If you mean how to configure IPv6 in Windows Server, please refer to the link below,
    IPv6 for Microsoft Windows: Frequently Asked Questions
    http://technet.microsoft.com/en-us/network/cc987595.aspx
    Best Regards.
    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Sourcing 7.0: Email Link in Mail templates when implementing Single Sign on

    Hello,
    We are implementing Sourcing 7.0 SP02 On premise.
    We are in the processing of setting up the single sign on with Enterprise Portal.
    In E-Sourcing 5.1 - when we implement single sign on with portal - the mail links in the mail templates have to be replaced with the portal URL and also - in order to redirect the user from portal login to the correct object in E-Sourcing (contract/MA/RFX) - we had implemented a custom portal solution (par file) to redirect the user.
    So when the user clicks on the link in the mail - it will take the user to Enterprise portal login. Once the login is done - user will be redirected to the E-Sourcing object like RFX/MA which the token %DOCUMENT_URL% contains.
    I wanted to check if there is any standard solution to this issue in Sourcing 7.0 on p

    Hi Vikram, Thanks a lot for your reply. I got a release note 1485253 that explains that this is resolved. Please find the text below
    2011/0000612672
    In user emails, %DOCUMENT_URL% token is used to generate the document
    specific URL. This URL takes the user directly to the document. However,
    when Sourcing is integrated with SAP Portal, using only this token will not
    take the user to the document. In order to fix this, ENCODE function has
    been introduced. Wrapping this around the URL, the URL can be encoded and
    used as a "forcedURL" in the portal link.
    Would you be able to explain to me how this can be achieved through configuration? I tried now with a portal user of Sourcing and the link was still showing up as the old link. Is this forcedURL generated using a system property?
    Regards,
    Srivatsan

  • How to print item texts in po contract form when the fixed item status is N

    Hi all,
    I'm trying to print the item texts in the contract forms.
    I need to print the item texts when the status is 'N'  and at the same time the status is blank in the same form.
    I tried using t165p.I'm unable to print the both the message status with N and blank at the same time.
    Please guide in this regards.
    Thanks and regards,
    Krishna

    Hi Luis,
    Thanks yes, now it get captured soon after changed the item accordingly as you said.
    so there is no need of creating hidden item for those item (i.e) &P1_DIS_COURSE_NAME. AND &P1_DIS_DATE.
    right??
    Regards,
    Mini

  • Error when implementing CUA

    Hi,
    I wanted to implement a test of CUA with my DEV systems (DEV R3, DEV BW, and DEV SRM). When i've created the model distribution in my central system (DEV R3 client 030), and saved the model, i had the following error in my child system (DEV SRM) : "ERROR when starting the text comparison". I didn't have any error in the other systems (DEV R3 and DEV BW).
    I've checked my RFC connections, I don't know how to sove this problem.
    Thanks in advance for your aswers...
    Regards,
    Mohamed

    OK, I've solved the problem by myself.
    In fact, I didn't have an RFC user connection between my child system DEV SRM and my central system DEV R3. I had just RFC users connection between my central system and my child systems...
    Mohamed

  • OCCI client application crashing, when implemented in a shared library

    Dear All,
    I have a problem running my Oracle C++ client using OCCI.
    The client crashes when it tries to call the OCCI createConnection method.
    The crash happen only if the connection method is implemented inside of an object that it is build in a shared library, which after it is linked to the main program. If I implement everything in the main function the crash does not happen.
    I am building and running my client on SLES9 service pack 2 (Linux kernel 2.6.5) using Oracle 10.2g (10.2.0.1) and gcc 3.3.3, glibc 2.3.3 and libaio-0.3 and libaio-devel-0.3.
    ==================================================
    Attaching the core with gdb, I get the following stack:
    #0 0x400c2f4e in parse_lsda_header () from /usr/lib/libstdc++.so.5
    #1 0x400c324c in __gxx_personality_v0 () from /usr/lib/libstdc++.so.5
    #2 0x40111454 in UnwindRaiseException () from /lib/libgcc_s.so.1
    #3 0x401115dc in UnwindResume_or_Rethrow () from /lib/libgcc_s.so.1
    #4 0x400c368f in __cxa_rethrow () from /usr/lib/libstdc++.so.5
    #5 0x40284b8a in TAG_PACKET_38 () from /home/oracle/app/10.2g/lib/libocci.so.10.1
    #6 0x402819da in ZN6oracle4occi14ConnectionImplC9EPNS015EnvironmentImplERKSsS5_S5_ () from /home/oracle/app/10.2g/lib/libocci.so.10.1
    #7 0x4028606f in oracle::occi::ConnectionImpl::ConnectionImpl () from /home/oracle/app/10.2g/lib/libocci.so.10.1
    #8 0x4028074b in oracle::occi::EnvironmentImpl::createConnection () from /home/oracle/app/10.2g/lib/libocci.so.10.1
    #9 0x4001ba2a in oralib::connect (this=0x804a008) at oraclelib.cpp:46
    #10 0x08048a27 in main () at oramain.cpp:14
    When, I run my client with valgrind that the output is the following:
    oracle@nemesis:~/app/10.2g/rdbms/demo/parc_example> valgrind ./oramain
    ==32212== Memcheck, a memory error detector.
    ==32212== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
    ==32212== Using LibVEX rev 1732, a library for dynamic binary translation.
    ==32212== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
    ==32212== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
    ==32212== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
    ==32212== For more details, rerun with: -v
    ==32212==
    === Calling init()
    *** Creating the environment...
    - m_env = 0x5390318
    done!
    === Calling connect()
    *** Connecting using following setting:
    - user : SCOTT
    - passwd : TIGER
    - connString :
    ==32213==
    ==32213== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 32 from 1)
    ==32213== malloc/free: in use at exit: 724,565 bytes in 377 blocks.
    ==32213== malloc/free: 611 allocs, 234 frees, 757,833 bytes allocated.
    ==32213== For counts of detected errors, rerun with: -v
    ==32213== searching for pointers to 377 not-freed blocks.
    ==32213== checked 1,912,228 bytes.
    ==32213==
    ==32213== LEAK SUMMARY:
    ==32213== definitely lost: 39 bytes in 1 blocks.
    ==32213== possibly lost: 3,030 bytes in 2 blocks.
    ==32213== still reachable: 721,496 bytes in 374 blocks.
    ==32213== suppressed: 0 bytes in 0 blocks.
    ==32213== Rerun with --leak-check=full to see details of leaked memory.
    ==32212== Invalid read of size 1
    ==32212== at 0x40CAF4E: parse_lsda_header(_Unwind_Context*, unsigned char const*, lsda_header_info*) (in /usr/lib/libstdc++.so.5.0.6)
    ==32212== by 0x40CB24B: __gxx_personality_v0 (in /usr/lib/libstdc++.so.5.0.6)
    ==32212== by 0x411A453: UnwindRaiseException (in /lib/libgcc_s.so.1)
    ==32212== by 0x411A5DB: UnwindResume_or_Rethrow (in /lib/libgcc_s.so.1)
    ==32212== by 0x40CB68E: __cxa_rethrow (in /usr/lib/libstdc++.so.5.0.6)
    ==32212== by 0x428CB89: oracle::occi::ConnectionImpl::openConnection(OCIEnv*, OCIError*, void*, unsigned, void*, unsigned, void*, unsigned, void*, unsigned, unsigned) (
    in /home/oracle/app/10.2g/lib/libocci.so.10.1)
    ==32212== by 0x42899D9: ZN6oracle4occi14ConnectionImplC9EPNS015EnvironmentImplERKSsS5_S5_ (in /home/oracle/app/10.2g/lib/libocci.so.10.1)
    ==32212== by 0x428E06E: oracle::occi::ConnectionImpl::ConnectionImpl(oracle::occi::EnvironmentImpl*, std::string const&, std::string const&, std::string const&) (in /ho
    me/oracle/app/10.2g/lib/libocci.so.10.1)
    ==32212== by 0x428874A: oracle::occi::EnvironmentImpl::createConnection(std::string const&, std::string const&, std::string const&) (in /home/oracle/app/10.2g/lib/liboc
    ci.so.10.1)
    ==32212== by 0x4023A29: oralib::connect() (oraclelib.cpp:46)
    ==32212== by 0x8048A26: main (oramain.cpp:14)
    ==32212== Address 0x123 is not stack'd, malloc'd or (recently) free'd
    ==32212==
    ==32212== Process terminating with default action of signal 11 (SIGSEGV)
    ==32212== Access not within mapped region at address 0x123
    ==32212== at 0x40CAF4E: parse_lsda_header(_Unwind_Context*, unsigned char const*, lsda_header_info*) (in /usr/lib/libstdc++.so.5.0.6)
    ==32212== by 0x40CB24B: __gxx_personality_v0 (in /usr/lib/libstdc++.so.5.0.6)
    ==32212== by 0x411A453: UnwindRaiseException (in /lib/libgcc_s.so.1)
    ==32212== by 0x411A5DB: UnwindResume_or_Rethrow (in /lib/libgcc_s.so.1)
    ==32212== by 0x40CB68E: __cxa_rethrow (in /usr/lib/libstdc++.so.5.0.6)
    ==32212== by 0x428CB89: oracle::occi::ConnectionImpl::openConnection(OCIEnv*, OCIError*, void*, unsigned, void*, unsigned, void*, unsigned, void*, unsigned, unsigned) (
    in /home/oracle/app/10.2g/lib/libocci.so.10.1)
    ==32212== by 0x42899D9: ZN6oracle4occi14ConnectionImplC9EPNS015EnvironmentImplERKSsS5_S5_ (in /home/oracle/app/10.2g/lib/libocci.so.10.1)
    ==32212== by 0x428E06E: oracle::occi::ConnectionImpl::ConnectionImpl(oracle::occi::EnvironmentImpl*, std::string const&, std::string const&, std::string const&) (in /ho
    me/oracle/app/10.2g/lib/libocci.so.10.1)
    ==32212== by 0x428874A: oracle::occi::EnvironmentImpl::createConnection(std::string const&, std::string const&, std::string const&) (in /home/oracle/app/10.2g/lib/liboc
    ci.so.10.1)
    ==32212== by 0x4023A29: oralib::connect() (oraclelib.cpp:46)
    ==32212== by 0x8048A26: main (oramain.cpp:14)
    ==32212==
    ==32212== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 32 from 1)
    ==32212== malloc/free: in use at exit: 680,744 bytes in 222 blocks.
    ==32212== malloc/free: 616 allocs, 394 frees, 760,162 bytes allocated.
    ==32212== For counts of detected errors, rerun with: -v
    ==32212== searching for pointers to 222 not-freed blocks.
    ==32212== checked 1,870,208 bytes.
    ==32212==
    ==32212== LEAK SUMMARY:
    ==32212== definitely lost: 132 bytes in 1 blocks.
    ==32212== possibly lost: 960 bytes in 1 blocks.
    ==32212== still reachable: 679,652 bytes in 220 blocks.
    ==32212== suppressed: 0 bytes in 0 blocks.
    ==32212== Rerun with --leak-check=full to see details of leaked memory.
    Segmentation fault
    Any Idea?
    Thanks in advance and Regards

    Dear All,
    I found the solution.
    It is enough to add the build flag: "-fPIC" to the g++

  • Displaying only the luma channel in Speedgrade when using direct link. Is it possible?

    Hi!
    The idea here is to be able to display only tle the Y (luma) channel i preview window of Speedgrade. I know that this is possible when grading in a new crated project in Speedgrade.
    Timeline/View/Channel Display. I know that there are shortcuts to display the separate RGB channels but there is no short cut to display the isolated luma.
    Do You guys know if there is a solution to customize shortcuts in Speedgrade? Or is there another method to display the luma when working in SG on a directlink created project?
    The reason for this is a project thats supposed to be graded in BW with an ability to manipulate colors/channels values underneath the bw display. Because after adding the BW "filter" or decreasing the saturation value all of the controls become "some sort" immune to  color data below the bw grade witch gives no ability to preform corrections to particular channels/ colors with live preview in BW. Of course we could try to desaturate the monitor but turning the colors back and forth every time would be a  coffin nail in production time
    Any hints greatly appreciated.
    Cheers Max

    Hey Max,
    Correct me if I'm misunderstanding your issue, but I believe Speedgrades layers apply effects linearly based on the information passed to them by the layer directly below. Could you achieve your solution by using two  (or more) primary layers, with the bottom layer being used for manipulating colours, and with the top layer to desaturate?
    If switching back and forth is important, you could add a single effects layer over the entire projectt on a track above, and then just apply a primary that desaturates to that effects layer. Then you could just switch it on and off by toggling the visibility of the track.

  • Abstract method which when implemented will have different parameters

    Hello to all,
    I have an assignment but not looking for someone to do it for me. I am only searching for a suggestion on how to do the following.
    Imagine having an application that needs to provide an estimate of the rent for different buildings.
    Basically I start with by having a class name Building. This class has an abstract method called estimateRent.
    I then create two classes that extend the class Building which are named Apartment and House. Both need to have the method estimateRent.
    However the problem is that the rent for the Apartment is calculated on the nights passed in the flat and the people in it, while the rent for the House is just calculated on a month bases.
    This means the estimateRent method requires to have different parameters depending if it is implemented inside the Apartment class or the House class.
    Now I only know of two options.
    The first option is to not declare the estimateRent method as an abstract method inside the Building class and just implemented inside the Apartment and House with different parameters. I do not like this option since in the future if a new Building comes in then I would like to impose the fact that that object needs to have a calculate method.
    The second option is to make the estimateRent method as abstract inside the Building class however takes a parameter of either a String array or else a Map. Then the estimateRent within the Apartment class would search for the elements tagged as nights and people, and the House class would only search for the elements tagged as months!
    However do not know if there are any other, better ways on how to do this. I am using Java 1.4 however if you only have answers for Java 5.0 then please post them again since I always like to learn something new :)
    Thank You for any comments.
    tx

    The implementation changes, yes.Yes that I could understand in the Strategy Pattern (in the document I read it was being compared with the Template Pattern).
    Then you need to refactor your design.I tought about that, however if you read my first post you will notice that I have different criteria on which the costs need to be estimated. While the costs for a flat are estimated on the people staying in and nights slept there, the costs for the house are based only on the months stayed there regardless of the people living in. Now for me I feel that it is bad programming practice to create one method that can have all the parameters required for any scenario. I mean the following is NOT something I am going to do:
    estimateCosts(int nights, int people, int months ... etc);
    That's not a very elegant way of going about it.
    What is the "Context" going to have?Yep I agree, but so far my limited brain has only come up with that! I am open to any other sugestion! always if i understand it first!
    Basically the Context would better be named as Criteria and it would be an interface as follows:
    interface Criteria{}
    Then I would create two classes that implement the Criteria object as follows:
    class AppartmentCriteria implements Criteria{
    public Result estimateCosts(int nights, int people);
    class HouseCriteria implements Criteria{
    public Result estimateCosts(int months);
    Now when I recieve the inputs, depending on the scenario the Criteria is typecasted and the correct parameters passed and we recieve the Result.
    I feel the above sucks since I am not seeing it as an object oriented way of doing this out! Is there any other sugestions! The refactoring thing I am intrested in! however really I can not see how such a call to that method could be refectored!
    Thank You,
    tx.
    PS: Sun has blocked my other account as well, and this time they did not even send me an email to confirm that I was registered successfuully :( Is there someone I can contact on this? I guess next time I will reply with tx53m :)

  • CodePage mismatch when creating Informatica Service

    I am installing INformatica in Windows, connecting to an Oracle DB in a Linux environment.
    I can create (and enable) the repository service if and only if I choose Western ISO8859 as Database properties.
    When creating the PC Integration service I am receiving a code page mismatch indicating that the Service is running in MS-Latin (which I believe is my windows system) and the repository is with Western ISO8859.
    Pls. anyone could help the better way to correct this ?
    Txs. a lot.
    ANtonio

    Take a look at this post:
    http://dbcrusade.blogspot.com/2009/06/informatica-setting-codepage.html

  • Encountering ORA-01152 when implementing DataGuard

    Working of a 2-node cluster hosting 11.1.0.7 on a Linux RH4 platform, and attempting to implement DataGuard on a single node with same OS and same DB version, and followed document http://www.oracle.com/technology/deploy/availability/pdf/dataguard11g_rac_maa.pdf
    The "duplicate target " command works successfully, and having recreated the sp file on the standby node, when I attempt to startup the standby database I get the following error.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 534462464 bytes
    Fixed Size 2161400 bytes
    Variable Size 314574088 bytes
    Database Buffers 209715200 bytes
    Redo Buffers 8011776 bytes
    Database mounted.
    ORA-10458: standby database requires recovery
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '+DATA/abcdg/datafile/system.258.697912407'
    I have re-tried several times without success - any ideas anybody?

    I've skimmed the PDF and I think what has happened is that you may have slightly diverged from the sequence shown by issuing "startup" instead of "startup mount", the difference being that "startup" tries to open the standby database in read only mode, which is when ORA-01152 is thrown.
    I'm assuming here that the rman duplicate operation does not include a recovery phase, if that is true then the restored datafiles will need recovering to a consistent state before the database can be opened in read-only mode.
    In short you probably just need to issue:
    recover managed standby database disconnect;and let managed recovery run the archive logs in. Once it is consistent then subsequent "startup" commands should work without error.
    If you don't actually want it open read-only then you can just leave it in a mount state and running managed recovery.

Maybe you are looking for

  • I can't use swing components in my applets

    When I write an applet without any swing components, my browser never has any trouble finding the classes it needs, whether they're classes I've written or classes that came with Java. However, when I try to use swing components it cannot find them,

  • New Bug in 10.1.2: getAccessor in Entity returns Row instead of RowIterator

    Hi There seems to be a new serious Bug in JDeveloper 10.1.2. Please assume the following Situation: MaEntity - Master Entity DetEntity - Detail Entity MaView - A View for the Master Entity DetView - A View for the Detail Entity DetMaFkAssoc - Associa

  • Switch HD from one macbook pro to another?

    I have a new macbook pro (i7) arriving this week, and I would like to simply take the HD out of my existing macbook pro (i5) and put it in the new one ... (instead of bothering with the migration tool). Would there be any problem with this? Or should

  • Importing files of the same name in *different* folders?

    Yes, yes, we all know about the RAW+JPEG and whatever else argument. But why should I be prevented from importing identical files that are stored in different folders? Who cares if they are in the library twice? I haven't figured out if it's just a n

  • Use of Catalog button in Service Order

    Hi, In the Service Order creation (IW31) screen, I find "Catalog" button in the Components tab Page. What is the purpose of this and how do I configure its determination ? Thanks. Raj