Error in running the Program SDRQCR21
Hi,
For a material,the sales order which are rejected are showning in MD04.When i try to run this program
SDRQCR21,it gives me timed out error.
Since there are lot of sales order for that material.
Please can any one help me in this issue...
Thanks
Srini
Hi,
If we run the program,is the orders which are rejected gets deleted or any other scenario like delivery not created for the order etc will also get deleted from the MD04.
Please clarify on this issue.
Thanks
Srini
Similar Messages
-
Error while running the program of deferred Tax ( New)Program Name RFUMSV50
Hi
I am getting the error while running the program of deferred Tax ( New)
Following is the detailed error :
Enter rate / INR rate type M for 00.00.0000 in the system settings
Message no. SG105
Diagnosis
For the conversion of an amount into another currency, an entry is missing in the currency conversion table.
Procedure
Add the missing entry in the currency conversion table.
Execute function
You can then continue to process the commercial transaction.
Thanks & Regards,
PMCheck the following notes:-
1) Note 46582 - 2.2->3.0: error SG105 for exchange rate M w. inv.
2) Note 165645 - SG105:Enter rate & / & rate type & for 00.00.0000..
3) Note 483542 - F110: SG105 in maintenance of proposal run with wthhldng tax
4) Note 975657 - SG 105: FI-Enjoy with foreign currency and calculate tax
thanks
G. Lakshmipathi -
Error while running the program
Hello everybody
I have installed jdk in my computer, but when I try to run the program it shows the following error
"Unable to load the main class"
The program is compiling properly the only problem is in running the program.
What is the reason for this error and how can I fix this error?
RegardsAre you familiar with the classpath?
It tells the JRE which directory has your *.class files.
At the command line, you would java -cp dir_name class_file_nameIf you're using an IDE, check the menus at the top of the editor screen. -
Error in running the program RFWT0020
Hi
I need to activate the Withholding ( 1099) Base amount for the posted payment documents.
I tried the program RFWT0020 to Recreate and Change Withholding Tax Data, but it says as " List Contains no Data"
Can you please help me to run this. If anybody have the config documents for Form 1099, please share with me.
Thanks in Advance
Thanks
S.MahendranHi
Any Update... -
Error while running the program /CCM/INITIALIZE_CME
Hi Gurus,
We are done with all our CCM Configuration,at last we are trying to unpack the predefined characteristics and create Master Catalog through program /CCM/INITIALIZE_CME in SE38. I am getting the following error.
CHECK CME CUSTOMIZING & MDF PARTS
We are on this support package
SAP_ABA - SAPKA70011
SAP BASIS - SAPKB70011
PI_BASIS - PI_BASIS 2005_1_700
CCM - CCM200_700
SAP_AP - SAP_AP700
SY_PI - ST_PI 2005_1_700: Patch001
we are on CCM2.0 SP02, TREX 7.0 and WEBAS 7.0.
Please suggest me,am I missing something in the support pack.
PradeepHi
<b>Please go through the follwoing SAP OSS Notes -></b>
Note 814446 - CCM 2.0 SP00 on Netweaver 04 SP Stack 12
Note 730047 - CME-Customizing check
Note 843867 - Upgrade of CCM 1.0 to a higher version
Note 878316 - Missing standard characteristics in CCM2.0 catalogs
Note 734168 - Error during initialization of characteristics & data types
Note 722919 - Change of definition of predefined characteristics
Note 730896 - Customizing for A&D scenario
Note 887133 - CCM 2.0 SP02 on Netweaver 04s SP Stack 05
Do let me know.
Regards
- Atul -
Error while running the Program file(Program Object)
Hi All,
I have created 2 program files in SAP BO 4.0 to send automated mail and to remove the flag file. It is working in my DEV environment.
Last week i have created new environment(PROD) and created same program files. But its not working in new environment. Please fine the below error
Also please find the trace:
trc file: "jobserver_EXPLORER_QAS_Program.JobServer_ProgramSchedulingService_CHILD0_ncs.trc", trc level: 1, release: "720"
M
M [Thr 4116] Wed Aug 06 17:05:09 2014
M [Thr 4116] ***LOG Q0I=> NiPGetHostByName: '$SMDAgentHost' not found: getaddrinfo [ninti.c 895]
M [Thr 4116] *** ERROR => Main agent failed to be initilized due to incorrect host setting! [ncsmtdatasen 20]
M [Thr 4116] *** ERROR => Main agent failed to be initilized due to incorrect host setting! [ncsmtdatasen 20]
M [Thr 4116] NCS trace timer is disabled since the interval is set to 0
M [Thr 4116] NCS data timer is disabled since the interval is set to 0
M [Thr 4116] NCS library version 2.3.9 (unicode) loaded
M [Thr 4116] NCS_ProcInit API invoked
M
M [Thr 4116] Wed Aug 06 17:07:14 2014
M [Thr 4116] NCS_ProcExit API started
M [Thr 4116] Timer threads are successfully finished
M [Thr 4116] Data sending threads are successfully finished
M [Thr 4116] NCS_ProcExit API invoked
Please help me with the solution and your suggestions.
Thanks all for your help.
Regards,
SakthiCheck this link.
APS service start up issue with BI 4.0 -
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.
WangAs 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 -
Hi APO Experts,
In our project, we have received more sales order inconsistencies which is not clearing by CCR program and it is clearing by program /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow, So We have decided to schedule the background job on daily basis for program /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow, performing the testing in our quality system and observed the below strange behavior.
When I am running the program /SAPAPO/SDRQCR21 with Range of products and some location range with option as Build Reqmts from Doc. Flow, in Background job. In output it is suggesting to delete one sales order. If I checked that Sales order in ECC, it is for an different location, that is not part of my selection and the order is open. In MD04 the Qty is showing 1 ( as per sales order) but in APO RRP3 view the order qty is showing Zero. I have run the CCR, it is coming in different in content and if I push, the different is not going to APO.
I have tried running the program /SAPAPO/SDRQCR21 with plant which is mentioned in that sales order with option as Build Reqmts from Doc. Flow, in Background job , it is suggesting this sales order under update option correctly.
Can you please help me understand why it is behaving differently like the location is not part of my selection and why it is suggesting the wrong action. And also whether is it advisable to run the /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow at plant range and material range in background job.
Thanks & Regards,
Sundaram RadhakrishnanSundaram,
It sounds to me like the sales document records in the OLTP and in APO were created at different times. This is common in Dev and Qual environments when the systems are commonly created at two different times, and each was a copy of an existing system that contained sales data. The order number you see in //rrp3 is somewhat irrelevant; system generally uses the guid for many activities.
FYI during Dev and Qual refreshes, if you are copying from a production environment that contains data, it is always best to create the OLTP and SCM images at the same time, and to copy them both to the Dev and Qual systems at the same time. If you don't do this, you are faced with the additional tasks associated with getting the copied systems back into synch.
If this is Dev or Qual, I suggest that you just completely wipe out all sales orders in APO and rebuild them using the CIF.
If this is a mature production environment, the only time I have ever seen this issue is due to improperly created CIF enhancements. Speak to your developers to find the root cause, and correct this problem. Then, wipe out all sales orders and rebuild with CIF.
Best Regards,
DB49 -
I own an iMac 2011. I am unable to reinstall and launch premiere pro cc. We I attempt to run the program I get a error message saying that the adobe application manager is missing or need to be updated. I reinstalled the manager but I am still unable to launch any of my programs from adobe. I tried to do a trail with a program and I am still getting the same message.
Davinci thank you for the update.
Please utilize any available uninstallers that are located in the Applications/Utilities/Adobe Installers folder. Once all of the available uninstallers have been run you will then want to rerun the CC Cleaner Tool. You can find directions on the use of the CC Cleaner Tool and a download link at Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 - http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html. After the CC Cleaner Tool is run then please reinstall the Creative Cloud Desktop application from Creative Cloud Help | Creative Cloud for desktop.
The CC Cleaner Tool is designed to be used after running the uninstallers. Without running the uninstallers first then a complete removal may not be possible. -
Error Message: A main Java class needs to be specified to run the program.
Hi,
I am adding a program object to cms using java program, and trying to run it. I am getting an error message like
Error Message: A main Java class needs to be specified to run the program.
Could you please help me on this., please find the pasted program object pasted below
public class MoveReports {
public void run(IEnterpriseSession enterpriseSession, IInfoStore infoStore,
String[] args) throws SDKException {
int objectSize = ;
String cms = "";
String username = "";
String password = "";
String auth = "";
try {
ISessionMgr sm = CrystalEnterprise.getSessionMgr();
enterpriseSession = sm.logon(username, password, cms, auth);
IInfoStore oInfoStore=(IInfoStore)enterpriseSession.getService("", "InfoStore");
IInfoObjects iObjects = null;
iObjects = oInfoStore.query("Select * from CI_INFOOBJECTS where SI_PARENTID = 44104 AND SI_PROGID LIKE '%CrystalEnterprise.Excel%'");
// Getting total number of reports
objectSize = iObjects.size();
if(objectSize > 0)
for (int count = 0; count < objectSize; count++)
IInfoObject obj = (IInfoObject) iObjects.get(count);
// Specify the Destination parent Id to move the reports
obj.setParentID(44102);
oInfoStore.commit(iObjects);
System.out.println("Reports Moved Successfully");
else
System.out.println("Reports Not Available");
catch (SDKException e) {
e.printStackTrace();
System.out.println("Error : " + e.getMessage());
Thanks&Regards
Damodar
Edited by: Damodaram B on Nov 2, 2009 1:29 PMThere's couple of things at issue here - you've not specified the proper interface (IProgramBase or IProgramBaseEx), and the program job server can't find the class in question (a deployment issue).
You may want to open a support ticket with SAP.
Sincerely,
Ted Ueda -
Error :No operating system credentials were set for running the program
i am getting this error when i am trying to execute a shell script in cmc. i got the status as failed, when clicked on that failed message this is what i got
Title: delete_month
Document Type: Program
Status Failed
Destination: Unmanaged Disk destination properties have been set to the chosen Job Server's defaults.
Owner: boadmin
Server Used: cms_451.ProgramJobServer
PID: 15010
Folder Path: Temp/
Remote Instance: No
Creation Time: 12/1/2010 7:21 PM
Expiry: 12/1/2020 7:21 PM
Start Time: 12/1/2010 7:21 PM
End Time: 12/1/2010 7:21 PM
Error Message: No operating system credentials were set for running the program.
what might be the reasonwhat do u mean by pm application, i didn't get that
we r using boe xi 3.1 sp3.on sun solaris
my exact scenerio is
I wrote a shell script to delete the reports which r one month old. the reports generated by the boe r placed in unix machine(in a specific folder for example abc) and my boe server is also on unix .I imported the the shell script into boe.I assigned the path /xx/yy/abc (the path where our reports r stored) to the arguments and i gave the working directory path as the xx/yy/bobj/bobje/data/frsinput/a0_89/ ( this is the path where my shell script is present).after giving these details i am unable to delete any of the content from that folder. I am getting the failed message when i am trying to execute the object in cmc. i am pasting the shell script as well as the error message here if any body knows anything help me. do i need to set anything in cmc or what i need to do
this is the shell script to delete the files in the specified directory
#!/bin/ksh
# set -x
if [[ $# != 1 ]]; then
echo "Usage : $0 [Directory Path]"
exit 0
fi
echo "Source directory : " $1
# To display the list of files more than a month older
for v_fname in $(find "$1"/ -name "*" -mtime +30 -type f)
do
echo "$v_fname"
done
# To delete the files of more than 1 month older
find "$1"/ -name "*" -mtime +30 -type f -exec rm {} \; -
I plugged my iPad to my computer this morning and it said there was a new version of IOS available. Tried to install.
Install failed.
Now itunes won't open: "The program can't start because MSVCR80.dll is missing from your computer. Try reinstalling the program to fix this problem."
Went to www.itunes.com, downloaded and tried to install. Install failis saying I need to verify that I have credentials to run the program. Choices: Abort, Try again, Ignore. Needless to say the only choice that works in Abort, so I can't connect my iPad to iTunes.
Is there a way to uninstall the program and then try again?
Or other fix?How To Completely Uninstall and Remove All Traces of iTunes
http://zardozz.com/zz/2008/04/how-to-completely-uninstall-and-remove-all-traces- of-itunes.html/
If you can't update or restore your iOS device
http://support.apple.com/kb/ht1808http://support.apple.com/kb/ht1808
Cheers, Tom -
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. -
Strange error while running java program in oracle
Hi all,
I have written a java program and saved it as .sqlj file. i have to run the program on sql prompt.
while running the program i am getting the following error.Please help me.I am in urgent situation
ORA-29536: badly formed source: User has attempted to load a class
(tactossSecurity) into a restricted package. Permission can be granted using
dbms_java.grant_permission(<user>, LoadClassInPackage...
Thanks & Regards
Raghavender Rao KodumuriRaghavender,
I also answered you in the SQL forum, where you posted the exact same question.
Re: Trying to execute java programm in oracle getting the following error
Good Luck,
Avi. -
Getting an error while running the servlet
getting an error while running the servlet
Sep 3, 2008 2:09:48 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\app\UK-Dasari\product\11.1.0\db_1\bin;D:\oracle\product\10.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\QuickTime\QTSystem\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files\Java\jdk1.6.0_05\bin
Sep 3, 2008 2:09:48 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:499)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:175)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1059)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
Sep 3, 2008 2:09:48 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.catalina.connector.Connector.initialize(Connector.java:1061)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
Sep 3, 2008 2:09:48 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 399 ms
Sep 3, 2008 2:09:48 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 3, 2008 2:09:48 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
Sep 3, 2008 2:09:49 AM org.apache.coyote.http11.Http11Protocol start
SEVERE: Error starting endpoint
java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:499)
at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:513)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:202)
at org.apache.catalina.connector.Connector.start(Connector.java:1132)
at org.apache.catalina.core.StandardService.start(StandardService.java:457)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 3, 2008 2:09:49 AM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.catalina.connector.Connector.start(Connector.java:1139)
at org.apache.catalina.core.StandardService.start(StandardService.java:457)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 3, 2008 2:09:49 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 515 ms
Sep 3, 2008 3:06:31 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-80
Sep 3, 2008 3:06:31 AM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.lang.NullPointerException
at org.apache.jk.server.JkMain.pause(JkMain.java:679)
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
at org.apache.catalina.connector.Connector.pause(Connector.java:1074)
at org.apache.catalina.core.StandardService.stop(StandardService.java:489)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 3, 2008 3:06:32 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Sep 3, 2008 3:06:33 AM org.apache.catalina.connector.MapperListener destroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerException
at org.apache.catalina.connector.MapperListener.destroy(MapperListener.java:162)
at org.apache.catalina.connector.Connector.stop(Connector.java:1180)
at org.apache.catalina.core.StandardService.stop(StandardService.java:519)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 3, 2008 3:06:33 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-80
Sep 3, 2008 3:06:33 AM org.apache.catalina.connector.Connector stop
SEVERE: Coyote connector has not been started
Sep 3, 2008 3:06:54 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\app\UK-Dasari\product\11.1.0\db_1\bin;D:\oracle\product\10.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\QuickTime\QTSystem\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\
Sep 3, 2008 3:06:54 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:499)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:175)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1059)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
Sep 3, 2008 3:06:54 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.catalina.connector.Connector.initialize(Connector.java:1061)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
Sep 3, 2008 3:06:54 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 369 ms
Sep 3, 2008 3:06:54 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 3, 2008 3:06:54 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
Sep 3, 2008 3:06:54 AM org.apache.coyote.http11.Http11Protocol start
SEVERE: Error starting endpoint
java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:499)
at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:513)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:202)
at org.apache.catalina.connector.Connector.start(Connector.java:1132)
at org.apache.catalina.core.StandardService.start(StandardService.java:457)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 3, 2008 3:06:54 AM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.catalina.connector.Connector.start(Connector.java:1139)
at org.apache.catalina.core.StandardService.start(StandardService.java:457)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 3, 2008 3:06:54 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 526 ms
Sep 3, 2008 3:07:05 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\app\UK-Dasari\product\11.1.0\db_1\bin;D:\oracle\product\10.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\QuickTime\QTSystem\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files\Java\jdk1.6.0_05\bin
Sep 3, 2008 3:07:05 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:499)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:175)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1059)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
Sep 3, 2008 3:07:05 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.catalina.connector.Connector.initialize(Connector.java:1061)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
Sep 3, 2008 3:07:05 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 391 ms
Sep 3, 2008 3:07:05 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 3, 2008 3:07:05 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
Sep 3, 2008 3:07:05 AM org.apache.coyote.http11.Http11Protocol start
SEVERE: Error starting endpoint
java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:499)
at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:513)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:202)
at org.apache.catalina.connector.Connector.start(Connector.java:1132)
at org.apache.catalina.core.StandardService.start(StandardService.java:457)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 3, 2008 3:07:05 AM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.catalina.connector.Connector.start(Connector.java:1139)
at org.apache.catalina.core.StandardService.start(StandardService.java:457)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 3, 2008 3:07:05 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 462 ms
Sep 3, 2008 3:07:05 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:616)
at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 3, 2008 3:07:05 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-80
Sep 3, 2008 3:07:05 AM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.lang.NullPointerException
at org.apache.jk.server.JkMain.pause(JkMain.java:679)
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
at org.apache.catalina.connector.Connector.pause(Connector.java:1074)
at org.apache.catalina.core.StandardService.stop(StandardService.java:489)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:645)
Sep 3, 2008 3:07:06 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Sep 3, 2008 3:07:06 AM org.apache.catalina.connector.MapperListener destroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerException
at org.apache.catalina.connector.MapperListener.destroy(MapperListener.java:162)
at org.apache.catalina.connector.Connector.stop(Connector.java:1180)
at org.apache.catalina.core.StandardService.stop(StandardService.java:519)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:645)
Sep 3, 2008 3:07:06 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-80
Sep 3, 2008 3:07:06 AM org.apache.catalina.connector.Connector stop
SEVERE: Coyote connector has not been started
Sep 3, 2008 3:07:14 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-80
Sep 3, 2008 3:07:14 AM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.lang.NullPointerException
at org.apache.jk.server.JkMain.pause(JkMain.java:679)
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
at org.apache.catalina.connector.Connector.pause(Connector.java:1074)
at org.apache.catalina.core.StandardService.stop(StandardService.java:489)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 3, 2008 3:07:15 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Sep 3, 2008 3:07:15 AM org.apache.catalina.connector.MapperListener destroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerException
at org.apache.catalina.connector.MapperListener.destroy(MapperListener.java:162)
at org.apache.catalina.connector.Connector.stop(Connector.java:1180)
at org.apache.catalina.core.StandardService.stop(StandardService.java:519)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 3, 2008 3:07:15 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-80
Sep 3, 2008 3:07:15 AM org.apache.catalina.connector.Connector stop
SEVERE: Coyote connector has not been started
Sep 3, 2008 3:07:20 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\app\UK-Dasari\product\11.1.0\db_1\bin;D:\oracle\product\10.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\QuickTime\QTSystem\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files\Java\jdk1.6.0_05\bin
Sep 3, 2008 3:07:20 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:499)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:175)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1059)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
Sep 3, 2008 3:07:20 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.catalina.connector.Connector.initialize(Connector.java:1061)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
Sep 3, 2008 3:07:20 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 381 ms
Sep 3, 2008 3:07:20 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 3, 2008 3:07:20 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
Sep 3, 2008 3:07:21 AM org.apache.coyote.http11.Http11Protocol start
SEVERE: Error starting endpoint
java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:499)
at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:513)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:202)
at org.apache.catalina.connector.Connector.start(Connector.java:1132)
at org.apache.catalina.core.StandardService.start(StandardService.java:457)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 3, 2008 3:07:21 AM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use: JVM_Bind:80
at org.apache.catalina.connector.Connector.start(Connector.java:1139)
at org.apache.catalina.core.StandardService.start(StandardService.java:457)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 3, 2008 3:07:21 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 485 ms
Sep 3, 2008 3:34:44 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-80
Sep 3, 2008 3:34:44 AM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.lang.NullPointerException
at org.apache.jk.server.JkMain.pause(JkMain.java:679)
at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
at org.apache.catalina.connector.Connector.pause(Connector.java:1074)
at org.apache.catalina.core.StandardService.stop(StandardService.java:489)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 3, 2008 3:34:45 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Sep 3, 2008 3:34:45 AM org.apache.catalina.connector.MapperListener destroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerEuk-dasari wrote:
java.net.BindException: Address already in use: JVM_Bind:80You've another service (a HTTP server?) running on port 80.
Either shut it down or assign the current server another port.
Maybe you are looking for
-
Enable Commenting and Measuring without a mouse
I work for a large nonprofit with no tech department. (I'm on a mac OS 10.6, others have OS 10.7) We've just upgraded 3 of us to Acrobat Pro X (from Acrobat Pro 7). I need to be able to do the following to many many files every day - with fewer than
-
I've seen this question asked before, and nobody has come up with an answer. My iTunes updated and now all my music, movies, and tv shows are gone. I've changed the source folder in my "preferences" option and nothing has come up. I have over 12,000
-
Question about alpha backgrounds
Hello, I am just learning Motion and a bit confused. I am trying to drag in a picture that has a transparent alpha section. When I drag it onto the canvas the alpha background is black as expected, but when I drag the photo onto the timeline (which i
-
i' am working with a pxi6602 board on CVI6.0. i want to generate a delayed pulse (counter1) triggered on another one (counter0) user as a general trigger for my experiment. on previous devices, i used to wire the output of counter0 to the gate of cou
-
Problems installing Axis with WLS 8.1
I'm having problems installing Apache Axis with WLS 8.1. I'm totally new to WLS, so this may be at the heart of the problem. I install Axis as per the installation instructions. These are the steps I followed: 1. Installed the axis directory to C:\be