Java mapping help please

Hi all,
I need help with java code please.
My source is a csv file and target is multiple idocs.
Source file structure is as follows:
Header (field 1, field 2, ........ field 10)
Item 1a (field 1, field 2, field 3, .........    field 180)
Item 1b (field 1, field 2, field 3, .........    field 180)
Item 2a (field 1, field 2, field 3, .........    field 180)
Item 2b (field 1, field 2, field 3, .........    field 180)
Item na (field 1, field 2, field 3, .........    field 180)
Item nb (field 1, field 2, field 3, .........    field 180)
First line is header. Second is VAT line. Third is Price line for that VAT. Now VAT and Price lines repeat. There need not be VAT line for non-European countries. So a VAT line may or may not preceed a Price line.
For example: the lines can be like:
Header
VAT1
Price1
VAT2
Price2
Price3
1) Now, it should produce 3 idocs like:
Header, VAT1, Price1
Header, VAT2, Price2
Header, Price3
2) One idoc should be created per a pair of VAT and Price lines and they will be identified by a co-relation of a particular field. So first I have to sort all the lines based on this field value. Then I have to read the lines in pairs. If no Vat line, I should just read the Price item and produce an idoc.
Can you please help me with the java code for this?
Many thanks in advance.
Ramesh.

Many thanks Ram.
The reason for thinking to go for java mapping is that there is no keyfield for price line. The source file is a pipe delimited csv file. There is a keyfield for VAT line. The same field will be empty for the Price line. I am trying to ask them to at least provide a space for that field between the pipes for price line so that I can use in FCC. It looks like they can't modify the source file.
Any inputs please?
Regards.
Ramesh.

Similar Messages

  • Java mapping help

    i have a scenario  where i have to write a java mapping. (File to FIle scenario
    i  have to acess the File name  and do a RFC look up in java mapping.
    i have developed a  class  
    TestProg.java
    but in that i dont have  main method..    so i am unble to generate the * .class* file..  can any one tell me how to create that.?
    do i need to create a seperate class and create a main method inside that . and in that i need to calll  TestProg.java?
    The class
    TestProg.java
    has only one method void transform () , where i have written my logic.

    Hi Sam Kumar,
    Please check my response in these threads [Link1|Need help on guide of java mapping ] [Link2|Re: Read image file From JMS]
    Regards,
    Raghu_Vamsee

  • Java mapping help pls

    hi all,
    I've a source structure like this below in PI.
    <MAT>
    <doc type>pdf</doc type
    <subnumber>1234</subnumber>
    <id>45ABC<id>
    <matno>ABCD</matno>
    <filename>transaction1.pdf</filename>
    </MAT>
    target structure would be the same but one more field <filecontent> which is bytearray content such as content=[101, 115, 116, 13, 10, 84, 101, 115, 116, 13, 10, 84, 101, 115, 116, 13, 10, 84, 101, 115, 116, 13, 10, 13, 10, 84, 101, 115, 116, 13, 10, 84, 101, 115, 116, 13, 10, 13, 10, 84, 101, 115, 116, 13, 10, 13, 10, 84, 101, 115, 116, 13, 10, 84, 101, 115, 116, 13, 10]
    <MAT>
    <doc type>pdf</doc type
    <subnumber>1234</subnumber>
    <id>45ABC<id>
    <matno>ABCD</matno>
    <filename>transaction1.pdf</filename>
    <filecontent>bytearraycontent</filecontent
    </MAT>
    And target is HTTP post for posting the above attribute names and values in the body of HTML
    I am writing a java mapping program because I have to read the <filename> tag value from the incoming xml and read the file from PI server location and convert the file content to bytearray and also to map it to target structure for HTTP post. I am requesting help from java experts here in modifying the program according to this requirement. pls help
    package com.usahealth.mapping;
    import java.io.InputStream;
    import java.net.URL;
    import java.net.URLConnection;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NodeList;
    import com.sap.aii.mapping.api.AbstractTrace;
    import com.sap.aii.mapping.api.AbstractTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import com.sap.aii.mapping.api.TransformationInput;
    import com.sap.aii.mapping.api.TransformationOutput;
    public class ReadAttrMap extends AbstractTransformation {
      @Override
      public void transform(TransformationInput in, TransformationOutput out)
      throws StreamTransformationException {
      AbstractTrace trace = null;
      try {
      // Initialize Trace
      trace = getTrace();
      // Get Input Message as DOM
      DocumentBuilderFactory docBFactory = DocumentBuilderFactory
      .newInstance();
      docBFactory.setNamespaceAware(true);
      DocumentBuilder docBuilder = docBFactory.newDocumentBuilder();
      Document inDoc = docBuilder.parse(in.getInputPayload()
      .getInputStream());
      inDoc.getDocumentElement().normalize();
      // Read from PayLoad  - here is where I need help to read the filename - convert it to byte array and read other xml tag values and pass  to target structure for HTTP post. I am using HTTP receiver adapter for posting
      } catch (Exception e) {
      trace.addInfo(e.getMessage());
      throw new StreamTransformationException("Mapping Exception: "
      + e.getMessage(), e);
    thx
    mike

    Indrajit, thx again
    So I believe, the java mapping has to be changed to not pass MAT for create element
    // building the target structure   Element target = newdoc.createElement("MAT");  - I have to remove this
    newdoc.appendChild(target);  - have to remove this.   Element doctype = newdoc.createElement(root.getChildNodes().item(1)  will be changed to item(0)
      .getNodeName()); 
    And also to add the logic for  [    ]
    String data = "["; 
    if (fileArray != null) { 
    for (int i = 0; i < fileArray.length; i++) { 
    if data = "[";
    data = data + fileArray[i]; 
    else
    if (i < fileArray.length - 1) { 
    data = data + ","; 
    endif.
    data = data + "]";
    is this right?
    thx indrajit
    -mike

  • Simple java question, help please

    please help
    -i am just starting out in java and im havin an early problem. Im trying to run a small java script from a commant prompt but im getting the following error after i enter this command at my prompt
    c:\javatest>javac HelloARP.java
    javac is not as an internal or external command, operable program or batch file.
    when i enter
    c:\java -version
    i get the following message: registry key software\javasoft\java runtime enviornment\current version has value of 1.1 but 1.4 is requiured
    error: could not find java.dll
    error: could not find java 2 runtime enviornment
    -im sure this is a simple error on my part. all im trying to do is run my first lil program that i saved in notepad, its only 5 lines long. here is the lil test program im trying to execute
    class HelloARP {
    public static void main (String[] arguments) {
    System.out.println("What's good ARP?");
    - all responses and help are welcomed. Thank you ahead of time for anyone that can help me get started.

    Hi
    First of all uninstall your current JDK installation, if you can get to the registry delete the registry entries for the old version of java which was there on your machine.
    Now do a fresh install of your j2sdk1.4.1, make sure that you will install the JRE with the J2SDK1.4.1.
    Once you are done, set your classpath in autoexec.bat if you are using Windows 95/98
    or set your environment variables if you are using Win NT/2000/XP.
    If using solaris or other unix flavors see the included installation instructions provided.
    Let me if you face the same problem.
    Thanks
    Swaraj

  • I grab a null frame.  Can a Java genious help, please?

    Hello. I am a high school student working on a science fair project. Right now I am using JMF to grab a frame from my ATI TV Wonder USB. The code below accesses the TV Wonder but it seems like I get a null frame because I have put a if statement in the code and it says I have a null image there. Can someone please help me. Thank you in advance
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.text.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.media.*;
    import javax.media.format.*;
    import javax.media.util.*;
    import javax.media.control.*;
    import javax.media.protocol.*;
    import javax.media.control.FormatControl;
    public class Cell extends JApplet implements ActionListener{
         JLabel welcomeLabel;
         JTextArea output;
         JButton close;
         String display = "";
         String exit = "The video capture buffer has been terminated.";
         String problem = "";
         String videoDevice = "vfw:Microsoft WDM Image Capture (Win32):0";
         public static Player player = null;
         public Buffer buf = null;
         public Image img = null;
         public VideoFormat vf = null;
         public BufferToImage btoi = null;
         public MediaLocator ml = null;
         public CaptureDeviceInfo di = null;
         public void init()
              Container c = getContentPane();
              c.setLayout( new FlowLayout() );
              welcomeLabel = new JLabel("Welcome to Adam's Cell Analyzer");
              c.add(welcomeLabel);
              output = new JTextArea(6, 60);
              output.setFont( new Font("Courier", Font.PLAIN, 12) );
              c.add(output);
              close = new JButton("End Analyze Program");
              close.addActionListener(this);
              c.add(close);
              display = "Starting...\n\n";
              output.setText(display);
              di = CaptureDeviceManager.getDevice(videoDevice);
              ml = di.getLocator();
              try {
                   player = Manager.createRealizedPlayer(ml);
                   player.start();
                   Component comp;
              catch (Exception e) {
                   problem += "An Exception has occured.";
                   output.setText(problem);
              FrameGrabbingControl fgc = (FrameGrabbingControl)
                   player.getControl("javax.media.control.FrameGrabbingControl");
              buf = fgc.grabFrame();
              btoi = new BufferToImage((VideoFormat)buf.getFormat());
              img = btoi.createImage(buf);
              display += "The video capture card is currently working properly\n";
              display += "and is sending a video feed to the image buffer.\n\n";
              output.setText(display);
              if(img==null){
                   problem += "The frame is null.";
                   output.setText(problem);
              else
                   imageEnhancement(img);
         public void actionPerformed(ActionEvent e)
              output.setText(exit);
              player.close();
              player.deallocate();
         private void imageEnhancement(Image img)
         //Nothing now     
    }

    I decided to post my program on here because I remember how hard it was to get it to work, and I don't want people to go through the same problems... just don't use it to compete against me in the Intel Science and Engineering Fair and/or the Intel Science Talent Search ;-) then I'll be mad. Other than that, have fun!
    ~Adam Georgas
    import java.awt.*;
    import java.awt.Dimension;
    import java.awt.event.*;
    import java.awt.Image.*;
    import java.awt.image.renderable.*;
    import java.io.*;
    import java.text.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.media.*;
    import javax.media.format.*;
    import javax.media.format.VideoFormat;
    import javax.media.util.*;
    import javax.media.util.BufferToImage;
    import javax.media.control.*;
    import javax.media.protocol.*;
    import javax.media.control.FormatControl;
    public class Cell extends JApplet implements ActionListener{
         JLabel welcomeLabel;
         JTextArea output;
         JButton begin;
         JButton end;
         String display = "";
         String problem = "";
         String exit = "The video capture buffer has been terminated.";
         String videoDevice = "vfw:Microsoft WDM Image Capture (Win32):0";
         public static Player player = null;
         public Buffer buf = null;
         public MediaLocator ml = null;
         public CaptureDeviceInfo di = null;
         public BufferToImage btoi = null;
         public Image frameImage = null;
         public VideoFormat vf = null;
         public PlanarImage src = null;
         private ImageEncoder encoder = null;
    private JPEGEncodeParam encodeParam = null;
         int error = 0;
         public void init()
              Container c = getContentPane();
              c.setLayout( new FlowLayout() );
              welcomeLabel = new JLabel("Welcome to Adam's Cell Analyzer");
              c.add(welcomeLabel);
              output = new JTextArea(6, 60);
              output.setFont( new Font("Courier", Font.PLAIN, 12) );
              c.add(output);
              begin = new JButton("Begin Analyze Program");
              begin.addActionListener(this);
              c.add(begin);
              end = new JButton("End Analyze Program");
              end.addActionListener(this);
              c.add(end);
              di = CaptureDeviceManager.getDevice(videoDevice);
              ml = di.getLocator();
              try {
                   player = Manager.createRealizedPlayer(ml);
                   player.start();
              catch (Exception b) {
                   JOptionPane.showMessageDialog(this, b.toString(),
                        "An Exception has occured", JOptionPane.ERROR_MESSAGE);
              display = "Welcome\n\n";
              output.setText(display);
         public void actionPerformed(ActionEvent e)
              JComponent j = (JComponent) e.getSource();
              if (j == end){
                   player.close();
                   player.deallocate();
                   output.setText(exit);     
              if (j == begin){
                   display += "Starting...\n\n";
                   output.setText(display);
                   Control[] controls = player.getControls();
                   FrameGrabbingControl fgc = (FrameGrabbingControl)
                        player.getControl("javax.media.control.FrameGrabbingControl");
                   if (fgc == null) {
                        error = 1;
                        problem(error);
                   buf = fgc.grabFrame();
                   btoi = new BufferToImage((VideoFormat)buf.getFormat());
                   if (btoi == null){
                        error = 2;
                        problem(error);
                   VideoFormat format = (VideoFormat)buf.getFormat();
                   Dimension size = format.getSize();
                   if(format == null) {
                        error = 3;
                        problem(error);
                   frameImage = btoi.createImage(buf);               
                   if(frameImage == null) {
                        error = 4;
                        problem(error);
                   else{
                        display = "";
                        display = "The video system is working correctly and grabbing frames.\n\n";
                        output.setText(display);     
         public void imageEnhancement()
    //Top Secret :-)
         public void problem(int error)
              switch(error) {
              case 1:
                   JOptionPane.showMessageDialog(this, "The frame grabbing control is null.",
                        "A problem has occured", JOptionPane.ERROR_MESSAGE);
                   break;
              case 2:
                   JOptionPane.showMessageDialog(this, "The buffer to image conversion did not occur properly.",
                        "A problem has occured", JOptionPane.ERROR_MESSAGE);
                   break;
              case 3:
                   JOptionPane.showMessageDialog(this, "The image format queries did not occur properly.",
                        "A problem has occured", JOptionPane.ERROR_MESSAGE);
                   break;
              case 4:
                   JOptionPane.showMessageDialog(this, "The buffer to image did not occur properly.",
                        "A problem has occured", JOptionPane.ERROR_MESSAGE);
                   break;
              case 5:
                   JOptionPane.showMessageDialog(this, "Java AWT Image to JAI Image did not occur properly.",
                        "A problem has occured", JOptionPane.ERROR_MESSAGE);
                   break;
              default:
                   JOptionPane.showMessageDialog(this, "An unknown problem has occured.",
                        "A problem has occured", JOptionPane.ERROR_MESSAGE);
    }

  • Very simple java project (help please)

    Hello. For a project I have to somehow use MouseListener to make something. My idea was to have a rectangle in which a circle (hockey puck) follows the user's mouse and whenever the user places the circle into a certain area the count goes up by one (like a game of hockey). If someone could give me some idea as to where I should start it would be greatly appreciated.
    My thanks

    This is alwyas [a good place to start|http://java.sun.com/developer/onlineTraining/] when you don't have a clue what's going on, and here if you need specifics on MouseListener. And to get movement, then you'll probably want to look here.
    Once you have some code and specific questions, literally almost everyone on here will be willing to help you further along the way. When you post code, please use code tags.

  • Java crashes help please

    Hi I'm looking at a ADSL speed test website that used a java applet.
    I have the latest java release and I'm running XP Pro SP2
    Jave crashes and IE closes and i then have a file appear on my desktop with the following text:
    Any help would be great. Thanks
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x0804d0a9, pid=404, tid=3288
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_02-b06 mixed mode)
    # Problematic frame:
    # v ~RuntimeStub::resolve_virtual_call
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x03ff9c00): JavaThread "main" [_thread_in_Java, id=3288]
    siginfo: ExceptionCode=0xc0000092, ExceptionInformation=0x00000000 0x01b73ac4
    Registers:
    EAX=0xffffffff, EBX=0x000008c5, ECX=0x30317f18, EDX=0x3031a8d8
    ESP=0x01b73a58, EBP=0x01b73b68, ESI=0x30317f18, EDI=0x000008c5
    EIP=0x0804d0a9, EFLAGS=0x00010212
    Top of Stack: (sp=0x01b73a58)
    0x01b73a58: ffff1372 ffff4022 ffffffff 07f95df7
    0x01b73a68: 011c001b 01b73b40 ffff0023 f72053d1
    0x01b73a78: 884440e0 4b08f50c 48a8e6b0 00cce6b0
    0x01b73a88: 804f4049 00000080 00000002 00020000
    0x01b73a98: 00000000 b714e794 b714e788 0000f50c
    0x01b73aa8: 5be00000 4005c805 00000000 80000000
    0x01b73ab8: 00004002 00000000 3ffd8000 01b73b0c
    0x01b73ac8: 01b73b24 00000000 01b73b1c 00000000
    Instructions: (pc=0x0804d0a9)
    0x0804d099: 00 00 83 ec 6c dd 34 24 9b dd 24 24 dd 5c 24 6c
    0x0804d0a9: dd 5c 24 74 dd 5c 24 7c dd 9c 24 84 00 00 00 dd
    Stack: [0x01a80000,0x01b80000), sp=0x01b73a58, free space=974k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    v ~RuntimeStub::resolve_virtual_call
    J java.util.Properties$LineReader.readLine()I
    j java.util.Properties.load0(Ljava/util/Properties$LineReader;)V+7
    j java.util.Properties.load(Ljava/io/InputStream;)V+10
    j java.util.logging.LogManager.readConfiguration(Ljava/io/InputStream;)V+13
    j java.util.logging.LogManager.readConfiguration()V+181
    j java.util.logging.LogManager$2.run()Ljava/lang/Object;+4
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0a10f400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3496]
    0x0a10a400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1080]
    0x0a109400 JavaThread "Attach Listener" daemon [_thread_blocked, id=2996]
    0x0a108400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=588]
    0x0a0fa800 JavaThread "Finalizer" daemon [_thread_blocked, id=3044]
    0x0a0f6400 JavaThread "Reference Handler" daemon [_thread_blocked, id=1452]
    =>0x03ff9c00 JavaThread "main" [_thread_in_Java, id=3288]
    Other Threads:
    0x0a0f1800 VMThread [id=2560]
    0x0a110800 WatcherThread [id=384]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 960K, used 196K [0x302f0000, 0x303f0000, 0x30a50000)
    eden
    [error occurred during error reporting, step 190, id 0xc0000092]
    Dynamic libraries:
    0x00400000 - 0x0049b000      C:\Program Files\Internet Explorer\iexplore.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f5000      C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77f10000 - 0x77f57000      C:\WINDOWS\system32\GDI32.dll
    0x7e410000 - 0x7e4a0000      C:\WINDOWS\system32\USER32.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\msvcrt.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x7c9c0000 - 0x7d1d5000      C:\WINDOWS\system32\SHELL32.dll
    0x774e0000 - 0x7761d000      C:\WINDOWS\system32\ole32.dll
    0x42cf0000 - 0x42e14000      C:\WINDOWS\system32\urlmon.dll
    0x77120000 - 0x771ab000      C:\WINDOWS\system32\OLEAUT32.dll
    0x42990000 - 0x429d5000      C:\WINDOWS\system32\iertutil.dll
    0x77c00000 - 0x77c08000      C:\WINDOWS\system32\VERSION.dll
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.DLL
    0x629c0000 - 0x629c9000      C:\WINDOWS\system32\LPK.DLL
    0x74d90000 - 0x74dfb000      C:\WINDOWS\system32\USP10.dll
    0x10000000 - 0x10007000      C:\WINDOWS\system32\ASAPHook.dll
    0x773d0000 - 0x774d3000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    0x5d090000 - 0x5d12a000      C:\WINDOWS\system32\comctl32.dll
    0x42ef0000 - 0x434bb000      C:\WINDOWS\system32\IEFRAME.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x5ad70000 - 0x5ada8000      C:\WINDOWS\system32\UxTheme.dll
    0x74720000 - 0x7476b000      C:\WINDOWS\system32\MSCTF.dll
    0x20000000 - 0x202c5000      C:\WINDOWS\system32\xpsp2res.dll
    0x755c0000 - 0x755ee000      C:\WINDOWS\system32\msctfime.ime
    0x5dff0000 - 0x5e01f000      C:\WINDOWS\system32\IEUI.dll
    0x76380000 - 0x76385000      C:\WINDOWS\system32\MSIMG32.dll
    0x4ec50000 - 0x4edf3000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\gdiplus.dll
    0x47060000 - 0x47081000      C:\WINDOWS\system32\xmllite.dll
    0x77b40000 - 0x77b62000      C:\WINDOWS\system32\apphelp.dll
    0x76fd0000 - 0x7704f000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77050000 - 0x77115000      C:\WINDOWS\system32\COMRes.dll
    0x746f0000 - 0x7471a000      C:\WINDOWS\system32\msimtf.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x605d0000 - 0x605d9000      C:\WINDOWS\system32\mslbui.dll
    0x77a20000 - 0x77a74000      C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661d000      C:\WINDOWS\System32\CSCDLL.dll
    0x77920000 - 0x77a13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x6bd10000 - 0x6bd20000      C:\PROGRA~1\MICROS~2\Office12\msohevi.dll
    0x78130000 - 0x781cb000      C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.163_x-ww_681e29fb\MSVCR80.dll
    0x5c2c0000 - 0x5c300000      C:\WINDOWS\ime\sptip.dll
    0x74c80000 - 0x74cac000      C:\WINDOWS\system32\OLEACC.dll
    0x76080000 - 0x760e5000      C:\WINDOWS\system32\MSVCP60.dll
    0x01480000 - 0x01491000      C:\WINDOWS\IME\SPGRMR.DLL
    0x7d1e0000 - 0x7d49e000      C:\WINDOWS\system32\msi.dll
    0x014a0000 - 0x014fb000      C:\Program Files\Common Files\Microsoft Shared\INK\SKCHUI.DLL
    0x61930000 - 0x6197a000      C:\Program Files\Internet Explorer\ieproxy.dll
    0x75e90000 - 0x75f40000      C:\WINDOWS\system32\SXS.DLL
    0x42c10000 - 0x42cdf000      C:\WINDOWS\system32\WININET.dll
    0x01e00000 - 0x01e09000      C:\WINDOWS\system32\Normaliz.dll
    0x75cf0000 - 0x75d81000      C:\WINDOWS\system32\MLANG.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\ws2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x02fb0000 - 0x0332f000      c:\program files\google\googletoolbar2.dll
    0x77a80000 - 0x77b14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77b20000 - 0x77b32000      C:\WINDOWS\system32\MSASN1.dll
    0x76c90000 - 0x76cb8000      C:\WINDOWS\system32\imagehlp.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x76c30000 - 0x76c5e000      C:\WINDOWS\system32\WINTRUST.dll
    0x71ad0000 - 0x71ad9000      C:\WINDOWS\system32\WSOCK32.dll
    0x74980000 - 0x74a93000      C:\WINDOWS\system32\msxml3.dll
    0x59a60000 - 0x59b01000      C:\WINDOWS\system32\DBGHELP.DLL
    0x5b860000 - 0x5b8b4000      C:\WINDOWS\system32\netapi32.dll
    0x708f0000 - 0x70903000      C:\WINDOWS\system32\asycfilt.dll
    0x76990000 - 0x769b5000      C:\WINDOWS\system32\ntshrui.dll
    0x76b20000 - 0x76b31000      C:\WINDOWS\system32\ATL.DLL
    0x769c0000 - 0x76a73000      C:\WINDOWS\system32\USERENV.dll
    0x76ee0000 - 0x76f1c000      C:\WINDOWS\system32\RASAPI32.dll
    0x76e90000 - 0x76ea2000      C:\WINDOWS\system32\rasman.dll
    0x76eb0000 - 0x76edf000      C:\WINDOWS\system32\TAPI32.dll
    0x76e80000 - 0x76e8e000      C:\WINDOWS\system32\rtutils.dll
    0x71b20000 - 0x71b32000      C:\WINDOWS\system32\MPR.dll
    0x75f60000 - 0x75f67000      C:\WINDOWS\System32\drprov.dll
    0x71c10000 - 0x71c1e000      C:\WINDOWS\System32\ntlanman.dll
    0x71cd0000 - 0x71ce7000      C:\WINDOWS\System32\NETUI0.dll
    0x71c90000 - 0x71cd0000      C:\WINDOWS\System32\NETUI1.dll
    0x71c80000 - 0x71c87000      C:\WINDOWS\System32\NETRAP.dll
    0x71bf0000 - 0x71c03000      C:\WINDOWS\System32\SAMLIB.dll
    0x77c70000 - 0x77c93000      C:\WINDOWS\system32\msv1_0.dll
    0x76d60000 - 0x76d79000      C:\WINDOWS\system32\iphlpapi.dll
    0x75f70000 - 0x75f79000      C:\WINDOWS\System32\davclnt.dll
    0x10930000 - 0x10979000      C:\WINDOWS\system32\PortableDeviceApi.dll
    0x73ba0000 - 0x73bb3000      C:\WINDOWS\system32\sti.dll
    0x74ae0000 - 0x74ae7000      C:\WINDOWS\system32\CFGMGR32.dll
    0x722b0000 - 0x722b5000      C:\WINDOWS\system32\sensapi.dll
    0x03f10000 - 0x03f20000      C:\Program Files\Common Files\Adobe\Acrobat\ActiveX\AcroIEHelper.dll
    0x03f30000 - 0x03f4f000      C:\WINDOWS\system32\dla\tfswshx.dll
    0x03f50000 - 0x03f5f000      C:\WINDOWS\system32\tfswapi.dll
    0x03f60000 - 0x03f9b000      C:\WINDOWS\system32\dla\tfswcres.dll
    0x6d7c0000 - 0x6d839000      C:\Program Files\Java\jre1.6.0_02\bin\ssv.dll
    0x7c340000 - 0x7c396000      C:\Program Files\Java\jre1.6.0_02\bin\MSVCR71.dll
    0x29500000 - 0x29551000      C:\Program Files\Common Files\Microsoft Shared\Windows Live\WindowsLiveLogin.dll
    0x0ffd0000 - 0x0fff8000      C:\WINDOWS\system32\rsaenh.dll
    0x27500000 - 0x275c9000      C:\Program Files\Common Files\Microsoft Shared\Windows Live\msidcrl40.dll
    0x75e60000 - 0x75e73000      C:\WINDOWS\system32\cryptnet.dll
    0x76f60000 - 0x76f8c000      C:\WINDOWS\system32\WLDAP32.dll
    0x4d4f0000 - 0x4d548000      C:\WINDOWS\system32\WINHTTP.dll
    0x04780000 - 0x04790000      C:\Program Files\HPQ\IAM\Bin\ItIeAddIN.dll
    0x04790000 - 0x047f9000      C:\Program Files\HPQ\IAM\Bin\ItMsg.dll
    0x7c000000 - 0x7c054000      C:\WINDOWS\system32\MSVCR70.dll
    0x71a50000 - 0x71a8f000      C:\WINDOWS\system32\mswsock.dll
    0x662b0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINDOWS\System32\wshtcpip.dll
    0x71d40000 - 0x71d5c000      C:\WINDOWS\system32\actxprxy.dll
    0x76fc0000 - 0x76fc6000      C:\WINDOWS\system32\rasadhlp.dll
    0x76f20000 - 0x76f47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000      C:\WINDOWS\System32\winrnr.dll
    0x435d0000 - 0x43941000      C:\WINDOWS\system32\mshtml.dll
    0x746c0000 - 0x746e9000      C:\WINDOWS\system32\msls31.dll
    0x43560000 - 0x435c0000      C:\WINDOWS\system32\ieapfltr.dll
    0x77690000 - 0x776b1000      C:\WINDOWS\system32\NTMARTA.DLL
    0x050a0000 - 0x050f7000      C:\Program Files\HPQ\IAM\Bin\ItSSO.dll
    0x040e0000 - 0x04103000      C:\Program Files\HPQ\IAM\Bin\ItVCL.dll
    0x04b00000 - 0x04b08000      C:\Program Files\HPQ\IAM\Bin\ItRpc.dll
    0x04b60000 - 0x04b69000      C:\Program Files\HPQ\IAM\Bin\ItClient.dll
    0x63380000 - 0x633f8000      c:\windows\system32\jscript.dll
    0x58760000 - 0x58792000      C:\WINDOWS\system32\iepeers.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x42b90000 - 0x42c07000      C:\WINDOWS\system32\mshtmled.dll
    0x1b000000 - 0x1b00c000      C:\WINDOWS\system32\ImgUtil.dll
    0x1b060000 - 0x1b06e000      C:\WINDOWS\system32\pngfilt.dll
    0x05800000 - 0x0581c000      C:\Program Files\HPQ\IAM\Bin\Aswallet.dll
    0x42aa0000 - 0x42b12000      C:\WINDOWS\system32\msfeeds.dll
    0x061d0000 - 0x0622b000      C:\Program Files\Common Files\Adobe\Acrobat\ActiveX\PDFShell.dll
    0x72d20000 - 0x72d29000      C:\WINDOWS\system32\wdmaud.drv
    0x72d10000 - 0x72d18000      C:\WINDOWS\system32\msacm32.drv
    VM Arguments:
    jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\JRE16~2.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE16~2.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.6.0_02 -Djavaplugin.nodotversion=160_02 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE16~2.0_0 -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~1\Java\JRE16~2.0_0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\JRE16~2.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE16~2.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.6.0_02 -Djavaplugin.nodotversion=160_02 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE16~2.0_0
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    CLASSPATH=.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip
    PATH=C:\PROGRA~1\Java\JRE16~2.0_0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\HPQ\IAM\bin;C:\Program Files\QuickTime\QTSystem\;.
    USERNAME=hrowinski
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 8, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 13 stepping 8, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 1572208k(878116k free), swap 2204864k(1714828k free)
    vm_info: Java HotSpot(TM) Client VM (1.6.0_02-b06) for windows-x86, built on Jul 12 2007 01:16:14 by "java_re" with unknown MS VC++:1310

    Thanks for the help so far, but I still have a problem with my Merge Sort. The sort uses up all the program's memory and throws an "OutOfMemoryError".
    Here is the Merge Sort:
    //This is the merge sort and its methods!!!
         public void mergeSort()
              if(line.length<=1)
                   return;
                   int[] half1=new int[line.length/2];
                   int[] half2=new int[line.length-half1.length];
                   System.arraycopy(line, 0, half1, 0, half1.length);
                   System.arraycopy(line, half1.length, half2, 0, half2.length);
                   Sort s1=new Sort(half1);
                   Sort s2=new Sort(half2);
                   s1.mergeSort();
                   s2.mergeSort();
                   merge(half1, half2);
         public void merge(int[] a, int[] b)
              int first=0;
              int second=0;
              int c=0;
              while((first<a.length)&&(second<b.length))
                   if(a[first]<b[second])
                        line[c]=a[first];
                        first++;
                   else
                        line[c]= b[second];
                        second++;
                   c++;
              System.arraycopy(a, first, line, c, a.length-first);
              System.arraycopy(b, second, line, c, b.length-second);
         }

  • Java IO Help Please

    Hi,
    I am new to reading and writing varibles to a file from a GUI Application.
    What I am trying to do is make an object (that only contains some varibles) and have my main program take the object and write its varibles to a file (doesn't matter what type).
    Then I also want to be able to read the file and put the varibles to where they were. I really have no clue how to do this.
    Could you point me in the right direction of where to learn to do this?
    Code Samples and tutorials would be helpful
    Ryltar

    Depending on what you are trying to accomplish, you may be able to serialize the object:
    http://java.sun.com/docs/books/tutorial/essential/io/serializing.html

  • CS5 slideshow java script help please

    My slide show only plays thru once and I would like to have it run more than once..also I have only 8 images and would like to increase this... can someone lend a hand please..  here is the script, it was developed out of dreamweaver suite 8 but now I am in CS5:
    <script type="text/JavaScript">
    <!--
    function MM_timelinePlay(tmLnName, myID) { //v1.2
      //Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 Macromedia, Inc. All rights reserved.
      var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false ;
      if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time
      tmLn = document.MM_Time[tmLnName];
      if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID
      if (myID == tmLn.ID) { //if Im newest
        setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);
        fNew = ++tmLn.curFrame;
        for (i=0; i<tmLn.length; i++) {
          sprite = tmLn[i];
          if (sprite.charAt(0) == 's') {
            if (sprite.obj) {
              numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0];
              if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range
                keyFrm=1;
                for (j=0; j<sprite.values.length; j++) {
                  props = sprite.values[j];
                  if (numKeyFr != props.length) {
                    if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr];
                    else        sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];
                  } else {
                    while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++;
                    if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) {
                      if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1];
                      else        sprite.obj[props.prop2][props.prop] = props[keyFrm-1];
          } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value);
          if (fNew > tmLn.lastFrame) tmLn.ID = 0;
    function MM_initTimelines() { //v4.0
        //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
        var ns = navigator.appName == "Netscape";
        var ns4 = (ns && parseInt(navigator.appVersion) == 4);
        var ns5 = (ns && parseInt(navigator.appVersion) > 4);
        var macIE5 = (navigator.platform ? (navigator.platform == "MacPPC") : false) && (navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4);
        document.MM_Time = new Array(1);
        document.MM_Time[0] = new Array(1);
        document.MM_Time["myhat1"] = document.MM_Time[0];
        document.MM_Time[0].MM_Name = "myhat1";
        document.MM_Time[0].fps = 3;
        document.MM_Time[0][0] = new String("sprite");
        document.MM_Time[0][0].slot = 1;
        if (ns4)
            document.MM_Time[0][0].obj = document["Image1"];
        else if (ns5)
            document.MM_Time[0][0].obj = document.getElementById("Image1");
        else
            document.MM_Time[0][0].obj = document["Image1"];
        document.MM_Time[0][0].keyFrames = new Array(1, 17, 34, 54, 73, 92, 111, 130);
        document.MM_Time[0][0].values = new Array(1);
        document.MM_Time[0][0].values[0] = new Array("../Images/slideshow/1.jpg","../Images/slideshow/2.jpg","../Images/slides how/3.jpg","../Images/slideshow/4.jpg","../Images/slideshow/5.jpg","../Images/sl ideshow/6.jpg","../Images/slideshow/7.jpg","../Images/slideshow/8.jpg");
        document.MM_Time[0][0].values[0].prop = "src";
        document.MM_Time[0].lastFrame = 130;
        for (i=0; i<document.MM_Time.length; i++) {
            document.MM_Time[i].ID = null;
            document.MM_Time[i].curFrame = 0;
            document.MM_Time[i].delay = 1000/document.MM_Time[i].fps;
    //-->
    </script>

    gayathri_bna wrote:
    Im in a hurry. As a suggestion...find someone locally and pay them to fix your computer.
    This site is for programming java not for fixing computers.

  • JAVA RMI Help Please

    Hi
    I have an client
    - Client.java
    and two servers
    - ServerOneInterface.java
    - ServerOneImpl.java
    - ServerTwo1Interface.java
    - ServerTwoImpl.java
    The client can communicate with the servers fine, but how do i make the servers communicate with each other? What is the idea between making the servers communicate with each other?
    Thanks

    why not use the same concept and make each server behave as a client of the other...

  • Java Card-Help Please

    I work with J2SE 1.4.2 and I need to know if JAVA CARD KIT 2.2.1 can be
    used in this to developing aplications.
    I work with tool J2SE 1.4.2 and need to know if tool JAVA CARD KIT 2.2.1 can be used to develop applications in J2SE 1.4.2.
    Thanks

    What is Java Card Kit? Does it have a website? Have you looked it up there? Have you tried it?

  • Image Maps - Help Please

    Hi, I have been asked to make web buttons of a floorplan. hard to explain but I'll try.
    I have placed the floorplan in Illustrator CS. The rooms/suites are different shapes. Is there a way to create buttons so that each floor will change color as it is rolled over. I can easily create a button in GoLive etc. but the problem is I need the floorplan in the background in GoLive and then I need to have the different shaped floors change color when rolled over.
    Can I do this in Illustrator and then use in GoLive?
    Thanks

    > Is there a way to create buttons so that each floor will change color as
    > it is rolled over
    Not easily. The best/easiest way I know of would be to have each room's
    graphic as an isolated image in the color you want, with a transparent
    background. Then place this in a layer, positioned exactly over the entire
    floorplan graphic (you can't use a background image here since you want to
    apply hotspots to it). Then draw your hotspots on that floorplan graphic
    and have each hotspot show the associated room layer in such a way that it
    APPEARS that the room has changed colors. Make the mouseover event on the
    hotspot to show the layer, and the mouseout event on the image in the layer
    HIDE the layer.
    There are other ways that would be better, but not easier....
    Murray

  • Need help on guide of java mapping

    HI,
    I want to learn java mapping. I searched in blogs but I am not comfortable to understand. Can anyone explain me the step by step process.
    Thanks,
    Enivass

    Hi enivas,
    Having basic understanding about J2SE will be great help for you. Please check these links about Java Mapping step by step
    Implementing a Java Mapping in SAP PI /people/carlosivan.prietorubio/blog/2007/12/21/implementing-a-java-mapping-in-sap-pi
    XI Java Mapping Helper (DOM) /people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom
    Debugging Java Mappings using SAP Netweaver Developer Studio /people/christian.drumm/blog/2008/09/30/debugging-java-mappings-using-sap-netweaver-developer-studio
    Handling and Tracing Runtime Exceptions in Java Mapping /people/prasannakrishna.mynam/blog/2009/07/21/handling-and-tracing-runtime-exceptions-in-java-mapping
    SAP PI Java API has changed a lot from PI7.0 to PI7.1. http://wiki.sdn.sap.com/wiki/display/XI/UsingPI7.1APIforJavamapping
    Check them out in this link Javadocs Index http://www.sdn.sap.com/irj/sdn/javadocs. Blogs mentioned use old API, but once you get idea about Java mapping switching to new API will be easy. Java help is easily available on net, use Google more. Happy learning.
    Regards,
    Raghu_Vamsee

  • Java Mapping. Pls help

    Hi,
    Question:
    1. What is java mapping.
    2. How I use java mapping/UDF in message mapping
        for my below scenario
    In my Request XML there are 2 fields.
    In my Response XML there are 2 fields.
    Field 1 of Request XML needs to be mapped directly to
    Field 1 of Response XML.
    Field 2 needs to be passed as paramter to java class and
    java class will be give response that will be mapped to
    Field 2 of Response XML.
    Pls advice . It is urgent.
    Regards

    Hi Rac,
    Java mapping can be used when you have complex mapping structures.
    We can do most of the times for our requirements through Graphical mapping.
    When the structures are very complex to build you can go for SAX (Simple API for XML) or DOM (Document Object Model) parsers.
    Message mapping internally generates DOM parser.
    Java Mapping in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+mapping&adv=false&sortby=cm_rnd_rankvalue#
    SAP Network Blog: Implementing a Java Mapping in SAP PI
    /people/carlosivan.prietorubio/blog/2007/12/21/implementing-a-java-mapping-in-sap-pi
    Java Mapping (SAP Library - Partner Connectivity Kit)
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
    SAP Network Blog: XI Java Mapping Helper (DOM)
    /people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom
    SAP Network Blog: Testing and Debugging Java Mapping
    /people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
    Binary Conversion in XI - Java Mapping - Code Gallery - Wiki
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/binary%2bconversion%2bin%2bxi%2b-%2bjava%2bmapping
    SAP Network Blog: "JAVA MAPPING", an alternate way of reading a CSV file
    /people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
    Thanks,
    Satya Kumar.
    Reward points if it is useful..

  • Help on Java Mapping

    Hi all,
    Plz suggest me any blogs on Java Mapping Concepts.
    Thank you.
    Regards
    Krishna.

    Hi
    check the following
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/javaMappingusingDOMParser&
    /people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom
    regards
    krishna

Maybe you are looking for

  • Distortion on real instruments

    I just downloaded iLife 05 and ever since I have done that I am experiencing unwanted distortion when I attempt to record my guitar. At first I thought the problem may be that my input jacks into my m-audio may be going out because that is the sound

  • Error 1 while building a DLL

    Hi, I have programmed some signal processing project libraries in LabVIEW and would like to use them in a VC++ program.  When building the DLL under LV 8.0, I get this error 1 message: Error 1 occurred at ABAPI Dist Define VI Prototype.vi -> ABAPI Di

  • Why is my new USB Superdrive not working?

    When I connect my new USB superdrive (external disc drive) to my iMac, it doesn't show on my list of devices in Finder or on the desktop.  I took it back to the store and it works on the store's iMacs. My eReader and USB memory stick both work. Is th

  • IE OK but not Firefox

    I get to the Web Printer in IE 8 (although it is hidden - no icon. On right side of browser toolbar I click on >> which shows a "hide" or "show" for HP Web print). The printing works OK here. But in Firefox 3.5, no icon appears on right side (and no

  • Problem with joined piece under Exchange

    I have two mail box one in Notes8.5 and a new one in Exchage 2010. When I receive a mail with a joined peice like a pdf when I want to use it by press it, in Notes no problem I can select the Application but under Exchange it's charged charged but no