Help with running DTPs in parallel

Hi,
I'm running the hjstory loads for Material Movements(2LIS_03_BF) in BI7.0. I'm running a delta DTP with get request flag checked. I've also defined 4 parallel processes for the load. My problem is the following :
1. Only one data packet at a time is getting processed. Its not processing packets in parallel. Is this normal behaviour, if not please let me where to look for rectifying the same.
2. What is the impact of running a Full DTP with filter criteria by posting date in parallel with the DTP already running.
Thanks,
Kedar

Hi Kedar,
We faced an issue where we noticed that even though there were Dialogs available, still the processes were waiting for a long time. Later, we found that the basis team had specified a setting and restricted the number of Dialogs being used by the loads (for the sake of not exhausting the dialogs incase someone wanted to go into the system for debugging something)
Not sure if you have a similar situation.
Thanks,
Ashish

Similar Messages

  • Help with running multiple threads

    I'm new to programming with threads. I want to know how to run
    multiple threads at the same time. Particularly for making games
    in Java which I'm also begining to learn. For running multiple
    threads at the same time, do you have to put two run() methods
    in the source? If not then how do you make two threads or more
    run at the same time?
    Thanks for helping.

    For running multiple
    threads at the same time, do you have to put two run()
    methods
    in the source? Hi there,
    Each thread is presumably performing a task. You may be performing the same task multiple times or be performing different tasks at once. Either way, each task would typically be contained within the run() method of a class. This class would either be a subclass of java.lang.Thread (extends Thread) or would be an implementation of java.lang.Runnable (implements Runnable). In either case, you would define a method with signature (public void run()...). The difference comes into play when you wish to actually perform one of these tasks. With a subclass of Thread, you would simply perform:
    new MyTask().start();
    With an implementation of Runnable, you would do this:
    new Thread(new MyTask()).start();
    This assumes you don't need to monitor the threads, won't be sending any messages to your tasks or any such thing. If that were the case, you would need to tuck away those returns to new MyTask() for later access.
    In order to launch two threads simultaneously, you would have something along the lines of:
    new MyTask().start();
    new MyOtherTask().start();
    Now it is perfectly possible that MyTask() would complete before MyOtherTask() managed to start in which case it wouldn't appear as if you had actually had multiple threads running, but for non-trivial tasks, the two will likely overlap. And of course, in a game, these tasks would likely be launched in response to user input, which means that you wouldn't have any control over when or in what order they executed.
    Anyhow, it's as simple as that. You should also consider following the Java Threading trail which shows a simple example of using multiple threads. You can find it at:
    http://java.sun.com/docs/books/tutorial/essential/threads/index.html
    Regards,
    Lynn

  • Help with running bonjour

    I can't get bonjour to run on my computer. I have tried uninstalling, installing the previous version and downloading bonjour for windows from apple.The service starts normally and is running but the IE plugin shows "bonjour service not available", running the printing wizard shows the same. I ran the dns-sd which shows
    c:\>dns-sd -V
    DNSServiceGetProperty failed -65537
    c:\>dns-sd -I
    Registering Service Test.testtxt.tcp.local.
    DNSService call failed -65537
    I have itunes 8 installed, haven't found the need to use bonjour before so would usually uninstall it. Don't know much about bonjour, tried searching the forums but couldn't come up with anything. Can anyone help with this?

    I get into the same situation consistently after switching the network connection from Ethernet LAN to Wireless LAN. The only fix I know of is to restart the PC.

  • Need Help with running expect script on MAC OS

    Hi Guys,
    I'm having an issue with running an expect script on my Mac Mini with Mac OS x 10.7.5. I think the script is correct but the not sure why its not working.
    The script is as below and also teh error from Xtern or terminal when i try to run it.
    #!/usr/bin/expect
    set telnetAddr "172.22.22.254"
    set telnetAddr1 "172.22.22.252"
    set username "ww"
    set passwords "ww"
    set enablepassword "ww"
    spawn  telnet $telnetAddr
    expect "Username: "
    send "username\r"
    expect "Password: "
    send "$passwords\r" 
    expect "Orange-ISRGW>"
    send "enable\r"
    expect "Password: "
    send "$enablepassword\r"
    expect "Orange-ISRGW#"
    send "sh flash\r"
    expect "Orange-ISRGW#"
    send "delete flash:c1140-k9w7-tar.default.JAR\r"
    expect "Delete flash:/c1140-k9w7-tar.default.JAR? [confirm]"
    send  "\r"
    expect "Orange-ISRGW#"
    send "exit/r"
    interact
    here is what happens when i try to run it. This is just a test script before i re-write it to do what i intened to use it for.
    sh-3.2# ls -al Text-Script.txt
    -rwxrwxrwx@ 1 root  wheel  592 Dec  6 08:36 Text-Script.txt
    sh-3.2# more Text-Script.txt
    #/!/usr/bin/expect -f
    set telnetAddr "172.22.22.254"
    set username "ww"
    set passwords "ww"
    set enablepassword "ww"
    spawn telnet $telnetAddr
    expect "Username: "
    send "username\r"
    expect "Password: "
    send "$passwords\r" 
    expect "Orange-ISRGW>"
    send "enable\r"
    expect "Password: "
    send "$enablepassword\r"
    expect "Orange-ISRGW#"
    send "term length 0\r"
    expect "Orange-ISRGW#"
    send "sh flash\r"
    expect "Orange-ISRGW#"
    send "delete flash:c1140-k9w7-tar.default.JAR\r"
    expect "Delete flash:/c1140-k9w7-tar.default.JAR? [confirm]"
    send  "\r"
    expect "Orange-ISRGW#"
    send "exit/r"
    sh-3.2#
    sh-3.2# pwd
    /usr/bin
    sh-3.2# Text-Script.txt
    /usr/bin/Text-Script.txt: line 8: spawn: command not found
    couldn't read file "Username: ": no such file or directory
    /usr/bin/Text-Script.txt: line 10: send: command not found
    ": no such file or directory:
    /usr/bin/Text-Script.txt: line 12: send: command not found
    ": no such file or directorySRGW>
    /usr/bin/Text-Script.txt: line 14: send: command not found
    couldn't read file "Password: ": no such file or directory
    /usr/bin/Text-Script.txt: line 16: send: command not found
    ": no such file or directorySRGW#
    /usr/bin/Text-Script.txt: line 18: send: command not found
    ": no such file or directorySRGW#
    /usr/bin/Text-Script.txt: line 20: send: command not found
    ": no such file or directorySRGW#
    /usr/bin/Text-Script.txt: line 22: send: command not found
    ": no such file or directorylash:/c1140-k9w7-tar.default.JAR? [confirm]
    /usr/bin/Text-Script.txt: line 24: send: command not found
    ": no such file or directorySRGW#
    /usr/bin/Text-Script.txt: line 26: send: command not found
    sh-3.2#
    sh-3.2#
    sh-3.2# ./Text-Script.txt
    ./Text-Script.txt: line 8: spawn: command not found
    couldn't read file "Username: ": no such file or directory
    ./Text-Script.txt: line 10: send: command not found
    ": no such file or directory:
    ./Text-Script.txt: line 12: send: command not found
    ": no such file or directorySRGW>
    ./Text-Script.txt: line 14: send: command not found
    couldn't read file "Password: ": no such file or directory
    ./Text-Script.txt: line 16: send: command not found
    ": no such file or directorySRGW#
    ./Text-Script.txt: line 18: send: command not found
    ": no such file or directorySRGW#
    ./Text-Script.txt: line 20: send: command not found
    ": no such file or directorySRGW#
    ./Text-Script.txt: line 22: send: command not found
    ": no such file or directorylash:/c1140-k9w7-tar.default.JAR? [confirm]
    ./Text-Script.txt: line 24: send: command not found
    ": no such file or directorySRGW#
    ./Text-Script.txt: line 26: send: command not found
    sh-3.2#

    Works like a Charm after making the change suggested ..
    macminiserver:ExpectScript Tola$ more Text-Script.txt
    #! /usr/bin/expect -f
    set telnetAddr "172.22.22.254"
    set username "ww"
    set passwords "ww"
    set enablepassword "ww"
    spawn telnet $telnetAddr
    expect "Username: "
    send "$username\r"
    expect "Password: "
    send "$passwords\r" 
    expect "Orange-ISRGW>"
    send "enable\r"
    expect "Password: "
    send "$enablepassword\r"
    expect "Orange-ISRGW#"
    send "term length 0\r"
    expect "Orange-ISRGW#"
    send "sh flash\r"
    expect "Orange-ISRGW#"
    send  "delete flash:c1140-k9w7-tar.default.JAR\r"
    send  "\r"
    expect "Orange-ISRGW#"
    send "sh flash\r"
    interact
    macminiserver:ExpectScript Tola$ ./Text-Script.txt
    spawn telnet 172.22.22.254
    Trying 172.22.22.254...
    Connected to 172.22.22.254.
    Escape character is '^]'.
    User Access Verification
    Username: ww
    Password:
    Orange-ISRGW>enable
    Password:
    Orange-ISRGW#term length 0
    Orange-ISRGW#sh flash
    -#- --length-- -----date/time------ path
    2         1440 Oct 24 2013 11:23:26 -07:00 vlan.dat
    3     63714548 May 3 2010 11:49:40 -07:00 c2800nm-adventerprisek9_ivs_li-mz.151-1.T.bin
    5     67871024 Nov 9 2012 19:05:24 -08:00 c2800nm-adventerprisek9-mz.151-4.M5.bin
    124751872 bytes available (131600384 bytes used)
    Orange-ISRGW#delete flash:c1140-k9w7-tar.default.JAR
    Delete flash:/c1140-k9w7-tar.default.JAR? [confirm]
    %Error deleting flash:/c1140-k9w7-tar.default.JAR (File not found)
    Orange-ISRGW#sh flash
    -#- --length-- -----date/time------ path
    2         1440 Oct 24 2013 11:23:26 -07:00 vlan.dat
    3     63714548 May 3 2010 11:49:40 -07:00 c2800nm-adventerprisek9_ivs_li-mz.151-1.T.bin
    5     67871024 Nov 9 2012 19:05:24 -08:00 c2800nm-adventerprisek9-mz.151-4.M5.bin
    124751872 bytes available (131600384 bytes used)
    Orange-ISRGW#

  • Need help with running a Java program on Linux

    I am trying to get a Java program to run on a Linux machine. The program is actually meant for a Mac computer. I want to see if someone with Java experience can help me determine what is causing the program to stall. I was successful in getting it installed on my Linux machine and to partially run.
    The program is an interface to a database. I get the login screen to appear, but then once I enter my information and hit enter the rest of the program never shows, however, it does appear to connect in the background.
    Here is the error when I launch the .jar file from the command screen:
    Exception in thread "main" java.lang.IllegalArgumentException: illegal component position
    at java.awt.Container.addImpl(Unknown Source)
    at java.awt.Container.add(Unknown Source)
    I am not a programmer and I am hoping this will make some sense to someone. Any help in resolving this is greatly appreciated!

    Well, without knowing a little bit about programming, and how to run your debugger, I don't think you're going to fix it. The IllegalArgumentException is saying that some call does not like what it's getting. So you'll have to go in an refactor at least that part of the code.

  • Help with running OS X 10.5 with a GMA X3100 video card

    I am trying to boot Mac OS X 10.5 on my iPod. I kept booting, and every time it came up with a kernel panic. I ran it in Verbose mode, and it said that the video card was not supported. The updaters said that my iPod didn't meet the requirements, which I think that Leopard needs to be succsessfully booted to be able to update. I need help booting into Leopard so I can do some things.
    Jack

    BGreg wrote:
    Mac OS X 10.5 can't run on an iPod. A MacBook, yes, an iPod no.
    I have been able to run Cheetah and Tiger on it. Also, the partition is Mac OS Extended (Jounaled) and the disk has the GUID Partition Table. The iPod is a 2nd gen "Touch Wheel" iPod, 20 GB. The HD on my MacBook is just about full, so what other way can I use Leopard without using an external drive?

  • Help with running PE 2.0 on computer with Windows Vista?

    I am having problems opening my older version 2 of photoshop elements after installing it on a laptop with Windows Vista.   It loads but freezes up when I try to open the program.  I do have the program loaded on a desk top system with XP and it runs just fine.  Can any one give me any suggestions to get PE to open on my laptop.  Thank you very much.
    MaryK.

    Thank you so very much.  It worked.  It was simple enough and  runs like a
    champ. 
    Mary
    In a message dated 8/9/2009 8:15:29 P.M. Central Daylight Time, 
    [email protected] writes:
    Some  people have reported success running older versions of PSE in XP
    compatibility  mode on Vista.  To do that, right-click the PSE 2 icon on your
    desktop or  Start Menu, select Properties, and on the Compatibility tab,
    select Run This  Program In Compatibility Mode For Windows XP. 
    To help  others, let us know if this  works.

  • Help with running windows os on macbook

    I have intuit for windows and wand to access those files on my macbook I was told I could by buying paralells for macbook but now I do not know what to do next any ideas?

    Your mileage may vary due to differences in Mac OS X system version in use.
    To search and compare notes may be of some help, also there is VM Fusion as an option, not sure what one may be better. Also, the amount of RAM installed in your computer and hard disk drive free space will make a difference in performance of either one, Parallels or Fusion.
    https://www.google.com/#q=Mac+OS+X+Parallels
    Or if you have a correct retail version of Windows, you could use Bootcamp to partition the Mac HDD so as to run a boot version of Windows, a second operating system. If you do that, then consider windows-grade AV protection software only for the windows system partition. Not needed in virtual system that would be running in a window within OS X.
    Since I have used neither virtualization, we can hope you will get more replies to the Parallels question.
    Good luck & happy computing!

  • Help with running Ant

    In a quest to teach myself all about Java Servlets, I'm currently working my way through The Java Web Services Tutorial. However, I have become stuck as I try the command:
    ant build
    I recieve this message:
    Exception in thread 'main' java.lang.NoClassDefFoundError: and
    I don't know what is wrong. I have been throught the setting up steps 3 times and cant find any errors.
    What tests can I do to isolate the error?
    I really need help on this, I can't continue with learning until ant is working.
    Thank-you,
    Paul
    PS. When I'm checking my PATH variables in XP, I find it very annoying. When editing them, I can only use the very small input box provided. Is there any other way to edit them?

    crostar:
    If you run "java" from the command line, it will use the first java.exe found on the %PATH% variable (win os). Double check that the java.exe doesn't exist earlier in the %PATH%. Also, I've made the mistake where my environment variables aren't up to date because I opened a command window and then changing environment variables via the control panel.
    AliaAtreides:
    You'll need to post the full exception in order for others to determine what might be wrong. More specifically, we need to see the exception in order to determine what class can't be found.
    Also, make sure to set the JAVA_HOME and JWSDP_HOME environment variables. please be careful to note that the examples that came with the java web services dev pack have ant build.xml files that depend upon the jswdp.home variable being set. You'll need to set the variable in either the control panel, or in a separate build.properties file.
    Oh, one more thing, veramkovich's example sets JAVA_HOME to point to 1.4.1 whereas i think you're previous posts implied that you had a different path, 1.3.1

  • Help with Running Averages and Graphs on Ipad3

    I am new to Mac, slowly learning but quickly falling in love with it.
    I need to keep track of our basketball teams free throw percentages for 5 team and for each kid. The coaches are asking for, made shots, missed shots, total attempts and their percentages and then an running average of their percentages.
    I created a spreadsheet for each team and seperate tabs for each kid (attached image) in Numbers on the ipad which will allow me to add their made and missed shots (=sumB2+C2). It then gives me the total of attempts and then gives me that percentage (=B2/D2) all good here.
    This is now what I am trying to see if I can do, I want to be able to just fill in the blank fields day to day or as they shoot and then have it just update the running average on the bottom without me having to adjust the cells to re-calculate.
    If I select cells E2 to E25 the error comes up Cell "E4" contains an error. I know it is cause no figures are entered in the row yet. Is there away around doing the percentage formula so it just shows blank in the row without the error show it will do the running total or a way to have it calculate the running total even with the error?
    Can I take the overall averages from each kids sheet and creat a graph on a seperate sheet just showing the overall averages?
    If so, will the graph automatically update as I update my numbers or will it have to be created again each time?
    Thanks for all the help.

    1) Welcome
    2) Empty cells return 0 (zero)
    3) anything divided by zero is infinite (and not legal, mathematically speaking)
    so you should wrap your formula in an iferror() function to screen errors out.  For the "Percentage" column you should do something like:
    E2=iferror(B2/D2, "")
    As long as B2/D2 is a valid result the iferror() passes the answer.  If, however, D2 = 0, then iferror() will "catch" the error and return "" this is an empty string.
    Charts do automatically update in Numbers.  I don't actuall have Numbers for an iOS device (you posted to the forum dedicated to Numbers on Mac OS X).
    The iWork for iOS forum is located here:
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • Help with running a stored procedure

    Hi, could anybody help me with debugging this stored procedure:
    extraction_date in varchar2
    as
    begin
    execute immediate '
         declare
         /* Output file handler */
         fileHandler UTL_FILE.FILE_TYPE;
         asset_id VARCHAR2(60) := '''';
    cursor c_table is
         SELECT "ASSET ID"
         FROM REUT_MAIN_BOND
         WHERE MATURITY > TO_DATE(' || extraction_date || ', "MM-DD-YYYY");
         row c_table%ROWTYPE;
    begin
    fileHandler := UTL_FILE.FOPEN(''TEMP'', ''northfielddescupdate.in'', ''w'',32000);
         for row in c_table
         loop
         asset_id := row.ASSET;
         UTL_FILE.PUTF(fileHandler, ''asset_id'', ''\n'');
    end loop;
         UTL_FILE.FCLOSE(fileHandler);
    end;';
    commit;     
    end;
    when I run it - SQL> exec create_in_file('08102004')
    it gives me the following errors:
    ERROR at line 1:
    ORA-06550: line 8, column 11:
    PL/SQL: ORA-06553: PLS-103: Encountered the symbol "CALL" when expecting one of
    the following:
    <an identifier> <a double-quoted delimited-identifier>
    ORA-06553: PLS-112: end-of-line in quoted identifier
    ORA-06550: line 7, column 2:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 6, column 8:
    PLS-00341: declaration of cursor 'C_TABLE' is incomplete or malformed
    ORA-06550: line 10, column 5:
    PL/SQL: Item ignored
    ORA-06550: line 15, column 14:
    PLS-00364: loop index variable 'ROW' use is invalid
    ORA-06550: line 15, column 2:
    PL/SQL: Statement ignored
    ORA-06512: at "PETAR_NORTHFIELD.CREATE_IN_FILE", line 6
    ORA-06512: at line 1
    Thank you for your help

    Q #1 (and possibly the only question) - why are you using NDS for this?

  • Help with running multiple instances of conky in openbox.

    A few days ago I installed openbox after uninstalling KDE- due to it being just to heavy on my old laptop. I have everything setup now apart from conky, which is actually setup (I have it customized it to my liking). But if i try to run all my conky's at startup- they either flicker alot if i have "own_window" set to "no". This enables me to click the desktop without the openbox menu being hidden under a  conky. But if i set it to "yes" it fixes the flickering issue, but then i cannot click on the desktop where the conky's are. And due to having a small screen, when opening the openbox menu it gets hidden by a conky window. I have searched the forums but i cannot seem to find an answer to this. If you know how to fix this please respond as quickly as possible...
    Thanks...
    Also i have another question, i have installed a gtk theme for my setup and all icons have changed. But because by default you don't have media folders eg. Documents, Pictures. I had to create them, so they have stayed as the default gtk theme icon for a folder. How would i go about making them use the documents icon etc.
    Last edited by matt101 (2010-09-04 16:16:19)

    I don't want to set own_window to yes unless there is a workaround for displaying the openbox menu over the top of conky when own_window is set to yes. Also double_buffer is already set to yes with the own_window set to no.
    EDIT: I can set own_window to no and there will be no flickering and i can click on the conky and it will bring up my openbox menu. But this only works with one instance of conky. If i run a second instance of conky it starts flickering and the amount of flickering increases the more instances of conky i'm running.
    Last edited by matt101 (2010-09-04 16:44:48)

  • Help with Run Time Error Please....

    I got this Run Time error when I tried to execute a Swing program I was trying to run and I was wondering if anyone could explain what it meant and how I could go about fixing the situation. The program ran with no problem when I executed it yesterday but this morning, It failed for some reason .
    My Classes name is GUIcheck.java
    Exception in thread "main" java.lang.UnsupportedClassVersionError: GUIcheck (Unsupported major.minor version 49.0)
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$100(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    I have posted the program below for your viewing ..
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class GUIcheck
        public static void main(String args[])
        JFrame.setDefaultLookAndFeelDecorated(true);
        JFrame frame = new JFrame ("Student Data Sheet");
        //Frame.setDefaultLookAndFeelDecorated(true);
       //Create the top panel.  This panel will use the grid layout and
       //will contain two labels (name and Social Security Number) and
       //two text boxes (nameTextField and ssTextField)
       JPanel topPanel = new JPanel(new GridLayout (2, 2, 5, 5));
       JLabel nameLabel = new JLabel ("Name:");
       topPanel.add(nameLabel);
       JTextField nameTextField = new JTextField(10);
       topPanel.add(nameTextField);
       JLabel ssLabel = new JLabel ("Social Security Number:");
       topPanel.add(ssLabel);
      JPasswordField ssTextField = new JPasswordField(10);
      topPanel.add(ssTextField);
      //Place the topPanel on the North side of the frame
      Container contentPane = frame.getContentPane();
      contentPane.add (topPanel, BorderLayout.NORTH);
      //Create the center panel.  It will be placed in the center of the
      //frame.  It will contain two sub panels.  One sub panel will contain
      //labels (Select sources of news and information and Classification).
      //The second sub panel will contain check boxes and radio buttons)
      JPanel centerPanel = new JPanel (new BorderLayout ());
      JPanel centerTopPanel = new JPanel (new GridLayout (1, 2, 5, 5));
      JLabel sourceLabel = new JLabel
                 ("Select sources of news and information");
      centerTopPanel.add (sourceLabel);
      JLabel classLabel = new JLabel ("Classification");
      centerTopPanel.add (classLabel);
      centerPanel.add (centerTopPanel, BorderLayout.NORTH);
      JPanel centerBottomPanel = new JPanel (new GridLayout (1, 2, 5, 5));
      JPanel checkBoxPanel = new JPanel (new GridLayout (3, 1, 5, 1));
      JCheckBox newspaperCheckBox = new JCheckBox ("Newspaper");
      checkBoxPanel.add (newspaperCheckBox);
    JCheckBox tvCheckBox = new JCheckBox ("TV");
    checkBoxPanel.add (tvCheckBox);
    JCheckBox friendsCheckBox = new JCheckBox ("Friends");
    checkBoxPanel.add (friendsCheckBox);
    centerBottomPanel.add (checkBoxPanel);
    JPanel radioButtonPanel = new JPanel (new GridLayout (4, 1, 5, 1));
    JRadioButton freshmanRadioButton = new JRadioButton ("Freshman");
    radioButtonPanel.add (freshmanRadioButton);
    JRadioButton sophomoreRadioButton = new JRadioButton ("Sophomore");
    radioButtonPanel.add (sophomoreRadioButton);
    JRadioButton juniorRadioButton = new JRadioButton ("Junior");
    radioButtonPanel.add (juniorRadioButton);
    JRadioButton seniorRadioButton = new JRadioButton ("Senior");
    radioButtonPanel.add (seniorRadioButton);
    centerBottomPanel.add (radioButtonPanel);
    centerPanel.add (centerBottomPanel, BorderLayout.SOUTH);
    contentPane.add (centerPanel, BorderLayout.CENTER);
    //creation of button group deleted
    //buttonPanel will contain buttons and will be placed at south side
    //of the frame
    JPanel buttonPanel = new JPanel(new GridLayout (1, 2, 5, 5));
    JButton submitButton = new JButton ("Submit");
    buttonPanel.add (submitButton);
    JButton exitButton = new JButton ("Exit");
    buttonPanel.add (exitButton);
    contentPane.add (buttonPanel, BorderLayout.SOUTH);
      }//end main
    }

    I do have the 1.5 at the moment and I still get the same error. I have removed other instances of JRE from my computer and retried but it still persists... What else can I do?
    Java Newbie

  • Help with running servlet with jakarta tomcat

    I had recently created a couple of java servlets and wanted to run them. I had put the .class files in Tomcat 4.1\webapps\Root\ then typed in http://localhost:8080/ then the servlet in the web browser. Here was the error page copied and pasted. If I put http://localhost:8080/servlet.class instead of http://localhost:8080/servlet I get a popup saying do I want to download the .class file. Theres probley a simple solution to this. Anyone know of any free hosts that will host servlets for free?
    HTTP Status 404 - /servlet
    type Status report
    message /servlet
    description The requested resource (/servlet) is not available.
    Apache Tomcat/4.1.18
    Thanks in advance
    George

    Hi I have the compiler jdk1.1.8 and wanted to upgrade my version. I downloaded the j2sdk1.4.1_01. I have the classpath set and everything. When I attempt to compile my java servlet it gives me an error but when I compile it with jdk1.1.8 it works.
    Isn't jakarta-tomcat-3.2.3 different compared the the one I have jakarta-tomcat4.1.18? Anyway thats what I read somewhere. The instructions you gave me do you think they are different because of us having different verions? I don't know if this is normal but whenever I startup my computer it just automaticly starts up tomcat server so when I put http://localhost:8080 it goes to the page saying I setup tomcat successfully. When I try to shutdown it doesn't do it.
    About the classpath. I thought i'm supposed to only put one path. So if I were to do that it would look like path set TOMCAT_HOME=C:\jdk1.1.8\Program Files\Apache Group\Tomcat 4.1 Thats how I would set it on my computer. I already installed and ran tomcat. I think your right I need to check the documentation correctly.
    Thanks in advance
    George

  • Help with running applet

    Hi all,
    I have wrote this simple code which takes the input from two textboxes and then when the button is pressed, it adds the contents of the two boxes and displays them in the third textfield.
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    public class Exercise extends Applet implements ActionListener
         private TextField inputA;
         private TextField inputB;
         private TextField output;
         private Button but1;
         public void init()
              inputA = new TextField(8);
              inputB = new TextField(8);
              but1 = new Button("Press To Add Values");
              add(but1);
              add(inputA);
              add(inputB);
              add(output);
              but1.addActionListener(this);
         public void actionPerformed(ActionEvent ae)
              int contentsOfA = Integer.parseInt(inputA.getText());
              int contentsOfB = Integer.parseInt(inputB.getText());
              int sum;
              if (ae.getSource()==but1)     
                   sum = (contentsOfA + contentsOfB);
                   output.setText(Integer.toString(sum));
    }It compiles fine, but it wont execute when i try run it.
    Also does anyone know where i can download the Microsoft Java VM?
    Thanks for your help
    Michael

    It compiles fine, but it wont execute when i try run
    it.What happens, then? Did you run it in appletviewer or your browser? Did you get an error message? If you run it in your browser, you should open the Java Console to view error messages.
    It looks like you never initialize the output Textfield so I think you are getting a NullPointerException.

Maybe you are looking for

  • I lost all the data from 3g to 4g for apps, utilities, games etc. How can I get it without starting all over again

    When I synced the new phone, it gave me the icons for all the Apps but when I went to get on one it said I had never been there, the syc/restore did not give me all the data. I got pictures, but everything else is as if I just started. HELP

  • OC4J crash

    We are using Oracle 9iAS enterprise Edition with OC4J. The version is 1.0.2.2.1 . When I run huge SQL query throgh java servlet agains Oracle Database, oc4j crashes with following error. Unexpected Signal : 10 occurred at PC=0xfe5892a8 Function name=

  • I bought a new camera - Its very nice, but you can not take any pictures

    Thats how I feel about Apple TV. I have talked to Apple support a couple of times about slideshows no longer work with settings from iPhoto. (Q-movie is NOT an option). The apple people tells me they never heard about the problem. I bought my ATV jus

  • OWB11r2 data chunking: cannot find package DBMS_APPLY

    Hi, I'm trying the new data chunking feature of owb11r2. I got it running with serial strategy. But when I switch to parallel strategy, the mapping does not compile. It tries to call the package DBMS_APPLY, but that cannot be found: DBMS_APPLY.INITIA

  • Calculate Set membership based on Group Membership

    I know this has been asked before, but I haven't really found a clear answer to the problem - so here's me re-igniting the fire! I want to calculate set membership based on group membership? So, I have a set called "My Set" - its members should be al