Message Mapping And Interface Mapping

Hi,
I have 2 software components.
One is for sender and one is for receiver.I have created all the Data types,Message type and Message Interface fro sender in the first Software component and data types ,message type ,message interface for the receiver in the second software component .
Now, in which Software component should i create Message Mapping and Interface Mapping?
Thanks in Advance,
mvk

Hi,
You could use the created Message type and Message interfaces in Sender as well as receiver software components for creating message mapping, interface mapping and integration scenario.
Generally it makes sense to maintain the message mapping, interface mapping and integration scenario in receiver software component. The message mapping and Integration scenario is specifically based on the receiver end requirments, so its preffered on receiver software component.
The sender side details could be reusable in case if you need those for another new receiver software component. If you maintain it in sender component, then that will lead to mix-up all the things on sender side even though its based on receiver end.
I think this could help you.
In PI7.1 now there is concept of Folders to maintain all the interfaces appropriatly and leads for reusability of existing objects.
Please refer below links for more details,
/people/thorsten.nordholmsbirk/blog/2006/07/25/structuring-integration-repository-content--part-1-software-component-versions
http://help.sap.com/saphelp_nw04/helpdata/en/42/ed903cf6c4492ce10000000a114084/frameset.htm
Thanks
Swarup
Edited by: Swarup Sawant on Jan 26, 2008 8:33 AM

Similar Messages

  • Diff b/w msg mapping and interface mapping

    hi
      i have some doubt's:
       1. diff b/w msg mapping and interface mapping
       2. What is product in SLD? usually who creates the product,technical,business system??
    thx in advance..

    hI Smartsoft General User  ,
    The following r excellent websites on mapping which differentiate msg mapping and interface mapping in detail:
    Excellent PDF Document on Mapping
    http://help.sap.com/bp_bpmv130/Documentation/Operation/MappingXI30.pdf
    Mapping Development with the ABAP Workbench
    http://help.sap.com/saphelp_nw04/helpdata/en/10/5abb2d9df242f6a62e22e027a6c382/content.htm
    ABAP Mappings
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm
    how to create a flat file out of an IDoc-XML by means of an ABAP mapping program and the J2EE File Adapter.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    How to Use ABAP Mapping in XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
    These r excellent websites in SLD:
    How To…Handle the SLD for SAP XI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e76e511-0d01-0010-5c9d-9f768d644808
    How To…Handle Caches in SAP XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290
    http://www.sap-press.de/download/dateien/751/sap_press_exchange_infra_engl.pdf
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • Message Mapping Vs Interface Mapping

    What are the differences between Message Mapping and Interface Mapping?

    Hi,
    Message mapping
    1) Transformation from one message structure to another message structure
    2) Message Mapping is nothing but a set of rules for producing target XML from the source XML according to business requirement.These rules are nothing but relations between the source XML tags and target XML tags
    3) 4 types(graphical, java, xslt, abap) mapping
    4) You can check whether a complete message mapping functions at runtime once you have described it, by using the Test tab page.
    Interface mapping
    1) Interface mapping registers a pair of interfaces for a scenario and specifies the message mapping to be used
    2) you can execute multiple mapping programs consecutively
    3) To check whether an interface mapping that you have defined functions at runtime, test the interface mapping on the Test tab page.
    Limitations
    1) value mapping table cannot be accessed here
    2) runtime constants of the mapping runtime are not set,but set to dummy values.
    differences
    message mapping you declare how the source message will be mapped to the the target message.
    What source field will be mapped to the target field and any conditions for it to happen.
    interface mapping you define what interfaces that will be communicating with each other. You will also see what message mapping the interfaces are using to exchange data. You need to do the message mapping before you do the interface mapping to get it correct.
    Other releated things
    ->I think there can be Interface mappings without any Message mappings. This will work properly if both the source and target interfaces are of same type.
    There might be less sense in these scenarios but they cannot be ruled out. They can help at times.
    Interface mappings register your mapping program for an interface pair in the Integration Repository. If you require a mapping at runtime, it is sufficient to select the interface mapping for the interface pair at configuration time.
    ->The Integration Server uses the interface mapping to identify associated mapping programs for request messages, response messages, fault messages, or all three.
    You can also create multiple interface mappings for the same interface pair.
    For Multi MAppings Refer
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/21/6faf35c2d74295a3cb97f6f3ccf43c/frameset.htm
    Please reward points if it helps
    Thanks
    Vikranth

  • Message Mapping vs Interface Mapping test tabs giving different results.

    Hi all,
    I am developing an interface that always requires an output file to be created (even if there is no data).  I have found a way to change my select statement in the JDBC sender to initiate the message even if there isn't any data (using UNION select -1 ID, '' col1, '' col2, etc.) and that seems to work fine.  I then put logic in the message mapping to suppress the row that contains the -1 ID value, which would result in an empty file when there is no other data, and should result in a file containing only the correct data when there is data.
    So, my problem: I am always getting empty files with this logic.  I tested the logic in the message mapping test tab and it worked perfectly, however when I test it using the interface mapping test tab it results in what becomes an empty file!
    My source and destination structures are fairly simple:
    Root
    --row
    ID
    col1
    col2
    The logic I use to suppress the ID = -1 row is:
    =removeContexts([]ifWithoutElse([keepss=true]Not([]equalsS([]ID, Constant([value=-1]))), SplitByValue([type=Each value]row)))
    Obviously, I'm stumped - any help would be appreciated!
    Edited by: Mike Morrison on Sep 23, 2010 5:04 PM

    Hi Mike,
    Can you quote the error log..u r getting error in message mappin or interface mapping?
    Please suggest the test results for both the mappings.
    Thanks,
    Sushama

  • Query Regarding Multi-Message Mapping in Interface Mapping.

    Hi All,
    I've a query that can we use Multi-Message Mapping in Interface Mapping if:
    One mapping structure is simple one-2-one mapping and
    Second mapping is calling a stored procedure.
    Please give me some links if the answer is YES.
    Thanks in Advance.
    Regards,
    Sreedhar.
    Edited by: Sreedhar Av on Oct 12, 2009 1:26 PM

    Hi,
    Your question not clear buddy..what i understood is..
    If you want execute multiple message mappings in Interface mapping we can ,just add two mapping programs in interface mapping.first mapping program output is input to the second mapping program.
    If first mapping program is very simple,if you want to execute stored procedure in second level mapping write used defned fun ction to conect to data base or create JDMC receiver communication channel ,cal the communictaion channel in udf.write stored procedure in UDF.
    SEARCH for more info in sdn how to perform DBLOOKUPS.
    regards,
    Raj

  • Exception when "Edit Maps and Interface"

    This is pretty uniform on all .jws I tried. Right click on the client
    interface and choose "Edit Maps and Interface" yields:
    Unexpected exception:
    java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:394)
    at java.lang.Integer.parseInt(Integer.java:476)
    at jellybeans.util.CookingUtil.getErrorCount(CookingUtil.java:159)
    at jellybeans.util.CookingUtil.getErrorText(CookingUtil.java:142)
    at
    jellybeans.modules.jws.dialog.SvcMapEditorDialog$GetDefaultMapTask.runForegr
    ound(SvcMapEditorDialog.java:1441)
    at
    jellybeans.core.task.TaskThread$ExecuteForeground.run(TaskThread.java:164)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at
    jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsA
    ction.java:93)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
    n.java:1820)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
    19)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
    at
    javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
    MenuItemUI.java:932)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1380)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1437)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
    at java.awt.Container.dispatchEventImpl(Container.java:1423)
    at java.awt.Window.dispatchEventImpl(Window.java:1566)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Was caught at:
    jellybeans.util.AssertionFailureException: Unexpected exception: null
    at jellybeans.util.AssertUtil.handleUnexpectedException(AssertUtil.java:50)
    at jellybeans.util.AssertUtil.handle(AssertUtil.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    java.awt.EventDispatchThread.handleException(EventDispatchThread.java:304)
    at
    java.awt.EventDispatchThread.processException(EventDispatchThread.java:210)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:202)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at
    jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsA
    ction.java:93)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
    n.java:1820)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
    19)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
    at
    javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
    MenuItemUI.java:932)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1380)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1437)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
    at java.awt.Container.dispatchEventImpl(Container.java:1423)
    at java.awt.Window.dispatchEventImpl(Window.java:1566)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    :144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

    Thanks all. I appreciate the help.
    "Peter Laird" <[email protected]> wrote in message
    news:[email protected]...
    >
    Me too. I got different errors however because I did something different:
    1.) Download and install the public beta.
    2.) Start WLS (I started mydomain server)
    3.) Start Workshop from the Start Menu.4) Created a new method for my webservice
    5) Selected Debug->"Start and Debug"
    6) Got ClassNotFound exceptions on my mydomain server console window andWorkshop
    showed a progress bar for multiple minutes instead of failing outright.
    There seems to be a basic assumption for some users that Workshopinteracts with
    the out of the box WLS instance. Its not clear for people that don't readthe
    documentation (that's me!) that the WLS instance needs to be Cajun aware.
    Perhaps a message dialog should appear upon first install explaininglittle gotchas
    like this. It should be one of those windows that you can uncheck "Showthis window
    at startup".
    Just a suggestion.
    "Joe Noonan" <[email protected]> wrote:
    Thanks Ian. I also had this problem. I had started WebLogic before
    WorkShop and ran into the same problem. Once I read this and started
    it
    from within WorkShop, it ran fine.
    Joe Noonan
    [email protected]
    "Ian M. Goldstein" <[email protected]> wrote in message
    news:[email protected]...
    Thanks, Robert. It looks like this error happens when running a
    non-Workshop-enabled instance of WebLogic Server.
    Note the differences in the classpath settings in the Workshop-enabled
    startWebLogic.cmd script
    (C:\bea\weblogic700b\samples\workshop\startWebLogic.cmd) as opposedto the
    non-Workshop-enabled scripts at
    C:\bea\user_domains\mydomain\startWebLogic.cmd or
    C:\bea\weblogic700b\samples\server\config\examples\startWebLogic.cmd.
    I'll file an issue about improving the error message if the instanceof
    WebLogic Server which is running doesn't have the necessary Workshopjars
    in
    its classpath.
    Ian M. Goldstein
    Developer Relations Engineer
    BEA Systems, Inc.
    "Robert Patrick" <[email protected]> wrote in message
    news:[email protected]...
    Here are the steps to reproduce this.
    1.) Download and install the public beta.
    2.) Start WLS (probably don't need to do this)
    3.) Start Workshop from the Start Menu.
    4.) Right Click on the Hello interface and Choose "Edit Maps andInterface".
    Hope this helps,
    Robert Patrick
    Technical Director
    BEA Systems
    Ian M. Goldstein wrote:
    Hi Steve. I'm not seeing this myself with any of the samples or
    my own
    jws
    files. There was a pre-beta issue that fit this description, but
    it
    was
    resolved before the beta release. What build are you running?
    (Click
    on
    Help
    About WebLogic Workshop.)
    Are you actually modifying the interface when you're getting that
    error,
    or
    does it happen just from opening the "Edit Maps and Interface"
    dialog
    box?
    Once you get the error, can you get past it and try to open the
    "Edit
    Maps
    and Interface" dialog box again? Do you get the error again, or
    does
    it
    let
    you actually edit the interface now?
    Thanks,
    Ian M. Goldstein
    BEA Developer Relations Engineer
    "Steve Demuth" <sdemuthxxxxartemisalliance.com> wrote in message
    news:[email protected]...
    This is pretty uniform on all .jws I tried. Right click on the
    client
    interface and choose "Edit Maps and Interface" yields:
    Unexpected exception:
    java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Integer.java:394)
    at java.lang.Integer.parseInt(Integer.java:476)
    at jellybeans.util.CookingUtil.getErrorCount(CookingUtil.java:159)
    at jellybeans.util.CookingUtil.getErrorText(CookingUtil.java:142)
    at
    jellybeans.modules.jws.dialog.SvcMapEditorDialog$GetDefaultMapTask.runForegr
    >>>>>
    ound(SvcMapEditorDialog.java:1441)
    at
    jellybeans.core.task.TaskThread$ExecuteForeground.run(TaskThread.java:164
    atjava.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    >>>>>
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
    atjava.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    >>>>>
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at
    jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsA
    >>>>>
    ction.java:93)
    at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
    >>>>>
    n.java:1820)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
    >>>>>
    19)
    atjavax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
    at
    javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
    >>>>>
    MenuItemUI.java:932)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1380)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1437)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    atjava.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
    atjava.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
    at
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
    at java.awt.Container.dispatchEventImpl(Container.java:1423)
    at java.awt.Window.dispatchEventImpl(Window.java:1566)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    >>>>>
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :144)
    atjava.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    atjava.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Was caught at:
    jellybeans.util.AssertionFailureException: Unexpected exception:
    null
    at
    jellybeans.util.AssertUtil.handleUnexpectedException(AssertUtil.java:50)
    at jellybeans.util.AssertUtil.handle(AssertUtil.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
    >>>>>
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    >>>>>
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    java.awt.EventDispatchThread.handleException(EventDispatchThread.java:304
    at
    java.awt.EventDispatchThread.processException(EventDispatchThread.java:210)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    >>>>>
    va:202)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
    atjava.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    >>>>>
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :144)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :134)
    at java.awt.Dialog.show(Dialog.java:524)
    at
    jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsA
    >>>>>
    ction.java:93)
    at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButto
    >>>>>
    n.java:1820)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4
    >>>>>
    19)
    atjavax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
    at
    javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Basic
    >>>>>
    MenuItemUI.java:932)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1380)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1437)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    atjava.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
    atjava.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
    at
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
    at java.awt.Container.dispatchEventImpl(Container.java:1423)
    at java.awt.Window.dispatchEventImpl(Window.java:1566)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
    >>>>>
    va:191)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
    >>>>>
    :144)
    atjava.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    atjava.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

  • Workshop:Launching "Edit maps and interfaces" dialog causesNumberFormatException

    Hi
    I just downloaded the eval copy of WL Workshop, I am currently completing your
    tutorial creating the FinancialServices Web Service, whenever I launch the "Edit
    Maps and Interfaces" dialog, I get this error.
    Thanks
    Unexpected exception:
    java.lang.NumberFormatException: null
         at java.lang.Integer.parseInt(Integer.java:394)
         at java.lang.Integer.parseInt(Integer.java:476)
         at jellybeans.util.CookingUtil.getErrorCount(CookingUtil.java:159)
         at jellybeans.util.CookingUtil.getErrorText(CookingUtil.java:142)
         at jellybeans.modules.jws.dialog.SvcMapEditorDialog$GetDefaultMapTask.runForeground(SvcMapEditorDialog.java:1441)
         at jellybeans.core.task.TaskThread$ExecuteForeground.run(TaskThread.java:164)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsAction.java:93)
         at jellybeans.core.ui.designview.Drawing$DrawingMouseListener.mouseClicked(Drawing.java:574)
         at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208)
         at java.awt.Component.processMouseEvent(Component.java:5024)
         at java.awt.Component.processEvent(Component.java:4818)
         at java.awt.Container.processEvent(Container.java:1380)
         at java.awt.Component.dispatchEventImpl(Component.java:3526)
         at java.awt.Container.dispatchEventImpl(Container.java:1437)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2938)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
         at java.awt.Container.dispatchEventImpl(Container.java:1423)
         at java.awt.Window.dispatchEventImpl(Window.java:1566)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Was caught at:
    jellybeans.util.AssertionFailureException: Unexpected exception: null
         at jellybeans.util.AssertUtil.handleUnexpectedException(AssertUtil.java:50)
         at jellybeans.util.AssertUtil.handle(AssertUtil.java:90)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.awt.EventDispatchThread.handleException(EventDispatchThread.java:304)
         at java.awt.EventDispatchThread.processException(EventDispatchThread.java:210)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:202)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsAction.java:93)
         at jellybeans.core.ui.designview.Drawing$DrawingMouseListener.mouseClicked(Drawing.java:574)
         at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208)
         at java.awt.Component.processMouseEvent(Component.java:5024)
         at java.awt.Component.processEvent(Component.java:4818)
         at java.awt.Container.processEvent(Container.java:1380)
         at java.awt.Component.dispatchEventImpl(Component.java:3526)
         at java.awt.Container.dispatchEventImpl(Container.java:1437)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2938)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
         at java.awt.Container.dispatchEventImpl(Container.java:1423)
         at java.awt.Window.dispatchEventImpl(Window.java:1566)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

    Hi
    I just downloaded the eval copy of WL Workshop, I am currently completing your
    tutorial creating the FinancialServices Web Service, whenever I launch the "Edit
    Maps and Interfaces" dialog, I get this error.
    Thanks
    Unexpected exception:
    java.lang.NumberFormatException: null
         at java.lang.Integer.parseInt(Integer.java:394)
         at java.lang.Integer.parseInt(Integer.java:476)
         at jellybeans.util.CookingUtil.getErrorCount(CookingUtil.java:159)
         at jellybeans.util.CookingUtil.getErrorText(CookingUtil.java:142)
         at jellybeans.modules.jws.dialog.SvcMapEditorDialog$GetDefaultMapTask.runForeground(SvcMapEditorDialog.java:1441)
         at jellybeans.core.task.TaskThread$ExecuteForeground.run(TaskThread.java:164)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsAction.java:93)
         at jellybeans.core.ui.designview.Drawing$DrawingMouseListener.mouseClicked(Drawing.java:574)
         at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208)
         at java.awt.Component.processMouseEvent(Component.java:5024)
         at java.awt.Component.processEvent(Component.java:4818)
         at java.awt.Container.processEvent(Container.java:1380)
         at java.awt.Component.dispatchEventImpl(Component.java:3526)
         at java.awt.Container.dispatchEventImpl(Container.java:1437)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2938)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
         at java.awt.Container.dispatchEventImpl(Container.java:1423)
         at java.awt.Window.dispatchEventImpl(Window.java:1566)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Was caught at:
    jellybeans.util.AssertionFailureException: Unexpected exception: null
         at jellybeans.util.AssertUtil.handleUnexpectedException(AssertUtil.java:50)
         at jellybeans.util.AssertUtil.handle(AssertUtil.java:90)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.awt.EventDispatchThread.handleException(EventDispatchThread.java:304)
         at java.awt.EventDispatchThread.processException(EventDispatchThread.java:210)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:202)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.util.AssertUtil$1.run(AssertUtil.java:147)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
         at java.awt.Dialog.show(Dialog.java:524)
         at jellybeans.modules.jws.action.EditSvcMapsAction.actionPerformed(EditSvcMapsAction.java:93)
         at jellybeans.core.ui.designview.Drawing$DrawingMouseListener.mouseClicked(Drawing.java:574)
         at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208)
         at java.awt.Component.processMouseEvent(Component.java:5024)
         at java.awt.Component.processEvent(Component.java:4818)
         at java.awt.Container.processEvent(Container.java:1380)
         at java.awt.Component.dispatchEventImpl(Component.java:3526)
         at java.awt.Container.dispatchEventImpl(Container.java:1437)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2938)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
         at java.awt.Container.dispatchEventImpl(Container.java:1423)
         at java.awt.Window.dispatchEventImpl(Window.java:1566)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

  • Ovi maps and Nokia Maps

    I have recently downloaded the ovi maps update for free navigation on my 5800 however now I seem to have 2 programs in my installed apps menu, Ovi maps and Nokia maps. This is causing me some problems as my phones built in memory is now completely full and I am unable to do some things as I have ran out of on phone memory space. Which one is the main map software? And also can I uninstall one? If not then can it be installed on a MSD card and if yes how?

    As far as I can determine Ovi maps is the mapping software (program) which installs to C (phone memory) and Nokia maps is the map data that you have loaded which I believe are installed to E (mass memory).
    I can confirm that you do need both installed.
    The problem as far as I can see is that the previous maps versions 3.01 is built into the current firmware (v20 for N97 - not sure for 5800) and installing maps 3.03 does not remove or overwrite the earlier version so you end up with both versions installed and thus the extra memory footprint.
    This will remain a problem until a newer firmware is released which will hopefully have maps 3.03 (or later depending when next firmware is released) thus reducing the extra 9 megs or so used.
    Hope this answers your question
    Message Edited by rider5512 on 29-Jan-2010 05:16 AM
    Rider5512

  • Java Mapping  and Graphical Mapping

    Hi All,
    Could any one clarifies the situation where we need to write in a same interface ,
    Both Java mapping and Graphical mapping.
    Regards,
    venu.

    Hi,
       Here is a scenario where you might need to use both graphical and user defined functions.
    source: <fname> <lname> <filename>
    target: <name> <filetype>
    Suppose, you need to concatenate fname and lname into the target <name> tag, you could use the normal graphical mapping using the concat function.
    <fname>\
    concat <name>
    <lname>/
    next, if we need to extract only the filetype from the filename, for example, if we have filename.txt... and we want only the value .txt, we need to write a user defined function which would achieve this for u, since there are no inbuilt function which can solve this for you in graphical mapping.
    Further XSLT mapping comes into picture when we need to create the entire target xml structure. Again, graphical mapping would not be useful here.
    Regards,
    Smitha.

  • Horizontal Mapping and Flat mapping with Metadata Value Indicator

    Hi
    I have an abstract class B which itself extends another abstract class A.
    There is no table for A. The fields in A are mapped to B. I believe this
    is called "horizontal mapping"
    C and D inherit off B. There's a also a table named B (mapped to class B),
    but none for C or D. Instances of C and D are recorded in table B. I
    believe this is called "flat mapping"
    B has a field foo whose possible values are 'fred' and 'wilma'.
    If foo='fred', then the record is of type C
    If foo='wilma', then the record is of type D
    I believe this is called "class indicator" of type metadata.
    To express this, I have package.jdo which says
    <class name="A"/>
    <class name="B" persistence-capable-superclass="A"/>
    <class name="C" persistence-capable-superclass="B"/>
    <class name="D" persistence-capable-superclass="B"/>
    In B.mapping, I have
    <mapping>
    <package name="domain">
    <class name="B">
    <jdbc-class-map type="horizontal"/>
    <jdbc-class-ind type="metadata-value" column="foo"/>
    </class>
    </package>
    </mapping>
    B.java has a private String foo.
    In C.mapping, I have
    <mapping>
    <package name="domain">
    <class name="C">
    <jdbc-class-map type="flat"/>
    <jdbc-class-ind-value value="fred"/>
    field mappings for C
    </class>
    </package>
    </mapping>
    and similarly in D for value='wilma'
    My questions are...
    1. Is this kind of mapping supported by kodo?
    2. If so, is this configuration correct? I guess not, since I don't
    specify the table name anywhere. Where should it go?
    3. If I remove the "class indicator" mapping and run a simple test I get
    kodo.util.FatalUserException: There is no superclass mapping for mapping
    for "class domain.D".
         at
    kodo.jdbc.meta.FlatClassMapping.assertParentMapping(FlatClassMapping.java:49)
         at kodo.jdbc.meta.FlatClassMapping.getTable(FlatClassMapping.java:85)
         at
    kodo.jdbc.meta.OneToManyFieldMapping.fromMappingInfo(OneToManyFieldMapping.java:87)
         at
    kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:160)
         at
    kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:443)
         at
    kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:949)
    4. If I run a simple test with the horizontal, flat and class-indicator
    mappings, I get
    kodo.jdbc.meta.MappingInfoNotFoundException: The "class-column"
    attribute/extension for the class indicator on type
    "domain.B.<class-indicator>" is missing or names a column that does not
    exist.
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:135)
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:121)
         at
    kodo.jdbc.meta.ColumnClassIndicator.fromMappingInfo(ColumnClassIndicator.java:95)
         at
    kodo.jdbc.meta.RuntimeMappingProvider.initialize(RuntimeMappingProvider.java:135)
         at
    kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:378)
    What am I doing wrong?
    Thanks in advance
    Srini

    I solved this problem by removing the identifier field from the
    class/mapping (kodo support).
    Thanks
    Srini
    Stephen Kim wrote:
    Do you have two fields mapped to the same column? Did you make sure you
    set everything which maps to the column?
    Srinivasan Ranganathan wrote:
    I found what was wrong with this, fixed it and got a different (more
    sensible) error. To correct this mapping, I specified B's mapping type as
    "base" and gave its table and pk names. Also, I moved the common field
    mappings to B.mapping so C.mapping and D.mapping only have fields that are
    specific to each.
    Now when I run a simple test, I get
    testC:
    kodo.util.FatalUserException: Attempt to set column "B.FOO" to two
    different values: (java.lang.Object)"java.lang.Object@2f608ac2",
    (java.lang.String)"fred" This can occur when you fail to set both sides of
    a two-sided relation between objects, or when you map different fields to
    the same column, but you do not keep the values of these fields in synch.
         at kodo.jdbc.runtime.VRow.setObjectInternal(VRow.java(Compiled Code))
         at kodo.jdbc.sql.AbstractRow.setObject(AbstractRow.java(Compiled Code))
         at
    kodo.jdbc.meta.ColumnClassIndicator.insert(ColumnClassIndicator.java:143)
         at kodo.jdbc.runtime.UpdateManagerImpl.insert(UpdateManagerImpl.java:216)
         at kodo.jdbc.runtime.UpdateManagerImpl.insert(UpdateManagerImpl.java:219)
         at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:108)
         at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:73)
    testD:
    kodo.util.FatalUserException: Attempt to set column "B.FOO" to two
    different values: (java.lang.Object)"java.lang.Object@2f608ac2",
    (java.lang.String)"wilma" This can occur when you fail to set both sides
    of a two-sided relation between objects, or when you map different fields
    to the same column, but you do not keep the values of these fields in
    synch.
         at kodo.jdbc.runtime.VRow.setObjectInternal(VRow.java(Compiled Code))
         at kodo.jdbc.sql.AbstractRow.setObject(AbstractRow.java(Compiled Code))
         at
    kodo.jdbc.meta.ColumnClassIndicator.insert(ColumnClassIndicator.java:143)
         at kodo.jdbc.runtime.UpdateManagerImpl.insert(UpdateManagerImpl.java:216)
         at kodo.jdbc.runtime.UpdateManagerImpl.insert(UpdateManagerImpl.java:219)
         at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:108)
         at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:73)
    I've checked for the two possible errors to the best of my knowledge. Any
    input to resolve this issue is appreciated.
    Thanks in advance
    Srini
    Srinivasan Ranganathan wrote:
    Hi
    I have an abstract class B which itself extends another abstract class A.
    There is no table for A. The fields in A are mapped to B. I believe this
    is called "horizontal mapping"
    C and D inherit off B. There's a also a table named B (mapped to class B),
    but none for C or D. Instances of C and D are recorded in table B. I
    believe this is called "flat mapping"
    B has a field foo whose possible values are 'fred' and 'wilma'.
    If foo='fred', then the record is of type C
    If foo='wilma', then the record is of type D
    I believe this is called "class indicator" of type metadata.
    To express this, I have package.jdo which says
    <class name="A"/>
    <class name="B" persistence-capable-superclass="A"/>
    <class name="C" persistence-capable-superclass="B"/>
    <class name="D" persistence-capable-superclass="B"/>
    In B.mapping, I have
    <mapping>
    <package name="domain">
    <class name="B">
    <jdbc-class-map type="horizontal"/>
    <jdbc-class-ind type="metadata-value" column="foo"/>
    </class>
    </package>
    </mapping>
    B.java has a private String foo.
    In C.mapping, I have
    <mapping>
    <package name="domain">
    <class name="C">
    <jdbc-class-map type="flat"/>
    <jdbc-class-ind-value value="fred"/>
    field mappings for C
    </class>
    </package>
    </mapping>
    and similarly in D for value='wilma'
    My questions are...
    1. Is this kind of mapping supported by kodo?
    2. If so, is this configuration correct? I guess not, since I don't
    specify the table name anywhere. Where should it go?
    3. If I remove the "class indicator" mapping and run a simple test I get
    kodo.util.FatalUserException: There is no superclass mapping for mapping
    for "class domain.D".
         at
    kodo.jdbc.meta.FlatClassMapping.assertParentMapping(FlatClassMapping.java:49)
         at kodo.jdbc.meta.FlatClassMapping.getTable(FlatClassMapping.java:85)
         at
    kodo.jdbc.meta.OneToManyFieldMapping.fromMappingInfo(OneToManyFieldMapping.java:87)
    >>
         at
    kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:160)
    >>
         at
    kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:443)
         at
    kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:949)
    >>
    >>
    >>
    >>
    4. If I run a simple test with the horizontal, flat and class-indicator
    mappings, I get
    kodo.jdbc.meta.MappingInfoNotFoundException: The "class-column"
    attribute/extension for the class indicator on type
    "domain.B.<class-indicator>" is missing or names a column that does not
    exist.
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:135)
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:121)
         at
    kodo.jdbc.meta.ColumnClassIndicator.fromMappingInfo(ColumnClassIndicator.java:95)
    >>
         at
    kodo.jdbc.meta.RuntimeMappingProvider.initialize(RuntimeMappingProvider.java:135)
    >>
         at
    kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:378)
    >>
    >>
    >>
    What am I doing wrong?
    Thanks in advance
    Srini
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Class-Map and Policy-Map Configuration in CM Confusion

    Hi,
    I'm implementing a green field WAAS deployment for a customer. We currently have a Proof-of-Concept up and running.
    I've got some questions regarding custom class-map and policy-map configuration in the CM. I'd like to nail-down the custom class-map and policy-map configuration (and understanding) in the PoC before cutting over the PoC branches to the production WAAS environment.
    Assuming a typical WAAS Deployment using WCCP for off-path interception, branch to DC.
     ==> 61 in LAN (BRANCH ROUTER) <== 62 in WAN        (WAN CLOUD)        ==> 61 in WAN (DC ROUTER) <== 62 in LAN
    We are using two distinct device groups, BRANCH and DATA CENTER.
    If the customer has traffic that we need to classify in order to provide TFO only optimisation, should the single class-map include the traffic in both directions? Ie., (assume the SERVER is 10.1.1.1 TCP Port 443). Should the class-map be configured as:
    Class-Map
    Line 1: DST IP 10.1.1.1 DST Port 443
    Line 2: SRC IP 10.1.1.1 SRC Port 443
    Or in this case is only the DST line required? And in which Device Group should the custom policy be applied? Or should it be applied to both Device Groups? If it should be applied to both Device Groups, then would it make more sense to have the policy-map in the Branch DG configured to match the DST traffic, and on the Data Center DG have a different class-map match the SRC traffic?
    My confusion is how to classify the traffic (SRC or DST or Both - Separate classes for each or different lines within the same class-map), and where to apply the appropriate policy (both Device Groups, just Branch, just DC) and why...
    I tried to apply a custom policy and the impact in the PoC was that the TCP Summary report stopped reporting the individual traffic classes showed 'other traffic' only. Can anyone explain why this may have occurred?
    I hope this makes sense.

    for instance like this:
    policy-map police-in
    class class-default
    police rate 10 mpbs <optionally set burst>
    policy-map shape-out-parent
    class class-default
    shape 10 mpbs <optional burst config>
    service-policy shape-out-child
    policy-map shape-out-child
    class class-default
    queue-limit 10 packets
    int g 0/0/0/0
    service-policy police-in in
    service-policy shape-out-parent out
    also have a look at CL 2013/2014 (orlando/sanfran) ID 2904 for more QOS details
    and the support forum article of "asr9000 quality of service architecture"
    xander

  • Service map and workset map iview

    Can any one please provide me with a good documentation for creating Service map and workset maps in SPA portal.

    Hi Raj,
    Before posting for documentation help, just browse through help.sap.com, you could find really valuable help there.
    For your reference some of the useful links are as below -
    [Navigation using Workset Map iView|http://help.sap.com/saphelp_nw70/helpdata/en/ae/ed9576d3e94ec9b440dfe3a8db9cbf/content.htm]
    [Creating Workset Map iView|http://help.sap.com/saphelp_nw70/helpdata/en/84/f8c4400c2d712ae10000000a155106/content.htm]
    [Navigation using Service Map iView|http://help.sap.com/saphelp_nw70/helpdata/en/a1/c64960cb1e4c4293ce6d8eaed02ff5/content.htm]
    [Creating Service Map iView|http://help.sap.com/saphelp_nw70/helpdata/en/5b/bc12311911458993849a91f3f20dec/content.htm]
    Hope these help you out
    Regards,
    Shailesh

  • Driving times vary from Maps and Google maps?

    When I plot a trip I find driving times vary significantly from Maps and Google maps.  I wonder what the paramieters are for attaching driving times to routes?  I would hope that it were speed limits.

    Basically it is average driving time. Speed limits is a factor but so is congestion, terrain, weather, construction, etc. Since Apple and Google get their data from different sources, the results are always going to be different.

  • Where find java classes corresponding to message mapping and interfaces ?

    Hi
    Forum,
    when i create my objects in Repository, like Message interface and messgae mapping, correspoding to them, java class in created,  where can i see these java classes in the XI's file system,

    Hi sudeep,
    During the installation of Xi we select a database.So all the objetcs and related things that we create in IR and ID will be saved in the database only.I dont know how to check the .class file for each object...
    Check these weblogs from sravya where she has given you the table names where the IR and ID objects are stored:
    /people/sravya.talanki2/blog/2007/01/11/ripping-off-sap-xi-stack-133sharing-the-goodies-of-abap-api146s
    /people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off
    /people/sravya.talanki2/blog/2006/12/28/skelton-of-mapping-runtime-in-sap-xi
    regards
    BILL

  • BPM and interface mapping

    Hi All
    I have done a BPM which collect messages and send them to a file adapter in one message.
    I have added a tranformation step , which uses the interface mapping IM_map
    when i run the program it failes , and in the sxmb_moni_bpe it showed mapping error and navigating to the message it says the following
    http://test.com.IM_map
    (SWCV=127593A01FA211DBC43DEDD90A16547D) not found.
    I deleted the Interface mapping IM_map and created a new Interface mapping IM_map_2
    and refreshed the cache and changed the mapping program in the BPM to the new one , I can se the IM_map_2 in sxi_cache but whenever I run the program it stille shows the message refering to the deleted inteface mapping IM_map that is not found .
    how can I get rid of this error.
    Thanks .

    Hi Malu
    while creating new IM in IR activate this with your software compnent
    right Click on the BP object in the IR and activate it select SWC also with this and activate
    then make a full cahe refresh either BY t code SXI_CACHE
    or In IR go to environment and make a full cache refresh
    or through URL
    http://<host>:5<sys#>00/CPACache/refresh?mode=full     Full CPA cache refresh
    regards
    sandeep
    If helpful reward points

Maybe you are looking for

  • Monthly wise Sales report - Help me

    Dear SDN mates Is there any standard reports for Monthly wise sales report ...the SAP1 , SAP2 reports were not helpful....Does this can be solved by standard reports or it needs to be customized???? kindly help me?

  • Window does not open from taskbar

    It is not uncommon for me to have up to six windows with ten tabs each when I have Firefox running. The problem that I am having is sometimes I cannot open one of those windows from the task bar. Restarting Firefox does not help, I tried the cascade

  • Restriction for Migo if import custom miro is not done.

    Dear Consultant , I want to put restriction over migo for import PO. If the custom duty miro is not done , it should not allow /restrict user for migo. Kidnly suggest user exit or badi or any other solution for the same. Thanx Pradeep

  • No manual order and permission option in fsdb Repository

    Hi Experts, I need to get the Manual Order and Permission option in one of my FSDB repository. Even though I added similar repository services as one of DB repository , I am not getting these option in my KM->Details->settings. Can anyone help me in

  • IPhoto '11 keeps crashing when trying to import to library

    Hello, May I ask for some assistance please. For some reason tonight when I open iPhoto and try to import photos it keeps crashing. I was able to import about 30-40 photos from a CD before this started to occur. I have included the crash log below. G