Cartridge implementation on OAS4.0.7 !

hi,
i have deployed my application using Developer server 6 and OAS4.0.7 on winnt sp 3 workstation having 256 MB RAM(non-cartridge implementation). as there are more than 15 users, the application is running very slow. i want to use forms and reports cartridges to make the application running faster ?? can somebody please guide me on how to create cartridges and implement them ??
Thanks in advance,
Regards,
Saumin

Hi Saumin,
using a cartridge is not what you expect it to do. The cartridge implementation provides a more dynamically approach for starting Forms applications and further a way to setup load balancing using the Metrics Server.
Since Reports and Forms are not real cartridges (only implemented as cartridges to improve startup) the performance that you'll gain by setting up the cartridge is not what you probably expect.
I would suggest to have a look at your memory
CPU and network.

Similar Messages

  • Data Cartridge Implementation - PGA Memory Problem

    Hi,
    I have modified the Data Cartridge implementation explained in the article at http://www.oracle-developer.net/display.php?id=422.
    More precisely I have modified it to create not only the type returned, but also the select statement.
    The problem I have, is that the PGA memory through the execution of my package always increases, and when it ends the execution the PGA doesn't get released.
    I'm wondering if i'm missing something on the ODCITableClose.
    Object spec:
    create or replace type t_conf_obj as object
      atype anytype, --<-- transient record type
      static function ODCITableDescribe(rtype                  out anytype,
                                        p_cz_conf_categoria in     number,
                                        p_id_profilo        in     number   default null,
                                        p_cz_conf_livello   in     number   default null,
                                        p_dt_rif            in     varchar2 default to_char(sysdate,'ddmmyyyy')
                                       ) return number,
      static function ODCITablePrepare(sctx                   out t_conf_obj,
                                       tf_info             in     sys.ODCITabFuncInfo,
                                       p_cz_conf_categoria in     number,
                                       p_id_profilo        in     number   default null,
                                       p_cz_conf_livello   in     number   default null,
                                       p_dt_rif            in     varchar2 default to_char(sysdate,'ddmmyyyy')
                                      ) return number,
      static function ODCITableStart(sctx                in out t_conf_obj,
                                     p_cz_conf_categoria in     number,
                                     p_id_profilo        in     number   default null,
                                     p_cz_conf_livello   in     number   default null,
                                     p_dt_rif            in     varchar2 default to_char(sysdate,'ddmmyyyy')
                                    ) return number,
      member function ODCITableFetch(self  in out t_conf_obj,
                                     nrows in     number,
                                     rws      out anydataset
                                    ) return number,
      member function ODCITableClose(self in t_conf_obj
                                    ) return number
    );Object Body
    create or replace type body t_conf_obj as
      static function ODCITableDescribe(rtype                  out anytype,
                                        p_cz_conf_categoria in     number,
                                        p_id_profilo        in     number   default null,
                                        p_cz_conf_livello   in     number   default null,
                                        p_dt_rif            in     varchar2 default to_char(sysdate,'ddmmyyyy')
                                       ) return number
      is
        r_sql   pck_conf_calcolo.rt_dynamic_sql;
        v_rtype anytype;
        stmt    dbms_sql.varchar2a;
      begin
          HERE I CREATE MY SELECT STATEMENT
        if p_cz_conf_livello is null and p_id_profilo is null then
          stmt := pck_conf_calcolo.GetSQLConfCategoria(p_cz_conf_categoria
        elsif p_cz_conf_livello is not null then
          stmt (1) := pck_conf_calcolo.GetSQLConfCategoria(p_cz_conf_categoria,
                                                           p_id_profilo,
                                                           p_cz_conf_livello,
                                                           p_dt_rif
        else
          stmt (1) := pck_conf_calcolo.GetSQLConfCategoria(p_cz_conf_categoria,
                                                           p_id_profilo
        end if;
        || parse the sql and describe its format and structure.
        r_sql.cursor := dbms_sql.open_cursor;
        dbms_sql.parse(r_sql.cursor, stmt, stmt.first, stmt.last, false, dbms_sql.native);
        dbms_sql.describe_columns2(r_sql.cursor,
                                   r_sql.column_cnt,
                                   r_sql.description);
        dbms_sql.close_cursor(r_sql.cursor);
        || create the anytype record structure from this sql structure.
        anytype.begincreate(dbms_types.typecode_object, v_rtype);
        for i in 1 .. r_sql.column_cnt loop
          v_rtype.addattr(r_sql.description(i).col_name,
                          case
                          --<>--
                            when r_sql.description(i).col_type in (1, 96, 11, 208) then
                             dbms_types.typecode_varchar2
                          --<>--
                            when r_sql.description(i).col_type = 2 then
                             dbms_types.typecode_number
                            when r_sql.description(i).col_type in (112) then
                             dbms_types.typecode_clob
                          --<>--
                            when r_sql.description(i).col_type = 12 then
                             dbms_types.typecode_date
                          --<>--
                            when r_sql.description(i).col_type = 23 then
                             dbms_types.typecode_raw
                          --<>--
                            when r_sql.description(i).col_type = 180 then
                             dbms_types.typecode_timestamp
                          --<>--
                            when r_sql.description(i).col_type = 181 then
                             dbms_types.typecode_timestamp_tz
                          --<>--
                            when r_sql.description(i).col_type = 182 then
                             dbms_types.typecode_interval_ym
                          --<>--
                            when r_sql.description(i).col_type = 183 then
                             dbms_types.typecode_interval_ds
                          --<>--
                            when r_sql.description(i).col_type = 231 then
                             dbms_types.typecode_timestamp_ltz
                          --<>--
                          end,
                          r_sql.description(i).col_precision,
                          r_sql.description(i).col_scale,
                          r_sql.description(i).col_max_len,
                          r_sql.description(i).col_charsetid,
                          r_sql.description(i).col_charsetform);
        end loop;
        v_rtype.endcreate;
        || now we can use this transient record structure to create a table type
        || of the same. this will create a set of types on the database for use
        || by the pipelined function...
        anytype.begincreate(dbms_types.typecode_table, rtype);
        rtype.setinfo(null,
                      null,
                      null,
                      null,
                      null,
                      v_rtype,
                      dbms_types.typecode_object,
                      0);
        rtype.endcreate();
        return odciconst.success;
      exception when others then
        -- indicate that an error has occured somewhere.
        return odciconst.error;
      end odcitabledescribe;
      static function ODCITablePrepare(sctx                   out t_conf_obj,
                                       tf_info             in     sys.ODCITabFuncInfo,
                                       p_cz_conf_categoria in     number,
                                       p_id_profilo        in     number   default null,
                                       p_cz_conf_livello   in     number   default null,
                                       p_dt_rif            in     varchar2 default to_char(sysdate,'ddmmyyyy')
                                      ) return number
      is
        r_meta pck_conf_calcolo.rt_anytype_metadata;
      begin
        || we prepare the dataset that our pipelined function will return by
        || describing the anytype that contains the transient record structure...
        r_meta.typecode := tf_info.rettype.getattreleminfo(1,
                                                           r_meta.precision,
                                                           r_meta.scale,
                                                           r_meta.length,
                                                           r_meta.csid,
                                                           r_meta.csfrm,
                                                           r_meta.type,
                                                           r_meta.name);
        || using this, we initialise the scan context for use in this and
        || subsequent executions of the same dynamic sql cursor...
        sctx := t_conf_obj(r_meta.type);
        return odciconst.success;
      end;
      static function ODCITableStart(sctx                in out t_conf_obj,
                                     p_cz_conf_categoria in     number,
                                     p_id_profilo        in     number   default null,
                                     p_cz_conf_livello   in     number   default null,
                                     p_dt_rif            in     varchar2 default to_char(sysdate,'ddmmyyyy')
                                    ) return number
      is
        r_meta pck_conf_calcolo.rt_anytype_metadata;
        stmt    dbms_sql.varchar2a;
      begin
          HERE I CREATE MY SELECT STATEMENT
        if p_cz_conf_livello is null and p_id_profilo is null then
          stmt := pck_conf_calcolo.GetSQLConfCategoria(p_cz_conf_categoria
        elsif p_cz_conf_livello is not null then
          stmt(1) := pck_conf_calcolo.GetSQLConfCategoria(p_cz_conf_categoria,
                                                           p_id_profilo,
                                                           p_cz_conf_livello,
                                                           p_dt_rif
        else
          stmt(1) := pck_conf_calcolo.GetSQLConfCategoria(p_cz_conf_categoria,
                                                          p_id_profilo
        end if;
        || we now describe the cursor again and use this and the described
        || anytype structure to define and execute the sql statement...
        pck_conf_calcolo.r_sql.cursor := dbms_sql.open_cursor;
        dbms_sql.parse(pck_conf_calcolo.r_sql.cursor, stmt, stmt.first, stmt.last, false, dbms_sql.native);
        dbms_sql.describe_columns2(pck_conf_calcolo.r_sql.cursor,
                                   pck_conf_calcolo.r_sql.column_cnt,
                                   pck_conf_calcolo.r_sql.description);
        for i in 1 .. pck_conf_calcolo.r_sql.column_cnt loop
          || get the anytype attribute at this position...
          r_meta.typecode := sctx.atype.getattreleminfo(i,
                                                        r_meta.precision,
                                                        r_meta.scale,
                                                        r_meta.length,
                                                        r_meta.csid,
                                                        r_meta.csfrm,
                                                        r_meta.type,
                                                        r_meta.name);
          case r_meta.typecode
          --<>--
            when dbms_types.typecode_varchar2 then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor, i, '', 32767);
              --<>--
            when dbms_types.typecode_number then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as number));
              --<>--
            when dbms_types.typecode_date then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as date));
              --<>--
            when dbms_types.typecode_raw then
              dbms_sql.define_column_raw(pck_conf_calcolo.r_sql.cursor,
                                         i,
                                         cast(null as raw),
                                         r_meta.length);
              --<>--
            when dbms_types.typecode_timestamp then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as timestamp));
              --<>--
            when dbms_types.typecode_timestamp_tz then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as timestamp with time zone));
              --<>--
            when dbms_types.typecode_timestamp_ltz then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as timestamp with local time zone));
              --<>--
            when dbms_types.typecode_interval_ym then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as interval year to month));
              --<>--
            when dbms_types.typecode_interval_ds then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as interval day to second));
              --<>--
            when dbms_types.typecode_clob then
              --<>--
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as clob));
              --<>--
          end case;
        end loop;
        || the cursor is prepared according to the structure of the type we wish
        || to fetch it into. we can now execute it and we are done for this method...
        pck_conf_calcolo.r_sql.execute := dbms_sql.execute(pck_conf_calcolo.r_sql.cursor);
        return odciconst.success;
      end;
      member function ODCITableFetch(self  in out t_conf_obj,
                                     nrows in     number,
                                     rws      out anydataset
                                    ) return number
      is
        type rt_fetch_attributes is record(
          v2_column    varchar2(32767),
          num_column   number,
          date_column  date,
          clob_column  clob,
          raw_column   raw(32767),
          raw_error    number,
          raw_length   integer,
          ids_column   interval day to second,
          iym_column   interval year to month,
          ts_column    timestamp,
          tstz_column  timestamp with time zone,
          tsltz_column timestamp with local time zone,
          cvl_offset   integer := 0,
          cvl_length   integer);
        r_fetch rt_fetch_attributes;
        r_meta  pck_conf_calcolo.rt_anytype_metadata;
      begin
        rws := null;
        if dbms_sql.fetch_rows(pck_conf_calcolo.r_sql.cursor) > 0 then
          || first we describe our current anytype instance (self.a) to determine
          || the number and types of the attributes...
          r_meta.typecode := self.atype.getinfo(r_meta.precision,
                                                r_meta.scale,
                                                r_meta.length,
                                                r_meta.csid,
                                                r_meta.csfrm,
                                                r_meta.schema,
                                                r_meta.name,
                                                r_meta.version,
                                                r_meta.attr_cnt);
          || we can now begin to piece together our returning dataset. we create an
          || instance of anydataset and then fetch the attributes off the dbms_sql
          || cursor using the metadata from the anytype. longs are converted to clobs...
          anydataset.begincreate(dbms_types.typecode_object, self.atype, rws);
          rws.addinstance();
          rws.piecewise();
          for i in 1 .. pck_conf_calcolo.r_sql.column_cnt loop
            r_meta.typecode := self.atype.getattreleminfo(i,
                                                          r_meta.precision,
                                                          r_meta.scale,
                                                          r_meta.length,
                                                          r_meta.csid,
                                                          r_meta.csfrm,
                                                          r_meta.attr_type,
                                                          r_meta.attr_name);
            case r_meta.typecode
            --<>--
              when dbms_types.typecode_varchar2 then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.v2_column);
                rws.setvarchar2(r_fetch.v2_column);
                --<>--
              when dbms_types.typecode_number then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.num_column);
                rws.setnumber(r_fetch.num_column);
                --<>--
              when dbms_types.typecode_date then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.date_column);
                rws.setdate(r_fetch.date_column);
                --<>--
              when dbms_types.typecode_raw then
                dbms_sql.column_value_raw(pck_conf_calcolo.r_sql.cursor,
                                          i,
                                          r_fetch.raw_column,
                                          r_fetch.raw_error,
                                          r_fetch.raw_length);
                rws.setraw(r_fetch.raw_column);
                --<>--
              when dbms_types.typecode_interval_ds then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.ids_column);
                rws.setintervalds(r_fetch.ids_column);
                --<>--
              when dbms_types.typecode_interval_ym then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.iym_column);
                rws.setintervalym(r_fetch.iym_column);
                --<>--
              when dbms_types.typecode_timestamp then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.ts_column);
                rws.settimestamp(r_fetch.ts_column);
                --<>--
              when dbms_types.typecode_timestamp_tz then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.tstz_column);
                rws.settimestamptz(r_fetch.tstz_column);
                --<>--
              when dbms_types.typecode_timestamp_ltz then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.tsltz_column);
                rws.settimestampltz(r_fetch.tsltz_column);
                --<>--
              when dbms_types.typecode_clob then
                --<>--
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.clob_column);
                rws.setclob(r_fetch.clob_column);
                --<>--
            end case;
          end loop;
          || our anydataset instance is complete. we end our create session...
          rws.endcreate();
        end if;
        return odciconst.success;
      end;
      member function ODCITableClose(self in t_conf_obj
                                    ) return number
      is
      begin
        dbms_sql.close_cursor(pck_conf_calcolo.r_sql.cursor);
        pck_conf_calcolo.r_sql := null;
        return odciconst.success;
      end;
    end;We have an Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 running on Windows 2003 sp2.
    Thanks in advance.
    Riccardo.

    I'm getting confused with so much answers!!!

  • Cartridge implementation In OAS+Dev server

    How do you implement cartridge application in OAS & dEV 6.0.I tried modifying cartrig.html,no result.I used JInitiator route no use.Things worked fine in Dev2000 R2.1.In OAS when you create a application & a cartridge(forms cartridge) it does not start even if i modify the hosts parameter in the
    application/server config parameters(setting no of servers to 1) why?
    Mahesh

    Sherry,
    Is the cartridge necessary for internet (browser) deployment or
    just from intranet (application) deployment?
    Richard
    Sherry Yang (guest) wrote:
    : Hi, guys:
    : I am deploying forms to the web.
    : Since the base HTML file for cartridge implementation is the
    : same as that for non-cartridge implementation, I really can
    not
    : figure out how the OAS/form server knows if using Cartridge or
    : non-cartridge implementation. (ie: Do I need call the
    : Cartridge in my base HTML?)
    : Your help is highly appreciated.
    : Sherry
    null

  • Any known issues about CGI/Cartridge implementations

    Hello,
    Please advise.
    A. I have been told that the Forms Server can handle only a limited number of connections. Is this TRUE?
    If yes,
    1. what are the other alternatives?
    2. how many concurrent connections can a Forms Server handle?
    B. Are cartridge implementations better that CGI implementations?
    Thanks for a reply.
    Regards
    Yogeeraj

    Sorry, I do not have any sites you can access (and I guess those companies would not want anyone logging on to them!!!).
    If you have a question then post a new thread and we can discuss. However, with Forms on the Web you should be able to deploy with similar performance to client server. Infact in many cases performance can be better when deployed on the web. This of course depends on the way you have designed your Forms. If a Form had 10 tabbed canveses with 10 multi-row blocks of 10 items then the Forms Server has to tell the client to draw (10*10*10) items. This may lead you to see performance issues.
    As I said, start a new thread and give me details of what kind of performance issues you are getting and we can address them
    regards
    Grant Ronald

  • How to run Forms 5.0 Applications on OAS4.0.7 (Cartridge Ver

    Hi,
    I Have Oracle Application Server 4.0.7, installed, up and
    running
    on an NT Box. I have installed Forms5.0 Deployment server &
    Client on It.
    I was able to Run a forms module usning the Non Cartridge Method.
    I am not able to figure out how to create a forms Cartridge or
    Application in OAS 4.0.7.
    Can any body please let me know how to deploy the forms
    application and run on OAS4.0.X
    The only application type that we can create in OAS are like,
    PL/SQL, Live HTML, JCORBA, WebC . I don't find a corresponding
    Application for forms. The documentation doesn't speak any thing
    about the forms .. Some of the documents on the oracle site
    mention about forms cartridge, developer cartridge, but I don't
    see any such cartridge in OAS.
    Thanking you for the help in advance ..// Manohar //
    null

    Oracle Developer Team wrote:
    : Nick (guest) wrote:
    : : Mnaohar Reddy (guest) wrote:
    : : : Hi,
    : : : I Have Oracle Application Server 4.0.7, installed, up and
    : : : running
    : : : on an NT Box. I have installed Forms5.0 Deployment server
    : : : Client on It.
    : : : I was able to Run a forms module usning the Non Cartridge
    : : Method.
    : : : I am not able to figure out how to create a forms
    Cartridge
    : or
    : : : Application in OAS 4.0.7.
    : : : Can any body please let me know how to deploy the forms
    : : : application and run on OAS4.0.X
    : : : The only application type that we can create in OAS are
    like,
    : : : PL/SQL, Live HTML, JCORBA, WebC . I don't find a
    : corresponding
    : : : Application for forms. The documentation doesn't speak any
    : : thing
    : : : about the forms .. Some of the documents on the oracle
    site
    : : : mention about forms cartridge, developer cartridge, but I
    : don't
    : : : see any such cartridge in OAS.
    : : : Thanking you for the help in advance ..// Manohar //
    : : Application that implements Forms & Reports Cartridges
    should
    : be
    : : "C Web" type. When you'll be asked about cartridge
    parameters,
    : : enter executable name e.g. 'ifwebc60.dll' as "shared object"
    : and
    : : 'forms_entry' as "entry point" (that's from manual). And so
    : on...
    : ==> The Cartridge implementation of Developer 2.x has not
    been
    : certified with OAS 4.0.7 at that point. You need OAS 3.0 or
    : 3.0.1.
    Are you saying, The cartridge implimentation of Developer/2000
    is not available in OAS 4.0.7. at that point of time?(at what
    point of time). Is it supported now in 4.x? .. if so, can I down
    load it from Oracle site.
    When you OAS 3.0 or 3.1 you are saying Oracle Web Application
    server 3.0/3.1. right? ... Please advise...// Manohar //
    null

  • Starting Application/cartridge

    Hi,
    I created a reports cartridge in OAS4.0.8 on NT 4.0(SP5).
    Using OAS Manager, I stopped the application and cartridge.
    How do I start the cartridge back.
    I don't see the Start icon for the cartrige anymore to start ii again.
    I cannot use the command line utility (owsctl) to start it(and its documented also).
    The only way I can start the cartridge or application is using OAS Manager. But for some reason the start buttone does not appear for the cartridge. I tried selecting All option and Reload , Reload quickly comes back with OK screen(no errors) and no cartridge status is still down.
    Any help will be greatly appreciated.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ram:
    Hi,
    I created a reports cartridge in OAS4.0.8 on NT 4.0(SP5).
    Using OAS Manager, I stopped the application and cartridge.
    How do I start the cartridge back.
    I don't see the Start icon for the cartrige anymore to start ii again.
    I cannot use the command line utility (owsctl) to start it(and its documented also).
    The only way I can start the cartridge or application is using OAS Manager. But for some reason the start buttone does not appear for the cartridge. I tried selecting All option and Reload , Reload quickly comes back with OK screen(no errors) and no cartridge status is still down.
    Any help will be greatly appreciated.<HR></BLOCKQUOTE>
    Ram,
    The cartridge starts once it stats receiving requests.If you have followed the steps for cartridge implementation once you complete
    stop all services i.e.,wrb,listeners etc by selecting all at website 40 node on OAS manager page,then restart the computer,restart the forms server listener,restart wrb,listeners.After all this load the cartridge page using URL SIMILAR TO THIS http://machine.domain:port/frmweb
    where frmweb is the virtual path for your cartridge port is the listener port.
    Mahesh

  • Reports 6 cartridge will not start (DEV TEAM PLEASE HELP)

    Reports 6 cartridge + OAS 4.0.7.1 on solaris 2.6, RDBMS 7.3.4.4
    all installed in different oracle home problems
    We used to run our reports with the CGI interface and it worked
    fine. Now we try to move to the cartridge implementation and we
    have a problem. We are on solaris 2.6, developper server 6.0
    patch level 4.
    We followed the configuration steps from the oracle
    documentation.
    Now we have the following problems:
    When we try the following url: http://my_machine_name/rwows60?
    Instead of getting the reports help page, we get an HTTP 500
    error. Here is what show in the OAS
    4.0.7.1 wrb.log file for the request (Please note that our
    virtual path is rwows60):
    11-25-1999 09:56:00 274476 produc `Broker` 25820 1
    0x10fff `OWS-04759: No host is available to create Cartridge
    Reports/Reports60Cartridge. `
    11-25-1999 09:56:00 407413 produc `Dispatcher` 25836
    1 0x2fff `OWS-04517: Error indicated by broker in getting cartri
    dges of type Reports/Reports60Cartridge. `
    11-25-1999 09:56:00 416750 produc `Dispatcher` 25836
    1 0x2fff `OWS-04511: Error in grabbing cartridge type Reports/Re
    ports60Cartridge from the subsystem. `
    11-25-1999 09:56:00 447230 produc `Dispatcher` 25836
    1 0x2fff `OWS-04512: Request 5A18372D6944-5145-E000-CEA7BB0964EC
    has internal error due to Error 4511. `
    Any help would be appreciated.
    We also found that there might be an error in the aformentionned
    document: They tell us to put %ORAWEB_HOME%/bin in the Physical
    path for the cartridge virtual path, I think it should be
    $ORACLE_HOME/bin (The oracle home of developper server I mean)
    Any way, both physical path setting give the same result...
    Guy Dallaire, DBA/Sysadmin
    Centre de recherche industrielle du Quebec
    Ste-Foy, QC, Canada
    e-mail: [email protected]
    ORACLE tech support said that DEV Server 6.0 needs to be
    installed in the same OH as OAS 4.0.7.1. I had problems
    relinking and had to install it in its own oracle home. Could it
    really be the problem ?
    null

    Hi,
    Indeed, you did, but I mist it ... sorry it's only because of my French ... hahaha
    You did find the answer to my problem and also the solution ... I kept missing the slide on the side the window of the DVD so I did not think of the extra package and all that time it was there ... How " ........... " (dumb) of me ...
    thank you very much for opening my eyes and for your patience.
    And yes ! X11 is now working... !!! I have been trying for two days ....
    Thanks everyone, I am glad to be in the Apple/Mac Community !
    Andre
    G5 PPC   Mac OS X (10.4.8)  

  • How Cartridge works in OAS/form server

    Hi, guys:
    I am deploying forms to the web.
    Since the base HTML file for cartridge implementation is the
    same as that for non-cartridge implementation, I really can not
    figure out how the OAS/form server knows if using Cartridge or
    non-cartridge implementation. (ie: Do I need call the
    Cartridge in my base HTML?)
    Your help is highly appreciated.
    Sherry
    null

    Sherry,
    Is the cartridge necessary for internet (browser) deployment or
    just from intranet (application) deployment?
    Richard
    Sherry Yang (guest) wrote:
    : Hi, guys:
    : I am deploying forms to the web.
    : Since the base HTML file for cartridge implementation is the
    : same as that for non-cartridge implementation, I really can
    not
    : figure out how the OAS/form server knows if using Cartridge or
    : non-cartridge implementation. (ie: Do I need call the
    : Cartridge in my base HTML?)
    : Your help is highly appreciated.
    : Sherry
    null

  • Not ablee to start cartridge from OAS 4.0.7

    i have netscape browser 4.0.8 and oas 4.0.7. the installation of
    oas is smooth.. for doing cartridge implementation of forms on
    web i create an application, and a cartridge as specified in
    documentation (oracle dev 6.0 beta). but there seems to be no
    start button for the application. as a result i have the status
    for the application as down allways.
    when i press shift and click on reload button, the save as
    dialog pops up .. please suggest something ...
    the platform is windows nt 4.0 with sp3
    tia
    jojo
    null

    The catridge need not to be started. When you run samples
    attached with the catridges, you can see the status of
    the catridge as running.
    Jojo Thomas (guest) wrote:
    : i have netscape browser 4.0.8 and oas 4.0.7. the installation
    of
    : oas is smooth.. for doing cartridge implementation of forms on
    : web i create an application, and a cartridge as specified in
    : documentation (oracle dev 6.0 beta). but there seems to be no
    : start button for the application. as a result i have the status
    : for the application as down allways.
    : when i press shift and click on reload button, the save as
    : dialog pops up .. please suggest something ...
    : the platform is windows nt 4.0 with sp3
    : tia
    : jojo
    null

  • Running reports from forms on the web

    On forms and reports 6i we used the following code to run reports from forms.
    We need to do the same on 9i forms and reports, we are running into problems.
    Any help will be appreciated.
    PROCEDURE web (inFileName VARCHAR2,
    inRecordGroup RECORDGROUP) IS
    outVirtualPath VARCHAR2(200) := '/forms90/f90servlet?p_url=/reports/rwservlet?'; outServer VARCHAR2(200) := 'server=rep_ora-app-4';
    outReport VARCHAR2(200) := 'report='||inFileName;
    outUserid VARCHAR2(200) :=
    'userid='||GET_APPLICATION_PROPERTY(USERNAME)||'/'||GET_APPLICATION_PROPERTY(PAS
    SWORD)||'@'||GET_APPLICATION_PROPERTY(CONNECT_STRING);
    outDesType VARCHAR2(200) := 'DESTYPE=CACHE';
    outDesFormat VARCHAR2(200) := 'DESFORMAT=PDF'; outUser VARCHAR2(2000);
    outCount INTEGER;
    error we are getting.
    FRM-42017:Module name must be specified.

    S Hatch (guest) wrote:
    : I'm thinking that you're going to have to install the Reports
    : cartridge, create an entry in the keymap with any parameters
    and
    : call your report via the url.
    : Dessislava Gantcheva (guest) wrote:
    : : How do I call a report from a form on the web?
    : : I have installed Windows NT Server 4.0 with SP 5, OAS4.0.7
    EE
    : : with patch 1, Developer 6.0 with patch 1. Developer server
    and
    : : forms server work fine in a non-cartridge implementation,
    but
    : I
    : : cannot run a report within a form. I just have no any info
    how
    : : to do this.
    I have entries in my keymap file and I can call my reports via
    the url, but I cannot run a report WITHIN a form. I mean to call
    a report by clicking on a button of a form on the web. The
    RUN_PRODUCT built-in does not work (at leas it seems like this)
    If any one has expiriense with it, please, give me a hint.
    Thanks
    null

  • OAS 4.0.8.1

    I have installed OAS 4.0.8 on NT/SP5.
    Then i install Developer 6.0 Deployment/Complete.
    Both OAS and Developer 6.0 goes to the same OARCLE_HOME orant.
    I configure the www listner/network and set the following virtual dir's
    D:\orant\forms60\java\ /web-code/
    D:\repcache\ /CACHE/
    fmx's path
    D:\webforms\ /webforms/
    images path
    D:\webforms\images /webimages/
    also i set the following reg settings
    FORMS60_MAPPING /CACHE
    FORMS60_OUTPUT D:/repcache
    FORMS60_REPFORMAT HTML
    FORMS60_PATH D:\webforms
    UI_ICON D:\webforms\images
    also i have the following html file
    <HTML>
    <BODY>
    <OBJECT classid="clsid:9F77a997-F0F3-11d1-9195-00C04FC990DC" WIDTH=100% HEIGHT=100%>
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    <PARAM NAME="CODEBASE" VALUE="/web-code/" >
    <PARAM NAME="ARCHIVE" VALUE="/web-code/f60splash.jar" >
    <PARAM NAME="type" VALUE="application/x-jinit-applet;version=1.1.7.11">
    <PARAM NAME="serverPort" VALUE="9000">
    <PARAM NAME="serverArgs" VALUE="module=d:\webforms\applicant.fmx">
    <PARAM NAME="serverApp" VALUE="default">
    <PARAM NAME="lookAndFeel" VALUE="oracle">
    <PARAM NAME="colorScheme" VALUE="teal">
    <PARAM NAME="splashScreen" VALUE="no">
    <PARAM NAME="background" VALUE="no">
    </OBJECT>
    </BODY>
    </HTML>
    when i call this html from browser(ie5.01). the form does not come up. when i ran with jinit console = yes
    it stopped after the follwing message
    Forms Applet version 4.
    Can any one help me in this regard.
    Thanks in advance

    Hi. I was able to install these three products into an NT machine. And I got it to work. I used the static_jinit.html instead of the demojini.html, this file comes with the Jinitiator install(this will be installed with Developer 6. I had to download the latest installation documents from metalink.oracle.com(Developer 6.0 and Oracle 8i) and www.olab.com(OAS 4.0.8). It is important that you get and read these documents first, the documentation that comes with the CDs is not up-to-date. Basically here are the steps that I did, these are based on the documents that I got from the websites:
    1. Install Developer 6.0 first. Be sure to install it in the DEFAULT ORACLE_HOME(path is usually c:\orant).
    2. Install Oracle 8i. Give it a diff. ORACLE_HOME(e.g. ora8i, path = c:\orant\ora8i).
    3. Install OAS 4.0.8. Give it a diff ORACLE_HOME(e.g. oas408, path = c:\oas408). If you're using NT4 be sure to use SP5.
    After installing these three test to see if you could deploy your web apps. I used the static implementation, I haven't tried the cartridge implementation yet. If is still doesn't work download and install the latest Developer 6.0 patch from metalink. I had to do this extra step to finally make it work(I guess we have a defective Developer 6.0 CD). I am also using Netscape 4.0.5, I still can't make it work with Explorer 4.0, I think it will only work if you use Explorer 5.0.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Prashanth:
    I have installed OAS 4.0.8 on NT/SP5.
    Then i install Developer 6.0 Deployment/Complete.
    Both OAS and Developer 6.0 goes to the same OARCLE_HOME orant.
    I configure the www listner/network and set the following virtual dir's
    D:\orant\forms60\java\ /web-code/
    D:\repcache\ /CACHE/
    fmx's path
    D:\webforms\ /webforms/
    images path
    D:\webforms\images /webimages/
    also i set the following reg settings
    FORMS60_MAPPING /CACHE
    FORMS60_OUTPUT D:/repcache
    FORMS60_REPFORMAT HTML
    FORMS60_PATH D:\webforms
    UI_ICON D:\webforms\images
    also i have the following html file
    <HTML>
    <BODY>
    <OBJECT classid="clsid:9F77a997-F0F3-11d1-9195-00C04FC990DC" WIDTH=100% HEIGHT=100%>
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    <PARAM NAME="CODEBASE" VALUE="/web-code/" >
    <PARAM NAME="ARCHIVE" VALUE="/web-code/f60splash.jar" >
    <PARAM NAME="type" VALUE="application/x-jinit-applet;version=1.1.7.11">
    <PARAM NAME="serverPort" VALUE="9000">
    <PARAM NAME="serverArgs" VALUE="module=d:\webforms\applicant.fmx">
    <PARAM NAME="serverApp" VALUE="default">
    <PARAM NAME="lookAndFeel" VALUE="oracle">
    <PARAM NAME="colorScheme" VALUE="teal">
    <PARAM NAME="splashScreen" VALUE="no">
    <PARAM NAME="background" VALUE="no">
    </OBJECT>
    </BODY>
    </HTML>
    when i call this html from browser(ie5.01). the form does not come up. when i ran with jinit console = yes
    it stopped after the follwing message
    Forms Applet version 4.
    Can any one help me in this regard.
    Thanks in advance<HR></BLOCKQUOTE>
    null

  • Not getting Reports Parameter Form in web-forms environ

    I am not able to get a report parameter form to appear for a
    report called from forms via a 'run_product' command. It works
    fine in client/server mode. In web-forms the report just goes
    ahead and runs without the needed parameters. I have tried
    explicitly passing a parameter list with the 'paramform' set to
    'yes' and this did nothing. I have this on a NT box with latest
    Dev2 patches applied.
    1. Is the reports parameter form supposed to work in web-forms
    mode?
    2. How do you set it up to work, if it is supposed to work?
    Thanks for any replies.
    null

    I guess you have to use web.show_document - I found this article
    on DevConnect:
    Article-ID: <Note:68647.1>
    Circulation: PUBLISHED (EXTERNAL)
    Platform: GENERIC Generic issue
    Subject: How to show Reports HTML PARAMFORM when
    calling Reports
    from Forms
    Modified-Date: 09-AUG-1999 18:02:04
    Document-Type: BULLETIN
    Content-Type: TEXT/PLAIN
    Impact: MEDIUM
    Component: SQLREP
    PURPOSE:
    This bulletin explains how to overcome the current restriction
    of calling an Oracle Report from Oracle Forms and showing a
    PARAMETER FORM. This is currently not possible when using the
    RUN_PRODUCT built-in with
    WEB DEPLOYED APPLICATIONS.
    DESCRIPTION:
    When you call an Oracle Report from Oracle Forms using
    RUN_PRODUCT in Client-server, you can specify an optional
    parameter called PARAMFORM to display the parameter form defined
    in the Oracle Report.
    For web-deployed applications, the PARAMFORM parameter can be
    set to HTML to produce a HTML version of the parameter form.
    When calling Oracle Reports from an Oracle Form using
    RUN_PRODUCT and specifying PARAMFORM=HTML in the parameter list,
    the Oracle Reports parameter form doesn't show the in the client
    browser. If the Oracle Reports Cartridge/CGI is used and
    PARAMFORM=HTML is specified, then the Oracle Reports parameter
    form does appear in the client browser.
    Oracle Forms does not use either the Cartridge or the CGI with
    RUN_PRODUCT, and it's these thin clients that produce the HTML
    Oracle Reports parameter form.
    As a workaround to this problem, you can use either the
    Cartridge or the CGI with the WEB.SHOW_DOCUMENT Oracle Forms
    builtin. This does require either the Oracle Reports Cartrige
    or the CGI to be installed. Neither of these are necessary if
    the parameter form isn't required.
    INSTRUCTIONS:
    The following items need to be installed:
    1. Oracle Reports Multi-tier Server.
    2. Oracle Reports Web Cartridge
    or
    Oracle Reports Web CGI.
    Here is a typical URL that can be specified in a browser
    to run a report using Oracle Reports Cartridge implementation:
    http://your_webserver/r30ows?
    server=repserver21+report=emp_30.rep+
    destype=cache+desformat=html+userid=scott/tiger@mydb+paramform=ht
    ml
    For CGI implementation:
    http://your_webserver/your_vir_cgi_dir/r30cgi32.exe?
    server=repserver21+report=emp_30.rep+destype=cache+desformat=html
    userid=scott/tiger@mydbparamform=html
    The Oracle Reports parameter form now is shown. This can be
    used with WEB.SHOW_DOCUMENT issuing the request to execute the
    report to the Oracle Reports Multi-Tier Server instead of using
    RUN_PRODUCT.
    The following code may be added to a program unit, which then
    issues the request to run the report:
    IF get_application_property(user_interface) = 'WEB' then
    /* Use Cartridge configuration with WEB.SHOW_DOCUMENT. */
    WEB.SHOW_DOCUMENT('http://your_webserver/r30ows?
    server=repserver21+report=emp_30.rep+destype=cache+desformat=html
    userid=scott/tiger@mydbparamform=html', '_self');
    /* OR for CGI configuration. */
    WEB.SHOW_DOCUMENT
    ('http://your_webserver/your_vir_cgi_dir/r30cgi32.exe?
    server=repserver21+report=emp_30.rep+destype=cache+desformat=html
    userid=scott/tiger@mydbparamform=html', '_self');
    ELSE
    /* use RUN_PRODUCT for client-server with PARAMFORM=Yes. */
    Add_Parameter(plid, 'PARAMFORM', TEXT_PARAMETER, 'YES');
    RUN_PRODUCT
    (REPORTS,'emp_30.rep',SYNCHRONOUS,RUNTIME,FILESYSTEM,plid);
    END;
    RELATED DOCUMENTS:
    Developer/2000: Guidelines for Building Applications, Deploying
    Applications on the Web (for detailed instructions on setting up
    the Oracle Reports Cartridge and CGI)
    Laura (guest) wrote:
    : I am having the same problem with Dev 6 on NT. The parameter
    : screen for reports works in client/server but not web using
    run-
    : product. I am getting error REP-0788: Warning the value of
    the
    : restricted LOV parameter is not among the selectable values.
    : Any reports without a parameter screen work fine with run-
    : product.
    : Any help would be appreciated.
    null

  • Re: Unable to Run forms in Web Environment....

    Hi Everybody,
    My current environment:
    1. Windows NT Server 4.0 (Service Pack 3)
    2. Oracle8 V8.0.4
    3. Oracle Web App Server 4.0.5 CR
    4. Oracle Developer 6.0
    All of the above have been installed on the same machine.
    Developer 6.0 has been installed on a separate Oracle Home
    directory and the rest (Db and WAS) resides in one Home.
    Problem:
    I have tried both, cartridge and non-cartridge implementation,
    but failed to run web forms.
    My Browser starts up, initializes all class files and finally
    states "Applet Started", but after that I see no UI. (this is
    during Non-Cartridge Implementation).
    With Cartridge Implementation, I get "Internal Error, Please Try
    Again"
    Another vague thing, if I set the "CLASSPATH" and
    "FORMS60_JAVADIR", and open the form in the designer and hit
    "Runform Web", it works.
    If set the CLASSPATH and leave it, then I am unable to use
    OASMGR from the browser (applet for the navigator fails).
    If I unset it, then oasmgr works fine.
    Finally, If someone can give me the right environment of Web
    Forms, in terms of the versions of the Oracle Software and the
    configuration (Home Dir's), plus some sample settings for
    Virtual directory mappings for WAS or Web Cartridge settings, I
    would really really really really appreciate.
    One more request, Do we need use JINITIATOR 1.1.5.3 for Dev 6.0 ?
    (I tried using as well as not using, but does not help me in
    deployment).
    Thanks in advance,
    Bala.
    LIMITrader Securities, Inc.
    NJ.
    null

    Bala (guest) wrote:
    : Hi Frank,
    : Thanks for replying, but I got it done even with 8.0.4. The
    only
    : small mistake that I did was having the width and height of
    the
    : applet as 20, which was displayed as the size of an iconic
    : button. After increasing the width and height in the HTML
    file,
    : everything runs o.k. Finally the news is, it runs both on
    8.0.4
    : (separate Oracle home directory) and 8.0.5 (same home
    directory)
    : too.
    : Just out of curiosity, I have a question based on your
    previous
    : response: How is the performance of Webforms over a Modem, say
    a
    : standard connection of 31,200 bps ? How much time does the
    : application take to startup ? Over here, I tested out over a
    : 28.8 connection and it took almost 1 min and a half (this with
    : f50all.jar and not f50web.jar) ? Did you follow any tuning
    : guidelines such as creating your own jars ??
    : Thanks in advance,
    : Bala.
    : Frank Huether (guest) wrote:
    : : Bala (guest) wrote:
    : : : Hi Everybody,
    : : : My current environment:
    : : : 1. Windows NT Server 4.0 (Service Pack 3)
    : : : 2. Oracle8 V8.0.4
    : : : 3. Oracle Web App Server 4.0.5 CR
    : : : 4. Oracle Developer 6.0
    : : : All of the above have been installed on the same machine.
    : : : Developer 6.0 has been installed on a separate Oracle Home
    : : : directory and the rest (Db and WAS) resides in one Home.
    : : : Problem:
    : : : I have tried both, cartridge and non-cartridge
    : implementation,
    : : : but failed to run web forms.
    : : : My Browser starts up, initializes all class files and
    : finally
    : : : states "Applet Started", but after that I see no UI. (this
    : is
    : : : during Non-Cartridge Implementation).
    : : : With Cartridge Implementation, I get "Internal Error,
    Please
    : : Try
    : : : Again"
    : : : Another vague thing, if I set the "CLASSPATH" and
    : : : "FORMS60_JAVADIR", and open the form in the designer and
    hit
    : : : "Runform Web", it works.
    : : : If set the CLASSPATH and leave it, then I am unable to use
    : : : OASMGR from the browser (applet for the navigator fails).
    : : : If I unset it, then oasmgr works fine.
    : : : Finally, If someone can give me the right environment of
    Web
    : : : Forms, in terms of the versions of the Oracle Software and
    : the
    : : : configuration (Home Dir's), plus some sample settings for
    : : : Virtual directory mappings for WAS or Web Cartridge
    : settings, I
    : : : would really really really really appreciate.
    : : : One more request, Do we need use JINITIATOR 1.1.5.3 for
    Dev
    : 6.0
    : : : (I tried using as well as not using, but does not help me
    in
    : : : deployment).
    : : : Thanks in advance,
    : : : Bala.
    : : : LIMITrader Securities, Inc.
    : : : NJ.
    : : Bala,
    : : supported configuration on the same machine is:
    : : Win NT 4.0, SP3
    : : DB 8.0.5
    : : OAS 4.0.5 CR (or 4.0.7)
    : : Dev 6
    : : all in the same oracle_home but be aware of the installation
    : : steps as n the documentation on CD
    : : Jinitiator 1.1.5.3 or better 1.1.5.21
    : : I have this configuration running with Jinit on my machine
    and
    : : did a demo with a modem.
    : : Frank
    Bala,
    we just did a demo with a 33K Modem and Dev 6, OAS 4.0.7,... all
    on the same machine and this is really eating up resources
    (mostly memory). The startup time is horrible but one thing is
    the server machine, another is the tuning by creating your own
    jar files which is really necessary. Somewhere I read about
    problems with caching the jar files so they are loading the jar
    files again and again. So right now we are more experimenting
    with Oracle's Web Form than developping.
    There are a lot of bugs from Forms 5 (Web) which should be fixed
    in Dev 6 production. IMHO they are not doing any fixes on Forms
    5 anymore because Forms 6 will be an Oracle Applications release
    but Forms 5 isn't.
    Personally I will drive my company not to develop any new
    project in Forms 5 only in Forms 6.
    Frank
    null

  • Passing Username and Password When Invoking Another Service

    Suppose that I have Service A that calls Service B in its code.
    I can set authentication , inbound/outbound integrity and confidentiality settings for this service.(Service A)
    Can I define a mechanism-declaratively-that tell the service A to include this information (username and password) in its SOAP request message when calling another service? (service B, suppose that service B's authentication is enabled) for example in WS-Security part of the request to service B.
    Best Regards,
    Farbod

    It appears the only way to parameterize the Applications username and password in Web forms is to use either
    a cartridge implementation or javascript. I found the following document on Metalink describing the
    javascript solution:
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=106048.1

  • Passing username and password in JInitiator

    Is there any way to pass my username and password in embed or object tag so that I don't have to type it when I am connected to the oracle application.

    It appears the only way to parameterize the Applications username and password in Web forms is to use either
    a cartridge implementation or javascript. I found the following document on Metalink describing the
    javascript solution:
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=106048.1

Maybe you are looking for