Bug: Trace session from sessions report

Attempt to trace session against a 9.2.0.6 database, failed due to DBMS_MONITOR not available.
Is this a newer package that the database version needs to be verified and adjust to use this call instead for older databases? sys.dbms_system.set_boo_param_in_session

Actually what would be best would be to use this for < 10g databases:
dbms_system.set_ev (9,29,10046,X,'');
where level x would be in a dropdown box in the dialog when enabling tracing on the session.
As a developer and DBA, I enable trace at many different levels depending on what I am diagnosing.

Similar Messages

  • BUG: ERR-1777 from Interactive Report on  Webkit browsers

    Using the [My Orders interactive report on page 1 of the Sample Application|http://apex.oracle.com/pls/otn/f?p=60385:1], entering a search term in the default search field and pressing return results in
    >
    ERR-1777: Page 1 provided no page to branch to. Please report this error to your application administrator.
    >
    in the following Webkit-based browsers:
    Mac OS X 10.5.6
    Safari 3.2.1
    Mac OS X 10.5.7
    Safari 4.0.2
    Safari 4.0.3
    Windows XP SP3
    Safari 4 public beta (528.16)
    Google Chrome 2.0.172.39

    Hi,
    I'm terribly sorry.
    I was hurry, when posting
    Here is link I forgot attach
    ERR-1777 in Interactive Report on Mac Safari 4
    Br, Jari

  • How to generate trace file from different session?

    I have a cron job which starts several Oracle stored proc (Oracle 9.2). I want to generate a trace file when the job is running. I know I can use this alter session command before I start this job. But this is my session not the job session. So this command won't generate trace file for job's session.
    ALTER SESSION SET EVENTS '10046 TRACE NAME CONTEXT FOREVER, LEVEL 8';
    Appreciate any ideas.
    Thanks.
    S.

    Easiest way is to use database control/grid control - click trace session button!
    The 'old fashioned way is'
    begin
    DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION(SID,serial#,TRUE);
    end;
    find sid and serial# in a select from v$session
    There are other ways too but this is probably the easiest.
    You'll need appropriate privileges to run this .
    Cheers,
    Harry

  • What is a "logged in user" on the "Active Sessions" report in CF8 Server Monitor?

    I was looking at the Active Sessions Report (The Chart View) and saw I have more "logged in users" than "active sessions".
    I had expected them to be nearly the same.    It's on our Intranet where I log users in (using cflogin and cfloginuser) at the begining of their session and users should be logged when the session ends.
    I couldn't find a detailed explaination of what a "logged in user" means.   There is a chance that the same user is logged into a nested application as well as the Intranet, but I don't think that is what I'm seeing.
    I also don't see a way to get a list of what CF is counting as a logged in user.  I can only see a way to get the total count.
    Any help is appreciated. 
    Thanks,
    Jeff

    Thank you Michael for the reply, but I don't think that is the issue.
    When a user opens their browser on the intranet, a session begins and they are logged in (using the cflogin and cfloginuser).    If they close their browser, the session should hang around for 20 min. (per the server setting).   I am assuming this is still considered an "Active Session" since I can see this behavior in the report.
    At first, the Active Sessions and Logged In Users are exactly the same.   When the sessions start to time out, the active sessions are reduced,  but the Logged In Users remain the same.    Then,  after a while, they start to move together.  So I have more Logged In Users than Active Sessions.
    I left the Server Monitor open last night and for most of the night, I had 0 sessions, but 57  "logged in users".   This morning, as people opened their browsers, the Active Sessions and Logged In Users moved together.   The gap of 57 looks consistent.
    It looks like people are remaining logged in after their session ended.
    I am really looking for a detailed explaination of "active session" and/or "logged in user" as used in the server monitor.  It would be really nice to find a way to list the details about each item counted in the "logged in user" and not just the total count. 
    Thanks Again for your reply.
    jsm

  • ORA-20876 in csv export from interactive report = Possibly a bug?

    Hi Apex team,
    yesterday i tried to download data to csv from an interactive report. The resulting csv file contained a "ORA-20876: Stop APEX Engine" only and no other data. I played around with other reports in my application and had no problems with exports.
    After some investigation i found out that the buggy report contains a column of display type "Display as text (based on a LOV, escape special characters)". When I changed this column type to "Standard Report Column" for example, the error didn't appear anymore and the csv export contained complete data.
    Maybe this is a bug? The environment is Apex 4.1.1.00.23 on 11g (UTF-8). Is there a workaround available?
    Regards,
    Jens
    Edited by: j.gauger on 06.02.2013 14:10
    Additional Information
    The problem seems to occur only if a Shared Components LOV of type "Static" is referenced in the IR column.

    Hi,
    what happens if you take the query from IR report and create a new classic report?
    On this report enable csv export and then try the export.
    Maybe that (format) data are causing export to fail.
    Try to export just one row in your IR report (and classic report), so that you add where rownum < 2.
    Regards,
    Aljaz
    Edited by: Aljaz on 6.3.2012 23:11
    Edited by: Aljaz on 6.3.2012 23:29

  • How to trace session(3rd paty application) accessing oracle

    Solaris 9
    oracle 9i and 10g
    I would like to know how to trace session which is 3rd party application currently running .
    I need to collect statisctics for currently running session.
    Thanks.
    Message was edited by:
    user539835

    See this thread:
    Re: SQL_TRACE help to newbie in oracle
    Search the forum and you will also see how to manually decode most of the trace file.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Event Trace Session missing for Failover Cluster

    I have a failover cluster setup and is managed via a Windows Domain controller for the failover cluster network.  I am troubleshooting a potential issue with the failover cluster and the recommendation is to go into event viewer, app & service
    logs, Microsoft, windows and look for failover cluster diagnostics and operations logs and these do not exist. 
    It appears they are created by having an event trace session associated with windows failover clustering but apparently it was't created when the cluster was created for some reason.  I am wondering how to create the proper event trace session
    in order to get these additional failover cluster logs created? 

    Hello,
    the following forum mat be the better one for your needs:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverClustering
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • Is thier any T.CODE or Report to Trace BATCH from SALES INVOICE

    Is thier any T.CODE or Report to Trace BATCH from SALES INVOICE

    Hi,
    What you can do to resolve is :
    Create Querry using -
    First Define Querry using
    SQ02
    SQ03
    SQ01
    (Ask ABAPER to do it if u find it difficult) - Take Selection fleld as Billing Document No. and dates if reqd and result screen take billing no. , item desc, and batch.
    then when they querry in SQ01 ask ABAP to ocnvert to program
    then assign a Z tocde to this program
    give authorization for this Z T code to User
    He can then use it
    Regards
    Krishna

  • Failed to start one or more trace sessions

    Hi,
    I just installed the analyser on a Win2012R2 Core server and can not get the analyser to start.
    ===========================================
    Failed to start one or more trace sessions due to the followinf errors:
    Error Details:
    Unable to start ETW session MMA-ETW-Livecapture-d28fac22-61bc-4e52-ac03-60fa79d2ec62
    Host Name: Localhost
    Error in the application.
    ===========================================
    This is with the provider:
    Microsoft-Windows-NDIS-PacketCapture
    I have this error on two core machines so I missing something?!
    BR
    Per

    This happens if you are not logged in as administrator, or perhaps if a session is already running. Does it change if you run Message Analyzer as administrator? What do you see when you type "Get-NetEventSession" form PowerShell?
    Paul

  • See sql query from crystal report without crystal report

    see sql query from crystal report without crystal report 

    Hi,
    Depends on datasource type but you could have a look at ODBC trace or if you have access to the SQL Server you could use profiler to monitor the session.
    Regards,
    Craig
    And this will only be of use if you know which Server/Insstance/Database the Report is connecting to...
    Please click "Mark As Answer" if my post helped. Tony C.

  • Error connecting to database from Crystal Report

    Hi,
    I am using Crystal report 2008, .NET 3.5 on Windows Server 2008 + SQL Server 2008
    I have a batch that generates report (via export) then this batch will send the exported report via email.
    I am encountering this error when reading report from BO Server
    Error: CrystalDecisions.CrystalReports.Engine.LogOnException: Database logon failed. ---> System.Runtime.InteropServices.COMException (0x8004100F): Database logon failed.
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    While when trying to read the report from physical file within the server, it will give me this error
    Error: CrystalDecisions.CrystalReports.Engine.InternalException: Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
    Failed to retrieve data from the database.
    Error in File IAREPORT {92DFCAFC-58AC-4CB3-B9DD-A9565E07088D}.rpt:
    Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ] ---> System.Runtime.InteropServices.COMException (0x800002D3): Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
    Failed to retrieve data from the database.
    Error in File IAREPORT {92DFCAFC-58AC-4CB3-B9DD-A9565E07088D}.rpt:
    Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    The report is working in our SIT environment but it is not working in our UAT environment.
    I have tried the following:
    1) running the batch (that generates the report) in SIT environment to call SIT database
    Working fine
    2) running the batch (that generates the report) in SIT environment to call UAT database
    Will give the above error
    3) running the batch (that generates the report) in UAT environment to call UAT database
    Will give the above error
    4) running the batch (that generates the report) in UAT environment to call SIT database
    Working fine
    For reading report from BO Server, I have tried viewing the report directly and scheduling the report directly from BO Server and it works fine.
    Also I have tried to 'verify database' on the UAT report, but it seems it didn't solve the issue.
    Does anyone have any idea how to solve this? Or what could cause this?
    Appreciate your help.
    Thanks.

    Here's how I connect to the database
    when reading report from bo server:
    Dim enterpriseSession As CrystalDecisions.Enterprise.EnterpriseSession
                Dim enterpriseService As CrystalDecisions.Enterprise.EnterpriseService
                Dim infoObjects As CrystalDecisions.Enterprise.InfoObjects
                Dim infoObject As CrystalDecisions.Enterprise.InfoObject
                Dim infoStore As CrystalDecisions.Enterprise.InfoStore
                Dim query As String = ""
                query = "SELECT * FROM CI_INFOOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.Report' AND SI_NAME LIKE '" & reportName & "'"
                'Create a session manager
                Dim sessionMgr As New CrystalDecisions.Enterprise.SessionMgr
                'Log into BusinessObjects Enterprise
                enterpriseSession = sessionMgr.Logon(cu.BOXIUser, cu.BOXIPwd, cu.BOXIServer, cu.BOXIAuthentication)
                'Create the infostore object
                enterpriseService = enterpriseSession.GetService("InfoStore")
                infoStore = New CrystalDecisions.Enterprise.InfoStore(enterpriseService)
                infoObjects = infoStore.Query(query)
                If (infoObjects.Count > 0) Then
                    infoObject = infoObjects(1)
                    crDoc.Load(infoObject, enterpriseSession)
                    crDoc.SetParameterValue("@batchID", batchID)
                    Dim CrExportOptions As ExportOptions
                    Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions()
                    Dim CrPDFFormatOptions As New PdfRtfWordFormatOptions
                    Dim CrExcelFormatOptions As New ExcelFormatOptions
                    CrDiskFileDestinationOptions.DiskFileName = reportFile
                    CrExportOptions = crDoc.ExportOptions
                    With CrExportOptions
                        .ExportDestinationType = ExportDestinationType.DiskFile
                        .ExportFormatType = IIf(reportFormat = IAConstant.PDF, _
                                                ExportFormatType.PortableDocFormat, _
                                                IIf(FINRptFormat = IAConstant.EXCELONLY, _
                                                ExportFormatType.ExcelRecord, ExportFormatType.Excel))
                        .DestinationOptions = CrDiskFileDestinationOptions
                        .FormatOptions = IIf(reportFormat = IAConstant.PDF, _
                                             CrPDFFormatOptions, CrExcelFormatOptions)
                    End With
                    crDoc.Export()
                Else
                    Throw New ApplicationException(Constant.APP_ERR & " - Report not found")
                End If
    The error is thrown when trying to export --> crDoc.Export()
    The username and password are correct because it is the same username and password that the batch used to extract the data in the initial stage.
    Here's how my batch works:
    1) Extract and massage data directly from .net SP (this is working fine)
    2) Obtain the report then use the same connection string (for physical path report) or use the report connection string (for bo server report), this report is using Stored Procedure (the problem starts here)
    For reading report from bo server, I have also checked that the connection from the report itself is correct, because we can schedule/view the report from bo server successfully.
    SQL Driver, is it the SQL Native Client you are saying? It's SQL Native Client 10.
    I think we are using Business Objects Enterprise XI 3.1 Client Tools SP2 in our apps server.

  • Changing fields in form opened in query mode via a link from a report

    I have a summary report which allows me to access a form via a link: The form opens up with its fields populated with the corresponding record from the report.
    Can additional code be added to the after displaying page section of the form such that some of the fields can be assigned with different values from those in the original record? If so, can anyone offer some sample code for this?

    Hi,
    You can access and set the values of the columns in forms by using certain apis. All the columns in the form are available in the session which can be accessed and set.
    Sample Code
    declare
    flightno number;
    ticketno varchar2(30);
    tdate date;
    persons number;
    blk varchar2(10) := 'DEFAULT';
    begin
    flightno := p_session.get_value_as_varchar2(
    p_block_name => blk,
    p_attribute_name => 'A_FLIGHT_NO');
    ticketno := p_session.get_value_as_varchar2(
    p_block_name => blk,
    p_attribute_name => 'A_TICKET_NO');
    tdate := p_session.get_value_as_date(
    p_block_name => blk,
    p_attribute_name => 'A_TRAVEL_DATE');
    persons := p_session.get_value_as_number(
    p_block_name => blk,
    p_attribute_name => 'A_NOF_PERSONS');
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_FLIGHTNO',
    p_value => to_char(NULL)
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_TICKETNO',
    p_value => to_char(NULL)
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_TRAVEL_DATE',
    p_value => to_char(NULL)
    end;
    The above code sets and gets value of the form fields. The form field is accessed by prefixing "A" to the form column name. For example if the column name is "DEPTNO" then to access or set value to it you should refer to the session variable "A_DEPTNO".
    Thanks,
    Sharmila

  • Deactivate a link from a report

    Is it possible to deactivate a link from a report? Here is the problem I am facing. I have a database that will be used by 6 people and I am using a report to display records to be worked. So, when one user clicks on a record to make edits, I want to ensure that the other 5 users can't select the same record. I am trying to keep users from doing duplicate work and having an error message given to the user who doesn't save the record first. I didn't know if it was possible to do a conditional link by checking the session to see if the record is currently called up? Any help would be appreciated.

    Simplistically:
    When you "pull up" your record to edit, you can write a onload process to set a flag on that record with the user/timestamp to indicate that the record is locked. When the record is saved back to the database, have the save process clear this flag.
    Of course, in a real-world situation, many other factors have to be considered, as Scott was alluding to...
    What happens if User pulls up the record and his browser crashes, he leaves the page without saving or goes for lunch or ...? No other user will be able to edit that record. This is generally considered a "non scalable" design, but if it works for you, go ahead!

  • How to know query is fired from Oracle froms or Reports

    Hi,
    I am using oracle database 11g Release 2.
    I use oracle enterprise manager to find which query requires more time to execute but how can i find which user is firing this query and this query is fired from oracle form or from oracle reports.
    Database: 11g R2
    O.S: Windows 7 professional
    Forms & reports : 11.1.2
    Need Help..

    But how can i frind the query is run by user is from oracle forms or from oracle reports.
    How can i get the name of form or report from where user is running.did you read the document about v$session attached in the other post?
    You have the answer there.
    If you want the exactly query, this is not the place. We try to help, not do your job.

  • 10g r2 Forms  "View Trace Log" from EM

    Group,
    Just setting up a 10g (r2) environment and wanted to see what the new trace output looked like. So I setup EM (enterprise manager) to collect trace logs. Turned it on for a given forms session. This seemed to work ok, but as soon as I try to view the log via EM, it wants me to enter a pass word. I tried both Internet explorer and firefox as the browser and the same thing. Except on firefox, it tells me to enter username and password for "formsweb" at http://....
    I tried all the usernames and passwords that we use during the initial install. But nothing worked. Anyone know what user name and password I should be using?
    Enviroment is 10g r2 running on redhat 4
    Thanks..
    --pat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    yup, answered in another post:
    10g "View Trace Log" from EM

Maybe you are looking for

  • What is the best way to archive and store old mail using Apple Mail?

    Hi, I have a number of older emails that I would like to archive and store for potential future access. Even though I have mails from earlier Lotus Notes accounts and Microsoft Office accounts, I am referring in this case only to apple mail data that

  • Please help! Error -48 can't sync, tried everything!!

    Hi as above really, I have had my ipod 20gb clickwheel nearly 4 years and no problems, all of a sudden itunes has come up with this error message. I cannot take off or put songs onto the ipod, or move them around in playlists etc, but when not connec

  • Dynamically changing the size of KM document IView.

    Hi All, At present the framework page has 3 KM document Iview. All iviews are calling HTML files. Now if the content in HTML file increases, I get an scroll bar for that Iview. Also based on the resolution of the screen I get the scrollbar. e.g I hav

  • Crosstab Webi report

    Hello, I need  to create some dummy columns at the end of the cross tab, any ideas The cross tab may look some thing like      A     B   C  D  E        1 2 3 where the 1,2,3 are rows and A,B,C D and E are columns, both are data objects. Hence the cro

  • I was wondering how to use Dreamweaver to create joomla template? Any ideas or useful resources.

    I am embarking on a new project to create a joomla template. I need your ideas on how to use Dreamweaver to create the template. TQ