OCIObjectSetAttr() and UTF16 environnement

Hi,
I'm currently implementing Oracle Named Types support (SQL_NTY) in OCILIB library and i'm facing a weird problem !
To manipulate objects attributes, i'm using OCIObjectSetAttr() and OCIObjectGetAttr().
Everything's fine when the environnement handle is created in normal ANSI mode.
But when it's created with OCI_UTF16 flags to setup an unicode environnement, troubles start !
In an UTF16 env, calls to OCIObjectSetAttr() and OCIObjectGetAttr() do not return any error but any call to OCIObjectSetAttr() will smash up all other handles retreived before with OCIObjectGetAttr().
By example, for an object that has 2 fields (let's say int and timestamp), if i retreive the timestamp handle and set the int value :
* in ansi, no problem
* in unicode, the timestamp handle is scrambled and any use of it with function that get an timstamp handle then crash !
If the object is created without having his attributes modified, it's well inserted throught a SQL statement.
THe problem seems to be OCIObjectSetAttr (). All handles retrieved before the OCIObjectSetAttr() are ok and when OCIObjectSetAttr() returns for other fields, theses handles are scrambled !
I checked client 9, 10, 11 and i got the same : ok in ansi and handle smash up in unicode !
Any ideas ? Posting some code is quit difficult because it's using internal library calls . But if anybody wants to review it, i'll send it straight away !
I checks all strings involded in the specified portions of code but everyting looks regular...
There hardly no resources on OCIObjectSetAttr() and i couldn't find anything about its use in an UT16 env.
Thanks in advance for reading thoses lines...
Vincent.

Hi Jonah,
I can't recompile a full OCILIB package on Linux now, but i made a test project with raw OCI code and it gives the same result : values are smashed up !
(BTW : how do you highlight C syntax in posts ?)
Here is the test code, First create the test type :
SQL> create type type_test as object (v1 int, v2 date);
Here the test raw OCI code :
With GCC on linux, add -fshort-wchar to compile it !
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "oci.h"
#include "orid.h"
#define OCI_TEST_UNICODE
#ifdef OCI_TEST_UNICODE
#include "wchar.h"
#define ENV_MODE OCI_UTF16
#define CHARSIZE sizeof(wchar_t)
#define TS(x) L ## x
#define tchar wchar_t
#else
#define ENV_MODE OCI_DEFAULT
#define CHARSIZE sizeof(char)
#define TS(x) x
#define tchar char
#endif
int tslen(tchar *s)
int n =0;
while (*s++) n++;
return n;
#define tsize(x) (tslen(x) * sizeof(tchar))
int main(int argc, char **argv)
/* OCI handles */
OCIEnv *p_env    = NULL;
OCIError *p_err  = NULL;
OCISvcCtx *p_svc = NULL;
/* OCI types */
OCIType *dto     = NULL ;
OCINumber *p_num = NULL;
void *obj        = NULL;
/* misc*/
OCIInd ind = 0;
int value = 1;
int rc = OCI_SUCCESS;
/* OCI values placeholders */
OCIDate *date;
OCINumber num;
/* attributes infos types */
tchar* attr1_name[1] = {TS("V1")};
ub4 attr1_len[1] = {2*CHARSIZE};
tchar* attr2_name[1] = {TS("V2")};
ub4 attr2_len[1] = {2*CHARSIZE};
tchar *user = TS("winrest");
tchar *pwd  = TS("fsi");
tchar *db   = TS("maison");
tchar *type = TS("TYPE_TEST");
/* Initialize OCI */
rc = OCIEnvCreate((OCIEnv **) &p_env,
ENV_MODE | OCI_THREADED | OCI_OBJECT,
NULL, NULL, NULL, NULL, 0, NULL);
/* Initialize handles */
rc = OCIHandleAlloc((dvoid *) p_env, (dvoid **) & p_err, OCI_HTYPE_ERROR,
(size_t) 0, (dvoid **) 0);
rc = OCIHandleAlloc((dvoid *) p_env, (dvoid **) & p_svc, OCI_HTYPE_SVCCTX,
(size_t) 0, (dvoid **) 0);
/* Connect to database server */
rc = OCILogon(p_env, p_err, &p_svc,
(const OraText *) user, tsize(user),
(const OraText *) pwd, tsize(pwd),
(const OraText *) db, tsize(db));
if (rc)
printf("connection error !");
return 0;
printf("connected...\n");
/* get type info */
rc = OCITypeByName(p_env, p_err, p_svc, (CONST text *) NULL, (ub4) 0,
(CONST text *) type, tsize(type), (CONST text *) NULL, (ub4) 0,
OCI_DURATION_SESSION, OCI_TYPEGET_ALL, &dto);
/* create object */
rc = OCIObjectNew(p_env, p_err, p_svc, SQLT_NTY, dto, NULL, OCI_DURATION_SESSION,
TRUE, (dvoid **) &obj);
/* get date value */
rc = OCIObjectGetAttr(p_env, p_err, obj, NULL, dto,
(CONST text**) attr2_name, attr2_len,
1, NULL, 0, &ind, NULL, (void **) &date, NULL);
/* set date value */
OCIDateSysDate(p_err, date);
/* print date value */
printf("date before setting int val : %02i/%02i/%04i\n", date->OCIDateDD,
date->OCIDateMM, date->OCIDateYYYY);
/* set int value */
rc = OCINumberFromInt(p_err, &value, sizeof(int), OCI_NUMBER_SIGNED, &num);
ind = 0;
rc = OCIObjectSetAttr(p_env, p_err, obj, NULL, dto,
(CONST text**) attr1_name, attr1_len,
1, NULL, 0, ind, NULL, &num);
/* get it back for checking */
value = 0;
rc = OCIObjectGetAttr(p_env, p_err, obj, NULL, dto,
(CONST text**) attr1_name, attr1_len,
1, NULL, 0, &ind, NULL, (void **) &p_num, NULL);
rc = OCINumberToInt(p_err, p_num, sizeof(int), OCI_NUMBER_SIGNED, &value);
/* print int value */
printf("int value : %i\n", value);
/* print date value */
printf("date after setting int val : %02i/%02i/%04i\n", date->OCIDateDD,
date->OCIDateMM, date->OCIDateYYYY);
/* free object */
rc = OCIObjectFree(p_env, p_err, obj, 0);
/* Disconnect */
rc = OCILogoff(p_svc, p_err);
/* Free handles */
rc = OCIHandleFree((dvoid *) p_svc, OCI_HTYPE_SVCCTX);
rc = OCIHandleFree((dvoid *) p_err, OCI_HTYPE_ERROR);
rc = OCIHandleFree((dvoid *) p_env, OCI_HTYPE_ENV);
return 1;
if OCI_TEST_UNICODE is not defined, i get that (working) :
date before setting int val : 03/02/2008
int value : 1
date after setting int val : 03/02/2008
And if it's defined (smashed values):
date before setting int val : 03/02/2008
int value : 1
date after setting int val : 204/02/-16126
Message was edited by:
Vicenzo : modified declaration of CHARSIZE
Message was edited by:
Vicenzo : Fixed code to compile on Linux

Similar Messages

  • How to set up DEV, TEST and PROD environment?

    We have used BI publisher Enterprise (standalone), Oracle BI Publisher 10.1.3.4.1. Our admin set up DEV, TEST and PROD environment based on the folder. For example, there is DEV folder, TEST folder and PROD folder. Developer is developing reports under DEV folder. Under TEST and PROD folder, there are many sub-folder based on the login user role. Sometimes a report has to be assigned to a multiple sub-folder under PROD. So our admin create symbolic links in the Linux box which BI server is located. That way, if a report is updated, there is no need to update the report in all sub-folder.
    The issue I have is we are not allowed to touch any files under TEST/PROD folder. Only admin will move the report from DEV folder to TEST/PROD folder because those links admin created might be broken. However, as a developer, we still have permission to delete/rename/copy report under those restricted folders. Yesterday one report under PROD has been renamed by a developer. And admin complains because the links he has created not working anymore. Just wonder if admin doesn't allow developers to touch the reports under those folders, is there a way to remove the write permission on those folders? Also do you think this is a good practice to set up DEV, TESDT and PROD environment? Any input will be greatly appreciated.

    We have used BI publisher Enterprise (standalone), Oracle BI Publisher 10.1.3.4.1. Our admin set up DEV, TEST and PROD environment based on the folder. For example, there is DEV folder, TEST folder and PROD folder. Developer is developing reports under DEV folder. Under TEST and PROD folder, there are many sub-folder based on the login user role. Sometimes a report has to be assigned to a multiple sub-folder under PROD. So our admin create symbolic links in the Linux box which BI server is located. That way, if a report is updated, there is no need to update the report in all sub-folder.
    The issue I have is we are not allowed to touch any files under TEST/PROD folder. Only admin will move the report from DEV folder to TEST/PROD folder because those links admin created might be broken. However, as a developer, we still have permission to delete/rename/copy report under those restricted folders. Yesterday one report under PROD has been renamed by a developer. And admin complains because the links he has created not working anymore. Just wonder if admin doesn't allow developers to touch the reports under those folders, is there a way to remove the write permission on those folders? Also do you think this is a good practice to set up DEV, TESDT and PROD environment? Any input will be greatly appreciated.

  • RE: Cleaning and Compression Environment Repository

    Mark,
    I'm not sure what I did wrong the first time. I thought I
    covered all the bases, but just to be certain, I did the
    whole sequence again and now it works.
    Before, I did have problems restarting the environment,
    because the repository was locked. I had to kill a
    hanging process to solve the problem. Most likely
    it was this process that was interfering with my original
    attempts.
    With this script, you offered some very usefull infor-
    mation. Where did you get it? Like I said in my
    first posting, I couldn't find any documentation.
    The "help" function of "envedit" doesn't show any of
    the commands you used. No way, you stumbled
    on this by accident.
    Thanks,
    Pascal Rottier
    STP - MSS Support & Coordination Group
    Philip Morris Europe
    e-mail: [email protected]
    Phone: +49 (0)89-72472530
    +++++++++++++++++++++++++++++++++++
    Origin IT-services
    Desktop Business Solutions Rotterdam
    e-mail: [email protected]
    Phone: +31 (0)10-2428100
    +++++++++++++++++++++++++++++++++++
    /* Ever stop to think, and forget to start again? */
    -----Original Message-----
    From: [email protected]
    [SMTP:[email protected]]
    Sent: Wednesday, June 30, 1999 1:04 PM
    To: [email protected]
    Cc: [email protected]
    Subject: Re: Cleaning and Compression Environment Repository
    The script mentioned is the exact sequence of commands that should be
    used.
    Did you shutdown the environment first? You cannot clean an environment
    repository while the environment is online. I know that these commands
    work for both NT and Unix environment managers.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Mark,
    I'm not sure what I did wrong the first time. I thought I
    covered all the bases, but just to be certain, I did the
    whole sequence again and now it works.
    Before, I did have problems restarting the environment,
    because the repository was locked. I had to kill a
    hanging process to solve the problem. Most likely
    it was this process that was interfering with my original
    attempts.
    With this script, you offered some very usefull infor-
    mation. Where did you get it? Like I said in my
    first posting, I couldn't find any documentation.
    The "help" function of "envedit" doesn't show any of
    the commands you used. No way, you stumbled
    on this by accident.
    Thanks,
    Pascal Rottier
    STP - MSS Support & Coordination Group
    Philip Morris Europe
    e-mail: [email protected]
    Phone: +49 (0)89-72472530
    +++++++++++++++++++++++++++++++++++
    Origin IT-services
    Desktop Business Solutions Rotterdam
    e-mail: [email protected]
    Phone: +31 (0)10-2428100
    +++++++++++++++++++++++++++++++++++
    /* Ever stop to think, and forget to start again? */
    -----Original Message-----
    From: [email protected]
    [SMTP:[email protected]]
    Sent: Wednesday, June 30, 1999 1:04 PM
    To: [email protected]
    Cc: [email protected]
    Subject: Re: Cleaning and Compression Environment Repository
    The script mentioned is the exact sequence of commands that should be
    used.
    Did you shutdown the environment first? You cannot clean an environment
    repository while the environment is online. I know that these commands
    work for both NT and Unix environment managers.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Install j2se plugin version 1.6.0_07 on your client and NPX_PLUGIN_PATH environment variable set before starting Netscape.

    Hi experts m new to apps please help.. I have installed successfully Oracle Apps R12 on OEL - 5 All the services runining fine. but when i am opening forms its giving error "install missing plugins" i installed jre-6u7-linux-i586-rpm.bin and Mozilla Firefox 3.0.18 [root@ust ~]# cd firefox/plugins/ [root@ust plugins]# ln -s /usr/java/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so [root@ust plugins]# ls libjavaplugin_oji.so  libnullplugin.so [root@ust plugins]# ll total 20 lrwxrwxrwx 1 root root    58 Sep 11 16:22 libjavaplugin_oji.so -> /usr/java/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so   -rwxr-xr-x 1 root root 19160 Sep 15  2007 libnullplugin.so [root@ust plugins]# but when m trying to open forms at that time giving error "install j2se plugin version 1.6.0_07 on your client and NPX_PLUGIN_PATH environment variable set before starting Netscape."

    Linux is not a certified client tier for accessing EBS
    Unable to access r12 forms in linux client
    https://forums.oracle.com/search.jspa?view=content&resultTypes=&dateRange=all&q=linux+client&rankBy=relevance&contentTyp…
    HTH
    Srini

  • Where is the built in Java runtime and development environment in my MAC???

    I keep reading that my macintosh (dual G5 with OSX 10.4.10) came with a fully configured and ready-to-use Java runtime and development environment, however I cannot find, nor do I know how to open it. Doe anyone know how to open this up? thanks so much!

    Your JRE should already be configured so that when you double-click a self-executing jar or open a page with an Applet it will run.
    Your compiler (javac) should be available through your sheel in your terminal application.
    If none of this helps you (and it may well not) you may want to consider installing an IDE. Eclipse for example has a Mac OS version, I am sure there are others but I do not develop on Mac so I can't tell you about them.
    http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/20071103/eclipse-java-europa-fall2-macosx-carbon.tar.gz

  • J2SE Plugin version 1.4.2_04 on your client and NPX_PLUGIN_PATH environment

    Dear all,
    I get the following error while trying to login into Oracle EBS Applications, from an Ubuntu client OS.
    Please advice me with the solution for the same...
    Error Message :
    In order to access this application, you must install the J2SE Plugin version 1.4.2_04 on your client and NPX_PLUGIN_PATH environment variable is set before starting Netscape. To install this plugin, click here to download the oajinit.exe executable. Once the download is complete, double-click the oajinit.exe file to install the plugin. You will be prompted to restart your browser when the installation is complete.
    SOMEBODY, PLEASE REPLY IMMEDIATELY
    Edited by: Anand.C on Mar 6, 2008 1:51 PM

    Linux is not a certified client tier for accessing EBS
    Unable to access r12 forms in linux client
    https://forums.oracle.com/search.jspa?view=content&resultTypes=&dateRange=all&q=linux+client&rankBy=relevance&contentTyp…
    HTH
    Srini

  • MSDN and Production Environment (again)

    I started this on another forum before I found this one, but this seems a more suitable place.
    The definition of "production environment" seems rather odd. In some responses on this forum it appears to refer to "soft" systems whereas the latest MSDN licence refers to environment and physical kit.
    Below is a conversation I had over email with someone from MSDN and I find the whole thing utterly bizarre. I cannot for the life of me see how this helps anyone apart from MS being able to charge for non-production software. It renders having a powerful desktop
    for local lab experimentation pointless as you're not allowed to install anything and effectively doubles the hardware cost to small companies if they have to buy a separate server for any testing work (yes, best practice and all that, but budgets...) or pay
    out for a Windows Datacenter licence.
    Question:
    “If a physical machine running one or more virtual machines is used entirely for development and test, then the operating system used on the physical host system can be MSDN software. However, if the physical machine or any of the VMs hosted on that physical
    system are used for other purposes, then both the operating system within the VM and the operating system for the physical host must be licensed separately.”
    Is this actually saying that if I have a physical server licenced with a purchased (not MSDN) Server 2012 R2, running Hyper-V with, say, a production file server VM on it,  that ALL Windows VMs on that machine must have purchased licences even if they
    are only for development & testing purposes?
    Is this saying that all production and development Windows VMs must be only completely separate hardware, cluster, SAN, etc otherwise you must pay for full licences for the VMs?
    Or does it just mean that the bare metal licence (plus any additional ones required for running further production VMs) must be purchased if the VMs are a mix of production and development?
    Answer:
    We kindly inform that any products licensed under the developer tools model (e.g. SQL/BizTalk developer and/or MSDN) must be installed on their own separate physical hardware.
    You are not allowed to run test or development products on a server where production workloads are running at the same time.  Kindly run your developer software on a device/host that is dedicated to testing and development.
    Explanation:
    The Product Use Rights (PUR) say that the developer software is not licensed for use in a production environment. Even if the PUR does not have a separate definition of production environment, a production environment is a set of resources for network, physically
    dedicated hardware and software to provide "live" service.  If the intent was to say that the same physical server could be used for both development and production - it would say "not licensed for use in a production OSE," instead
    it says environment.
    See current PUR, page  51:
    Developer Tools (User License)
    You have the rights below for each license you acquire.
    #      You must assign each license to a single user.
    #      Each Licensed User may run an unlimited number of copies of the Developer Tools software and any prior version on any device.
    #      The Licensed User may use the software for evaluation and to design, develop, test, and demonstrate your programs. These rights include the use of the software to simulate an end user environment to diagnose issues related to your programs.
    #      The software is not licensed for use in a production environment. #      Additional rights provided in license terms included with the software are additive to these product use rights, provided that there is no conflict
    with these product use rights, except for superseding use terms outlined below.
    Question:
    Classifying an entire physical infrastructure as "production" in these days of virtualisation and shared storage really does not make any sense at all. Not using the software for production purposes makes perfect sense, but not being able to locate
    it alongside production OS installs is mad. Does this only apply to the server running the VM (CPU and RAM)? If the VHDX is hosted on shared SAN storage does the SAN have to be dedicated to non-production storage?
    Answer:
    We kindly inform that after double-checking the case we would like to confirm the development software cannot be run on the same hardware with production software.
    We have also received a feedback from the responsible team regarding your request about a dedicated SAN (Storage Area Network) for MSDN software.
    They have confirmed that the SAN has to be dedicated to the development and testing environment if it is used to run the software acquired through MSDN.
    Question:
    OK, so if I have my desktop (which is a production environment as I use it for email and other day to day office tasks), can I turn on Hyper-V and install an MSDN Windows Server 2012 instance for development purposes?
    Answer:
    We kindly inform it is not allowed to install and run software from MSDN subscriptions in production environments. Please do not install MSDN software on a desktop in a production environment:
    "[.] The customer will need to run the developer software on a device/host that is dedicated to testing and development.
    Explanation:
    The Product Use Rights (PUR) say that the developer software is not licensed for use in a production environment. Even if the PUR does not have a separate definition of production environment, a production environment is a set of resources for network, physically
    dedicated hardware and software to provide "live" service.  If the intent was to say that the same physical server could be used for both development and production - it would say "not licensed for use in a production OSE," instead
    it says environment.
    See current PUR, page  51:
    Developer Tools (User License)
    You have the rights below for each license you acquire.
    -      You must assign each license to a single user.
    -      Each Licensed User may run an unlimited number of copies of the Developer Tools software and any prior version on any device.
    -      The Licensed User may use the software for evaluation and to design, develop, test, and demonstrate your programs. These rights include the use of the software to simulate an end user environment to diagnose issues related to your programs.
    -  The software is not licensed for use in a production environment.
    -      Additional rights provided in license terms included with the software are additive to these product use rights, provided that there is no conflict with these product use rights, except for superseding use terms outlined below.

    Hi Mike,
    It sucks that MSDN software can't be run in a production environment, that means you have to have two entirely separate hardware environments, which are costly, and it seems unnecessary.  
    That's essentially it. I'm not saying for one second that it should be used for production purposes, just that it's physical location shouldn't be relevant. Also, the word "environment" is a very bad choice in the documentation simply because it's very open
    to interpretation.
    A production environment is defined as an environment that is accessed by end users of an application (such as an Internet Web site) and that is used for more than
    Acceptance Testing of that application
    or Feedback. Some scenarios that constitute production
    environments include:
    Environments that connect to a production database.
    Environments that support disaster-recovery or backup for a production environment.
    Environments that are used for production at least some of the time, such a server that is rotated into production during peak periods of activity.
    So I dont think (here's that inconclusive language) but am not sure that your desktop machines count as production environments, based on that, unless end users are connecting to them. (I dearly hope they are not!)
    My reading is based on the "Other Guidance" section:
    "If a physical machine running one or more virtual machines is used entirely for development and test, then the operating system used on the physical host system can be MSDN software. However, if the physical machine or any of the VMs
    hosted on that physical system are used for other purposes, then both the operating system within the VM and the operating system for the physical host must be licensed separately."
    <o:p>This is the crux of the matter and the interpretation of "licensed separately". A (to my mind) sensible reading of that would be "if you're running any production purpose VMs on a server then the physical host OS must be a full licence
    [presuming it's Server 2012 and not, say, VMWare or Hyper-V 2012] as must all production purpose VMs on that server". This has been getting interpreted by others (I'm not the first) and backed up by MS as meaning that if you want to run any dev/test VMs on
    a server that also runs production VMs then you can't use MSDN for those dev/test VMs.</o:p>
    Also, there is a section
    here, on the MSDN Licensing help page that says (with my added emphasis):
    Many
    MSDN subscribers use a computer for mixed use—both design, development, testing, and demonstration of your programs (the use allowed under the MSDN subscription license) and some other use.  Using the software in any other way, such as for doing email,
    playing games, or editing a document is another use and is not covered by the MSDN subscription license. 
    When this happens, the underlying operating system must also be licensed normally by purchasing a regular copy of Windows such as the one that came with a new OEM PC.
    Now to me, it seems this might be saying that the underlying operating system on a work
    machine cannot be licensed using MSDN if that work machine is going to be doing non-msdn things in addition to MSDN things.  It doesn't say "This can't happen" it just says "When this happens, the underlying
    OS must be licensed normally..." 
    So, based on what I'm reading it seems that this quote from you might not be true:
    "We can't install a local MSDN instance of Server 2012 or 8.1 for dev and test under Hyper-V on desktops
    because desktops used for email, writing documents, etc are production. "
    I wouldn't have expected this to be true either, but this is the response I was given. It may well be
    that my question was misunderstood. I hope this is the case otherwise one of the big reasons for turning on Hyper-V on  expensive, powerful desktops enabling the running of personal test environments goes out the window!
    Thanks for your time on this.

  • Create a test and development environment : only one CMS running

    Hi,
    Can anyone tell me how to create a test and Develpment environment for one CMS?
    I'm running BO XI 3.1 enterprise edition.
    Thanks
    Peter

    If you only have one server, you'll need to create an extra folder. Use security to stop non-test/dev users seeing the content. Then publish to it.
    Once tested, move reports to 'proper' folders.

  • How to create Dev, Test and UAT environment of OAS 10g on single Linux box

    Hi
    According to Paul's forms/reports installation thread, i installed standalone versions of Forms & Reports (10.1.2.0.2)services on Linux suse 9. And it is working fine.
    Now my next requirement is that i want to create three environment on my Linux box dev, test and UAT. this one which i have created before i am using that environment as dev.
    Kindly provide me some direction that how can i create test and UAT environment on same machine which should point to different source files and databses.
    1. Do i need to install again standalone forms/reports services twice? if yes then how can i access them?
    2. Is there any setting in existing OAS configuration which can divert me to different sources and databases. i saw something like this somewhere
    http://oas.com:7777/forms90/f90servlet?config=UAT&userid=cg_am2/training@tardist
    bla bla bla.
    Please help.
    JM

    Hi
    Yes if your server has the resources (CPU and memory) of doing so the best thing to do would be to install Dev , Test and UAT in three different ORACLE_HOMES with different port numbers for the Oracle HTTP Server to listen on. There is however a non-technical point to install the UAT environment on a seperate box or to do the UAT testing when Dev and Test processes are not running otherwise this will blur the results of the UAT tests. Create different environment files to source these installations. You could even install three separate standalone webcaches in their own ORACLE_HOME in front of these environments. Keepin mind though that it would be better for availability, ease of management it would be better to install your environments on separate boxes. The config=UAT in the URL points to a forms service for an application called UAT I guess. Unless you have only one application in all the environments you could create forms applications in one ORACLE_HOME, but you would end up with just one environment instead of three. Going for the option where you install the environments on different boxes will save you a lot of headaches.
    cheers

  • Extracting text (UTF8 and UTF16) from the SWF file format

    Hello.
    Just wondering if this newsgroup is the right one to talk
    about the
    'open' SWF file format. I'm looking for a utility to pull out
    the text
    strings inside of a SWF file (both UTF8 and UTF16). The file
    format is
    open-sourced, so I guess that I could write something, but I
    remember
    there being some tools here when Adobe first open-sourced the
    format,
    but I'm not able to find the tools anymore.
    Any help?
    - Steve Webb

    Hello.
    Just wondering if this newsgroup is the right one to talk
    about the
    'open' SWF file format. I'm looking for a utility to pull out
    the text
    strings inside of a SWF file (both UTF8 and UTF16). The file
    format is
    open-sourced, so I guess that I could write something, but I
    remember
    there being some tools here when Adobe first open-sourced the
    format,
    but I'm not able to find the tools anymore.
    Any help?
    - Steve Webb

  • How can I downgrade my Java version and Runtime Environment to 6?

    Hi, thanks for reading this in advance:
    I have a couple problems. Ever since Java Preferences was removed in one of Lion's updates I have been having trouble with java.
    How do I downgrade my java and runtime environment to java 6?
    When I go into terminal, and type java -version, this is what I get:
    java version "1.7.0_09"
    Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
    How do I downgrade the "java version" to 6 and how do I downgrade the SE Runtime Environment to 6?
    I accidentally installed 7 a couple days ago and I've been having trouble with some applications.
    Thank you so much.

    Dear Minionsman and everyone who reads this. I was so happy when i downgraded and i wanted to share it to all, I have found out why it says this in terminal
    java version "1.7.0_09"
    Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
    and why it says something different on java tester
    Its because java 7 blocks every java version below it.
    How do you downgrade?
    Well all you do is delete a few files
    INSTRUCTIONS BELOW
    1.Open Terminal
    2. Enter these commands
    sudo mkdir -p /Library/Internet\ Plug-Ins/disabled
    sudo mv /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/disabled
    sudo ln -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI .plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
    sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Commands/javaws /usr/bin/javaws
    3.
    Go to /Library/Internet Plug-Ins/ and delete the JavaAppletPlugin.plugin bundle.
    4.
    Go to /System/Library/Java/JavaVirtualMachines/ and delete anything whose name starts with jdk1.7.0 or says Java 7 or something similar.
    5. now go to terminal and type
    java -version
    6.it should say something like this
    java version "1.6.0_35"
    Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11M4508)
    Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode)
    <Edited by Host>

  • Error 25011. A file required to install the Rescue and Recovery environment could not be located

    Hello everybody,
    May I have your help and support on this error I faced with in installing the new Rescue and Recovery Version 4.5
    "Error 25011. A file required to install the Rescue and Recovery environment could not be located. This setup cannot proceed. Make sure that the correct .tv.t file is located in the same as this setup package and restart this setup."
    Awaiting,
    Thanks
    Hossein

    heya,
    I hope you managed to sort your issue out.
    It's namely mentioned here - http://www-307.ibm.com/pc/support/site.wss/MIGR-69170.html
    cheers
    norbs

  • How dev, QA and producation environment would be organized in InfoView

    Hi,
    Please let me know about following things
    1. How Dev, QA and Producation environment would be organized in InfoView
    2. How to navigate among  Dev, QA and Producation environment in InfoView
    3. While login , can we only login for production environment
    Regards,
    Manjunath

    You can definitely have three different data sources (DEV, QA, Prod) leveraged by your single environment. This would be just for reporting data sources though, and not the CMS database itself.
    Reports would be associated with the different data sources depending on the stage of development, and would be accordingly stored in one of three folder trees set up in your single environment. Then access to the trees would be controlled by security set in the CMC.
    Development would take place in the /DEV folder tree, and it would then be moved to the /QA tree for testing, and ultimately the production tree for consumption. Just keep in mind that when you are updating content in the different trees (vs. creating new content) that you will need to overwrite existing content in the trees if you wish to preserve the instance history and CUID (which may be referenced in openDocument links, for example).

  • BPEL DEV and TEST Environment

    Hello All,
    I have situation with a client. The Client wants to install a BPEL DEV and TEST environment on one Server Instance and One Database Instance.
    I know we can have multiple App Server Instances on a single Physical Server.
    But the question is about having just one Database Instance. Can multiple BPEL schemas reside on same database with different schema names like orabpelDEV and orabpelTEST? Can the default schemas names orabpel, oraesb be renamed for different environment? If so how do I do it?
    Any other suggestions is appreciated.
    Thanks,
    Abhay.
    PS: BPEL 10.1.2 is being used with MID TIER Installation

    In the documentation of the App Server in chapter 4 it's all about BPEL clustering:
    http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28980/clusteringsoa.htm
    This can also apply to your environment. It is possible to have multiple BPEL PM server using one signle database and the same dehydration store. This helps you to increase the througput, scalibility and reailibility.
    You can also implement multiple BPEL domains on a single BPEL server. In this way you can implement a OT(AP) environment.

  • Nagios windows and Oracle environment

    Hi Gurus,
    I'm planning to implement Nagios tool for SAP monitoring on windows and Oracle environment. Can any one help me on thisu2026u2026..??
    Regards
    Soumitra

    Dear Soumitra,
    The only requirement of running Nagios is a machine running Linux (or UNIX variant) and a C compiler. You will probably also want to have TCP/IP configured, as most service checks will be performed over the network.
    You can download that suggested plug-in. Extract it and read the Documentation available within that bundle.
    The Following links may provide more details.
    [http://nagios.sourceforge.net/docs/3_0/quickstart.html|http://nagios.sourceforge.net/docs/3_0/quickstart.html]
    [http://wiki.nagios.org/index.php/Main_Page|http://wiki.nagios.org/index.php/Main_Page]
    Also check this"Nagios Toolbox for Windows hosts"
    [Nagios Toolbox for Windows hosts|http://sourceforge.net/projects/ngtbx/] . Nagios Toolbox for Windows host is still in development.
    Regards,
    Bhavik G. Shroff

Maybe you are looking for

  • IOS 7 has killed my Iphone 5

    Hi, To say that I am annoyed is an understatement. I installed IOS 7 on Wednesday evening and was quite pleased with the new look and features etc. I charged my phone as normal over night and carried on with my day as normal yesterday. By 12 o'clock

  • Can you lock the SPDIF IN of the MBP to an external SPDIF clock?

    I've read a lot of inconclusive posts about this. Can it be done? The corollary question of course is: can the SPDIF OUT of the MBP sync to a clock at the SPDIF input? Can both input and output lock to an external SPDIF clock? TIA

  • IPhone saves a landscape movie rotated?

    I shot a movie on my iPhone 5 (IOS 8.3) in normal landscape fashion, but it insists on showing it in portrait mode; when I look at it on my Mac it's also rotated 90 degrees. I have to hold my iPhone (and my head!) sideways to see it full-screen. I've

  • Anonymous help me it's urgent

    When ever i am running a report, in the job queue always it is showing owner as anonymous. But report is working fine there is no problem in that. But if i will executing the test report which is provided by oracle corporation it is giving me the use

  • Cannot download OC4J 9.0.3 Preview

    Oracle9iAS Containers for J2EE (9.0.3) Developer Preview Document contains no NATA