New Develop in Oracle
Hi, in my company we are going to change all the system to a Oracle System, my big question is what is better to use to develop the aplication
Forms or Java?
Advantage and Disadvantage.
Thk Ppl!
well, in any of that
i know visual basic, lotusscript, javascript, html, dhtml, some xml, and sql.
i develop web application in a domino web server, using lotus designer, html, javascript and lotusscript
Similar Messages
-
Problem in connecting SQL developer to Oracle database
Hi,I don't know this is the correct forum for my problem
I Just installed Oracle Sql developer 3.2.I encountered a problem while creating a new connection with Oracle database 11g..
The error message says "Status : Failure -Test failed: The Network Adapter could not establish the connection"..
The command response as follows
lsnrctl stop
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:52
:56
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-01190: The user is not authorized to execute the requested listener command
lsnrctl start
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:55
:49
Copyright (c) 1991, 2010, Oracle. All rights reserved.
TNS-01106: Listener using listener name LISTENER has already been started
lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:57
:07
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 31-OCT-2013 20:57:07
Uptime 0 days 1 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\RIYAS\product\11.2.0\dbhome_1\network\admin\lis
tener.ora
Listener Log File c:\app\riyas\diag\tnslsnr\RIYAS-PC\listener\alert\log.
xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
lsnrctl service
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:58
:28
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:102 refused:0 state:ready
LOCAL SERVER
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: RIYAS-PC, pid: 1828>
(ADDRESS=(PROTOCOL=tcp)(HOST=RIYAS-PC)(PORT=49911))
The command completed successfully
set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\RIYAS\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=RIYAS-PC
ComSpec=C:\windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\RIYAS
LOCALAPPDATA=C:\Users\RIYAS\AppData\Local
LOGONSERVER=\\RIYAS-PC
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\app\RIYAS\product\11.2.0\dbhome_1\bin;C:\app\RIYAS\product\11.2.0\dbhome
_2\bin;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files\Common
Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsof
t Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\
Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\wi
ndows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPo
werShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;
C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program File
s (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\I
ntel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Open
CL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Progra
m Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\P
rogram Files (x86)\Windows Live\Shared
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=3a09
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\windows
TEMP=C:\Users\RIYAS\AppData\Local\Temp
TMP=C:\Users\RIYAS\AppData\Local\Temp
USERDOMAIN=RIYAS-PC
USERNAME=RIYAS
USERPROFILE=C:\Users\RIYAS
windir=C:\windows
windows_tracing_flags=3
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
Pls help..You don't say what you have done to set up a connection.
This error is usually caused by something like using the wrong host name, or port number. -
Running SQL developer with Oracle XE
I am running SQL Developer 1.5 against Oracle 10g XE for a quick interface to practice SQL and PL/SQL. Before running any scripts to create tables, I see a huge number of tables, views, etc. already created for my user HR (which I unlocked in Oracle XE) and any other user I create. What can I do to prevent these tables from appearing? Which ones are necessary for processing? I realize that these are old versions of SQL Developer and Oracle XE but they are much quicker to install for my purposes than the newer editions. Thank you.
Get the latest SQL Developer instead right away; it's no "install" just unzip and go.
Above suggested role, is one of the predefined, to-be deprecated roles, and should not be used. Instead use CREATE SESSION privilege for relevant users and preferrably create your own application-specific roles. See the Security Guide for more info. -
Any details on new Sybase to Oracle migration tools announced in August?
I'm currently researching approaches for migrating an application from using Sybase to using Oracle. I came across an announcement that suggests that Oracle is coming out with new tools that go above and beyond the DDL, stored procedure and data migration offered in Oracle SQL Developer. Does anyone know if any additional information is available on what these tools actually do and when they will be available? I have included the description from an informational session at the August OpenWorld conference at the end of this post.
For the application that I am trying to migrate, the biggest challenge are a group of UNIX programs written in C and C++ that use the Sybase Open Client library to talk to a Sybase database.
OpenWorld Session Description from August, 2012:
"Migrating non-Oracle databases to Oracle Database has been a fairly straightforward process with Oracle SQL Developer, but what about all the existing application code that must be rewritten for an Oracle environment. In this session, learn how new exciting technology from Oracle will enable you to simply point your Sybase application to your migrated Oracle Database instance and run without rewriting your application source. Oracle tools also can parse and report the Sybase T-SQL requiring translation. Allow Oracle translators to rewrite the code for you as you test and patch the application as needed before deploying to production on Oracle Exadata."Hello,
if you are interested you can have a look at the complete OOW presentation:
https://oracleus.activeevents.com/connect/search.ww?event=openworld#loadSearch-event=openworld&searchPhrase=sybase&searchType=session&tc=0&sortBy=&p=&i%2811425%29=&i%2810053%29=&i%2811404%29=&i%2811562%29=&i%2811488%29=&i%2810089%29=&i%2811840%29=
The new features requires Oracle 12c and SQL Developer 3.2. From http://www.oracle.com/technetwork/developer-tools/sql-developer/sqldev-newfeatures32-1731840.html :
+12c Database Support+
This release supports 12c Database features. Customers part of the 12c Database Beta program can test the latest 12c features.
I hope this helps.
Best regards
Wolfgang -
Develop/Port Oracle Application on OS390 Z/OS platform
We have an ANSI C application using ODBC to access Oracle or other RDBMS backend. The application runs on Windows and UNIX platforms. We are looking into porting this application on IBM OS/390 z/OS platform. What options do we have?
Is there ODBC manager and Oracle ODBC driver avaiable on z/OS?
On option could be replacing ODBC module with OCI or Pro*C based module. Do Oracle provide a development environment (lib, precompiler, etc.) for z/OS platform?
Thanks very much for any pointer and help!
Bing Yu
[email protected]Brian,
Each of following files in my help jar
MyHelp Links.xml
MyHelp Map.xml
MyHelp.hs
index.xml
toc.xml
FieldHelp/toc.xml
contain the encoding line:
<?xml version='1.0' encoding='ISO-8859-1' ?>
And I still receive the following error:
oracle.help.library.helpset.HelpSetParseException: IO Exception thrown by Tokenizer: Setting a second string on a node. Old string: ,╦♠╠_%éÇ₧ÄǶ%╤ New string:
at oracle.help.library.helpset.HelpSet._parseFile(Unknown Source)at oracle.help.library.helpset.HelpSet._initHelpSet(Unknown Source)
at oracle.help.library.helpset.HelpSet.<init>(Unknown Source)
at oracle.help.library.helpset.HelpSet.<init>(Unknown Source)
at TestHelp.main(TestHelp.java:20)
Are there any additional files that need to be modified within the help jar. Also, please let me know if you would like me to send you the help file we are using.
Regards,
Jason -
[ANN] New Developer Poll on JDeveloper home page
Check out the new developer poll and let us know where do you deploy your J2EE applications.
http://otn.oracle.com/products/jdevThe comments on the blog center on why Hibernate was not included, which I would have liked to see also.
What I wonder about is what these numbers actually represent. I think you would get very different results from a poll on TheServerSide or anywhere other than technet. I mean, I would never have heard of BC4J if we hadn't tried JDeveloper as an IDE, which we probably wouldn't have bothered with if we didn't already license a lot of technology from Oracle, making JDeveloper a no-additional-cost solution for us. Similarly for TopLink, if we didn't already have a Smalltalk application that uses TopLink, I think it would have been unlikely that we would have understood how much it can do for us. And even then, we weren't going to use the Java version until Oracle bought it and it suddenly became another no-additional-cost solution. What I'm saying is, if we weren't already an Oracle shop, we'd probably be working with Eclipse and Hibernate. I actually think that JDeveloper and TopLink will provide us with a more robust solution, but I'd feel better about the long run if I thought that this approach was gaining more acceptance in the industry as a whole.
TopLink may have brought a fair number of not-necessarily-Oracle people with it, but I'd like to see JDeveloper and UIX used by people who don't already think of themselves as an 'Oracle shop'. If we were using BC4J, I'd feel the same way about that. Unfortunately for JDeveloper, unless Oracle can find a way to market it better, I think the wider acceptance of technologies like UIX and BC4J may not come until you can use them as easily with other IDEs as you can with JDeveloper. -
We are in process of developing new eCommerce application on ATG. We also have a business requirement to manage images and products using BCC. Most of the business requirements in phase 1 of the project is to configure and deploy application code along with CA ( BCC / Merchandising). My question is whether it is advisable to do new application development along with CA configuration at the same time. What does ATG best practice say in this regard. My opinion is that we should do new application development (deliver new functionality) first to be followed by CA initiative. I have never directly worked on CA projects but I have been part of large teams with multiple initiatives where CA being one of the initiative and I have seen there are quite a few steps that one need to follow in configuring and deploying CA / BCC e.g. versioning of modules, modifying DB schema to support versioning etc. I don't want to run into issues where our main focus is to deliver new functionality and want to avoid the complexity of doing both new development and CA at the same time.
Edited by: 899085 on Nov 24, 2011 12:01 PMThe best practice recommendation would be to include any BCC/CA implementation as early as possible in your project plan. Understanding the process of how the business users will be using the tools and what impact any customizations to the ATG code your applications make are very important in a successful rollout of a site usign the BCC and Merchandizing. We tend to see that the projects which attempt to implement BCC/CA at the last minute are the ones that encounter the most problems. Projects which include the BCC and CA in the early stages of the applciation design, project planning, and UAT and load testing go through a much smoother test cycle and launch.
-
I discovered that there's a whole new section I have never seen in the cisco forums that specifically targets developers:
http://forums.cisco.com/eforum/servlet/CDN?page=main
Amongst other things, there are separate forums for various APIs and a forum about IP Phone services.
So I'm wondering if anybody working at Cisco would care to comment as to what the idea is with having multiple forums for the same purpose. Are we supposed to migrate to the new developer area and will posts be moved at some date and this forum closed, or what will happen with it?That is a news to me. Thanks for sharing. I hope Cisco can merge these forums so we have only one place to search.
-
New Development system copy from Production
Hi All,
Hope you can help me out here with some ideas.
We are currently planning to implement a new SAP BW Development system, and for this we would like to make it a 1:1 copy of our current production system. Meaning all from customizing, ABAP, workbench objects etc.
But what we do not want is all the transaction and master data in infoobject, cubes etc., we are only interested in the structure and objects. Therefore we can rule out "System copy".
My question is then, is there any other ways to do this when system copy is a no go? I know we can do client copy but then we will not get all the workbench / ABAP programs which we need.
Any ideas on how to do this?
Thx. in AdvanceHi Rasmus,
But what we do not want is all the transaction and master data in infoobject, cubes etc., we are only interested in the structure and objects. Therefore we can rule out "System copy".
Options 1: As BI objects are cross client , copying client will not solve your purpose 100%.
You can perform system copy and then clean up data in DEV
Option 2: You can create a new Development and then create TRs for required configuration objects and move to new development system.
Option 3: Use SLO tools to perform container copy without any data.
Hope this helps.
Regards,
Deepak Kori -
New Development - Leave Application (HR)
I am working on a project where my client need a new development on leave where both some attendance types and absence types should be request from same screen.
so please help me in this issue.Hi,
you need to work on Infotype 2001 & 2002.
That is tables PA2001 & PA2002.
Regards,
Amit -
New Development - No Infrastructure!
We have moved into a new development and did have an engineer visit scheduled for yesterday to install our new line. The appointment was between 1-6pm, I called at 3pm and was told he was coming, I then call again at 5.15pm and was told the engineer wouldn't be coming. The reason was that additional work needed to be done at the exchange.
I then went with the building site manager and we inspected the BT ducting that surrounds my property. To my surprise there was absolutely no BT infrastructure at all in any of the ducts...no wonder the engineer couldn't install our line!
Today I have spent over 2 hours trying to speak to someone, 6 calls, 2 supervisors and got absolutely nowhere! All the call agents were hard to understand due to their very strong Indian accent. I've now had to open a complaint both over the phone and just now online.
I've believe that the 'New Building Site Development Team' needed to visit the site to install the core infrastructure. I've tried to make contact with them and failed, I've tried to escalate the issue and failed, I've tried to speak to someone senior enough to understand my problem....once again I've failed.
I'm literally lost for words at the customer service, not to mention angry for wasting a days holiday and even more upset that we will now have to spend over £400 a month on child care as we can't work from home.
If anyone can help me I'd be really grateful.Just to clarify, this is not the builders responsibility.
The house itself has been cabled with the normal house points and cabling with a terminating "white" cable poking out the front of the house, all ready for the engineer to connect to. The onsite ducting and BT Manholes have all been installed, either by a contractor of Openreach or Bovis (if they are an approved installer). The only people who are allowed to install cabling within a BT duct is BT or a part of BT like Openreach, unless you seek Wayleave permission. I know this as I project manage 'dark fibre' installations across private estates.
Bovis themselves completed their work and gave BT permission to install infrastructure over 2 months ago. I confirmed this with both the site manager and Bovis headoffice.
After all my calls yesterday, I decided to phone BT Business as I know they are UK based, the person I spoke to was more useful and did give me the number for the 'New Estates Team' (0800 616866) - however when I called them I was told they can't deal with end users and I need to speak to my ISP...which is interesting as that's BT who I've so far spent 5 hours trying to communicate with.
I then tried to call Openreach but once again they won't speak to end users...
So the current position is;
1) I have no phone line
2) The estate has no BT infrastrucutre
3) I have complained via Twitter (36hrs response time) and the normal complaint channel (72hrs reponse time)
4) 5 Hours worth of calls (at a cost to me)
5) 1 days holiday taken for no reason
6) The additional cost of childcare (approx £150 a week)
7) Having to work in the office until midnight most evenings
8) I had to spend another 45mins talking to the accounts team, as they'd tried to take directdebit for the service!
The average time to actually get to speak to an 'agent' is 12mins, then 4-5mins to verify details, then 3mins for them to read the screen, then 3mins of them mumbling in an extrememly hard to hear accent. Eventually you explain the situation again, they pause, carry on with their script, you ask to speak to a supervisor...they also can't help.
There is without a doubt a problem in the process for getting a new estate setup, I really hope that somehow, via some method I manage to speak to someone who can help! -
I am new to using Oracle, and I am trying to create an add/insert stored pr
I am new to using Oracle, and I am trying to create an add/insert stored procedure for a table. The PROD_CD and PLAN_CD fields in my table can have no value (empty or null) Can you please check my code and let me know what I am doing wrong?
Table definition:
CREATE TABLE DCWEB.USER_PLAN_PREFERENCE
USERID VARCHAR2(40) NOT NULL,
PROD_CD VARCHAR2(9) NULL,
PLAN_CD VARCHAR2(9) NULL,
STATE_LST VARCHAR2(2) NOT NULL,
STATE_NM VARCHAR2(40) NOT NULL,
LST_UPDATE_TS TIMESTAMP(6) DEFAULT CURRENT_TIMESTAMP NOT NULL
ALTER TABLE DCWEB.USER_PLAN_PREFERENCE
ADD CONSTRAINT USER_PLAN_PREFERENCE_XPK PRIMARY KEY (USERID, PROD_CD, PLAN_CD);
-- Grant/Revoke object privileges
grant select, insert, update, delete on DCWEB.USER_PLAN_PREFERENCE to HIGGIB1;
Stored Procedure Definition:
procedure setUserPlanPref (
userid in varchar2,
prod_cd in varchar2,
plan_cd in varchar2,
state_lst in varchar2,
state_nm in varchar2
is
currentTimestamp timestamp := current_timestamp;
begin
insert into user_plan_preference (userid, prod_cd, plan_cd, state_lst, state_nm, lst_update_ts)
values (upper(userid), upper(prod_cd), upper(plan_cd), upper(state_lst), upper(state_nm), currentTimestamp);
commit;
exception
when dup_val_on_index then
begin
update user_plan_preference up set
up.userid = upper(userid),
up.prod_cd = upper(prod_cd),
up.plan_cd = upper(plan_cd),
up.state_lst = upper(state_lst),
up.state_nm = upper(state_nm),
up.lst_update_ts = currentTimestamp
where up.userid = upper(userid)
and up.prod_cd = upper(prod_cd)
and up.plan_cd = upper(plan_cd);
commit;
exception
when others then
rollback;
end;
when others then
rollback;
end;
end;
INPUT DATA
I am unable to insert a record calling the stored procedure with values: DCWEB4578, , 2P, CA, CALIFORNIA but when I change to the string "NULL", the insert succeeds. When I try to call the stored procedure to update the inserted record with values: DCWEB4578, "NULL", 2P, CO, COLORODO the update does not happen since I still see the original record in the table. Please advise. Thanks in advance for your help.938319 wrote:
I am new to using OracleWelcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and ensure you've updated your profile with a real handle instead of "938319".
You'll get a faster, more effective response to your questions by including as much relevant information as possible upfront. This should include:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Theme
<li>Template(s)
<li>Region/item type(s)
With APEX we're fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
Thanks for posting the complete code, it makes it so much easier to understand the problem, but always post code wrapped in tags<tt>\...\</tt> tags to preserve formatting and special characters.
and I am trying to create an add/insert stored procedure for a table.Does this have anything to do with APEX, for which this is the forum? General SQL & PL/SQL matters should be directed to the {forum:id=75} forum.
The PROD_CD and PLAN_CD fields in my table can have no value (empty or null) Can you please check my code and let me know what I am doing wrong?This:
commit;
exception
when others then
rollback;
end;
when others then
rollback;Remove it all.
Commits should be issued by end user/client software on completion of a transaction. This means <tt>commit;</tt> should almost never appear in PL/SQL code. The main exception to this is in <tt>dbms_job/secheduler</tt> scheduled processes that have no client or UI. If this code is executed from APEX, then APEX issues more than enough commits anyway.
exceptions are just a way of ensuring your code is buggy.<tt>when others</tt> exceptions are just a way of ensuring your code is buggy.
INPUT DATA
I am unable to insert a record calling the stored procedure with values: DCWEB4578, , 2P, CA, CALIFORNIA but when I change to the string "NULL", the insert succeeds. When I try to call the stored procedure to update the inserted record with values: DCWEB4578, "NULL", 2P, CO, COLORODO the update does not happen since I still see the original record in the table. Please advise. Thanks in advance for your help.With the <tt>commit</tt>s and <tt>when others...</tt> removed from the code you'll have a chance of seeing what's actually happening. Note that the entire procedure can be simplified by writing as a MERGE</tt> statement. -
Hi,
I am creating a new user in oracle
CREATE USER XYZ IDENTIFIED BY XYZ
it is working fine..
But when i am writing the below
CREATE USER Finedocs4.1_SP1 IDENTIFIED BY Finedocs, it is showing erro like invalid character, i think oracle does not support '_' while creating the user..
Please suggest..
Thanks
Hara..EdStevens wrote:
805936 wrote:
Hi,
I am creating a new user in oracle
CREATE USER XYZ IDENTIFIED BY XYZ
it is working fine..
But when i am writing the below
CREATE USER Finedocs4.1_SP1 IDENTIFIED BY Finedocs, it is showing erro like invalid character, i think oracle does not support '_' while creating the user..
Please suggest..
Thanks
Hara..It does not support the "dot". If you want to include that you will have to enclose the entire username in double-quotes :
CREATE USER "Finedocs4.1_SP1" IDENTIFIED BY Be aware that doing so will also make your username case sensitive, so it would always need to be enclosed. If you make sure the username is create in all caps (CREATE USER "FINEDOCS4.1_SP1" ) it will be effectively case-insensitive to the end user, but there will still be admin commands on the username that will still need to be enclosed in quotes to get around the dot.Correct. I would suggest re-thinking your naming scheme and trying to use something that does not have the . or - -
API for creating new User in Oracle E-Business Suite through BPEL
Hello,
I would like to use a BPEL process to create a new User in Oracle E-Business Suite. In the Integration Repository I was able to find an API called FND_USER_PKG/LOAD_ROW that creates/updates Application's User data. Is this the API I should be using? If so, I would like to better understand how to use this API.
I have created a simple BPEL process and added an Oracle Application Service, which uses this FND_USER_PKG/LOAD_ROW API. I set the following parameter before Invoking the Oracle Application Service: X_USER_NAME, X_ENCRYPTED_USER_PASSWORD and X_START_DATE. When I run the BPEL process I get the following error. I suspect that I am not passing all the required input parameters. Does anyone have any sample data I can use to get this API to load correctly? If I am using the wrong API, please let me know.
Please note, I have also posted this question to the SOA Suite and BPEL discussion forums...
Thank you kindly!
Christine
- <input>
- <Invoke_OracleEBS_SecurityUser_InputVariable>
- <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="InputParameters">
- <InputParameters xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LOAD_ROW/" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LOAD_ROW/">
<db:X_USER_NAME>
CRILEY
</db:X_USER_NAME>
<db:X_ENCRYPTED_USER_PASSWORD>
CRILEY
</db:X_ENCRYPTED_USER_PASSWORD>
<db:X_START_DATE>
2009-01-01
</db:X_START_DATE>
</InputParameters>
</part>
</Invoke_OracleEBS_SecurityUser_InputVariable>
</input>
- <fault>
- <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
- <part name="code">
<code>
20001
</code>
</part>
- <part name="summary">
<summary>
file:/E:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_OracleEBS_OnBoarding_1.0_d71e16636aa9ff51b9975926da6faeb2.tmp/OracleEBS_SecurityUser.wsdl OracleEBS_SecurityUser_ptt::OracleEBS_SecurityUser(InputParameters) - WSIF JCA Execute of operation 'OracleEBS_SecurityUser' failed due to: Error while trying to prepare and execute an API.
An error occurred while preparing and executing the APPS.FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-20001: APP-FND-02600: Unable to create user CRILEY due to the following reason(s):
Unabled to call fnd_ldap_wrapper.create_user due to the following reason:
ORA-20001: Unabled to call fnd_ldap_wrapper.create_user due to the following reason:
An unexpected error occurred. Please contact your System Administrator...
ORA-06512: at "APPS.APP_EXCEPTION", line 72
ORA-06512: at "APPS.FND_USER_PKG", line 783
ORA-06512: at "APPS.FND_USER_PKG", line 916
ORA-06512: at "APPS.FND_USER_PKG", line 1035
ORA-06512: at "APPS.FND_USER_PKG", line 645
ORA-06512: at line 1Hello and thank you for your response. I am new to using APIs so please excuse my inexperience... I am not sure how to run the API outside of BPEL... Is that something you could easily walk me through?
I have made the following changes in BPEL based on your recommendation: 1) Added Oracle Application Service and used the API, LDAP_WRAPPER_CREATE_USER, found in the Oracle Application Module Browser* under: Applications Technology (ATG_PF)> User Management (UMX)> User (FND_USER)> PLSQL> User (FND_USER_PKG)> LDAP_WRAPPER_CREATE_USER
2) Set the following parameter prior to Invoking the Oracle App Service: X_USER_NAME, X_UNENCRYPTED_PASSWORD,X_START_DATE, X_END_DATE, X_DESCRIPTION, X_EMAIL_ADDRESS, X_FAX, X_EXPIRE_PWD.
3) Deploy and run BPEL through BPEL Control.
I get the following {color:#ff0000}error on the Invoke{color}. {color:#339966}Do you see any issues with the values I am passing in the input{color}? Any idea why I am getting this error? Is there anything that I need to have configured for the API to work correctly, other than adding an Oracle Application Service in the BPEL?
Thank you for your time,
Christine
bq. Faulted while invoking operation "OracleEBS_LDAP_Create_User" on provider "OracleEBS_LDAP_Create_User". \\ - <messages> \\ - <input> \\ - <Invoke_OracleEBS_LDAP_Create_User_InputVariable> \\ - <part xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance]" name="InputParameters"> \\ - <{color:#339966}InputParameters{color} xmlns:db="[http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LDAP_WRAPPER_CREATE_USER/]" xmlns="[http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LDAP_WRAPPER_CREATE_USER/]"> \\ <db:X_USER_NAME> \\ CRILEY \\ </db:X_USER_NAME> \\ <db:X_UNENCRYPTED_PASSWORD> \\ CRILEY \\ </db:X_UNENCRYPTED_PASSWORD> \\ <db:X_START_DATE> \\ 2009-01-01 \\ </db:X_START_DATE> \\ <db:X_END_DATE> \\ 2010-01-01 \\ </db:X_END_DATE> \\ <db:X_DESCRIPTION> \\ CRILEY \\ </db:X_DESCRIPTION> \\ <db:X_EMAIL_ADDRESS> \\[[email protected]|mailto:[email protected]] \\ </db:X_EMAIL_ADDRESS> \\ <db:X_FAX> \\ 999-888-7777 \\ </db:X_FAX> \\ <db:X_EXPIRE_PWD> \\ 0 \\ </db:X_EXPIRE_PWD> \\ </InputParameters> \\ </part> \\ </Invoke_OracleEBS_LDAP_Create_User_InputVariable> \\ </input> \\ - <fault> \\ - <bindingFault xmlns="[http://schemas.oracle.com/bpel/extension]"> \\ - <part name="code"> \\ <code> \\ 20001 \\ </code> \\ </part> \\ - <part name="summary"> \\ <summary> \\ file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_OracleEBS_OnBoarding_1.0_d71e16636aa9ff51b9975926da6faeb2.tmp/OracleEBS_LDAP_Create_User.wsdl [OracleEBS_LDAP_Create_User_ptt::OracleEBS_LDAP_Create_User(InputParameters) |http://forums.oracle.com/forums/]- WSIF JCA Execute of operation 'OracleEBS_LDAP_Create_User' failed due to: Error while trying to prepare and execute an API. \\ An error occurred while preparing and executing the APPS.FND_USER_PKG.LDAP_WRAPPER_CREATE_USER API. Cause: java.sql.SQLException: ORA-20001: Unabled to call fnd_ldap_wrapper.create_user due to the following reason: \\ ORA-20001: {color:#ff0000}Unabled to call fnd_ldap_wrapper.create_user due to the following reason: \\ An unexpected error occurred. Please contact your System Administrator.. \\ {color}ORA-06512: at "APPS.APP_EXCEPTION", line 72 \\ ORA-06512: at "APPS.FND_USER_PKG", line 3877 \\ ORA-06512: at line 1 \\\\ ;
Edited by: Christine Riley on Jan 28, 2009 1:22 PM
Edited by: Christine Riley on Jan 28, 2009 1:26 PM -
HELP: Problem creating a new database in Oracle 9i
I am having difficulty in creating a new database in Oracle 9i, on Windows 2000. I would be obliged if somebody can go through the posting below and guide me as to what mistake I am making or what is the source of the problem:
I reproduce the steps taken by me.
I have decide the database to be called Mydb. I have made the following directories:
-- d:\mydb
-- d:\mydb\data
-- d:\mydb\control
-- d:\mydb\log
-- d:\mydb\bdump
-- d:\mydb\cdump
-- d:\mydb\udump
-- d:\mydb\archive
-- d:\mydb\pfile
-- d:\mydb\scripts
-- d:\mydb\exp
I copied the initoracle.ora file to d:\mydb\pfile\initmydb.ora, and made the following changes to it:
-- db_name = mydb
-- instance_name = mydb
-- control_files = ("d:\mydb\control\control01.ctl")
-- background_dump_dest = d:\mydb\bdump
-- core_dump_dest = d:\mydb\cdump
-- user_dump_dest = d:\mydb\udump
-- remote_login_passwordfile = exclusive
Also, I created a text file called d:\Oracle\Ora90\DATABASE\initmydb.ora with the following contents:
ifile=d:\mydb\pfile\initmydb.ora
At DOS prompt, I run the following command:
set oracle_sid=mydb
I run the ORAPWD utility to create internal password file at the command prompt.
d:
cd \oracle\ora90\database
orapwd file=pwdmydb.ora password=panther entries=25
I create a Windows service for the database as follows:
oradim -new -sid mydb -startmode a -pfile d:\mydb\pfile\initmydb.ora
I get connected:
sqlplusw /nolog
connect sys/change_on_install as sysdba
startup nomount # pfile=d:\mydb\pfile\initmydb.ora
create database mydb
MAXINSTANCES 1
MAXLOGHISTORY 1
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXDATAFILES 100
datafile 'd:\mydb\data\system.dbf' size 325m REUSE
AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
undo tablespace undotbs datafile 'd:\mydb\data\undo01.dbf' size
200m reuse
AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
default temporary tablespace temptbs
CHARACTER SET WE8MSWIN1252
NATIONAL CHARACTER SET AL16UTF16
logfile group 1 ('d:\mydb\log\log1.log') size 1m,
group 2 ('d:\mydb\log\log2.log') size 1m,
group 3 ('d:\mydb\log\log3.log') size 1m;
Now I get the following error:
create database mydb
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
The data files, control file, redo log files are all created. But the above error comes, and I am unable to start the database. What is the reason?
Thanks in anticipation.
PSHi DENIS,
I have executed the following commands (which are in a script file),
1. sqlplus /nolog
2. connect sys/change_on_install as sysdba
3. create database ...
4. ...
When I execute the 3rd command, I get an error message as "ORACLE TERMINATED FORCED" and it will end the session. So when the next set of commands in the script are executed, I got the error saying "DATABASE NOT OPEN".
How to rectify this problem.
Thanks in advance,
Kiran
Maybe you are looking for
-
Import CD's to my phone on different computers
I imported several cd's at work and synced. When I got home, I spent an hour importing many more of my cd's. Now Itunes won't let me sync unless I remove all the music from my work? Shouldn't my library be tied to my apple ID? I just switched to I
-
IPod AC charger not compatible with iPhone? Overheating!
I was charging my iPhone with an old AC adapter that uses the firewire cable from my iPod back when they shipped with them, and I don't know what was going on, but the iPhone became scorching hot to the touch. I checked the AC adapter specs, and they
-
Hi I am Trying to Develope an Operating System in Java
hi i am developing a OS with the Help of Java any body can tell me about from Where i can get the Kernel(Free) to Embbed with my OS any Site or Suggestion thanks
-
Motion Tracking Mode - does this do the "highlighting" I'm trying to do?
I read through the Adobe tutorial/help for this feature. It sounds like this will do the "highlighting/shadowing" of a football player that I'm trying to do. Has anyone used this feature? I got some great instruction/suggestions regarding this yest
-
Available language in the french package of Photoshop Elements 8 for Windows
Please could someone tell me the different language that I can choose during the installation of "Photoshop Element 8 for Windows" ? I want to know if I offer a french package to a person that speak hungarian, could he install it in english ? Thanks.