Error(10,47): EntryFlowPageCO not found in class oracle.apps.ap.oie.entry.
Hi All,
I extended a CO named IndusFinalReviewPageCOXX and I got the following error.
Error(10,47): EntryFlowPageCO not found in class oracle.apps.ap.oie.entry.summary.webui.FinalReviewPageCO in class indus.oracle.apps.ap.oie.entry.summary.webui.IndusFinalReviewPageCOXX.
I already drag the class file of EntryFlowPageCO in path myclasses\oracle\apps\ap\oie\entry\summary\webui
and import the file. but the error remains same..after that I compile the class file of EntryFlowPageCO and found one more CO imports in EntryFlowPageCO. I drag class file of that CO also in appropriate path.. But still get the same error.
Pls give me the solution ASAP.
Thanks
Amit Jaitly
Amit,
In the standard CO you can check that controller EntryFlowPageCO is not under myclasses\oracle\apps\ap\oie\entry\summary\webui.
Its under oracle/apps/ap/oie/entry/webui so put the same under this directory structure.
Regards,
Gyan
Similar Messages
-
Method init not found in class oracle.apps.fnd.cp.request.C
Hi all,
I am reffering to Oracle Application Framework Developers Guide Release
11.5.10 RUP3 December 2, 2005
As given in the document (page 275) Concurrent Processing: Request Submission
and Monitoring ,I want the Concurrent Processing Request Submission and Monitoring user interfaces available on my OA Framework-based pages.
I have followed the steps given in the OADevGuide but when the custom CO
is compiled it gives following error.
method <init> not found in class oracle.apps.fnd.cp.request.ConcurrentRequest.
The import statement in our code is as followed
import oracle.apps.fnd.cp.request.ConcurrentRequest;
import oracle.apps.fnd.cp.request.RequestSubmissionException;
wheather I have to open a SR on metalink asking for an updated file ConcurrentRequest.class ?
Thanks in advance,
Anant.Hi All,
Thanks Prabhat for that update.
Thanks tapashray cause u r update on thread Apply not being caught in debugger helped me a lot.
Right now I am facing a different problem.
On click of submit button The page gets called but it gives error as
oracle.apps.fnd.framework.OAException: Could not load application module 'oracle.apps.fnd.cp.srs.server.RequestAM'.
In myprojects folder under oracle dir at reqd path I have this AM .
Whether I need to add the bc4j pkg "oracle.apps.fnd.cp.srs.server.RequestAM" in my project . I dont think so as I am not extending any class/VO or doing any substitution.
my code is as followed
public void processFormData(OAPageContext pageContext, OAWebBean webBean)
System.out.println("Inside ProcessFormData");
if (pageContext.getParameter("Submit")!= null )
System.out.println("Inside Submit ");
try
// get the JDBC connection
OAApplicationModule am = pageContext.getApplicationModule(webBean);
//Connection conn = (Connection)am.getOADBTransaction();
OADBTransaction conn = am.getOADBTransaction();
System.out.println("OADBTransaction conn "+conn);
ConcurrentRequest cr = new ConcurrentRequest(conn.getJdbcConnection());
System.out.println(" ConcurrentRequest cr "+cr);
cr.setDeferred();
// call submit request
Vector param = new Vector();
String selectedValue = pageContext.getParameter("reportList");
System.out.println("selectedValue -> "+selectedValue);
param.add(selectedValue);
System.out.println("before cr.submitRequest ");
int reqId = cr.submitRequest("SQLGL", "RGFSGXML", "Run FSG and XML Publisher",null, false, param);
// int reqId = cr.submitRequest("SYSADMIN", "FNDSCURS", "User Responsibility Report",null, false, param);
System.out.println("After cr.submitRequest reqId "+reqId);
conn.commit();
System.out.println("After commit");
// redirect page to Request Scheduling page
HashMap parameters = new HashMap();
String url = "OA.jsp";
parameters.put("akRegionApplicationId", "0");
parameters.put("akRegionCode", "FNDCPPROGRAMPAGE");
String id = "" + reqId + "";
parameters.put("requestMode", "DEFERRED");
parameters.put("requestId", id);
System.out.println("before page forward ");
pageContext.setForwardURL("BSE_CONC_REQUEST"
,OAWebBeanConstants.KEEP_MENU_CONTEXT
,null
,parameters
,true
,OAWebBeanConstants.ADD_BREAD_CRUMB_NO
,OAWebBeanConstants.IGNORE_MESSAGES);
catch(RequestSubmissionException reportError)
System.out.println("RequestSubmissionException raised "+reportError.getStackTrace());
catch(SetDeferredException deferred)
System.out.println("SetDeferredException raised "+deferred.getStackTrace());
super.processFormData(pageContext,webBean);
Hope I have given all the details.
Regards,
Anant.
Message was edited by: Removed the error stack so that thread details remain on the same page
Anant -
Class oracle.sql.OPAQUE not found in class oracle.xdb.XMLType
I have the following code written in java in a unix box and this is the error I get when compiling the code. I am not able to find which specific jar or class file I need, Kindly help.
XMLHelper.java:0: Class oracle.sql.OPAQUE not found in class oracle.xdb.XMLType.
^
1 error
OracleResultSet orst = .... some code to get data
orst.next();
//either of the following 2 lines give the same error
//XMLType dXml = XMLType.createXML(orst.getOPAQUE(1)) ;
XMLType dXml = (XMLType)orst.getObject(i);
xmlDoc = dXml.getDOM();
Please helpHello,
from the little information in your post i would say try to import oracle.sql.*, oracle.jdbc.* and oracle.xdb.*. Make sure your project can access the following libraries ojdbc14.jar and xdb.jar.
Regards, Marc -
Java concurrent program class not found Exception in oracle apps
Hi all,
I done java concurrent program as per steps given by oracle.I am getting class not exception when i am submitting that concurrent program.
My java file is under $JAVA_TOP specified folder.Those path from $JAVA_TOP i set in apps (System Adminstrator -->Executable) Execution file path.Can any body have faced this issue?
ThanksAlso go through the metalink Note:250964.1
It goes through the complete process of creating a sample java conc process and implementing it.
--Shiv -
Method not found in class errors when compiling project
Hi,
I am getting the following errors when compiling my project:
Error(3,8): ReqLinesNotificationsVORowImpl not found
Error(25,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(31,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(37,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(43,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(49,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(55,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(61,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(67,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(67,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(79,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(85,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(91,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(97,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(103,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(109,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(115,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(121,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(127,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(133,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(139,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(145,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(151,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(157,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(163,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(169,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(175,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(181,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(187,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Date) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(193,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(199,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Date) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImplError(205,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
I have ReqLinesNotificationsVORowImpl and ReqLinesNotificationsVOImpl files in myprojects directory. Can anyone help please?
ThanksHi,
From the error it seems that the code is refering ReqLinesNotificationsVOExRowImpl file.
Please make sure that its class file is present in myclasses folder.
Since u have mentioned that ReqLinesNotificationsVORowImpl is already placed in myclasses folder. Hope this should resolve your issue.
Regards,
Raj Papdeja -
I am trying to send concurrent request (XML publisher report) through OAF controller.
But I get next error when compile it:
Error(46,20): method addLayout(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) not found in class oracle.apps.fnd.cp.request.ConcurrentRequest
Below the sample of code.
Please, help me to find a root of cause
package xxcust.oracle.apps.ap.oie.webui;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.jdbc.OracleCallableStatement;
import java.util.Vector;
import oracle.apps.fnd.cp.request.ConcurrentRequest;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.server.OADBTransaction;
public class xxMyPrintCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
{ super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OADBTransaction tx = am.getOADBTransaction();
java.sql.Connection pConncection = tx.getJdbcConnection();
ConcurrentRequest cr = new ConcurrentRequest(pConncection);
int xxRequestId = 0;
// concarent parameters
String xxp_type = null;
String applnName = "SQLAP";
String cpName = "XXKVP_KO1";
String LayName = "XXKVP_KO1";
String cpDesc = null;
try
cr.addLayout("PER",LayName,"ru","RU","PDF");
catch(Exception e)
{throw new OAException("addLayout -" + e.getMessage(), (byte)0);
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
}it was a bug described in doc [ID 1360914.1]
JBO-29000 java.lang.NoSuchMethodError When Calling oracle.apps.fnd.cp.request.ConcurrentRequest.addLayout [ID 1360914.1] -
Compiler error "oracle.xml.parser.v2.XMLElement" not found in class com.oracle.demos......?
I am currently testing a simple sample application with a java code similar to the one shown at
the bottom of this post.
However during deployment/compilation the compiler gives an error:
Error(26,23): XMLElement not found in class com.oracle.demos.orderbooking.ApproveImpl
Additionally similar other errors appear:
Error(23,66): JAXBException not found in class com.oracle.demos.orderbooking.ObjectFactory
Error(51,58): UnmarshalException not found in class com.oracle.demos.orderbooking.ObjectFactory
Error(9,92): Element not found in interface com.oracle.demos.orderbooking.Approve
What's wrong?
It seems to me that I have to add some (more) *.jar files/libraries to the project?
Which *.jars and where should I add them in JDeveloper?
source code:
package com.oracle.demos.orderbooking;
public class ApproveImpl extends com.oracle.demos.orderbooking.ApproveTypeImpl implements com.oracle.demos.orderbooking.Approve
public ApproveImpl(oracle.xml.parser.v2.XMLElement node)
super(node);
}Hai James this the response I am getting can you please tell what should I write inside ora:getNodeValue() to get the value of node <genReturnText>
The drag and dropping the variable name is not working, I have to write the path manually but I dont know how.
<ns1:getRoutingAndFrameJumpersResponse xmlns:ns1="com.NetworkInstallations">
-<com.GetRoutingAndFrameJumpersOutput>
<destination>
SW
</destination>
<e2EData>
busProcOriginator
</e2EData>
<genReturnCode>
40777
</genReturnCode>
<genReturnText>
EMW_Get_Routing_And_FrameJumpers_Succeeded
</genReturnText>
<supplCode>
ISY002
</supplCode>
<supplText>
Transaction successfully completed.
</supplText>
<severityCode>
S
</severityCode>
<retriable>
false
</retriable>
</com.GetRoutingAndFrameJumpersOutput>
</ns1:getRoutingAndFrameJumpersResponse> -
Newbie:( error "Variable not found in class" help ppls
Hello, making a program for school having a problem with my code
because i am combining and modifying programs to suit my requirements,
the error is as follows
Error:(185) variable EXIT_ON_CLOSE not found in class javax.swing.JFrame
can anyone give me some idea's on how to fix this or where i have gone wrong have i left something vital out?
thanksHello, making a program for school having a problem
with my code
because i am combining and modifying programs to suit
my requirements, Script kiddie. I see. Bad approach.
the error is as follows
Error:(185) variable EXIT_ON_CLOSE not found in class
javax.swing.JFrame
can anyone give me some idea's on how to fix this or
where i have gone wrong have i left something vital
out?Weird error, since EXIT_ON_CLOSE is defines in JFrame. Are you using an IDE? Save, clean, rebuild. Make sure you imported the class, too. -
Methods not found in class ! HELP !
Dear java People,
I am trying to draw, move, and erase balls in a ArrayList. I get an error message that says:
"BallDemo.java": Error #: 300 : method draw() not found in class java.lang.Object at line 126,
"BallDemo.java": Error #: 300 : method move() not found in class java.lang.Object at line 132
"BallDemo.java": Error #: 300 : method erase() not found in class java.lang.Object at line 138
below are the lines causing the errors and the method with the problem code
Thank you in advance
Stan
public void bounce()
int ground = 400; // position of the ground line
int numberOfBalls = 0;
myCanvas.setVisible(true);
ArrayList balls = new ArrayList();
// draw the ground
myCanvas.drawLine(50, ground, 550, ground);
//ex 5.50 (a)
System.out.println("Type in the number of balls you would like to see bouncing and hit enter");
numberOfBalls = input.readInt();
//(b)
for(int i = 0; i < numberOfBalls; i++)
//(c) (d)
Random rg = new Random(255);
BouncingBall newBall = new BouncingBall(i + 15, 0, 16, new Color(rg.nextInt(255),rg.nextInt(255),rg.nextInt(255)), ground, myCanvas);
//add the ball to the ArrayList object
balls.add(newBall);
for(int i = 0; i < numberOfBalls; i++)
balls.get(i).draw();
// make them bounce
boolean finished = false;
while(!finished) {
myCanvas.wait(50); // small delay
balls.get(i).move();
// stop once ball has travelled a certain distance on x axis
// if(ball.getXPosition() >= 550 && ball2.getXPosition() >= 550)
finished = true;
balls.get(i).erase();
}balls.get(i).draw();
balls.get(i).move();
balls.get(i).erase();I actually caught this error myself !
I must be improving !
Cheers
Stan -
Variable not found in class....?????
package untitled1;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class Applet1 extends Applet
Button knop1, knop2, knop3;
TextField tekstvakje;
Font opmaak1, opmaak2, opmaak3;
public void init()
knop1 = new Button("knop 1");
knop1.addActionListener(new Knop1Handler());
knop2 = new Button("knop 2");
knop2.addActionListener(new Knop2Handler());
knop3 = new Button("knop 3");
knop3.addActionListener(new Knop3Handler());
tekstvakje = new TextField("test",10);
opmaak1 = new Font("Serif", Font.BOLD, 10);
opmaak2 = new Font("Serif", Font.ITALIC, 15);
opmaak3 = new Font("Serif", Font.PLAIN, 20);
add(knop1);
add(knop2);
add(knop3);
add(tekstvakje);
class Knop1Handler implements ActionListener
public void actionPerformed(ActionEvent e)
tekstvakje.setFont(opmaak1);
class Knop2Handler implements ActionListener
public void actionPerformed(ActionEvent e)
tekstvakje.setFont(opmaak2);
class Knop3Handler implements ActionListener
public void actionPerformed(ActionEvent e)
tekstvakje.setFont(opmaak3);
error message:
"Applet1.java": Error #: 300 : variable opmaak1 not found in class untitled1.Knop1Handler at line 38, column 28
"Applet1.java": Error #: 300 : variable tekstvakje not found in class untitled1.Knop1Handler at line 38, column 9
"Applet1.java": Error #: 300 : variable opmaak2 not found in class untitled1.Knop2Handler at line 45, column 28
and so on........
what's the reason he don't fount this variables??? the KnopHandlers are a subclass fromm Applet so I don't understand the subclass can't find the variables....
sorry for this stupid question, but I just started with making Object Orientated code.moi,
Ten eerste is Knop1Handler geen subclass van Applet maar van Object. Alle classen erfen van object of een subclass van Object.
Ik neem aan dat Knop1Handler een aparte class is in een apart bestand. Dan kan hij nooit attribute van Applet1 gebruiken. Dat gaat enkel via inner classes.
Je kan verschillende dingen doen:
je maakt de Knop1Handler class een inner class wat in dit geval de mooiste oplossing is.
je verplaatst Font opmaak1 naar class Knop1Handler.
je maakt Font opmaak1 static en roept in class Knop1Handler Applet1.opmaak1. wat een slechte oplossing is -
Error: variable XMLInterface not found in class
Hi,
I am creating an XML Publisher Report Output from OAF Page.
This is my code in CustAM
public void initSunReportVO()
SunReportVOImpl vo = getSunReportVO1();
if(vo == null)
MessageToken errTokens[] = {
new MessageToken("OBJECT_NAME", "SunReportVO1")
throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
} else
vo.executeQuery();
public void getSunReportDataXML()
try {
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
OAViewObject vo = (OAViewObject)findViewObject("SunReportVO1");
((XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS)).print(outputStream);
System.out.println(outputStream.toString());
catch(Exception e)
throw new OAException (e.getMessage());
I am getting the following errors.
Error(1608,27): variable XMLInterface not found in class XXX.oracle.apps.po.requisition.server.custamImpl
Could anyone help me how to resolve the above issues.
Thanks in Advance.
SruthiHi,
WebExpensesAMImpl$ExpenseTypeAmount is an inner class that you cannot access from outside of the class in which it is specified
Frank -
Hi , when i try to run my program, i keep getting the error msg:
Error(23,19): method getName(java.lang.String) not found in class javax.swing.JTextField
I have checked the java API and it inherits from the awt.Component class and should be accessible via the jtextfield.
I have tried the following:
trying to initailise the JTextField at the start.
Using getName works if i use it within the loop after setting the name.
Does anybody know what i am doing wrong please?
public class clsMember extends JPanel implements ActionListener {
private JButton jbtnLog;
private String surname;
private JTextField txtItem;
public clsMember() {
super(new SpringLayout());
makeInterface();
surname = txtItem.getName("Surname").toString();
private void makeInterface() {
//code omitted
for (int i = 0; i < numpairs; i++) {
JLabel l = new JLabel(strLabels, JLabel.LEADING);
this.add(l);
//if the array item is salutation create a combobox
if (strLabels[i] == "Salutation") {
jcomSalutation = new JComboBox(strSalutation);
jcomSalutation.setSelectedIndex(0);
this.add(jcomSalutation);
} else {
txtItem = new JTextField(10);
l.setLabelFor(txtItem);
txtItem.setName(strLabels[i].replaceAll(" ", "")); //this is where the label is set and if i do a system.out it shows fine. getName works here too.
this.add(txtItem);
//code omittedIf i have a loop that creates the jtextfields such as
txtItem = new JTextField(10);
l.setLabelFor(txtItem);
txtItem.setName(strLabels.replaceAll(" ", ""));
this.add(txtItem);How is it then possible to assign to a string the value of a *specific jtextfield*. Lets say that one of these JTextfields has the name surname.
How is it possible for me to writeString surname = surnamejtextfield.getText(); -
Variable Not Found in Class Error
I have a project which I organized the source in 4 packages. I have 4 source programs which use an external class which I don't have the source. So I imported the class and brought a copy of the class straight under the classes directory. Via "Project Properties" I modified the "Profiles + Development + Path" with the pass of this added class into the "Additional Classpath:" section. When I compile I'm getting this error: "Error(765,18): variable InfraAPI not found in class com.eds.soc.common.SocSharesEvent". It is not finding the InfraAPI.class that I imported. What am I doing wrong?
You might want to use the JDeveloper library mechanism for this.
Create a JAR with the files you need, then in project properties->libraries add this jar. -
"method not found in class " error message !
Dear People,
I have an error message that says:
"Clerk.java": Error #: 300 : method doTransaction(stan_ch15p622.Transaction) not found in class stan_ch15p622.Bank at line 36, column 12
below is the Clerk class of the program.
doTransaction() is defined below the constructor and is called at the
bottom of the class.
Thank you in advance
Stan
package stan_From_Ivor_Horton_ch15p622;
public class Clerk implements Runnable
private Bank theBank; // the employer. who the clerk works for
private Transaction inTray; //holds a transaction
public Clerk(Bank theBank)
this.theBank = theBank;
inTray = null; // no transaction initially
//receive a transaction
public void doTransaction(Transaction transaction)
inTray = transaction;
//The working clerk...
public void run()
while(true) // no transaction waiting ?
while(inTray == null)
try
Thread.sleep(150); // then take a break
catch(InterruptedException e)
System.out.println(e);
theBank.doTransaction(inTray);
inTray = null;
//you can check whether a clerk is busy by calling the isBusy() member
// it returns true if the transaction is strill in progress
public boolean isBusy()
return inTray != null;
}Dear Hambone3,
Due to your help I was able to correct my error. I mispelled the
method in the Bank class. I wrote "toTransaction" instead of
"doTransaction".I have alwyas had a hard time interrpreting the
error messages literally because many times I don't see the
connection between the message and the error. Cold water over
the brain is sometimes what I need.
God bless you.
Stan -
I have uploaded my Application which was running fine in other IDE to jdev 10.1.3, when i compile the follwing error error in jsp page.
Error(400,8): method include(java.lang.String, boolean) not found in class javax.servlet.jsp.PageContext
My jsp code where error is shown is
<jsp:include page="querySections/generation.jsp" flush="true">
<jsp:param name="TSN" value="<%=strParamValue[1]%>"/>
<jsp:param name="SectionID" value="<%=String.valueOf(lngSectionID)%>"/>
</jsp:include>
pl help me in solving this its urgent...
Thanks & Regards
LakshmiHi,
code snippet looks okay and is identical with what JDeveloper generates.
Frank
Maybe you are looking for
-
Installed Adobe Creative Suite 6 Design on a Computer That No Longer Works
I purchasesd a copy of Adobe Creative Suite 6 Design & Web Premium for school a while ago and had it on my laptop. Recently, my computer wont start up, i just wont work. I had no idea it was going to happen, so I didn't have the chance to uninstall i
-
Can IFS be set up so that new files inherit the ACL of the folder they are created in
I realise that a file created or saved in IFS takes on the ACL of the User who created it. This is fine if users always save items into the same folders or belong to a single group. However, it causes problems when users need to save different items
-
IPod Touch 2G with Firmware 3.1.2 and audiobook troubles
I was using firmware 3.1.1, listening to an audiobook with no issues (audiobook was imported as mp3 files from multiple CD's - the media type was changed in bulk to Audiobook under the options tab). The book flowed fine from mp3 to mp3, in order. The
-
My newish MacBook Air was just lost to a coffee spill, and I need to migrate back to my MacBook Pro using a recent back-up (Time Machine to external disk) for a few weeks. This same disk was used to back-up the Pro earlier, and to migrate from the P
-
Basic question about configuring WRT54GX4
OK - here's the situation. I've got a couple of static IP addresses from my ISP. My LinkSys WRT54GX4 is using one. I want to connect two computers to the internet: first, a WinXP laptop, which I'd like to connect wirelessly; second, a Linux machine,