Do i need to install srwAPIins.sql in the database to run reports

I have a report where i have to generate whenever a row is inserted into a table. I have to automate this process.So, i am using event based publishing API in the after insert trigger or a procedure.We have 9i database and 10g developer suite. When i compiled the trigger it is says that variables should be declared.
like srw_paramlist
I am guessing that i should install this API in the database too.
DO i have install in the database too.
I tried to run srwAPIins.sql and srwAPIgrant.sql
Where can i get these sqls to run in these in the database.
Thank you very much.
Sree

Hi Sree,
Suppose you are using the following code:
DECLARE
myPlist SRW_PARAMLIST;
myIdent SRW.Job_Ident;
BEGIN
myPlist := SRW_PARAMLIST(SRW_PARAMETER('',''));
srw.add_parameter(myPlist,'GATEWAY','http://machine:port/reports/rwservlet');
srw.add_parameter(myPlist,'SERVER','mySVR');
srw.add_parameter(myPlist,'REPORT','myReport.RDF');
srw.add_parameter(myPlist,'USERID','me/secret');
myIdent := srw.run_report(myPlist);
END;
In this case, you need to make sure the following:
1. Make sure that the reports servlet is running, and that you provide the correct address of the servlet in your code. In 10g DS, to start the servlet, you need to go to your windows start menu > Programs > 10g DS > Reports Developer > Start OC4J instance. By default, this starts OC4J on port 8888. So submit the following command on a web browser:
http://hostname:port/reports/rwservlet
You should see the rwservlet page. (if there is a problem, also try ports 7777 and 7778).
If you see the rwservlet page, you should use the above URL for the GATEWAY parameter.
2. In the REPORT parameter, you need to provide the report name. If you provide complete path and report name, it's fine. Otherwise, you place the reports in any directory, add the directory to REPORTS_PATH, and provide only the report name in the code.
As you can see, GATEWAY and REPORT are separate parameters, and are not connected to each other.
Navneet.
PS: the advantage of posting in this Forum is that other users facing the same problem can search the forum and get answers to their queries.

Similar Messages

  • I want to install and use MFirefox Portable. Do i absolutely need to install Mozilla Firefox on my pc to run/use MozFireFoxPortable ?

    Do i absolutely need to install Mozilla Firefox on my pc to run/use MozFireFoxPortable ?
    i've been trying to use MFFPortable for several days and am as confused as hell whether i'm in FF or FFPortable
    FFPortable says their product is sooooooooo easy to install; they don't say it is easy to use with confidence
    can i just install FFPortable on an external (thumb) drive as seems to be its intention and purpose for security reasons without any parts of MozFireFox on the computer hard drive ?
    thnx, john

    You can copy the contents of your regular Firefox profile into your Firefox Portable profile folder. This way you'll have all your regular data like bookmarks, saved passwords, cookies, and so on.
    * [[Profiles - Where Firefox stores your bookmarks, passwords and other user data]]
    * http://portableapps.com/support/firefox_portable#local_profile
    If you still want to export and import bookmarks manually, see
    * [[Restore bookmarks from backup or move them to another computer]]
    * https://www.mozilla.org/firefox/sync/
    ''johndouglasdahl wrote:''
    when i enter the url of a site i visit, the <return> starts & takes me automatically to MFF not to PORTABLE.
    You launch Firefox Portable, you type something into the address bar and press Enter, and your local version of Firefox starts? If so, that simply shouldn't happen, and I can't imagine why it does. I suggest you continue the conversation that you started over on the Firefox Portable support forum:
    * http://portableapps.com/node/42334

  • Do I need to install virus protection for the windows portion of the partitioned hard drive on the MacBook Pro?

    Do I need to install virus protection for the windows portion of the partitioned hard drive on the MacBook Pro?

    You are running Windows, so yes. I like Microsoft's built in protection and how 8.1 is 'hardened' but I also install Malwarebytes. I will not use Kaspersky anymore. But you do need something. And 8.1 is more secure than prior versions definitely but there were some major zero-day security updates on this month's "Patch Tuesday."
    The forum for you is "Boot Camp" and this if you look above: Communities / Desktop / Mac Pro is not for MacBook Pro
    MacBook Pro
    Boot Camp

  • Need help Installing OID Repository on existing database server using RepCA

    I have an oracle database server running 10g (10.2.0.4) and I want to install metadata repository on it. I downloaded the Application Server Metadata Repository Creation Assistant 10.1.2.0.1 (standard edition).
    I find that there are no batch files in the download, just setup.exe. When I run that I am asked for an ORA_HOME - when I provide the home where the database is installed I get the message that the home already has the database and the software cannot be installed on it.
    How do I add the repository to an existing instance of oracle database server? Also, is the version I downloaded the right version #
    Thanks

    Hi sameer khan,
    first let me ask, are you talking about Netweaver04s (WAS 7.00), in this case my answer can give you some hints.
    Note 883948 gives information of the installation of an additional usage tye (like BI JAVA)
    You have more than one possibility to install the usage type BI JAVA. The most common installation types are:
    1. BI installation and a separate BI JAVA installation with 2 <SID>
    2. BI JAVA Addin Installation in an existing NW04s
    I recommend to use option 1:
    In case you install a separate BI-JAVA instance, you need a separate <SID> for your J2EE environment. In this case it is not possible to use the same <SID>. This installation can be done on the same or a separate server. Furthermore, you can use a separate database or install the J2EE instance in the same database (--> MCOD). I recommend to use a separate database. Note: In this installation option, Sapinst normally installs a separate user store. With the usage type BI JAVA it makes (in most cases) sense, to use the user store of the BI system, where it belongs to. If you want to do so, "Revise" the user store option before you start the installation and and choose the production client of the BI system.
    If you like to use an Addin Installation, another <SID> is not possible. I would only recommend this kind of installation in test environments.
    It doesn't matter, which kind you choose, after installation, you have to do the steps for "Setting up bex Web", see Note 917950. This is sometimes a little bit tricky, with Note 937697 there is a Support Tool, which can help.
    Good luck with your installation
    Kind Regards
    Marc

  • Need to install latest release of Oracle Database on a solaris 11 zone

    which is really a HA zone clustered in VCS(not important for installation of the database).
    What parameters do I need to set or change in the Solaris zone, there seems to be no /etc/system file.
    Please help,I need this done yesterday.

    I was wrong about VCS not being important for the installation of the database on a zone. The database installed fine outside of VCS control from the Oracle 11gR2 download online, however, VCS 6.0 PR1 does not seem to support Oracle agents for Solaris 11, this is what their software requirements are:
    Supported software for VCS agent for Oracle
    The VCS 6.0 Platform Release 1 agent for Oracle supports the following software
    versions in a Veritas Cluster Server (VCS) environment:
    Oracle 10g R2, Oracle 11g R1, and Oracle 11g R2 (including 64-bit
    versions)
    Note: Veritas Cluster Server agent for Oracle supports the specified
    Oracle versions on Solaris if Oracle supports that version on Solaris.
    Refer to the Veritas Cluster Server Release Notes for more details.
    Oracle
    VCS VCS 6.0 PR1 on Solaris
    For Solaris SPARC:
    Solaris 10 (32-bit and 64-bit)
    For Solaris x64:
    Solaris 10 (64-bit)
    Note: For each platform, Symantec recommends applying the latest
    Solaris operating system patches available from Oracle. Visit Oracle’s
    Web site to download the latest patches.
    Solaris
    There is no "ContainerOpts" attribute in VCS 6.0 PR1 for Solaris11......

  • Do I need to install something to make the TV tuner function?

    I just purchased a TouchSmart tx2-1275dx Notebook, and am trying to figure out how to use the MediaSmart TV application.  The video to tell you how to do it said that all HP computers come with a built in TV tuner, so I am assuming this is correct.  However, when i enter the TV section of MediaSmart, it says "No TV tuner card detected." and when I go to the internet TV section, it says "No Internet TV Content Available. Downloading the available internet TV content. Please Wait..." forever.  Every other section of MediaSmart works perfectly.
    Is there a driver I need to install, or something I need to fix?  Or am I just mistaken, and I need to buy a TV Tuner, in which case what do they usually cost and are there any recommended ones?

    singingkkatt wrote:
    I just purchased a TouchSmart tx2-1275dx Notebook, and am trying to figure out how to use the MediaSmart TV application.  The video to tell you how to do it said that all HP computers come with a built in TV tuner, so I am assuming this is correct.  However, when i enter the TV section of MediaSmart, it says "No TV tuner card detected." and when I go to the internet TV section, it says "No Internet TV Content Available. Downloading the available internet TV content. Please Wait..." forever.  Every other section of MediaSmart works perfectly.
    Is there a driver I need to install, or something I need to fix?  Or am I just mistaken, and I need to buy a TV Tuner, in which case what do they usually cost and are there any recommended ones?
     Not all computers come with a TV Tuner card.  I looked up your model's product specs and it doesn't show that you have a TV Tuner card installed, so you'll need to purchase an external card for that feature to work.  You can purchase an HP USB TV Tuner card here for a fair price.

  • I need to install pscs6 only. not the cloud version, can u help me,?

    i need to install photo shop 6, i cant do it, i dont want cloud version. can u help me?

    You'll need your serial number.
    Download from Download CS6 products
    Install then enter your serial number to license the software on your computer.

  • Stopping developers editing PL/SQL on the database

    Is there an option in SQL Developer to stop people directly editing packages that are on the database, let me explain why...
    Our PL/SQL is version controlled in a source control system, if someone wants to change it they should book it out from source control, edit that and compile. I don't want people going in and playing around with package source without booking it out of source control.
    Maybe there is an option already, if not can I request that one be added in future release.

    There is no such option today. To request it goto http://sqldeveloper.oracle.com and log it so we can track it.
    -kris

  • Need a Query to find whether the database needs any media recovery...

    Hi,
    I am at the mount stage of a database and yet be opened.at this stage any Query is available or any other way is there to find whether the database needs any media recovery or Instance recovery..?
    my objective is before opening the database i need to make sure it is consistent or inconsistent and any form of recovery is needed..
    thanks &regards,
    Ragunath
    Edited by: ragu.dba.in on Mar 6, 2013 12:57 AM

    Hi Ragunath,
    Use these queries , SCN should be consistent .. no fuzzy files, check for recovery of files in v$recover_file .. pass sufficient archives & fulfill the checks before open reset-logs
    set line 900
    set pages 900
    set echo on
    alter session set nls_date_format='dd-mon-yyyy hh24:mi:ss';
    set numwidth 13
    col CHECKPOINT_CHANGE# for 9999999999999999
    col CHANGE# for 9999999999999999
    column error format a10
    column member format a60
    show parameter db_recover
    select * from v$recover_file;
    select file#, status from v$datafile;
    select file#, checkpoint_change#, checkpoint_time, error from v$datafile_header;
    select distinct status from v$backup;
    select distinct  checkpoint_change#  from v$datafile_header;
    select hxfil file_id, fhscn scn, fhthr thread, fhrba_seq sequence, fhsta status from x$kcvfh;
    select distinct fhscn from x$kcvfh;
    select hxfil file_id, fhtnm tablespace_name from x$kcvfh;
    ##### Fuzzy Check ####
    alter session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS';
    set feedback on
    set heading on
    set pagesize 1000
    set linesize 175
    column checkpoint_change# format 999999999999999999999
    select status, checkpoint_change#, fuzzy,
    to_char(checkpoint_time, 'DD-MON-YYYY HH24:MI:SS') as checkpoint_time,
    count(*)
    from v$datafile_header
    group by status, checkpoint_change#, fuzzy, checkpoint_time
    order by status, checkpoint_change#, fuzzy, checkpoint_time;Thanks,
    Ajay More
    http://www.moreajays.com

  • I am on a mac trying to download ff install to a flashdrive for a friend with windows - his browser is inop, so he needs to install ff to access the net.

    friends wireless internet connection is OK but after updating explorer to 8 his browser went dead. Now he has a good wireless connection but no browser to act as interface. If I could download firefox install program to a flash drive and copy to his workstation the problem would be solved.
    My problem is; Mozilla download page sees my mac and only allows me to download a mac version. A choice before downloading a version might be nice. How can he access the net without a browser.

    Thanks T... Believe this will help my friend. Friends helping friends; I think that's a good thing :) Good God - Good forum. Blessings to all!

  • I need to install osx I have the snow leopard disc but my optical drive doesn't work.

    I made the rushed decision to completely scrub my Mac and reinstall the software again. I bought the computer about 4 years ago from a student at my university who was leaving. When I got it lion was installed already. Now I can use the install disc as my optical drive is broken and I can't recover from the internet as it wants the apple I'd from the original person. I can't find an uncorrupted file to USB boot my machine . has anyone got any ideas before I bite the bullet and get my CD drive repaired .

    Purchase an external CD/DVD optical drive.
    There are cheap ones (under$50) that'll last anywhere from a year to three years or more expensive(over $50 and higher) that will last much longer.
    Not all optical drives are Mac compatible.
    Most Mac compatible drives you will only find to be purchased online.
    Here are two on Amazon.com that are cheap and Mac compatible
    http://www.amazon.com/LG-GP10NB20-Portable-External-Drive/dp/B004K2Z4MS/ref=sr_1 _3?ie=UTF8&qid=1398883289&sr=8-3&keywords=Mac+compatible+external+LG+optical+dr i ve
    http://www.amazon.com/LG-Electronics-Portable-External-GP40NB40/dp/B009DS6OFU/re f=sr_1_7?ie=UTF8&qid=1398883289&sr=8-7&keywords=Mac+compatible+external+LG+opti c al+drive
    Here's another source for Mac compatible optical drives. These are also tray loading drives
    http://eshop.macsales.com/item/OWC/VLU2SD24XS/
    http://eshop.macsales.com/item/OWC/MR3F82SD24S/
    Good Luck!

  • I need help installing Adobe Photoshop Elements 11 I keep running into exit code 7 on Macbook Air.

    I have tried to restart Mac and I went to applications and dragged the application to the trash to uninstall and then tried again same error PLEASE HELP!!!

    Errors "Exit Code: 6," "Exit Code: 7" | CS5, CS5.5

  • Does firefox really need 1GB of RAM and half the CPU to run?

    Granted, I have two or three dozen tabs open, but still. This last time, it ended up being marked as "not responding" by Windows and the details included in the dialog are included below. I wish I didn't have to force quit and restart, so what I would like to have is a panel I could open to get a profile of the memory and CPU for each open tab, and maybe some way to flush parts of the heap.
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: plugin-container.exe
    Application Version: 1.9.2.4280
    Application Timestamp: 4e78bec7
    Fault Module Name: ntdll.dll
    Fault Module Version: 6.0.6001.18538
    Fault Module Timestamp: 4cb733dc
    Exception Code: c0000005
    Exception Offset: 00047ae2
    OS Version: 6.0.6001.2.1.0.768.3
    Locale ID: 1033
    Additional Information 1: fd00
    Additional Information 2: ea6f5fe8924aaa756324d57f87834160
    Additional Information 3: fd00
    Additional Information 4: ea6f5fe8924aaa756324d57f87834160
    Read our privacy statement:
    http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409

    No I doubt it should. Try keying in'' about:memory'' in the location bar, and for ideas look at the blogs by a developer interested in this subject http://blog.mozilla.com/nnethercote/

  • Microsoft SQL Server Express LocalDB / Windows Azure Powershell install fail - SQL writer failed to start

    I'm trying to install Windows Azure PowerShell on my Windows 7 SP1 Enterprise laptop. As a prerequisite, it needs to install Microsoft SQL Server 2012 Express LocalDB, I but keep receiving an error:
    Service 'SQL Server VSS Writer' (SQLWriter) failed to start. Verify that you have
    sufficient privileges to start system services.
    The service that it tries to use by default is the Local Service. I verified that it has log on as a service privileges and even did a restart. Same error.
    any ideas?
    Cross posted in Windows
    Azure

    Hi ,
    According to your description, when you install SQL Server 2012 Local DB , it encounter the error about SQLWriter. We need to verify if you invoke SQLLOcalDB.msi directly, and check
    MSSQL service is running and other service’s status.In addition, you can go to event viewer and check the error logs for analysis.
    There is a similar issue about Service SQL Server VSS Writer and troubleshooting SQL Server 2012 Express LocalDB, you can review the following article.
    http://blog.andreloker.de/post/2008/07/17/SQL-Server-hotfix-KB948109-fails-with-error-1920.aspx#!
    http://social.technet.microsoft.com/wiki/contents/articles/4609.troubleshoot-sql-server-2012-express-localdb.aspx
    Thanks,
    Sofiya Li
    Your Name
    TechNet Community Support

  • Need help installing my graphics driver in windows vista via boot camp

    New to mac so first time on forum as well.
    Love the Mac but i also want to get on some old games. C&C The First Decade mainly.
    I am currently using below.
    Mac mini Mid 2011 processor 2.5 GHz Intel Core it
    Memory 4 GB 1333 Mhz DDR3
    Graphics AMD Radeon HD 6630M 256 MB
    Software Mac OS X Lion 10.7.5
    Installing windows vista home premium 32 bit
    I have installed windows vista home premium using boot camp assistant and downloaded the windows drivers as well. After i have installed windows i installed boot camp using my Mac OS X snow leopard which installed boot camp 3 or 3.1 i believe and i eventually got apple updates for 3.2 which is what i am now runnning on vista. I had trouble getting my sound to play through my speakers at first but eventually got them working and now it is my graphics driver that i cannot seem to get working. In vista(I also downloaded service pack 1 and 2) when i go to control panel and check out my device control it shows a yellow exclamation point next to the adapter. I guess i need help in getting my graphics installed correctly on my windows. Is there something i should take off to install the correct driver? Or do i just need the correct driver download? If i have the correct driver how do i upload it onto my windows side in the device control.
    When i try to run c&c generals/zero hour i get a directx 8.1 error, red alert 2 is black but i can hear. i know these games can work i installed the graphics correctly the first time when i did not have sound as this is my second time installing windows so the game did load when i did not have sound.
    Advise?
    I was thinking about saying forget this i can't waste hours of my time anymore but i have to be close to getting everything working if i had graphics before and no sound but sound this time and no graphics. I was also thinking about just buying windows 7 home premium sp1 64bit system builder dvd off amazon and reinstalling windows using windows 7 but i want to make sure i can play these games before i spend the money. I thought my mini couldn't support windows vista and if it did only boot camp 4? how am i getting this far to get things to work?
    What is the driver i need to install to get these games working? What do I need to do or what am I missing???
    Do i need to install a different boot camp off apple and find a driver that will get mine to work in vista?
    Any and all responses will be greatly appreciated i have been at this everyday for hours.

    Also is there something, say maybe a driver, that was installed i do not need that is blocking me from installing the correct drivers? What driver in my boot camp folder do i need to install to get to the correct display to run those games.

Maybe you are looking for

  • SF300-24PP PEO Fail Detected.

    Hi there, I have a bit of a problem with a SF300-24PP that has a POE failure message when we bootup the switch. Please help me as I need to get this switch up. Here is a log of what happens. Please see the attachments. My main concern is that the swi

  • Unable to open image in camera raw in CS3

    I have CS3 and I'm unable to open images in camera raw.  I updated to 4.6 but it hasn't helped, and I've tried suggestions such as "open as" and then "formats" and choosing "camera raw"...still doesn't work.  Adobe is not able to help me over the pho

  • How to revert back to Snow Leopard from Lion?

    Foolishly I just jumped straight in, downloaded Lion and installed it, and well... I really don't like it.  It's not a patch on SL. So I'm trying to work out the best way of reverting back to Snow Leopard. I have: My Snow Leopard install disc. A Supe

  • Connection a iMac 10,1 to a MacBookPro4,1

    I would like to connect my MacBookPro4,1 to my iMac 10,1 as an extra monitor for using final cut...which cables do i need to use? thank you. N

  • How to save/load player stats?

    Okay..this should be my last for a while. The last thing I need to know is how to be able to save/load player stats. I'm working on an RPG and need to know how to create a save file with the players hp, mp, lvl, weapons, and so on, and then be able t