How to embed PL/SQL queries in HTML in Database App Development VM?

I'm reading "Learning Oracle PL/SQL" and this book tells me that if I can install apache httpd and modplsql I can embed queries in HTML.
How do I do this in Database App Development VM?
Do I already have apache httpd installed? Is it already started?
If not, how do I start it?
What am I getting when I point my firefox browser to http://localhost:1158/em? I'm getting a nice web page that is prompting for username and password. What username and password do I use? oracle/oracle did not work!
What does this web site do? Administer the database server?
I already tried to use "yum install emacs" as I mentioned in Re: How to Install emacs, openssh and start oracle database and get a connect? and it appears that the repository for "yum" is not correct.
"yum install httpd" does not work either.
When I tried "sudo yum install httpd" it says
"Sorry, user oracle is not allowed to execute '/usr/bin/yum install httpd' as root on localhost.localdomain."
I get the same message for "sudo yum isntall emacs".
Thanks
Siegfried

user8816970 wrote:
I'm reading "Learning Oracle PL/SQL" and this book tells me that if I can install apache httpd and modplsql I can embed queries in HTML.
How do I do this in Database App Development VM?
Do I already have apache httpd installed? Is it already started?
If not, how do I start it?
What am I getting when I point my firefox browser to http://localhost:1158/em? I'm getting a nice web page that is prompting for username and password. What username and password do I use? oracle/oracle did not work!
What does this web site do? Administer the database server?
I already tried to use "yum install emacs" as I mentioned in Re: How to Install emacs, openssh and start oracle database and get a connect? and it appears that the repository for "yum" is not correct.
"yum install httpd" does not work either.
When I tried "sudo yum install httpd" it says
"Sorry, user oracle is not allowed to execute '/usr/bin/yum install httpd' as root on localhost.localdomain."
I get the same message for "sudo yum isntall emacs".
Thanks
Siegfriedhttp://www.oracle.com/pls/db112/search?remark=quick_search&word=psp

Similar Messages

  • SQL queries inside html region

    Hi,
    I have html page in my application and i need to display result of the sql query inside this page. I would like to know if i can use the sql queries in html and if yes how can do that.
    My query is select count(*) from Quote Letter master where service = 'Premier Support'
    And i have similar queries like this which i would like to use in the html region.
    Thank you,
    rakesh

    rakesh119 wrote:
    Hi,
    I have html page in my application and i need to display result of the sql query inside this page. I would like to know if i can use the sql queries in html and if yes how can do that.You cannot/should not write sql queries in your html, but in APEX there are different ways to achieve this such as Page Items, PL/SQL Dynamic Content Region etc.
    My query is select count(*) from Quote Letter master where service = 'Premier Support'.For this you better use a page item and compute the items value using a page computation on on-load before header point. Then you can place the page items in a APEX region and also add any styling

  • SQL queries from a Citadel database

    We are retrieving data with third-party package SQL queries from a Citadel database. Certain queries for some object members will not return data, but the SQL search application software returns an "error". An analysis of the error from the SQL end does not find problem on SQL side. I suspect corruption of Citadel database. The link to database is good, as most tags do return a value as expected. 
    This problem occurred at the time of re-location of the database to a replacement computer.  Any ideas on how to fix such a problem?

    Can you give an example of the "bad" SQL statement and a good one?
    Ryan Shi
    National Instruments

  • How to get the SQL queries based on SQL_ID.

    Hi Experts,
    I want to get the SQL queries based on SQL_ID.
    I have tried the following query,but I am not getting full query.
    [code]SET linesize 132 pagesize 999
    column sql_fulltext format a60 word_wrap
    break on sql_text skip 1
    SELECT   REPLACE (TRANSLATE (sql_text, '0123456789', '999999999'), '9', ''),sql_id
    FROM   dba_hist_sqltext s
    WHERE   s.sql_id = '7tvurftg8zryb';[/code]
    One of my friend said use grid to get full query text.
    Can you please help me how to use grid ,else any other method to get the full query based on SQL_ID.
    Please help me.
    Thanks in advance.

    You have these many options to set, if sql_text is really huge. But better use a tool(TOAD) as it's really helpful and easy to use instead! (See my previous comment).
    column sql_text format A10000
    set echo off
    set head off
    set feed off
    set verify off
    set termout off
    set lines 10000
    set long 1000000
    set trimspool on
    set pages 0
    Thanks!

  • How to see what SQL queries are made to my Database Server?

    Hi all,
    I'm a newbie. I'd like to know if there's a way to find out what SQL queries are being made to my Database server at the server end.
    Is it possible that Oracle Database Manager logs this information (including the exact query/SQL)somewhere in its logs? How to enable such an option and/or view the recent SQL queries made ?
    Please enlighten me. Thanks in advance.
    Thanks and Regards
    Sharat

    "I checked the V$SQLTEXT view too. It has only 64 characters for SQL_TEXT field." Yes yes but you might have noticed that it also has the column called piece. The view shows the full SQL statement broken up into little pieces. Use ADDRESS and HASH_VALUE to link to v$sql. There is also a view V$SQLTEXT_WITH_NEWLINES that throws in some line separators to make it "easier" to read.
    Example below shows full text of SQL statements currently executing.
    SQL> column address noprint
    SQL> column hash_value noprint
    SQL> break on hash_value skip 1
    SQL> select
      2     a.address, a.hash_value, b.sql_text
      3  from
      4     v$sql a, v$sqltext b
      5  where
      6     a.users_executing > 0
      7     and b.address = a.address
      8     and b.hash_value = a.hash_value
      9  order by
    10     a.address, a.hash_value, b.piece ;
    SQL_TEXT
    select    a.address, a.hash_value, b.sql_text from    v$sql a, v
    $sqltext b where    a.users_executing > 0    and b.address = a.a
    ddress    and b.hash_value = a.hash_value order by    a.address,
    a.hash_value, b.piece
    begin quest_exec.get_message(:cmd, :peer, :owner, :folder, :scri
    pt, :delay); end;
    6 ligne(s) sélectionnée(s).
    SQL> select
      2     a.address, a.hash_value, b.sql_text
      3  from
      4     v$sql a, v$sqltext_with_newlines b
      5  where
      6     a.users_executing > 0
      7     and b.address = a.address
      8     and b.hash_value = a.hash_value
      9  order by
    10     a.address, a.hash_value, b.piece ;
    SQL_TEXT
    select
       a.address, a.hash_value, b.sql_text
    from
       v$sql a, v
    $sqltext_with_newlines b
    where
       a.users_executing > 0
       and b
    .address = a.address
       and b.hash_value = a.hash_value
    order by
       a.address, a.hash_value, b.piece
    begin quest_exec.get_message(:cmd, :peer, :owner, :folder, :scri
    pt, :delay); end;
    6 ligne(s) sélectionnée(s).

  • How to test basic sql queries online(for Sql Server 2012 and up versions) ?

    Hi,
    I need to test basic sql queries using sql server without installing Sql Server on to the system.
    Do we have such readymade online help, which can solve such difficulties ?
    Please sugest some of url's.
    Thanks.

    Thanks for reply.
    I am looking specific Sql Server.
    Hi Maggy,
    I strongly recommend you install SQL Server 2012 express edit and test your T-SQL queries. We can download it from the following site:
    Microsoft® SQL Server® 2012 Express:
    http://www.microsoft.com/en-hk/download/details.aspx?id=29062
    Regards,
    Elvis Long
    TechNet Community Support

  • How to trace the SQL statements executed in a database

    I am using Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production on a sun server and I am not familiar with Oracle but with MS SQL there is a tool called profiler, it allows you to monitor and see what is going on in a specific databases whether it is SQL statement executins or anything else. I have installed the oracle enterpise manager console at my windows client and I tried to look for a tool similar to the profiler in the MS SQL. I tried the TRACE DATA VIEWER and I inputed the login credentials but I don' t actually know the service name and I am getting an error ORA-12514 The TSN listener can not resolve the service name given in the connect descriptor. Therefore, am I on the right road so i have to look for the service name or are there any other ways i can trace the currently executing SQL statement in a specific database. I am really stuck there. I would appreciate if somebody help me out. Thanks
    Abdel Moalim

    Abdel Moalim wrote:
    I am using Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production on a sun server and I am not familiar with Oracle but with MS SQL there is a tool called profiler, it allows you to monitor and see what is going on in a specific databases whether it is SQL statement executins or anything else. I have installed the oracle enterpise manager console at my windows client and I tried to look for a tool similar to the profiler in the MS SQL. I tried the TRACE DATA VIEWER and I inputed the login credentials but I don' t actually know the service name and I am getting an error ORA-12514 The TSN listener can not resolve the service name given in the connect descriptor. Therefore, am I on the right road so i have to look for the service name or are there any other ways i can trace the currently executing SQL statement in a specific database. I am really stuck there. I would appreciate if somebody help me out. Thanks
    Abdel MoalimHi
    I see others have answered the network connectivity issues, I'll try and address the tracing issue. Your best bet is to review http://www.petefinnigan.com/ramblings/how_to_set_trace.htm for the many ways in which a sessions SQL and indeed other activity can be traced. In version 7 (which I'm guessing is yours from the sid) the only profiler available was tkprof (Trace Kernel Profiler) which will do a good job of analysing your trace file. The trace files themselves are generated on the server in a protected directory so you may need to ask your dba for access to them. There are other profilers around now (I have one which runs in v9 and higher database at http://www.niall.litchfield.dial.pipex.com/SimpleProfiler/SimpleProfiler.html which will analyse your files for example) but tkprof is the start point - or else just reading the trace file in a text editor. There is also a utility written by the Oracle Apps guys trcanalyzer that will do a good job for you. In general the interface is poor compared with the ms utility but the information is deeper and more helpful
    Niall Litchfield
    http://www.orawin.info/

  • How to view the sql queries generated by EJB (CMP)

    Hello,
    I'm using Oracle9iAS (9.0.2.1.0) Containers for J2EE (build 020827.1652) & Oracle 8.1.7 database.
    I have a CMP that has about 400 fields and the corrsoponding table has about 800 fields. I'm able to call create and add a row in database.
    Now when I call update method to set the remaining fields of this row (I get the proper instance by calling findByPrimaryKey()) I'm getting an exception ORA-00957 duplicate column name.
    I'm using reflection to set all the fields by passing my update method a HashMap and setting those fields that this HashMap contains. And as HashMap cannot contain duplicate keys the possiblility of having duplicates is eliminated.
    But why am I getting ORA-00957 duplicate column name.
    Is there a way I can configure somehow to view what sql query is being generated by the OC4j container when its firing this query to update the database table.
    Any help will be greatly appriciated.
    Vipin.

    Install IronTrack SQL as described in the following link
    http://www.irongrid.com/documentation/irontracksql/install.html#install_oracle9iAS

  • How to embed the Xcelsius application in HTML

    Hi ,
    I like to embed the Xcelsius application (not the SWF file ) in HTML using <Object> tag.Please let me know what is the classid and parameters for Xcelsisus application.
    Regards,
    Prakash.

    Hi Prakash
    Do you mean embed the Xcelsius Designer into a HTML page?
    If so then you cannot do that because the Xcelsius application is an executable not a SWF file.
    You can embed an Xcelsius SWF into a HTML page (via the Object tag) by going File, Export, HTML in the Xcelsius Designer - this generates the SWF file and the HTML file with the OBJECT tag to embed the SWF file in the HTML page.
    Regards,
    Matt

  • How to pull history SQL queries before 18 day's

    Hi,
    I tried to pull the Awr report for the SQL history queries. Unfortunately it is saved only for 7 days. There is any way I can retrieve the history SQL from dictionary tables. I have access to all the DBA views. Please let me know if you need any further information.
    Thanks,
    Swagath

    swagath, as already stated as a general rule Oracle does not retain the information you are asking for. Even the AWR information consists of samples so it is not complete.
    Keeping a record of all the queries ran would take a fair amount of space on any active system and really what practical use if this information.
    If you need to know who accessed what then you need auditing configured and if you need to hold onto the data for more than a short period of time you likely need to be dumping the audit trail external to the database.
    IMHO -- Mark D Powell --

  • Could  you please tell me how to write efficient SQL queries?

    Hi
    Could you please tell me how to tune or write an efficient SQL query?
    Regards,

    Hi user576726
    Pls study & try this ....
    When your query takes too long ...
    hope it helps....
    Regards,
    Abdetu...

  • How to invoke PL\SQL Function from HTML

    I have creadted empty functin in protal30
    i receive ERROR when i invoke ANY function in existing scheme
    portal30.FOO: PROCEDURE DOESN'T EXIST
    DAD name: portal30
    PROCEDURE : portal30.FOO
    URL : http://'server':80/pls/portal30/portal30.FOO
    PARAMETERS :
    ============
    txt:
    ENVIRONMENT:
    ============
    PLSQL_GATEWAY=WebDb
    .

    url above is not corect
    http://server:80/pls/portal30/foo
    foo: PROCEDURE DOESN'T EXIST
    DAD name: portal30
    PROCEDURE : foo
    URL : http://'server':80/pls/portal30/foo
    I can't invoke any existing function in prtlal30 schema
    null

  • How to migrate Azure SQL Codefirst DB to Oracle database?

    Hi,
    we have been developing a Web application with Windows Azure Code first  SQL DB using Code first approach.
    In the future we want to migrate our Azure SQL Code first DB to Oracle. If we migrate it to Oracle, does the application works fine? or do we need to do any additional actions in migrating from Azure SQL Code first  db to Oracle DB?
    It would be great if  anyone provides me complete information on this.

    Hi,
    You should be able to move the Azure SQL Code First Database to Oracle Database. You will have to make minor changes, for e.g connection string.
    Please have a check on the below link which talks about using Entity Framework 6 Code First with Azure SQL database as a backend. It will give you an idea on how to approach your migration.
    http://www.asp.net/mvc/overview/getting-started/getting-started-with-ef-using-mvc/migrations-and-deployment-with-the-entity-framework-in-an-asp-net-mvc-application
    Regards,
    Mekh.

  • How to Use the Wiki Page Ribbon Functionalists in own APP development?

    Hello Pros,
    I am developing an APP tool for dynamically modifying the contents on the Wiki Page on SharePoint for some format purpose. I hope to use the Ribbon functionalists provided by Wiki Page Editor like configuring the font on that APP. I have an editable div
    on the page and hope to use the Ribbon Buttons as used in the Wiki Page to control the contents of this div. Is it possible or I just have to develop those functionalists by myself instead of loading the Ribbon to my APP.
    And other problems I have got the solutions like accessing to my APP with parameter or using the REST to control the contents on Wiki Page.
    Hope to hear your responses. Thanks.

    I've not used JBuilder much, but if it has ant support, then it should
    be pretty straight-forward.
    -- Rob
    Rick Ni wrote:
    How to use the "split development directory structure" in JBuilder9 ?
    Have /APP-INF supported ?

  • How can I directly communicate with an apple employee or app developer about improving the "reminders" app. I have a few suggestions that I think have what it takes to work themselves into a new update!

    I just want to email someone who can actually change the app for the better in the next update

    http://www.apple.com/feedback/iphone.html

Maybe you are looking for

  • How and with what version to upgrade iphoto on MAC OS 10.5.8 with iphoto 08, version 7.1.5.

    I have a MAC OS 10.5.8 with i photo 08, version 7.1.5. I prepared a photo book to order via the Apple Shop as i did several times before without any problems. But this time  when it comes to order the book I get the message" Version 07 no longer vali

  • Error 13019 and ITunes 10.5 Difficulties

    So, I tried to sync my itouch (4th generation) but an error came up (13019). When I looked that error up it said "you must download itunes 10.5." I downloaded it and afterwards it said "successfully downloaded". But when itunes came up it was still t

  • Workflow  - Schedule Manager problem

    Hi, I have configured a flow definition task in Schedule Manager (SAP 4.7, IDES system). After the immediately execution I got a very strange dump: Syntax error in program "CL_SWF_RUN_WIM_LOCAL==========CP The following syntax error occurred in the p

  • How To View An Item When Publish Date Is Set Greater Than Current Date

    Using Oracle Portal Version: 10.1.2.0.2 (Build: 139). The customer(content manager) uploads a document into the portal on 28-JUL-2006 07:08 AM. The publish date is change to 1-AUG-2006 00:01 AM. There is a portal user group needing to review the docu

  • Airline Reservation System

    An Airline wants to design a reservation system based on the following conditions: �h Each Plane has capacity of 10 seats. �h Applet should display the following options at the top of applet window ��Please type 1 for ��Non-Smoking�� ��Please type 2