Getting the name of the application in the APEX in a query

Hi guys, any way to get the name of the application through queries.

I looked at the API and can only get the ID using v ('APP_ID')

http://www.utoug.org/i/doc/concept_sub_strings.htm

Thank you.

Published by: IA on December 22, 2011 14:33

I wrote:
Hi guys, any way to get the name of the application through queries.

select application_name
from apex_applications
where application_id = :app_id

Documented, public access to the metadata of the application is available through the views of the APEX. You can get a glimpse of these by using the query

select * from apex_dictionary

in Home > workshop SQL > SQL commands.

A more structured view of the opinion of APEX is available at Home > utilities > Application Express views (switch to the tree to get the best idea of how they are organized).

Tags: Database

Similar Questions

  • get the node of SQL query file name

    Hi all
    I have a concurrent request that requires the name of file as input. For example, when I connect to oracle on our test instance, I use http://moon1.oando-plc.com:8000. For this program at the same time, the node file name appears as moon1.oando - plc.com.
    I need to use this argument to a PL/SQL procedure, that I write and I don't want to use any hard coding.
    Is it possible to get this data into an SQL statement.

    Thank you

    Hello

    You can get table ICX_PARAMETERS (HOME_URL column). Orsearch profile options values for 'http' get the login page URL (or server name) - see (Note: 201945.1 - How E-Business Suite profile Option values list for all levels using SQLPlus).

    Kind regards
    Hussein

  • How to get the apex developing system variables

    Hi all

    Please help me find system variables, such as user name, the date system, workspace name, Application name, name of the registered source (field of the table) etc... in the apex development environment.

    Thank you
    Dennis

    Hi Dennis,

    If you want to get all the items page,... on the current page have a look at the views of the APEX dictionary. You can query all the metadata of your application at run time. For example

    select item_name
      from apex_application_page_items
     where application_id = :APP_ID
       and page_id        in (0, :APP_PAGE_ID)
     order by item_name
    

    will return the page all items on the current page and on page 0 names. Page 0 is a global page where all the components of this page to get merged into the current page during execution.

    The APEX_DICTIONARY view to return all the available Apex dictionary views.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Get the APEX username in Oracle

    I have an Oracle procedure called in a few places in my Apex application.

    Is it possible to save the Apex user who executed the procedure?

    I know that you can get this by using the Apex: APP_USER, but I want to be able to say this in my Oracle procedure (and it saves in a table) without changing many pages of the Apex.

    Hello

    To get the user database or package scheme you can use the function of v.
    Example:

    ...
    v_user := v('APP_USER');
    ...
    ...
    

    --
    Paulo Vale
    http://Apex-notes.blogspot.com

  • Get the max of this query

    DB version: 10 gr 2

    My query below is a union of two queries max. Currently, it returns two rows.
    select max(to_timestamp(to_char(END_EFFECTIVE_DATE,'YYYY-MM-DD HH24:MI:SS'),'YYYY-MM-DD HH24:MI:SS')) 
    from SHIP_DTL
    where SHIP_DTL.IS_ENABLED = 1 AND SHIP_DTL.IS_DELETED = 0 
    AND COMPANY_ID =1
    and cost_event_id=1 and END_EFFECTIVE_DATE is not null
    union
    select max(to_timestamp(to_char(START_EFFECTIVE_DATE,'YYYY-MM-DD HH24:MI:SS'),'YYYY-MM-DD HH24:MI:SS')) from SHIP_DTL
    where SHIP_DTL.IS_ENABLED = 1 AND SHIP_DTL.IS_DELETED = 0 AND COMPANY_ID =1
    and cost_event_id=1 and END_EFFECTIVE_DATE is null;
    
    MAX(TO_TIMESTAMP(TO_CHAR(END_EFFECTIVE_DATE,'YYYY-MM-DDHH24:MI:SS'),'YYYY-M
    ---------------------------------------------------------------------------
    09-12-01 05:39:00.000000000
    09-12-30 06:55:00.000000000
    I want to get the most out of these two lines. So, I tried the following query using double. But I get the error message
    SQL> select max (select max(to_timestamp(to_char(END_EFFECTIVE_DATE,'YYYY-MM-DD HH24:MI:SS'),'YYYY-M
    M-DD HH24:MI:SS')) 
      2  from SHIP_DTL
      3  where SHIP_DTL.IS_ENABLED = 1 AND SHIP_DTL.IS_DELETED = 0 
      4  AND COMPANY_ID =1
      5  and cost_event_id=1 and END_EFFECTIVE_DATE is not null
      6  union
      7  select max(to_timestamp(to_char(START_EFFECTIVE_DATE,'YYYY-MM-DD HH24:MI:SS'),'YYYY-MM-DD HH24:
    MI:SS')) from SHIP_DTL
      8  where SHIP_DTL.IS_ENABLED = 1 AND SHIP_DTL.IS_DELETED = 0 AND COMPANY
    _ID =1
      9  and cost_event_id=1 and END_EFFECTIVE_DATE is null) from dual;
    select max (select max(to_timestamp(to_char(END_EFFECTIVE_DATE,'YYYY-MM-DD HH24:MI:SS'),'YYYY-MM-DD 
                *
    ERROR at line 1:
    ORA-00936: missing expression
    What I'm doing wrong here?
    select max(dt) from (
     SELECT MAX(to_timestamp(TO_CHAR(END_EFFECTIVE_DATE,'YYYY-MM-DD HH24:MI:SS'),'YYYY-MM-DD HH24:MI:SS')) dt
       FROM SHIP_DTL
      WHERE SHIP_DTL.IS_ENABLED = 1
    AND SHIP_DTL.IS_DELETED     = 0
    AND COMPANY_ID              =1
    AND cost_event_id           =1
    AND END_EFFECTIVE_DATE     IS NOT NULL
      UNION
    SELECT MAX(to_timestamp(TO_CHAR(START_EFFECTIVE_DATE,'YYYY-MM-DD HH24:MI:SS'),'YYYY-MM-DD HH24:MI:SS'))
       FROM SHIP_DTL
      WHERE SHIP_DTL.IS_ENABLED = 1
    AND SHIP_DTL.IS_DELETED     = 0
    AND COMPANY_ID              =1
    AND cost_event_id           =1
    AND END_EFFECTIVE_DATE     IS NULL
    )
    

    put in a sub query

    Ravi Kumar

  • How to get the result using this query?

    Hi using iam under query,

    WITH CTE (SNO, ID, PNT)

    AS

    (SELECT ROWNUM as SNO, TRANS_ID, VCN_NO OF)

    SELECT V.TRANS_ID, V.VCN_NO IN VSL_MOVES V

    WHERE V.END_TIME > = TRUNC (TO_DATE (: pStartDate, ' dd/MM/yy HH24')) AND V.END_TIME < = TRUNC (TO_DATE (: pEndDate, ' dd/MM/yy HH24'))

    AND V.MOVEMENT_TYPE_CODE NOT IN ORDER ("ATA") OF V.VCN_NO, V.END_TIME))

    SELECT ROWNUM as SNO, TAB. VESSEL_NAME, TAB. FLAG, TAB. IMO_NO, TAB. ARRIVED_DATE, TAB. F_ROM,

    NVL ((SELECT CASE WHEN VMS. MOVEMENT_TYPE_CODE = 'ATS' THEN (SELECT TO_CHAR (NBV. ATD, "DD/MM/YYYY HH24") OF PNTS WHERE NBV. DOC_NO = TAB. VCN_NO AND ROWNUM < = 1) WHEN VMS. MOVEMENT_TYPE_CODE = 'ATB' THEN (SELECT TO_CHAR (VBU. BRTH_ALL_FAST, "DD/MM/YYYY HH24") OF VSL_BERTH_UNBERTH VBU WHERE VBU. BERTH_TRANS_ID = VMS. TRANS_ID AND ROWNUM < = 1) END ELSE NULL VSL_MOVES VMS WHERE VMS. TRANS_ID = TAB. (T_ID),'-') Sailed_Date,.

    NVL ((SELECT CASE WHEN VMS. MOVEMENT_TYPE_CODE = 'ATS' THEN (SELECT P.PORT_NAME OF RRS, PORT_MASTER P WHERE P.PORT_CODE = PNT. VSL_NXT_PRT_CALL AND PNT. DOC_NO = TAB. VCN_NO) WHEN VMS. MOVEMENT_TYPE_CODE = 'ATB' THEN (SELECT CASE WHEN VBU. BERTH_CODE LIKE "% VOPK" AND THEN "VOPAK" WHAT VBU. BERTH_CODE AS "VSPM %" THEN "VOPAK" ELSE "POF" VBU VSL_BERTH_UNBERTH END WHERE VBU. BERTH_TRANS_ID = VMS. TRANS_ID AND ROWNUM < = 1) END ELSE NULL VSL_MOVES VMS WHERE VMS. TRANS_ID = TAB. (T_ID), "-") DESTINATION

    DE)

    SELECT

    VM. TRANS_ID,

    VM. VCN_NO,

    VM. MOVEMENT_TYPE_CODE,

    (SELECT PNT. VSL_NAME OF PNTS WHERE NBV. DOC_NO = VM. VCN_NO AND ROWNUM < = 1) VESSEL_NAME;

    (SELECT C.COUNTRY_NAME OF COUNTRY C, VESSEL_MASTER M WHERE C.COUNTRY_CODE = M.FLAG AND M.VSL_CODE = VM. VSL_CODE AND ROWNUM < = 1) AS FLAG,.

    (SELECT M.VSL_IMO_NO FROM VESSEL_MASTER M WHERE M.VSL_CODE = VM. VSL_CODE AND ROWNUM < = 1) IMO_NO;

    TO_CHAR (VM. END_TIME, "DD/MM/YYYY HH24") ARRIVED_DATE,.

    WHEN VM BOX. MOVEMENT_TYPE_CODE = 'STA' THEN (SELECT P.PORT_NAME FROM RRS, PORT_MASTER P WHERE P.PORT_CODE = PNT. LST_PORT_CALL AND PNT. DOC_NO = VM. VCN_NO AND ROWNUM < = 1) WHEN VM. MOVEMENT_TYPE_CODE = 'UTA' THEN (SELECT VB. VSL_BERTH_UNBERTH VB BERTH_CODE WHERE VB. UNBERTH_TRANS_ID = VM. TRANS_ID AND ROWNUM < = 1) END F_ROM.

    --(SELECT T2.ID DELE DE CTE T1 JOIN CTE T2 SUR T1.) SNO = T2. SNO + 1 WHERE T1.ID = VM. TRANS_ID AND T1. NBV = VM. VCN_NO AND T2. NBV = VM. ATD VCN_NO)

    (SELECT T1.ID CTE T1 WHERE SNO = (SELECT T2. SNO + 1 ETC T2 WHERE T2.ID = VM. TRANS_ID AND T2. NBV = VM. T_ID VCN_NO))

    OF VSL_MOVES VM

    WHERE (VM. End_time > = TRUNC (TO_DATE (: pStartDate, ' dd/MM/yy HH24')) AND VM. End_time < = TRUNC (TO_DATE (: pEndDate, ' dd/MM/yy HH24')) or

    ((CASE WHEN VMS. MOVEMENT_TYPE_CODE = 'ATS' THEN (SELECT TO_CHAR (NBV. ATD, "DD/MM/YYYY HH24") OF PNTS WHERE NBV. DOC_NO = TAB. VCN_NO AND ROWNUM < = 1) WHEN VMS. MOVEMENT_TYPE_CODE = 'ATB' THEN (SELECT TO_CHAR (VBU. BRTH_ALL_FAST, "DD/MM/YYYY HH24") OF VSL_BERTH_UNBERTH VBU WHERE VBU. BERTH_TRANS_ID = VMS. TRANS_ID AND ROWNUM < = 1) END ELSE NULL VSL_MOVES VMS WHERE VMS. TRANS_ID = TAB. Saileddate T_ID)) > = TRUNC (TO_DATE (: pStartDate, ' dd/MM/yy HH24')) and

    (CASE WHEN VMS. MOVEMENT_TYPE_CODE = 'ATS' THEN (SELECT TO_CHAR (NBV. ATD, "DD/MM/YYYY HH24") OF PNTS WHERE NBV. DOC_NO = TAB. VCN_NO AND ROWNUM < = 1) WHEN VMS. MOVEMENT_TYPE_CODE = 'ATB' THEN (SELECT TO_CHAR (VBU. BRTH_ALL_FAST, "DD/MM/YYYY HH24") OF VSL_BERTH_UNBERTH VBU WHERE VBU. BERTH_TRANS_ID = VMS. TRANS_ID AND ROWNUM < = 1) END ELSE NULL VSL_MOVES VMS WHERE VMS. TRANS_ID = TAB. T_ID) saileddate) < = TRUNC (TO_DATE (: pEndDate, ' dd/MM/yy HH24')))

    --(Sailed_Date > = TRUNC (TO_DATE (: pStartDate, ' dd/MM/yy HH24 ')) AND Sailed_Date < = TRUNC (TO_DATE (: pEndDate, ' dd/MM/yy HH24')))

    AND VM. MOVEMENT_TYPE_CODE IN ('STA', "UTA")

    ) TAB

    now my Question is should I include Sailed date also starttime and endtime (ex: date range of pStartDate and pEndDate I need to display the date sailed respected records)

    I mean the problem is solved, I found the solution

    docks of pof-

    WITH CTE (SL, VCN_NO, VESSEL_NAME, FLAG, IMO_NO, ARRIVED, FROM_, MOVEMENT_TYPE_, NEXT_MOVE, SAILED_DATE, DESTINATION, FID, TID)

    AS

    (SELECT T1.*,

    WHEN T1 BOX. FROM_ = 'POF' THEN 1 OTHER 2 END FID,

    WHEN T1 BOX. DESTINATION = "POF" THEN 1 OTHER 2 END TID

    Of

    (

    SELECT ROW_NUMBER() OVER (PARTITION OF VM. VCN_NO ORDER BY VB. (SL BRTH_ALL_FAST),

    VM. VCN_NO,

    (SELECT M.VSL_NAME FROM VESSEL_MASTER M WHERE M.VSL_CODE = VM. VESSEL_NAME VSL_CODE),

    (SELECT C.COUNTRY_NAME OF COUNTRY C, VESSEL_MASTER M WHERE C.COUNTRY_CODE = M.FLAG AND M.VSL_CODE = VM. VSL_CODE AND ROWNUM< =1="" )="" as="">

    (SELECT M.VSL_IMO_NO FROM VESSEL_MASTER M WHERE M.VSL_CODE = VM. IMO_NO VSL_CODE),

    VB. BRTH_ALL_FAST HAS ARRIVED,

    (CASE WHEN VM. MOVEMENT_TYPE_CODE = 'ATB' THEN 'ANCHORAGE' WHAT VM. MOVEMENT_TYPE_CODE = "LTB" THEN 'LAND' WHEN VM. MOVEMENT_TYPE_CODE = "BTB" AND (SELECT TT1. VSL_MOVES TT, VSL_BERTH_UNBERTH TT1 BERTH_CODE WHERE TT. TRANS_ID = TT1. BERTH_TRANS_ID AND TT. VCN_NO = VM. VCN_NO AND TT1. UNBERTH_TRANS_ID = VB. BERTH_TRANS_ID) (SELECT WB. BERTH_MASTER BM BERTH_CODE WHERE BM. QUAY_CODE NOT IN ("VOPAK", "SPM")) THEN 'POF' WHEN VM. MOVEMENT_TYPE_CODE = "BTB" AND (SELECT TT1. VSL_MOVES TT, VSL_BERTH_UNBERTH TT1 BERTH_CODE WHERE TT. TRANS_ID = TT1. BERTH_TRANS_ID AND TT. VCN_NO = VM. VCN_NO AND TT1. UNBERTH_TRANS_ID = VB. BERTH_TRANS_ID) (SELECT WB. BERTH_MASTER BM BERTH_CODE WHERE BM. QUAY_CODE IN ("VOPAK", "SPM")) THEN "VOPAK" OTHER (SELECT P.PORT_NAME FROM RRS, P PORT_MASTER WHERE P.PORT_CODE = PNT. LST_PORT_CALL AND PNT. DOC_NO = VM. FROM_ VCN_NO END)).

    VM. MOVEMENT_TYPE_CODE,

    (SELECT THE VIRTUAL COMPUTERS. VSL_MOVES VMS MOVEMENT_TYPE_CODE WHERE VMS. TRANS_ID = VB. NEXT_MOVE UNBERTH_TRANS_ID),

    VB. UB_LST_LNE_CASTOFF SAILED_DATE,

    NVL ((SELECT CASE WHEN VMS. MOVEMENT_TYPE_CODE = 'UTA' THEN 'ANCHORAGE' WHAT VMS. MOVEMENT_TYPE_CODE = 'BTL' THEN 'LAND' WHEN VMS. MOVEMENT_TYPE_CODE = "UTS" THEN (SELECT P.PORT_NAME FROM RRS, PORT_MASTER P WHERE P.PORT_CODE = PNT. VSL_NXT_PRT_CALL AND PNT. DOC_NO = VMS. VCN_NO) WHEN VMS. MOVEMENT_TYPE_CODE = "BTB" AND (SELECT TT1. VSL_MOVES TT, VSL_BERTH_UNBERTH TT1 BERTH_CODE WHERE TT. TRANS_ID = TT1. BERTH_TRANS_ID AND TT. VCN_NO = VM. VCN_NO AND TT1. BERTH_TRANS_ID = VMS. TRANS_ID) (SELECT WB. BERTH_MASTER BM BERTH_CODE WHERE BM. QUAY_CODE NOT IN ("VOPAK", "SPM")) THEN 'POF' WHEN VMS. MOVEMENT_TYPE_CODE = "BTB" AND (SELECT TT1. VSL_MOVES TT, VSL_BERTH_UNBERTH TT1 BERTH_CODE WHERE TT. TRANS_ID = TT1. BERTH_TRANS_ID AND TT. VCN_NO = VM. VCN_NO AND TT1. BERTH_TRANS_ID = VMS. TRANS_ID) (SELECT WB. BERTH_MASTER BM BERTH_CODE WHERE BM. QUAY_CODE IN ("VOPAK", "SPM")) THEN "VOPAK" OTHERWISE NULL END VSL_MOVES VMS WHERE VB. UNBERTH_TRANS_ID = VMS. (TRANS_ID), "-") DESTINATION

    OF VM, VSL_BERTH_UNBERTH VB VSL_MOVES WHERE (VM. TRANS_ID = VB. BERTH_TRANS_ID)

    AND VM. MOVEMENT_TYPE_CODE LIKE '% TB '.

    AND ((VB. BRTH_ALL_FAST > = TO_TIMESTAMP(:pStartDate,'DD/MM/YYYY HH24:MI') AND VB. BRTH_ALL_FAST<= to_timestamp(:penddate,'dd/mm/yyyy="">

    OR (VB. UB_LST_LNE_CASTOFF > = TO_TIMESTAMP(:pStartDate,'DD/MM/YYYY HH24:MI') AND VB. UB_LST_LNE_CASTOFF<= to_timestamp(:penddate,'dd/mm/yyyy="" hh24:mi'))="">

    AND VB. BERTH_CODE (SELECT WB. BERTH_MASTER BM BERTH_CODE WHERE BM. QUAY_CODE NOT IN ("VOPAK", "SPM"))

    - AND VM. VCN_NO = 201510336

    ORDER OF VB. BRTH_ALL_FAST

    ) T1

    )

    Select rownum AS SNO, tab2.* of)

    SELECT

    TAB1. VCN_NO, TAB1. VESSEL_NAME, TAB1. FLAG, TAB1. IMO_NO,

    NVL (BOX WHEN TAB1. HAS ARRIVED< to_timestamp(:pstartdate,'dd/mm/yyyy="" hh24:mi')="" then="" '----------'="" else="" to_char(tab1.arrived,'dd/mm/yyyy="" hh24:mi')="" end,'----------')="">

    NVL (BOX WHEN TAB1. HAS ARRIVED< to_timestamp(:pstartdate,'dd/mm/yyyy="" hh24:mi')="" then="" '----------'="" else="" (select="" t2.from_="" from="" cte="" t2="" where="" t2.sl="TAB1.FROM_" and="" t2.vcn_no="TAB1.VCN_NO)" end,'----------'="">

    NVL (CASE WHEN (SELECT T2. DESTINATION OF THE CTE T2 WHERE T2.SL = TAB1. DEST AND T2. VCN_NO = TAB1. VCN_NO) = 'POF' THEN '-' ANOTHER BOX WHEN TAB1. SAILED_DATE > TO_TIMESTAMP (: pEndDate, ' DD/MM/YYYY HH24') THEN '-' ELSE TO_CHAR (TAB1. (SAILED_DATE, "DD/MM/YYYY HH24") A PIECE,'-') SAILED_DATE,.

    NVL (BOX WHEN TAB1. SAILED_DATE > TO_TIMESTAMP (: pEndDate, ' DD/MM/YYYY HH24') THEN '-' ELSE (SELECT CASE WHEN T2. DESTINATION = 'POF' THEN '-' ANOTHER T2. THE END OF THE DESTINATION OF THE CTE T2 WHERE T2.SL = TAB1. DEST AND T2. VCN_NO = TAB1. (END OF VCN_NO), "-") DESTINATION

    DE)

    SELECT THE TAB. VCN_NO, TAB. VESSEL_NAME, TAB. FLAG, TAB. IMO_NO,

    MIN (TAB. HAPPENED) ARRIVED,

    MIN (TAB.SL) FROM_,

    MAX (TAB. SAILED_DATE SAILED_DATE),

    MAX (TAB.SL) DEST,

    TAB. SNO

    DE)

    SELECT T1.*,

    WHEN T1 BOX. FID = 2 AND T1. TID = 1 THEN 1 WHEN T1. FID = 1 AND T1. TID = 2 THEN 1 WHEN T1. FID = 1 AND T1. TID = 1 THEN 0

    WHEN T1. FID = 2 AND T1. TID = ROWNUM THEN 2 + 1 END OF ANOTHER 3 SNO

    T1 ETC

    ) GROUP OF TABS BY TABS. VCN_NO, TAB. VESSEL_NAME, TAB. FLAG, TAB. IMO_NO, TAB. SNO

    ) TAB1 WHERE TAB1. SNO<>0

    ) tab2

  • Get the LDAP user running a DBMS_JOB

    Hello!

    I am building an Application at the APEX 3.2 and the authentication scheme is a type of 'See the Page and use LDAP Directory IDs'.
    It all works very well.

    In this application, I give the possibility to download files and sometimes they are really big, so this download is executed by a job (DBMS_JOB. SUBMIT).
    Also works very well.

    My problem comes when I need to know what the user downloads the file!
    If I run it normally, not with a JOB, I can get the user using the package wwv_flow_custom_auth_std.get_username () and returns exactly what I want.
    But if I use this package inside employment it returns nothing.

    Is there a way to get the Apex user that triggered the work, when running it?

    I need this because I have a journal table, with the history of the records that have been updated / deleted and which update/remove the.

    Thank you

    Vania

    Vanya:

    You can do the following in the stored procedure

    Dbms_application_info package to set up "client_info" for the user name passed to the procedure

    dbms_application_info.set_client_info(p_user);
    

    The stored value can then be retrieved in the current session to help

    select sys_context('USERENV','CLIENT_INFO') into aud_user from dual;
    

    CITY

  • Try to get the listener to the APEX to run in stand-alone mode

    US aircraft problems try to get the APEX listener running in stand-alone mode on AIX, but that did not work. We decided to switch to Linux, and now we get questions below on the Linux (Red Hat). Any ideas?

    Thank you!

    Java $ [oracle@ban-apex-prod apex_listener]-Dapex.port=8070-Dapex.images=/home/orale/apex/images-jar apex.war
    NEWS: Check out: /home/oracle/apex_listener/apex.war
    See: ' java-jar apex.war - help' for a full range of configuration options
    INFO: Extraction to: / tmp/apex
    INFO: Using classpath: file:/tmp/apex/apex/___embedded/start.jar:file:/tmp/apex/apex/WEB-INF/lib/xdb-1 1.2.0.jar:file:/tmp/apex/apex/WEB-INF/lib/poi-3.6-20091214.jar:file:/tmp/apex/apex/WEB-INF/lib/apex.jar: file:/tmp/apex/apex/WEB-INF/lib/ojdbc6.jar:file:/tmp/apex/apex/WEB-INF/lib/je-4.0.103.jar:file:/tmp/ap ex/apex/WEB-INF/lib/xmlparserv2-11.2.0.jar:file:/tmp/apex/apex/WEB-INF/lib/ojmisc.jar : file:/tmp/apex/ap ex/WEB-INF/lib/ucp.jar:file:/tmp/apex/apex/WEB-INF/lib/commons-fileupload-1.2.1.jar:
    INFO: From Embedded Web container: / tmp/apex
    December 7, 2011 16:36:55 ___bootstrap. The Deployment Manager deploy
    INFO: Deploy application path=/tmp/apex/apex/WEB-INF/web.xml
    December 7, 2011 16:36:56 ___bootstrap. The Deployment Manager deploy
    NEWS: deployment application path=/tmp/apex/apex/WEB-INF/web.xml
    December 7, 2011 16:36:56 com.sun.grizzly.Controller logVersion
    INFO: From Grizzly Framework 1.9.18 - o - Wed Dec 07 16:36:56 EAST 2011
    INFO: http://localhost:8070 / apex began.
    December 7, 2011 16:37:02 com.sun.grizzly.http.servlet.ServletAdapter doService
    SEVERE: service exception:
    java.lang.IllegalStateException: not yet initialized
    at oracle.dbtools.apex.config.ApexConfig.notInitialized(ApexConfig.java:249)
    at oracle.dbtools.apex.config.ApexConfig.getFile(ApexConfig.java:234)
    at oracle.dbtools.apex.config.ApexConfig.exists(ApexConfig.java:63)
    at oracle.dbtools.apex.admin.AdminManager.populateAdminFieldValues(AdminManager.java:868)
    at oracle.dbtools.apex.admin.AdminManager.getFieldMaps(AdminManager.java:841)
    at oracle.dbtools.apex.admin.Admin.displayAdminHTML(Admin.java:164)
    at oracle.dbtools.apex.admin.Admin.displayAdminPage(Admin.java:147)
    at oracle.dbtools.apex.admin.Admin.doGet(Admin.java:50)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sun.grizzly.http.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:195)
    at com.sun.grizzly.http.servlet.FilterChainImpl.invokeFilterChain(FilterChainImpl.java:139)
    at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:376)
    to ___bootstrap. SecureServletAdapter.doService (SecureServletAdapter.java:72)
    at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:324)
    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
    at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:180)
    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:330)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:309)
    at java.lang.Thread.run(Thread.java:679)


    December 7, 2011 16:58:39 com.sun.grizzly.http.servlet.ServletAdapter doService
    SEVERE: service exception:
    oracle.dbtools.rt.service.ServiceLocatorException: there is no defined service
    at oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:91)
    at oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:74)
    at oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:85)
    at oracle.dbtools.rt.web.HttpEndpointBase.dispatchers(HttpEndpointBase.java:138)
    at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sun.grizzly.http.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:195)
    at com.sun.grizzly.http.servlet.FilterChainImpl.invokeFilterChain(FilterChainImpl.java:139)
    at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:376)
    to ___bootstrap. SecureServletAdapter.doService (SecureServletAdapter.java:72)
    at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:324)
    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
    at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:180)
    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:330)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:309)
    at java.lang.Thread.run(Thread.java:679)

    Hello

    US aircraft problems try to get the APEX listener running in stand-alone mode on AIX, but that did not work.

    Now, it's a coincidence - Colm just posted on this topic today: {: identifier of the thread = 2318817}
    It is in any case, he started on Linux, so...

    SEVERE: service exception:
    java.lang.IllegalStateException: not yet initialized

    This is the relevant part of your stack trace. You must call http://: 8070/apex/listenerConfigure and complete the initial configuration (mainly the database connection settings) before you can access the APEX for the first time.

    -Udo

  • Failed to get the desired result

    Hi gurus

    Don't know why I get the following output:

    Query

    SOME jobs,

    COUNT (*),

    COUNT (CASE job WHEN 'CLERK' THEN 1 ELSE 0 END) cnt

    WCP

    Working GROUP;

    The query result

    WORK, COUNT (*), CNT

    3 3 CLERKS

    4 4 SELLER

    THE PRESIDENT 1 1

    MANAGER 3 3

    1 1 ANALYST

    According to my understanding, the result should be as below:

    Result must be

    WORK, COUNT (*), CNT

    3 3 CLERKS

    SELLER 4 0

    THE PRESIDENT 1 0

    MANAGER 3 0

    ANALYST 1 0

    Thanks in advance.

    Concerning

    Shu

    Hello

    Shuumail wrote:

    Hi gurus

    Don't know why I get the following output:

    Query

    SOME jobs,

    COUNT (*),

    COUNT (CASE job WHEN 'CLERK' THEN 1 ELSE 0 END) cnt

    WCP

    Working GROUP;

    The query result

    WORK, COUNT (*), CNT

    3 3 CLERKS

    4 4 SELLER

    THE PRESIDENT 1 1

    MANAGER 3 3

    1 1 ANALYST

    According to my understanding, the result should be as below:

    Result must be

    WORK, COUNT (*), CNT

    3 3 CLERKS

    SELLER 4 0

    THE PRESIDENT 1 0

    MANAGER 3 0

    ANALYST 1 0

    Thanks in advance.

    Concerning

    Shu

    COUNT (*) tells you how many lines there are.

    COUNT (exp) tells you how many lines have a value not NULL in exp

    Your CASE expression never returns null; It always returns a value of 0 or 1, but never NULL.  So, if exp is never NULL, so each line has a value not NULL and if COUNT (*) and COUNTY (exp) are always the same.

  • How to get the ID within a table?

    Hello
    Suppose that a table has first ID column that stores the unique ID in this format: P000001, P000002, P000003... and so on.
    How can I get the next value via query? After obtaining this insert query ID will be applied.

    Just use an Oracle sequence and consult nextval.
    You can apply the format as follows:

    SQL> create sequence my_seq;
    
    Sequence created.
    
    SQL> select 'P'||to_char(my_seq.nextval, 'fm000000') new_id from dual;
    
    NEW_ID
    --------
    P000001
    
    SQL> select 'P'||to_char(my_seq.nextval, 'fm000000') new_id from dual connect by level <= 5;
    
    NEW_ID
    --------
    P000002
    P000003
    P000004
    P000005
    P000006
    SQL> 
    
  • EOA: The query cannot be parsed, please check the syntax of your query.

    Hi all

    I have a 'DEVETL_OAE' scheme that OAE is set up. I am able to connect to this schema using Toad/Sqlplus and I can access a table "INFA8_INS_NEW" located in "ADW_DEV_REP" scheme.

    "ADW_DEV_REP" scheme gave a grant to select this table in a role of selection (i.e. ' ADW_DEV_REP_SELECT') SELECT 'DEVETL_OAE' 'INFA8_INS_NEW'.

    I can run a query in sqlplus and I am able to access this table as "select * from ADW_DEV_REP." INFA8_INS_NEW'.

    But, SAQ, when I try to create the region and source, when I'm trying to ' select * from ADW_DEV_REP. INFA8_INS_NEW' sql, I get the error message like "Query cannot be parsed, please check the syntax of your query. (ORA-00942: table or view does not exist) »

    What should I give manual grant to the schema 'DEVETL_OAE' on ' ADW_DEV_REP. INFA8_INS_NEW' table?

    Pls help.

    Thank you and best regards,
    Vinay

    "Indeed, you must grant select on ' ADW_DEV_REP. INFA8_INS_NEW' DEVETL_OAE (so not through a role).

  • Get the name of an application dependency

    Hi guys,.

    In my application, I used some dependency files.

    How to get the dependence of all the names of files via api?

    So how do you identify the particular application dependency files?

    Thank you

    I got the solution using code below

    CodeModuleGroupManager.loadAll)

  • Get the name of the caller from an application when the Crier - executing.

    Hi all

    Here, I'll be back with a new problem which goes as follows:

    Suppose that my xyz application stores some contacts (just like in the book addresses/phone book).

    Other contacts are by default stored in my Blackberry address book.

    Suppose I get a call on the handset with my app xyz running in background. All I need is to retrieve the name of the caller of the xyz application and view this name as"Akash Calling... ' instead of '+ 919999999788 calling... ". "assuming that the caller details are present in the said application, his name and none of the details in the actual address book. Is it feasible. If so, please suggest.

    Thanks in advance!

    everything in that this is done incoming call:

    1. you retrieve the number of the caller in the earpiece of the phone

    2. you get the name that corresponds to this number in the background application

    3. you create an entry in address book with this name and number

    After callIncoming is executed, the system call screen is displayed. The phone app checks if it can find the number in the address book. It finds the number and displays the name.

    After that the call is accepted or rejected remove you the address book entry.

  • Get the name of the Instance of the Application in an IOM PrePopulationAdapter

    We have at disposal of the IOM to multiple Active Directory domains. To do this, we installed a connector AD, Multiple Instances of the Application of several Instances of IT resources, while using one and the same resource object and form. Self-service console we want to request an account (Instance of the Application) to a user, and we can choose AD1, AD2, and AD3. When we choose, lets say, AD3 do we want to pre-fill the field organization name (OU in AD) with a specific organizational unit in Active Directory corresponding to the Application Instance AD3. The problem is that in the PrepopulationAdapter we have not managed to identify the instance of the application of demand.

    Here's how to get the instance of the application of demand in an adapter to prepopulate:

    prepopulate (RequestData requestData) serializable public get {RequestServiceException}
    String response = "";
    RequestBeneficiaryEntity targetEntity = requestData.getBeneficiaries () .get (0) .getTargetEntities () .get (0);
    EntityType of OIMType = targetEntity.getRequestEntityType ();
    If (entityType! = OIMType.ApplicationInstance)
    Return ' ';

    try {}
    String entitySubType = targetEntity.getEntitySubType ();
    ApplicationInstance appInst is getAppService () .findApplicationInstanceByName (entitySubType);.

    .... Continue your own code

    getAppService is the ApplicationInstanceService API.

    -Kevin

  • How can I get the user name (the user who has registered their own personalized interactive report) in the application

    Hello

    I want to get the user name. Who saved their own custom application of the Apex report.

    If someone could please help to get user names.

    Thanks in advance.

    Kind regards

    Cyril S

    A possible source: see in the following metadata table: apex_application_page_Ir_rpt

    You will need the id of the application, the page id and the id of the report to the information, which is located in the application_user column...

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

Maybe you are looking for