8Z 775 Error Asset ... has already been revaluated; no futher postings can

Hi gurus,
I wrote because I have a problem with transaction J1AI.
I'm from Chile and I'm working with 8.928 assets in SAP R/3 6.0.
My problem is when I run J1AI transaction just 7.600 assets are
revaluated, but 1.328 have the following message:
Asset xxxxx has already been revaluated; no futher postings can be made
Message no. 8Z775
Diagnosis
+You have already revaluated asset xxxx (subnumber xxx). You cannot make
a difference posting in the period you have chosen, either because the
asset has already reached the end of its useful life or you have changed
the useful life in the asset master.+
Procedure
+The values that you are trying to post would lead to inconsistencies in
the system. It is possible that you may have recently changed the
Customizing data or asset master data. However, if you still wish to
proceed with the posting, reverse the accounting documents for the period
in question and execute the Asset Revaluation program again.+
The problem is that I've not made changes in the Customizing or in the
asset master data.  
I've been looking a SAP Note but I didn't find anything. Somebody of you can give me a hand?
Greetings Marco

Dear Marco,
Please check few things as under:
1. Normally the document which get posted appears in Asset Exploer AW01N.
2. Transaction J1AI has a optioon to post directly or through batch input, in case of batch input it creates a batch input session which one has to execute in transaction SM35. If you no one has executed SM35 session would essentially mean, no entry got posted.
3. If someone has posted directly without batch input then you can check the postings througn table ANEK by inputing Company Code and user who has posted it.
4. Also similarly you can check BKPF table for FI postings.
5. You can also check SM35 about the sessions as it is available even after the transaction got posted thourgh sessions execution.
Not withstanding the above, it appears that no documnets have been posted yet otherwise it would have appear in the asset.
If the above does not resolve your issue then perheps one need system access to check the possibility, advise you to raise with SAP through OSS message.
Thanks!!!
Murlidhar Khatri

Similar Messages

  • Generate Scripts in SQL Server 2008 R2 producing Error "Item has already been added.:

    I am trying to run a Generate Scripts Task on a Database to generate a script for every object in the DB including tables, SPs, UDFs, FKs, PKs, with the settings for Schema Only, Script Drop and Create, Script "if not Exists", use database,
    and Object level permissions. 
    I have used generate scripts before to generate this database about 5 months ago and every thing worked fine. 
    Today I first tried to generate it out on a server where I only have "db_Owner" for several databases.  This failed with the error.
    Microsoft.SqlServer.Management.Smo.FailedOperationException: Discover dependencies failed. ---> System.ArgumentException: Item has already been added. Key in dictionary: 'Server[@Name='DLINHD007557\SQL_2008R2_64']/Database[@Name='VFS_ProcurementTracking']/UnresolvedEntity[@Name='prc_ContractFatInfo']' Key being added: 'Server[@Name='DLINHD007557\SQL_2008R2_64']/Database[@Name='VFS_ProcurementTracking']/UnresolvedEntity[@Name='prc_ContractFatInfo']' at System.Collections.SortedList.Add(Object key, Object value) at Microsoft.SqlServer.Management.Smo.DependencyTree..ctor(Urn[] urns, DependencyChainCollection dependencies, Boolean fParents, Server server)
    So I tried tto do this on a local version of the database where I have sa rights.  Same error.
    Can someone advise me on what is going on here and how do I fix it?
    Edward R. Joell MCSD MCDBA

    How do you generate the script via SMO?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • SQL Server reporting services error "URl has already been reserved" while doing upgrade from SQL server 2008 R2 to SQL server 2012

    "URl has already been reserved".
    Reporting services for port 80 and 443 works fine both for reports and reportingserver on SQL server 2008 R2. But when I try to upgrade from SQL server 2008 R2 to 2012 this error pops up. How to make sure before upgrading regarding reporting services that
    URL reserves and SSL are fine  or how to fix reporting services are upgrade like repair install.
    Thanks

    Hi yashmitl,
    In your case, please running the following command to check the current URL reservations on http.sys.
    netsh http show urlacl
    Then, please delete the URL reservation by executing the following command try to resolve the issue.
    netsh http delete urlacl <url>
    There is a similar issue, you can refer to it.
    http://social.technet.microsoft.com/Forums/en-US/d5204dd3-e26d-4592-8ef0-a94005fc46a5/the-url-has-already-been-reserved?forum=sqlreportingservices
    Hope this helps.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Upgrade 4.5B to 4.7 -- ERROR: "VBAK has already been declared".

    Dear Friends,
    After upgrade 4.5B to 4.7, there is the same ERROR when executing most of SD transaction and creating/displaying/modifying PO and GR.
    This error is related to SD pricing procedure. In the ABAP error dump said that: VBAK has already been declared. I have tried to look for SAP Notes but cannot find one.
    I think this problem is a common problem in upgrading from 4.X to 4.7. Need help from you guys who ever have upgrading experience.. : )
    Does anyone know on how to FIX this problem?
    Cheers,
    Will
    THE ABAP DUMP is as below:
    ===============================================
    Syntax error in program "SAPLV61A ".
    What happened?
    The following syntax error occurred in the program SAPLV61A :
    ""VBAK" has already been declared."
    Error in ABAP application program.
    The current ABAP program "SAPLMEPO" had to be terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    What can you do?
    Please eliminate the error by performing a syntax check
    (or an extended program check) on the program "SAPLV61A ".
    You can also perform the syntax check from the ABAP/4 Editor.
    If the problem persists, proceed as follows:
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Error analysis
    The following syntax error was found in the program SAPLV61A :
    ""VBAK" has already been declared."
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
    To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
    To obtain this, call the system log with Transaction SM21
    and select the "Print" function to print out the relevant
    part.
    3. If the programs are your own programs or modified SAP programs,
    supply the source code.
    To do this, you can either use the "PRINT" command in the editor or
    print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
    or which actions and input led to the error.
    Information on where terminated
    The termination occurred in the ABAP program "SAPLMEPO" in "REFRESH_TABLES".
    The main program was "RM_MEPO_GUI ".
    The termination occurred in line 35 of the source code of the (Include)
    program "MM06EF0R_REFRESH_TABLES"
    of the source code of program "MM06EF0R_REFRESH_TABLES" (when calling the
    editor 350).
    ===============================================

    Check OSS Note 133433 is exactly axplain your problems
    will resolve your problems

  • Error:RJVM has already been shutdown in weblogic 9.0

    Hi,<br>
    <p>
    I'm facing this error in weblogic 9.0 during launching the server.This problem wasnt seen until now <br>
    </p>
    <p>
    java.rmi.RemoteException: EJB Exception: ; nested exception is:<br>
    javax.ejb.EJBException: nested exception is: <br>java.rmi.ConnectException: This RJVM has already been <br>shutdown -1907871676444529473S:10.200.247.201:[7001,-1,-1,-1,-1,-1,-1]:DNI6:AdminServer<br>
    </p>
    <p>
    Can any1 please tell me as to whats causing this error <br>and how can it be resolved?<br>
    </p>

    Is your server running at 10.200.247.201:7001? If yes, this might be a race condition. You should contact bea support.

  • ERROR: getOutputStream() has already been called for this response

    <font size="2"><p align="left">I am trying to export a pdf from a jsp page using the crystal report viewer. The jsp is deployed in a .war archive on JBoss 4.0.4. The PDF comes up fine, but each time I make the request I get the error listed below from the JBOSS console. Can anyone explain what is going wrong? How do I make thie message go away?</p><p align="left">&#160;</p><p align="left">16:33:50,966 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception</p></font><u><font size="2" color="#000080">java.lang.IllegalStateException</font></u><font size="2">: getOutputStream() has already been called for this response</font><font size="2"> <p align="left">at org.apache.catalina.connector.Response.getWriter(<u><font size="2" color="#000080">Response.java:599</font></u><font size="2">)at org.apache.catalina.connector.ResponseFacade.getWriter(</font></p></font><u><font size="2" color="#000080">ResponseFacade.java:195</font></u><font size="2">)</font><font size="2"> <p align="left">at org.apache.jasper.runtime.JspWriterImpl.initOut(<u><font size="2" color="#000080">JspWriterImpl.java:124</font></u><font size="2">)at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(</font></p></font><u><font size="2" color="#000080">JspWriterImpl.java:117</font></u><font size="2">)</font><font size="2"> <p align="left">at org.apache.jasper.runtime.PageContextImpl.release(<u><font size="2" color="#000080">PageContextImpl.java:191</font></u><font size="2">)at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(</font></p></font><u><font size="2" color="#000080">JspFactoryImpl.java:115</font></u><font size="2">)</font><font size="2"> <p align="left">at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(<u><font size="2" color="#000080">JspFactoryImpl.java:75</font></u><font size="2">)at org.apache.jsp.rptFBATAG_002dviewer_jsp._jspService(</font></p></font><u><font size="2" color="#000080">rptFBATAG_002dviewer_jsp.java:164</font></u><font size="2">)</font><font size="2"> <p align="left">at org.apache.jasper.runtime.HttpJspBase.service(<u><font size="2" color="#000080">HttpJspBase.java:97</font></u><font size="2">)at javax.servlet.http.HttpServlet.service(</font></p></font><u><font size="2" color="#000080">HttpServlet.java:810</font></u><font size="2">)</font><font size="2"> <p align="left">at org.apache.jasper.servlet.JspServletWrapper.service(<u><font size="2" color="#000080">JspServletWrapper.java:332</font></u><font size="2">)at org.apache.jasper.servlet.JspServlet.serviceJspFile(</font></p></font><u><font size="2" color="#000080">JspServlet.java:314</font></u><font size="2">)</font><font size="2"> <p align="left">at org.apache.jasper.servlet.JspServlet.service(<u><font size="2" color="#000080">JspServlet.java:264</font></u><font size="2">)at javax.servlet.http.HttpServlet.service(</font></p></font><u><font size="2" color="#000080">HttpServlet.java:810</font></u><font size="2">)</font><font size="2"> <p align="left">at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(<u><font size="2" color="#000080">ApplicationFilterChain.java:252</font></u><font size="2">)at org.apache.catalina.core.ApplicationFilterChain.doFilter(</font></p></font><u><font size="2" color="#000080">ApplicationFilterChain.java:173</font></u><font size="2">)</font><font size="2"> <p align="left">at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(<u><font size="2" color="#000080">ReplyHeaderFilter.java:96</font></u><font size="2">)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(</font></p></font><u><font size="2" color="#000080">ApplicationFilterChain.java:202</font></u><font size="2">)</font><font size="2"> <p align="left">at org.apache.catalina.core.ApplicationFilterChain.doFilter(<u><font size="2" color="#000080">ApplicationFilterChain.java:173</font></u><font size="2">)at org.apache.catalina.core.StandardWrapperValve.invoke(</font></p></font><u><font size="2" color="#000080">StandardWrapperValve.java:213</font></u><font size="2">)</font><font size="2"> <p align="left">at org.apache.catalina.core.StandardContextValve.invoke(<u><font size="2" color="#000080">StandardContextValve.java:178</font></u><font size="2">)at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(</font></p></font><u><font size="2" color="#000080">SecurityAssociationValve.java:175</font></u><font size="2">)</font><font size="2"> <p align="left">at org.jboss.web.tomcat.security.JaccContextValve.invoke(<u><font size="2" color="#000080">JaccContextValve.java:74</font></u><font size="2">)at org.apache.catalina.core.StandardHostValve.invoke(</font></p></font><u><font size="2" color="#000080">StandardHostValve.java:126</font></u><font size="2">)</font><font size="2"> <p align="left">at org.apache.catalina.valves.ErrorReportValve.invoke(<u><font size="2" color="#000080">ErrorReportValve.java:105</font></u><font size="2">)at org.apache.catalina.core.StandardEngineValve.invoke(</font></p></font><u><font size="2" color="#000080">StandardEngineValve.java:107</font></u><font size="2">)</font><font size="2"> <p align="left">at org.apache.catalina.connector.CoyoteAdapter.service(<u><font size="2" color="#000080">CoyoteAdapter.java:148</font></u><font size="2">)at org.apache.coyote.http11.Http11Processor.process(</font></p></font><u><font size="2" color="#000080">Http11Processor.java:869</font></u><font size="2">)</font><font size="2"> <p align="left">at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(<u><font size="2" color="#000080">Http11BaseProtocol.java:664</font></u><font size="2">)at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(</font></p></font><u><font size="2" color="#000080">PoolTcpEndpoint.java:527</font></u><font size="2">)</font><font size="2"> <p align="left">at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(<u><font size="2" color="#000080">MasterSlaveWorkerThread.java:112</font></u><font size="2">)<p>at java.lang.Thread.run(<u><font size="2" color="#000080">Thread.java:595</font></u><font size="2">)</font></p></font></p></font>

    <p>Hi there,</p><p>     This issue is the same as the one in the following thread:</p><p><u><strong><a href="/node/711">http://diamond.businessobjects.com/node/711</a>  </strong></u></p><p>There are a few ideas in that thread to use as a work-around. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

  • FB, LinkedIn and Twitter Error: Account has already been created

    I just bought my BlackBerry Classic from AT&T.  When I tried to set up my social media accounts - FaceBook, LinkedIn and Twitter by signing in, each of them said there was an error completing the set up and I should try again later.  When I returned later I got error "This account has already been created" for each of them. I deleted FB app and reinstalled it but got the same error.  I made sure I updated each app to the latest version but no luck.
    Has anybody else had similar problems?

    No I don't see those accounts in settings >> accounts. I only see email accounts there.

  • 1. How can we search the Forum to see if a question has already been asked? 2. Can I send a Web Page and not just its Link?

    1. How can we search the Forum to see if a question has already been asked? Search goes back to Help and out of the Forum.
    2. Can I send a Web Page and not just its Link? Explorer allows it.

    1. How can we search the Forum to see if a question has already been asked? Search goes back to Help and out of the Forum.
    2. Can I send a Web Page and not just its Link? Explorer allows it.

  • Application starting error -- item has already been added. key in dictionary 'regex' key being added 'regex'

    Hi All
    I have strucked with an issue with urlrewritingnet. I have developed a website and used urlrewritingnet for url redirecting. Application is working fine in DEV, Stage and Prod. but recently I am getting an issue in Stage. When I kept the browser window open
    for a while and after some time If I come back and clicks any link(like After Session time out), I am getting an error "directory error: cannot add duplicate key "REGEX" key already added". When I click refresh this error goes out and It
    gets redirected to my custom timeout page. I have tried everything but could not find the cause of this error.
    This is not happening in Dev and Prod. After going through various forums I found out that this is due to URLREDIRECTING DLL. But I did not find out the actual root cause of this error. Can some one please guide me If there is anything going wrong in Stage
    website setup in IIS.
    Thanks in advance
    Venky

    Maybe use a sniffer like fiddler or wireshark to monitor the webpage and find the request that is causing the problem.  You could also add a log page to the webpage t capture all the request to find the root cause.
    jdweng

  • Internal servlet error :response has already been commited

    Does anyone knows what this error message means and how to solve the problem ? ?

    Hi,
    I am using struts framework, I do have a module export to excel, where in some big Mb's of data can be exported to excel by a client. As part o the implementation I have an action which calls a DAO object. This DAO object dumbs the whole data to excel File. The action picks up this file and writes the whole thing to the ServletOutputStream. In the logs I am finding a Response Already commited exception
    " [6/22/06 6:24:09:830 EDT] 110d2e6a WebGroup E SRVE0026E: [Servlet Error]-[Cannot forward. Response already committed. &#40;Servlet 2.3, SRV 8.4&#41;]: javax.servlet.ServletException: Cannot forward. Response already committed. (Servlet 2.3, SRV 8.4)
    I fear this is causing memory leaks and eating up the whole CPU resources on the web-server, which is causing us to restart the JVM frequently.
    Can any one help me in fixing this issue.
    Thanks and Regards,
    Hari
    The code which downloads the excel file is :
    ========================================================
    private void downLoadTheExcelFile(String fileName, HttpServletResponse response) throws IOException {
    FileInputStream inputStream = new FileInputStream(fileName);
    boolean flag = true;
    response.setHeader("Content-Disposition", "attachment;filename=ECOMatrix.xls");
    response.setContentType("application/vnd.ms-excel");
    char c = '\u5000';
    ServletOutputStream servletOutputStream = response.getOutputStream();
    BufferedOutputStream bufferedOutputStream = new BufferedOutputStream(servletOutputStream);
    int abyte0 = 0;
    while ((abyte0=inputStream.read()) != -1) {
    bufferedOutputStream.write(abyte0);
    inputStream.close();
    bufferedOutputStream.flush();
    File file = new File(fileName);
    file.delete();
    /* /opt/httpd/logs/apps/ecom/ecom-9962/EcoMatrix1141911660345.xls */
    ========================================================

  • Batch has already been posted in stock **very urgent**

    Dear all,
    My user has created a delivery for excess quantities. He had to deliver only 4 where he has done the PGI for 24. I thought I would reverse it with transaction VL09, but when I click on reverse this error "Batch has already been posted in stock" pops up. What might be the reason?
    Invoice is not created against this delivery **
    Please anyone throw some light on this and also if any other options to reverse goods movement. And can I reverse only part quantity?
    Thanks in advance and its very urgent.
    Regards

    Hi,
    well actually he is doing the partial deliveries for a order and these are all backdated entries. They havent gone live yet. The order Qty was for 40 out of which he had delivered 4 earlier and when he went to do a delivery again, he saw that stock available was only for 24 qty. and he did the PGI for whole
    thats how he delivered for 24. I hope its clear now.
    Thanks for the answer. will see if changing the error to warning will work.
    this actually had come into my mind but was not sure as to what would be the impact.
    Rish.k

  • Connection has already been created in this tx context for pool

    Hello
              I can´t use WLS 6.0 I must use WLS 5.1. So I can´t to use distributed
              transactions.
              So that, Can I to simulate this situation???
              Client code:
              method
              UserTransaction.begin
              class1.create
              class2.updateDatabaseOracle1
              this.comit();
              Exception
              this.rollback();
              method commit
              class1.commit();
              class2.commit();
              UserTransaction.commit
              methdo rollback
              class1.rollback;
              class2.rollback;
              UserTransaction.rollback
              class1
              create
              EJBCreate
              commit
              EJB.putData
              rollback
              EJB.remove
              I get this Error:
              "Connection has already been created in this tx context for pool
              named pool1. Illegal attempt to create connection from another
              pool: pool2"
              Please Help How can I do it?
              Miguel Lopez Montero
              Soluziona Servicios Internet,Spain
              

    Niambh,
    you can have only one non-xa datasource participating in a transaction. Emulating or faking XA means only that WLS does first all the operations for the XA resources, then the one non xa, and based on the result of this either commit or rollback.
    So obviously only one resource can "emulate 2PC).
    But there can be as many non XA db connections as you want, as long as they are not participating in the transaction.
    Check your datasources.
    I think the reason to use non-XA driver and "emulate 2PC" for Oracle is mainly the poor performance of the XA driver prior to 10g.
    Check also, if your Oracle database is XA enabled at all. I have seen some issues with customers, where the necessary PL/SQL packages have not been installed and therefore the thin XA driver did not work.
    -Kai

  • BPC NW 7.5 Problems with dimension ID member "Item has already been added"

    Hi experts,
    I have a problem when mantaining the dimension members in SAP BPC 7.5 in the administration console.
    I try to introduce numeric values for the ID like for example 971048000011001 and 971048000011002, but when trying to save them, I get the error "Item has already been added. Key in dictianary: "9.71048E14" Key beeing added:  "9.71048E14". It seems that BPC transforms the format into a text format before saving. Am I wrong? Is thera a solution?
    I tried modifying the number format in the excel sheet, but nothing worked. Can anybody help me, please?
    Thanks in advance,
    Àlex

    Hi Àlex.
    Try to put an simple quote before de member value, for example '1234567890
    Best Regards
    Eduardo

  • Problem when creating a calculated column "Item has already been added"

    Hi,
    I built an a set of lists and custom content types which are made available under http://moss/callcenter. When I want to create a new calculated column for one of my custom content types i get the following error
    Item has already been added. Key in
    dictionary: 'Strasse_Strasse'  Key being added: 'Straße_Straße'
    This is rather strange as I don't even get as far as creating that new column. The error occurs right when I select the type calculated column, even before I enter a name for the new column. How ever, when I want to create a calculated column in root site collection (http://moss/) this error does not occur and I can create the new column.
    Any ideas anyone?
    Thank you,
    Christoph

    hi,
    you can try below thing
    http://blogs.msdn.com/b/timquin/archive/2009/02/11/sharepoint-item-has-already-been-added-key-in-dictionary-484-key-being-added-484.aspx
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • Connection has already been closed

    We are on Weblogic 7.0 SP1 on HP UX 11i. Database is Oracle ver 9.0.1.3. Using
    thin driver for database access.
    Intermittently we get the error: "Connection has already been closed" from DAO
    programs. The stack trace shows that this error is preceded by java.sql.SQLException:
    java.lang.NullPointerException. The error is appearing in the finally block when
    we attempt to close the connection if it is not null. Here's the code piece:
    finally {
    try {
    if(connection != null)
    connection.close();
    connection = null;
    } catch (SQLException sqlException) {
    log4j.error(sqlException.toString());
    What we are not able to understand is, this piece of code can be executed only
    if connection object is not null and if so, why this error - 'Connection has already
    been closed'?
    We noticed a bug reported in SP1:
    Bug No: CR062827
    Description : Fixed a problem with prepared statement code that was provoking
    a null pointer exception; the prepared statement object was being set to null.
    Our error message is preceded by Nullpointer Exception and there is a possibility
    that it could be from PreparedStatement due to this bug. But, BEA has not given
    information on what happens to Connection when Prepared Statement throw this exception.
    Whether any of you facing the same kind of problem?
    Thanks in advance,

    chitra wrote:
    Here's the stack trace:
    2003-01-24 10:24:32,510 ERROR [ExecuteThread: '5' for queue: 'default'] (TestDao.java:203)
    - java.sql.SQLException: java.lang.NullPointerException
    2003-01-24 10:24:32,511 ERROR [ExecuteThread: '5' for queue: 'default'] (TestDao.java:228)
    - java.sql.SQLException: Connection has already been closed.
    Sometimes, we also get a different stack trace:
    2003-01-24 10:24:21,171 ERROR [ExecuteThread: '5' for queue: 'default'] (TestDao.java:203)
    - java.sql.SQLException: Closed Statement: next
    2003-01-24 10:24:21,180 ERROR [ExecuteThread: '5' for queue: 'default'] (TestDao.java:228)
    - java.sql.SQLException: Connection has alredy been closed
    ThanksHi, that's not a stacktrace. That's just the error message. Please turn on jdbc logging and show me
    the jdbc log
    file. A full stacktrace will pe printed for every SQLException, showing all the method calls.
    thanks,
    Joe
    >
    >
    Joseph Weinstein <[email protected]> wrote:
    chitra wrote:
    We are on Weblogic 7.0 SP1 on HP UX 11i. Database is Oracle ver 9.0.1.3.Using
    thin driver for database access.
    Intermittently we get the error: "Connection has already been closed"from DAO
    programs. The stack trace shows that this error is preceded by java.sql.SQLException:
    java.lang.NullPointerException. The error is appearing in the finallyblock when
    we attempt to close the connection if it is not null. Here's the codepiece:
    finally {
    try {
    if(connection != null)
    connection.close();
    connection = null;
    } catch (SQLException sqlException) {
    log4j.error(sqlException.toString());
    What we are not able to understand is, this piece of code can be executedonly
    if connection object is not null and if so, why this error - 'Connectionhas already
    been closed'?Let me see the full stacktrace of the NullPointerException and the
    'Connection is already closed' exception.
    As to the code above, I'm not saying you're doing this, but if any code
    above that finally block closed the connection, then you can get the
    'already closed' exception. In other words, connection.close() doesn't
    automatically make the reference null.
    Joe
    We noticed a bug reported in SP1:
    Bug No: CR062827
    Description : Fixed a problem with prepared statement code that wasprovoking
    a null pointer exception; the prepared statement object was being setto null.
    Our error message is preceded by Nullpointer Exception and there isa possibility
    that it could be from PreparedStatement due to this bug. But, BEAhas not given
    information on what happens to Connection when Prepared Statement throwthis exception.
    Whether any of you facing the same kind of problem?
    Thanks in advance,

Maybe you are looking for

  • Problem in work list deployment

    hi all, i'm trying to deploy sample worklist given in {bpel_home}/samples/hw/worklistapp. i need following information: (i) what is the difference between worklistapp and worklistxpress? (ii) ERROR: BUILD is getting failed.error message is- "*Target

  • Adobe App Manager- Download Error

    I signed up for creative cloud a couple of hours ago... and have been trying to download apps ever since, but I can't download a single thing.  I've redownloaded and installed the application manager. I've run the CreativeSuite cleaner tool twice. Di

  • ICloud Disabling itself on iOS7

    I keep finding that iCloud Services are disabling themselves in iOS7 on both my iPad 2 and my iPhone 4S. I keep having to go into the settings app to re-enable each service. Any idea what is going on? Apple needs to sort this out. They claim they are

  • ITunes store issues

    When trying to purchase a gift certificate I get the message: This Apple ID is not currently eligible to purchase gift certificates. My account also says it has 1 hidden purchase but nothing shows up on the hidden purchase list.

  • My photoshop CC 2014 wont open!

    My photoshop CC wont open Help!! all it does in run a program titled 'Title' Windows 7 ultimate 32-bit emachines