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

Similar Messages

  • SQL Server Reporting Services misunderstands url

    I am having trouble encoding a url inside of a web.config tag because you can't just type in & you have to encode it.
    For some reason sql server reporting server never understands when I encode it.
    Below is the working for sure url that has not been put inside the tag yet.
    http://business.business.com/ReportServer/Pages/ReportViewer.aspx?/All%20Department%20Reports/System%20Summary&rs:ClearSession=true&SSN=5440
    When I encode it the following way SSRS errors & says the param 'amp;SSN'
    does not exist! Of course it was supposed to interpret &amp; as an & !
    http://business.business.com/ReportServer/Pages/ReportViewer.aspx?/All%20Department%20Reports/System%20Summary&amp;rs%3AClearSession=true&amp;SSN=5440
    So I tried to encode it a different way:
    http://business.business.com/ReportServer/Pages/ReportViewer.aspx?/All%20Department%20Reports/System%20Summary&amp;rs%3AClearSession=true%3ASSN=5440
    This resulted in SSRS telling me that the 'param SSN is missing a value'
    Can anyone point me toward the correct url for my web.config tag?

    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

  • 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

  • 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>

  • 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.

  • 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.

  • SQL Server Reporting Services Error

    Hi, have just completed a default installation of SSRS (2005) on Windows Server 2003 and am getting the following error when browsing to http://localhost/reportserver.
    Server Error in '/ReportServer' Application.
    Configuration Error 
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 
    Parser Error Message: The format of the file 'ReportingServicesWebServer' is invalid.
    Source Error: 
    Line 27:       <assemblies>
    Line 28:         <clear />
    Line 29:         <add assembly="ReportingServicesWebServer" />
    Line 30:       </assemblies>
    Line 31:     </compilation>
    Source File: C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\web.config    Line: 29 
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'ReportingServicesWebServer' could not be loaded.
    === Pre-bind state information ===
    LOG: DisplayName = ReportingServicesWebServer
     (Partial)
    LOG: Appbase = file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportServer
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    ===
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Post-policy reference: ReportingServicesWebServer
    LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET Files/reportserver/51fe26c7/144cb435/ReportingServicesWebServer.DLL.
    LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET Files/reportserver/51fe26c7/144cb435/ReportingServicesWebServer/ReportingServicesWebServer.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportServer/bin/ReportingServicesWebServer.DLL.
     Version Information: Microsoft .NET Framework Version: 1.1.4322.2407; ASP.NET Version:1.1.43222.2407

    Try to reconfigure SSRS.
    Take a look on below link
    http://technet.microsoft.com/en-us/library/cc512033.aspx

  • SQL Server Reporting Services: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Hey everyone, So I am trying to get a report onto the server, and in BIDS I kept getting a login screen repeating over and over when I tried to deploy my report, so I tried to upload the file at http://<servername>/Reports This worked, but then trying
    to run this report from http://<servername>/Reports did not work either because "An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'FTYDataSource'. (rsErrorOpeningConnection) For more information
    about this error navigate to the report server on the local server machine, or enable remote errors" Anyways I tried to add a New Data Source (which I would use in the report) at http://<servername>/Reports, type ODBC, with the connection string Dsn=blah_blahblah.
    I try to test the connection here and get the error ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified This is really getting old fast, everything I try, a new error comes up. Granted I am new at this,
    but this still should not be this troublesome. Does anyone have any ideas on what could FINALLY allow me to just put a report out onto the server?!? THANK YOU in advance for ANY help.

    Hi,
    Please try setting the credentials of the datasource.
    1. Double click and open the datasource in your project.
    2. Click on the credentials tab, and click on option button 'Use this username and password'
    3. Enter the username and password to connect to the datasource
    4. Deploy or upload the datasource to the report server and try accessing the reports.
    Hope this helps.
    Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.
    BH

  • 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 */
    ========================================================

  • SQL Server Reporting Services Integration

    If anyone has been considering looking at SQL Services Reporting Service, a business intelligence tool from Microsoft, you will be glad to know that I have just submitted a project to code share that provides integration between SSRS and the Plumtree portal.
    In brief, the integration code implemements the iAuthenticationExtension and iAuthorizationExtension interfaces, allowing SSRS to authenticate plumtree users and authorize them based on plumtree groups.
    It might be a few days before it is available on code share, as it has to be manually reviewed.
    Caveat: it works in Firefox/Safari, but not quite so nice as it does in IE.  This is a Microsoft BI tool, after all. :)

    Hi, Tim.
    The description and questions were brought up in an email conversation
    with a developer:
    There seems to be a disconnect between the Plumtree environment and Microsoft's SQL Server Reporting Services.
    The present configuration: .Net version of Plumtree 5.0.4 suite of servers Windows 2000 Server SP4 (fully patched) SQL Server 2000 with latest patches SQL Server Reporting Services 2000 with latest patches
    The app in question gathers SSRS reporting criteria via .NET web pages.
    The disconnect occurs at the call to SSRS.
    Without the gateway - the call to SSRS completes and a web page containing the report is displayed.
    With the gateway - the call to SSRS does not complete and no report is displayed.
    I understand this is a problem that has been reported on the DevCenter.Plumtree.Com site by Tim Larson of Mission to the World
    URL =http://portal.plumtree.com/portal/server.pt/gateway/PTARGS_0_0_9690_0_0_47/http;/prodgadget14.plumtree.com/publishedcontent/publish/sc___code_share/code_source/articles/sql_server_reporting_services_integration_.html?qid=84973886&rank=2
    Can the call to SSRS be accomplished if gatewaying is turned on for this app? - Is there a workaround? - not gatewaying the app is not an option

  • 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,

  • 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

  • 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

Maybe you are looking for

  • How can I update an existing .dot file (created long ago in Word)?

    I send contracts out for my vacation rental with a lot of information and only need part of the info to be specific to each person. But now I need to update some of the static info and want to continue using as a .dot. (So saving each updated contrac

  • What is the best way to write 10 channels of data each sampled at 4kHz to file?

    Hi everyone, I have developed a vi with about 8 AI channels and 2 AO channels... The vi uses a number of parallel while loops to acquire, process, and display continous data.. All data are read at 400 points per loop interation and all synchronously

  • Scrollable content (pan option) with hyperlink doesn't work

    Hello, I'm trying to layout a page to scroll horizontaly with an hyperlink to a web site. I've followed the steps given in the digitalpubsuite_help.pdf (Page 51 - Last updated 1/25/2012). After grouping the image and the hyperlink, I cut it and I pas

  • IPhone 3G messed up after update.

    My iPhone 3G won't register on my computer anymore. This happened after I upgraded to iTunes version 9.2. My computer won't register it and neither will my iTunes. Also, instead of the usual "doo doo" sound made when plugged in to the USB port, it ma

  • Field Deatils

    Hi Experts,Good Morning every one! We have a report for rejection cycle. In that report we would like to add certain new fields,like Item price from Info Record, Unrestricted use Stock Quantity and Blocked Stock Quantity for that item. For these data