Database connection lost during report

Hello Experts, Our environment is WINDOWS2008 SERVER / ORACLE 10G / ORACLE REPORTS.
The problem we are facing is , while running one of the particular reports which runs oracle reports , connection to database server gets lost. Acturally the form is printing a
bar code label, this is performed by running oracle reports runtime 10g. I dont know what is the reason the database connectivity gets lost from reports runtime engine. But the form runtime engine working fine without any database connectivity issue. Kinldy help me to resolve this issue. thanks

Hi,
1- what is the Reports version being used?
2- What is the error you are getting?
3- Have you tried to enable reports trace and see what is happening in trace file?
Thanks, Roberto

Similar Messages

  • Database connection lost during running report

    Hello Experts, Our environment is WINDOWS2008 SERVER / ORACLE 10G / ORACLE REPORTS.
    The problem we are facing is , while running one of the particular reports which runs oracle reports , connection to database server gets lost. Acturally the form is printing a
    bar code label, this is performed by running oracle reports runtime 10g. I dont know what is the reason the database connectivity gets lost from reports runtime engine. But the form runtime engine working fine without any database connectivity issue. Kinldy help me to resolve this issue. thanks

    Please, close this thread and open a new one in the correct forum.
    Reports

  • Oracle XML vaidation causes database connection lost.

    Schema document:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xsd:annotation>
              <xsd:documentation xml:lang="en">
              </xsd:documentation>
         </xsd:annotation>
         <xsd:element name="BDDString" type="xsd:string"/>
    </xsd:schema>
    XML document:
    <?xml version="1.0" encoding="UTF-8"?>
    <BDDString><Path>USA</Path></BDDString>
    Result http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx validation:
    Validation error:
    <?xml version="1.0" encoding="UTF-8"?>
    <BDDString
    Error at (2,14): The element 'BDDString' has invalid child element 'Path'. An error occurred at , (2, 14).
    Error at (2,14): The 'Path' element is not declared. An error occurred at , (2, 14).
    <Path>USA</Path></BDDString>ORACLE validation:
    Declare
         xmlObj XMLType;
    begin
         xmlObj := XMLType('<?xml version="1.0" encoding="UTF-8"?><BDDString><Path>USA</Path></BDDString>',
         'cb78db306e061027a7c4b02b1a84d6fb');
         XMLType.schemavalidate(xmlObj);
    end;
    Result: Oracle XML vaidation causes database connection lost!
    *** SCRIPT START : Session:M1GLOBAL_DEV15@MATRIX(5) 3-&#1084;&#1072;&#1088;-2005 14:05:41 ***
    Start SQL Editor Execution ...
    Processing ...
    xmlObj := XMLType('<?xml version="1.0" encoding="UTF-8"?>
    ORA-03113: end-of-file on communication channel
    *** SCRIPT END : Session:M1GLOBAL_DEV15@MATRIX(5) 3-&#1084;&#1072;&#1088;-2005 14:08:02 ***
    End SQL Editor Execution
    Task "SQL Editor Execution": Operation aborted
    SQL Editor Execution terminated with errors
    Task "SQL Editor Execution" in DoTerminate(): Session Manager: No connection to M1GLOBAL_DEV15@MATRIX
    Help!
    Question:
         1)Why Oracle validation incorrectly works?
         2)How it to correct?

    Hi,
    1- what is the Reports version being used?
    2- What is the error you are getting?
    3- Have you tried to enable reports trace and see what is happening in trace file?
    Thanks, Roberto

  • FIM 2010 Sync Error : stopped-database-connection-lost

    Hello everyone,
    a weird thing just happened to me,
    i'm synchronizing my MA and suddently i get the "stopped-database-connection-lost" error
    i have 5 Galsync MAs working perfectly and this sixth one just failing ... (since like today)
    which makes me wonder what is happening ... ?
    any ideas ?
    thanks !
    Hitch Bardawil

    Hitch,
    Look in the event log on the FIM Sync Server and on the SQL Server.
    This error occurs when FIM can't contact the SQL Server that hosts the FIMSynchronizationService database.
    Does this happen every time the sixth MA is run? What if you run them in a different order (might help us distinguish between a resource issue and something specific to that MA)?
    Here are a few related threads:
    http://social.technet.microsoft.com/Forums/en-US/65920fc0-a9ac-4a87-892f-338a6884cbd5/action?threadDisplayName=fim-ma-run-profile-stuck-with-stoppeddatabaseconnectionlost
    http://social.technet.microsoft.com/Forums/en-US/39129eac-09d3-48ff-83f9-ecb4ae2424b6/action?threadDisplayName=sharepoint-profile-synch-stoppeddatabaseconnectionlost
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • Database Connection Lost Error

    Hi,
    MyScenario is :
    We send a query to database A collect resultset in java mapping and transform it to three more Select queries and send them to Database B So two chanels are there:
    Sender JDBC channel, Receiver JDBC Channel.
    Now the Output of Database B is converted to IDOC and sent to R/3 System.
    This is working fine, but sometime it stuck at Database B saying error "connection Lost". And works fine afterwards.But in that case we miss the records which could not be processed.
    What can be the reason for this ? Please suggest the solution at teh earliest. Can overloading be the reason for losing connection. Please suggest...
    Thanks & Regards,
    Priyanka

    Hi Priyanka,
    You have to close the connection afte accessing the JDBC  "A".
    So that it could be accesed by others.
    Try to implement the suggetion given by sarvesh.
    If it still does not work then i would say you go for JDBC look ups.
    It will improve the performance as well.
    Thanks
    Sunil Singh

  • Save Database connection in crystal report

    We have build a crystal report that is saved in Business view manager. When we run the report from infoview, it always asks for database connection after we enter the parameters.
    How can we save the database connection details in crystal so that it never ask for database connection when running the report from infoview?
    I have a very little idea about business view manager and infoview. Thanks in advance for any help.

    Hi Stratos,
    We're having the same requirement: I want to store RPTs on BOE and execute them without having to login to the DB every time.
    Our BOE-Version: XI (12.3.0.601)
    Regards,
    Chrigu

  • Change database connection for FRS Report

    currently we are using ASO BSO model and all FRS reports are retrieve against BSO Database.Now we are converting to ASO only model. can i use the same report against ASO database .
    There is a option of chang database connection under tool in workspace . will this work or do i have to make all reports again
    can you please help me with this
    thank you

    IN some cases even if the report has additional dimensions it will work. After you change the connection. Open the report in designer. The new dimensions will automatically update. Save the report and you should be good to go. If dimensionality is exactly the same you don't even have to do that, just change the connection, point ot the new database and run the report.

  • EJB Timer stops when database connection lost

    G'day.
    We use EJB Timers quite successfully in stateless session beans under Sun Java System Application Server 8.1 on Windows Server 2003.
    We start and stop the timers for specific session beans using public intefaces on their respective beans. This works fine.
    The problem we have is when the JDBC connection used by the EJBTimer service is dropped, such as when the remote database / machine falls over or (probably) when the network is lost. All the timers stop working at this point.
    The timers do not restart when the database connection is restored either, despite the entries still being in the ejb__timers__tbl table.
    If we stop and start the application server instance then they do restart.
    We've looked at the setup of the timers but this seems to be pretty straightforward with no options that seem to influence this.
    We've tried altering the JDBC connection validation settings but this doesn't seem to have made any difference.
    Anyone have any ideas?
    Robski!

    There are no special options to handle this case in the current timer service implementation. Please file an issue describing the scenario here :
    https://glassfish.dev.java.net/servlets/ProjectIssues
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Network connection lost during sleep

    Each time sice upgrade 10.8.2 network connectopn is lost during sleep

    Hi
    I have the same problem. After waking up the MBP from sleep, my connection to my external Volume via AFP is lost. (ML 10.8.2.)
    Though i checked a lot of forums, but didn't find out how to solve this problem.
    I hope, somebody will find a solution …
    Cheers
    Alex

  • Connection lost during saving some workbooks in Plus

    Hi,
    I've faced strange problem in Disco plus. When I try to save some workbooks to database, connection is lost. This problem is faced on some workbooks, in other saving works fine. This problem doesn't exist in Desktop edition.
    I've searched forum and found, that it could be connected with sorting on calculation item based on CASE. But I haven't any calculation and for test removed all sorting and problem remains.
    How do I can solve this problem?
    Regards,
    Krystian

    Hi Krystian
    Presumably you are on 10g? I'm wondering whether you created the workbooks in Desktop initially and then started using them in Plus. I noticed that this scenario was causing workbooks with calculations to not save or reopen correctly. When I created the workbooks using only Plus I had no issues.
    Can you also confirm whether you have upgraded to 10.1.2.2 recently? There are known issues with lost connections here too.
    Best wishes
    Michael

  • BPC database connection error during the installation of sp08 BPC 7

    Hi,
    I am installing BPC 7.00.8 on window 2003.
    After installation i found an error in database connection.
    BPC logg showing
    ==============[BPC Exception Logging]==============
    [Message Type] : ERROR
    [Job Name]     : Log initialization
    [DateTime]     : 11/2/2011 10:30:25 AM
    [UserId]       :
    [Exception]
        DetailMsg  : {Unable to load DLL (librfc32.dll).}
    ==============[BPC Exception Logging End ]==============
    ==============[BPC Exception Logging]==============
    [Message Type] : TRACE
    [Job Name]     : Log initialization
    [DateTime]     : 11/2/2011 10:30:25 AM
    [UserId]       :
    [Exception]
    [Context]       :
    <Context>
    <AppSet>
    </AppSet>
    <UserID><![CDATA[JETAIRWAYS\isdhlpdsk]]></UserID>
    <App><![CDATA[]]></App>
    <Language><![CDATA[]]></Language>
    <Session>
    <SessionID><![CDATA[]]></SessionID>
    <Machine><![CDATA[]]></Machine>
    <ModuleName><![CDATA[]]></ModuleName>
    </Session>
    <CurrentView>
    <Dim>
    <Name></Name>
    <Value></Value>
    </Dim>
    </CurrentView>
    </Context>
    [Parameter]       :
    [Security]       :
        DetailMsg  : {Unable to load DLL (librfc32.dll).}
    [Stack Trace]       :
            at OSoft.Services.Common.ApplicationServiceProxy.GetUserLanguageProxy.getABAPUserLanguage()
       at OSoft.Services.Common.ApplicationServiceProxy.ContextUser.init(Hashtable htContext)
       at OSoft.Services.Common.ApplicationServiceProxy.ContextUser..ctor(String contextXML)
       at OSoft.Services.Platform.Logging.Logger.getLoggingLevelConfig(String strContext)
       at OSoft.Services.Platform.Logging.Logger.initialize(String strContext)
    ==============[BPC Exception Logging End ]==============
    ==============[BPC Exception Logging]==============
    [Message Type] : ERROR
    [Job Name]     : TestConnection
    [DateTime]     : 11/2/2011 10:30:25 AM
    [UserId]       : JETAIRWAYS\isdhlpdsk
    [Exception]
        DetailMsg  : {Exception of type OSoft.Services.Common.ApplicationServiceProxy.ApplicationServiceException was thrown.}
    ==============[BPC Exception Logging End ]==============
    Please help to resolve this error.
    Regards,
    R  Mav

    Hi R Mav,
    Did you install SAP Gui 7.1 or 7.2 on your server?
    KBA 1378741 might have the answer for your issue.
    Solution 1: Put librfc32.dll in System 32 folder on server machine and register it.
    or
    Solution 2: Install GUI on server machine.
    BR,
    Marcelo

  • Connection lost during facetime

    connection lost in facetime after upadating to iOS 6. what will i do?

    Hi, i am having the same problem with my ipad 2.. after updating to the io6 on both ipads (mine and my dad) i am unable to facetime with him.. it says "connecting" and then 5 mins later it says "connection lost" CALL BACK!
    I am beyond frustrated as i never faced any probs before the update!
    Some one please help!

  • Database configured for Syncronous mirroring and connection lost during transaction.

    Hi,
    In a synchronous  mirroring session data commit on mirror first and then on the primary. But in a scenarion that data has commited on Mirror but when it goes to commit on primary then then primary server goes down or via any behaviour it is not able
    to commit on primary. then what is the flow, how we will get that data commit on primary.
    Thanks in Advance.
    Regards, Ashish Tripathi

    Well, primary doesn't send data to mirror. It's the mirror server which would pull the data. As long as confirmation from mirror is not received, the transaction would not be committed.
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • How to disconnect the database connection using crystal report

    Post Author: cp_pramodu
    CA Forum: Crystal Reports
    Hi All,
    We have developed an application using .Net and Crystal Reports 10 for generating Adhoc reports from Business system (db sybase 12). We are using the below mentioned script for opening rpt files.
    Try
           ReportDocument1.Load(sReportName)
           For Each table In ReportDocument1.Database.Tables
                  ' Get the TableLogOnInfo object.
                  logonInfo = table.LogOnInfo
                  ' Set the server or ODBC data source name, database name,
                  ' user ID, and password.
                  logonInfo.ConnectionInfo.ServerName = sReportServerName
                  logonInfo.ConnectionInfo.DatabaseName = DBName
                  logonInfo.ConnectionInfo.UserID = UserName
                  logonInfo.ConnectionInfo.Password = Password
                  ' Apply the connection information to the table.
                 table.ApplyLogOnInfo(logonInfo)
    Next
    'Me.Cursor = Cursors.WaitCursor
    Me.CrystalReportViewer1.ReportSource = ReportDocument1
    'Me.Cursor = Cursors.Default
    Catch ex As Exception
    'Response.Write(ex.Message)
    Finally
    Me.Cursor = Cursors.Default
    'ReportDocument1.Close()
    'ReportDocument1.Dispose()
    End Try
    Each time user opens the report a new connection is established to the database, can we disconnect the connection established from crystal reports, while closing crystal report. At the same time i want to setup an Idle time for these connections. In database level, i will not be able to set idle time in database level, as it affect our electronic channels.
    Waiting for a reply.
    Thanks & Regards,
    Pramodu. C. P

    Hi,
    If you are reworking the application can you not build in the functionality to re-establish a connection if there is a failure? That is, a submission from the application server to the database server detects a failure, etc. and then re-establishes the connection. If you need a more frequent check than during a user-initiated roundtrip, you may be best served by using the "dummy query" technique on some time interval.
    From my understanding using HA Event Notification would require a RAC database (plus a multi-threaded application and services correctly configured on the RAC-side).
    In the documentation I see this:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14250/oci09adv.htm#sthref1495
    "Applications must connect to a RAC instance to enable HA event notification."
    In any case, this has the potential to be a bit complicated...
    Regards,
    Mark

  • How to close database connections in Crystal Reports

    I am using the following code to connect to database. I can either pass JNDIName or I can provide values for others by leaving JNDI name empty.
    If i use JNDI name, it will use a connection from the connection pool of App Server (in my case Weblogic), but it is not releasing the connection after use. Connection remains even if I logoff from the application. If i keep my max connections as 15 in weblogic, after clicking the page with crystal report 15 times all will remain active and users will not be able to login to the application.
    If i use connectionString and others without using JNDI Name, it directly connects to database. So it creates a connection in database server directly without using connection pool of weblogic. If i check weblogic, it shows no connection in use as expected, but if i check database, i can see the no. of connections increasing everytime a user clicks a crystal report page.
    When the connection touches the maximum allowed connection in server, every application using the same server goes down
    How can I close the connection which was created for the viewing the report?
    String reportName = "/reports/BankBalance.rpt";
    ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
    if (clientDoc == null)
             clientDoc = new ReportClientDocument();
             clientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
            // Open report
            clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
           String connectString = ""; // jdbc:sybase:Tds:DBSERVERNAME:9812/DBNAME?ServiceName=DBNAME
           String driverName = "";    // com.sybase.jdbc3.jdbc.SybDriver
           String JNDIName = "DS_APP";
           String userName = "";
           String password = "";
           // Switch all tables on the main report and sub reports
           CRJavaHelper.changeDataSource(clientDoc, userName, password, connectString, driverName, JNDIName);
         // logon to database
          CRJavaHelper.logonDataSource(clientDoc, userName, password);
    // Store the report document in session
    session.setAttribute(reportName, clientDoc);
                   // Create the CrystalReportViewer object
                          CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
         String reportSourceSessionKey = reportName+"ReportSource";
         Object reportSource = session.getAttribute(reportSourceSessionKey);
         if (reportSource == null)
              reportSource = clientDoc.getReportSource();
              session.setAttribute(reportSourceSessionKey, reportSource);
         //     set the reportsource property of the viewer
         crystalReportPageViewer.setReportSource(reportSource);
         crystalReportPageViewer.setHasRefreshButton(true);
         crystalReportPageViewer.setToolPanelViewType(CrToolPanelViewTypeEnum.none);
         // Process the report
         crystalReportPageViewer.processHttpRequest(request, response, application, null);

    the sample shows how to clear RAS and Enterprise resources after viewing report.
    1. If you use unmanaged RAS - as I can see you using setReportAppServer, then remove the enterprise related stuff : instantiating and cleaning code.
    The sample code is meant to give you an idea on how you can release the resources after done with viewing report. In your case all you need to do for cleaning is call close() on ReportDocumentObject. The sample will need to be modified for your requirements.

Maybe you are looking for

  • Partner Profile and its configuration.

    Hi all, I am creating an SD IDoc using EDI and send it between two servers. I need to know what is a partner profile and why should we create it. what are the steps to be followed in maintaining a partner profile and its configuration. Any pointers w

  • Adobe error with interactive forms

    Hello, we are trying to make a customer interactive form on the SAP Discovery system, everthing works fine until we try to run a preview with interactive and changeble parameters turned on. By the way there is a SAP provided credential on the system.

  • How to manually add custom code snippets to Xcode?

    I have a lot of code snippets made for programming. In the past, when I used MS Visual Studio , I could simply add my own snippets , but in Xcode I can't find where to add custom codes.

  • IMac 2GHz Intel Core 2 Duo. Is this HW compatible with Mac OS 10.9.x

    iMac 2GHz Intel Core 2 Duo. Is this HW compatible with Mac OS 10.9.x

  • Change the customer master fields

    Hi all, I am looking for a BAPI or USER-EXIT to change the customer master fields KNA1-STCD3, BRAN1, BRAN2, BRAN3, BRAN4, BRAN5. If anybody knows please share. Thanks in advance, Pranav