Runtime error when running sample program VS8, occi10

Please, help!
When running a sample program (VS2005 v8, oraocci10.lib, oraocci10.dll, both downloaded from the recommended Oracle site http://www.oracle.com/technology/tech/oci/occi/occidownloads.html for Oracle release 10.2.0.3.0 )
I receive the following runtime error:
R6034 An application has made an attempt to load the C runtime library incorrectly.
When I build the program with VS 7 or VS 7.1 libraries, I receive env->CreateConnection error

Hi,
Can you just give more explanation on what you are trying to do, like conditions.
Are doing first time init.
Reg
Pra

Similar Messages

  • Runtime error when running Authoware session in Vista

    Hi
    One of our users has reported to a error when running an
    authorware session in Vista:
    "I get the message when trying to open the session...
    It says:
    Authorware runtime does not work anymore.."
    Any ideas why this user is getting this problem?
    thanks
    Jon

    I can assure of one thing.. there is no such message anywhere
    in the
    product. You should get the actual message from your user and
    let us know
    what it is.
    Mike
    ====================
    Mike Baker
    Adobe Community Expert
    mike-baker at cox dot net
    "webacity" <[email protected]> wrote in
    message
    news:gfuorj$ebe$[email protected]..
    > Hi
    >
    > One of our users has reported to a error when running an
    authorware
    > session in
    > Vista:
    >
    > "I get the message when trying to open the session...
    >
    > It says:
    >
    > Authorware runtime does not work anymore.."
    >
    > Any ideas why this user is getting this problem?
    >
    > thanks
    > Jon
    >

  • Runtime Error, when running midlet.

    I can build the midlet without problems. This error occurs when the emultator starts the midlet. I can se the phone for a sec or two then i turns of and the error occurs in the console.
    I am using, j2me, eclipse, eclipseme, cldc1.1,mipd2.2.
    Running with storage root DefaultColorPhone
    java.lang.ClassNotFoundException
         at com.sun.midp.midlet.MIDletState.createMIDlet(+14)
         at com.sun.midp.midlet.Scheduler.schedule(+52)
         at com.sun.midp.main.Main.runLocalClass(+28)
         at com.sun.midp.main.Main.main(+116)
    Execution completed.
    705709 bytecodes executed
    5 thread switches
    739 classes in the system (including system classes)
    3582 dynamic objects allocated (97424 bytes)
    1 garbage collections (0 bytes collected)
    I am not sure about whats wrong. Isn't is supposed to be a class name the exception. like this.
    java.lang.ClassNotFoundException. xxxxxxxxxxxxx
    So i know in what class the exception occurs.??
    Anyhow, anyone that has any clue what could be wrong?
    Seems to be an error with the emulator not with the build priocess.
    I get the same error while triyng to run it with ktoolbar.
    thnx

    I can assure of one thing.. there is no such message anywhere
    in the
    product. You should get the actual message from your user and
    let us know
    what it is.
    Mike
    ====================
    Mike Baker
    Adobe Community Expert
    mike-baker at cox dot net
    "webacity" <[email protected]> wrote in
    message
    news:gfuorj$ebe$[email protected]..
    > Hi
    >
    > One of our users has reported to a error when running an
    authorware
    > session in
    > Vista:
    >
    > "I get the message when trying to open the session...
    >
    > It says:
    >
    > Authorware runtime does not work anymore.."
    >
    > Any ideas why this user is getting this problem?
    >
    > thanks
    > Jon
    >

  • It has an error when run a program in background job

    Dear Expert,
    we have a program
    when run it in background,it has a error "Error during import of clipboard contents" but when run it normally(run in front workbench se38 or run the t-code),everything is ok.i've used typingJDBG in the command box to debuge the background job,there has no error.
    whould you like to tell me what had happen? thanks a lot!
    addition: the program used a function ALSM_EXCEL_TO_INTERNAL_TABLE
    Thanks & Regards,
    Kerry
    Edited by: Kerry Wang on Aug 24, 2009 2:12 PM
    Edited by: Kerry Wang on Aug 24, 2009 2:14 PM
    Edited by: Kerry Wang on Aug 24, 2009 2:14 PM

    Hi,
      You cannot use FMs to get data directly from the presentation server when program is executed in the backgroud.
    Check the thread : GUI_DOWNLOAD
    Regards,
    Himanshu

  • Runtime error when running Init Infopack or delta infopack

    Dear All,
    I am getting following error when trying to init infopack
    Runtime Errors         MESSAGE_TYPE_X
    Message class....... "RSM"
    Number.............. 000
    Variable 1.......... " "
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... " "
    Program                                 SAPLRSS1
    Include                                 LRSS1F11
    Row                                     1,543
    Module type                             (FORM)
    Module Name                             RSM1_CHECK_FOR_DELTAUPD
    And this is happening only with one particular infopack of billing item extractor.
    Please help for the same.
    Regards,
    SS

    Hi,
    Can you just give more explanation on what you are trying to do, like conditions.
    Are doing first time init.
    Reg
    Pra

  • Error when running a program /RPM/FIN_PLAN_INT

    when executing the program "/RPM/FIN_PLAN_INT", I'm getting an error stating as "Category ID does not exist for item.Instantiate categories first"
    This error is hitting for only 4 Items in list of all 173 Item. Hence the Financial cost are not getting update for all the items when executing the program. The DB update failed.
    I checked the financial Category IDs and its maintained properly and working fine with other Items. Why this is happening for only the 4 items? Am I missing something in config?
    Please experts provide me some valuable suggesions.

    Hi;
    When you define and edit the mapping between the project management role function ID and the financial planning view, category, or group. You can also decide on whether the cost or revenue rate is to be considered for the financial information calculation.
    1. Execute report /RPM/PLAN_INT_PREP to create financial and capacity categories and groups for the bucket or the portfolio items based on the parameters mentioned in the selection screen.
    2. Execute report /RPM/FIN_PLAN_INT to perform the financial planning for a portfolio item for the different portfolio items based on the parameters mentioned in the selection screen.
    Prerequisite: For the portfolio item, you must have executed report /RPM/PLAN_INT_PREP before.
    3. Execute report /RPM/BUCKET_ROLLUP to roll up the financial data for the different categories and groups of the portfolio items to its higher-level buckets.
    Hope this help you.
    Best Regards.
    Mariano

  • Getting an error when running my program but it compiles.

    Hey guys, I'm having a problem running the program. Everything compiles correctly, but then I get the error code linked below. Everything I think is correct here. Any ideas? I posted CinReader as well in case you wanted to try compiling and running it yourself.
    Thanks
    public class TextShuffleLevel
         private String jumble;
         private String [] matchString;
         public TextShuffleLevel ()
              jumble = "dunops";
              matchString = new String[5];
              matchString[0] = new String("abound");
              matchString[1] = new String("bound");
              matchString[2] = new String("undo");
              matchString[3] = new String("band");
              matchString[4] = new String("bond");
         public TextShuffleLevel (int whichDefaultLevel)
              if (whichDefaultLevel == 1)
                   jumble = "dunops";
                   matchString = new String[5];
                   matchString[0] = new String("abound");
                   matchString[1] = new String("bound");
                   matchString[2] = new String("undo");
                   matchString[3] = new String("band");
                   matchString[4] = new String("bond");
              else if (whichDefaultLevel == 2)
                   jumble = "srcaso";
                   matchString = new String[11];
                   matchString[0] = new String("across");
                   matchString[1] = new String("crass");
                   matchString[2] = new String("cross");
                   matchString[3] = new String("scars");
                   matchString[4] = new String("soars");
                   matchString[5] = new String("arcs");
                   matchString[6] = new String("soar");
                   matchString[7] = new String("scar");
                   matchString[8] = new String("oars");
                   matchString[9] = new String("cars");
                   matchString[10] = new String("orcs");
              else
                   jumble = "eplcis";
                   matchString = new String[19];
                   matchString[0] = new String("splice");
                   matchString[1] = new String("spiel");
                   matchString[2] = new String("plies");
                   matchString[3] = new String("slice");
                   matchString[4] = new String("clips");
                   matchString[5] = new String("epics");
                   matchString[6] = new String("spice");
                   matchString[7] = new String("epic");
                   matchString[8] = new String("lice");
                   matchString[9] = new String("slip");
                   matchString[10] = new String("clip");
                   matchString[11] = new String("pile");
                   matchString[12] = new String("lisp");
                   matchString[13] = new String("pies");
                   matchString[14] = new String("isle");
                   matchString[15] = new String("lips");
                   matchString[16] = new String("lies");
                   matchString[17] = new String("ices");
                   matchString[18] = new String("pics");
         public TextShuffleLevel (String newJumble, String [] newMatchString)
              jumble = newJumble;
              matchString = newMatchString;
         /* This is the nasty one */
         public boolean findMatch (String matchTry)
              boolean foundMatch = false;
              for (int i=0; i<matchString.length; i++)
                   if (matchTry.equalsIgnoreCase(matchString))
                        foundMatch = true;
                        break;
              return foundMatch;
         public void setJumble (String newJumble)
              jumble = newJumble;
         public void setMatchStrings (String [] newMatchString)
              matchString = newMatchString;
         public String getJumble ()
              return jumble;
         public int getJumbleLength ()
              return jumble.length();
         public int getNumberOfMatches ()
              return matchString.length;
         public String[] getMatchString ()
              return matchString;
    public class TextShuffleGame
         private int playerLevel = 1; // start them on level 1
         private CinReader reader;
         private TextShuffleLevel l1;
         private TextShuffleLevel l2;
         private TextShuffleLevel l3;
         private TextShuffleLevel onTheFly;
         public TextShuffleGame ()
              reader = new CinReader();
              // Using Statically Set Levels
              l1 = new TextShuffleLevel(1);
              l2 = new TextShuffleLevel(2);
              l3 = new TextShuffleLevel(3);
              // this one allows for a 'custom' level
              String fly[] = {"tea","at", "ate"};
              onTheFly = new TextShuffleLevel("eta", fly);
         //Setup for levels
         public void go ()
              boolean quit = false;
              char choice = 'z';
              int lastLevel = 0;
              while (quit == false)
                   lastLevel = playerLevel;
                   if (playerLevel == 1)
                        play(l1);
                   else if (playerLevel == 2)
                        play(l2);
                   else if (playerLevel == 3)
                        play(l3);
                   else
                        play(onTheFly);
                   if (lastLevel == playerLevel)
                        System.out.print("Play the level again");
                   else
                        System.out.print("Play next level");
                   System.out.print("(y/n)? ");
                   choice = reader.readChar();
                   if (choice == 'N' || choice == 'n')
                        quit = true;
         //Playing each level the same
         public void play (TextShuffleLevel theLevel)
              int numGuesses = 0;
              int numCorrect = 0;
              String userString = "";
              System.out.println("What " + theLevel.getJumbleLength() + "-letter words can you get out of " +
                                                 theLevel.getJumble() + "?\n");
              while (numGuesses < 5 && numCorrect < theLevel.getNumberOfMatches())
                        System.out.print("Enter a string: ");
                        userString = reader.readString();
                        if (theLevel.findMatch(userString) == true)
                             System.out.println("Great! A match!");
                             numCorrect = numCorrect + 1;
                        else
                             System.out.println("Drat... not a match");
                             numGuesses = numGuesses + 1;
              if (numCorrect == theLevel.getNumberOfMatches())
                   System.out.println("Terrific! You are ready to try a harder jumble");
                   playerLevel = playerLevel + 1;
         /* FOR TESTING ONLY -- TO BE REMOVED FOR RELEASE */
         public static void main (String [] args)
              TextShuffleGame tsg = new TextShuffleGame();
              tsg.go();
    import java.io.*;
    import java.util.*;
    public class CinReader
         private static final int INT_MESSAGE = 0;
         private static final int DOUBLE_MESSAGE = 1;
         private static final int CHAR_MESSAGE = 2;
         private static final int STRING_MESSAGE = 3;
         private static final int BOOLEAN_MESSAGE = 4;
         private static final String DEFAULT_ERROR_MESSAGE = "Please reenter. ";
         private String prompt = "> ";
         private String [] errorMessages;
         public CinReader ()
              prompt = "> ";
              setDefaultMessages();
         public CinReader (String newPrompt)
              prompt = newPrompt;
              setDefaultMessages();
         public CinReader (String newPrompt, String [] newErrorMessages)
              prompt = newPrompt;
              if (newErrorMessages != null)
                   setErrorMessages(newErrorMessages);
              else
                   setDefaultMessages();
         public void setPrompt (String newPrompt)
              prompt = newPrompt;
         public void setErrorMessages (String [] newErrorMessages)
              if (newErrorMessages != null)
                   int diff = errorMessages.length - newErrorMessages.length;
                   // NEED A MINIMUM OF 5 ERROR MESSAGES TO AVOID ERRORS
                   if (diff > 0)
                        errorMessages = new String[5];
                        for (int i=0; i<5; i++)
                             if (i < newErrorMessages.length)
                                  errorMessages[i] = new String(newErrorMessages);
                             else
                                  errorMessages[i] = new String(DEFAULT_ERROR_MESSAGE);
                   else
                        errorMessages = newErrorMessages;
         public void setErrorMessage (int idx, String msg)
              if (idx >= 0 && idx < errorMessages.length)
                   errorMessages[idx] = msg;
         public void setErrorMessageString (String msg)
              errorMessages[STRING_MESSAGE] = msg;
         public void setErrorMessageInt (String msg)
              errorMessages[INT_MESSAGE] = msg;
         public void setErrorMessageDouble (String msg)
              errorMessages[DOUBLE_MESSAGE] = msg;
         public void setErrorMessageChar (String msg)
              errorMessages[CHAR_MESSAGE] = msg;
         public void setErrorMessageBoolean (String msg)
              errorMessages[BOOLEAN_MESSAGE] = msg;
         public String readString()
              char theChar = 'x';
              String result = "";
              boolean done = false;
              while (!done)
                   theChar = nextChar();
                   if (theChar == '\n')
                        done = true;
                   else if (theChar == '\r'){}
                   else
                        result = result + theChar;
              return result;
         public String readString (boolean allowEmpty)
              String result = readString();
              if (!allowEmpty)
                   while (result.length() == 0)
                        System.out.println("Empty input not allowed. " + errorMessages[STRING_MESSAGE]);
                        System.out.print(prompt);
                        result = readString();
              return result;
         public String readString (int charLimit)
              String result = readString();
              if (result.length() > charLimit)
                   result = result.substring(0, charLimit);
              return result;
         public String readString (boolean allowEmpty, int charLimit)
              String result = readString(allowEmpty);
              if (result.length() > charLimit)
                   result = result.substring(0, charLimit);
              return result;
         public int readInt()
              String inputString = "";
              int number = 0;
              boolean done = false;
              while (!done)
                   try
                        inputString = readString();
                        inputString = inputString.trim();
                        number = (Integer.valueOf(inputString).intValue());
                        done = true;
                   catch (NumberFormatException e)
                        System.out.println("Input is not an integer. " + errorMessages[INT_MESSAGE]);
                        System.out.print(prompt);
              return number;
         public int readInt(int min, int max)
              String inputString = "";
              int number = 0;
              boolean done = false;
              while (!done)
                   try
                        inputString = readString();
                        inputString = inputString.trim();
                        number = (Integer.valueOf(inputString).intValue());
                        if (number < min || number > max)
                             System.out.println("Please enter an integer between " + min + " and " + max);
                        else
                             done = true;
                   catch (NumberFormatException e)
                        System.out.println("Input is not an integer. " + errorMessages[INT_MESSAGE]);
                        System.out.print(prompt);
              return number;
         public double readDouble()
              String inputString = "";
              double number = 0;
              boolean done = false;
              while (!done)
                   try
                        inputString = readString();
                        inputString = inputString.trim();
                        number = (Double.valueOf(inputString).doubleValue());
                        done = true;
                   catch (NumberFormatException e)
                        System.out.println("Input is not an integer. " + errorMessages[DOUBLE_MESSAGE]);
                        System.out.print(prompt);
              return number;
         public char readChar()
              boolean done = false;
              String inputString = "";
              char nonWhite = 'x';
              while (!done)
                   inputString = readString();
                   inputString = inputString.trim();
                   if (inputString.length() != 1)
                        System.out.println("Input must be a single character. " + errorMessages[CHAR_MESSAGE]);
                        System.out.print(prompt);
    else
    nonWhite = (inputString.charAt(0));
    done = true;
              return nonWhite;
         public char readChar (String range)
              char theChar = 'x';
              boolean done = false;
              while (!done)
                   theChar = readChar();
                   for (int i=0; i<range.length(); i++)
                        if (theChar == range.charAt(i))
                             done = true;
                             break;
                   if (!done)
                        System.out.print("Invalid input. Please enter one of the following -> ");
                        for (int i=0; i<range.length(); i++)
                             System.out.print(range.charAt(i) + " ");
                        System.out.print("\n" + prompt);
              return theChar;
         public boolean readBoolean()
              boolean done = false;
              String inputString = "";
              boolean result = false;
              while (!done)
                   inputString = readString(false);
                   inputString = inputString.trim();
                   if (inputString.equalsIgnoreCase("true") || inputString.equalsIgnoreCase("t"))
                        result = true;
                        done = true;
                   else if (inputString.equalsIgnoreCase("false") || inputString.equalsIgnoreCase("f"))
                        result = false;
                        done = true;
                   else
                        System.out.println("Input must be [t]rue or [f]alse. " + errorMessages[BOOLEAN_MESSAGE]);
                        System.out.print(prompt);
              return result;
         private void setDefaultMessages ()
              errorMessages = new String[5];
              for (int i=0; i<errorMessages.length; i++)
                   errorMessages[i] = new String(DEFAULT_ERROR_MESSAGE);
         private char nextChar()
              int charAsInt = -1;
              try
                   charAsInt = System.in.read();
              catch(IOException e)
                   System.out.println(e.getMessage());
                   System.out.println("Fatal error. Exiting program.");
                   System.exit(0);
              return (char)charAsInt;

    Ok, here's what I did using the JSE 8.1 IDE.
    1) I copied your code into a .java file named "TextShuffleGame".
    It generated about half a dozon errors.
    There are three classes in the program:
    TextShuffleLevel
    TextShuffleGame
    CinReader
    Each of these classes is declared "public" and I got the same error message on each one:
    "class ... is public, should be declared in a file name ... .java"
    so, I...
    2) tried changing them to "private".
    It then said: "modifier private not allowed here".
    so, I...
    3) deleted the modifiers for these three classes and left them as just class. No errors.
    The next two errors had to do with the two import statements:
    "import java.io.*;" and "import java.util.*;".
    It said: "'class' or 'identifier' expected" for both. So, I...
    4) moved them to the top of the source file.
    Didn't help at first. So, I...
    5) fiddle around with them a bit.
    I tried "java.io;" and "java.util;" and then "java.*;" by itself. Still got errors. So, I put them back as you had them and for some mysterious reason, my editor decided they were fine. oO
    This also corrected the last errors in the "CinReader" class. Here is the error-free code I now have in my "TextShuffleGame.java" file:
    import java.io.*;
    import java.util.*;
    class TextShuffleLevel
         private String jumble;
         private String [] matchString;
         public TextShuffleLevel ()
              jumble = "dunops";
              matchString = new String[5];
              matchString[0] = new String("abound");
              matchString[1] = new String("bound");
              matchString[2] = new String("undo");
              matchString[3] = new String("band");
              matchString[4] = new String("bond");
         public TextShuffleLevel (int whichDefaultLevel)
              if (whichDefaultLevel == 1)
                   jumble = "dunops";
                   matchString = new String[5];
                   matchString[0] = new String("abound");
                   matchString[1] = new String("bound");
                   matchString[2] = new String("undo");
                   matchString[3] = new String("band");
                   matchString[4] = new String("bond");
              else if (whichDefaultLevel == 2)
                   jumble = "srcaso";
                   matchString = new String[11];
                   matchString[0] = new String("across");
                   matchString[1] = new String("crass");
                   matchString[2] = new String("cross");
                   matchString[3] = new String("scars");
                   matchString[4] = new String("soars");
                   matchString[5] = new String("arcs");
                   matchString[6] = new String("soar");
                   matchString[7] = new String("scar");
                   matchString[8] = new String("oars");
                   matchString[9] = new String("cars");
                   matchString[10] = new String("orcs");
              else
                   jumble = "eplcis";
                   matchString = new String[19];
                   matchString[0] = new String("splice");
                   matchString[1] = new String("spiel");
                   matchString[2] = new String("plies");
                   matchString[3] = new String("slice");
                   matchString[4] = new String("clips");
                   matchString[5] = new String("epics");
                   matchString[6] = new String("spice");
                   matchString[7] = new String("epic");
                   matchString[8] = new String("lice");
                   matchString[9] = new String("slip");
                   matchString[10] = new String("clip");
                   matchString[11] = new String("pile");
                   matchString[12] = new String("lisp");
                   matchString[13] = new String("pies");
                   matchString[14] = new String("isle");
                   matchString[15] = new String("lips");
                   matchString[16] = new String("lies");
                   matchString[17] = new String("ices");
                   matchString[18] = new String("pics");
         public TextShuffleLevel (String newJumble, String [] newMatchString)
              jumble = newJumble;
              matchString = newMatchString;
         /* This is the nasty one */
         public boolean findMatch (String matchTry)
              boolean foundMatch = false;
              for (int i=0; i<matchString.length; i++)
                   if (matchTry.equalsIgnoreCase(matchString))
                        foundMatch = true;
                        break;
              return foundMatch;
         public void setJumble (String newJumble)
              jumble = newJumble;
         public void setMatchStrings (String [] newMatchString)
              matchString = newMatchString;
         public String getJumble ()
              return jumble;
         public int getJumbleLength ()
              return jumble.length();
         public int getNumberOfMatches ()
              return matchString.length;
         public String[] getMatchString ()
              return matchString;
    class TextShuffleGame
         private int playerLevel = 1; // start them on level 1
         private CinReader reader;
         private TextShuffleLevel l1;
         private TextShuffleLevel l2;
         private TextShuffleLevel l3;
         private TextShuffleLevel onTheFly;
         public TextShuffleGame ()
              reader = new CinReader();
              // Using Statically Set Levels
              l1 = new TextShuffleLevel(1);
              l2 = new TextShuffleLevel(2);
              l3 = new TextShuffleLevel(3);
              // this one allows for a 'custom' level
              String fly[] = {"tea","at", "ate"};
              onTheFly = new TextShuffleLevel("eta", fly);
         //Setup for levels
         public void go ()
              boolean quit = false;
              char choice = 'z';
              int lastLevel = 0;
              while (quit == false)
                   lastLevel = playerLevel;
                   if (playerLevel == 1)
                        play(l1);
                   else if (playerLevel == 2)
                        play(l2);
                   else if (playerLevel == 3)
                        play(l3);
                   else
                        play(onTheFly);
                   if (lastLevel == playerLevel)
                        System.out.print("Play the level again");
                   else
                        System.out.print("Play next level");
                   System.out.print("(y/n)? ");
                   choice = reader.readChar();
                   if (choice == 'N' || choice == 'n')
                        quit = true;
         //Playing each level the same
         public void play (TextShuffleLevel theLevel)
              int numGuesses = 0;
              int numCorrect = 0;
              String userString = "";
              System.out.println("What " + theLevel.getJumbleLength() + "-letter words can you get out of " +
                                                 theLevel.getJumble() + "?\n");
              while (numGuesses < 5 && numCorrect < theLevel.getNumberOfMatches())
                        System.out.print("Enter a string: ");
                        userString = reader.readString();
                        if (theLevel.findMatch(userString) == true)
                             System.out.println("Great! A match!");
                             numCorrect = numCorrect + 1;
                        else
                             System.out.println("Drat... not a match");
                             numGuesses = numGuesses + 1;
              if (numCorrect == theLevel.getNumberOfMatches())
                   System.out.println("Terrific! You are ready to try a harder jumble");
                   playerLevel = playerLevel + 1;
         /* FOR TESTING ONLY -- TO BE REMOVED FOR RELEASE */
         public static void main (String [] args)
              TextShuffleGame tsg = new TextShuffleGame();
              tsg.go();
    class CinReader
         private static final int INT_MESSAGE = 0;
         private static final int DOUBLE_MESSAGE = 1;
         private static final int CHAR_MESSAGE = 2;
         private static final int STRING_MESSAGE = 3;
         private static final int BOOLEAN_MESSAGE = 4;
         private static final String DEFAULT_ERROR_MESSAGE = "Please reenter. ";
         private String prompt = "> ";
         private String [] errorMessages;
         public CinReader ()
              prompt = "> ";
              setDefaultMessages();
         public CinReader (String newPrompt)
              prompt = newPrompt;
              setDefaultMessages();
         public CinReader (String newPrompt, String [] newErrorMessages)
              prompt = newPrompt;
              if (newErrorMessages != null)
                   setErrorMessages(newErrorMessages);
              else
                   setDefaultMessages();
         public void setPrompt (String newPrompt)
              prompt = newPrompt;
         public void setErrorMessages (String [] newErrorMessages)
              if (newErrorMessages != null)
                   int diff = errorMessages.length - newErrorMessages.length;
                   // NEED A MINIMUM OF 5 ERROR MESSAGES TO AVOID ERRORS
                   if (diff > 0)
                        errorMessages = new String[5];
                        for (int i=0; i<5; i++)
                             if (i < newErrorMessages.length)
                                  errorMessages[i] = new String(newErrorMessages[i]);
                             else
                                  errorMessages[i] = new String(DEFAULT_ERROR_MESSAGE);
                   else
                        errorMessages = newErrorMessages;
         public void setErrorMessage (int idx, String msg)
              if (idx >= 0 && idx < errorMessages.length)
                   errorMessages[idx] = msg;
         public void setErrorMessageString (String msg)
              errorMessages[STRING_MESSAGE] = msg;
         public void setErrorMessageInt (String msg)
              errorMessages[INT_MESSAGE] = msg;
         public void setErrorMessageDouble (String msg)
              errorMessages[DOUBLE_MESSAGE] = msg;
         public void setErrorMessageChar (String msg)
              errorMessages[CHAR_MESSAGE] = msg;
         public void setErrorMessageBoolean (String msg)
              errorMessages[BOOLEAN_MESSAGE] = msg;
         public String readString()
              char theChar = 'x';
              String result = "";
              boolean done = false;
              while (!done)
                   theChar = nextChar();
                   if (theChar == '\n')
                        done = true;
                   else if (theChar == '\r'){}
                   else
                        result = result + theChar;
              return result;
         public String readString (boolean allowEmpty)
              String result = readString();
              if (!allowEmpty)
                   while (result.length() == 0)
                        System.out.println("Empty input not allowed. " + errorMessages[STRING_MESSAGE]);
                        System.out.print(prompt);
                        result = readString();
              return result;
         public String readString (int charLimit)
              String result = readString();
              if (result.length() > charLimit)
                   result = result.substring(0, charLimit);
              return result;
         public String readString (boolean allowEmpty, int charLimit)
              String result = readString(allowEmpty);
              if (result.length() > charLimit)
                   result = result.substring(0, charLimit);
              return result;
         public int readInt()
              String inputString = "";
              int number = 0;
              boolean done = false;
              while (!done)
                   try
                        inputString = readString();
                        inputString = inputString.trim();
                        number = (Integer.valueOf(inputString).intValue());
                        done = true;
                   catch (NumberFormatException e)
                        System.out.println("Input is not an integer. " + errorMessages[INT_MESSAGE]);
                        System.out.print(prompt);
              return number;
         public int readInt(int min, int max)
              String inputString = "";
              int number = 0;
              boolean done = false;
              while (!done)
                   try
                        inputString = readString();
                        inputString = inputString.trim();
                        number = (Integer.valueOf(inputString).intValue());
                        if (number < min || number > max)
                             System.out.println("Please enter an integer between " + min + " and " + max);
                        else
                             done = true;
                   catch (NumberFormatException e)
                        System.out.println("Input is not an integer. " + errorMessages[INT_MESSAGE]);
                        System.out.print(prompt);
              return number;
         public double readDouble()
              String inputString = "";
              double number = 0;
              boolean done = false;
              while (!done)
                   try
                        inputString = readString();
                        inputString = inputString.trim();
                        number = (Double.valueOf(inputString).doubleValue());
                        done = true;
                   catch (NumberFormatException e)
                        System.out.println("Input is not an integer. " + errorMessages[DOUBLE_MESSAGE]);
                        System.out.print(prompt);
              return number;
         public char readChar()
              boolean done = false;
              String inputString = "";
              char nonWhite = 'x';
              while (!done)
                   inputString = readString();
                   inputString = inputString.trim();
                   if (inputString.length() != 1)
                        System.out.println("Input must be a single character. " + errorMessages[CHAR_MESSAGE]);
                        System.out.print(prompt);
    else
    nonWhite = (inputString.charAt(0));
    done = true;
              return nonWhite;
         public char readChar (String range)
              char theChar = 'x';
              boolean done = false;
              while (!done)
                   theChar = readChar();
                   for (int i=0; i<range.length(); i++)
                        if (theChar == range.charAt(i))
                             done = true;
                             break;
                   if (!done)
                        System.out.print("Invalid input. Please enter one of the following -> ");
                        for (int i=0; i<range.length(); i++)
                             System.out.print(range.charAt(i) + " ");
                        System.out.print("\n" + prompt);
              return theChar;
         public boolean readBoolean()
              boolean done = false;
              String inputString = "";
              boolean result = false;
              while (!done)
                   inputString = readString(false);
                   inputString = inputString.trim();
                   if (inputString.equalsIgnoreCase("true") || inputString.equalsIgnoreCase("t"))
                        result = true;
                        done = true;
                   else if (inputString.equalsIgnoreCase("false") || inputString.equalsIgnoreCase("f"))
                        result = false;
                        done = true;
                   else
                        System.out.println("Input must be [t]rue or [f]alse. " + errorMessages[BOOLEAN_MESSAGE]);
                        System.out.print(prompt);
              return result;
         private void setDefaultMessages ()
              errorMessages = new String[5];
              for (int i=0; i < errorMessages.length; i++)
                   errorMessages[i] = new String(DEFAULT_ERROR_MESSAGE);
         private char nextChar()
              int charAsInt = -1;
              try
                   charAsInt = System.in.read();
              catch(IOException e)
                   System.out.println(e.getMessage());
                   System.out.println("Fatal error. Exiting program.");
                   System.exit(0);
              return (char)charAsInt;
    Hope that helps.

  • Runtime error when executing driver program

    when im executing my report after passing smartform to it , by giving invoice number in selectionscreen,it's generating runtime error as
    the call to the function module     '/1BCDWB/SF00000032'   is incorrect:
    in the function module interface, u can only specify fields of a specific  type and
    length under "s_final".although the currently specified field "    " is the correct type,
    it's length is incorrect.
    i declared s_final in forminterface->tables as s_final like zform1.
    i defined zform1 with fields which are in t_final.
    please suggest where im going wrong.
    TYPES : BEGIN OF TY_FINAL,
           VBELN TYPE VBRP-VBELN,"INVOICE NO
            ADRNR TYPE KNA1-ADRNR, "ADDRESS FOR CONSIGNEE
            BSTKD  TYPE VBKD-BSTKD,   "PO NUMBER
            BSTDK  TYPE VBKD-BSTDK,  "PO DATE
             ARKTX TYPE VBRP-ARKTX, "DESCRITION
            PACK TYPE I,           "NO OF PACKAGES
            UMREZ TYPE SMEINH-UMREZ, "AVG. CONTENTS PER PACKAGE IN KGS
             FKIMG TYPE VBRP-FKIMG,  "TOTAL QTY IN KGS
             KNUMV  TYPE KONV-KNUMV,
             KBETR TYPE KONV-KBETR,  "SELLING RATE/KG
            KBETR1 TYPE KONV-KBETR,
             KWERT TYPE KONV-KWERT,
             TARIFF TYPE ZFORM1-TARIFF,
             DUTY TYPE ZFORM1-DUTY,
             AMOUNT TYPE ZFORM1-AMOUNT,
             END OF TY_FINAL.
        TYPES : BEGIN OF TY_ITEM,
                VBELN TYPE VBRP-VBELN,"INVOICE NO
                POSNR TYPE VBRP-POSNR,
                ARKTX TYPE VBRP-ARKTX, "DESCRITION
                FKIMG TYPE VBRP-FKIMG,  "TOTAL QTY IN KGS
                 BSTKD  TYPE VBKD-BSTKD,   "PO NUMBER
                 BSTDK  TYPE VBKD-BSTDK,  "PO DATE
                 AUBEL TYPE VBRP-AUBEL,
                 AUPOS TYPE VBRP-AUPOS,
                END OF TY_ITEM.
    DATA : FM_NAM TYPE RS38L_FNAM  VALUE '/1BCDWB/SF00000032'.
    DATA :IT_ITEM TYPE TABLE OF TY_ITEM,
          W_ITEM TYPE TY_ITEM,
          W_FINAL  TYPE TY_FINAL,
          T_FINAL TYPE TABLE OF TY_FINAL,
         P TYPE I VALUE 250, "total quantity.
          TOTALDUTY TYPE I  VALUE 0,
           CESS TYPE I,
           EDCESS TYPE I,
             VAT TYPE I,
             FREIGHT TYPE I,
             GROSSTOTAL TYPE I,
           TOTAL TYPE I,
           PONUMBER  TYPE VBKD-BSTKD,   "PO NUMBER
           PODATE  TYPE VBKD-BSTDK,  "PO DATE
            ZTERM TYPE VBKD-ZTERM, "PAYMENT TERMS
           INVOICENO TYPE VBRP-VBELN.
    PARAMETERS : XVBELN TYPE VBELN.
    SELECT VBELN
           POSNR
           ARKTX
           FKIMG
           AUBEL
           AUPOS
           FROM VBRP
           INTO CORRESPONDING FIELDS OF TABLE IT_ITEM
           WHERE VBELN =  XVBELN AND UEPOS  = '000000'.
    LOOP AT IT_ITEM INTO W_ITEM.
    *INVOICE NO
    MOVE  W_ITEM-VBELN TO INVOICENO.
    *DESCRIPTION
    MOVE  W_ITEM-ARKTX TO W_FINAL-ARKTX.
    **TOTAL QUANTITY IN KGS
    MOVE W_ITEM-FKIMG TO W_FINAL-FKIMG.
    *PO NUMBER
    SELECT SINGLE BSTKD FROM VBKD
    INTO W_ITEM-BSTKD
    WHERE VBELN EQ W_ITEM-AUBEL.
    MOVE W_ITEM-BSTKD TO PONUMBER.
    *PO DATE
    SELECT SINGLE BSTDK FROM VBKD
    INTO W_ITEM-BSTDK
    WHERE VBELN EQ W_ITEM-AUBEL.
    MOVE W_ITEM-BSTDK TO PODATE.
    SELECT SINGLE KNUMV FROM VBRK INTO W_FINAL-KNUMV WHERE VBELN = W_ITEM-VBELN.
    **SELLING RATE/KG
    SELECT SINGLE KBETR FROM KONV INTO W_FINAL-KBETR WHERE KNUMV = W_FINAL-KNUMV
               AND KPOSN = W_ITEM-POSNR AND KSCHL = 'PR00'.
    **TOTAL TARIFF VALUE
                W_FINAL-TARIFF  =   W_FINAL-KBETR  *  W_ITEM-FKIMG.
    SELECT SINGLE KBETR FROM KONV INTO  W_FINAL-KWERT WHERE KNUMV =   W_FINAL-KNUMV
               AND KPOSN = W_ITEM-POSNR AND KSCHL = 'JEXT'.
    *TOTAL DUTY PAYABLE
               W_FINAL-DUTY  =  W_FINAL-KWERT / 10.
    **AMOUNT
               W_FINAL-AMOUNT =   W_FINAL-TARIFF  +     W_FINAL-DUTY.
    *TOTAL DUTY FOR CESS&EDCESS
                TOTALDUTY  = TOTALDUTY + W_FINAL-DUTY.
                APPEND W_FINAL TO T_FINAL..
                CLEAR  W_FINAL.
    *WRITE : /10   W_ITEM-ARKTX,
            30  W_ITEM-FKIMG,
            60  W_FINAL-KBETR,
            90     TARIFF,
            120  DUTY,
            160 AMOUNT.
    ENDLOOP.
    *SELECT SINGLE KBETR FROM KONV INTO  W_FINAL-KWERT WHERE KNUMV =   W_FINAL-KNUMV
              AND KPOSN = W_ITEM-POSNR AND KSCHL = 'ZECS'.
    *MOVE   W_FINAL-KWERT TO CESS.
    *SELECT SINGLE KBETR FROM KONV INTO  W_FINAL-KWERT WHERE KNUMV =   W_FINAL-KNUMV
              AND KPOSN = W_ITEM-POSNR AND KSCHL = 'ZECX'.
    *MOVE W_FINAL-KWERT  TO EDCESS.
    *CESS
    CESS  =  TOTALDUTY  *  2 / 100.
    *EDCESS
    EDCESS  =  TOTALDUTY  *  1 / 100..
    *TOTAL VALUE AT FOOTER
    TOTAL  = W_FINAL-AMOUNT + CESS + EDCESS.
    *VAT
    VAT  =  TOTAL *  4 / 100.
    *FREIGHT
    *GROSS TOTAL
    GROSSTOTAL   =  TOTAL + VAT.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        FORMNAME                 =  'ZSF_SD_INVOICE1'
       VARIANT                  = ' '
       DIRECT_CALL              = ' '
      IMPORTING
       FM_NAME                  =   FM_NAM
    EXCEPTIONS
       NO_FORM                  = 1
       NO_FUNCTION_MODULE       = 2
       OTHERS                   = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION FM_NAM
      EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
        TOTALDUTY                  =  TOTALDUTY
        CESS                       =   CESS
        EDCESS                     =   EDCESS
        TOTAL                      =   TOTAL
        PONUMBER                   =  PONUMBER
        PODATE                     =   PODATE
        GROSSTOTAL                 =  GROSSTOTAL
        VAT                        =  VAT
        INVOICENO                  =  INVOICENO
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        S_FINAL                    =  T_FINAL
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    Hi,
    U need to fill the ref_fieldname and ref_tabname or the cfieldname, ctabname for currency fields and qtabname and qfieldname for quantity fields in fieldcatalog.
    santhosh
    Message was edited by:
            Kaluvala Santhosh

  • Appcomp error when running design program

    Hi, I am trying to run an embroidery digitizing program in Windows XP (I have Boot Camp). Program is Design Shop v. 9. It appeared to install correctly, and I have since installed a newer version. The program uses a dongle and when the program is opened and you begin to use it it crashes and gives me this error message. C:\DOCUME~1\carol\locks~1\temp\c5ba_appcompat.txt
    Program runs successfully on pc.
    I know there are others using this program on a mac. I appreciate any help in making this my actual work machine and not just the most expensive itunes system around.

    Hi Carol and welcome to Discussions,
    googling for c5ba_appcompat.txt gave this link to a Spyware/Malware analysis website: http://www.spywarelib.com/remove--Trojan-Backdoor-bifrose-etv.html
    Could be one reason why it crashes.
    But it is also possible, that this .txt file contains viable informations why the program crashes (e.g. some sort of crash report).
    Might be a good idea to contact the manufacturer of DesignShop about this error.
    Regards
    Stefan

  • SAP NW RFC SDK throws RFC_INVALID_PARAMETER when running sample programs?

    Hi there,
    I have just downloaded the latest version of the SAP NW RFC SDK (NWRFC_7-20004565.SAR) for Linux 64 bit from the Service Marketplace and am trying to run the demo programs.
    NOTE: I removed the "sapnwrfc.ini" from the current directory so that it would not be used at all..
    Also note that I can use the OLD RFC SDK and connect happily to the same SAP system I am trying to connect to below using the SAP NW RFC SDK....so I definetly have the cirrect settings.....
    So I compiled a CLIENT test program like:
    gcc -m64 -Wall -g ./sflightClient.c -I/home/lynton/Desktop/nwrfcsdk/include -L/home/lynton/Desktop/nwrfcsdk/lib -lsapnwrfc -lsapucum -o ./sflightClient
    And then passed in VALID paramters to an SAP system I have access to and I keep getting RFC_INVALID_PARAMETER even though I have not touched the code below in the sflightClient.c program
         loginParams[0].name = cU("ashost");     loginParams[0].value = argc > 1 ? argv[1] : cU("hostname");
         loginParams[1].name = cU("sysnr");     loginParams[1].value = argc > 2 ? argv[2] : cU("50");
         loginParams[2].name = cU("user");     loginParams[2].value = argc > 3 ? argv[3] : cU("user");
         loginParams[3].name = cU("passwd");     loginParams[3].value = argc > 4 ? argv[4] : cU("******");     
         loginParams[4].name = cU("client");     loginParams[4].value = argc > 5 ? argv[5] : cU("800");
         loginParams[5].name = cU("lang");     loginParams[5].value = cU("EN");
    I have also tried the stfcDeepTableServer.c program....and there I put in VALID settings....(and made the parameters UPPERCASE just like the settings in the "sapnwrfc.ini" file....
    serverCon[0].name = cU("PROGRAM_ID");     serverCon[0].value = cU("TEST_SERVER");
            serverCon[1].name = cU("GWHOST");     serverCon[1].value = cU("test.server");
         serverCon[2].name = cU("GWSERV");     serverCon[2].value = cU("sapgw00");
         repoCon[0].name = cU("CLIENT");     repoCon[0].value = cU("000");
         repoCon[1].name = cU("USER");          repoCon[1].value = cU("BCUSER");
         repoCon[2].name = cU("PASSWD");     repoCon[2].value = cU("minisap");
         repoCon[3].name = cU("LANG");          repoCon[3].value = cU("EN");
         repoCon[4].name = cU("ASHOST");     repoCon[4].value = cU("test.server");
         repoCon[5].name = cU("SYSNR");     repoCon[5].value = cU("00");
            repoCon[6].name = cU("TRACE");     repoCon[6].value = cU("3");
    I have the UUIDD daemon running perfectly on my box, but yet I keep getting this RFC_INVALID_PARAMETER regardless if I just test the SERVER REGISTRATION or a simple client connection.
    I am connecting to a NON unicode system but that would not make a difference.....
    Any idea what would cause this? Any help would be greatly appreciated ....
    Thanks
    Lynton

    I have similar problem. My simply program use 7.10_x64_nwrfcsdk for Linux x64 and 7.10_IA32_nwrfcsdk for 32bit Linux. I has been prepared subroutine to convert ASCII to UTF16LE and control 2-byte Unicode length.
    Program is working perfectly on x64 environment but didn't work on 32bit. I prepared log for it. In log converted to UTF16LE data are present as hex
    x64
    =================================================
    Open library libsapnwrfc.so done, handle 0x1ccac00
    ahost=10.146.0.53
    61 0 73 0 68 0 6F 0 73 0 74 0
    31 0 30 0 2E 0 31 0 34 0 36 0 2E 0 30 0 2E 0 35 0 33 0
    sysnr=01
    73 0 79 0 73 0 6E 0 72 0
    30 0 31 0
    client=500
    63 0 6C 0 69 0 65 0 6E 0 74 0 
    35 0 30 0 30 0
    user=dybikowskiz
    75 0 73 0 65 0 72 0
    64 0 79 0 62 0 69 0 6B 0 6F 0 77 0 73 0 6B 0 69 0 7A 0
    lang=EN
    6C 0 61 0 6E 0 67 0
    45 0 4E 0
    Start login to SAP
    Login to SAP done, handle 0x1d863b0
    ================================================
    x32
    ================================================
    Open library libsapnwrfc.so done, handle 0x900fb78
    ahost=10.146.0.53
    61 0 73 0 68 0 6F 0 73 0 74 0
    31 0 30 0 2E 0 31 0 34 0 36 0 2E 0 30 0 2E 0 35 0 33 0 
    sysnr=01
    73 0 79 0 73 0 6E 0 72 0
    30 0 31 0
    client=500
    63 0 6C 0 69 0 65 0 6E 0 74 0 
    35 0 30 0 30 0
    user=dybikowskiz
    75 0 73 0 65 0 72 0
    64 0 79 0 62 0 69 0 6B 0 6F 0 77 0 73 0 6B 0 69 0 7A 0
    lang=EN
    6C 0 61 0 6E 0 67 0
    45 0 4E 0
    Start login to SAP
    ----Error handling begin-----
    errorInfo.code: 20
    RFC_INVALID_PARAMETER
    errorInfo.group: 5
    EXTERNAL_RUNTIME_FAILURE
    errorInfo.key: R
    errorInfo.message:
    -----Error handling end -----
    No connect to SAP
    Because ASCII conversion to UTF16LE (http://en.wikipedia.org/wiki/UTF-16) is very simple, I prepared function
    char* ascii2utf16le( char *text_ascii)
        int rec=-1;
        int i=0;
        int j=0;
        int n=0; 
      size_t inbufsize = strlen(text_ascii);
      size_t outbufsize=(2*inbufsize);
       i=2*inbufsize;
      char *converted = calloc(outbufsize, sizeof(char));
        for(j=0;j<i;j++)
            if(0==(j%2))
                converted[j]=text_ascii[n];
                n++;
            } else {
              converted[j]=0;
            printf("%X ",converted[j]);
      printf("\n");
        char *converted_str = converted;
        return converted_str;
    and next I use it to loginParams[0].name = ascii2utf16le("ashost"), etc.
    Fixed-length Unicode representation expected by SAP R/3 is under control, but on Linux 32bit not work.
    I haven't where is possible problem?

  • ReplaceAll() error when run the program

    Hi everyone, I am developing an application to replace one string by another string with the method replaceAll() or replaceFirst() on NWDS v2.0.14.
    I have changed the Java Build Path from jdk1.3 to j2sdk 1.4.2_10 in order to make those two methods available.
    There is no problem in build and deployment. But when  execute this application I get an error telling there is no such method. When I comment out the line with the method in the code I can run this application without any error. I am sure the error is caused by the method.
    Can you tell me how to fix this problem? Should jdk of Java engine on server be upgraded?
    Any hint will be appreciated.
    Kind regards.
    Wang

    As you use NWDS 2.0.14 I guess you also run SP14 of your engine, so your engine should already run on top of JDK 1.4.
    You can add a line like this to your code to verify it:
    System.getProperty("java.version")
    Regards,
    Dieter

  • Web Services Error When running Sample Application

    When I was testing "Create a New Customer" from the Sample application in Oracle's provided free new HTML DB 2.0 environment (just out last night), I got the following error message.
    ORA-20001: The webservice was unreachable because either the URL you supplied was invalid, or your environment requires a valid proxy server address for HTTP requests.
    I was using my laptop through SBC Yahoo DSL service (dynamic IP address) to test this HTML DB Sample application.
    Any suggestion for this Web Services Error?

    cckung,
    Oracle's IT team has disabled the ability to call web services from htmldb.oracle.com. We are working with them to resolve this, but I don't have an ETA.
    Thanks,
    - Scott -

  • Severe Error when running sample jsp on Tomcat.. Please Help me!!

    I am trying to run a sample jsp that is provided in netbeans(5.5) on the bundled tomcat server (5.5.17) and i get the following error:
    SEVERE: Error initializing endpoint
    java.net.SocketException: Invalid argument: listen failed
    at java.net.PlainSocketImpl.socketListen(Native Method)
    at java.net.PlainSocketImpl.listen(PlainSocketImpl.java:374)
    at java.net.ServerSocket.bind(ServerSocket.java:320)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at java.net.ServerSocket.<init>(ServerSocket.java:141)
    at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292)
    at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:138)
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
    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:597)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
    I've been trying to figure out why i get this error for a few days now, could someone please help me..
    thanks :)

    What machine are you trying to run it under? Is it a machine with a firewall or strict network settings?

  • Getting a runtime error when running the test project

    I was running a test project which did execute without any problems. Then I added 2 extra DLLs and wrote some code as well. After that I got the below specified run time error. Though I removed those DLLs and new code still it doesn't run. This was running
    fine though. Please advice.
    Warning: Test Run deployment issue: The assembly or module 'Npgsql' directly or indirectly referenced by the test container 'g:\services\communityservice\communityservicetest\bin\release\communityservicetest.dll' was not found.
    Warning: Test Run deployment issue: The assembly or module 'IBM.Data.DB2' directly or indirectly referenced by the test container 'g:\services\communityservice\communityservicetest\bin\release\communityservicetest.dll' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Oracle.DataAccess' directly or indirectly referenced by the test container 'g:\services\communityservice\communityservicetest\bin\release\communityservicetest.dll' was not found.
    mayooran99

    @Mayooran99,
    I agree with Andy. By the way, when you build a new test project and if you want to add dll to your project, please make sure you will follow this article:
    https://msdn.microsoft.com/en-us/library/wkze6zky.aspx
    When you use Add reference dialog please don't forget to set copy local to true.(By default I think new project will not have this problem, the reason may like Andy mentioned that you still have some references to those two dlls when you removed them)Best
    regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error When Running ANY Program

    Anytime I try to run ANY Java program, i get the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: Program Name
    I am POSITIVE I have compiled the programs and the *.class file appears. Anyone have any idea whats going on?

    Anytime I try to run ANY Java program, i get the
    following error:
    Exception in thread "main"
    java.lang.NoClassDefFoundError: Program Name
    I am POSITIVE I have compiled the programs and the
    *.class file appears. Anyone have any idea whats going
    on?I just ran across what appears to be the exact same problem. The solution was to clear the CLASSPATH variable in the registry first, by entering "set classpath=", then calling the program with "java <program name>". In your case:set classpath=
    java InvoiceAppType both in the directory where InvoiceApp.class is located. If, for some reason, that doesn't work, try:set classpath=<path to library directory of Java installation>
    set classpath=
    java InvoiceAppAn example of the library directory of the Java installation would be "\Program Files\Java\j2re1.4.2_02\lib"
    A more permanent solution would be to remove the CLASSPATH key from the registry (the one under the SYSTEM category). This should also cause any other Java program to run correctly. However, the above should take care of the problem in the short-term.
    Here is the link to the thread, in case it might help you out further:
    http://forum.java.sun.com/thread.jsp?forum=32&thread=467639&tstart=0&trange=15
    Best of luck, and hope this helps.

Maybe you are looking for

  • XI idoc-jdbc  scenario in details

    Hi Experts, Please provide me this scenario pn detail. Cheers Aman

  • Nokia Discontinuing PC Suite

    Nokia writes:- "Nokia PC Suite will eventually be replaced by the newer, more user-friendly Nokia Ovi Suite application for both Windows and Mac." The only thing true about that statement is that Ovi is newer. Otherwise it is a complete disaster with

  • Application Integratior problem

    Hi, I had integrated the yahoo using the application integratior and it was working fine. If i want to have  another web application which has some other parameters along with the username and password. For yahoo i had just specified the user=<Mapped

  • Displaying BLOB.

    Hi all, I want to create blob column to save my images in to display it later on in the report ,so i did the following Create directory first .... CREATE OR REPLACE DIRECTORY images AS 'C:\'; ============================================ create the ta

  • Adding text to a button.

    Can anyone tell me how to add text to a button I created? If it changes anything, it is a sub-menu button