Handling Issues in Oracle
Hi Experts,
It seems that there is lot of issues in my ORACLE Server stating
ORA-00054: resource busy and acquire with NOWAIT specified
I guess this happens when transactions is not committed from front end (PHP), So i just need to query what are the sessions available in block status and need to send an alert mail ... for this.
Can some one help me in achieving this?
Thanks,
Dharan V
Hi,
This is My Trigger
CREATE OR REPLACE TRIGGER TRG_TESTL AFTER SERVERERROR ON DATABASE
DECLARE
vUserName VARCHAR2(100);
vSessionId VARCHAR2(50);
vObject VARCHAR2(1000);
vObjectType VARCHAR2(30);
vStatus VARCHAR2(100);
vModeHeld VARCHAR2(200);
BEGIN
SELECT
oracle_username || ' (' || s.osuser || ')' username
,s.sid || ',' || s.serial# sess_id
,owner || '.' || object_name object
,object_type
,decode( l.block
,0, 'Not Blocking'
,1, 'Blocking'
,2, 'Global') status
,decode(v.locked_mode
,0, 'None'
,1, 'Null'
,2, 'Row-S (SS)'
,3, 'Row-X (SX)'
,4, 'Share'
,5, 'S/Row-X (SSX)'
,6, 'Exclusive', TO_CHAR(lmode)) mode_held
INTO
vUserName,vSessionId,vObject,vObjectType,vStatus,vModeHeld
FROM
v$locked_object v
,dba_objects d
,v$lock l
,v$session s
WHERE
v.object_id = d.object_id
AND v.object_id = l.id1
AND v.session_id = s.sid
ORDER BY oracle_username,session_id;
Sp_Sendemail('UserName : '||vUserName||','||'SessionId :'||vSessionId||','||'Object Name :'||vObject||','||'Object Type:'||vObjectType||','||'Status :'||vStatus||','||'Mode Held :'||vModeHeld);
END;
Warning: TRIGGER created with compilation errors.
What i am doing wrong here?
Similar Messages
-
Facing Issue With Oracle SOA Suite 11.1.1.3.0
Hi All,
I am facing some issues with ORACLE SOA SUITE 11.1.1.3.0.
Hope you people can help us out.
Please find the issue details below along with all the relevant information’s
I have following SOA suite installation at my server:
Oracle 10g Express Edition Universal 10.2.0.1
RCU 11.1.1.3.3
Web Logic Server 10.3.3.0
SOA suite 11.1.1.3.0
JDeveloper 11.1.1.3.0
The first thing what I have done is created a web service and deployed it to server without any issue.
After that I created proxy client for that service and accessed it successfully from the client end.
Till here no issue occurs.
After that I applied few policies on top of web service and deployed it to server.
The policy I had chosen was “oracle/wss_username_token_service_policy” [coming under OWSM policies list]
While deploying there was no issue, all went well.
2nd step I had created client using “oracle/wss_username_token_client_policy” policy which is counter part of above policy and tried to access the web service but failed.
I have followed this blog:
[http://biemond.blogspot.com/2010/08/things-you-need-to-do-for-owsm-11g.html ]
Please have a look on service and client code:
Service Code:
package Demo_ScoreCard;
import javax.jws.WebService;
import weblogic.wsee.jws.jaxws.owsm.SecurityPolicy;
@WebService
@SecurityPolicy(uri = "oracle/wss_username_token_service_policy")
public class ScoreCardWithPolicy {
public double getPercentageWithPolicy(double markEng,double markMath,double markHindi,double markScience,double markSsc)
double result;
result= ((markEng+markHindi+markMath+markScience+markSsc)/500)*100;
return result;
Client Code:
package com.tec.proxy.client;
import java.util.Map;
import javax.xml.ws.BindingProvider;
import javax.xml.ws.WebServiceRef;
import weblogic.wsee.jws.jaxws.owsm.SecurityPolicyFeature;
public class ScoreCardWithPolicyPortClient {
@WebServiceRef
private static ScoreCardWithPolicyService scoreCardWithPolicyService;
public static void main(String[] args) {
scoreCardWithPolicyService = new ScoreCardWithPolicyService();
SecurityPolicyFeature[] securityFeatures =new SecurityPolicyFeature[] { new SecurityPolicyFeature("oracle/wss_http_token_client_policy") };
ScoreCardWithPolicy scoreCardWithPolicy =scoreCardWithPolicyService.getScoreCardWithPolicyPort(securityFeatures);
Map<String, Object> reqContext =((BindingProvider)scoreCardWithPolicy).getRequestContext();
reqContext.put(BindingProvider.USERNAME_PROPERTY, "testclient");
reqContext.put(BindingProvider.PASSWORD_PROPERTY, "test12345"); // I have added this to the myrealm from console under security realms
double arg1 = 77.2;
double arg2 = 79.2;
double arg3 = 77.2;
double arg4 = 76.2;
double arg5 = 67.2;
double clientResult =scoreCardWithPolicy.getPercentageWithPolicy(arg1, arg2, arg3, arg4,arg5);
System.out.println("clientResult with policy =====> " + clientResult);
Error Log:
SEVERE: WSM-07617 Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
SEVERE: WSMAgentHook: An Exception is thrown: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
Exception in thread "main" javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
at oracle.wsm.agent.handler.wls.WSMAgentHook.handleException(WSMAgentHook.java:395)
at oracle.wsm.agent.handler.wls.WSMAgentHook.init(WSMAgentHook.java:206)
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.newHandler(TubeFactory.java:105)
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.createClient(TubeFactory.java:68)
at weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$TubelineAssemblerImpl.createClient(WLSTubelineAssemblerFactory.java:148)
at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:467)
at com.sun.xml.ws.client.WSServiceDelegate.getStubHandler(WSServiceDelegate.java:689)
at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:667)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:362)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.internalGetPort(WLSProvider.java:855)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate$PortClientInstanceFactory.createClientInstance(WLSProvider.java:967)
at weblogic.wsee.jaxws.spi.ClientInstancePool.takeSimpleClientInstance(ClientInstancePool.java:621)
at weblogic.wsee.jaxws.spi.ClientInstancePool.take(ClientInstancePool.java:486)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:782)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344)
at javax.xml.ws.Service.getPort(Service.java:133)
at com.tec.proxy.client.ScoreCardWithPolicyService.getScoreCardWithPolicyPort(ScoreCardWithPolicyService.java:86)
at com.tec.proxy.client.ScoreCardWithPolicyPortClient.main(ScoreCardWithPolicyPortClient.java:23)
Process exited with exit code 1.
Not getting any help from any blog. Just wondering why this error is coming. I would be glad if you can help us in this regard.
Apart from above issue I have few queries like:
1.What is difference between OWSM policies and WLS policies?
2.Are these the only policies we can apply on top of services?
3.If some one wants to configure his own custom policies than what need to be done
4.Could anyone please provide some useful links to implement ENCYPTION and SIGNATURE on top of web services?
5.And If I am not wrong, I guess Oracle Service BUS OSB 11.1.1.3 has been removed from the main download link and version 11.1.1.4 has been provided. Is it
compatible with SOA suite 11.1.1.3.0? If not where can I get OSB 11.1.1.3?
Looking forward to hear from you people.
Thanks
Arvind
Edited by: user8490871 on Apr 15, 2011 12:53 AM
Edited by: user8490871 on Apr 15, 2011 12:53 AMHi,
I don't know why u get an error. Here are answers for additional questions:
1. OWSM policies are for web services. WLS policies are based on Java EE security. They are used to protect resources e.g. URL, EJB
2. I don't know about other policies
3. See http://download.oracle.com/docs/cd/E14571_01/web.1111/e13713/owsm_appendix.htm#CHDCHFBH
4. See http://download.oracle.com/docs/cd/E14571_01/security.1111/e10037/toc.htm
5. I can see OSB 11.1.1.3 download link here
http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html
Regards,
Milan -
Performance issues with Oracle EE 9.2.0.4 and RedHat 2.1
Hello,
I am having some serious performance issues with Oracle Enterprise Edition 9.2.0.4 and RedHat Linux 2.1. The processor goes berserk at 100% for long (some 5 min.) periods of time, and all the ram memory gets used.
Some environment characteristics:
Machine: Intel Pentium IV 2.0GHz with 1GB of RAM.
OS: RedHat Linux 2.1 Enterprise.
Oracle: Oracle Enterprise Edition 9.2.0.4
Application: We have a small web-application with 10 users (for now) and very basic queries (all in stored procedures). Also we use the latest version of ODP.NET with default connection settings (some low pooling, etc).
Does anyone know what could be going on?
Is anybody else having this similar behavior?
We change from SQL-Server so we are not the world expert on the matter. But we want a reliable system nonetheless.
Please help us out, gives some tips, tricks, or guides
Thanks to all,
FrankThank you very much and sorry I couldnt write sooner. It seems that the administrator doesnt see the kswap going on so much, so I dont really know what is going on.
We are looking at some queries and some indexing but this is nuts, if I had some poor queries, which we dont really, the server would show pick right?
But he goes crazy and has two oracle processes taking all the resources. There seems to be little swapping going on.
Son now what? They are all ready talking about MS-SQL please help me out here, this is crazy!!!
We have, may be the most powerful combinations here. What is oracle doing?
We even kill the Working Process of the IIS and have no one do anything with the database and still dose two processes going on.
Can some one help me?
Thanks,
Frank -
Hi Experts,
I am facing a strange issue in oracle rdf reports.
Requesting an assistance from you.
I have a report which displays the vendor information.
For all the vendors the layout is working fine for me, but for one particular vendor the vendor name is splitting into 2 lines as follows.
EAD - Empresa de Arquivo de
Documentação, SA
But it is one name as 'EAD - Empresa de Arquivo de Documentação, SA'.
Please help me on this. how to display this as a single value.
Thanks,
Zaheer.This is probably because the field is not wide enough. Check the horizontal elasticity property of this field (and possibly the frames around it).
-
Issue with Oracle LONG RAW data type
Hi All,
I am facing some issues with Oracle LONG RAW DATA Type.
We are using Oracle 9IR2 Database.
I got a table having LONG RAW column and I need to transfer the same into another table having LONG RAW column.
When I tried using INSERT INTO SELECT * command (or) CREATE TABLE as select * , it is throwing ORA-00997: illegal use of LONG datatype.
I have gone through some docs and found we should not use LONG RAW using these operations.
So I did some basic PLSQL block given below and I was able to insert most of the records. But records where the LONG RAW file is like 7O kb, the inserting is faliling.
I tried to convert LONG RAW to BLOB and again for the record where the LONG RAW is big in size I am getting (ORA-06502: PL/SQL: numeric or value error) error.
Appreciate if anyone can help me out here.
DECLARE
Y LONG RAW;
BEGIN
FOR REC IN (SELECT * FROM TRU_INT.TERRITORY WHERE TERRITORYSEQ=488480 ORDER BY TERRITORYSEQ ) LOOP
INSERT INTO TRU_CMP.TERRITORY
BUSINESSUNITSEQ, COMPELEMENTLIFETIMEID, COMPONENTIMAGE, DESCRIPTION, ENDPERIOD, GENERATION, NAME, STARTPERIOD, TERRITORYSEQ
VALUES
REC.BUSINESSUNITSEQ, REC.COMPELEMENTLIFETIMEID, REC.COMPONENTIMAGE, REC.DESCRIPTION, REC.ENDPERIOD, REC.GENERATION, REC.NAME,
REC.STARTPERIOD, REC.TERRITORYSEQ
END LOOP;
END;
/Maddy wrote:
Hi All,
I am facing some issues with Oracle LONG RAW DATA Type.
We are using Oracle 9IR2 Database.
I got a table having LONG RAW column and I need to transfer the same into another table having LONG RAW column.
When I tried using INSERT INTO SELECT * command (or) CREATE TABLE as select * , it is throwing ORA-00997: illegal use of LONG datatype.
I have gone through some docs and found we should not use LONG RAW using these operations.
So I did some basic PLSQL block given below and I was able to insert most of the records. But records where the LONG RAW file is like 7O kb, the inserting is faliling.
I tried to convert LONG RAW to BLOB and again for the record where the LONG RAW is big in size I am getting (ORA-06502: PL/SQL: numeric or value error) error.
Appreciate if anyone can help me out here.
DECLARE
Y LONG RAW;
BEGIN
FOR REC IN (SELECT * FROM TRU_INT.TERRITORY WHERE TERRITORYSEQ=488480 ORDER BY TERRITORYSEQ ) LOOP
INSERT INTO TRU_CMP.TERRITORY
BUSINESSUNITSEQ, COMPELEMENTLIFETIMEID, COMPONENTIMAGE, DESCRIPTION, ENDPERIOD, GENERATION, NAME, STARTPERIOD, TERRITORYSEQ
VALUES
REC.BUSINESSUNITSEQ, REC.COMPELEMENTLIFETIMEID, REC.COMPONENTIMAGE, REC.DESCRIPTION, REC.ENDPERIOD, REC.GENERATION, REC.NAME,
REC.STARTPERIOD, REC.TERRITORYSEQ
END LOOP;
END;
/below might work
12:06:23 SQL> help copy
COPY
Copies data from a query to a table in the same or another
database. COPY supports CHAR, DATE, LONG, NUMBER and VARCHAR2.
COPY {FROM database | TO database | FROM database TO database}
{APPEND|CREATE|INSERT|REPLACE} destination_table
[(column, column, column, ...)] USING query
where database has the following syntax:
username[/password]@connect_identifier -
Deadlock issue in Oracle 10g Partitioned Tables
Hi ALL,
I am facing an issue of Deadlock while inserting data into a partitioned table.
I get an error "ORA-00600: Deadlock detected". when i see the trace files, following lines are appearing in them:
"Single resource deadlock: blocking enqueue which blocks itself".
Here is the detail of my test case:
1. I have a list-partitioned table, with partitioning defined on some business codes.
2. I have a query that merges data into partitioned table (actually compares unique keys between temporary table and partitioned table and then issue an insert if keys not matched, no update part).
3. The temporary table contains transactional data against many business codes.
3. when calling the above query from multiple (PL/SQL) sessions, i observe that when we merge data in same partition (from different sessions) than deadlock issue occurs, otherwise it is OK.
4. Note that all sessions are executed at same time. Also note that Commit is called after each session is completed. Each session contains 2-3 more queries after the mentioned merge statement.
Is there an issue with oracle merge/insert on same partition (from different sessions)? What is the locking mechanism for this particular case (partitioned tables)?
My oracle version is Oracle 10g (10.2.0.4). Kindly advice.
Thanks,
QQ.Could you print the deadlock tree so we can see the type and mode of the locking. (Please use the 'code' tags - see FAQ at top right of screen - to showthe output in fixed font). can you list any SQL operated by this session that gets reported in the trace file.
Does the table reference itself in a foreign key.
Is this table involved in any referential integrity constraints.
Do you have a global primary key index, or a local primary key index ?
Are there any triggers on the table - if so do they contain autonomous transactions.
At present the only though that springs to mind is that the merge command has to lock the target table to do the insert/update, but it also has to lock any child table. The mode of the child lock depends on whether it has a suitable index or not, and whether the child table IS also the parent table. If you have two merges to the same partition one partition may get its locks, and the other partition may be in a state where it can't get one of the locks because it's wait for the other. (This shouldn't be a self-deadlock, though, but the scenario might be heading in the right direction for a self-deadlock).
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge." (Stephen Hawking) -
Connectivity issues from Oracle to Sybase
Friends.
I have connectivity issue from Oracle 9.2.0.1 to Sybase 12.5 ASE .I am connecting through the database link in oracle to access the tables.
The error message i am getting :
select count(*) from TEST_TABLE@IND_TEST;
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
523 80
ORA-02063: preceding 2 lines from IND_TEST
Please guide me how to solve this error message. is it version incompatible now?
Thanks
RockyHi,
You are now making the connection to the Sybase database but there is a problem with the user and password used in the database link.
Sybase is case sensitive for names so you need to surround the user/password in double quotes to make sure they are passed to Sybase in the correct case -
create database link ind_test connect to "sybuser" identified by "sybpass" using 'tnsnames_ora_entry' ;
where sybuser is the userid as created in Sybase with the password sybpass.
If they were setup in Sybase in mixed case then it would be -
create database link ind_test connect to "Sybuser" identified by "Sybpass" using 'tnsnames_ora_entry' ;
Regards,
Mike
Edited by: mkirtley on Sep 27, 2011 12:55 PM -
Issue in Oracle Pricing - Creating a new pricelist line
Hi All,
We have an issue in Oracle Pricing.
In a price list we have an existing line with some product precedence value, start date as not null and end date as null.
Now through our PL/SQL code (using the API qp_price_list_pub.process_price_list) we are creating a new line with the same item, what happens is a new line is created and the existing line is end dated with the new line's start_date-1, but the precedence of the existing line is made null.
We are unable to understand, is this a standard functionality and if not then what might be done to retain the previous line's precedence value.
Any help in this would be of great help.
Regards,
ShrutiHi All,
Can anyone please help me with the above issue....its getting critical for our client.
Regards,
Shruti -
Usage of "IN" clause issue in oracle 9i
I HAVE QUERY
SELECT COUNT(*) FROM QUOTE WHERE OID IN (SELECT PARENT_ID FROM PARTY WHERE PARTY.COMPANY_ID = 1 AND PARTY.TYPE = 6)
Result returns zero rows. But there are 25000 rows in quote table with parent key of party table
WHEN I EXECUTE THE SAME AS
SELECT COUNT(*) FROM QUOTE WHERE OID IN (SELECT PARENT_ID FROM PARTY WHERE PARTY.COMPANY_ID = 1 AND PARTY.TYPE = 6
AND ROWNUM < 100000)
I AM ABLE TO GET THE RESULT.
MY QUESTION WHY IT NEED ROWNUM AND ALSO I FOUND IN 8i there is no such issue.
I AM FACING THE ABOVE ISSUE IN ORACLE 9i.
pl. let us know why and how it can be resolved.
Also i won't be able to use JOIN to resolVe this as
SELECT COUNT(*) FROM QUOTE, PARTY WHERE QUOTE.ID = PARTY.PARENT_ID AND PARTY.COMPANY_ID = 1 AND PARTY.TYPE = 6
will result duplicate.
pl do the needful. urgentI don't know what is causing your error, but you have many options, including:
SELECT COUNT(*) FROM QUOTE Q
WHERE EXISTS (SELECT 1 FROM PARTY P WHERE P.COMPANY_ID=1 AND P.TYPE=6 AND P.PARENT_ID=Q.OID);
SELECT COUNT(DISTINCT QUOTE.ID) FROM QUOTE, PARTY WHERE QUOTE.ID = PARTY.PARENT_ID AND PARTY.COMPANY_ID = 1 AND PARTY.TYPE = 6; -
Hi Team,
I have a setup issue in oracle projects
I am unable to find the classifications link in oracle projects page.
Navigation : Go to any projects responsibility-->search for the projects-->click on project -->click on setup Tab : At the bottom of the page, we can see some standard links along with UDA's.
Here one standard link Classifications is missing.
Can anybody guide me what setup we need to do get the link.
Thank you.Hi,
The classifications link is not appearing in your Project's Setup page because, Classifications must have been unchecked in the Project template from which your project has been created. You can find the Project template information by clicking on the Additional Information link in the same Project -setup page. Once you check the classification flag in the concerned Project Template, all future Project creations made out of this template would have the link enabled.
But for the current project, classification link cannot be enabled.
Rgds,
Shan -
Facing issues with oracle client installation 32 bit 10.2.0.1
Hi ,
I am facing issues with oracle client installation 32 bit 10.2.0.1
Windows 2008 R2 enterprise edition 64 bit
Java 1.6 update 34
Below is the error recieved:
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x8079055
Function=[Unknown.]
Library=C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\client\jvm.dll
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(Native Method)
at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(OiipwWin32NativeCalls.java:516)
at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(OiipwWin32NativeCalls.java:473)
at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.setInstallerKey(OiipgBootstrap.java:511)
at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.updateInventoryLoc(OiipgBootstrap.java:418)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.doInvSetupOperations(OiicSessionInterfaceManager.java:401)
at oracle.sysman.oii.oiic.OiicInvSetupWCCE.doOperation(OiicInvSetupWCCE.java:217)
at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1273)
at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)
at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:547)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:935)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:872)
Dynamic libraries:
0x00400000 - 0x0040B000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\javaw.exe
0x77C60000 - 0x77DE0000 C:\Windows\SysWOW64\ntdll.dll
0x75AB0000 - 0x75BC0000 C:\Windows\syswow64\kernel32.dll
0x77420000 - 0x77467000 C:\Windows\syswow64\KERNELBASE.dll
0x77370000 - 0x77410000 C:\Windows\syswow64\ADVAPI32.dll
0x76610000 - 0x766BC000 C:\Windows\syswow64\msvcrt.dll
0x75DD0000 - 0x75DE9000 C:\Windows\SysWOW64\sechost.dll
0x776E0000 - 0x777D0000 C:\Windows\syswow64\RPCRT4.dll
0x757C0000 - 0x75820000 C:\Windows\syswow64\SspiCli.dll
0x757B0000 - 0x757BC000 C:\Windows\syswow64\CRYPTBASE.dll
0x77470000 - 0x77570000 C:\Windows\syswow64\USER32.dll
0x764F0000 - 0x76580000 C:\Windows\syswow64\GDI32.dll
0x77C30000 - 0x77C3A000 C:\Windows\syswow64\LPK.dll
0x75820000 - 0x758BD000 C:\Windows\syswow64\USP10.dll
0x74EA0000 - 0x74EEC000 C:\Windows\system32\apphelp.dll
0x6EF10000 - 0x6EF9D000 C:\Windows\AppPatch\AcLayers.DLL
0x76720000 - 0x7736A000 C:\Windows\syswow64\SHELL32.dll
0x761D0000 - 0x76227000 C:\Windows\syswow64\SHLWAPI.dll
0x76350000 - 0x764AC000 C:\Windows\syswow64\ole32.dll
0x75F30000 - 0x75FBF000 C:\Windows\syswow64\OLEAUT32.dll
0x74660000 - 0x74677000 C:\Windows\system32\USERENV.dll
0x74650000 - 0x7465B000 C:\Windows\system32\profapi.dll
0x74340000 - 0x74391000 C:\Windows\system32\WINSPOOL.DRV
0x74570000 - 0x74582000 C:\Windows\system32\MPR.dll
0x6E8B0000 - 0x6EAC8000 C:\Windows\AppPatch\AcGenral.DLL
0x6EFA0000 - 0x6F020000 C:\Windows\system32\UxTheme.dll
0x6F060000 - 0x6F092000 C:\Windows\system32\WINMM.dll
0x74840000 - 0x7484F000 C:\Windows\system32\samcli.dll
0x6F0D0000 - 0x6F0E4000 C:\Windows\system32\MSACM32.dll
0x74C80000 - 0x74C89000 C:\Windows\system32\VERSION.dll
0x6F340000 - 0x6F343000 C:\Windows\system32\sfc.dll
0x6F260000 - 0x6F26D000 C:\Windows\system32\sfc_os.DLL
0x6F040000 - 0x6F053000 C:\Windows\system32\dwmapi.dll
0x758C0000 - 0x75A5D000 C:\Windows\syswow64\SETUPAPI.dll
0x75C90000 - 0x75CB7000 C:\Windows\syswow64\CFGMGR32.dll
0x77570000 - 0x77582000 C:\Windows\syswow64\DEVOBJ.dll
0x75DF0000 - 0x75F27000 C:\Windows\syswow64\urlmon.dll
0x775A0000 - 0x77695000 C:\Windows\syswow64\WININET.dll
0x75FD0000 - 0x761CF000 C:\Windows\syswow64\iertutil.dll
0x76230000 - 0x7634E000 C:\Windows\syswow64\CRYPT32.dll
0x75FC0000 - 0x75FCC000 C:\Windows\syswow64\MSASN1.dll
0x6F0C0000 - 0x6F0C6000 C:\Windows\system32\SHUNIMPL.DLL
0x6F030000 - 0x6F03D000 C:\Windows\system32\SortServer2003Compat.dll
0x75CC0000 - 0x75D20000 C:\Windows\system32\IMM32.DLL
0x75BC0000 - 0x75C8C000 C:\Windows\syswow64\MSCTF.dll
0x08000000 - 0x08138000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\client\jvm.dll
0x10000000 - 0x10007000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\hpi.dll
0x003F0000 - 0x003FE000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\verify.dll
0x007B0000 - 0x007C9000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\java.dll
0x007D0000 - 0x007DE000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\zip.dll
0x051D0000 - 0x052E2000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\awt.dll
0x052F0000 - 0x05341000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\fontmanager.dll
0x6E7C0000 - 0x6E8A7000 C:\Windows\system32\ddraw.dll
0x6F020000 - 0x6F026000 C:\Windows\system32\DCIMAN32.dll
0x75DA0000 - 0x75DCD000 C:\Windows\syswow64\WINTRUST.dll
0x6E6F0000 - 0x6E7BC000 C:\Windows\system32\D3DIM700.DLL
0x05770000 - 0x05793000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\JavaAccessBridge.dll
0x007E0000 - 0x007E5000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\jawt.dll
0x007F0000 - 0x007F7000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\JAWTAccessBridge.dll
0x06340000 - 0x06359000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\oui\lib\win32\oraInstaller.dll
0x06470000 - 0x0648E000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\jpeg.dll
0x776B0000 - 0x776DA000 C:\Windows\syswow64\imagehlp.dll
0x6E600000 - 0x6E6EB000 C:\Windows\syswow64\dbghelp.dll
0x776A0000 - 0x776A5000 C:\Windows\syswow64\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 704K, used 90K [0x10010000, 0x100d0000, 0x10770000)
eden space 640K, 13% used [0x10010000, 0x10026448, 0x100b0000)
from space 64K, 2% used [0x100c0000, 0x100c07a8, 0x100d0000)
to space 64K, 0% used [0x100b0000, 0x100b0000, 0x100c0000)
tenured generation total 8436K, used 5698K [0x10770000, 0x10fad000, 0x16010000)
the space 8436K, 67% used [0x10770000, 0x10d00a40, 0x10d00c00, 0x10fad000)
compacting perm gen total 12288K, used 12049K [0x16010000, 0x16c10000, 0x1a010000)
the space 12288K, 98% used [0x16010000, 0x16bd47a0, 0x16bd4800, 0x16c10000)
Local Time = Thu Aug 22 14:42:03 2013
Elapsed Time = 40
# HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
Thanks10.2.0.1 is not supported/certified on Win 2008, so expect issues with the install and/or with using the software.
Why cannot you use a supported version - minimum is 10.2.0.4, which is only available to customers with an Extended Support contract
http://docs.oracle.com/cd/B19306_01/relnotes.102/b14264/toc.htm#BABGFAJI
HTH
Srini -
How to resolve this installation issue: checking Oracle home path for space
Hi everyone
I am quite new to Oracle. I have been trying to install Oracle 11g on XP and have encountered this issue:
Checking Oracle Home path for spaces...
Check complete. The overall result of this check is: Failed <<<<
Problem: The Oracle Home you have specified contains spaces ( ) in the path.
Recommendation: You must choose an Oracle Home path that doesn't contain any spaces.
========================================================
How can I solve this problem?
Could you please let me know.
Tx
YelHi yel;
Checking Oracle Home path for spaces...
Check complete. The overall result of this check is: Failed <<<<
Problem: The Oracle Home you have specified contains spaces ( ) in the path.
Recommendation: You must choose an Oracle Home path that doesn't contain any spaces.
========================================================
How can I solve this problem?
Could you please let me know.Please use folder name as ORACLE not ORACLE 10g or ORACLE_10g or ORACLE10 g etc
Hope it helps
Regard
Helios -
Issues with Oracle in a new location.
Hello -
I recently had to change the computer name of a Windows 2003 SP2 test server. Among other software installed was Oracle 10g r2. There were issues with Oracle in its new location where it was trying to reference the old computer name.
I assumed that all I would have to do to correct the issue was to search all of Oracle’s .ORA files and replace the old server name with the new one. (Plus, of course, changing the Windows Host file entry).
But I’m finding that Oracle on Windows apparently has many other references to the original computer name. For example, there are subdirectories in the Oracle Home directory tree structure where the directories themselves contain the old computer name. (I’ve attached a screenshot of a file search off the Oracle directory tree for “BRI2KSRV” which is the test server’s old name. “Bri2ksrv.jax.fnfis.com” was the server’s old fully qualified name. ORCL is/was the default instance name).
For example, these directories were found:
..\oracle\product\10.2.0\db_1\bri2ksrv.jax.fnfis.com_orcl
..\oracle\product\10.2.0\db_1\log\bri2ksrv
..\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_bri2ksrv.jax.fnfis.com_orcl
What are the recommended steps when changing the Windows computer name (and thus the fully qualified network references) on a Windows 2003 Server which has a functioning Oracle 10g R2 instance?
Thanks!These directory you mentioned are EM control directory. You need to reconfigure your EM with new server name.
If you are using server name instead of IP address in listener.ora and tnsnames.ora you need to change these as well. -
Issue for Oracle Path Set 10.2.0.4.0 installation
Hello
SAP: ECC6 SR3
DB: Oracle 10g
OS: RHEL5_x86_64
I'm facing a issue during Oracle Patch set 10.2.0.4.0 application
- Runinstall start but after 1% installation receive following error message.
INFO: Exception thrown from action: copyGroupFromJar
Exception Name: IOException2
Exception String: Error in writing to file '/oracle/DEV/102_64/jdk/bin/java'. [/oracle/DEV/102_64/jdk/bin/java (Text file busy)]
Exception Severity: 2
Thanks for your support
Regards
EricHi Eric,
Including the other suggestions, rename the file '/oracle/DEV/102_64/jdk/bin/java' to '/oracle/DEV/102_64/jdk/bin/java.1' then restart the installation.
Best regards,
Orkun Gedik -
Item Conversion Template Issue for Oracle Migration - Copy functionality
Hi,
I am working on Migration project which is from Radius ERP to Oracle 11.5.10.2.
Currently working on Item Conversion. This Item conversion having the fileds like (ORGANIZATION_ID,SEGMENT1,DESCRIPTION,ITEM_TYPE,COST_OF_SALES_ACCOUNT,SALES_ACCOUNT,ATTRIBUTE_CATEGORY,ATTRIBUTE1,ATTRIBUTE2,ATTRIBUTE3,ATTRIBUTE4,ATTRIBUTE5,ATTRIBUTE6,ATTRIBUTE7,ATTRIBUTE8,ATTRIBUTE9,ATTRIBUTE10,ATTRIBUTE11,ATTRIBUTE12,ATTRIBUTE13,ATTRIBUTE14,ATTRIBUTE15,GLOBAL_ATTRIBUTE10,REF_INVENTORY_ITEM_ID,REF_ORGANIZATION_ID).
I have validated those fields and loaded into interfacing to Oracle Successfully in the master Org and Validated through Frontend.
when I close the form, I will be receiving the below warning message and telling that Template id needs to be assign to the item before assigning item to the Org. The message is showing like
"*You have not applied a template to this item, please apply a template before assigning this item to an ORG.*"
Please find the below package which I wrote for this conversion requirement.
The customer is saying like need to achieve the copy functionality based on the "REF_INVENTORY_ITEM_ID and REF_ORGANIZATION_ID".
The Issue is am not able to handle the copy functionality and getting above message. kindly refer the package and suggest me where i am doing the mistake. Its high priority issue for me.
Thanks in advance.
CREATE OR REPLACE PACKAGE APPS.xxxx_inv_items_conv_pkg
AS
PROCEDURE xxx_item_conversion_proc (
errbuf OUT VARCHAR2,
retcode OUT VARCHAR2,
p_org_id IN NUMBER,
-- p_commit_point IN NUMBER,
p_load_code IN VARCHAR2
IS
<<Local Variables Declaration>> <<For space limit deleted these variables>>
CURSOR cur_item_master (pc_org_code VARCHAR2)
IS
SELECT itemstg.*
FROM xxx_inv_system_items_stg itemstg
WHERE itemstg.organization_id = pc_org_code
AND itemstg.status_flag IS NULL;
CURSOR cur_item_master_dup (pc_org_code VARCHAR2)
IS
SELECT itemstg.segment1, itemstg.organization_id
FROM xxx_inv_system_items_stg itemstg
WHERE itemstg.ROWID <
(SELECT MAX (b.ROWID)
FROM xxx_inv_system_items_stg b
WHERE b.segment1 = itemstg.segment1
AND b.organization_id = itemstg.organization_id
AND b.organization_id = pc_org_code
AND itemstg.status_flag IS NULL
AND b.status_flag IS NULL);
BEGIN
IF p_load_code = 'Insert'
THEN
l_transaction_type := 'CREATE'; -- Default Value in I/F Table
ELSIF p_load_code = 'Update'
THEN
l_transaction_type := 'UPDATE'; -- Default Value in I/F Table
END IF;
DBMS_OUTPUT.put_line ( 'Validation Starts At :'
|| TO_CHAR (SYSDATE, 'DD-MON-YYYY HH24:MI:SS')
--Checking for Duplicate Records items
BEGIN
UPDATE xxx_inv_system_items_stg a
SET a.status_flag = 'E',
a.error_message = 'Duplicate Record'
WHERE a.ROWID >
ANY (SELECT b.ROWID
FROM xxx_inv_system_items_stg b
WHERE a.segment1 = b.segment1
AND a.organization_id = b.organization_id)
AND a.organization_id = p_org_id
AND a.status_flag IS NULL;
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line ('Exception in updating duplicates'
|| SQLERRM
END;
DBMS_OUTPUT.put_line ('CheckPoint: Duplicate Record');
BEGIN
SELECT organization_id
INTO l_organization_id
FROM org_organization_definitions
WHERE organization_id = p_org_id;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
DBMS_OUTPUT.PUT_LINE(p_org_id||' Org Does Not Exist');
-- p_retcode := '2';
WHEN OTHERS
THEN
DBMS_OUTPUT.PUT_LINE('Exception in Getting Org Id'||'Cannot Proceed');
-- p_retcode := '2';
END ;
DBMS_OUTPUT.put_line ('CheckPoint: Orgcode' || l_organization_id);
/* IF p_retcode = '2'
THEN
RETURN;
END IF;*/
--Block : Setting Master and Validation Orgs Flags
BEGIN
SELECT DECODE (master_organization_id, l_organization_id, 'Y', 'N'),
master_organization_id
INTO l_master_org,
l_master_org_id
FROM mtl_parameters
WHERE organization_id = l_organization_id;
EXCEPTION
WHEN OTHERS
THEN
l_master_org := 'N';
l_master_org_id := NULL;
DBMS_OUTPUT.PUT_LINE(p_org_id||' Org Does Not Exist');
END ;
DBMS_OUTPUT.put_line ('master_organization_id');
SELECT fnd_profile.VALUE ('USER_ID')
INTO l_user_id
FROM DUAL;
-- Block : Set the SET_PROCESS_ID
l_set_process_id := l_organization_id;
l_insert_count := 0;
LOOP
BEGIN
SELECT COUNT (segment1)
INTO l_insert_count
FROM mtl_system_items_interface
WHERE set_process_id = l_set_process_id
AND transaction_type = l_transaction_type
AND process_flag = 1;
EXCEPTION
WHEN OTHERS
THEN
l_insert_count := 0;
END;
EXIT WHEN l_insert_count = 0;
l_set_process_id := l_set_process_id + 10;
END LOOP;
DBMS_OUTPUT.put_line ('SET PROCESS ID -l_insert_count ' || l_insert_count);
IF p_load_code = 'Insert'
THEN
BEGIN
FOR recitem_data IN cur_item_master_dup (p_org_id)
LOOP
UPDATE xxx_inv_system_items_stg
SET status_flag = l_processed_flag,
error_message = l_error_message
WHERE segment1 = recitem_data.segment1
AND organization_id = recitem_data.organization_id
AND status_flag IS NULL;
COMMIT;
END LOOP;
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line ( 'Update of Duplicates Failed : '
|| SQLCODE
|| '--'
|| SQLERRM
END ;
END IF;
FOR recitem_data IN cur_item_master (p_org_id)
LOOP
<<Local Variables Declaration>> <<For space limit deleted these variables>>
IF p_load_code = 'Update'
THEN
l_error_message := 'Update Mode' || l_error_delimiter;
END IF;
--l_count := -1;
BEGIN
DBMS_OUTPUT.put_line ('CheckPoint: ItemValidationStart');
SELECT DISTINCT inventory_item_id,
restrict_subinventories_code,
restrict_locators_code
INTO l_inventory_item_id,
l_restrict_subinventories_code,
l_restrict_locators_code
FROM apps.mtl_system_items_b msi
WHERE msi.organization_id = l_organization_id
AND msi.segment1 = UPPER (recitem_data.segment1);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
l_count := 0;
-- l_processed_flag := 'F';
DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP' || l_inventory_item_id||'-'||l_processed_flag);
DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP' || l_inventory_item_id||'-'||recitem_data.ref_inventory_item_id);
WHEN OTHERS
THEN
l_count := -1;
-- l_processed_flag := 'F';
DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP' || l_inventory_item_id||'-'||l_processed_flag);
END ;
DBMS_OUTPUT.put_line ('inventory_item_id - AFTER MAIN LOOP'||recitem_data.ref_inventory_item_id);
IF l_count = -1
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'Exception - Checking Item already Present'
|| l_error_delimiter;
DBMS_OUTPUT.put_line ('Exception - Checking Item already Present'||l_processed_flag);
ELSIF (l_count > 0 AND p_load_code = 'Insert')
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'Item Already Exists In '
|| p_org_id
|| ' Organization '
|| l_error_delimiter;
DBMS_OUTPUT.put_line ('Exception - Checking Item already Present1'||l_processed_flag);
ELSIF (l_count = 0 AND p_load_code = 'Update')
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'Item Not Present In '
|| p_org_id
|| ' Organization '
|| l_error_delimiter;
DBMS_OUTPUT.put_line ('Exception - Checking Item already Present2'||l_processed_flag);
END IF;
BEGIN
SELECT count(*)
INTO l_seg_count
FROM apps.mtl_system_items_b msi
WHERE msi.organization_id = l_organization_id
AND msi.segment1 = UPPER (recitem_data.segment1);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
l_seg_count := 0;
l_processed_flag:='F';
l_error_message :=
l_error_message
|| 'Item Not Present In Oracle'
|| p_org_id
|| ' Organization '
|| l_error_delimiter;
DBMS_OUTPUT.put_line ('inventory_item_id - l_seg_count ' ||l_seg_count||'-'||l_processed_flag );
WHEN OTHERS
THEN
l_seg_count := -1;
l_processed_flag:='F';
l_error_message :=
l_error_message
|| 'Item Not Present In Oracle'
|| p_org_id
|| ' Organization '
|| l_error_delimiter;
END ;
IF p_load_code = 'Insert'
THEN
IF l_organization_id != l_master_org_id
THEN
BEGIN
SELECT COUNT (1)
INTO l_org_item_count
FROM apps.mtl_system_items_b msi
WHERE msi.organization_id = l_master_org_id
AND msi.segment1 = UPPER (recitem_data.segment1);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
l_org_item_count := 0;
DBMS_OUTPUT.put_line ('l_org_item_count ' ||l_org_item_count||'-'||l_processed_flag );
WHEN OTHERS
THEN
l_org_item_count := -1;
END ;
IF l_org_item_count = -1
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'Exception - Checking Item in Master '
|| l_error_delimiter;
ELSIF l_org_item_count = 0
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'Item Does Not Exist in Master '
|| l_error_delimiter;
END IF;
END IF;
END IF;
DBMS_OUTPUT.put_line ( 'CheckPoint: Iteminmasterorg'
|| l_org_item_count
IF (recitem_data.description IS NULL AND p_load_code = 'Insert')
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message || 'Description is NULL' || l_error_delimiter;
END IF;
IF (recitem_data.sales_account IS NOT NULL)
THEN
BEGIN
SELECT code_combination_id
INTO l_sales_account
FROM gl_code_combinations_kfv
WHERE code_combination_id= recitem_data.sales_account;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
-- l_processed_flag := 'F'; --QUESTION
l_error_message :=
l_error_message
|| 'Sales Account Not Setup '
|| l_error_delimiter;
DBMS_OUTPUT.put_line ( 'CheckPoint: Salesacct_Validation'
|| l_sales_account||'-'||l_processed_flag
WHEN OTHERS
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'Sales Account Exception '
|| SQLERRM
|| l_error_delimiter;
DBMS_OUTPUT.put_line ( 'CheckPoint: Salesacct_Validation'
|| l_sales_account||'-'||l_processed_flag
END ;
END IF;
IF (recitem_data.cost_of_sales_account IS NOT NULL)
THEN
BEGIN
SELECT code_combination_id
INTO l_cost_of_sales_account
FROM gl_code_combinations_kfv
WHERE code_combination_id =
recitem_data.cost_of_sales_account;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'COGS Account Not Setup '
|| l_error_delimiter;
DBMS_OUTPUT.put_line ( 'l_cost_of_sales_account'
|| l_cost_of_sales_account||'-'||l_processed_flag
WHEN OTHERS
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'COGS Account Exception '
|| SQLERRM
|| l_error_delimiter;
DBMS_OUTPUT.put_line ( 'l_cost_of_sales_account'
|| l_cost_of_sales_account||'-'||l_processed_flag
END check_cogs_account;
END IF;
BEGIN
select distinct organization_code
into l_ref_org_code
from org_organization_definitions
where organization_id = recitem_data.ref_organization_id ;
EXCEPTION
WHEN OTHERS THEN
l_ref_org_code:= NULL;
l_processed_flag:='F';
l_error_message :=
l_error_message
|| 'Reference Org Not Present'
|| p_org_id
|| ' Organization '
|| l_error_delimiter ;
DBMS_OUTPUT.put_line ('l_ref_org_code'|| l_ref_org_code||'-'||l_processed_flag);
END;
BEGIN
select concatenated_segments
into l_ref_inventory_item_code
from mtl_system_items_kfv
where inventory_item_id = recitem_data.ref_inventory_item_id
and organization_id = recitem_data.ref_organization_id ;
EXCEPTION
WHEN OTHERS THEN
l_ref_inventory_item_code :=NULL;
l_processed_flag:='F';
l_error_message :=
l_error_message
|| 'Reference Item Not Present'
|| p_org_id
|| ' Organization '
|| l_error_delimiter;
DBMS_OUTPUT.put_line ('l_ref_inventory_item_code'|| l_ref_inventory_item_code||'-'||l_processed_flag);
END;
IF (l_master_org = 'N' AND p_load_code = 'Insert')
THEN
BEGIN
SELECT count(*)
INTO l_description_count
FROM mtl_system_items_tl
WHERE organization_id = l_master_org_id
AND inventory_item_id =
(SELECT inventory_item_id
FROM mtl_system_items_b
WHERE organization_id = l_master_org_id
AND segment1 = recitem_data.segment1);
END ;
IF l_description_count > 0 THEN
l_processed_flag:='F';
l_error_message :=
l_error_message
|| 'Item Description Not Present'
|| p_org_id
|| ' Organization '
|| l_error_delimiter;
END IF;
END IF;
IF l_processed_flag = 'S'
THEN
BEGIN
INSERT INTO mtl_system_items_interface
(organization_id,
segment1,
description,
ITEM_TYPE,
COST_OF_SALES_ACCOUNT,
SALES_ACCOUNT,
attribute_category,
set_process_id,
transaction_type,
process_flag,
copy_organization_code,
copy_item_number,
creation_date,
created_by,
last_updated_by,
last_update_date
--attribute_category
, attribute1
, attribute2
,attribute3
,attribute4
,attribute5
,attribute6
,attribute7
,attribute8
,attribute9
,attribute10
,attribute11
,attribute12
,attribute13
,attribute14
,attribute15
,global_attribute10
VALUES (l_organization_id,
recitem_data.segment1,
recitem_data.description,
recitem_data.ITEM_TYPE,
recitem_data.COST_OF_SALES_ACCOUNT,
recitem_data.SALES_ACCOUNT,
recitem_data.ATTRIBUTE_CATEGORY,
l_set_process_id,
l_transaction_type, --,l_transaction_type
l_process_flag,
l_ref_org_code,
l_ref_inventory_item_code,
SYSDATE, l_user_id,
l_user_id, SYSDATE
-- l_attribute_category
,recitem_data.attribute1
,recitem_data.attribute2
,recitem_data.attribute3
,recitem_data.attribute4
,recitem_data.attribute5
,recitem_data.attribute6
,recitem_data.attribute7
, recitem_data.attribute8
,recitem_data.attribute9
, recitem_data.attribute10
,recitem_data.attribute11
,recitem_data.attribute12
,recitem_data.attribute13
,recitem_data.attribute14
,recitem_data.attribute15
, substr(recitem_data.global_attribute10,1,length(recitem_data.global_attribute10)-1) --recitem_data.global_attribute10
l_insert_count := l_insert_count + 1;
/* IF (l_insert_count = NVL (p_commit_point, 10000))
THEN
-- l_set_process_id := l_set_process_id + 10; -- REVERT BACK CHANGE
l_insert_count := 0;
END IF;
EXCEPTION
WHEN OTHERS
THEN
l_processed_flag := 'F';
l_error_message :=
l_error_message
|| 'Error in Inserting Item '
|| SQLERRM
|| l_error_delimiter;
END ;
COMMIT;
DBMS_OUTPUT.put_line ('CheckPoint: Insertion Completed in Intfacetable');
END IF;
BEGIN
UPDATE xxx_inv_system_items_stg
SET status_flag = l_processed_flag,
error_message = l_error_message
WHERE segment1 = recitem_data.segment1
AND organization_id = recitem_data.organization_id
AND status_flag IS NULL;
COMMIT;
DBMS_OUTPUT.put_line ('Error Message'||l_error_message);
EXCEPTION
WHEN OTHERS
THEN
fnd_file.put_line (fnd_file.LOG,
'Error:Updating Item:'
|| SQLCODE
|| '-'
|| SQLERRM
END;
END LOOP; --FOR recitem_data IN cur_item_master
DBMS_OUTPUT.put_line ( 'Validation Ends At :'
|| TO_CHAR (SYSDATE, 'DD-MON-YYYY HH24:MI:SS')
DBMS_OUTPUT.put_line ('Number of records inserted into Table Successfully -->'|| l_insert_count);
END;
END xxxx_inv_items_conv_pkg;
Edited by: 896170 on Apr 12, 2013 11:58 PMIssue got solved... changed the PO line amount as:
<?xdoxslt:set_variable($_XDOCTX,'line_amt',xdoxslt:to_number(LINE_AMOUNT))?>
Reference :Syntax for 'to_number'
Regards
Manikanta Panigrahi
Maybe you are looking for
-
Follow-up: From Leads/Opportunities to Activities
HI, We have configured the follow-up Activities from Leads/Opportunities in CRM. We created a standalone PCUI BSP iView for Activities and assigned ACTIVITYCRM object type to our Role. Leads to follow-up Opportunities is working but from Leads/Opport
-
[HUM] Handling unit managment: how can i delelte all batch of a HU?
Hi experts, I have a HU which contains some Batchs. I would like to delete all Batchs of this HU in order to save this HU empty (HU don't contain any Batch). Could you please tell me which transaction or which Function Module is used to del
-
Using SQL Loader in a procedure
Can we use SQL Loader in a stored procedure to load data in an Excel file into the database? If so, how. Also, how can it create a log file to save records that have not been loaded.
-
Can the background in a FCP export be transparent?
Im trying to do my video edits in FCP to bring into Motion so I can apply graphics to them - however I cant make the black background become transparent in motion - Why??? What am I doing wrong?
-
SMD Channels model.sdk indesign plug inl.sdk indesign
I am trying to open up InDesign CC and it comes up with that I don;t have - SMD Channels model.sdk indesign plug in - does anyone know where to get it from???? help