Declarative transaction not working for oracle 10g as.
Hi Friends,
While migrating from sun app server to oracle 10g as, i have problem in declarative transactions.
I created stateless and stateful beans with declarative transactions. Transactions were working fine till they were in sun app server environment, but they fail in oracle 10g as environment.
I build the ear through sun IDE and deployed the ear on oracle 10g as. Things worked fine till transactions come onto picture.Declarative transaction get failed in case of oracle 10g as.
Please if you have faced such problem or have any way to solve this problem, Pls revert back.
rgds,
m_khanduri
sb92075 thank you for reply. Please see the command outputs.
$ hostname
LONDAN
$ id
uid=503(oaprod) gid=5002(dba) groups=5002(dba)
$ uname -a
Linux LONDAN 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
$ ps -ef | grep -i pmon | grep -v grep
oaprod 3810 1 0 May11 ? 00:02:24 ora_pmon_OID
jgarry thank u also. please see the response.
$ ls -rl $ORACLE_HOME/dbs
total 2848
-rw-rw---- 1 oaprod dba 3584 May 8 14:33 spfileOID.ora
-rw-r----- 1 oaprod dba 2867200 Sep 10 10:17 snapcf_OID.f
-rwSr----- 1 oaprod dba 1536 May 5 06:17 orapwOID
-rw-rw---- 1 oaprod dba 24 May 11 17:24 lkOID
-rw------- 1 oaprod dba 8385 May 5 05:18 init.ora
-rw------- 1 oaprod dba 12920 May 5 05:18 initdw.ora
-rw-rw---- 1 oaprod dba 1544 May 11 17:24 hc_OID.dat
ok. previously I set TNS_ADMIN. Now I set TWO_TASK, while connecting now am getting different error "insufficient privilege". Please check following.
$ export TWO_TASK=OID
$sqlplus / as sysdba
SQL*Plus: Release 10.1.0.5.0 - Production on Wed Sep 11 05:22:28 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
But, now while connecting with "sys", I don't need to supply "@OID" it's connecting directly with "sqlplus sys as sysdba" command.
Similar Messages
-
RH Linux VIP configuration not working for Oracle 10g RAC installation
Hi all,
I am trying to setup my test cluster on Oracle 10gR2 and Red Hat Linux 4. I have the public and private networks working fine and setup. However, after I setup the two VIP addresses, I cannot even ping these two virtual IPs from Linux. CRS install fails during initial run because it cannot communicate with the two VIP IP addresses. Can anyone help me out as to how to go about fixing the two VIPs so that Linux can ping them and CRS will install?
ThanksIt sounds like you configured your VIP on Linux in advance, before installing Oracle.
You are not supposed to do that.
Decide on an IP that the VIP will use with your network manager, but don't configure it in Linux. So before you start the clusterware install, ifconfig should not show your VIP.
CRS does not need VIP when you install the clusterware, only the interconnect address.
VIP is configured using a utility called VIPCA. If Clusterware installation fails and you think it was caused by VIP issues, try running VIPCA manually and let us know what were the results. -
What will you do if any SQL is not working. in oracle 10g....apps 11.5.10.2
928714 wrote:
yes sir.If you help me in answering my questions i wll be very thankful to you sir.
tnx,I haven't a clue.
As you have been advised in many of your posts, go study the documentation for whichever specific topic you are interested in.
For me to answer your questions, I would need to go get that documentation.
Then I would need to read that documentation.
Then I would need to write a forum post that interprets what I think I learned from that documentation.
It is so very much faster if YOU go do that instead of posting to a forum and expecting others to do it. You will remember what you study for a lot longer time if you teach yourself. -
Table_From_Block Build-in Package is not working in Oracle 10G
Hi
Table_From_Block Build-in Package is not working in Oracle 10G
Kindly advice..user648759 wrote:
Hi
Table_From_Block Build-in Package is not working in Oracle 10G
Kindly advice..Provide a little more information. Forms version OS version, more information about your problem and question.
--and explain what on earth Table_From_Block* mean's--
Tony
PS: TABLE_FORM_BLOCK is a built-in for internal use, usually auto generated by forms. For a moment I didn't get what that meant, need more coffee.
Edited by: Tony Garabedian on Aug 29, 2008 12:39 PM -
Select * from tab is not working in oracle 10g
select * from tab is not working in oracle 10g. But at the same time,
select * from <<table>> is working.
Please advise me.This works for me in 10.2.0.2
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> select * from tab;
TNAME TABTYPE CLUSTERID
LOAN_DETAIL TABLE
PLAN_TABLE TABLE
... -
Ctrl+Z fuctianlity is not working in oracle 10g Form
Hi
I am using oracle 10g form and using
Edit_TextItem to invoke Text Editor
When i using CTRL+Z to undo things in editor it is not working but it works when i used Form6i.
Please help me to solve this issue. i need to this functinality to be work.
BR,
SPSThis works for me in 10.2.0.2
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> select * from tab;
TNAME TABTYPE CLUSTERID
LOAN_DETAIL TABLE
PLAN_TABLE TABLE
... -
Sqlplus is not working after oracle 10g client installatio on linux server
Him
jsut now i installed oracle 10.2.0.1 client version in one my linux server. after successfully installation sqlplus is not working . could you please chekc and let me know what is the problem? below are my .profile details.
# Set up the shell variables:
EDITOR=vi
export EDITOR
### Set the umask
umask 022
### Set ulimit
#ulimit -u 16384
#ulimit -n 65536
### Set Oracle Environment
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/10.2.0/client_1
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib
export LIB_PATH=$ORACLE_HOME/lib
export ORATAB=/etc/oratab
export NLS_LANG=american_america.we8iso8859p1
export THREADS_FLAG=native
echo ' '
echo 'Oracle 10G environment has been setup'
echo 'Export the ORACLE_SID to target database before connecting'
echo ' '841731 wrote:
Him
jsut now i installed oracle 10.2.0.1 client version in one my linux server. after successfully installation sqlplus is not working . could you please chekc and let me know what is the problem? below are my .profile details.
# Set up the shell variables:
EDITOR=vi
export EDITOR
### Set the umask
umask 022
### Set ulimit
#ulimit -u 16384
#ulimit -n 65536
### Set Oracle Environment
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/10.2.0/client_1
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/lib
export LIB_PATH=$ORACLE_HOME/lib
export ORATAB=/etc/oratab
export NLS_LANG=american_america.we8iso8859p1
export THREADS_FLAG=native
echo ' '
echo 'Oracle 10G environment has been setup'
echo 'Export the ORACLE_SID to target database before connecting'
echo ' '" sqlplus is not working" is not an actionable error message. Unfortunately, you didn't show us what happens when you try to execute sqlplus.
Essentially, what you've done is the equivalent of 'here's a picture of my garage. Why won't my car start?' -
Simple insert, delete and update not working after oracle 10g installation
Hello,
I made a new installation of Oracle 10g (10.2.0.1.0) and created a schema . Now i try to insert or update data using simple queries, but unfortunately nothing happens. I tried inserting or updating data even via sqlplus, but unfortunately the same result. Query takes infinite time to end, so i had to manually end it every time... No errors... No warnings... but takes long time... I have given all the required permissions to the schema but the same result. Can somebody help me figure out the problem?
Tried creating a new table and the insert and delete are working fine... think the problem is with this table... Imported the rows of the table from another online database. I dont understand how this might be a problem.
Edited by: user13333704 on Mar 15, 2011 1:26 AMHowever how do you generate awr reports and how to find the session wait?TO generate the AWR report
sql> ?/rdbms/admin/awrrpt
http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/autostat.htm#BABDHAGF
The event column in v$session , in v$active_session_wait will show you the session wait event.What the session was actually waiting for.
HTH
Anand -
Downcasting In Object PL/SQL Does not Work in Oracle 10g 10.1.0.2
create type one_t as object (
x number, y date ) not final
create type two_t under one_t()
set serverout on
declare
super one_t;
sub two_t := two_t(1, sysdate);
begin
super := one_t(1, sysdate);
sub := new two_t(1, sysdate);
dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
select treat(super as two_t) into sub from dual;
dbms_output.put_line('super ' || super.x || ' ' || super.y );
if sub is null then
dbms_output.put_line('stupid');
end if;
if sub is of (two_t) then
dbms_output.put_line('stupid');
end if;
end;
The Other Piece Does not Even Compile
declare
super one_t;
sub two_t := two_t(1, sysdate);
begin
super := one_t(1, sysdate);
sub := treat(super as two_t);
dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
select treat(super as two_t) into sub from dual;
dbms_output.put_line('super ' || super.x || ' ' || super.y );
if sub is null then
dbms_output.put_line('stupid');
end if;
if sub is of (two_t) then
dbms_output.put_line('stupid');
end if;
end;
ORA-06502: PL/SQL: numeric or value error: cannot assign supertype instance to
subtype
ORA-06512: at line 6You need use correct type when you create object.
Don't forget object in reality is a memory pointer,
so what if you don't allocate correct memory in creation,
you can't treat object as subtype.
And meanwhile, it doesn't depend on Oracle version -
your example doesn't work in 9.2.0.1 for example.
SQL> declare
2 super one_t;
3 sub two_t := two_t(1, sysdate);
4 begin
5 super := two_t(1, sysdate);
6 sub := treat(super as two_t);
7 dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
8 select treat(super as two_t) into sub from dual;
9 dbms_output.put_line('super ' || super.x || ' ' || super.y );
10 if sub is null then
11 dbms_output.put_line('stupid');
12 end if;
13 if sub is of (two_t) then
14 dbms_output.put_line('stupid');
15 end if;
16 end;
17 /
sub 1 08.06.05
super 1 08.06.05
stupid
 
PL/SQL procedure successfully completed.Rgds. -
Downcasting in Object PL/SQL Does not Work in Oracle 10g Enterprise Edition
create type one_t as object (
x number, y date ) not final
create type two_t under one_t()
set serverout on
declare
super one_t;
sub two_t := two_t(1, sysdate);
begin
super := one_t(1, sysdate);
sub := new two_t(1, sysdate);
dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
select treat(super as two_t) into sub from dual;
dbms_output.put_line('super ' || super.x || ' ' || super.y );
if sub is null then
dbms_output.put_line('stupid');
end if;
if sub is of (two_t) then
dbms_output.put_line('stupid');
end if;
end;
The Other Piece Does not Even Compile
declare
super one_t;
sub two_t := two_t(1, sysdate);
begin
super := one_t(1, sysdate);
sub := treat(super as two_t);
dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
select treat(super as two_t) into sub from dual;
dbms_output.put_line('super ' || super.x || ' ' || super.y );
if sub is null then
dbms_output.put_line('stupid');
end if;
if sub is of (two_t) then
dbms_output.put_line('stupid');
end if;
end;
ORA-06502: PL/SQL: numeric or value error: cannot assign supertype instance to
subtype
ORA-06512: at line 6You need use correct type when you create object.
Don't forget object in reality is a memory pointer,
so what if you don't allocate correct memory in creation,
you can't treat object as subtype.
And meanwhile, it doesn't depend on Oracle version -
your example doesn't work in 9.2.0.1 for example.
SQL> declare
2 super one_t;
3 sub two_t := two_t(1, sysdate);
4 begin
5 super := two_t(1, sysdate);
6 sub := treat(super as two_t);
7 dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
8 select treat(super as two_t) into sub from dual;
9 dbms_output.put_line('super ' || super.x || ' ' || super.y );
10 if sub is null then
11 dbms_output.put_line('stupid');
12 end if;
13 if sub is of (two_t) then
14 dbms_output.put_line('stupid');
15 end if;
16 end;
17 /
sub 1 08.06.05
super 1 08.06.05
stupid
 
PL/SQL procedure successfully completed.Rgds. -
Deployment not working for Oracle Help 12c (12.1.3.0.0)
Hi
I am trying to install the ohw-links.ear and ohw-rcf-demo-thin.ear. But after the installation when I am trying to access the below url, I am getting below error and I can't see the help home page.
http://pc72648dd:8201/ohw-links/faces/helppages/main.jspx
Error is
No config parameter specified in the url or invalid config parameter. Please contact your administrator for more information.
I can't see the ear file to check what is wrong.
Is there anybody faced similar issue and have any solution, please help me.
ThanksHi Varun,
Sorry for the delayed response. Have you configured your weblogic instance for jrf (ADF libraries) if so, you should be able to deploy the thin ear fine. If not you need to deploy the thick ear. -
SAP Note 830576 - Parameter recommendations for Oracle 10g
As per SAP Note 830576 - Parameter recommendations for Oracle 10g, I have tried to change the value for
parameter "db_file_multiblock_read_count".
In sql prompt it shows:
SQL> show parameter DB_FILE_MULTIBLOCK_READ_COUNT
NAME TYPE VALUE
db_file_multiblock_read_count integer 128
and in brtools it shows:
58 - db_file_multiblock_read_count both no * yes 128
But I got the following error, when i tried to set it null
1 * Parameter description (desc) ..... [db block to be read each IO]
2 * Parameter type (type) ............ [integer]
3 * Current parameter value (parval) . [128]
4 * Value in spfile (spfval) ......... []
5 # New parameter value (value) ...... [null]
6 - Scope for new value (scope) ...... [both]
7 # Database instance (instance) ..... []
8 ~ Comment on update (comment) ...... []
9 - SQL command (command) ............ [alter system reset db_file_multiblock_read_count scope = spfile sid = '*'; alter system reset db_file_multiblock_read_count scope = memory sid = 'MBD']
BR0662I Enter your choice:
c
BR0280I BRSPACE time stamp: 2008-08-14 18.19.22
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...
BR0280I BRSPACE time stamp: 2008-08-14 18.19.23
BR0301E SQL error -32010 at location BrSqlExecute-1, SQL statement:
'/* BRSPACE / alter system reset db_file_multiblock_read_count scope = spfile sid = '''
ORA-32010: cannot find entry to delete in SPFILE
BR1017E Execution of SQL statement 'alter system reset db_file_multiblock_read_count scope = spfile sid = '*'; alter system reset db_file_multiblock_read_count scope = memory sid = 'MBD'' failed
BR0669I Cannot continue due to previous warnings or errors - you can go back to repeat the last action
BR0280I BRSPACE time stamp: 2008-08-14 18.19.23
BR0671I Enter 'b[ack]' to go back, 's[top]' to abort:
Kinldy let me know, what could me wrong.Hi Markus,
As per your suggestion we have downloaded the files from UCLIB_3-20000978.SAR. But now getting the error as
sapccmsr -DCCMS -j2ee pf=profile value
INFO: use SAPLOCALHOST hostname
INFO: CCMS agent sapccmsr working directory is /usr/sap/ccms/XX1_00/sapccmsr
INFO: CCMS agent sapccmsr config file is /usr/sap/ccms/XX1_00/sapccmsr/csmconf
INFO: Central Monitoring System is [XX1]. (found in config file)
INFO: additional Central Monitoring System is [AS2]. (found in config file)
ERROR: Cannot open Monitoring Segment 0 rtc = 245
Last reported error: [249] CCMS monitoring segment has wrong EYE CATCH. It seems to be created as non-unicode segment.
This program runs as unicode. Please use non-unicode version
Please suggest
Thanks,
Anu -
Database Upgrade Agent not working for upgrading Oracle 9i DB to Oracle 10i
Hi All,
Presently I have completed my Oracle 10i installation on Solaris Server but I am facing an issue during the upgrade process of Oracle 9i to 10g. Whenever I try to upgrade the 9i databases to 10g using DBUA(Database Upgrade assistant) I am facing an issue that Data base not running from oracle home or pfile not found. The exact error message says:-
The upgrade assistant failed in bringing up the database XIPCOTS. Oracle Home /opt/apps/home/oracle9i/product/releases/92/92 obtained from file /var/opt/oracle/oratab was used to connect to the database. Either the database is not running from Oracle Home /opt/apps/home/oracle9i/product/releases/92/92 or the correct Initialisation parameter file (pfile) was not found. To start the database , Oracle needs the pfile. Provide the full path name of the init file for the database XIPCOTS.
In reality the XIPCOTS database is running fine in Oracle 9i and we can connect it using PL/SQL developer in windows.I have also provided the path of pfile but it is still not accepting the same.
Path of pfile I provided :- /XIP/ofaroot/XIPCOTS/pfile/initXIPCOTS.ora
Any help or suggestions would be greately appreciated.
Our both Oracle 9i and 10g are installed on same Solaris server where solaris version is 9
Installation path for 9i :- /opt/apps/home/oracle9i/product/releases/92/92
Installation path for 10g :- /opt/apps/home/oracle/product/releases/10201
Oracle 9i version :- 9.2.0.7
Oracle 10g version :- 10.2.01
Thanks in advance.
Best Regards,
Gourav BanerjeeCan you please mention the specific folder name under oracle home where we need to put this pfile because there are two folder dbs and ds I have allready tried putting it inside dbs its not working. And my home path is correct I hope and is set for oracle 9i directories in the .oraenv file do we need to set it for oracle 10g before the DBUA upgrade.
-
Portal buttons not working for transaction type iviews
Our buttons on our portal transaction programs quit working. We are currently on ecc6,ehp5, portal 7.02. The buttons still work on our test and production systems, so it's not a browser issue. The buttons work on the newer webdynpro programs in our dev portal. Please get back with me if you have any ideas on how to fix this button problem. Thanks, Mike
Hi Ajay,
Double posting
[ITS services not working for Transaction iview with gui for html -;
Thanks
Siva -
Transaction launcher not working for custom business role
Hi Experts,
I am facing a very weird problem where the transaction laucher define for BOR transaction is working for one business role(Z business role Customized one) but its not working for other business role (Z business role).
to emphasize further we have the code:-
case ls_attributes-object_type.
when lc_z23 or lc_z25.
lv_logical_link = lc_ZITISU.
when lc_BUS2000115.
lv_logical_link = lc_ZITERP1.
when others.
lv_logical_link = lc_ZITERP2.
endcase.
l_if_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
IF l_if_navigation IS BOUND .
Navigate to transaction launcher using link id
l_if_navigation->navigate( iv_link_id = lv_logical_link ).
ENDIF.
in this the logical link is is lc_ZITISU whenever this BSP application is called from both the business roles but in one the window opens up for BOR transaction whereas when we login again using different business role the code is the same as given above. I mean the sam logical link id is used and navigated to but window is not opening for transaction launcher as it happens for the previous business role.
Request your help to resolve this issue.
Thanks,
RajwinHi,
I tried by applying the PFCG role id of business role which was working to the business role id of the one for which it wasn't working and then try testing whether the transaction launcher is triggering. But the transaction launcher screen is still not opening even after doing this.
Probably there's something else too which is causing the problem. Request your inputs on this,
Thanks,
Rajwin
Maybe you are looking for
-
My OS is windows 8.1. Today when going onto itunes it asked me to update to 11.something so I dd. Now I can't access itunes at all. Keep getting an error message. error 127. I've tried repairing. Uninstalling and re installing. Can't seem to contact
-
How do I download software that I've added its serial number to my account. Lost disc.
How do I download software that I've added its serial number to my account. I no longer have the disc. When I go to my apps, it just lists them with their serial numbers but no download link. What I've gleened from the download instructions imply I c
-
Open jdbc connections with CMP entity beans
Hi, Seem to always have open connections (generally about half those that have been opened) when using CMP beans. How can i make sure these get closed when my app is finished with them ?? Thanx Rosie
-
How do I export to SWF from Adobe Captivate 7?
The only options I get are Youtube, iPad/iPod or .avi It's just a 30 day free trial version, but I'm hoping that export formats aren't reduced as a result! Thanks
-
Problemas al importar audio en Adobe Premiere Pro
Tengo el programa Adobe Premiere Pro CS6 y cuando importo vídeos desde la cámara Canon Legria FHS21 sólo se importa el archivo de video, pero no el de audio, ¿alguieb puede ayudarme?. Gracias