OAS 4.0.8.1- PL/SQL cartridge: Sessions

Hi Folks,
I am developing an application using OAS 4.0.8.1, I would like to know, is it advised to use the PL/SQL cartridge in session enabled mode? Ours is a online transaction system type of applicatin.
What are the advantages and disadvantages of enabling the client sessions.
Regards,
Sachin Chhajed.

I'm also interested in knowing how to access session variables in PL/SQL? I have only found descriptions of what session management is. I can't seem to find any sample code or documentation on the How Tos.
Thanks,
Paul
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sachin:
Hi Folks,
I am developing an application using OAS 4.0.8.1, I would like to know, is it advised to use the PL/SQL cartridge in session enabled mode? Ours is a online transaction system type of applicatin.
What are the advantages and disadvantages of enabling the client sessions.
Regards,
Sachin Chhajed.<HR></BLOCKQUOTE>
null

Similar Messages

  • ORA 1036 on OAS 4.0.8.1 PL/SQL Cartridge

    I get an ORA 1036 error (illegal variable name/number) when clicking on a forms submit button. All of the parameters match the package and procedure body both in name and in type. There are 70 parameters that are being passed to the procedure, some of which have multiple values. Has anyone seen this error and know how to work around it?
    Thanks

    OK, I solved the problem on my own, here is the solution for everybody interested in it :
    the definition of the procedure has to look like this :
    CREATE OR REPLACE PROCEDURE MY_PROC (
    num_entries IN NUMBER,
    name_array IN OWA.vc_arr,
    value_array IN OWA.vc_arr,
    reserved IN OWA.vc_arr)
    IS
    BEGIN
    Then you can use the variables "num_entries", "name_values", ...
    BTW, it also works with the OAS 4.0
    Oliver

  • Unable to run PL/SQL Cartridge (OAS 4.0.8.1, Redhat Linux Kernel 2.2, Oracle 8.1.5)

    PL/SQL Cartridge server refuses to come up.
    Config:
    =======
    OAS 4.0.8.1 on Redhat Linux Kernel 2.2
    Oracle 8.1.5 on Windows NT
    Remote access to the database using connect string
    The Linux m/c and NT m/c have recommended system requirements and domain registering. I could invoke the procedure from SQL plus and view the HTML contents using owa_util.showpage. Also, I could install PL/SQL Web Toolkit using the same DAD. But Cartridge server just refuses to come up. If anyone has a solution for this, it would be a great help!!
    P.S: Attached below is wrb.log
    Thanks,
    Kiran
    Wrb Log Contents
    ================
    02-11-2000 17:27:49 746919 devlinux `Broker` 2231 1 0x10fff `OWS-04764: Unable to bring up cartridge server, type icsawebsite, at devlinux. `
    02-11-2000 17:27:50 760451 devlinux `Dispatcher` 2361 1 0x2fff `OWS-04517: Error indicated by broker in getting cartridges of type icsawebsite/ckreddy. `
    02-11-2000 17:27:50 860311 devlinux `Dispatcher` 2361 1 0x2fff `OWS-04512: Request 604CD69E9EBF-A5EC-E000-16FAA8C00954 has internal error due to Error 4511. `
    02-11-2000 17:31:47 204347 devlinux `Broker` 2231 1 0x10fff `OWS-04764: Unable to bring up cartridge server, type icsawebsite, at devlinux. `

    We had the same problem with the PL/SQL cartridge (OWS-04764 ...). We solved our problem with a new kernel. Its important that you have a kernel with symmetric multi-processing support (SMP) enabled, independent if you have a one or two processor machine.
    I hope it will help you.
    Best regards
    Hans Hirter
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by icsanet:
    PL/SQL Cartridge server refuses to come up.
    Config:
    =======
    OAS 4.0.8.1 on Redhat Linux Kernel 2.2
    Oracle 8.1.5 on Windows NT
    Remote access to the database using connect string
    The Linux m/c and NT m/c have recommended system requirements and domain registering. I could invoke the procedure from SQL plus and view the HTML contents using owa_util.showpage. Also, I could install PL/SQL Web Toolkit using the same DAD. But Cartridge server just refuses to come up. If anyone has a solution for this, it would be a great help!!
    P.S: Attached below is wrb.log
    Thanks,
    Kiran
    Wrb Log Contents
    ================
    02-11-2000 17:27:49 746919 devlinux `Broker` 2231 1 0x10fff `OWS-04764: Unable to bring up cartridge server, type icsawebsite, at devlinux. `
    02-11-2000 17:27:50 760451 devlinux `Dispatcher` 2361 1 0x2fff `OWS-04517: Error indicated by broker in getting cartridges of type icsawebsite/ckreddy. `
    02-11-2000 17:27:50 860311 devlinux `Dispatcher` 2361 1 0x2fff `OWS-04512: Request 604CD69E9EBF-A5EC-E000-16FAA8C00954 has internal error due to Error 4511. `
    02-11-2000 17:31:47 204347 devlinux `Broker` 2231 1 0x10fff `OWS-04764: Unable to bring up cartridge server, type icsawebsite, at devlinux. `<HR></BLOCKQUOTE>
    null

  • OAS 4.08 , PL/SQL Cartridge , SSL3.0

    Hi ALL,
    Could someone give me any pointers in programming in the PL/SQL
    Cartridge(OAS 4.08) with SSL 3.0?
    Does implementing SSL 3.0 in the PL/SQL cartridge have to do
    with programming or are there some settings which i have to make
    on the OAS?
    (We will be configuring the Netscape Enterprise server as the
    OAS listener)
    gurus...help!!!!
    Thanx in advance
    Radhika
    null

    I'm also interested in knowing how to access session variables in PL/SQL? I have only found descriptions of what session management is. I can't seem to find any sample code or documentation on the How Tos.
    Thanks,
    Paul
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sachin:
    Hi Folks,
    I am developing an application using OAS 4.0.8.1, I would like to know, is it advised to use the PL/SQL cartridge in session enabled mode? Ours is a online transaction system type of applicatin.
    What are the advantages and disadvantages of enabling the client sessions.
    Regards,
    Sachin Chhajed.<HR></BLOCKQUOTE>
    null

  • Can a pl sql cartridge get the client certificate through ssl in OAS

    I am In a web publishing system project, I use SSL and client certificate to verify the user, the environment is OAS4.0.6 and Oracle 8i, and I use PL SQL cartridge to proceed the http request , Now the problem is how can I get the client certificate infomation in my pl sql scripts, I do not know where should i post this problem, So I post it here, If you have any experience in using SSL of OAS, pls help me!
    tsailiang
    [email protected]
    thank you very much!

    Sorry wrong forum.....
    This forum is for the Internet File Server (ifs) not the oracle application server (oas), sometimes known as iAS or Oracle9i Applicaiton Server.
    null

  • How to make OAS 4.0.7 work with PL/SQL-Cartridge

    Hi folks,
    it took me some days, but now I've found the solution:
    1. Although the OAS 4.0.7 seems to work fine on a 2.2-Kernel,
    the PL/SQL-Cartridge will definitely never work!!!!!!
    I don't know exactly why, but I've installed all
    relevant libs, but it won't work, whatever I do.
    2. I've installed the OAS on an old 2.0.36-Kernel (SuSE 6.0),
    and everything works fine!
    The only thing you have to take care of is to set the
    domainname BEFORE installing the OAS. The installation
    procedure queries 'domainname', not 'dnsdomainname' to
    get the domain. And if you don't have YP configured by
    chance, your hostname will look something like
    'myhost.(none)' in every OAS configuration file
    (and there are a lot), which prevents the ORB from starting.
    I hope that will help someone out there
    Greetings
    Jochen
    null

    Jochen Kutscheruk (guest) wrote:
    : Hi folks,
    : it took me some days, but now I've found the solution:
    : 1. Although the OAS 4.0.7 seems to work fine on a 2.2-Kernel,
    : the PL/SQL-Cartridge will definitely never work!!!!!!
    : I don't know exactly why, but I've installed all
    : relevant libs, but it won't work, whatever I do.
    : 2. I've installed the OAS on an old 2.0.36-Kernel (SuSE 6.0),
    : and everything works fine!
    : The only thing you have to take care of is to set the
    : domainname BEFORE installing the OAS. The installation
    : procedure queries 'domainname', not 'dnsdomainname' to
    : get the domain. And if you don't have YP configured by
    : chance, your hostname will look something like
    : 'myhost.(none)' in every OAS configuration file
    : (and there are a lot), which prevents the ORB from starting.
    : I hope that will help someone out there
    : Greetings
    : Jochen
    This would really be great, if this works.
    Can anybody confirm this ?
    To bad i need a 2.2 kernel for my raid diskset :(
    Greetings, Eric.
    null

  • JSP with PL/SQL Cartridge

    I have installed OAS 4 and JavaServer Web Development Kit
    Version 1.0 in one PC and with o8i in another PC.
    I've got problem in linking a PL/SQL cartridge, which will
    return a small page, with my jsp.
    I've got no problem if I run the jsp under the OAS while the
    small page can't be retrieved if I run the jsp on other PC.
    Syntax of my jsp for including plsql cartridge :
    <IFRAME ID=IFrame1 title="Testing" FRAMEBORDER=1 SCROLLING=auto
    SRC="http://hkg-wsn-1014/plsql/current_users"></IFRAME>
    where
    http://hkg-wsn-1014/plsql/current_users is my plsql cartridge
    and
    http://hkg-wsn-1014:7070 is the entry point for jsp server
    Can anyone help ?
    Rgds,
    Edward
    null

    The resule is similar to you can't reach the site.
    I've got no problem if I install the OAS 4 and JavaServer Web
    Development Kit in separate machine.
    How can I solve it ?
    Rgds,
    Edward
    Oracle Java Technical Team wrote:
    : Please provide more information. Do you get back a response
    : to the JSP page or just a standard error message?
    : Edward (guest) wrote:
    : : I have installed OAS 4 and JavaServer Web Development Kit
    : : Version 1.0 in one PC and with o8i in another PC.
    : : I've got problem in linking a PL/SQL cartridge, which will
    : : return a small page, with my jsp.
    : : I've got no problem if I run the jsp under the OAS while the
    : : small page can't be retrieved if I run the jsp on other PC.
    : : Syntax of my jsp for including plsql cartridge :
    : : <IFRAME ID=IFrame1 title="Testing" FRAMEBORDER=1
    SCROLLING=auto
    : : SRC="http://hkg-wsn-1014/plsql/current_users"></IFRAME>
    : : where
    : : http://hkg-wsn-1014/plsql/current_users is my plsql cartridge
    : : and
    : : http://hkg-wsn-1014:7070 is the entry point for jsp server
    : : Can anyone help ?
    : : Rgds,
    : : Edward
    null

  • Can't invoke PL/SQL cartridge for non-default virtual path

    I have a problem invoking a cartridge if the virtual path is
    anything but the default (/<appName>/<cartName>).
    I have tried stopping and re-starting the application server, but
    that does not help.
    Does anyone have a solution to this problem?
    Amar.
    null

    Elton Barendse (guest) wrote:
    : Amar Pai (guest) wrote:
    : : I have a problem invoking a cartridge if the virtual path is
    : : anything but the default (/<appName>/<cartName>).
    : : I have tried stopping and re-starting the application
    server,
    : but
    : : that does not help.
    : : Does anyone have a solution to this problem?
    : : Amar.
    : Hi Amar,
    : Can't help you solve your immediate problem, but here's some
    : food for thought ...
    : Quintessence Systems Ltd (UK) have developed technology which
    : automatically migrates PL/SQL procedures and packages to Java.
    : This is in response to the many customers who are looking to
    : move to a more open and non platform specific architecture for
    : enterprise wide business logic.
    : The Java code generated can be deployed in either Oracle 8i or
    : in an App Server i.e. no need to wrap your existing procedures
    : in a PL/SQL cartridge.
    : If this is of interest, I'd be happy to put you in touch with
    : our technical people to explain to technology in greater
    detail.
    : Elton Barendse
    : CEO
    : Quintessence Systems Limited
    I had a similar problem and maybe it would resolve your troubles
    I don't know but I configured the PL/SQL cartridge and it did
    not work actually it was just a pb of virtual memory ,set your
    mmory to 600M and restart all the stuff.I don't think it will
    resolve the pb but think of it.
    steve
    null

  • PL/SQL Cartridge with Union Query

    I have a pl/sql cartridge, with 3 select queries connected to each other by a "union". These queries basically generate a report from two tables. One of those queries is based on Table 1, and the other two are based on Table 2. What I need to accomplish is that I want to add a condition that restricts the outcome of the query (all three unions as a whole) based on a condition. Say, the condition is table1.param1 = '1'. Now, I'm getting confused with incorporating this condition in query 2 and query 3 which are based on table 2, and don't have the param1. However, both table1 and table 2 have param2 in common. I tried writing something like: (this is just a skeleton of my code)
    SELECT param1, PARAM2, OTHER_PARAM
    FROM table1
    where param1 = '1'
    union
    select param2, param3, 0 other_param
    from table2
    where param2 in
    (select param2
    from table1
    where param1 = '1')
    union
    select param2, param4, param5 other_param
    from table2
    where param2 in
    (select param2
    from table1
    where param1 = '1');but this doesn't work. Can anyone help me with this query? any help is appreciated.

    I think it will help you guys better if I illustrate in more detail. Posting my code below. p1,p2,p3..etc are parameter names. Hope someone will be able to help now.
    The original code, before adding the new condition is:
    select p1_num,
              p2_date,
              sum(decode(p3,'50',p4,0)) b_amt,
              sum(decode(p3,'10',p4,0)) r_amt,
              sum(decode(p3,'20',p4,0)) d_amt,
              sum(decode(p3,'40',p4,0)) l_amt,
              0 pay_amt,
              0 o_amt,
              0 g_amt,
              0 ot_amt
       FROM table1 t1
       where p1_num = passed_parameter  -- Parameter passed to the cursor
             AND to_char(p2_date, 'mmyyyy')  =  V_pdate  -- V_pdate is a parameter passed to the procedure
             group by p1_num, p2_date
       UNION
       select p1_num,
              p6_date,
              0,
              0,
              0,
              0,
              sum(decode(p7,'2', p8,0)) pay_amt,
              0 o_amt,
              0 g_amt,
              0 ot_amt
       from table2 t2
       where  p1_num = passed_parameter  -- Parameter passed to the cursor
              AND to_char(p6_date, 'mmyyyy')  =  V_pdate  -- V_pdate is a parameter passed to the procedure
              group by p1_num, p6_date
       UNION
       select p1_num,
              p6_date,
              0,
              0,
              0,
              0,
              0 pay_amt,
              sum(decode(substr(p9,1,1),'1',p8,0)) oil_amt,
              sum(decode(substr(p9,1,1),'2',p8,0)) gas_amt,
              sum(decode(substr(p9,1,1),'5',p8,'3',p8,'4',p8,0)) ot_amt
       from table2 t2
       where ((p7 IS NULL) OR (p7 IN ('0','1','3','4')))
             and p1_num = passed_parameter  -- Parameter passed to the cursor
             AND to_char(p6_date, 'mmyyyy')  =  V_pdate  -- V_pdate is a parameter passed to the procedure
             group by p1_num, p6_date;
             I need to add a condition <b>p5 = '1'</b> to filter the results of this query. p5 is a from table1. I tried using inner join, as per Jane's suggestion, something like this:
      select t1.p1_num,
              t1.p2_date,
               sum(decode(p3,'50',p4,0)) b_amt,
              sum(decode(p3,'10',p4,0)) r_amt,
              sum(decode(p3,'20',p4,0)) d_amt,
              sum(decode(p3,'40',p4,0)) l_amt,
               sum(decode(p7,'2', p8,0)) pay_amt,
              sum(decode(substr(p9,1,1),'1',p8,0)) oil_amt,
              sum(decode(substr(p9,1,1),'2',p8,0)) gas_amt,
              sum(decode(substr(p9,1,1),'5',p8,'3',p8,'4',p8,0)) ot_amt
       FROM  table2 t2 inner join table1 t1
       on t2.p1_num = t1.p1_num
       WHERE
       to_char(t1.p6_date,'mmyyyy') = V_pdate
       and   t1.p5 = '1'
       and  ((t2.p7 IS NULL) OR (t2.p7 IN ('0','1','3','4')))
       group by t1.p1_num, t1.p2_date
       order by t1.p1_num
       Firstly, I get duplicates for some of the records, which I need to eliminate. Once I eliminate those, i'll know if my retrieved records are right (since right now its retrieving more than 1000 records!)

  • Displaying image in BLOB via pl/sql cartridge

    Hi gurus ,
    I have a oracle web site. I am dynamically putting links in the page using pl/sql cartridge and procedures. I have loaded all my pictures for the catalog in the BLOB columns. Can anyone help me or direct me how to display these images using plsql cartridge dynamically from BLOB columns instead of from image files ???
    null

    Originally posted by Dan Mullen:
    I'm not familiar with the PL/SQL cartridge.
    Since this is the interMedia forum my suggestion would be to store the image data in an ORDImage column and use the interMedia WebAgent to retrieve the data.
    The interMedia WebAgent can be used with "naked" blobs but you'll need to code your own pl/sql routines (the code wizard won't do it for you).
    The code wizard does generate procedures for OrdImages but due to some reasons the GET_XX procedures don't work and give the error "ORA-04043 Object Get_Image does not Exist <br><br>"
    null

  • Simple example of image with OAS 4.0.8.1 PL/SQL

    Hi,
    Does anyone have a simple example which reads an interMedia image (e.g. gif, jpeg stored in database) and places it on a web page using the Oracle Application Server PL/SQL cartridge ?
    WebDB can do it so it must be possible!
    Any help would be much appreciated.
    All the Best.
    Niall.

    I don't have any examples, but you can use the interMedia Web Agent to place URLs in an HTML file in order to retrieve images and put them on a web page.
    In your HTML file, you can use images tags in the following way:
    <img src="/intermedia/dbagent/mediaget/get_picture/1">
    instead of
    <img src="test_image.gif">
    In this example, "dbagent" is your Database Agent you have defined using the interMedia Web Agent, "mediaget" is the request mode for retrieving data from the database, "get_picture" is your PL/SQL procedure, and "1" is the key value used to locate the object you are retrieving.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by niallmcp ():
    Hi,
    Does anyone have a simple example which reads an interMedia image (e.g. gif, jpeg stored in database) and places it on a web page using the Oracle Application Server PL/SQL cartridge ?
    WebDB can do it so it must be possible!
    Any help would be much appreciated.
    All the Best.
    Niall.<HR></BLOCKQUOTE>
    null

  • Setting security context in sql*plus session

    Hi,
    For a SQL*Plus session under an account that doesn't have execute privileges on fnd_global, is there any way to set the application security context similar to the way fnd_global.apps_initialize does?
    For example, as APPS one can do this:
    <br>
    sqlplus apps/...
    SQL>  select SYS_CONTEXT('FND','USER_ID' ) as fnd_user_id from dual;
    FND_USER_ID
    1 row selected.
    SQL> execute fnd_global.apps_initialize( ... );
    SQL> select SYS_CONTEXT('FND','USER_ID' ) as fnd_user_id from dual;
    FND_USER_ID
    123456
    1 row selected.What I'd like to do is something like this ...
    <br>
    sqlplus scott/...
    SQL> ... call some EBizSuite procedure where I can supply or
    be prompted for an EBizSuite user name, password, and responsibility ...
    SQL> select SYS_CONTEXT('FND','USER_ID' ) as fnd_user_id from dual;
    FND_USER_ID
    123456
    1 row selected.

    Hi
    Is there any method to initialize the environment using Java API.
    how to call the function fnd_global.apps_initialize
    Can you explain the required parameters.
    Asheesh

  • SQL Plus session - "schema.package" has been invalidated on making any chng

    Hi
    I am in the process of testing a stored procedure. Whenever I make changes to the procedure I am executing it from the SQL Plus session. But whenever I make a change to the procedure - i have to close that particular SQL Plus session and open another one. I get the message:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-04061: existing state of has been invalidated
    ORA-04061: existing state of package body
    "schema.package" has been invalidated
    ORA-04065: not executed, altered or dropped package body
    Is there a way that I do not have to open a new SQL Plus session everytime I make change to the package?

    It does not help :(. I get this problem in a SQL+ session only when I make a change in a JDev session. I have to log off the SQL+ session and log back in and it is OK again without re-compling anything. I don't have a problem with two SQL+ session. Isn't that strange?
    ben

  • WCF-SQL Adapter and idle SQL Server sessions

    Hi,
    I have a BizTalk 2013 server with a send port that periodically send SQL statements to a remote SQL Server. The remote SQL Server hosts the database of a Dynamics NAV server.
    The DBA of this SQL Server warned me that a lot of SQL Server sessions remain idle after a long period of time (about 20 idle sessions coming from my BizTalk server with a Idle time that is more than 10 days). He thinks that we have a trouble in BizTalk to
    close the connections to the SQL Server.
    I wondered if I can handle the situation by changing some settings in the sqlBinding used by my send port, for example the MaxPoolSize or other parameters.
    Any idea?
    Thanks.

    So, is this causing an actual problem or is this something the DBA just happened to see?
    20 idle sessions isn't a lot at all and is well below the default Connection Pool size, 100 in most cases.
    So long as it does not keep increasing unchecked, I'd say what you're seeing is the expected and desired behavior.
    You maybe have had a burst at some point causing 20 connections, then normal continuous operations only uses 1 or 2.

  • How to Initiate Multiple SQL*Loader Sessions

    Oracle db utilities(Chapter-Conventional and Direct Path Loads) talks of parallel data loading models for direct load.
    We need to execute the following commands:
    sqlldr USERID=scott/tiger CONTROL=load1.ctl DIRECT=TRUE PARALLEL=true
    sqlldr USERID=scott/tiger CONTROL=load2.ctl DIRECT=TRUE PARALLEL=true
    sqlldr USERID=scott/tiger CONTROL=load3.ctl DIRECT=TRUE PARALLEL=true
    The previous commands must be executed in separate sessions, or if permitted on operating system, as separate background jobs.
    We want to run these in separate sessions. Our problem is that we have a job running which invokes sqlldr. Now how can we initiate Multiple SQL*Loader Sessions(actually multiple sql sessions which run concurrently,i.e. in parallel)? I need the command for it!
    Regds,
    Rohit

    I tried opening two files but selecting and hitting enter. it opens one SSMS and two tabs.
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

Maybe you are looking for

  • How to refresh the data in sharepoint online

    Hi, I have an Office365 PowerBI Preview site and I have uploaded a excel sheet with a using power query connecting the azure data source. I then setup the "Data Management Gateway" and "Data Source" in the Manage Data settings within PowerBI and the

  • Error While Exporting in FDM

    Hi, I am trying to add data in ESSBASE. CSV file import and validation are successful, it also create a successful export file but gives error when it tries to load data into essbase. "Data Load Failed. 10415 - Data Load Errors. Essbase API Procedure

  • JQuery Mobile in edit mode

    Does anybody have any experience getting jQuery Mobile (jqm) to work well in a CQ5.4 authoring environment? I can only seem to get the jqm code to run when I am in "preview" mode and have refreshed the page.

  • Addition of portlets saved as personalization

    Hi, We have a requirement, where the end user can add portlets to his page, however these additions need to be stored as personalizations. Which means that if User 'A' adds a 'X' portlet to his page / dashboard all the other users should not see this

  • Drag n Drop Video File Issue - e90 Vista

    Hi All, I connect my e90 with Windows Vista 32 bit. Nokia PC Suite version is 6.86.9.0. I tried to drag a .avi video file to the phone. While dragging the issue, Nokia PC Suite asked me two options, convert and do not convert. I selected do not conve