Too many dialogs get stuck on CPIC stopped,SAP hangs intermittently on prod
Hi All,
I'm having a problem with a production system in which users started complaining about getting the hourglass cursor intermittently, and this is happening from multiple different locations / networks. Around the time the problem occurs, SM66 shows many dialog processes in status "Stopped CPIC". The processes are from different users and processes.
I've checked the workprocess trace files, made sure there was no memory bottleneck with the gateway profile params, checked System log and oracle alert log, but cannot find any clues.
Could anyone please suggest some other places to look for clues or possible suggestions?
Thanks!
Ian
System info
Netweaver 7.0, ECC 6.0
Oracle 10.2.0.4.0
AIX 5.3
Thanks for all your comments (points given).
The problem and solution was very interesting.
1. We found that an external AS400 system that communicates with SAP was somehow sending the IP address in EBCDIC format, which looks like strange characters. We saw the strange characters in the Gateway NI/Hostname buffer. During each hang situation, we saw these special characters in the Gateway trace file. The Gateway was attempting to resolve the IP address for the strange EBCDIC characters, but the EBCDIC characters were actually the IP address itself when converted from EBCDIC to ASCII.
2. As per SAP, we added the strange character hostname/IP to the /etc/hosts file with the correct IP, and the hangs stopped happening.
3. After these 60 second hangs stopped happening, we were still getting 10 second hangs every 3 hours.
4. SAP found that the Gateway logging option was causing the 10 second hangs.
5. SAP is working on a kernel fix so that the Gateway doesn't hang in these situation. We have the workaround in place for the time being.
Thanks,
Ian
Similar Messages
-
Apps team uploading 114505 kbof text file,too many archives getting
the upload is going on ,too many are getting generated in archivelog location
i have increased 200gb to 900gb
please let me know how to know for 14505 kb of dataupload how many archives gettting generated
can we estimate before dataupload how many archives can generate
can you please explain clearly
thanksHi,
There is no specific method to calculate the number of archived log files to be generated for the particular load.
But, we may do some rough calculation by looking at the rate of archived log generation.
Check the following things,
1) How frequently the logs are getting generated and the size of the files.
2) How many data has been loaded so far.
Based on the above input, you may get some idea on number of ARCHIVED LOG files to be generated during the rest of the data load.
Also, you may do the following to avoid keep adding space to archive destination.
1) Wite a UNIX shell script to BACKUP the ARCHIVED LOG FILES and DELETE the files once backuped up; which should run for every 10 minutes.
Thanks. -
i want to add an ip printer, since it's driver dissapeared after SL upgrade. i installed the driver again, add it's ip and queue name in sys.prefs>printing. there is a message coming up telling me the address is complete and valid. then, when i want to click 'add', the 'add' buton just blinks quickly, but the window with the dialog doesen't go away. there's no hang or beach ball or anything.
by the way the installed driver is for a canon c2880, the driver's name is Canon UFR II Printer Driver v1.80 for Macintosh (v1.80)You may need to clarify some things.
1. Do you mean that when you click to add and you have the Default viewed displayed, you can see old printers.
Or
2. When you select to add a printer and you open the Print Using menu you can see a number of old printers in the list.
If it is 1 then there could be another Mac on your network with these printers installed and it is set to share them.
If it is 2 then this is normal. There are a large number of printer files pre-installed in Snow Leopard.
And a reset of the printing system would not remove either from view. -
Too many alerts taking too much system resources in the XI system
We have been running Alerts in XI and looks like there are too many now. The alerts are stopped now from generation.
I can't even run the report RSALERTPROC successfully to delete the existing alerts from the system.
Anyone knows an alternative way to do this? Or what is the table name where the alerts are stored so that we can delete some entries.
Thanks a lot.Hi,
a. If the "Suppress Multiple Alerts of This Rule" is checked for the Rule, we shall recieve only one alert mail for a particular error category. We have to confirm the Alerts by clicking complete in the Alert Inbox.
If we dont check this "Suppress Multiple Alerts of This Rule" , we will get all the alerts without being supressed.
b. Run the Report RSALERTPROC and delete all the alerts. Let me know the difficulty in running this report as you have mentioned...
c. Run the Report RSALERTTEST to display the Alert status.
Thanks,
Tanuj -
Threads getting stuck in reflection
Hi,
during our nightly performance tests some weblogic instances start responding very slowly. The reason seems to be in many threads getting stuck doing reflection. The top of the stacktrace looks like this:
####<03.06.2013 21:49 Uhr MST> <Error> <WebLogicServer> <XXX> <XXX> <[ACTIVE] ExecuteThread: '30' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1370321366808> <BEA-000337> <[STUCK] ExecuteThread: '172' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "613" seconds working on the request "XXX", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
Thread-10282 "[STUCK] ExecuteThread: '172' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, priority=1, DAEMON> {
java.lang.Class.getDeclaredConstructors0(Class.java:???)
java.lang.Class.privateGetDeclaredConstructors(Class.java:2370)
java.lang.Class.getConstructor0(Class.java:2699)
java.lang.Class.newInstance0(Class.java:318)
java.lang.Class.newInstance(Class.java:305)
sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:118)
sun.reflect.MethodAccessorGenerator.generateMethod(MethodAccessorGenerator.java:59)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:27)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:575)
org.hibernate.validator.metadata.ConstraintDescriptorImpl.buildAnnotationParameterMap(ConstraintDescriptorImpl.java:318)
org.hibernate.validator.metadata.ConstraintDescriptorImpl.<init>(ConstraintDescriptorImpl.java:150)
org.hibernate.validator.metadata.ConstraintDescriptorImpl.<init>(ConstraintDescriptorImpl.java:170)
It happens on seemingly random instances and causes a lot of other problems afterwards (not enough threads to process new requests, used up jdbc connection pools, etc).
Weblogic versions:
WebLogic Server Temporary Patch for 13340309 Thu Feb 16 18:30:21 IST 2012 WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012 WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012 WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012 WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012 WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012 WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012 WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012 WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012 WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012 WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491
JRockit:
Oracle JRockit(R) (build R28.2.4-14-151097-1.6.0_33-20120618-1634-linux-x86_64, compiled mode)
Any ideas what is going wrong and more importantly how to fix it?
Thanks
DimoSeems to be related to the -XgcPrio:pausetime -XpauseTarget:200ms command line options. When I removed them, jrockit uses throughput gc and the problem does not arise. However, I would like to be able to control the gc pause time a bit as we have 96th percentile SLAs and the throughput collector affects more then 4% of the requests....
-
My scanner get stuck, only in Archlinux
Hi everyone, i have a problem with my scanner under Archlinux.
I have a Benq 3300U, it had been worked perfectly, but i upgraded my Archilinux with pacman -Syu, and now my scanner get stuck.
The problem is weir, scanimage -L and all scanner programs, detect my scanner with not problem, but when i select the device the problems begin, first at all the warming time is maybe twice longer than before, so, when I ask for a preview, it start fine and it scan all the preview, but when the lamp is returning to its normal position it get stuck, the lamp stop in the middle, and becomes blocked, there are not errors, if i disconnect the scanner and plug in again, it become usable again, but always get stuck when the lamp is returning to its normal place.
Same happens if i scan a image manually with scanimage, but this problems only happens with Archilinux, i also have Windows and others Linux Distros in the same computer, and the scanner works in them with not problem.
I have tried reinstalling sane and xsane, deleting all their configuration files, but always get the same problem.
Thanks for any help.See my post http://bbs.archlinux.org/viewtopic.php? … 75#p239175
Greets
dojo -
3 websites gave me this message:- "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete." I chose to stop the script each time. However I have stopped too many scripts in Firefox and I can't open any website in Firefox anymore. I just get blank pages. What do I do now?
Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox and any leftover program files and then reinstall Firefox. Please follow these steps one by one:
#Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
#After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu) and confirm all upcoming messages.
#Now, uninstall Firefox by following the steps mentioned in the [[Uninstall Firefox from your computer#w_uninstall-firefox|Uninstall Firefox]] article.
'''IMPORTANT:''' On Windows, the uninstaller has the option to remove your personal data and settings. Make sure that you do '''not''' check this option; otherwise all of your bookmarks, passwords, extensions, user customizations and other Firefox [[Profiles|user profile data]] will be removed from your computer.
After uninstalling Firefox on Windows, delete the "Mozilla Firefox" program folder, located by default in one of these locations:
* '''(On 32-bit Windows)''' ''C:\Program Files\Mozilla Firefox''
* '''(On 64-bit Windows)''' ''C:\Program Files (x86)\Mozilla Firefox''
#Go to the Windows Start menu and click on "Computer".
#In the Explorer window that opens, double click Local Disk (C:) to open the C:\ drive.
#Find the "Program Files (x86)" folder or "Program Files" folder.
#* On 32-bit Windows, double-click the '''Program Files''' folder to open it.
#* On 64-bit Windows, you will see a "Program Files (x86)" folder AND a "Program Files" folder. Open the '''Program Files (x86)''' folder.
#Look for a '''Mozilla Firefox''' folder. If you find one, right-click it and select ''Delete'' and confirm that you want to move the folder to the Recycle Bin.
Now, go ahead and reinstall Firefox:
#Double-click the downloaded installation file and go through the steps of the installation wizard.
#Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
Please report back to see if this helped you! -
After Loading Lion I now get 5 windows w/ a graphic of a Red Stop sign with an ! mark and the following text message:
"DAVE Networking
Dave kernel extensions could not be loaded! Error
71 - Too many levels of remote in path."
I have uninstalled DAVE and used Clean App to remove trace elements of program, however I still get the message and am unable to eliminate the error messages. When I click OK the message goes away briefly and then comes back up.
Any solutions would be great.Dave,
Thanks....What I did was load the free eval version of Dave 9.0 and then used the uninstaller which must have deleted the kernel giving me the problem.
Thanks for the response.
Razor -
Everytime I try using iTunes on my iPhone 5 I keep getting the message appear Too many HTTP redirects HELP !!!!!
Basic troubleshooting steps clearly outlined in the User Guide are restart, reset, restore from backup, restore as new device.
Have you tried ALL the recommended troubleshooting steps yet? -
Text won't stop deleting, delete key appears to get "stuck"
Sorry if this is in the wrong topic, I have never used the support forums for any of the multitude of problems I have had with my Mac, but this one is severe and odd enough that I couldn't even find anyone else discussing it (although I'm sure someone is, but I tried many search key combinations on Google and only found unrelated things), so I decided to at least get it documented.
I have had an issue that has happened at least 3 times I can remember (I am fairly certain it has happened more, closer to 7-8, those are just the times I am 100% confident about), although very spaced apart and infrequent, where my delete/backspace key seems to get "stuck". However, at least one time I can verify that I never even hit the key. Whatever text I currently have open immediately starts deleting at lightspeed, and I can do nothing to stop it. None of the other keys on my keyboard work, and though my mouse works, if I click somewhere else, it starts deleting the text there. When I force it to go to another window where there isn't an open text box, I get the general Mac error sound, and it repeats non-stop, and faster than I've ever heard it. I have to do a hard shut-down, although once it led to a kernal panic. When I have stopped whatever is happening before it panics though, when I restart, I don't receive any kind of error message, nor the message about OS X not having been shut down properly.
Every single time it has happened when I was typing something that couldn't be saved, like a message on a forum, a private message on a site or an IM chat window. Sometimes I lost a half hour's worth of work or more.
The first time it happened, I honestly thought someone had managed to hack into my computer, but another time I was using a physical modem and Airport was turned off, and when I ripped out the cord, it didn't stop.
I have a MacBook Pro from 2007, running the most recent version of Tiger. I haven't had the money to upgrade. All security updates are up-to-date, with one exception: I have not upgraded to the most recent version of iTunes.
Honestly, I currently am having and have been having a bunch of other severe issues with my Mac, so troubleshooting will be quite difficult as it's not at all impossible it's a result of one of my other problems. I also currently am dealing with some health problems that make me unable to try to find the root of the problem, specifically I have a problem with my hand and wrist that makes typing very difficult.
If someone does recognize this issue and already knows why it might be happening, I'd appreciate the help. I'd also appreciate anyone letting me know how I can prevent it OR what to do when it begins and how to stop it. But I probably will be unable to go through a typical troubleshooting rundown.
As I said, I just wanted this documented, and I also would like to know if anyone else has had this problem. I have never experienced an issue like this with any of my past computers, including Macs and PCs. I do know however that the key is NOT physically getting stuck - as in getting lodged down and continuing to be pressed. There is at least 1 time I can verify I never even hit the key (I wasn't typing anything at the time). I am fairly sure the problem is entirely unrelated to the actual delete key itself.
I'll describe the symptoms one more time:
At a random time, with no discernible warning, text contained in whatever text box I have open begins deleting itself. Several paragraphs disappear in a matter of seconds.
Pressing escape or any other key on the keyboard does nothing. If I click to another area in the text, it will immediately begin deleting wherever I have placed the cursor. If I go to another window with text that can be edited, it begins deleting there. It does not delete in more than one place simultaneously.
If I bring another window without any kind of "deletable" text to the front, one of the general Mac error sounds (I'm not sure which one it is) starts happening and repeats without stopping at a rate that could induce a seizure. To stop it all, the only thing I have found can be done is a hard shut-down. Another time it continued to end in a kernal panic. I wish I had the details of the error, but it was so long ago and I have no idea which panic is the right one in the logs.
I have no way of knowing what programs were running at the time, as obviously that's not something I'm able to pay attention to when it happens, and it has happened so randomly and infrequently it's nothing I've been able to document. Since I have to restart to make it stop, I've then lost that info and I have no time to try to write it down or something beforehand.
I have not had any similar issues that I know of (for instance, for the "g" key keeps repeating and won't stop typing "g's") and I've never experienced this on any past computer.
Thanks for anyone who can help!
If you aren't able to offer advice but have had this issue yourself, PLEASE let me know. I can't seem to find anyone who has experienced this particular problem."Cleaning the keyboard is the first step in troubleshooting sticky/stuck keys."
Okay, I guess I misunderstood, although I am still confused. You're saying that since the other user did an extensive clean of their keyboard and this did not solve the problem, it is "most likely" a hardware problem, correct? Wouldn't a thorough cleaning without any results show that it's probably not physically related to the keyboard?
"The "delete" key may be defective or the cover you are using somehow is making the key stick. If you have ruled out the latter and everything else, your only other alternative is to take the MBP to your local Apple Store or AASP. The staff will check out your keyboard (free) to confirm if you are having a hardware problem. If you have AppleCare or ProCare, the repairs will be free. If not.................."
Well, I had just said in my most recent post that it has now happened with other keys, and in my initial post that it happened at times when my hands were nowhere near the keyboard. It is not a defective delete key and the cover is not making the keys stick - it doesn't adhere to them and does not have any sticky substance on it of any kind. I am an experienced computer user, and I know my computer very well. While I am not a psychic that can always know what is causing a problem, I am able to discern with much accuracy what is NOT causing it.
Also, I have significant health issues so getting to an Apple store would be a huge challenge for me. And although I have AppleCare any repairs won't be free. Due to some small physical damage my laptop obtained a few years ago, I have been completely refused almost all service that I paid over $300 for, even though the damage is completely superficial. After fighting this, I was told they WOULD repair my computer, however, they would also repair the physical damage despite my insisting NOT to; I had no choice in the matter and the cost would be a minimum of $1,500 (I also would not be informed the exact price until after and my credit card would be charged without my knowledge - I had to give them my credit card number and sign away their right to make any charges and when I requested being contacted before they charged me for the repairs I didn't want done, I was told they did not do that). My family is struggling to pay for my $5 medications.
When my logic board died (that same issue that affected thousands of computer users), I had to print out Apple's report from their site, which stated that they would replace and repair them free of charge to ANY Mac owner with a computer that met certain qualifications (which mine did). When it happened, completely out of nowhere, I knew immediately that was the problem, yet still had to go through the insulting and idiotic "Is your computer plugged in?" list of things and a customer WITH AppleCare was being refused a service they'd offered to people WITHOUT AppleCare, for a known manufacturing defect that has occurred widely in nearly every brand of computer made. -
hi
I am getting the following error while calling the procedure in the batch process
ORA-06512: at "SYS.UTL_HTTP", line 1022
ORA-29270: too many open HTTP requests
Could you please help me on this? As this is getting affected in the live databases.
ORA-06512: at "SYS.UTL_HTTP", line 1022
ORA-29270: too many open HTTP requests
CREATE OR REPLACE PROCEDURE Send_To_Spg(
PTRANSACTION_ID IN VARCHAR2,
PCHANNEL_TYPE IN VARCHAR2 DEFAULT NULL,
PCSS_ORDER_NUMBER IN VARCHAR2 DEFAULT NULL,
PTELEPHONE_NUMBER IN VARCHAR2 DEFAULT NULL,
PSCENARIO_TYPE IN VARCHAR2 DEFAULT NULL,
PCUSTOMER_REQUIRED_DATE IN VARCHAR2 DEFAULT NULL,
PCUSTOMER_REQUIRED_TIME IN VARCHAR2 DEFAULT NULL,
PCANCELLATION_REASON IN VARCHAR2 DEFAULT NULL,
PCANCELLATION_NOTES IN VARCHAR2 DEFAULT NULL,
PSMPF_RETENTION IN VARCHAR2 DEFAULT NULL,
PEMERGENCY_WINBACK IN VARCHAR2 DEFAULT NULL,
PCSS_PROJECT_ID IN VARCHAR2 DEFAULT NULL,
PCSS_ORDER_NOTES IN VARCHAR2 DEFAULT NULL,
PREASON_FOR_CESSATION IN VARCHAR2 DEFAULT NULL,
P_RESPONSE OUT VARCHAR2,
PSMART_USER_ID IN VARCHAR2 DEFAULT NULL,
PORACLE_ERROR OUT VARCHAR2,
PORACLE_ERROR_MESSAGE OUT VARCHAR2,
PRESPONSE_TIME OUT NUMBER,
PDATA_TRANSFER_STATUS OUT VARCHAR2)
IS
v_scenario_type VARCHAR2(20); -- Varialble to Hold Time Out of every request to SPG
v_transaction_time NUMBER; -- Total time in which Request to SPG was processed
v_record_inserted_at DATE; -- Date/Time about the record insertion to the Error Handler
v_start_time NUMBER; -- Variable to hold Start Time for calculationg Transaction Time
v_url VARCHAR2(32767);-- URL to use when sending data to SPG
vtransaction_id VARCHAR2(18); -- Variable to hold Transaction ID for the request
v_buffer VARCHAR2(32760);-- Variable to read response from the SPG interface
v_timeout PLS_INTEGER; -- Time Out for each Transaction
v_oracle_err_msg VARCHAR2(600); -- Variable to hold Oracle Error Message
v_resp UTL_HTTP.RESP; -- Response Object
v_req UTL_HTTP.REQ; -- Request Object
v_userid_pwd SMT_ORACLE_PARAMETERS%ROWTYPE; --Variable declared to contain User ID & Password
vl_RetCode VARCHAR2(5000);
vl_std_returnCode VARCHAR2(3000);
--PDATA_TRANSFER_STATUS Holds the Data Transfer Status which can have possible values as
-- N => Data Has not been sent to SPG
-- Y => Received Successful response from SPG
-- F => On the First try to Send data to SPG Oracle Error Occured or response from SPG was a faulure
-- S => On the Second try to Send data to SPG Oracle Error Occured or response from SPG was a faulure
-- T => Data Has been transferred to the Error Log Table
-- X => Data need not be transfered to Error Log Table.
--Location of the timeout, URL & User Id & Password in Standing Data.
c_url_stopwlr SMT_ORACLE_PARAMETERS.PARAMETER_CODE%TYPE:='SPG_WLR';-- Stop WLR URL
c_url_cancelown SMT_ORACLE_PARAMETERS.PARAMETER_CODE%TYPE:='SPG_OWN';-- Cancel own URL
c_url_cancelother SMT_ORACLE_PARAMETERS.PARAMETER_CODE%TYPE:='SPG_OTH';-- Cancel other URL
c_url_amendcrd SMT_ORACLE_PARAMETERS.PARAMETER_CODE%TYPE:='SPG_CRD';--Amend CRD URL
c_spg_useridpwd SMT_ORACLE_PARAMETERS.PARAMETER_CODE%TYPE:='SPGIDPWD'; --Contains user id and pwd
ctimeout smt_parameters.parameter_code%TYPE:='SPGTO'; --This holds the timeout parameter
BEGIN
--In case the calling batch process can pass this value this SQL read will not be required & can be deleted
--Read data transfer status for the transaction Id
SELECT data_transfer_status INTO PDATA_TRANSFER_STATUS FROM SPG_INTERFACE_TABLE
WHERE transaction_id = PTRANSACTION_ID;
--Record the start time
v_start_time:=DBMS_UTILITY.GET_TIME;
--If Data transfer status is S then send the record to error handler
IF PDATA_TRANSFER_STATUS = 'S' THEN
Error_Handler(PTRANSACTION_ID,PSMART_USER_ID,PORACLE_ERROR,PORACLE_ERROR_MESSAGE,v_record_inserted_at,PDATA_TRANSFER_STATUS);
ELSE
--In case Data Tranfer Status is something other than S then send the request to SPG
--Initialise other variables which will be populated during the journey
P_RESPONSE := '';
PORACLE_ERROR := NULL;
PORACLE_ERROR_MESSAGE := NULL;
PRESPONSE_TIME := 0;
--Read timeout parameter from standing data.
BEGIN
SELECT VALUE INTO v_timeout FROM smt_parameters WHERE parameter_code=ctimeout;
EXCEPTION
WHEN NO_DATA_FOUND THEN
v_timeout:=30;
WHEN OTHERS THEN
v_timeout:=30;
END;
-- Construct the URL for Stop WLR Scenario
IF PSCENARIO_TYPE = 'STOP_WLR' THEN
BEGIN
-- Read the Initial URL from Standing Data
SELECT VALUE
INTO v_url
FROM SMT_ORACLE_PARAMETERS
WHERE parameter_code = c_url_stopwlr
AND host_id = ( SELECT host_id
FROM SMART_HOSTS A
WHERE EXISTS ( SELECT 1
FROM DB_PARAMETERS b
WHERE A.hostname = b.hostname
AND A.database_id = b.database_id));
--handle unforseen exception
EXCEPTION
WHEN NO_DATA_FOUND THEN
v_url:='Http://wls.brassi1c.devenv1.bt.co.uk:64738/pls/spgenv/spg_btrc.add_btrc_winback_details'; --After testing the same, URL will be fetched from the Query
WHEN OTHERS THEN
v_url:='Http://wls.brassi1c.devenv1.bt.co.uk:64738/pls/spgenv/spg_btrc.add_btrc_winback_details'; --After testing the same, URL will be fetched from the Query
END;
--construct the URL depending on the parameters to be passed to the url
v_url := v_url || '?';
v_url := v_url || 'p_data_entered=' || Smart_Urlencode('xmloverhttp') || '&';
v_url := v_url || 'p_channel_type=' || Smart_Urlencode(PCHANNEL_TYPE)|| '&';
v_url := v_url || 'p_css_start_order_no=' || Smart_Urlencode(PCSS_ORDER_NUMBER)|| '&';
v_url := v_url || 'p_tel_no=' || Smart_Urlencode(PTELEPHONE_NUMBER)|| '&';
v_url := v_url || 'p_crd=' || Smart_Urlencode(PCUSTOMER_REQUIRED_DATE)|| '&';
v_url := v_url || 'p_take_over_time=' || Smart_Urlencode(PCUSTOMER_REQUIRED_TIME)|| '&';
v_url := v_url || 'p_retainsmpf=' || Smart_Urlencode(PSMPF_RETENTION)|| '&';
--v_url := v_url || 'p_emergency_winback=' || Smart_Urlencode(PEMERGENCY_WINBACK)|| '&';
v_url := v_url || 'p_projectno=' || Smart_Urlencode(PCSS_PROJECT_ID)|| '&';
v_url := v_url || 'p_ordernotes=' || Smart_Urlencode(PCSS_ORDER_NOTES)|| '&';
v_url := v_url || 'p_reason_cessation=' || Smart_Urlencode(PREASON_FOR_CESSATION);
ELSIF PSCENARIO_TYPE='CANCEL_OWN' THEN
--Fetch the URL for cancel own from standing data.
BEGIN
SELECT VALUE
INTO v_url
FROM SMT_ORACLE_PARAMETERS
WHERE parameter_code = c_url_cancelown
AND host_id = ( SELECT host_id
FROM SMART_HOSTS A
WHERE EXISTS ( SELECT 1
FROM DB_PARAMETERS b
WHERE A.hostname = b.hostname
AND A.database_id = b.database_id));
--handle unforseen exception
EXCEPTION
WHEN NO_DATA_FOUND THEN
v_url := 'Http://wls.brassi1c.devenv1.bt.co.uk:64738/pls/spgenv/spg_btrc.add_btrc_cancelown_details'; --After testing the same, URL will be fetched from the Query
WHEN OTHERS THEN
v_url := 'Http://wls.brassi1c.devenv1.bt.co.uk:64738/pls/spgenv/spg_btrc.add_btrc_cancelown_details'; --After testing the same, URL will be fetched from the Query
END;
--construct the URL
v_url := v_url || '?';
v_url := v_url || 'p_data_entered=' ||Smart_Urlencode('xmloverhttp')|| '&';
v_url := v_url || 'p_channel_type=' ||Smart_Urlencode(PCHANNEL_TYPE)|| '&';
v_url := v_url || 'p_css_start_order_no=' ||Smart_Urlencode(PCSS_ORDER_NUMBER)|| '&';
v_url := v_url || 'p_tel_no=' ||Smart_Urlencode(PTELEPHONE_NUMBER)|| '&';
v_url := v_url || 'p_cancel_reason=' ||Smart_Urlencode(PCANCELLATION_REASON)|| '&';
v_url:= v_url || 'p_cancel_notes=' ||Smart_Urlencode(PCANCELLATION_NOTES);
ELSIF PSCENARIO_TYPE='CANCEL_OTHER' THEN
--Fetch the URL for cancel own from standing data.
BEGIN
SELECT VALUE
INTO v_url
FROM SMT_ORACLE_PARAMETERS
WHERE parameter_code = c_url_cancelother
AND host_id = ( SELECT host_id
FROM SMART_HOSTS A
WHERE EXISTS ( SELECT 1
FROM DB_PARAMETERS b
WHERE A.hostname = b.hostname
AND A.database_id = b.database_id));
--handle unforseen exception
EXCEPTION
WHEN NO_DATA_FOUND THEN
v_url := 'Http://wls.brassi1c.devenv1.bt.co.uk:64738/pls/spgenv/spg_btrc.add_btrc_cancelother_details'; --After testing the same, URL will be fetched from the Query
WHEN OTHERS THEN
v_url := 'Http://wls.brassi1c.devenv1.bt.co.uk:64738/pls/spgenv/spg_btrc.add_btrc_cancelother_details'; --After testing the same, URL will be fetched from the Query
END;
--construct the URL
v_url := v_url || '?';
v_url := v_url || 'p_data_entered=' ||Smart_Urlencode('xmloverhttp')|| '&';
v_url := v_url || 'p_channel_type=' ||Smart_Urlencode(PCHANNEL_TYPE)|| '&';
v_url := v_url || 'p_css_stop_order_no=' ||Smart_Urlencode(PCSS_ORDER_NUMBER)|| '&';
v_url := v_url || 'p_tel_no=' ||Smart_Urlencode(PTELEPHONE_NUMBER)|| '&';
v_url := v_url || 'p_cancel_reason=' ||Smart_Urlencode(PCANCELLATION_REASON);
ELSIF Pscenario_type='AMEND_CRD' THEN
--Fetch the URL for cancel own from standing data.
BEGIN
SELECT VALUE
INTO v_url
FROM SMT_ORACLE_PARAMETERS
WHERE parameter_code = c_url_amendcrd
AND host_id = ( SELECT host_id
FROM SMART_HOSTS A
WHERE EXISTS ( SELECT 1
FROM DB_PARAMETERS b
WHERE A.hostname = b.hostname
AND A.database_id = b.database_id));
--handle unforseen exception
EXCEPTION
WHEN NO_DATA_FOUND THEN
v_url := 'Http://wls.brassi1c.devenv1.bt.co.uk:64738/pls/spgenv/spg_btrc.add_btrc_amendcrd_details'; -- After testing the same , URL will be fetched from the Query
WHEN OTHERS THEN
v_url := 'Http://wls.brassi1c.devenv1.bt.co.uk:64738/pls/spgenv/spg_btrc.add_btrc_amendcrd_details'; -- After testing the same , URL will be fetched from the Query
END;
--construct the URL
v_url := v_url || '?';
v_url := v_url || 'p_data_entered=' ||Smart_Urlencode('xmloverhttp')|| '&';
v_url := v_url || 'p_channel_type=' ||Smart_Urlencode(PCHANNEL_TYPE)|| '&';
v_url := v_url || 'p_css_start_order_no=' ||Smart_Urlencode(PCSS_ORDER_NUMBER)|| '&';
v_url := v_url || 'p_tel_no=' ||Smart_Urlencode(PTELEPHONE_NUMBER)|| '&';
v_url := v_url || 'p_crd=' ||Smart_Urlencode(PCUSTOMER_REQUIRED_DATE)|| '&';
v_url := v_url || 'p_css_change_order_numbers='||Smart_Urlencode(PCANCELLATION_REASON);
END IF;
--this is start of setting parameters for utl http object. the show begins...
utl_http.set_transfer_timeout(v_timeout);
--Set the wallet
--XXXXX e.g.UTL_HTTP.SET_WALLET(?file:DirectoryPath?,'put password here?);
--Set proxy
--YYYYY e.g. utl_http.set_proxy(p_proxy_in, p_no_proxy_domains_in);
v_url := REPLACE(v_url,'%27%27','%27'); -- Fix to ensure Double Quotes are converted to Single Quotes
--set the required URL to utl http.
v_req := utl_http.begin_request(v_url);
--Authentication setting
--Fetch the user id and password from stnding data.
BEGIN
SELECT *
INTO v_userid_pwd
FROM SMT_ORACLE_PARAMETERS
WHERE PARAMETER_CODE=c_spg_useridpwd
AND HOST_ID = ( SELECT HOST_ID
FROM SMART_HOSTS A
WHERE EXISTS ( SELECT 1
FROM DB_PARAMETERS B
WHERE A.HOSTNAME = B.HOSTNAME
AND A.DATABASE_ID = B.DATABASE_ID));
EXCEPTION
WHEN NO_DATA_FOUND THEN
P_RESPONSE := 'ORACLE_ERROR: USER id AND Password NOT configured IN SMT_ORACLE_PARAMETERS:SPGIDPWD';
WHEN OTHERS THEN
P_RESPONSE := 'ORACLE_ERROR: USER id AND Password NOT configured IN SMT_ORACLE_PARAMETERS:SPGIDPWD';
END;
--utl_http.set_authentication(v_req, p_username_in, p_password_in);
utl_http.set_authentication(v_req, v_userid_pwd.description, v_userid_pwd.VALUE);
v_resp := utl_http.get_response(v_req);
--Fill in the the response time
PRESPONSE_TIME := (DBMS_UTILITY.GET_TIME - v_start_time)/100;
IF v_resp.reason_phrase = 'OK' THEN
-- Fetch the response
BEGIN
LOOP
utl_http.read_line(v_resp, v_buffer);
P_RESPONSE := P_RESPONSE || v_buffer;
END LOOP;
utl_http.end_response(v_resp);
EXCEPTION
WHEN utl_http.end_of_body THEN
utl_http.end_response(v_resp);
P_RESPONSE := P_RESPONSE || v_buffer;
END;
ELSIF v_resp.reason_phrase <> 'OK' OR P_RESPONSE = '' THEN
--error handling starts
--If the HTTP Status is not OK then store the error information
PORACLE_ERROR_MESSAGE := 'Status Code: '|| v_resp.STATUS_CODE||'. Reason Phrase ' ||v_resp.reason_phrase;
P_RESPONSE := 'ORACLE_ERROR: '|| ' Reason Phrase ' || v_resp.reason_phrase;
PORACLE_ERROR := v_resp.STATUS_CODE;
END IF;
--In case we got successful response from SPG
IF P_RESPONSE LIKE '%<RetCde>0</RetCde>%' THEN
PDATA_TRANSFER_STATUS := 'Y';
ELSE
BEGIN
SELECT message
INTO vl_std_returnCode
FROM SMT_MESSAGES
WHERE MESSAGE_CODE='SPGANTIDTS';
EXCEPTION
WHEN NO_DATA_FOUND THEN
vl_std_returnCode := '-12545,-29273,-1,401,';
WHEN OTHERS THEN
vl_std_returnCode := '-12545,-29273,-1,401,';
END;
--In case there was an error do not update Data Transfer Status
IF PORACLE_ERROR <> NULL AND INSTR(vl_std_returnCode, PORACLE_ERROR || ',', 1, 1) <> 0 THEN
PDATA_TRANSFER_STATUS:=PDATA_TRANSFER_STATUS;
ELSE
vl_RetCode := SUBSTR(P_RESPONSE, INSTR(P_RESPONSE,'<RetCde>', 1, 1),
INSTR(P_RESPONSE,'</RetCde>',1,1)+9 - INSTR(P_RESPONSE,'<RetCde>', 1, 1));
BEGIN
SELECT VALUE
INTO vl_std_returnCode
FROM SMT_ORACLE_PARAMETERS
WHERE PARAMETER_CODE='SPGRCS'
AND HOST_ID = ( SELECT HOST_ID
FROM SMART_HOSTS A
WHERE EXISTS ( SELECT 1
FROM DB_PARAMETERS B
WHERE A.HOSTNAME = B.HOSTNAME
AND A.DATABASE_ID = B.DATABASE_ID));
EXCEPTION
WHEN NO_DATA_FOUND THEN
vl_std_returnCode := '<RetCde>4244</RetCde><RetCde>4245</RetCde><RetCde>4246</RetCde>';
WHEN OTHERS THEN
vl_std_returnCode := '<RetCde>4244</RetCde><RetCde>4245</RetCde><RetCde>4246</RetCde>';
END;
IF INSTR(vl_std_returnCode, vl_RetCode, 1, 1) <> 0 THEN
--needs not to re attempted.
PDATA_TRANSFER_STATUS:='X';
ELSE
--In case we did'nt got SUCCESSFUL response FROM SPG THEN UPDATE the Data Transfer Status so that the failed requests can be picked up BY the NEXT batch job RUN
IF PDATA_TRANSFER_STATUS='N' THEN
--initially if data transfer status was N then update it now to F
PDATA_TRANSFER_STATUS := 'F';
ELSIF PDATA_TRANSFER_STATUS='F' THEN
--initially if data transfer status was N then update it now to S
PDATA_TRANSFER_STATUS := 'S';
END IF;
END IF;
END IF;
END IF;
--Now Update all the modified Values
UPDATE SPG_INTERFACE_TABLE
SET response = P_RESPONSE,
data_transfer_status = PDATA_TRANSFER_STATUS,
oracle_error = PORACLE_ERROR,
oracle_error_message = PORACLE_ERROR_MESSAGE,
response_time = PRESPONSE_TIME
WHERE transaction_id = PTRANSACTION_ID;
COMMIT;
END IF;
EXCEPTION
WHEN OTHERS THEN
--Handling the unhandled exception
PORACLE_ERROR := SQLCODE;
PORACLE_ERROR_MESSAGE := SQLERRM;
P_RESPONSE := 'ORACLE_ERROR: '|| PORACLE_ERROR_MESSAGE;
PRESPONSE_TIME := (DBMS_UTILITY.GET_TIME - v_start_time)/100;
SELECT data_transfer_status INTO PDATA_TRANSFER_STATUS
FROM SPG_INTERFACE_TABLE
WHERE transaction_id=PTRANSACTION_ID;
--New functionality to update the oracle error and oracle error message and not the Data Transfer Status
BEGIN
SELECT message
INTO vl_std_returnCode
FROM SMT_MESSAGES
WHERE MESSAGE_CODE='SPGANTIDTS';
EXCEPTION
WHEN NO_DATA_FOUND THEN
vl_std_returnCode := '-12545,-29273,-1,';
WHEN OTHERS THEN
vl_std_returnCode := '-12545,-29273,-1,';
END;
vl_RetCode := PORACLE_ERROR || ',';
IF INSTR(vl_std_returnCode, vl_RetCode, 1, 1) <> 0 THEN
--If the error is found in above maintained standing data do not change the Data Transfer Status
pdata_transfer_status:=pdata_transfer_status;
ELSE
IF pdata_transfer_status='N' THEN
PDATA_TRANSFER_STATUS := 'F';
DBMS_OUTPUT.PUT_LINE('DUE TO ERROR DATA COULDN''T GET TRANSFERED TO SPG FOR TRANSACTION'||' '||PTRANSACTION_ID);
DBMS_OUTPUT.PUT_LINE(SQLERRM);
ELSIF pdata_transfer_status='F' THEN
PDATA_TRANSFER_STATUS := 'S';
DBMS_OUTPUT.PUT_LINE('DUE TO ERROR DATA COULDN''T GET TRANSFERED TO SPG FOR TRANSACTION'||' '||PTRANSACTION_ID);
DBMS_OUTPUT.PUT_LINE(SQLERRM);
ELSE
DBMS_OUTPUT.PUT_LINE('Failure WHEN sending data TO Error LOG. Data Transfer Status IS ' || PDATA_TRANSFER_STATUS || '. TRANSACTION ID '|| PTRANSACTION_ID);
END IF;
END IF;
--Now update all the information gathered above to the table
UPDATE SPG_INTERFACE_TABLE
SET response = P_RESPONSE,
data_transfer_status = PDATA_TRANSFER_STATUS,
oracle_error = PORACLE_ERROR,
oracle_error_message = PORACLE_ERROR_MESSAGE,
response_time = PRESPONSE_TIME
WHERE transaction_id = PTRANSACTION_ID;
COMMIT;
END;
/I have fixed the problem by own.
Seems there are some while space in the endpoint url.
Fix
http_req:= utl_http.begin_request
trim(l_endpoint_url)
,'POST'
,'HTTP/1.1'
It works...
Regards
BS -
My iphone 4 is locked because my son tried to enter the wrong passcode too many times. The solution on apple support says to restore it. But when I try to restore after about 10 minutes of software update it comes up with a message that it cannot continue until you enter the passcode on the phone. But the phone is locked and you cannot enter the passcode. I'm stuck. Help!?
You can still bypass this but deleting all of the contents of your iPhone, but of you previously backed up from iCloud or iTunes you can recover te files as it used to be,
You have to download a copy of iOS software you wish to recover to, you can get from google by typing it, iOS 5.1.1 iPhone 4 etc and find links, once downloaded. it should be IPSW file,
Turn your iPhone into "DFU" mode by holding sleep/wake button and home button at the same time, you can get tutorials from google or YouTube.
once done connect to iTunes, note this is the important step, before attempting to recover you should hold "shift-key" at the same time click check for updates or recover, from if it doesn't detect the file here's a link on how to do it, but this link is iOS 4.3 the difference is you will use iOS 5 or later. http://techie-buzz.com/how-to/how-to-update-ios-4-3-itunes-manually.html
after updating or restoring,
Congrats you bypassed your password and now restore your back up from itunes. -
i get too many ASC emails ... tried Frank Caggiano's solution ... even have all my email preferences set to NO .... but problem still unsolved....any suggestion? by the way, how do i unlist myself from ASC?
You cannot unlist yourself from the ASC. Only a host can do that and there has to be a very good reason for doing so, like a privacy concern or issue, something like that. If you do not want to participate in the community, just quit posting.
Did you also check the box at the top of the post that you participated in and check Stop Email Notifications? It is in the Actions Box in the upper right corner of each page on the website. You have to go back to the post that you were in and select that as well.
Do you see the Actions Box in the upper right corner of this screenshot? -
I'm using iPhone 5
Why am I facing so many problem after upgrading to ios7, my phone hangs/stuck many times, applications just stop working and close themselves, battery drainage,Facebook and all applications don't work properly. What should I do? They punished me for upgrading to ios7. I now hate apple and I'm thing of getting samsung.Basic troubleshooting
Reset
Restore with backup
Restore as new ( better ) -
Too Many Authentication Required Dialogs
Hi,
I'm using Java 1.6.0_u10, at a client site, behind a Microsoft Proxy (Poxy?) Firewall.
when I try any Applets, or Java Web Start Apps, I get way too many "Authentication Required" Dialogs.
How many is too many? well for me 1, really, but I'm giving up after typing my username/password
- and clicking the "save this password in your password list" - (not sure what that's supposed to do,
if not save me from these dialogs) - for the *+6th+ time*. It seems to be once for every resource accessed, even though
they all come from the same domain - or they should.
In the Java Control Panel, I have tried Manual Proxy Settings, with the same settings from Firefox, System settings and Browser settings.
I'm getting a bit fed up.
Question: Does anyone have trouble free experience of Java Web Start (and plug-in) apps/applets behind an authenticating proxy Firewall?
If so, what's your secret?
After 12 years of Java development, I'm not exactly a newbie. I haven't noticed any of this stuff happening with Flash..and Firefox seems to cope. (although Acrobat reader doesn't manage to update itself, and Netbeans 6.5 is repeated getting me locked out of Windows, but that's another story)
I know the firewall is a nuisance, but if Sun really wants to catch up in the RIA market, it just has to... just work.
Rgds, and thanks for reading, rant over,
Matthew.
Edited by: MatthewHarrison on Dec 1, 2008 5:22 AMThat's really odd.
I'm behind a NTLM authenticating MS Proxy server at work and I don't have an issue with Applets or JNLP.
I'm on Java 1.6.11
There a definitely issues with other software, for instance neither Apple's Safari or Google Chrome (both webkit) will work through the proxy server.
But Java does.
Maybe you are looking for
-
Dear Experts, We are using business role concept.Only business roles are assigned and not technical roles. Requirement is To assign business role from GRC Prod system to ECC DEV and ECC QA also apart from ECC Prod. To do so we have a logical group SA
-
one from years ago which is the one I use for iTunes and a me.com one. Totally confused about which I should use for iCloud. When I installed ios5 on iPhone I used me.com then could not access previous purchased apps etc but iMessage is running via t
-
Usb 3.0 not working on Windows 7 (MacBook Air late 2011)
Hello everybody. I've been running Windows 7 perfectly on my late 2011 11-inch mackbook air (runs even smoother than Mavericks, seems that Apple forgot about macbook air users when releasing that update, and doesn't even let me downgrade without buyi
-
Ipod Nano 4GB Keeps connecting and disconnecting every few seconds
when i plug the nano into a usb port... it shows up everywhere and then disconnects and then reconnects and keeps doing this, therefore i can update my ipod? Also... the ipod works fine on the xp pc next door so i have to assume its the USB on my pc.
-
Dear Experts, I need your help. I checked in the definition of WKN that a dummy material called WKM2 has to be assigned in the IMG settings against " Value Contract Material" then only the creation would proceed. Can someone guide me as to how to cre