Demo code works with Jdk1.2?

Can EJB/CORBA demo code shipped with Oracle8i CD work with Jdk 1.2?
null

For details on what JDKs on client vs JDKs on server across versions 8.1.5, 8.1.6 and 8.1.7, see FAQ:
http://technet.oracle.com/products/oracle8i/htdocs/jserver_faq/index.html#_62_
take care
John.
Oracle JServer Development Team

Similar Messages

  • JAXP: code works with JDK1.3.1/Xerces but not JDK1.4.1

    Switching from JDK 1.3.1 with the Xerces XML parser to JDK 1.4.1 with its
    bundled XML parser breaks my code. Here is the exception I am
    seeing:
    Exception in thread "main" com.post.bean.BeanException com.post.bean.Bea
    nException: Relative URI "bean.dtd"; can not be resolved without a base URI.
    at com.post.bean.BeanSerializer.deserialize(BeanSerializer.java:176)
    at com.post.BeanSerializer1.deserialize(BeanSerializer1.java:38)
    at com.post.BeanSerializer1.main(BeanSerializer1.java:17)
    Here is a code fragment that worked fine with JDK1.3.1 and xerces but
    not with JDK1.4.1:
    public static Object deserialize(InputStream input, EntityResolver
    resolver)
    throws BeanException
    Object bean = null;
    try
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setValidating(true);
    factory.setNamespaceAware(false);
    DocumentBuilder builder = factory.newDocumentBuilder();
    if (resolver != null)
    builder.setEntityResolver(resolver);
    Document doc = builder.parse(input); // exception thrown here
    Element root = doc.getDocumentElement();
    The entity resolver I'm using searches for dtds in
    a certain directory. Again this works fine with JDK1.3.1
    and Xerces but not with JDK1.4.1.
    Any ideas on how to remedy this situation?
    Thanks

    this generally happens when two similar libs conflict with each other. Try any of theses quick fixes: (Remember, 90% of probs in java are Classpath, packages and directory structure issues)
    1. remove completely your previous version of JDK and Xerces.
    2. Remove your classpath variable from system path.
    3. Have "only the required" jar files during compilation. For this use the -D option.
    4. If everything fails, download ANT. Write a simple build.xml file. This is a good replacement to the -D option. But make sure, you are working in a clean JDK environment. Try to monitor your classpaths at run time, and get rid of all the unnecessary once.
    5. MAke sure that Xerces libs bundled with 1.4 are in your classpath at runtime.
    Finally All the best, and happy XMLing+Javing !!
    Rakesh

  • Key backspace and delete work with JDK1.3.1 and not with JDK1.4

    In JCTable, keys backspace and delete are not working with JDK1.4. It works with JDK1.3.1.

    I have the same problem, but the version within SUN seems imcomplete,what version is ?
    For example I am using the xsl tag library provided by Apache (I know this now deprecated). In its ApplyTag.java it uses XSLTDataSource this is not in the SUN 1.4 distribution so it falls over. If I add XALAN 1.0.1 it falls over because it on getDefaultLiason() because it starts loading somne classes from rt.jar and some from xalan.jar, how are you meant to override this.

  • EA1 EA2 EA3 don't start on linux with jdk1.7 but work with jdk1.6!!!

    I install SQLDeveloper EA1 then EA2 and now EA3 on my Linux (Fedora 19), but the result is the same.
    If i start SQLDeveloper with root it work, but if i start with my user the application crash. I tested to change owner of all component, but the result is the same.
    Then because I started the application with jdk1.6 (I used the EA1 who did not warning about the java version) and it work fine!!!
    I opened two "Report a HotSpot Crash", but I never received a response.
    No one any idea? Nobody has ever happened? 
    Thanks,
    Enrico

    This sounds like
    Re: 4EA1: Not starting on Ubuntu. Unkown protocol sqldev.temp

  • How does xalan.jar work with jdk1.3.1 and not work with jdk1.4.1

    Hi,
    i am using java, xalan, xerces for web development. The environment is jdk1.4.1, xerces.jar, xalan.jar. i am facing problem while transforming xml, xsl. Its giving the following error
    java.lang.NoSuchMethodError: org.apache.xalan.xslt.Process.getDefaultLiaison()Ljava/lang/String;
         at org.apache.xalan.xslt.XSLTEngineImpl.(XSLTEngineImpl.java:367)
         at org.apache.xalan.xslt.XSLTProcessorFactory.getProcessor(XSLTProcessorFactory.java:79)
    I tried with jdk1.3.1, xalan.jar, xerces.jar. Its working fine. Can anyone tell me what is the problem with jdk1.4.1 ?
    Regards
    Ashok

    I have the same problem, but the version within SUN seems imcomplete,what version is ?
    For example I am using the xsl tag library provided by Apache (I know this now deprecated). In its ApplyTag.java it uses XSLTDataSource this is not in the SUN 1.4 distribution so it falls over. If I add XALAN 1.0.1 it falls over because it on getDefaultLiason() because it starts loading somne classes from rt.jar and some from xalan.jar, how are you meant to override this.

  • Jazn.jar not working with jdk1.4

    I am getting the following error messages when connecting to bc4j application modules with jdk1.4. Works fine with jdk1.3.
    Please help!!!
    Thanks,
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught:
    oracle.jbo.common.ampool.ApplicationPoolException, msg=JBO-30003: The application pool (F5DC5BA84A) failed to checkout an application module due to the following exception:
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1144)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:351)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:340)
    ## Detail 0 ##
    JBO-30003: The application pool (F5DC5BA84A) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-25222: Unable to create application module.
    Caused by: java.lang.IllegalArgumentException: wrong number of arguments
         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 javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
         at oracle.jbo.common.UserAznUtil.authenticate(UserAznUtil.java:115)
         at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:49)
         at oracle.jbo.common.JboInitialContext.<init>(JboInitialContext.java:63)
         at oracle.jbo.server.InitialContextImpl.<init>(InitialContextImpl.java:36)
         ... 22 more

    Jason -- please post BC4J messages to the JDeveloper forum. The BC4J folks monitor that area.
    cheers
    -steve-

  • Code works with Dreamweaver CS6 and not with CC

    <p><a href="javascript:void(0)" onclick="window.open('http://www.anything.comt', '', 'top=20,left=20,toolbar=0,statusbar=1,scrollbars=1,resizable=1')" title="title">name</a></p> works with Dreamweaver CS6 and not with CC
    [Edited Title and moved to Dreamweaver- JTS]

    I'm not quite sure I understand your point.
    I have just tested the Open Browser Window behavior in Dreamweaver CC. It creates slightly different code from Dreamweaver CS6, but it works correctly. This is what is created in the HTML:
    <p>my <a href="#" onClick="MM_openBrWindow('http://www.adobe.com/','mywindow','toolbar=yes,location=yes,status=yes,menubar=yes,scrollb ars=yes,resizable=yes')">link</a>
    </p>
    Dreamweaver CC also adds the following code to the <head> of the page:
    <script type="text/javascript">
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    </script>
    The definition of the MM_openBrWindow() function is needed in the <head> for the code to work. But it definitely works OK.
    With regard to _self and _blank not working, I can't find any problem with the way Dreamweaver CC handles them.
    However, if you feel happier working with Dreamweaver CS6, you can download it from the following page:
    https://creative.adobe.com/products/dreamweaver
    Open the drop-down menu under "In this version", and select Dreamweaver CS6 as shown in the following screenshot:
    With Dreamweaver CS6 selected, click the large Download button at the top-right of the page. You can then download CS6, and install it alongside Dreamweaver CC.

  • Just upgraded from a PC to a iMAC, will the PC code work with the Mac to install PSE12 ?

    I will be picking up my new iMAC tomorrow and would like to know if the serial number from my PC version of PSE 12 will work with the iMac ??  I am the original owner of PSE 12
    and I'd hate waste more money on something that I don't have to do... and i really can't afford to buy the new version of PSE...
    Please let me know ASAP.....
    thanks,
    WT(ted) Sommer
    [email protected]

    It depends on the type of your purchase.  If you bought the boxed version then it must have come with medias for PCs as well as MACs.  If this is so then YES your serial number will work with either systems.
    If, however, you bought a download version from Adobe website, or your boxed version did not come with both medias then the answer is NO.  the serial in this case won't work with MAC version.
    Hope this clarifies the current situation as known to us here.
    Good luck.

  • Can anyone get the SimpleVideoPlayer demo to work with 6u13?

    I have tried it on a Vista machine and a Windows Server 2003 machine both with Java 6 Update 13 and the result is the same:
    playing http://sun.edgeboss.net/download/sun/media/1460825906/1460825906_2956241001_big-buck-bunny-640x360.flv+
    Error with Media: MediaError: media unsupported:com.sun.media.jmc.MediaUnsupportedException: Unsupported media: http://sun.edgeboss.net/download/sun/media/1460825906/1460825906_2956241001_big-buck-bunny-640x360.flv+
    * mediaSourceURL=http://sun.edgeboss.net/download/sun/media/1460825906/1460825906_2956241001_big-buck-bunny-640x360.flv*
    Can anyone get this demo to actually work? If so, what's the secret?
    Thanks,
    The Gibbon

    Can someone please try it and let me know?
    This is the link:
    [http://javafx.com/samples/SimpleVideoPlayer/index.html]
    Thanks,
    The Gibbon

  • WL 51 sp12 - startConsole.sh didn't work with jdk1.3.1.03

    hi all,
    I'm newbis to SunOs 5-8, solaris 8. According to my client spec. I have installed evol version of WL 51 sp12, jdk1.3.1.03 and some of the required patches. Below are what I did on fewer testing to check whether I had successfully install WL 51.
    - I managed to start up the WL and access http://myserver:7001/index.html.
    - also managed to --> #java weblogic.Admin t3://localhost:7001 SHUTDOWN system password, VERSION and PING
    But I couldn't get this up, "startConsole.sh" The solaris's console prompted a list of message as below. Anyone know how to resolve this problem? Is this because of JDK1.3.1.03?
    Problem with constructor javax.swing.plaf.FontUIResource and args {Dialog,0,12} : and types {class java.lang.String,int,int} : java.lang.reflect.InvocationTargetException
    java.lang.Exception: Stack trace
    at java.lang.Thread.dumpStack(Thread.java:992)
    at javax.swing.UIDefaults$ProxyLazyValue.createValue(UIDefaults.java:658)
    at javax.swing.UIDefaults.get(UIDefaults.java:140)
    at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:41)
    at javax.swing.UIDefaults.getFont(UIDefaults.java:218)
    at javax.swing.UIManager.getFont(UIManager.java:451)
    at javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:85)
    at javax.swing.plaf.basic.BasicPanelUI.installDefaults(BasicPanelUI.java:46)
    at javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:37)
    at javax.swing.JComponent.setUI(JComponent.java:317)
    at javax.swing.JPanel.updateUI(JPanel.java:102)
    at javax.swing.JPanel.<init>(JPanel.java:62)
    at javax.swing.JPanel.<init>(JPanel.java:92)
    at javax.swing.JRootPane.createGlassPane(JRootPane.java:286)
    at javax.swing.JRootPane.<init>(JRootPane.java:193)
    at javax.swing.JApplet.createRootPane(JApplet.java:112)
    at javax.swing.JApplet.<init>(JApplet.java:105)
    at weblogic.admin.T3Cnsl.<init>(T3Cnsl.java:359)
    at weblogic.admin.T3Cnsl.doMain(T3Cnsl.java:189)
    at weblogic.admin.T3Cnsl.main(T3Cnsl.java:140)
    at weblogic.admin.ConsoleStarter.startup(ConsoleStarter.java:16)
    at weblogic.Console.main(Console.java:41)
    null
    java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:115)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:53)
    at java.awt.Font.initializeFont(Font.java:259)
    at java.awt.Font.<init>(Font.java:293)
    at javax.swing.plaf.FontUIResource.<init>(FontUIResource.java:32)
    at com.sun.java.swing.plaf.motif.MotifLookAndFeel.initComponentDefaults(MotifLookAndFeel.java:180)
    at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:57)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:356)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:383)
    at weblogic.admin.T3Cnsl.constructorInit(T3Cnsl.java:386)
    at weblogic.admin.T3Cnsl.<init>(T3Cnsl.java:362)
    at weblogic.admin.T3Cnsl.doMain(T3Cnsl.java:189)
    at weblogic.admin.T3Cnsl.main(T3Cnsl.java:140)
    at weblogic.admin.ConsoleStarter.startup(ConsoleStarter.java:16)
    at weblogic.Console.main(Console.java:41)
    Thankyou,
    regards,
    elvis
    scjp
    [att1.html]

    Hi.
    JDK 1.3.1_03 isn't yet supported. Try using JDK 1.3.1_01 for both the
    server and the console - this should be the version that comes with
    WLS. Also make sure you have sp12 in the classpath for the console as
    well as the server. If you are still having problems running the
    console then you should open a case with support.
    elvis wrote:
    hi all, I'm newbis to SunOs 5-8, solaris 8. According to my client
    spec. I have installed evol version of WL 51 sp12, jdk1.3.1.03 and
    some of the required patches. Below are what I did on fewer testing to
    check whether I had successfully install WL 51. - I managed to
    start up the WL and access http://myserver:7001/index.html.- also
    managed to --> #java weblogic.Admin t3://localhost:7001 SHUTDOWN
    system password, VERSION and PING But I couldn't get this up,
    "startConsole.sh" The solaris's console prompted a list of message as
    below. Anyone know how to resolve this problem? Is this because of
    JDK1.3.1.03?Problem with constructor javax.swing.plaf.FontUIResource
    and args {Dialog,0,12} : and types {class java.lang.String,int,int} :
    java.lang.reflect.InvocationTargetException
    java.lang.Exception: Stack trace
    at java.lang.Thread.dumpStack(Thread.java:992)
    at
    javax.swing.UIDefaults$ProxyLazyValue.createValue(UIDefaults.java:658)
    at javax.swing.UIDefaults.get(UIDefaults.java:140)
    at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:41)
    at javax.swing.UIDefaults.getFont(UIDefaults.java:218)
    at javax.swing.UIManager.getFont(UIManager.java:451)
    at javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:85)
    at
    javax.swing.plaf.basic.BasicPanelUI.installDefaults(BasicPanelUI.java:46)
    at javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:37)
    at javax.swing.JComponent.setUI(JComponent.java:317)
    at javax.swing.JPanel.updateUI(JPanel.java:102)
    at javax.swing.JPanel.<init>(JPanel.java:62)
    at javax.swing.JPanel.<init>(JPanel.java:92)
    at javax.swing.JRootPane.createGlassPane(JRootPane.java:286)
    at javax.swing.JRootPane.<init>(JRootPane.java:193)
    at javax.swing.JApplet.createRootPane(JApplet.java:112)
    at javax.swing.JApplet.<init>(JApplet.java:105)
    at weblogic.admin.T3Cnsl.<init>(T3Cnsl.java:359)
    at weblogic.admin.T3Cnsl.doMain(T3Cnsl.java:189)
    at weblogic.admin.T3Cnsl.main(T3Cnsl.java:140)
    at weblogic.admin.ConsoleStarter.startup(ConsoleStarter.java:16)
    at weblogic.Console.main(Console.java:41)
    null
    java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:115)
    at
    java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:53)
    at java.awt.Font.initializeFont(Font.java:259)
    at java.awt.Font.<init>(Font.java:293)
    at javax.swing.plaf.FontUIResource.<init>(FontUIResource.java:32)
    at
    com.sun.java.swing.plaf.motif.MotifLookAndFeel.initComponentDefaults(MotifLookAndFeel.java:180)
    at
    javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:57)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:356)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:383)
    at weblogic.admin.T3Cnsl.constructorInit(T3Cnsl.java:386)
    at weblogic.admin.T3Cnsl.<init>(T3Cnsl.java:362)
    at weblogic.admin.T3Cnsl.doMain(T3Cnsl.java:189)
    at weblogic.admin.T3Cnsl.main(T3Cnsl.java:140)
    at weblogic.admin.ConsoleStarter.startup(ConsoleStarter.java:16)
    at weblogic.Console.main(Console.java:41)
    Thankyou,
    regards,elvisscjp--
    Michael Young
    Developer Relations Engineer
    BEA Support
    [att1.html]

  • How to make htis code work with select options???

    REPORT YTEST.
    TABLES: MARA,MARC,MARD,MBEW,MVKE,MAKT.
    DATA: BEGIN OF I_MARC OCCURS 0,
    MATNR LIKE MARC-MATNR,
    EKGRP LIKE MARC-EKGRP,
    PSTAT LIKE MARC-PSTAT,
    DISPO LIKE MARC-DISPO,
    BESKZ LIKE MARC-beskz,
    END OF I_MARC.
    DATA: BEGIN OF I_MARD OCCURS 0,
    MATNR LIKE MARD-MATNR,
    LGORT LIKE MARD-LGORT,
    ERSDA LIKE MARD-ERSDA,
    WERKS LIKE MARD-WERKS,
    END OF I_MARD.
    DATA: BEGIN OF I_MBEW OCCURS 0,
    MATNR LIKE MBEW-MATNR,
    BWKEY LIKE MBEW-BWKEY,
    PEINH LIKE MBEW-PEINH,
    END OF I_MBEW.
    DATA: BEGIN OF I_MARA OCCURS 0,
    MATNR LIKE MARA-MATNR,
    MTART LIKE MARA-MTART,
    MATKL LIKE MARA-MATKL,
    MEINS LIKE MARA-MEINS,
    MBRSH LIKE MARA-MBRSH,
    BSTME LIKE MARA-BSTME,
    END OF I_MARA.
    DATA: BEGIN OF I_MVKE OCCURS 0,
    MATNR LIKE MVKE-MATNR,
    VKORG LIKE MVKE-VKORG,
    VTWEG LIKE MVKE-VTWEG,
    VRKME LIKE MVKE-VRKME,
    KONDM LIKE MVKE-KONDM,
    END OF I_MVKE.
    DATA: BEGIN OF I_MAKT OCCURS 0,
    MATNR LIKE MAKT-MATNR,
    SPRAS LIKE MAKT-SPRAS,
    MAKTX LIKE MAKT-MAKTX,
    END OF I_MAKT.
    DATA: BEGIN OF I_OUT OCCURS 0,
    MATNR LIKE MARC-MATNR,
    MEINS LIKE MARA-MEINS,
    MBRSH LIKE MARA-MBRSH,
    MATKL LIKE MARA-MATKL,
    MTART LIKE MARA-MTART,
    BSTME LIKE MARA-BSTME,
    WERKS LIKE MARD-WERKS,
    EKGRP LIKE MARC-EKGRP,
    PSTAT LIKE MARC-PSTAT,
    DISPO LIKE MARC-DISPO,
    BESKZ LIKE MARC-BESKZ,
    LGORT LIKE MARD-LGORT,
    ERSDA LIKE MARD-ERSDA,
    BWKEY LIKE MBEW-BWKEY,
    PEINH LIKE MBEW-PEINH,
    VKORG LIKE MVKE-VKORG,
    VTWEG LIKE MVKE-VTWEG,
    VRKME LIKE MVKE-VRKME,
    KONDM LIKE MVKE-KONDM,
    SPRAS LIKE MAKT-SPRAS,
    MAKTX LIKE MAKT-MAKTX,
    END OF I_OUT.
    select-options: s_matnr for marc-matnr.
    SELECT MATNR EKGRP PSTAT DISPO BESKZ FROM MARC INTO
    CORRESPONDING FIELDS OF TABLE I_MARC where matnr in s_matnr.
    SELECT MATNR MTART MATKL MEINS MBRSH BSTME FROM MARA INTO
    CORRESPONDING FIELDS OF
    TABLE I_MARA FOR ALL ENTRIES IN I_MARC
    WHERE MATNR EQ I_MARC-MATNR.
    SELECT MATNR SPRAS MAKTX FROM MAKT INTO
    CORRESPONDING FIELDS OF TABLE I_MAKT
    FOR ALL ENTRIES IN I_MARC
    WHERE MATNR = I_MARC-MATNR.
    SELECT MATNR LGORT ERSDA WERKS FROM MARD INTO
    CORRESPONDING FIELDS OF TABLE
    I_MARD FOR ALL ENTRIES IN I_MAKT
    WHERE MATNR = I_MAKT-MATNR.
    SELECT MATNR BWKEY PEINH FROM MBEW INTO
    TABLE I_MBEW
    FOR ALL ENTRIES IN I_MARD
    WHERE MATNR = I_MARD-MATNR.
    SELECT MATNR VKORG VTWEG VRKME KONDM FROM MVKE INTO
    TABLE I_MVKE
    FOR ALL ENTRIES IN I_MBEW
    WHERE MATNR = I_MBEW-MATNR.
    LOOP AT I_MARC.
    MOVE I_MARC-MATNR TO I_OUT-MATNR.
    MOVE I_MARC-EKGRP TO I_OUT-EKGRP.
    MOVE I_MARC-PSTAT TO I_OUT-PSTAT.
    MOVE I_MARC-DISPO TO I_OUT-DISPO.
    MOVE I_MARC-BESKZ TO I_OUT-BESKZ.
    READ TABLE I_MARA WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MARA-MTART TO I_OUT-MTART.
    MOVE I_MARA-MBRSH TO I_OUT-MBRSH.
    MOVE I_MARA-MEINS TO I_OUT-MEINS.
    MOVE I_MARA-MATKL TO I_OUT-MATKL.
    MOVE I_MARA-BSTME TO I_OUT-BSTME.
    READ TABLE I_MAKT WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MAKT-SPRAS TO I_OUT-SPRAS.
    MOVE I_MAKT-MAKTX TO I_OUT-MAKTX.
    READ TABLE I_MARD WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MARD-LGORT TO I_OUT-LGORT.
    MOVE I_MARD-ERSDA TO I_OUT-ERSDA.
    MOVE I_MARD-WERKS TO I_OUT-WERKS.
    READ TABLE I_MBEW WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MBEW-BWKEY TO I_OUT-BWKEY.
    MOVE I_MBEW-PEINH TO I_OUT-PEINH.
    READ TABLE I_MVKE WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MVKE-VKORG TO I_OUT-VKORG.
    MOVE I_MVKE-VTWEG TO I_OUT-VTWEG.
    MOVE I_MVKE-VRKME TO I_OUT-VRKME.
    MOVE I_MVKE-KONDM TO I_OUT-KONDM.
    APPEND I_OUT.
    CLEAR I_OUT.
    ENDLOOP.
    Loop at i_out.
    write:/ i_out-MATNR,
    i_out-EKGRP,
    i_out-PSTAT,
    i_out-DISPO,
    i_out-BESKZ,
    i_out-LGORT,
    i_out-ERSDA ,
    i_out-WERKS,
    i_out-BWKEY,
    i_out-PEINH,
    i_out-MTART,
    i_out-MATKL,
    i_out-MEINS,
    i_out-MBRSH,
    i_out-BSTME,
    i_out-VKORG,
    i_out-VTWEG,
    i_out-VRKME,
    i_out-KONDM,
    i_out-SPRAS,
    i_out-MAKTX.
    endloop.
    regards,
    sriram

    REPORT YTEST.
    TABLES: MARA,MARC,MARD,MBEW,MVKE,MAKT.
    DATA: BEGIN OF I_MARC OCCURS 0,
    MATNR LIKE MARC-MATNR,
    EKGRP LIKE MARC-EKGRP,
    PSTAT LIKE MARC-PSTAT,
    DISPO LIKE MARC-DISPO,
    BESKZ LIKE MARC-beskz,
    END OF I_MARC.
    DATA: BEGIN OF I_MARD OCCURS 0,
    MATNR LIKE MARD-MATNR,
    LGORT LIKE MARD-LGORT,
    ERSDA LIKE MARD-ERSDA,
    WERKS LIKE MARD-WERKS,
    END OF I_MARD.
    DATA: BEGIN OF I_MBEW OCCURS 0,
    MATNR LIKE MBEW-MATNR,
    BWKEY LIKE MBEW-BWKEY,
    PEINH LIKE MBEW-PEINH,
    END OF I_MBEW.
    DATA: BEGIN OF I_MARA OCCURS 0,
    MATNR LIKE MARA-MATNR,
    MTART LIKE MARA-MTART,
    MATKL LIKE MARA-MATKL,
    MEINS LIKE MARA-MEINS,
    MBRSH LIKE MARA-MBRSH,
    BSTME LIKE MARA-BSTME,
    END OF I_MARA.
    DATA: BEGIN OF I_MVKE OCCURS 0,
    MATNR LIKE MVKE-MATNR,
    VKORG LIKE MVKE-VKORG,
    VTWEG LIKE MVKE-VTWEG,
    VRKME LIKE MVKE-VRKME,
    KONDM LIKE MVKE-KONDM,
    END OF I_MVKE.
    DATA: BEGIN OF I_MAKT OCCURS 0,
    MATNR LIKE MAKT-MATNR,
    SPRAS LIKE MAKT-SPRAS,
    MAKTX LIKE MAKT-MAKTX,
    END OF I_MAKT.
    DATA: BEGIN OF I_OUT OCCURS 0,
    MATNR LIKE MARC-MATNR,
    MEINS LIKE MARA-MEINS,
    MBRSH LIKE MARA-MBRSH,
    MATKL LIKE MARA-MATKL,
    MTART LIKE MARA-MTART,
    BSTME LIKE MARA-BSTME,
    WERKS LIKE MARD-WERKS,
    EKGRP LIKE MARC-EKGRP,
    PSTAT LIKE MARC-PSTAT,
    DISPO LIKE MARC-DISPO,
    BESKZ LIKE MARC-BESKZ,
    LGORT LIKE MARD-LGORT,
    ERSDA LIKE MARD-ERSDA,
    BWKEY LIKE MBEW-BWKEY,
    PEINH LIKE MBEW-PEINH,
    VKORG LIKE MVKE-VKORG,
    VTWEG LIKE MVKE-VTWEG,
    VRKME LIKE MVKE-VRKME,
    KONDM LIKE MVKE-KONDM,
    SPRAS LIKE MAKT-SPRAS,
    MAKTX LIKE MAKT-MAKTX,
    END OF I_OUT.
    select-options: s_matnr for marc-matnr.
    SELECT MATNR EKGRP PSTAT DISPO BESKZ FROM MARC INTO
    CORRESPONDING FIELDS OF TABLE I_MARC where matnr in s_matnr.
    if i_marc[] is not initial.
    SELECT MATNR MTART MATKL MEINS MBRSH BSTME FROM MARA INTO
    CORRESPONDING FIELDS OF
    TABLE I_MARA FOR ALL ENTRIES IN I_MARC
    WHERE MATNR EQ I_MARC-MATNR.
    SELECT MATNR SPRAS MAKTX FROM MAKT INTO
    CORRESPONDING FIELDS OF TABLE I_MAKT
    FOR ALL ENTRIES IN I_MARC
    WHERE MATNR = I_MARC-MATNR.
    endif.
    if i_makt[] is not initial.
    SELECT MATNR LGORT ERSDA WERKS FROM MARD INTO
    CORRESPONDING FIELDS OF TABLE
    I_MARD FOR ALL ENTRIES IN I_MAKT
    WHERE MATNR = I_MAKT-MATNR.
    endif.
    if i_mard[] is not initial.
    SELECT MATNR BWKEY PEINH FROM MBEW INTO
    TABLE I_MBEW
    FOR ALL ENTRIES IN I_MARD
    WHERE MATNR = I_MARD-MATNR.
    endif.
    if i_mbew[] is not initial.
    SELECT MATNR VKORG VTWEG VRKME KONDM FROM MVKE INTO
    TABLE I_MVKE
    FOR ALL ENTRIES IN I_MBEW
    WHERE MATNR = I_MBEW-MATNR.
    endif.
    LOOP AT I_MARC.
    MOVE I_MARC-MATNR TO I_OUT-MATNR.
    MOVE I_MARC-EKGRP TO I_OUT-EKGRP.
    MOVE I_MARC-PSTAT TO I_OUT-PSTAT.
    MOVE I_MARC-DISPO TO I_OUT-DISPO.
    MOVE I_MARC-BESKZ TO I_OUT-BESKZ.
    READ TABLE I_MARA WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MARA-MTART TO I_OUT-MTART.
    MOVE I_MARA-MBRSH TO I_OUT-MBRSH.
    MOVE I_MARA-MEINS TO I_OUT-MEINS.
    MOVE I_MARA-MATKL TO I_OUT-MATKL.
    MOVE I_MARA-BSTME TO I_OUT-BSTME.
    READ TABLE I_MAKT WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MAKT-SPRAS TO I_OUT-SPRAS.
    MOVE I_MAKT-MAKTX TO I_OUT-MAKTX.
    READ TABLE I_MARD WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MARD-LGORT TO I_OUT-LGORT.
    MOVE I_MARD-ERSDA TO I_OUT-ERSDA.
    MOVE I_MARD-WERKS TO I_OUT-WERKS.
    READ TABLE I_MBEW WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MBEW-BWKEY TO I_OUT-BWKEY.
    MOVE I_MBEW-PEINH TO I_OUT-PEINH.
    READ TABLE I_MVKE WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MVKE-VKORG TO I_OUT-VKORG.
    MOVE I_MVKE-VTWEG TO I_OUT-VTWEG.
    MOVE I_MVKE-VRKME TO I_OUT-VRKME.
    MOVE I_MVKE-KONDM TO I_OUT-KONDM.
    APPEND I_OUT.
    CLEAR I_OUT.
    ENDLOOP.
    Loop at i_out.
    write:/ i_out-MATNR,
    i_out-EKGRP,
    i_out-PSTAT,
    i_out-DISPO,
    i_out-BESKZ,
    i_out-LGORT,
    i_out-ERSDA ,
    i_out-WERKS,
    i_out-BWKEY,
    i_out-PEINH,
    i_out-MTART,
    i_out-MATKL,
    i_out-MEINS,
    i_out-MBRSH,
    i_out-BSTME,
    i_out-VKORG,
    i_out-VTWEG,
    i_out-VRKME,
    i_out-KONDM,
    i_out-SPRAS,
    i_out-MAKTX.
    endloop.
    reward points to all helpful answers
    kiran.M

  • Login with jdk1.3 works,, but jdk1.2.2 doesn't work

    i'm using ifs1.0.8.1.0 with oracle 8.1.6.0.0
    i've written a standalone java code which connects to ifs and forms a librarysession..
    i was tryin with jdk1.2.2 , it doesn't work at all. it's givin an invalidname/credential error.
    i tried the same code with jdk1.3 it works..
    is ther any way of makin it work with jdk1.2.2??
    null

    iFS 1.0.x does NOT support JDK 1.2.2 or JDK 1.3 -- I'm surprized that it worked with JDK 1.3 at all.
    Please upgrade to iFS 1.1 where you will find full support for JDK 1.2.2 (which we have certified). It should work with JDK 1.3 as well, but we haven't certified with it.

  • PreparedStatement not working with Oracle

    Hi All,
    I am using preparedStatement in my JDBC code to fetch/insert values from oracle9i database.
    I am checking condition like if a given record does not exist then insert it else update it.
    First time it works when there is no row in database, however for subsequent run it's not able to return me the result though that row exist in database and this resulting in DuplicateKeyException becuase it try to create the row in db again.
    The code is working fine for MySQL DB2 and SQLServer but doesn't work in case oracle 9i
    Here is mycode
    //problem is here 1st time it works next time it is not retunring true though record is there in DB.
    if(isItemExist("1","CORP"))
    updateItem("1","CORP","DESC1");
    else
    insertItem("1","CORP","DESC1");
    public boolean isItemExist(String itemid, String storeid)
    String FIND_SQL = "SELECT item_desc from item where item_id = ? and store_id = ? ";          
    c = utils.getConnection();
    ps = c.prepareStatement();
    int i = 1;
    ps.setString(i++, storeid);
    ps.setString(i++, itemid);
    rs = ps.executeQuery();
    if(rs.next()){
         return true;
    utils.close(c, ps, rs);
    else{
         return false;
    utils.close(c, ps, rs);
    public void createItem(String itemid, String storeid, String item_desc)
    String INSERT_SQL = "INSERT INTO item(item_id,store_id,item_desc)values(?, ?, ?)";
    c = utils.getConnection();
    ps = c.prepareStatement();
    int i = 1;
    ps.setString(i++, itemid);
    ps.setString(i++, storeid);
    ps.setString(i++, item_desc);
    ps.executeUpdate();
    utils.close(c, ps, null);
    public void updateItem(String itemid, String storeid, String item_desc)
    String INSERT_SQL = "UPDATE item SET item_desc = ?, store_id=? WHERE item_id = ?";
    c = utils.getConnection();
    ps = c.prepareStatement();
    int i = 1;
    ps.setString(i++, item_desc);
    ps.setString(i++, storeid);
    ps.setString(i++, itemid);
    ps.executeUpdate();
    utils.close(c, ps, null);
    Kindly suggest what's wrong with code. because same code works with other databse like SQL Server, MySQL but it is not working with oracle9i.

    if(isItemExist("1","CORP"))
    updateItem("1","CORP","DESC1");
    else
    insertItem("1","CORP","DESC1");
    String FIND_SQL = "SELECT item_desc from item where item_id = ? and store_id = ? ";
    ps.setString(i++, storeid);
    ps.setString(i++, itemid);
    String INSERT_SQL = "INSERT INTO item(item_id,store_id,item_desc)values(?, ?, ?)";
    ps.setString(i++, itemid);
    ps.setString(i++, storeid);
    ps.setString(i++, item_desc);
    String INSERT_SQL = "UPDATE item SET item_desc = ?, store_id=? WHERE item_id = ?";
    ps.setString(i++, item_desc);
    ps.setString(i++, storeid);
    ps.setString(i++, itemid);My first guess, looking at the above snippets, would be that the item_id field is a number and not a string and so you should be calling ps.setInt instead of ps.setString when setting that parameter.
    This is only a guess, however, since you have not posted what the actual error is, which will probably give a hint to what the actual error is.

  • ForeignKeyDeleteAction=null not working with Kodo 4.1.2 and Mysql 5

    Hello,
    i am trying to use Kodo 4.1.2, together with mysql 5.0
    my kodo.properties says:
    openjpa.jdbc.MappingDefaults: jdo(ForeignKeyDeleteAction=null)
    and i am expecting an sql-statement something like:
    ALTER TABLE mytable ADD FOREIGN KEY (bar) REFERENCES othertable(foo) ON DELETE SET NULL;
    but all i got is:
    ALTER TABLE mytable ADD FOREIGN KEY (bar) REFERENCES othertable(foo);
    Kodo 4.0 didn't have any problems with that. Also, in Kodo 4.1.2 other ForeignKeyDeleteActions (like 'cascade' oder 'default') are working like expected.
    What am i doing wrong? Where can i find some upgrade instructions? Is this a bug?
    Thanks in advance,
    Markus

    If the same exact app and code works with 4.0 with the same ForeignKeyDeleteAction setting, I suggest that you open a case with support.
    This property hasn't changed since 4.0
    http://e-docs.bea.com/kodo/docs41/full/html/ref_guide_mapping_defaults.html
    Laurent

  • Clob mapping not working with mysql

    Hi,
    I have an application that i'm running with MySQL and Oracle at the same
    time. At some point, i need to use a 'clob' mapping. When i do this, it
    just works fine with oracle but it fails with mysql. i have the exception:
    Field "com.ennov.prisma.api.document.jdo.AbstractDocumentPO.description"
    is mapped as a clob, but should be represented as a different mapping.
    If the field is a string and you would like to force it to map as a
    clob, add an extension to its field metadata with a key of "jdbc-size"
    and a value of
    -1.[com.ennov.prisma.api.document.jdo.AbstractDocumentPO.description]
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:132)
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:118)
         at
    kodo.jdbc.meta.ClobFieldMapping.fromMappingInfo(ClobFieldMapping.java:46)
    if i use a value mapping, it works with MySQL but fails with Oracle (I
    have sql error because a clob is used in a distinct select).
    In the manual, it is written "Note that some databases can support
    string of unlimited length without using a CLOB; when this is the case
    the mapping tool will install a value mapping in favor of
    this mapping.". So apparently, this is not the case with MySQLDictionary.
    To solve my problem and have my code working with both databases, i had
    to extend the MySQLDictionary and overwrite the replaceFieldMapping
    method in order to replace the clob mapping by a value mapping at
    runtime but i don't feel confident to do this kind of modifications by
    mysel and would expect this behaviour to be solved quite soon.
    Thanks for your help since this problem is urgent for us,
    Laurent Czinczenheim

    Laurent-
    The best solution would probably be to just have separate mappings for
    the MySQL and Oracle databases. The easiest way to accomplish this would
    be to have a separate setting for each of the databases. E.g.:
    kodo.jdbc.meta.MappingFactory: file(SingleFile=true, FileName=oracle.mapping)
    kodo.jdbc.meta.MappingFactory: file(SingleFile=true, FileName=mysql.mapping)
    That way, you can use a clob mapping for Oracle, and a normal value
    mapping for MySQL (since MySQL doesn't need to use the CLOB mapping, and
    it isn't very efficient).
    For more details on this, see:
    http://docs.solarmetric.com/manual.html#ref_guide_mapping_factory
    Another solution is to just stick with your custom extension of the
    MySQLDictionary, which is a perfectly valid way of having special CLOB
    handling in MySQL. Note, though, that CLOB handling is less efficient
    than VARCHAR handling, so it should be a mapping of last resort, and
    there isn't any need to use it in MySQL.
    In article <[email protected]>, czinczenheim wrote:
    Hi,
    I have an application that i'm running with MySQL and Oracle at the same
    time. At some point, i need to use a 'clob' mapping. When i do this, it
    just works fine with oracle but it fails with mysql. i have the exception:
    Field "com.ennov.prisma.api.document.jdo.AbstractDocumentPO.description"
    is mapped as a clob, but should be represented as a different mapping.
    If the field is a string and you would like to force it to map as a
    clob, add an extension to its field metadata with a key of "jdbc-size"
    and a value of
    -1.[com.ennov.prisma.api.document.jdo.AbstractDocumentPO.description]
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:132)
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:118)
         at
    kodo.jdbc.meta.ClobFieldMapping.fromMappingInfo(ClobFieldMapping.java:46)
    if i use a value mapping, it works with MySQL but fails with Oracle (I
    have sql error because a clob is used in a distinct select).
    In the manual, it is written "Note that some databases can support
    string of unlimited length without using a CLOB; when this is the case
    the mapping tool will install a value mapping in favor of
    this mapping.". So apparently, this is not the case with MySQLDictionary.
    To solve my problem and have my code working with both databases, i had
    to extend the MySQLDictionary and overwrite the replaceFieldMapping
    method in order to replace the clob mapping by a value mapping at
    runtime but i don't feel confident to do this kind of modifications by
    mysel and would expect this behaviour to be solved quite soon.
    Thanks for your help since this problem is urgent for us,
    Laurent Czinczenheim
    Marc Prud'hommeaux
    SolarMetric Inc.

Maybe you are looking for

  • Dev server the dispatcher is not getting start

    Dear all , We are facing problem in dev server the dispatcher is not getting started. Plese suggest The log file . trc file: "dev_w0", trc level: 1, release: "640" ACTIVE TRACE LEVEL           1 ACTIVE TRACE COMPONENTS      all, M B  B Mon Oct 05 08:

  • Mac Mini with OS X Tiger  can't connect to windows XP shared directory

    I recently upgrade my mac mini from OS X panther to tiger, after i upgrade, i can't connect to the shared directory on my PC. The internet is working correctly on the MAC. and before the upgrading, it works fine as well. the symptom is I click on fin

  • Reinstalling Acrobat 8 Pro from CS3 Design Premium, asking for Photoshop Elements 6 CD??

    Hi. I use a Macbook Pro with Leopard OS X version 10.5.8, 2.6 Ghz Intel Core Duo, $ GB 667 MHz DDR2 SDRAM. I use Adobe Creative Suite 3 Design Premium which came with Acrobat 8 Professional. Now, for a while I've been having issues updating Acrobat b

  • How to transfer photo from pc to iphone 5S

    Good morning, How can i transfer some of my photos from my pc to my iphone 5S?

  • Footer details in smartform

    I have to add a window in a smartform - which gives the total number of line items that i am printing using an internal table. The number of records should be printed at the end of the report - only once. Can anybody please tell me how to go about?