Problem with Concurrent managers in RAC environment
We have 12.1.2 EBS with 2-Node RAC
Issue is that concurrent managers needs to be restarted, incase if one of the database is down. ?
But ebs fwk pages, forms all works fine, even if one of the database node is down, but CM needs a restart
Can someone let me know what could be the problem
Please see the following docs.
Parallel Concurrent Processing (PCP) Running Request Behavior when Standard Manager Failed Over [ID 1476803.1]
Concurrent Manager Functionality Not Working And PCP Failover Takes Long Inspite of Enabling DCD With Database Server [ID 438921.1
EBS - Technology Area - Webcast Recording 'E-Business Suite - RAC & Parallel Concurrent Processing (PCP)' [video] [ID 1359612.1]
Thanks,
Hussein
Similar Messages
-
Problem with concurrency library in Mac
Hi!
I'm having a bit of a problem with my first java development (hence I post in this forum). Just as general info, it is an applet that does ftp upload, which uses the apache library. Now, the problem I have stems from the fact that I implemented it with SwingWorker, and thus it uses concurrency. I developed the applet in a Windows environment using JBuilder 2007, and I got everything working just fine in Windows - it tested 100% great. Now, Mac doesn't want to cooperate :( for some reason. It gives me a DefClassNotFoundError for java.util.concurrent.RunnableFuture, and I presume the same applies to all the concurrent subclasses. Digging a bit on the net I found the jsr166 library and tried including it in the list of loaded jars, but then I got a "prohibited package" error. Just out of curiosity I looked this one up and learned that you can't do that 'cause the vm doesn't accept any package starting with "java" - security issues, which sounds good... but doesn't help me solve the problem. Right now I'm a bit stuck with this... Anybody?
Thanks in advance,
JThanks for your answer. I'm running version 5 on the test Mac, and unfortunately can't upgrade to v6 because it's running OS 10.4.11 (as are most mac's at my client's, the intended target), and the only upgrade available is for 10.5
Now, what strikes me as very odd is that concurrency wouldn't be present in earlier-then-6 versions of the Mac vm - I mean, it's not exactly "the latest development in the java universe" or anything like that. I'm sure there is something else which I'm obviously missing. -
Problem with instant message in clustered environment
Hello, I have some problem with Instant Message service.
We need to use it in our Production Environment (a clustered emvironment with a central instance, two dialog instances and two web dispatchers), some months ago we tested it in Development Environment (not clustered emvironment, just a single system) and it worked fine.
So I did the same configurations on Production Environment but it did not work.
But if I access on my portal (Production Env.) by the central instance (avoiding the dispatchers) the instant message service works.
I think it can be a web dispatcher's configuration problem, in its logs I found the message :
"<i>[Thr 3700] *** ERROR => htmlEncode: called with empty string [icpif.cpp 847]</i>"
I' ve repeated the same configuration done in Dev.Env. (no dispatcher) on the Prod.Env. (with 2 dispatcher), is possible that I'm missing some configurations??
Could someone helps me?
Best Regard
nullHi Alessandro,
unfortunately I got the same problem but I haven't found the solution yet.
Hoping someone will help us.
Regards Nicola -
Problem with host credentials / ASM & RAC
hi
I am working on windows 2003 server, and trying to ASM / RAC, but every time need host credentials. when i setting up host credentials its giving error normal user password wrong , as per instruction i supply user name and password but every time message appearing wrong wrong.
kindly any body give solution asap.
B.S.fartiyalSee my first response to this posting to see if it helps you:
Problem with Credentials. -
Problem with creating Kestore in DOS Environment
Hi
I am new to java security ,trying to generate keys by using ketool command but getting problem.
I am executing following keytool command from DOS prompt
c:\>keytool -genkey -keyalg "RSA" -sigalg "SHA1withRSA" -keystore myKeystore -storepass abcdef -alias xyz -keypass wxyzabc
when I execute the above command it displaying keytool Help. I suspect the problem with " -keystore myKeystore " parameter , if I remove that parameter the command gets executing.
Without giving -keystore parameter can create keys , in that case where should I look for the generated keys ,please help me out.
2) how can i create Certification request by using above generated keys.
please try to help me.
with regards.
jl.c:\>keytool -genkey -keyalg "RSA" -sigalg
"SHA1withRSA" -keystore myKeystore -storepass abcdef
-alias xyz -keypass wxyzabcOn Win2K under 1.4.2, that exact line works just fine for keytool - it goes right to asking me for the identifying information. What's your environment look like?
2) how can i create Certification request by using
above generated keys.c:\> keytool -certreq -keystore myKeystore -storepass abcdef -alias xyz -keypass wxyzabc -file mycertreq.csr
Grant -
Problems with BPEL PM in HA environment
Hi guys, i need your feed back for a case soa suite instalation HA for producction enviroment., BPEL PM,
Please any recomendation, to apply before to send to TARs.
Randomly a selection failure exception ocurr for reading payload request in BPEL instance execution for up & running two nodes BPEL PM cluster
PLATFORM:
Linux x86
Enterprise Linux Enterprise Linux Server 5.2
PRODUCT:
Oracle SOA Suite 10gR3 10.1.3 release, 10.1.3.4.0 (FixPatch)
DATABASE VERSION:
10gR2 10.2.0.4 (FixPatch), using RAC database as dehydration store.
Preparation for production.
INSTANCE NAME(S) AND TYPE OF SYSTEM(S):
BPEL PM cluster Active-Active on J2EE and Web Server cluster OC4J_SOA (OAS)
Using same "staticports.ini" values during instalatin process
Using same IP & Port for multicast in OAS & BPEL PM (jgroups-protocol.xml and opmn.xml - "*225.4.5.6:5000"
Planning for a harware load balancer front-end for BPEL PM cluster nodes
Now for test purpose the collaxa-config.xml with follow values, because not present any balancer for now:
soapCallbackUrl & soapServerUrl set to corresponding Web Server nodes:
Node1: soapCallbackUrl & soapServerUrl -> http://tvsoaapp1.com.mx:7777
Node2: soapCallbackUrl & soapServerUrl -> http://tvsoaapp2.com.mx:7777
DETAILED PROBLEM STATEMENT:
When Up & Running two BPEL PM Instances in cluster active-active topology, then:
Initiating a test instance through BPEL console (10.1.3.4.0) by passing certain parameters fill text area with the
HTML representation (HTML Form) works fine all time or when no use xpath expression for read request variable.
ISSUE 1:
And if initiating a test instance through BPEL console (10.1.3.4.0) by passing certain parameters fill the following text area with the
XML representation (XML Source) of the input message. 50% times in BPEL Console for node 1 OR node 2, execution BPEL instance fail with
follow exception message, for the any XPATH instruction that read input request variable.
com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
messageType: {}
parts: {{summary=<summary>empty variable/expression result.
xpath variable/expression expression "/client:wsGLBCatMultiplesProcessRequest/client:catalogo" is empty at line 79, when attempting reading/copying it.
Please make sure the variable/expression result "/client:wsGLBCatMultiplesProcessRequest/client:catalogo" is not empty.
Possible reasons behind this problems are: some xml elements/attributes are optional or the xml data is invalid according to XML Schema.
To verify whether XML data received by a process is valid, user can turn on validateXML switch at the domain administration page.
</summary>
at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
WORKAROUNDS USED:
Work fine for:
. Wnen one BPEL PM instance (node) is up and another down, work fine node 1 OR node 2.
. BPEL process without empty payload (no use xpath expression for read request variable)
Issue 2: Another today up & running cluster, test any BPEL Service, throws their endpoint url in web browser, i view change fields correspondig
to before test end point, so view mixe parameters betwen bpel services. the execution fail because xpath retry read another payload that
not exist in current bpel.
It may a bug BPEL Console UI, OHS ? or i need place set value configurations ??, Please help.Hi,
can you please call this BPEL via another BPEL, just to be sure, that this is not a BPELConsole UI bug. -
Problems with concurrency tests using Crystal Reports for VS 2005
Post Author: condeagustin
CA Forum: General Feedback
Hi
My name is Agustin and Im using Crystal Reports for VS 2005
and NET 2.0 to generate pdf files. This is the scenario:
I created a COM+ object in c# and everytime the
COM+ creates an instance of this object, the following flow is executed:
it reads an xml file from a database, then it feeds the report with this
xml file, afterwards it generates a pdf file and finally this pdf file is
inserted into the database. Both fields (xml and pdf fields) are varbinary in the
same table in sql server 2005. All the flow from reading the xml to inserting
the pdf into the database is executed in memory, it never goes to the hard
disk. In other words both the xml and the pdf file are stored in memory (the
RAM). That is the only function of that COM+ object and I already have it in a
production server and it works GREAT!!
The PROBLEM is the concurrency tests. I made the following tests
in the same production server:
1. First I went to the registry and I set the PrintJobLimit to
100 in HKEY_LOCAL_MACHINESOFTWARECrystal Decisions10.2Report Application
ServerServer
2. I shut down the object in the COM+ and I executed 100
threads all at the same time. Each thread created one instance of the object in
the COM+ and the 100 pdfs were generated SUCCESFULLY in 5 minutes!!
3. Then I executed again 100 threads (WITHOUT shutting down the
object in the com+). 10 pdfs were generated succesfully but the rest were
never generated and there was no exception because my object was NEVER
INSTANTIADED in the COM+, I mean, the 90 instances were never created in the
COM+, so my object was never executed, THAT IS MY PROBLEM!! Do I have to
modify something in the registry files of crystal reports to fix this? What can
I do? I have revised the code in that object a LOT OF TIMES and believe me,
everything is being closed and disposed at the end (the memory streams, the
ReportClass objects, the connection to the database, even the dataset used to
store the data of the xml file!
So to sum up the problem is not with the execution of my object
(cause once is created the object works great and the pdf is generated
perfectly!), the problem is with the com+ TRYING to create another instance
of my object given that test scenario. Help me please, What do you
suggest?
The production server has this specifications:
Operative System: Windows Server 2003 Enterprise Edition with Service Pack 2
Processor: Dual Core AMD Opteron 2212 2.00GHz
RAM: 820MB
Hard drive: It is partitioned in 2 drives --> C
drive has 20GB and D has 60GB
Note: Each generated pdf has only one page and if you bring it
to disk its maximum size is 56KB
I hope your answer and thank you
Agustín Conde MartíPost Author: John Werner Enoksen
CA Forum: General Feedback
Hi, im about to write a simular solution where I will use VS2008/Com+ to be in compliance to an existing solition written in VB6.0, so I was googling to look for bumps. Did you figure this one out?
Best regards,
John Werner -
How to add a second database along with existing two node RAC environment
Hi,
I was wondering if anyone can help me with this.
My Environment:
1. Two node RAC Cluster database (11.2.0.2) with ASM running perfectly (Oracle Sid = test-1)
2. I have installed a second single instance db on node 2 (Oracle Sid = test-2) with NTFS file system for datafiles
3. Database is up and running, but I am not able to connect it from any client.
4. I am getting ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
5. Database (test2) is registered with grid LISTENER
5. TNSPING from client machine response is ok
Am I missing something here, happy to provide more info if requested.
Thanks,
PSC:\Users\root.test_prod>lsnrctl
LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 23-FEB-2012 11:58:05
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.2.0 - Production
Start Date 18-FEB-2012 19:51:47
Uptime 4 days 16 hr. 6 min. 24 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\11.2.0\grid\network\admin\listener.ora
Listener Log File C:\app\11.2.0\grid\log\diag\tnslsnr\IRIS11G-DB-2\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\LISTENERipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.30.0.202)(PORT=1520)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.30.0.215)(PORT=1520)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+asm2", status READY, has 1 handler(s) for this service...
Service "test-11gRAC.test_prod.internal" has 1 instance(s).
Instance "test-11gr2", status READY, has 1 handler(s) for this service...
Service "test-11gRXDB.test_prod.internal" has 1 instance(s).
Instance "test-11gr2", status READY, has 1 handler(s) for this service...
Service "irisapps.test_prod.internal" has 1 instance(s).
Instance "test-11gr2", status READY, has 1 handler(s) for this service...
Service "test-2" has 1 instance(s).
Instance "test-2", status READY, has 1 handler(s) for this service...
Service "test-2XDB" has 1 instance(s).
Instance "test-2", status READY, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL> service
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+asm2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1322 refused:0 state:ready
LOCAL SERVER
Service "test-11gRAC.test_prod.internal" has 1 instance(s).
Instance "test-11gr2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1829 refused:0 state:ready
LOCAL SERVER
Service "test-11gRXDB.test_prod.internal" has 1 instance(s).
Instance "test-11gr2", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: IRIS11G-DB-2, pid: 4496>
(ADDRESS=(PROTOCOL=tcp)(HOST=IRIS11G-DB-2.test_prod.internal)(PORT=57695))
Service "irisapps.test_prod.internal" has 1 instance(s).
Instance "test-11gr2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1829 refused:0 state:ready
LOCAL SERVER
Service "test-2" has 1 instance(s).
Instance "test-2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "test-2XDB" has 1 instance(s).
Instance "test-2", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: IRIS11G-DB-2, pid: 9340>
(ADDRESS=(PROTOCOL=tcp)(HOST=IRIS11G-DB-2.test_prod.internal)(PORT=58653))
The command completed successfully
LSNRCTL> -
Major Problem with importing application from QA environment to PROD
We did our first ever full move of our application from our QA server to our PROD server tonight. First, I exported the current PROD application version as a backup. Then I did an export of the application on QA and then imported it into PROD using the same application ID as it had previously (which is the same as it was in QA). When the installation portion of the import was running I received an error. The error was: ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (APEX_030200.WWV_FLOW_WORKSHEET_COND_PK) violated <pre>begin wwv_flow_api.create_worksheet_condition( p_id =&gt; 2700222847807840wwv_flow_api.g_id_offset, p_flow_id=&gt; wwv_flow.g_flow_id, p_page_id=&gt; 42, p_worksheet_id =&gt; 7285923079312021+wwv_flow_api.g_id_offset, p_report_id =&gt; 2694211409728899+wwv_flow_api.g_id_offset, p_condition_type+*
h1. We have been unable to get the app installed using the same application ID, so we installed it using a new application ID. However, we have now lost all of the user's saved interactive reports.
h3. So, first, we need to know how to get the user's saved interactive reports put into the new application id. Second, we need to know what the proper procedures should have been for exporting our QA application and importing it into PROD without loosing the saved interactive reports. Hope someone can help us out very quickly - the natives will be very restless tomorrow morning when they find out that they don't have their saved reports.
Thanks in advance for any help you can provide!
DaleThanks for your reply Scott.
The problem is that the saved reports are not in the application we are exporting, they are in the one we are trying to update. I'll try to provide a more detailed description of what we are doing. We have two separate server environments, one for our production Oracle databases and our production APEX workspaces and applications. The other is for our development and QA Oracle databases and APEX workspaces and applications. Both environments run the same version of Oracle. So, on the production environment, we have a workspace called "payorprofile" and, within that workspace we have an application with application ID 126. That is where our users have been happily creating their saved interactive reports for the past 4 months. On the development environment, we have a workspace called "payorprofile" and, within that workspace we have an application with application ID 126. Now we have a new version of application 126 on the development environment that we need to promote to production. This newly QA'd version does NOT have the user's saved reports but it has all of the new and changed pages, LOVs, lists, breadcrumbs, etc. We needed to merge the new pages, etc. from dev with the data and user's saved reports on prod. What we did was to export the Dev version without saved reports and then we imported it into the prod system using the same application ID. It asked if we wanted to overlay the current application 126 with the new one and we said yes. During the install step we got the error noted in this post. The only thing we knew to do was to import the dev application as a new application ID (we chose 326). The application works fine, but, of course, we don't have the saved reports. Now we need to get the saved reports into the new application 326 - and I think with the help of some articles and posts on the web we can do that. However, we need to know what to do differently the next time we are ready to promote a version of the application to production.
Thanks,
Dale -
Problem starting ASM on non-RAC environment on HP-UX 11.11
I am trying to start ASM on single node running multiple database as I am planning to test setting up on of the db files with ASM.
Wen I tried to start the ASM after I created the init+ASM.ora and exported the ORACLE _SID to +ASM; I got the error below;
SQL> startup
ORA-29701: unable to connect to Cluster Manager
I realized the css was down and I tried to start without much success as shown below; by the way, the ASM home is the same as the Oracle 10g (10.2.0.3) binaries home.
# $ORACLE_HOME/bin/localconfig add
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Configuration for local CSS has been initialized
Failed configure CSS. Fix the problem and rerun this script from destination Oracle home with 'reset' argument
# $ORACLE_HOME/bin/localconfig reset $ORACLE_HOME
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'sys'..
Operation successful.
Configuration for local CSS has been initialized
Adding to inittab
Startup will be queued to init within 30 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
Giving up: Oracle CSS stack appears NOT to be running.
Oracle CSS service would not start as installed
Automatic Storage Management(ASM) cannot be used until Oracle CSS service is started
# $ORACLE_HOME/bin/crsctl set css misscount 600
Failure 32 in main OCR context initialization: PROC-32: Cluster Ready Services on the local node is not running Messaging error [9]
Please adviceThis is what I get when I run the localconfig add
# $ORACLE_HOME/bin/localconfig add
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Configuration for local CSS has been initialized
Failed configure CSS. Fix the problem and rerun this script from destination Oracle home with 'reset' argument -
What is the problem with this code ? Race condition??
Guys,
The idea behind the attached code is quite simple.
I have a 2D parent array. First, I print a subset of this array into a table control (based on a sensor selection). Now, I want edit the numbers in the table. I need the changes to be reflected in the table and the parent 2D array. (In simple terms, this is like replacing the the edited array subset into the parent 2D array)
The problem is when I change(edit) any entry in the table, the entry changes back to its original value. The change doesnt seem to be reflecting on the parent 2D array and the table. .
Can anyone tell me where the problem is?
Thanks
Ravi
Solved!
Go to Solution.
Attachments:
Alarm threshold test.vi 14 KBI agree with Chris, here's an idea (of whatI think your code does):
The case structure in your code was unnecessary, all the cases were the same so I removed them.
The sequence structure was unnecessary.
Ton
Message Edited by TonP on 11-20-2008 07:52 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!
Attachments:
Alarm threshold test_BD.png 19 KB -
Problem with concurrent access
Hello,
I'm not very comfortable with JMF yet as i'm a beginner. I'm building a sort of JMF security application that captures a frame every minute in order to check that nobody's breaking in my house.
This application works fine, but my problem is that I can't use my webcam anymore, as it's sort of "blocked" by my application. I was wondering if there was a way to capture frames without "blocking" webcam, because I would want to be able to use it when I'm home and I don't want to have to disable and enable my application each time I need my webcam.
Is there a way to prevent such an application from blocking my webcam?
Thank you.
Joel
PS: Sory for any english mistake, I tried to do my best, but I'm french.853909 wrote:
Is there any other Java Multimedia API that could solve this problem?I don't think there's any API that can solve that problem... every software package I'm aware of requires a "lock" to use a web cam.
There are some programs available that you can use as a virtual web cam, however, that essentially pass-through the web cam (and most of them do stuff like append text to it, etc), so you might look into that concept. -
Problem with concurrent request set api call
Hi,
Scenario...
I have a concurrent request set that is called as follows from a plsql script....
** Note : I removed the cursor definition for simplicity.
VARIABLE exit_status number
DECLARE
ln_request_id NUMBER := 0;
ln_user_id apps.fnd_user.user_id%TYPE;
ln_resp_id apps.fnd_responsibility.responsibility_id%TYPE;
ln_app_id apps.fnd_responsibility.application_id%TYPE;
ln_resource_id apps.jtf_rs_resources_vl.resource_id%TYPE;
ex_errors EXCEPTION;
lb_chk BOOLEAN;
BEGIN
:exit_status := 0;
OPEN cur_appsinit;
FETCH cur_appsinit
INTO ln_user_id,
-- ln_resource_id,
ln_resp_id,
ln_app_id;
CLOSE cur_appsinit;
fnd_global.apps_initialize(ln_user_id,
ln_resp_id,
ln_app_id);
lb_chk := fnd_submit.set_request_set('BPSI', 'FNDRSSU1890');
IF lb_chk = TRUE THEN
ln_request_id := fnd_submit.submit_set(NULL, FALSE);
IF ln_request_id = 0 THEN
:exit_status := 1;
fnd_file.put_line
(fnd_file.LOG,
TO_CHAR(SYSDATE, 'hh24:mi:ss')
|| ' : ERROR : There are Errors in the execution of the Request Set. Check the Logs of the respective Concurent Programs in the Request Set.');
END IF;
END IF;
EXCEPTION
WHEN ex_errors THEN
:exit_status := 1;
END;
EXIT :exit_status
This is script i am calling from another concurrent request.
The concurrent request set is attached to a request group RG1 which is attached to the Resp1.
The concurrent program which calls the above script is attached to request group RG2 and which is assigned to Resp2.
** Note - The apps initialize is also done to Resp1 (responsibility)
I did all the above from system administrator responsibility.
For execution of the above script... i changed my responsibility to Resp2 and tried to execute the concurrent program (which calls the script submitting the concurrent request set)....
The concurrent program is completing with Completed Status....but the concurrent request set is being submitted. And the reason being the the fnd_submit.set_request_set is returning false and so not going ahead.
To verfiy the above i checked the following query in toad....
SELECT rs.application_id,
rs.request_set_id,
allow_constraints_flag,
rs.print_together_flag,
rs.owner,
rs.printer,
rs.print_style,
cp.concurrent_program_name,
rs.user_request_set_name
FROM fnd_request_sets_vl rs,
fnd_application a,
fnd_concurrent_programs cp
WHERE rs.application_id = a.application_id
AND rs.request_set_name = 'FNDRSSUB1890'
AND a.application_short_name = UPPER('BPSI')
AND rs.start_date_active <= SYSDATE
AND NVL(rs.end_date_active, SYSDATE) >= SYSDATE
AND rs.concurrent_program_id = cp.concurrent_program_id(+)
AND rs.application_id = cp.application_id(+)
the above query is returning one row... it means the concurrent request set exists... but not able to execute it....
Any help is highly appreciated....
KiranHi,
Scenario...
I have a concurrent request set that is called as follows from a plsql script....
** Note : I removed the cursor definition for simplicity.
VARIABLE exit_status number
DECLARE
ln_request_id NUMBER := 0;
ln_user_id apps.fnd_user.user_id%TYPE;
ln_resp_id apps.fnd_responsibility.responsibility_id%TYPE;
ln_app_id apps.fnd_responsibility.application_id%TYPE;
ln_resource_id apps.jtf_rs_resources_vl.resource_id%TYPE;
ex_errors EXCEPTION;
lb_chk BOOLEAN;
BEGIN
:exit_status := 0;
OPEN cur_appsinit;
FETCH cur_appsinit
INTO ln_user_id,
-- ln_resource_id,
ln_resp_id,
ln_app_id;
CLOSE cur_appsinit;
fnd_global.apps_initialize(ln_user_id,
ln_resp_id,
ln_app_id);
lb_chk := fnd_submit.set_request_set('BPSI', 'FNDRSSU1890');
IF lb_chk = TRUE THEN
ln_request_id := fnd_submit.submit_set(NULL, FALSE);
IF ln_request_id = 0 THEN
:exit_status := 1;
fnd_file.put_line
(fnd_file.LOG,
TO_CHAR(SYSDATE, 'hh24:mi:ss')
|| ' : ERROR : There are Errors in the execution of the Request Set. Check the Logs of the respective Concurent Programs in the Request Set.');
END IF;
END IF;
EXCEPTION
WHEN ex_errors THEN
:exit_status := 1;
END;
EXIT :exit_status
This is script i am calling from another concurrent request.
The concurrent request set is attached to a request group RG1 which is attached to the Resp1.
The concurrent program which calls the above script is attached to request group RG2 and which is assigned to Resp2.
** Note - The apps initialize is also done to Resp1 (responsibility)
I did all the above from system administrator responsibility.
For execution of the above script... i changed my responsibility to Resp2 and tried to execute the concurrent program (which calls the script submitting the concurrent request set)....
The concurrent program is completing with Completed Status....but the concurrent request set is being submitted. And the reason being the the fnd_submit.set_request_set is returning false and so not going ahead.
To verfiy the above i checked the following query in toad....
SELECT rs.application_id,
rs.request_set_id,
allow_constraints_flag,
rs.print_together_flag,
rs.owner,
rs.printer,
rs.print_style,
cp.concurrent_program_name,
rs.user_request_set_name
FROM fnd_request_sets_vl rs,
fnd_application a,
fnd_concurrent_programs cp
WHERE rs.application_id = a.application_id
AND rs.request_set_name = 'FNDRSSUB1890'
AND a.application_short_name = UPPER('BPSI')
AND rs.start_date_active <= SYSDATE
AND NVL(rs.end_date_active, SYSDATE) >= SYSDATE
AND rs.concurrent_program_id = cp.concurrent_program_id(+)
AND rs.application_id = cp.application_id(+)
the above query is returning one row... it means the concurrent request set exists... but not able to execute it....
Any help is highly appreciated....
Kiran -
Problem with exchange email policy race condition.
We are having an issue with the email address policy self resolving internal collisions by appending the number "2" to email addresses.
Basically what we do is new employees receive contacts for the GAL automatically. The user can then choose to create a user object or even get an exchange account via online self-provisioning site.
So our process deletes the contact object, then creates a user object. That user object is then mail-enabled. At that moment the email address policy kicks in and adds a few addresses ( [user]@[domain] [user]@excahnge.[domain] etc)
here is example code of how we sometimes do this manually for users that don't self-provision.
#remove contact
Get-ADObject -filter { cn -eq $user } -Server $script:dc | Remove-ADObject -Confirm:$false -Server $script:dc
#create new user object
New-ADUser -Name $user -SamAccountName $user -Enabled $true -ChangePasswordAtLogon $True -UserPrincipalName $userPrincipalName -DisplayName $User_displayname -Path $ou -GivenName $userFirstName -Surname $userLastName -AccountPassword $Private -Server $script:dc
#mail enable user object
Enable-MailUser -identity $user -ExternalEmailAddress $externalAddress -Alias $user -domainController $script:dc
Now the problem seems to be that even thought the contact is deleted the address is still somewhere in the system because when the user is mail enabled their addresses look like this: [user]2@[domain] and [user]2@exchange.[domain]. it sticks 2s on all of
them
best guess is the policy sees the old address *somewhere* but rather than fail it just appends a 2 to avoid the collision and goes on it's merry way. All the script lines run against the same DC and all the exchange servers point to one DC.
what is causing this and how do we stop it ?I've put small sleeps in without help. I don't know how long it might be taking. I don't want to keep adding delays until the app appears to hang. Also this is a more recent phenomena, it used to work fine.
We did have some replication problems in the past but those were alleviated by using the -domaincontroller parameter and making sure all commands run on the same server.
the weird thing is if it is replication I don't know to what. The object is indeed gone or I would get an "already exists" error when I create the user object. the server does not see any object but the address policy still sees the addresses somewhere. -
I have a PCI-6221. I am programming in C/C++ and DAQmx. My application is much like the previous thread counting the number of asynchronous TTL pulses from a PMT in some user specified time interval. The time interval is typically around 1 msec and the signal rates are around 1-10 kHz. So I expect to count 0 to 10 pulses per timebin. In traditional DAQ this was called Non-cumulative buffered edge counting.
To get a clock at about 1kHz, I first create an "analogue in" task that samples at 1kHz. The only thing I use this task for is to route its sample clock to the gate of the counter. This defines my time interval as 1 msec.
I then create the counter task. I am using count edges. So I think counter0 gate = PFI9 and source = PFI8.
DAQmxCreateCICountEdgesChan(*taskHandle,chan,"",edge,initialCount,countDirection);
DAQmxCfgSampClkTiming(*taskHandle,clockSource,rate,DAQmx_Val_Rising,DAQmx_Val_ContSamps,samplesPerChan);
where clockSource="/Dev1/ai/SampleClock"
I apply my signal to PFI8.
After starting the task, I read an array of values with
DAQmxReadCounterU32(taskHandle,samplesToRead,10.0,data,samplesToRead,read,NULL);
I expect the array data to have values ranging from 0-10 for PMT input with an average rate of about 10 kHz. The trouble is that the array data does not seem to make sense. I get constantly increasing values. For very low input frequency, it just increments by one per array member.
More troublesome, when I hold PFI8 at ground, so that I expect zero pulses to be counted at the source for each edge at the gate that occur 1 per msec, I get a timeout error. I really must be able to count zero events per bin.
Am I doing something obviously wrong?Hello,
The behavior of non-cumulative event counting is equivalent to period measurement. Additionally, the timeouts when no edges occur on your event counting terminal are the result of duplicate count prevention. In DAQ 7.4, the default behavior of duplicate count behavior should take care of this for you, but if you cannot upgrade to DAQ 7.4, I'd do a search of the discussion forums for "duplicate count prevention". There are a number of previous posts about this attribute, including this one.
If you aren't using the second counter on your device, you should be able to use the Period Measurement 2 Counter High Frequency measurement method to get your desired values. The "Measurement Time" attribute in this case would be the "sample clock" (1 kHz in your example). Then just raed the data raw to get counts rather than scaled.
If you'd like to do it using the AI timing engine. Configure a 1 counter period measurement task, use "clockSource" as your input terminal and use your PMT TTL pulses as the "Counter Timebase Source". Then read the data raw, since the scaling will not be appropriate for your needs.
I hope this helps!
gus....
Maybe you are looking for
-
Lightbox gallery not working right...
I inserted a lightbox gallery from the adobe exchange website. For some reason when you click on the thumbnail it doesn't open as it should. Can anyone see what the problem is? What it should look like: http://www.tecnorama.org/demos/lightbox.html Wh
-
HR Documents OAWD error no data exist
Hi experts, I'm trying to store the documents through OAWD. The problem is i'm not able to store the document using the infotype (0024). I already Set up Optical Archiving in HR in SPRO. The error msg is 'No data for 01100003 0024 exist'. What did
-
Text should appear in FBL5N screen from Commercial Invoice
Dear All, My client want to see text in FBL5N he should corelate it. I would like to know where should I enter text in order or invoice so that it should reflect in FBL5N screen? Regards, Balaji
-
I have canceld my membership end I want my money back. My ordernumber is:
I have canceld my membership end I want my money back. G & A Ejendomme Aps.
-
I have Snow Leopard and my Dad has Lion, why can my computer read things that his can't?
My Dad just got a new Mac Book Pro that has Lion installed, I have the same computer but it's one year older and has Snow Leopard. He is moving all of his stuff to his new computer and burned a DVD with pictures on from his old Toshiba. My computer c