ATP first come, first served

Hi,
According to the ATP documentation orders should be promised by ATP on first-come-first-serve basis.
Which criteria will determine which orders are first: will this be done with the creation date of the order line, the request date of the order line or the date the line is scheduled?
Regards,
Jan

Hi Jan,
Its the date when someone trys to schedule the order. During that time sales order can use all the available supply to meet the requested date.
Regards,
Deepak

Similar Messages

  • Lync 2013 On Prem - Front End Pool - Second server in pool becomes unavailable when first server is offline

    We have one front end pool, that contains 2 front end servers running Lync Server 2013.
    When the first server, LFE01 goes offline (to be restarted for instance), the second front end server LFE02 in the same pool's Lync services will suddenly stop and will refuse to start until LFE01's Lync services have started again.
    During this time, the Lync client will go from full functioning mode whilst LFE01 is up and running, to reduced functionality (when LFE01 is restarting), to the user being signed out of Lync and not able to log back in. As soon as LFE01 comes back up, users
    can log back in to Lync.
    We'd ideally like LFE02 to take over the front end server role whilst LFE01 is restarting, and vice-versa.
    Checking the event logs on LFE02, I can see the following errors when LFE01 is offline:
    This process was not able to update its health status
    The Audio-Video Conferencing Server failed to send health notifications to the MCU factory at https://frontendpool.contoso.com:444/liveserver/mcufactory/. 
    Failure occurrences: 30, since 7/11/2013 3:40:38 PM.
    Cause: Either the Front End service is not running, or poor network connectivity.
    Resolution:
    Verify that the Front End Service is available, and its machine is visible over the network.
    This process was not able to update its health status
    The IM Conferencing Server failed to send health notifications to the MCU factory at https://frontendpool.contoso.com:444/liveserver/mcufactory/. 
    Failure occurrences: 30, since 7/11/2013 3:40:42 PM.
    Cause: Either the Front End service is not running, or poor network connectivity.
    Resolution:
    Verify that the Front End Service is available, and its machine is visible over the network.
    Server startup is being delayed because fabric pool manager is initializing.
    Cause: This is normal when Pool is bootstrapped and indicates that the Front-End is waiting for a quorum of other Front-Ends to be started.
    Resolution:
    If this event recurs persistently, ensure that 85% of the Front-Ends configured for this Pool are up and running. For 2 or 3 machine Pools, initial cold-start of the Pool requires all machines to be started. If multiple Front-Ends have been recently
    decommissioned, run Reset-CsPoolRegistrarState -ResetType QuorumLossRecovery to enable the Pool to recover from Quorum Loss and make progress.
    Does the first server in the pool need to be up at all times for the second server to be running? If so, I may need to re-plan my redundancy.

    I can't believe how inaccurate these statements are. 
    Yes as per Microsoft it is best practice to have 3 FE in a pool but that absolutely does not mean that if you have 2 FE server in a pool that your pool will stop working!!
    In case when you do have 2 FE servers in a pool your Back End primary database server will act as a vote to keep the quorum for single server still left in a pool and all your clients will keep operating in a pool with one FE still running. 
    The problem with having 2 FE in a pool as per Microsoft documentation is as follows:
    If one of the two Front End Servers goes down, you should try to bring the failed server back up as soon as you can. Similarly, if you need to upgrade one of the two servers, bring it back
    online as soon as the upgrade is finished.
    If for some reason you need to bring both servers down at the same time, do the following when the downtime for the pool is finished:
    The best practice is to restart both Front End Servers at the same time.
    If the two servers cannot be restarted at the same time, you should bring them back up in the reverse order of the order they went down.
    If you cannot bring them back up in that order, then use the following cmdlet before bringing the pool back up:.
    http://technet.microsoft.com/en-us/library/gg412996.aspx
    I tested this in my environment which I currently am running with 2 FE servers and I can categorically confirm that pool will continue operating. 
    However, with all this said I did notice that clients with connection to FE server that is shut down take anywhere from 2-9 min to reconnect. I was trying to figure out why such a long delay until clients reconnect. Possibly it might be because there are
    2 FE servers in a pool and Back End server is taking a while to vote in turn delaying auto reconnect process for clients. Second possibility that I'm looking into is that we deployed HLB for sip traffic internally as well and I'm curious if using DNS LB would
    fix this delay.
    I'm just so disappointed how inaccurate some of these accepted answers above are.

  • Dreamweaver previews first Server Side Include Only (SSI)

    Dreamweaver CC and 2014 preview the first Server Side Include (SSI) only, even if the Adobe extension is installed (Using the SSI extension in Dreamweaver to create page headers | Adobe Developer Connection)
    How do I set Dreamweaver to preview multiple (more than one) SSI's?
    Example Code:
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    </head>
    <body>
    <!--#include virtual="/content.shtml" -->
    <!--#include virtual="/content2.shtml" -->
    </body>
    </html>
    The code above will preview the text in "Content.shtml" but will not display the text in "content2.shtml".
    For troubleshooting purposes, I have reduced the content in each file to only single lines of basic text.
    Please advise. Thanks.
    Update:
    Dreamweaver Live View will show all of the server side includes. However the "Design View" and "Preview in Browser" will only show the one ssi.
    The following Preference settings are enabled:
    -Preview using temporary file
    -Show contents of included file
    Update 2:
    I discovered that server side includes have been removed from the Dreamweaver interface, inferred from this article: A Look at the Modernized Dreamweaver CC : Adobe Dreamweaver Team Blog. If Server Side Includes were removed, can they be added again using the Server Behavior extension?

    The issue is fixed in Dreamweaver 2014.1

  • Setting my First Server help/ Guide!!

    Hi All ,
    Setting up my first Server normally i would have My WAN Goes into my router then from my router into my Server with 2 Nics which then i use Routing and remote access to Create a NAT and shaire my internet connection through my server Spreading on my Private
    LAN using RRAS. i have only one server acting has DC, DNS and DHCP, ive been told that i should not have my internet pass through my server instead through my switch , but i am confuse has to how i am going to get my internet to broadcast on my Private LAN
    Without going through my server first or using routing and Remote access (NAT).
    I would appreciate anyone can help me out with this , thank you
    Paul

    Hi,
    I think Bill has given the unambiguous solution.
    In all my years as an administrator of an internet data center, networking Architecture is flexible. Network schema is always changed for meeting  a variety of needs. There isn’t an only standard for it.
    In your case, the solution which is given by Bill works best for you.
    In addition, if there is any misunderstanding, please let us know what you would like to achieve.
    Steven Lee
    TechNet Community Support

  • Caught "com.evermind.server.rmi.OrionRemoteException" while attempting to find all De

    I am getting the following error while running JSP. Can anyone guide me.
    Caught "com.evermind.server.rmi.OrionRemoteException" while attempting to find all DepartmentBean entries.
    com.evermind.server.rmi.OrionRemoteException: Database error: Io exception: The Network Adapter could not establish the connection; nested exception is: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Add entry
    I have doubt in
    My rmi.xml file
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE rmi-server PUBLIC "Orion RMI-server" "http://xmlns.oracle.com/ias/dtds/rmi-server.dtd">
    <rmi-server port="23791" >     
         <!-- A remote server connection example -->
         <!-- <server host="the.remote.server.com" username="adminUser" password="123abc" /> -->
    <!--     <server host="169.254.162.207" username="admin" password="welcome" /> -->
    <!--     <server host="prg-fg9s9g12dnz" username="admin" password="welcome" /> -->
         <!-- path to the log-file where RMI-events/errors are stored -->
         <log>
              <file path="../log/rmi.log" />
         </log>
    </rmi-server>
    If I give server host line My oc4j server is NOT initialized.
    In My Data Sources file :
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="jdbc/DBConnection"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/DBConnection"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="RajiveShukla"
              password="pujavrms1"
              url="jdbc:oracle:thin:@localhost:1521:wbs"
              inactivity-timeout="30"
         />
    And JSP which I run is :
    <%
    * list.jsp
    * Lists all the entries stored through EmployeeBean. This JSP is the only JSP
    * that will actually connect to the entity bean. On success, it will save a
    * reference to the entity bean in the session. So there will be one reference
    * to the bean per session.
    %>
    <%@ page import="com.webstore.*,java.io.*,java.net.*,java.util.*,javax.naming.*,javax.rmi.*" %>
    <%
    // Make sure this page will not be cached by the browser
    response.addHeader("Pragma", "no-cache");
    response.addHeader("Cache-Control", "no-store");
    // We will send error messages to System.err, for verbosity. In a real
    // application you will probably not want this.
    PrintStream errorStream = System.err;
    // If we find any fatal error, we will store it in the "error" variable. If
    // an exception is caught that corresponds with this error message, then we
    // will store it in the "exception" variable.
    String error = null;
    Exception exception = null;
    // First check if the reference to the EJB is already stored in the session.
    DepartmentHome home = (DepartmentHome) session.getAttribute("DepartmentHome");
    // If not, then attempt to get the initial JNDI context.
    if (home == null) {
    // When attempting to connect to JNDI, we store the reference to the
    // initial JNDI context in this variable. We will use it to lookup the
    // entity bean.
    Context context = null;
    try {
    context = new InitialContext();
    } catch (Exception e) {
    exception = e;
    error = "Caught \"" + exception.getClass().getName() + "\" while " +
    "attempting to create the initial JNDI context.";
    errorStream.println(error);
    exception.printStackTrace(errorStream);
    // We have specified "EmployeeBean" in the web.xml file as the name
    // by which we would like to contact the EmployeeBean home interface. We will
    // have to prepend "java:comp/env/", the root `directory' for enterprise
    // beans.
    //final String location = "java:comp/env/DepartmentBean";
    if (error == null) {
    try {
    // Attempt to lookup an object at the specified location in the JNDI
    // context.
    //Object boundObject = context.lookup(location);
    Object boundObject = context.lookup("Department");
    // Try to convert it to an instance of EmployeeBean, the home
    // interface for our bean.
    home = (DepartmentHome) PortableRemoteObject.narrow(boundObject,
    DepartmentHome.class);
    // If we got this far, we've done it, let's save the reference to the
    // Employee home interface in the session for future use by both
    // this page and the other JSP pages.
    session.setAttribute("DepartmentHome", home);
    } catch (Exception e) {
    exception = e;
    error = "Caught \"" + exception.getClass().getName() + "\" while " +
    "attempting to lookup the Department bean at \"" + "\".";
    //location + "\".";
    errorStream.println(error);
    exception.printStackTrace(errorStream);
    // This is the variable we will store all records in.
    Collection recs = null;
    if (error == null) {
    try {
    recs = home.findAll();
    } catch (Exception e) {
    exception = e;
    error = "Caught \"" + exception.getClass().getName() + "\" while " +
    "attempting to find all DepartmentBean entries.";
    errorStream.println(error);
    exception.printStackTrace(errorStream);
    // Decide what the title will be.
    String title;
    if (error != null) {
    title = "Error";
    } else {
    title = "com.webstore | List of entries";
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
    <HTML>
    <HEAD>
    <TITLE><%= title %></TITLE>
    </HEAD>
    <BODY bgcolor="#FFFFFF">
    <H1><%= title %></H1>
    <%
    // Display the error message, if any.
    if (error != null) {
    %>
    <P><BLOCKQUOTE><%= error %></BLOCKQUOTE>
    <%
    // Display the exception message, if any.
    if (exception != null) {
    %>
    <P><BLOCKQUOTE><CODE><%= exception %></CODE></BLOCKQUOTE>
    <%
    } /* if */
    } else {
    // If there are no recs to be displayed, display a descriptive text.
    if (recs.size() == 0) {
    %>
    <P><BLOCKQUOTE>No entries found.</BLOCKQUOTE>
    <%
    // Otherwise display a table with all columns, and
    // display two extra choices: "Edit" and "Delete".
    } else {
    %>
    <P><TABLE border="1" width="100%">
    <TR>
    <TD><STRONG>DptNo (long)</STRONG></TD>
    <TD><STRONG>DptName (String)</STRONG></TD>
    <TD><STRONG>Actions</STRONG></TD>
    </TR>
    <%
    Iterator iterator = recs.iterator();
    while(iterator.hasNext()) {
         Department rec = (Department) PortableRemoteObject.narrow(iterator.next(),
    Department.class);
    long dptNo = rec.getDptno();
    String dptName= rec.getDptname();
    // put all pk columns in hashtable for URLEncoding
    Hashtable cols = new Hashtable();
    cols.put("DPTNO",Long.valueOf("dptNo"));
    // URLEncode columns as params to JSP
    StringBuffer buf = new StringBuffer();
    Enumeration params = cols.keys();
    while (params.hasMoreElements()) {
    String param = (String)params.nextElement();
    String value = (String)cols.get(param);
    buf.append(URLEncoder.encode(param) +
    "=" + URLEncoder.encode(value));
    if (params.hasMoreElements())
    buf.append("&");
    String editURL = "dptedit.jsp?" + buf;
    String deleteURL = "dptdelete.jsp?" + buf;
    %>
    <TR>
    <TD><%= dptNo %></TD>
    <TD><%= dptName %></TD>
    <TD><A href="<%= editURL %>">Edit</A> <A href="<%= deleteURL %>">Delete</A></TD>
    </TR>
    <%
    } /* for */
    %>
    </TABLE>
    <%
    } /* else */
    } /* else */
    // Finally display a link to the page that allows the user to add an entry
    // to the address book.
    %>
    <P><TABLE border="1">
    <TR><TD><A href="dptadd.jsp">Add entry</A></TD></TR>
    </TABLE>
    </BODY>
    </HTML>
    Please guide me..

    Hi Avi,
    Thanks,
    I have already used earlier..
    the data-sources file is as under.
         <data-source class="com.evermind.sql.DriverManagerDataSource" name="jdbc/DBConnection" location="jdbc/OracleCoreDS" xa-location="jdbc/xa/OracleXADS" ejb-location="com.webstore.Department" connection-driver="oracle.jdbc.driver.OracleDriver" username="RajiveShukla" password="pxujxa" url="jdbc:oracle:thin:@PRG-FG9S9G12DNZ:1521:wbs" inactivity-timeout="30"/>
    </data-sources>
    The username and password and sid, I can connect in the sqlPlus
    Do we have to give remote server name in rmi.xml.. It is not initilizing the J2EE server if we give that.??
    I am using thin driver , if any change or any settings please write me..
    Thanks in advance..
    Rajive

  • Com.evermind.server.http.HttpIOException: Connection aborted by peer: socke

    Hi
    I get an this stack on the server side while doing a forward using RequestDispatcher.
    com.evermind.server.http.HttpIOException: Connection aborted by peer: socket write error
    at com.evermind.server.http.EvermindServletOutputStream.flushBuffer(EvermindServletOutputStream.java:81)
    at com.evermind.server.http.EvermindHttpServletResponse.flushBuffer(EvermindHttpServletResponse.java:1818)
    at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:52)
    The funniest part is, i get this exception while i submit the request second time i get this error.. First time it works fine. :)
    ANy solution on this would be greatly appreciated.
    Thanks
    Manju

    Hi!
    I posted a TAR on metalink for this "read timed out" problem. This is the answer I got:
    apparently the messages that you listed seem refer to a problem in reading request data from the client - so the HttpIOException is triggered.
    I have made a little research on HttpIOException in request-reading context. There are only
    two situations in which HttpIOException can be raised without an causing IOExce
    ption, and I think none of them applies. So we'd have some kind of IOException t
    hat causes the HttpIOException. It might well be a SocketException, because the
    text "Read timed out" is as far as I know the standard text for SocketException
    if the socket's SoTimeout has been reached.
    In fact there is a configuration parameter for OC4J (though undocumented), which allows you to set the Socket's SoT
    imeout -- and the default is 15000 (measured in milliseconds). The name is "orac
    le.j2ee.http.socket.timeout", and it should be available in OC4J 9.0.3.1 and hig
    her (I am definitely sure that it exists in OC4J 9.0.4.1).
    So can you please add something like "-Doracle.j2ee.http.socket.timeout=120000" to the startup comma
    nd for your standalone OC4J container to increase the timeout from 15 seconds to
    2 minutes?
    It helped us, although some requests time out "normally" instead.
    /jonas

  • I am trying to set up my Yahoo account on an iPhone 4.  Error comes up "Server Unavailable.  Please try again later."

    I am trying to set up my Yahoo account on my new iPhone 4.  An error message comes up "Server Not Available.  Please try again later."  It worked for my gmail account, but not Yahoo.

    I just discover
     ed that all you need to do is change you yahoo password from your computer and then set it up on your iphone.  That's it

  • Java.lang.NullPointerException at com.evermind.server.ObjectReferenceCleane

    I am getting the below error when the server is started. Can any one let me know why do we get this error?
    13/01/13 23:33:28.432 10.1.3.5.0 Started
    13/01/14 00:46:53.915 Internal server error
    java.lang.NullPointerException
    at com.evermind.server.ObjectReferenceCleaner.resetApplicationLogger(ObjectReferenceCleaner.java:260)
    at com.evermind.server.ObjectReferenceCleaner.cleanupApplicationLogger(ObjectReferenceCleaner.java:167)
    at com.evermind.server.ObjectReferenceCleaner.loaderDestroyed(ObjectReferenceCleaner.java:94)
    at oracle.classloader.EventDispatcher.loaderDestroyed(EventDispatcher.java:254)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1187)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1126)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1069)
    at com.evermind.server.ApplicationStateRunning.destroyClassLoaders(ApplicationStateRunning.java:1201)
    at com.evermind.server.Application.stateCleanUp(Application.java:3766)
    at com.evermind.server.Application.destroy(Application.java:802)
    at com.evermind.server.ApplicationServer.destroyApplications(ApplicationServer.java:2337)
    at com.evermind.server.ApplicationServer.destroy(ApplicationServer.java:2124)
    at com.evermind.server.ApplicationServerShutdownHandler.run(ApplicationServerShutdownHandler.java:93)
    at java.lang.Thread.run(Thread.java:662)
    13/01/14 00:48:42.413 10.1.3.5.0 Started

    I am getting the below error when the server is started. Can any one let me know why do we get this error?
    13/01/13 23:33:28.432 10.1.3.5.0 Started
    13/01/14 00:46:53.915 Internal server error
    java.lang.NullPointerException
    at com.evermind.server.ObjectReferenceCleaner.resetApplicationLogger(ObjectReferenceCleaner.java:260)
    at com.evermind.server.ObjectReferenceCleaner.cleanupApplicationLogger(ObjectReferenceCleaner.java:167)
    at com.evermind.server.ObjectReferenceCleaner.loaderDestroyed(ObjectReferenceCleaner.java:94)
    at oracle.classloader.EventDispatcher.loaderDestroyed(EventDispatcher.java:254)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1187)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1126)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1069)
    at com.evermind.server.ApplicationStateRunning.destroyClassLoaders(ApplicationStateRunning.java:1201)
    at com.evermind.server.Application.stateCleanUp(Application.java:3766)
    at com.evermind.server.Application.destroy(Application.java:802)
    at com.evermind.server.ApplicationServer.destroyApplications(ApplicationServer.java:2337)
    at com.evermind.server.ApplicationServer.destroy(ApplicationServer.java:2124)
    at com.evermind.server.ApplicationServerShutdownHandler.run(ApplicationServerShutdownHandler.java:93)
    at java.lang.Thread.run(Thread.java:662)
    13/01/14 00:48:42.413 10.1.3.5.0 Started

  • Com.evermind.server.http.HttpIOException: There is no process to read data

    Hi,
    In one of our web application deployed in OC4J( Oracle9ias 9.0.2.3) containers we are getting "com.evermind.server.http.HttpIOException: There is no process to read data written to a pipe." Exception.
    The Stack Trace:
    com.evermind.server.http.HttpIOException: There is no process to read data written to a pipe.
         at com.evermind.server.http.EvermindServletOutputStream.flush(EvermindServletOutputStream.java(Compiled Code))
         at java.io.OutputStreamWriter.flush(OutputStreamWriter.java(Compiled Code))
         at java.io.OutputStreamWriter.close(OutputStreamWriter.java(Compiled Code))
         at com.ramco.security.servlet.Dispatcher.sendResponse(Dispatcher.java(Inlined Compiled Code))
         at com.ramco.security.servlet.Dispatcher.service(Dispatcher.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java(Compiled Code))
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
         at java.lang.Thread.run(Thread.java:513)
    Can anyone help us in resolving this issue?
    Regards,
    Suresh.M

    Hi,
    No... It is yet to be resolved.
    Oracle Recommends us to go to 10g ( at least 9.0.4 ) to check the issue.
    Thanks and Regards,
    Suresh.M

  • Got Error Like::com.evermind.server.ejb.TimeoutExpiredException.

    Hi,
    I have one big application in which we are using oracle9iAS and EJB. While I am searching some data which returns more than 15000 rows then I got Followed Error.
    I use,
    Front End ::Swing
    Middle Ware ::EJB
    Application Server ::OC4J 9i
    com.evermind.server.ejb.TimeoutExpiredException: timeout expired waiting for an instance
    at com.evermind.server.ejb.EntityEJBHome.getContextInstance(EntityEJBHome.java:309)
    at com.evermind.server.ejb.DBEntityEJBHome.createWrapperInstance(DBEntityEJBHome.java:114)
    at com.evermind.server.ejb.DBEntityEJBHome.getWrapperInstanceNoCache(DBEntityEJBHome.java:108)
    at com.evermind.server.ejb.DBEntityEJBHome.getWrapperInstance(DBEntityEJBHome.java:149)
    at FingdAttrBMHome_EntityHomeWrapper193.findBy_CompleteSQLFinder(FingdAttrBMHome_EntityHomeWrapper193.java:1086)
    at com.fritolay.mware.mf.prd.session.FGItems.FGItemAppSearchBean.approvalSearchMethod(FGItemAppSearchBean.java:1422)
    at com.fritolay.mware.mf.prd.session.FGItems.FGItemSFBean.approvalSearch(FGItemSFBean.java:9713)
    at FGItemSFRemote_StatefulSessionBeanWrapper30.approvalSearch(FGItemSFRemote_StatefulSessionBeanWrapper30.java:1186)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:119)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
    at java.lang.Thread.run(Thread.java:484)
    Error: null:null:ApprovalSearch()->Exception occured in ApprovalBDCSearch found
    Code which produce this error is as follows::
    public Collection ejbFindBy_CompleteSQLFinder(String strSql)
              throws RemoteException, FinderException, ServerSideException {
         methodName = "ejbFindBy_generalCompleteFinder(String strSql)";
         log(SIMPLE_MESSAGE, "\n\rSTARTED");
         Connection con = null;
         Statement stmt = null;
         try {
                   String selectSQL = strSql;
         log(SIMPLE_MESSAGE, "selectSql :\n\r" + selectSQL);
         con = new SqlUtility().getConnection(DATA_SOURCE_NAME);
         stmt = con.createStatement();
         ResultSet rs = stmt.executeQuery(selectSQL);
                                       Vector v = new Vector();
                        while (rs.next()) {
              FingdAttrPK pk = new FingdAttrPK(getValue(rs,this.ITEM_SYS_NBR,"ITEM_SYS_NBR") , getValue(rs,this.CTRY_CODE,"CTRY_CODE") , getValue(rs,this.CO_CODE,"CO_CODE") , getValue(rs,this.FGITEM_ATTR_EFF_DT,"FGITEM_ATTR_EFF_DT"));
                             log(SIMPLE_MESSAGE, "" + pk );
                             v.addElement(pk);
                   }     // End of While
                             log(SUCCESSFULLY_DONE,"successfully done ....");
                        return v;
         catch (SQLException sqle) {
         log(ERROR_OCCURED, "SQL Exception while getting PK " + sqle.getMessage());
         sqle.printStackTrace();
         int iErrorCode = sqle.getErrorCode();
         String sErrorDesciption [] = new String[] {"SQL Exception while getting collection of PK " + sqle.getMessage()};
         ServerSideException sse = new ServerSideException(beanName + methodName,iErrorCode,sErrorDesciption);
         throw sse;
         finally {
         log(SIMPLE_MESSAGE, "releaseResource(Statement) : " + new SqlUtility().releaseResource(stmt));
         log(SIMPLE_MESSAGE, "releaseResource(Connection) : " + new SqlUtility().releaseResource(con));
    So, how i can solve this issue?? is there any setting in .xml files??
    Regards,
    Jignesh Patel

    Thanks to all, The problem solved
    Regards
    Madhu V

  • ClassCastException: com.evermind.server.rmi.OrionRemoteException

    We have resently tried to move our application from OC4J 9.0.3 to the OC4J 9.0.4 preview.
    However when autogenerating data we get the following exception:
    com.evermind.server.rmi.OrionRemoteException: java.lang.ClassCastException: com.evermind.server.rmi.OrionRemoteException
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:275)
         at InstallSession_StatelessSessionBeanWrapper2717.createItemBatchBaseData(InstallSession_StatelessSessionBeanWrapper2717.java:268)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:479)
    at connection to wmsserver/192.168.1.95 as admin
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1499)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1452)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:50)
         at __Proxy1.createItemBatchBaseData(Unknown Source)
         at Sampleinstall.InstallSessionClient2.main(InstallSessionClient2.java:28)
         Nested exception is:
    java.lang.ClassCastException: com.evermind.server.rmi.OrionRemoteException
         at ItemBatchLocalHome_EntityHomeWrapper343.create(ItemBatchLocalHome_EntityHomeWrapper343.java:1063)
         at install.impl.InstallSessionBean.createItemBatchBaseData(InstallSessionBean.java:120)
         at InstallSession_StatelessSessionBeanWrapper2717.createItemBatchBaseData(InstallSession_StatelessSessionBeanWrapper2717.java:254)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:479)
    at connection to wmsserver/192.168.1.95
         at com.evermind.server.rmi.OrionRemoteException.receive(OrionRemoteException.java:130)
         at com.evermind.server.rmi.RMIConnection.handleMethodInvocationResponse(RMIConnection.java:1622)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:406)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:286)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:536)
    Process exited with exit code 0.
    The method which fails is the following method, which is located in an orinary stateless session bean:
    public void createItemBatchBaseData() {
    try{
    ItemBatchLocalHome itemBatchHome = getItemBatchLocalHome();
    ItemLocalHome itemHome = getItemLocalHome(); ItemLocal item = itemHome.findByPrimaryKey("5501");
    System.out.println("Før create "+item);
    ItemBatchLocal itemBatch = itemBatchHome.create(item,
    "B05501-1",
    new Long(System.currentTimeMillis()),
    new Boolean(false),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Integer(0));
    System.err.println("Efter create");
    item = itemHome.findByPrimaryKey("5502");
    /* FAILS HERE >> */ itemBatch = itemBatchHome.create(item,
    ("B05502-1"),
    new Long(System.currentTimeMillis()),
    new Boolean(false),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Integer(0));
    catch (CreateException e) {
    System.err.println("Et eller flere batchnumre er oprettet i forvejen \n");
    e.printStackTrace();
    catch (FinderException f){
    System.err.println("Ved oprettelse af batchnummer manglede relateret vare \n");
    f.printStackTrace();
    catch (NamingException e) {
    System.err.println("Naming");
    e.printStackTrace();
    itemBatch is a CMP entity bean, with nothing but the field getters and setters, so it should be quite basic.
    It worked without problems in 9.0.3, so we are wondering what we might have missed when changing to 9.0.4.
    mvh
    NHB

    We have resently tried to move our application from OC4J 9.0.3 to the OC4J 9.0.4 preview.
    However when autogenerating data we get the following exception:
    com.evermind.server.rmi.OrionRemoteException: java.lang.ClassCastException: com.evermind.server.rmi.OrionRemoteException
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:275)
         at InstallSession_StatelessSessionBeanWrapper2717.createItemBatchBaseData(InstallSession_StatelessSessionBeanWrapper2717.java:268)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:479)
    at connection to wmsserver/192.168.1.95 as admin
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1499)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1452)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:50)
         at __Proxy1.createItemBatchBaseData(Unknown Source)
         at Sampleinstall.InstallSessionClient2.main(InstallSessionClient2.java:28)
         Nested exception is:
    java.lang.ClassCastException: com.evermind.server.rmi.OrionRemoteException
         at ItemBatchLocalHome_EntityHomeWrapper343.create(ItemBatchLocalHome_EntityHomeWrapper343.java:1063)
         at install.impl.InstallSessionBean.createItemBatchBaseData(InstallSessionBean.java:120)
         at InstallSession_StatelessSessionBeanWrapper2717.createItemBatchBaseData(InstallSession_StatelessSessionBeanWrapper2717.java:254)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:479)
    at connection to wmsserver/192.168.1.95
         at com.evermind.server.rmi.OrionRemoteException.receive(OrionRemoteException.java:130)
         at com.evermind.server.rmi.RMIConnection.handleMethodInvocationResponse(RMIConnection.java:1622)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:406)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:286)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:536)
    Process exited with exit code 0.
    The method which fails is the following method, which is located in an orinary stateless session bean:
    public void createItemBatchBaseData() {
    try{
    ItemBatchLocalHome itemBatchHome = getItemBatchLocalHome();
    ItemLocalHome itemHome = getItemLocalHome(); ItemLocal item = itemHome.findByPrimaryKey("5501");
    System.out.println("Før create "+item);
    ItemBatchLocal itemBatch = itemBatchHome.create(item,
    "B05501-1",
    new Long(System.currentTimeMillis()),
    new Boolean(false),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Integer(0));
    System.err.println("Efter create");
    item = itemHome.findByPrimaryKey("5502");
    /* FAILS HERE >> */ itemBatch = itemBatchHome.create(item,
    ("B05502-1"),
    new Long(System.currentTimeMillis()),
    new Boolean(false),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Integer(0));
    catch (CreateException e) {
    System.err.println("Et eller flere batchnumre er oprettet i forvejen \n");
    e.printStackTrace();
    catch (FinderException f){
    System.err.println("Ved oprettelse af batchnummer manglede relateret vare \n");
    f.printStackTrace();
    catch (NamingException e) {
    System.err.println("Naming");
    e.printStackTrace();
    itemBatch is a CMP entity bean, with nothing but the field getters and setters, so it should be quite basic.
    It worked without problems in 9.0.3, so we are wondering what we might have missed when changing to 9.0.4.
    mvh
    NHB

  • Com.evermind.server.http.HttpIOException: Broken pipe

    i am getting this error at my server. Can anybody help me in solving this. I am using Oracle 9iAs..and this is the full error that i get
    com.evermind.server.http.HttpIOException: Broken pipe
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(Compiled Code)
    at com.evermind.server.http.HttpIOException.<init>(Compiled Code)
    at com.evermind.server.http.EvermindServletOutputStream.write(Compiled C
    ode)
    at com.evermind.server.http.EvermindServletOutputStream.write(Compiled C
    ode)
    at com.evermind.server.http.EvermindServletOutputStream.write(Compiled C
    ode)
    at com.evermind.server.http.HttpApplication.include(Compiled Code)
    at com.evermind.server.http.FileRequestDispatcher.forwardInternal(Compil
    ed Code)
    at com.evermind.server.http.FileRequestDispatcher.forward(Compiled Code)
    at Premier.RegistrationServlet.createHTML(Compiled Code)
    at Premier.RegistrationServlet.doGet(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(Compiled Cod
    e)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Com
    piled Code)
    at com.evermind.server.http.HttpRequestHandler.processRequest(Compiled C
    ode)
    at com.evermind.server.http.HttpRequestHandler.run(Compiled Code)
    at com.evermind.util.ThreadPoolThread.run(Compiled Code)

    I suggest you recompile your servlet RegistrationServlet with the debug option that way you will get the line in your source code that has triggered the Exception instead of (Compiled Code). From then on it will be easier for you to start undestanding what's going on.

  • Com.evermind.server.rmi.RMIClientContext.lookup ERROR

    Hello,
    I'm trying to follow up the JavaEE_tutorial.PDF (http://www.oracle.com/technology/obe/JavaEE_tutorial_10131/index.htm) and when want to testing the Data Model I get this error:
    D:\oracle\jdevstudio10131\jdk\bin\javaw.exe -client -classpath D:\oracle\jdevstudio10131\jdev\mywork\SRDEMO\Model\classes;D:\oracle\jdevstudio10131\j2ee\home\lib\ejb30.jar;D:\oracle\jdevstudio10131\toplink\jlib\toplink-essentials.jar;D:\oracle\jdevstudio10131\j2ee\home\lib\activation.jar;D:\oracle\jdevstudio10131\j2ee\home\lib\ejb.jar;D:\oracle\jdevstudio10131\j2ee\home\lib\jms.jar;D:\oracle\jdevstudio10131\j2ee\home\lib\jta.jar;D:\oracle\jdevstudio10131\j2ee\home\lib\mail.jar;D:\oracle\jdevstudio10131\j2ee\home\lib\servlet.jar;D:\oracle\jdevstudio10131\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\.client;D:\oracle\jdevstudio10131\j2ee\home\oc4j.jar;D:\oracle\jdevstudio10131\j2ee\home\lib\oc4j-internal.jar;D:\oracle\jdevstudio10131\opmn\lib\optic.jar;D:\oracle\jdevstudio10131\toplink\jlib\toplink.jar;D:\oracle\jdevstudio10131\toplink\jlib\toplink-oc4j.jar;D:\oracle\jdevstudio10131\toplink\jlib\antlr.jar org.srdemo.client.ServiceRequestFacadeClientEmbed
    javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at org.srdemo.client.ServiceRequestFacadeClientEmbed.main(ServiceRequestFacadeClientEmbed.java:23)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:207)
         at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
         at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
         at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
         at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
         at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 3 more
    Process exited with exit code 0.
    Thanks in advance for your help,
    Miguel

    It does work!!
    I have a incorrect connection pool in the data-sources.xml
    Bye

  • Where this method calls com.evermind.server.rmi.RMIContext.unbindAll

    My application is in Java Swings , EJB, Oracle 9iAs.
    Intitally application is working fine but after some time we are facing the application sever hangup problem.
    for e.g. when client application is trying to lookup for the remote object, the application server is not responding anything.
    In addition to this, I would like to know that when the method com.evermind.server.rmi.RMIContext.unbindAll() is called?
    The information related to deadlock is as under:
    FOUND A JAVA LEVEL DEADLOCK:
    "RMIConnectionThread":
    waiting to lock monitor 0x1aeb80 (object 0x46bca9b8, a java.util.HashMap),
    which is locked by "RMICallHandler-5"
    "RMICallHandler-5":
    waiting to lock monitor 0x1aeb00 (object 0x46066708, a com.evermind.server.rmi.RMIServer),
    which is locked by "RMIConnectionThread"
    Vipul

    Russel ,
    Have you started remote OC4J Server? Also can you able to browse
    JNDI tree of Remote OC4J Server from JDeveloper?
    Also provide following information in order to understand your problem fully
    1. Which OC4J version you are using?
    2. Platform in which you are testing your application?
    3. Provide full stack trace of error that you are getting
    Cheers
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Com.evermind.server.http.HttpIOException: Read timed out

    Hello,
    I am using embded oracle oc4j server and getting following exception, and I cant fine httpd.conf file to increase KeepTimeout
    ERROR : HttpRequestHandler-1229 com.tcs.sgv.common.exception.BaseException - The stack trace is:
    com.evermind.server.http.HttpIOException: Read timed out
         at com.evermind.server.http.EvermindServletInputStream.read(EvermindServletInputStream.java:92)
         at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138)
         at com.hhc.MultipartInputStreamHandler.readLine(MultipartRequest.java:831)
         at com.hhc.MultipartInputStreamHandler.readLine(MultipartRequest.java:808)
         at com.hhc.MultipartRequest.readRequest(MultipartRequest.java:394)
         at com.hhc.MultipartRequest.<init>(MultipartRequest.java:222)
         at com.tcs.sgv.fms.requesthandler.NotingRequestHandler.getNotings(NotingRequestHandler.java:1250)
         at com.tcs.sgv.fms.requesthandler.NotingRequestHandler.processRequest(NotingRequestHandler.java:304)
         at com.tcs.sgv.common.servlet.FrontServlet.processRequest(FrontServlet.java:171)
         at com.tcs.sgv.common.servlet.FrontServlet.doPost(FrontServlet.java:112)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    - 10 Jul 2009 05:10:24,782 - 703516 milliseconds
    Please help me regarding this problem

    Oracle have their own support forums at http://otn.oracle.com
    You may also want to search MetaLink.

Maybe you are looking for

  • Lost sync video speeds up when importing files AVI and MP4

    I record my boss from a closed circut CATV system on a DVD.  Then I transfer the VOB file to my hard drive and convert it with MPEG Stream Clip 1.2b2 using the following settings Codec Apple DV/DCVC Pro - NTSC audio - uncompressed resolution 720x480

  • Problem in getting challan details via  text file in form 16

    Hi Experts... Here i want to display the challan details through text file. Here i have put all the details through text file and uplaoded the data in tcode pc00_m40_f16. It is working fine for those employees whose record is only one.If there are mo

  • No support for my time zone in iCal

    We recently changed to daylight savings time here in New Zealand. iCal dosen't seem to know about that, the only time zone it can find for here is 'New Zealand Standard Time' (NZST). NZST is GMT+12, what I need is New Zealand Daylight Time. NZDT is G

  • Jam in photoshop touch ad mini

    Cannot use photoshop touch on ipad mini. Jam after cancel facebook account. I dont want adobe combine with facebook . It appears i have to!

  • Camera Raw  .CR2

    Folks.  First I am not a rocket scientist or Photoshop wizard.  My CS3 won't open a camera raw .CR2 file from my Canon 40 D or 5D Mark II.  What is the simple solution to this obvious simple problem?