Getting trace file names for a conc program
Hi All,
We are using Oracle EBS 11i with Oracle 9i database.
The Apps version is 11.5.9 and database version is Release 9.2.0.6.0.
I am trying to trace a custom program which runs the pl/sql procedure.
I have enabled the tracing in the custom program definition.
This procedure has several blocks inside and also has many commits.
Due to this the SID for the session changes frequently.
Now my question is how can I get all the SIDs for this conc program and get the trace files for each SID.
My goal is to get all the trace file generated for this conc program and use them for analysis.
Any help is appreciated !
Thanks,
DR.
Sending again with formatting.
SELECT c.*, b.accounting_date,
a.segment1
|| '.'
|| a.segment2
|| '.'
|| a.segment3
|| '.'
|| a.segment4
|| '.'
|| a.segment5 accrual_account
FROM gl_code_combinations a,
ARCHIVE.ap_ae_headers b,
ARCHIVE.ap_ae_lines c,
ARCHIVE.po_distributions d,
ARCHIVE.ap_invoice_distributions e
WHERE e.po_distribution_id IS NOT NULL
AND d.po_distribution_id = e.po_distribution_id
AND c.source_table = 'AP_INVOICE_DISTRIBUTIONS'
AND c.source_id = e.invoice_distribution_id
AND b.ae_header_id = c.ae_header_id
AND b.accounting_date <= :b1
AND a.code_combination_id = d.accrual_account_id
AND a.segment3 = '3010'
UNION ALL
SELECT c.*, b.accounting_date,
a.segment1
|| '.'
|| a.segment2
|| '.'
|| a.segment3
|| '.'
|| a.segment4
|| '.'
|| a.segment5 accrual_account
FROM gl_code_combinations a,
apps.ap_ae_headers b,
apps.ap_ae_lines c,
apps.po_distributions d,
apps.ap_invoice_distributions e
WHERE e.po_distribution_id IS NOT NULL
AND d.po_distribution_id = e.po_distribution_id
AND c.source_table = 'AP_INVOICE_DISTRIBUTIONS'
AND c.source_id = e.invoice_distribution_id
AND b.ae_header_id = c.ae_header_id
AND b.accounting_date <= :b1
AND a.code_combination_id = d.accrual_account_id
AND a.segment3 = '3010'
SQL>select * from table(dbms_xplan.display);
| Id | Operation | Name | Rows | Bytes | Cost | Inst |IN-OUT|
| 0 | SELECT STATEMENT | | 20 | 7545 | 7708 | | |
| 1 | UNION-ALL | | | | | | |
| 2 | NESTED LOOPS | | 19 | 7201 | 825 | | |
| 3 | NESTED LOOPS | | 19 | 6612 | 787 | | |
| 4 | NESTED LOOPS | | 93 | 28737 | 694 | | |
| 5 | NESTED LOOPS | | 119 | 32130 | 456 | | |
|* 6 | FILTER | | | | | | |
| 7 | REMOTE | | | | | AJINNI | R->S |
|* 8 | FILTER | | | | | | |
| 9 | REMOTE | | | | | AJINNI | R->S |
|* 10 | FILTER | | | | | | |
| 11 | REMOTE | | | | | AJINNI | R->S |
|* 12 | FILTER | | | | | | |
| 13 | REMOTE | | | | | AJINNI | R->S |
|* 14 | TABLE ACCESS BY INDEX ROWID | GL_CODE_COMBINATIONS | 1 | 31 | 2 | | |
|* 15 | INDEX UNIQUE SCAN | GL_CODE_COMBINATIONS_U1 | 1 | | 1 | | |
| 16 | NESTED LOOPS | | 1 | 344 | 6883 | | |
| 17 | NESTED LOOPS | | 6 | 1878 | 6871 | | |
| 18 | NESTED LOOPS | | 572 | 156K| 5727 | | |
| 19 | NESTED LOOPS | | 988 | 248K| 3751 | | |
|* 20 | TABLE ACCESS BY INDEX ROWID| AP_AE_HEADERS_ALL | 978 | 17604 | 817 | | |
|* 21 | INDEX RANGE SCAN | AP_AE_HEADERS_N3 | 17595 | | 82 | | |
|* 22 | TABLE ACCESS BY INDEX ROWID| AP_AE_LINES_ALL | 1 | 240 | 3 | | |
|* 23 | INDEX RANGE SCAN | AP_AE_LINES_U2 | 8 | | 2 | | |
|* 24 | TABLE ACCESS BY INDEX ROWID | AP_INVOICE_DISTRIBUTIONS_ALL | 1 | 23 | 2 |
|* 25 | INDEX UNIQUE SCAN | AP_INVOICE_DISTRIBUTIONS_U2 | 1 | | 1 | | |
|* 26 | TABLE ACCESS BY INDEX ROWID | PO_DISTRIBUTIONS_ALL | 1 | 32 | 2 | | |
|* 27 | INDEX UNIQUE SCAN | PO_DISTRIBUTIONS_U1 | 1 | | 1 | | |
|* 28 | TABLE ACCESS BY INDEX ROWID | GL_CODE_COMBINATIONS | 1 | 31 | 2 | | |
|* 29 | INDEX UNIQUE SCAN | GL_CODE_COMBINATIONS_U1 | 1 | | 1 | | |
Predicate Information (identified by operation id):
6 - filter(NVL("AP_AE_HEADERS_ALL_H"."ORG_ID",NVL(TO_NUMBER(DECODE(SUBSTRB(:B1,1,1),'
',NULL,SUBSTRB(:B2,1,10))),(-99)))=NVL(TO_NUMBER(DECODE(SUBSTRB(:B3,1,1),' ',NULL,SUBSTRB(:B4
8 - filter(NVL("AP_AE_LINES_ALL_H"."ORG_ID",NVL(TO_NUMBER(DECODE(SUBSTRB(:B1,1,1),'
',NULL,SUBSTRB(:B2,1,10))),(-99)))=NVL(TO_NUMBER(DECODE(SUBSTRB(:B3,1,1),' ',NULL,SUBSTRB(:B4
10 - filter(NVL("AP_INVOICE_DISTRIBUTIONS_ALL_H"."ORG_ID",NVL(TO_NUMBER(DECODE(SUBSTRB(:B1,1,1),'
',NULL,SUBSTRB(:B2,1,10))),(-99)))=NVL(TO_NUMBER(DECODE(SUBSTRB(:B3,1,1),' ',NULL,SUBSTRB(:B4
12 - filter(NVL("PO_DISTRIBUTIONS_ALL_H"."ORG_ID",NVL(TO_NUMBER(DECODE(SUBSTRB(:B1,1,1),'
',NULL,SUBSTRB(:B2,1,10))),(-99)))=NVL(TO_NUMBER(DECODE(SUBSTRB(:B3,1,1),' ',NULL,SUBSTRB(:B4
14 - filter("A"."SEGMENT3"='3010')
15 - access("A"."CODE_COMBINATION_ID"="PO_DISTRIBUTIONS_ALL_H"."ACCRUAL_ACCOUNT_ID")
20 - filter(NVL("AP_AE_HEADERS_ALL"."ORG_ID",NVL(TO_NUMBER(DECODE(SUBSTRB(:B1,1,1),'
',NULL,SUBSTRB(:B2,1,10))),(-99)))=NVL(TO_NUMBER(DECODE(SUBSTRB(:B3,1,1),' ',NULL,SUBSTRB(:B4
21 - access("AP_AE_HEADERS_ALL"."ACCOUNTING_DATE"<=:Z)
22 - filter("AP_AE_LINES_ALL"."SOURCE_TABLE"='AP_INVOICE_DISTRIBUTIONS' AND
NVL("AP_AE_LINES_ALL"."ORG_ID",NVL(TO_NUMBER(DECODE(SUBSTRB(:B1,1,1),'
',NULL,SUBSTRB(:B2,1,10))),(-99)))=NVL(TO_NUMBER(DECODE(SUBSTRB(:B3,1,1),' ',NULL,SUBSTRB(:B4
23 - access("AP_AE_HEADERS_ALL"."AE_HEADER_ID"="AP_AE_LINES_ALL"."AE_HEADER_ID")
24 - filter("AP_INVOICE_DISTRIBUTIONS_ALL"."PO_DISTRIBUTION_ID" IS NOT NULL AND
NVL("AP_INVOICE_DISTRIBUTIONS_ALL"."ORG_ID",NVL(TO_NUMBER(DECODE(SUBSTRB(:B1,1,1),'
',NULL,SUBSTRB(:B2,1,10))),(-99)))=NVL(TO_NUMBER(DECODE(SUBSTRB(:B3,1,1),' ',NULL,SUBSTRB(:B4
25 - access("AP_AE_LINES_ALL"."SOURCE_ID"="AP_INVOICE_DISTRIBUTIONS_ALL"."INVOICE_DISTRIBUTION_ID"
26 - filter(NVL("PO_DISTRIBUTIONS_ALL"."ORG_ID",NVL(TO_NUMBER(DECODE(SUBSTRB(:B1,1,1),'
',NULL,SUBSTRB(:B2,1,10))),(-99)))=NVL(TO_NUMBER(DECODE(SUBSTRB(:B3,1,1),' ',NULL,SUBSTRB(:B4
27 - access("PO_DISTRIBUTIONS_ALL"."PO_DISTRIBUTION_ID"="AP_INVOICE_DISTRIBUTIONS_ALL"."PO_DISTRIB
28 - filter("A"."SEGMENT3"='3010')
29 - access("A"."CODE_COMBINATION_ID"="PO_DISTRIBUTIONS_ALL"."ACCRUAL_ACCOUNT_ID")
Note: cpu costing is off
67 rows selected.
{code}
Similar Messages
-
How to get the trace file name for current running application?
Hi, I want to know if it is possible to get the file name directly for current running application instance which is launched by javaws.
There is a property "deployment.user.logdir" tells the log directory, it would be great if a file name property
is available. something like "instance.trace.file".
Our application wants it because we would like our client send use the application log by clicking a "send error"
button, the codes finds the trace file and compress it and send it by using a smtp server.
In 1.5, we can do it by using a shell program.I found other asked it before, but I tried to set both properties, but neither works. my sun JRE version :java version "1.6.0_04"
<property
name="deployment.javaws.traceFileName"
value="abcfefsfdsf"/>
<property
name="deployment.javapi.trace.filename"
value="235235235"/>
But it always write to one trace file with name lik javaws63645.trace -
How to get set file name for MessageFileUploadBean in Advanced Table
Hello Everyone.
I have a MessageFileUpload item in a advanced table. My requirement is to show file names instead of view when user uploads files. I know how to do this if the item is not inside advancedtable (by using uploadBean.setAttributeValue(DOWNLOAD_FILE_NAME,displayNameBoundValue).
But how to get the different ID's when inside a advanced table?
Thanks
Sunnytry setting a transient view attribute to this message file upload, if you iterate through vo, I hope you can just get the path user browses.
Regards
Shobht S -
File upload script not getting the file name for larger files
Hi
I have the following code (see extract below) and find that
when the size of the file to upload is larger than about 300kb the
code does not grab the file name. Consequently the upload fails.
The code works fine when the file size is smaller.
The code in the form page is:
<form
action="UploadAttachment.asp?SubjectName=<%=Request.QueryString("SubjectName")%>&VersionN umber=<%=Request.QueryString("VersionNumber")%>&QualificationName=<%=Request.QueryString(" QualificationName")%>"
method="post" enctype="multipart/form-data" name="form1">
<input name="file" type="file" size="100">
<input name="Upload" type="submit" id="Upload"
value="Upload">
</form>
The code in the UploadAttachment.asp page is:
<%
'Grab the file name
Dim objUpload, strPath, SQLString
Set objUpload = New clsUpload
'there is a problem that this next line doesn't grab the file
name if file is too large.
strFileName = objUpload.Fields("file").FileName
etc.
%>
If you have any idea how to resolve this I'd be grateful.
NeilHi
I have the following code (see extract below) and find that
when the size of the file to upload is larger than about 300kb the
code does not grab the file name. Consequently the upload fails.
The code works fine when the file size is smaller.
The code in the form page is:
<form
action="UploadAttachment.asp?SubjectName=<%=Request.QueryString("SubjectName")%>&VersionN umber=<%=Request.QueryString("VersionNumber")%>&QualificationName=<%=Request.QueryString(" QualificationName")%>"
method="post" enctype="multipart/form-data" name="form1">
<input name="file" type="file" size="100">
<input name="Upload" type="submit" id="Upload"
value="Upload">
</form>
The code in the UploadAttachment.asp page is:
<%
'Grab the file name
Dim objUpload, strPath, SQLString
Set objUpload = New clsUpload
'there is a problem that this next line doesn't grab the file
name if file is too large.
strFileName = objUpload.Fields("file").FileName
etc.
%>
If you have any idea how to resolve this I'd be grateful.
Neil -
Getting the variant name when the report program is run in background
Hi All,
How to get the variant name for the report program when run in background? My requirement is to create an email attachement with the name 'variant.XLS', where variant = selection screen variant, when the report program is run in background. The system field SY-SLSET holds the variant name only when run online.
Any pointers to this will be highly appreciated.
Thanks and regards,
Nilesh.Hello Nilesh,
Please find the algo:
1. Call the FM: GET_JOB_RUNTIME_INFO to get the background job details.
2. Select data from TBTCP using these details:
DATA:
FP_EVENTID TYPE BTCEVENTID
FP_EVTPARM TYPE BTCEVTPARM
FP_ACTIVE TYPE BTCXPGFLAG
FP_JOBCNT TYPE BTCJOBCNT
FP_JOBNM TYPE BTCJOB
FP_STEPCNT TYPE BTCSTEPCNT.
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
EVENTID = FP_EVENTID
EVENTPARM = FP_EVTPARM
EXTERNAL_PROGRAM_ACTIVE = FP_ACTIVE
JOBCOUNT = FP_JOBCNT
JOBNAME = FP_JOBNM
STEPCOUNT = FP_STEPCNT
EXCEPTIONS
NO_RUNTIME_INFO = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
* Error calling FM: GET_JOB_RUNTIME_INFO
ENDIF.
DATA: FP_VARIANT TYPE BTCVARIANT.
SELECT JOBNAME JOBCOUNT STEPCOUNT VARIANT
FROM TBTCP
INTO TABLE L_IT_TBTCP
WHERE JOBNAME = FP_JOBNM
AND JOBCOUNT = FP_JOBCNT
AND STEPCOUNT = FP_STEPCNT.
IF SY-SUBRC = 0.
SORT L_IT_TBTCP BY JOBNM JOBCNT STEPCNT.
READ TABLE L_IT_TBTCP INTO L_WA_TBTCP INDEX 1.
IF SY-SUBRC = 0.
FP_VARIANT = L_WA_TBTCP-VARIANT.
ENDIF.
ENDIF.
Hope this helps.
BR,
Suhas -
C Programming: How can we get the filesystem name for a given file-path?
C Programming: How can we get the filesystem name for a given file-path?
Say I have a filepath=/mnt1/file1
Using some OS API like stat, can I get the Filesystem /mnt ?
Thanks in advance,
-VEnter the command up to the point of entering the file path and add a space, then drag the file into the terminal window. It will fill out the path.
If you need to go further into the contents of the Application package, you can continue with /Contents...
Another way is to start typing and then hit Tab to auto-complete. It will stop where it can't determine the next letter.
So, type /App tab and it will fill in /Applications. Type a / and start with the name of the app, then tab and it should complete. Continue till you have the correct path.
Spaces will be replaced with \<space>, so, App Store would end up as /Applications/App\ Store.app -
How to get the owner name for the file in ftp using abap ?
Hi folks ,
How to get the owner name for the file in ftp using abap ? please help me very ugernt . I tried with all standard FTP commands
but doest work out me . Helping in this regard highly appreciated ...
Thanks and regards,
Swarupa VanarchiHi
dont you have used the os user while calling the FTP_CONNECT FM?
Hope you are not talking about the user executing the FTP program.
Else If you are talking about the FTP file creator then its not related to abap as you can handle it by maintaining the user in file name itself.
May be i am going too far with if and elses here as your question possesses no clarity.
Plz elaborate your requirement before anybody can help.
Regards
sateesh -
Assign Logical file name for the physical file path through Program
Hi all,
I am having a physical file which is getting generated dynamically. It is having the date and time stamp in its name which is added at runtime.
Now I need to assign a logical file name for the physical file path through the program.
Is there any FM or any other method to assign the same.
GauravI think it is not possible. becuase the date & time added at runtime. so if you check the table PATH you can find filename and their definitions
a® -
I keep getting error message (cannot save as "file name" because of a program error)
I opened a pdf in photoshop and when I need to save it back as a pdf i get this error (cannot save as "file name" because of a program error). I need to save it specifically as PDF/X-1a:2001 but the only pdf options that will work are "highest quality print" and "smallest file size". None of the others work. I'm running Photoshop CS5 on a PC laptop and I tried it on my desktop and also a mac running CS 5.5 and always get the same error. I think the problem might be with the custom color settings I have but it works fine on my work computer with the same color settings. What could be going on?
Yes, it's probably related to your color settings in some way. Why you are doing it in the first place...? Since they are ISO standards there is simply no liberty in choosing arbitrary settings for PDF/X, especially the archicval flavors... So in conclusion you will have to make your color settings compliant. The crash itself is probably a bug in the PDF libraries and it may work at your office because there you may use a different version of Acrobat/ Adobe Reader and the associated PDF libraries which do not have this bug. Still, the initial issue remains: You need to work within the spec, not against it.
Mylenium -
FM for getting teh file name with path
Hi guys,
Is there an fm getting the file name with path given the physical path and file name? Thanks!Hi Mark,
Function Module WS_FILENAME_GET is obsolete, dont use it.
Use the Method file_open_dialog of class cl_gui_frontend_services as given below.
DATA:
lt_filetable TYPE filetable,
lf_rc TYPE i,
lv_filename(50) TYPE c,
lv_fileext(3) TYPE c,
ls_file TYPE file_table,
lv_file TYPE localfile,
lv_title TYPE string.
lv_title = sy-title.
lv_progname = sy-cprog.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = lv_title
file_filter = '*.txt'
multiselection = abap_false
CHANGING
file_table = lt_filetable
rc = lf_rc
EXCEPTIONS
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
not_supported_by_gui = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
DISPLAY LIKE 'E'
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
EXIT.
ENDIF.
* Number of selected filed must be equal to one.
CHECK lf_rc = 1.
* Access selected file
READ TABLE lt_filetable INTO ls_file INDEX 1.
CHECK sy-subrc = 0.
lv_file = ls_file-filename.
SPLIT lv_file AT '.' INTO lv_filename lv_fileext.
Revert back if you need clarifications.
Regards
Karthik D -
Getting the file name using ehdr:getRequestHeader function in style sheet
Hi, I am facing an issue while using ehdr:getRequestHeader function to get the name of the file, which was placed in FTPS server and read by FTP Adapter. In style sheet I am trying to get the file name as below.
<xsl:variable name="fileName"
select="ehdr:getRequestHeader('/fhdr:InboundFTPHeaderType/fhdr:fileName','fhdr=http://xmlns.oracle.com/pcbpel/adapter/ftp/;')"/>
and based on the file name I am trying to fetch the values from Property file, map it to a schema and make a SOAP service call.
When i use the above functionality in style sheet exception occurs and in ESB instance I am not able to view the exception.
It is saying as 'Details of the message are not available, The message details would have been purged'. In logs it is showing the following error trace.
<MSG_TEXT>Failed to process deferred message</MSG_TEXT>
<SUPPL_DETAIL>oracle.tip.esb.server.common.exceptions.BusinessEventRejectionException: Error occured while handling monitor message dequeued from monitor topic. Message text is "<activityMessages><activityMessage order='10' type='6'><flowId>cRfy7g6a-8HDUKqyf4GsKw==</flowId><subFlowId>1245307693657</subFlowId><timestamp>1245307703862</timestamp><operationGUID>2F1C13905B3F11DE8F0BD923A1148BB1</operationGUID><operationQName>ESBTest.InvokeESB</operationQName><errorMessage><![CDATA[An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: serialization error: java.lang.IllegalArgumentException: getSerializer requires a Java type and/or an XML type
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1714)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1460)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeInputOnlyOperation(WSIFOperation_JaxRpc.java:1141)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:894)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:810)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:832)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:227)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:136)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:407)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:165)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:310)
at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:547)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:529)
at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:161)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:119)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:65)
at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.processMessage(ESBListenerImpl.java:722)
at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.onMessage(ESBListenerImpl.java:407)
at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:281)
at oracle.tip.adapter.file.inbound.ProcessWork.publishMessage(ProcessWork.java:1173)
at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:882)
at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:342)
at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:224)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:825)
at java.lang.Thread.run(Thread.java:595)
]]></errorMessage><exception><![CDATA[oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: serialization error: java.lang.IllegalArgumentException: getSerializer requires a Java type and/or an XML type
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1714)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1460)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeInputOnlyOperation(WSIFOperation_JaxRpc.java:1141)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:894)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:810)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:832)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:227)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:136)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:407)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:165)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:205)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:136)
at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:310)
at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:547)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:529)
at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:161)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:119)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:65)
at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.processMessage(ESBListenerImpl.java:722)
at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.onMessage(ESBListenerImpl.java:407)
at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:281)
at oracle.tip.adapter.file.inbound.ProcessWork.publishMessage(ProcessWork.java:1173)
at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:882)
at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:342)
at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:224)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:825)
at java.lang.Thread.run(Thread.java:595)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:1020)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:810)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:832)
at oracle.tip.esb.server.service.impl.outadapte]]></exception><retryable>false</retryable></activityMessage></activityMessages>"
at oracle.tip.esb.monitor.manager.ActivityMessageReceiver.handleMessage(ActivityMessageReceiver.java:96)
at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:178)
at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:132)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:825)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.tip.esb.monitor.MonitorException: Due to the error "", the activity message could not be stored.
at oracle.tip.esb.monitor.manager.database.AbstractFaultPersister.persist(AbstractFaultPersister.java:107)
at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.persistMessage(DBActivityMessageStore.java:340)
at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.store(DBActivityMessageStore.java:131)
at oracle.tip.esb.monitor.manager.ActivityMessageReceiver.handleMessage(ActivityMessageReceiver.java:83)
... 7 more
Caused by: java.lang.NullPointerException
at oracle.tip.esb.monitor.manager.database.oracle.OracleFaultPersister.persist(OracleFaultPersister.java:102)
at oracle.tip.esb.monitor.manager.database.AbstractFaultPersister.persist(AbstractFaultPersister.java:105)
... 10 more
</SUPPL_DETAIL>
When I use the same function getRequestHeader for FileAdapter, it is working fine. Do anyone know why this issue occurs? Is this an issue with environment?As far as I can see the problem is the invoke of the SOAP service. This could be because of an empty filename but maybe there are other issues. First, make sure that the filename is read correctly by looking it up in the BPEL runtime process. Maybe the content is different than you expected it so that the read action for the properties give wrong result. Are you sure that ehdr is the correct prefix for the ftpheader?
-
Changing trace file name giving odd results - 10.2.0.2
Hello,
I'm trying to run a trace on a particular session. Using this:
execute dbms_monitor.session_trace_enable(122, 58)
It creates a tracefile in udump just fine. I turn tracing off:
execute dbms_monitor.session_trace_disable(122, 58)
Then the trace usually catches the next sql statement after I issued the disable and I've got a complete trace file.
If I use the statement:
alter session set tracefile_identifier = 'TEST';
With or without quotes, what ends up happening is the tracefile is created with TEST tacked onto the end but what's inside the file is the full path to the file itself, no trace. The previous trace file before setting the identifier then gets all the trace output. This is on Red Hat. After this the only way to get tracing to work again is to close both sessions and start over.
Am I forgetting to set another parameter when doing this? The litteral set of steps is:
-open session 1
-open session 2
-session 1 run alter session set tracefile_identifier = 'TEST';
-session 1 run execute dbms_monitor.session_trace_enable(122, 58)
-session 2 run some sql
-session 1 run execute dbms_monitor.session_trace_disable(122, 58)
-session 2 run another sql statement
-check the udump for the trace file
Now the ultimate goal here is to be able to tag a trace with a name so I can trace a specific session (made by an application) and then find it later in udump. If the tracefile_id needs to be set in the offending session...well then I need another solution.
ThanksOnce the session starts writing to the trace file it
is going to write to the same file until the session
is closed.
Until the session is closed...aaahhhh gotcha. Well that explains that.
I tried the above with a new session and immediately set the identifier and got the same result, except it created the default trace file name as well as the new identifier copy with the path in it.
The logon trigger might be a workaround but it's not killing me at the moment. -
Indentifying trace file name?
I'm looking for a way to "know" the trace file name of a session being traced from within PL/SQL.
For instance, if I turn trace on during the execution of a PL/SQL block using DBMS_MONITOR, is there a way to KNOW the name of the trace file that gets generated.
DougWhile the SQL statement mentioned here works in a lot of cases, it is "concocted" at best.
I have been told that HPUX and Solaris versions of Oracle have different naming standards for trace files that don't conform strictly to the format that the SQL statement uses.
If at all possible I want to KNOW the name of the file, not assume it.
My initial thought was that there might be a "DBMS*" package that might provide such information, but I have not found anything yet.
Anyone know of something that might provide this?
Doug -
Logical file names in your application programs
hi all ,
how i used FILE_GET_NAME function module in my program ,to logical file name for platform-independent files.
thank you.Hi Pawan,
you can use as below:
DATA: gv_physicalpath TYPE path-pathextern.
CONSTANTS: gc_logicalpath TYPE filepath-pathintern
VALUE 'MMIM_PHYSICAL_INVENTORY_DOCUMENTS'.
* Get corresponding physical path for the logical path
PERFORM get_physical_path USING gc_logicalpath
CHANGING gv_physicalpath.
FORM get_physical_path USING p_gc_logicalpath
CHANGING p_gv_physicalpath.
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
logical_filename = p_gc_logicalpath
operating_system = sy-opsys
IMPORTING
file_name = p_gv_physicalpath
EXCEPTIONS
file_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " get_physical_path
<b>Reward for helpful answers</b>
Satish -
In a R12 Dev instance, we have trace files generated after turning on the "Concurrent: Allow Debugging" option at the user level (ID 301372.1).
Is there a way to identify the trace file names?
From prior runs, it seems that the trace file name is formatted as "<instance name>_ora_<a number>_<user name>.trc".
I thought that the "a number" field would be the same as the oracle_process_id value from fnd_concurrent_requests, but it is not.
Is there a way to get the "a number" from Oracle so that we can let the DBA know which specific file needs to be TKProf? This will help as we do not want all the files for the user to have TKProf run on.Jai001 wrote:
In a R12 Dev instance, we have trace files generated after turning on the "Concurrent: Allow Debugging" option at the user level (ID 301372.1).
Is there a way to identify the trace file names?
From prior runs, it seems that the trace file name is formatted as "<instance name>_ora_<a number>_<user name>.trc".
I thought that the "a number" field would be the same as the oracle_process_id value from fnd_concurrent_requests, but it is not.
Is there a way to get the "a number" from Oracle so that we can let the DBA know which specific file needs to be TKProf? This will help as we do not want all the files for the user to have TKProf run on.Please run the query in (How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1]).
Thanks,
Hussein
Maybe you are looking for
-
Why do I need to use MOLGA?
I know that this is a very basic question, but I have been asked why do we need to have a new MOLGA for every country; what I know of is: 1. Is the standard method of supporting multi-country (Global) HCM. MOLGA is central to the SAP HCM solutio
-
Can i put a larger hard drive in my mac
running out of space on my hard drive (300gb) and just wondered if you can easily put a larger drive in?
-
How do I get a black and white photo in Photoshop Elements 11?
I have a very old version of Photoshop, release 6 I believe. In that release, I am able to use enhance/brightness and contrast, and when I slide the contrast to 100%, I get a pure black and white image of my photo. I Photoshop 11, which I just purc
-
Tables icon displaying yellow in BMM layer.
Hi all, When i was tring to drag drop tables from physical layer to BMM layer it's showing yellow icons..... Scenario is as follows: tables: EMP, DEPT, BONUS, SALGRADE. I have created complex join in Physical layer between EMP and SALGRADE (condition
-
Auto suspend on idle without Gnome or KDE? [SOLVED]
This may be a stupid question but I've never had to actually mess with this before on a system without Gnome or KDE installed (they have their own utilities which tends to make this easy) and I've spent an hour researching to no avail. I'm looking fo