BC4J & Restarting database
Hi,
I have created a web application using BC4j. It worked fine in test environment because the database doesn't get restarted. As soon as we moved it to production and because the database in production gets restarted every night,I am getting following errors in different steps:
JBO-28001: Cannot connect to database
oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Savepoint": SQL Statement "BO_SP".
JBO-30003: The application pool (PonppModuleLocal) failed to checkout an application module due to the following exception:
Then I just need to restart the container and it will work fine again for the day. So I need to restart the container after each restart of database.
Any solution or idea?
Thanks,
Setareh
We are facing the same problem.
Whenever I try to post the changes using --
_panelBinding.getApplicationModule().getTransaction().postChanges();
I get the same exception --
java.sql.SQLException: ORA-01086: savepoint 'BO_SP' never established
This was working fine till JDev 9.0.4. But as we migrated to JDev 10.1.2, this started giving problems.
As seen from the site:
http://www.oracle.com/technology/products/jdev/htdocs/904/90411fixlist.html
This was fixed in 9.0.4.1.1. (Bug no.3533756)
Any idea?
Thanks
Anuj
Similar Messages
-
Data Guard und restart-database
Hi experts,
I did the following activities:
+ defined first a restart standalone database dg1 on the system dwh with Linux RH 5.4/ Oracle 11.2.0.3 -Environment with clusterware.
+ then created a standby database dg2 on the system stb with Linux RH 5.4/ Oracle 11.2.0.3 -Environment with with clusterware.
+ and made a switchover from dg1 to dg2. Now dg2 is primary and dg1 is standby.
My Problems.
1/ dg1 does not restart automatically now after system reboots
2/ dg2 is not automatically restarted, because there is no resource for it defined lócal or in cluster.
I tried to make them to restart-databases unsuccessfully
a/ to define dg2 a restart-db on stb :
[oracle@stb ~]$ srvctl add instance -d dg2 -i dg -n stb
PRCD-1120 : The resource for database dg2 could not be found.
PRCR-1001 : Resource ora.dg2.db does not existb/ to add ora.dg2.db as cluster-resource on dwh :
[grid@dwh ~]$ crsctl add resource ora.dg2.db -type ora.database.type -file /home/grid/dg2
CRS-0245: User doesn't have enough privilege to perform the operation
CRS-4000: Command Add failed, or completed with errors.Where file /home/grid/dg2 contains:
TYPE=ora.database.type
STATE=ONLINE
TARGET=ONLINE
ACL=owner:oracle:rwx,pgrp:oinstall:rwx,other::r--
ACTION_FAILURE_TEMPLATE=
ACTION_SCRIPT=
ACTIVE_PLACEMENT=1
AGENT_FILENAME=%CRS_HOME%/bin/oraagent%CRS_EXE_SUFFIX%
AUTO_START=restore
CARDINALITY=1
CARDINALITY_ID=0
CHECK_INTERVAL=1
CHECK_TIMEOUT=30
CLUSTER_DATABASE=false
CREATION_SEED=222
DATABASE_TYPE=SINGLE
DB_UNIQUE_NAME=dg2
DEFAULT_TEMPLATE=PROPERTY(RESOURCE_CLASS=database) PROPERTY(DB_UNIQUE_NAME= CONCAT(PARSE(%NAME%, ., 2), %USR_ORA_DOMAIN%, .)) ELEMENT(INSTANCE_NAME= %GEN_USR_ORA_INST_NAME%) ELEMENT(DATABASE_TYPE= %DATABASE_TYPE%)
DEGREE=1
DESCRIPTION=Oracle Database resource
ENABLED=1
FAILOVER_DELAY=0
FAILURE_INTERVAL=60
FAILURE_THRESHOLD=1
GEN_AUDIT_FILE_DEST=/u01/app/oracle/admin/dg2/adump
GEN_START_OPTIONS=
GEN_START_OPTIONS@SERVERNAME(stb)=open
GEN_USR_ORA_INST_NAME=
GEN_USR_ORA_INST_NAME@SERVERNAME(stb)=dg
HOSTING_MEMBERS=stb
ID=ora.dg2.db
INSTANCE_FAILOVER=1
LOAD=1
LOGGING_LEVEL=1
MANAGEMENT_POLICY=AUTOMATIC
NLS_LANG=
NOT_RESTARTING_TEMPLATE=
OFFLINE_CHECK_INTERVAL=0
ONLINE_RELOCATION_TIMEOUT=0
ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/dbhome_1
ORACLE_HOME_OLD=
PLACEMENT=restricted
PROFILE_CHANGE_TEMPLATE=
RESTART_ATTEMPTS=2
ROLE=PRIMARY
SCRIPT_TIMEOUT=60
SERVER_POOLS=
SPFILE=
START_DEPENDENCIES=weak(type:ora.listener.type,uniform:ora.ons)
START_TIMEOUT=600
STATE_CHANGE_TEMPLATE=
STOP_DEPENDENCIES=
STOP_TIMEOUT=600
TYPE_VERSION=3.2
UPTIME_THRESHOLD=1h
USR_ORA_DB_NAME=dg
USR_ORA_DOMAIN=
USR_ORA_ENV=
USR_ORA_FLAGS=
USR_ORA_INST_NAME=dg
USR_ORA_OPEN_MODE=open
USR_ORA_OPI=false
USR_ORA_STOP_MODE=immediate
VERSION=11.2.0.3.0.My Questions:
1/ What I have done wrong?
2/ Are there simple solultions?
Thanks and regards
hqt200475Hello;
PRCD-1120 and PRCR-1001 the reason for these is raccheck is not able to list this database.
double check you name :
Select name from v$database;
Use crs_stat to see if you name if correct and if the database is offline.
I'm thinking registered with the cluster is in OFFLINE state.
crsctl setperm resource <resource_name> -o oracle
crsctl setperm resource <resource_name> -g oinstall
Not really a Data Guard issue, more of a Clusterware issue. ( I say this because Clusterware is getting out of my area )
I think it a bug, but I cannot find the bug number.
May help :
http://oracleexamples.wordpress.com/tag/srvctl-add-service/
Reconfiguring & Recreating The 11gR2 Restart/OHAS/SIHA Stack Configuration (Standalone). [ID 1422517.1]
Resources in OCR Are not Cleaned up Completely After Database ORACLE_HOME De-Install [ID 1108023.1]
How to Delete From or Add Resource to OCR in Oracle Clusterware [ID 1069369.1]
Best Regards
mseberg
Edited by: mseberg on Apr 23, 2012 7:43 AM -
Do I need to restart database in change of spfile?
Hi
All,
Do I need to restart database in change of spfile? my database is in 10.2.0.3 on AIX.
and one more thing when I do more on spfile it displaying the contents that is readable i am thinking that spfile is binary file so how it can be possible.
Thanks,
VishalYou may be interested in reading this page
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#sthref438
SPFILE is a dynamic file so it does not need any sort of server restart.Also though it can be readable by any utility which can read any binary,its not advisable to read spfile like this.The best (recommended ) way is to create a pfile from it and then alter it if you need it.
Aman.... -
We use oracle 11gr2 for Oracle Insight Application.
We had application login error due to probably some database miss operation.
Generally speaking, when we have some trouble in database and need to restart database, which information should I gather before restarting database for later investigation ?
Like v$session and v$SQL ,etc.teradata0802 wrote:
Thank you.
I assume the database misoperation. wrong DDL,DML statement which was executed by misoperation and affect bad impact to database-based Application and database itself.
So I would like to know when , who , what someone did that misoperation to the database before restarting the database.
What information should I collect to meet the above purpose before the database ?
v$SQL, v$SQLTEXT,v$session,v$SQLSTATS,v$process , etc ,, ???
all DML & DDL is written into REDO log files.
DBMS_LOGMNR can be used to obtain details of those operations; but of course you have to know what specifically you are looking for.
the "bad results" persists after any DB restart; because uncommitted DML can not be detected by any other session.
How or why does DB restart change the DB behavior after "bad" DDL or committed DML has occurred?
I doubt that wrong DDL/DML is root cause of your problems. -
How to restart databases in linux machine without rebooting of system
Hi,
when i enter sqlplus "/as sysdba"
as a oracle user, nothing is happening .. i want to restart databases without pc reboot, would anyone help me out please.
Os is openSUSE 11.1
db version is 10.2.0
thanks in advance. kindly suggest
.knowledgespring wrote:
no one has given correct way of doing this so far.. :(And ?
You never ever show us a concrete output enclosed by tags before and after your code, even not showed which user you are connected with, no more the env variables...
You also wrote earlier :
Os is openSUSE 11.1
db version is 10.2.0Needless to say that Oracle is NOT certified on openSUSE. You may want to investigate some specific things for that Linux distro.
Nicolas. -
Hi,
I installed an Oracle 10g ExpressEdition and every time I am connecting to it, I have to stop and restart database.
Can someone help me with this?
Thank you.user8673222 wrote:
Hi,
I installed an Oracle 10g ExpressEdition and every time I am connecting to it, I have to stop and restart database.
Can someone help me with this?
Thank you.Is it that the database was down or started, but you could not connect?
If you just started Windows, you may think that you are stopping and starting the database to enable you connect to it, but it could be that your database was never started at all. If you had not set the database to start automatically during Windows start, then you have to start it manully every time you start Windows.
Check and confirm. -
ORA-27300 during night hours, restart database needed
Hi,
Last year we upgraded a small database system on several systems from Oracle 8.0.6 to Oracle XE.
We installed XE, dropped the XE database and created a new one with standard scripts. (We didn't need APEX)
Next we imported the data of the old database and tested the C++ applications on it. Everything worked fine.
We implemented it on several sites. The target system is usually:
OS: Windows 2000 SP4
Mem: 512 or 768 MB
Swap: 2 Gb
Now we have different errors on the sites, which all seem to be memory allocation problems.
The error usually occur outside working hours (no client activity, so the applications can't be blamed).
Eventually, the application usually gets a ORA-04030 error, unable to allocate xxx bytes of memory...,
or ORA-07445: exception encountered...
Is seems like some Oracle processes are stumbling over their own feet, because nothing is done from the client side.
Here 's what is recorded in the alert.log
Sun Dec 16 03:00:30 2007
Process startup failed, error stack:
Sun Dec 16 03:00:30 2007
Errors in file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1368.trc:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27301: OS failure message: Overlappende I/O-bewerking wordt uitgevoerd.
ORA-27302: failure occurred at: skgpspawn
Sun Dec 16 03:00:31 2007
Process m000 died, see its trace file
Sun Dec 16 03:00:31 2007
ksvcreate: Process(m000) creation failed
Sun Dec 16 03:01:31 2007
Process startup failed, error stack:
Sun Dec 16 03:01:31 2007
Errors in file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1368.trc:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27301: OS failure message: Overlappende I/O-bewerking wordt uitgevoerd.
ORA-27302: failure occurred at: skgpspawn
-- and this repeats itself during the rest of the weekend, until
Mon Dec 17 09:11:57 2007
Process m000 died, see its trace file
Mon Dec 17 09:11:57 2007
ksvcreate: Process(m000) creation failed
Mon Dec 17 09:12:55 2007
Errors in file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_j000_1516.trc:
ORA-12012: error on auto execute of job 5430
ORA-04030: out of process memory when trying to allocate ORA-04030: out of process memory when trying to allocate 123404 bytes (QERHJ hash-joi,kllcqas:kllsltba)
ORA-06512: at "SYS.DBMS_ISCHED", line 492
ORA-06512: at "SYS.DBMS_SCHEDULER", line 2390
bytes (,)
The instance parameters are:
System parameters with non-default values:
processes = 200
sga_max_size = 314572800
__shared_pool_size = 92274688
__large_pool_size = 4194304
__java_pool_size = 4194304
__streams_pool_size = 0
sga_target = 264241152
control_files = D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\CTRLPKHZ1.ORA, D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\CTRLPKHZ2.ORA
db_block_size = 8192
__db_cache_size = 159383552
compatible = 10.0.0.0.0
log_buffer = 2859008
log_checkpoint_interval = 10000
log_checkpoint_timeout = 0
db_files = 200
db_file_multiblock_read_count= 16
undo_management = AUTO
undo_tablespace = UNDOTBS
undo_retention = 10800
remote_login_passwordfile= SHARED
db_domain = DB_KMHZ.WORLD
global_names = FALSE
distributed_lock_timeout = 300
job_queue_processes = 2
background_dump_dest = D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\SYSTEM_TRACE
user_dump_dest = D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\USER_TRACE
max_dump_file_size = 10240
open_links = 10
db_name = DB_KMHZ
pga_aggregate_target = 104857600
After I tried several memory setting without success, I returned to the old-fashioned 8.0.6 settings,
hoping Oracle would allocate less memory from OS.
- I turned off automatic memory management (delete SGA_target parameter and used db_block_buffers, etc)
- I set WORKAREA_SIZE_POLICY to MANUAL (speed wasn't an issue, so I deleted PGA_aggregate_target from spinit, and used sort_area_size)
The system parameters became:
processes = 200
shared_pool_size = 75497472
control_files = D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\CTRLPKHZ1.ORA, D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\CTRLPKHZ2.ORA
db_block_buffers = 550
db_block_size = 8192
compatible = 10.0.0.0.0
log_buffer = 2863104
log_checkpoint_interval = 10000
log_checkpoint_timeout = 0
db_files = 200
db_file_multiblock_read_count= 16
undo_management = AUTO
undo_tablespace = UNDOTBS
undo_retention = 10800
remote_login_passwordfile= SHARED
db_domain = DB_KMHZ.WORLD
global_names = FALSE
distributed_lock_timeout = 300
job_queue_processes = 2
background_dump_dest = D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\SYSTEM_TRACE
user_dump_dest = D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\USER_TRACE
max_dump_file_size = 10240
open_links = 10
sort_area_size = 65536
db_name = DB_KMHZ
workarea_size_policy = MANUAL
After this, it appeared that the error still occured from time to time, but this time
Oracle was able to restart the process. This is what was shown in the alert.log
Completed: ALTER DATABASE OPEN
Fri Dec 21 13:00:12 2007
Thread 1 advanced to log sequence 33
Current log# 1 seq# 33 mem# 0: D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\LOG1.ORA
Sun Dec 23 10:00:59 2007
Thread 1 advanced to log sequence 34
Current log# 2 seq# 34 mem# 0: D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\LOG2.ORA
Tue Dec 25 21:02:39 2007
Thread 1 advanced to log sequence 35
Current log# 1 seq# 35 mem# 0: D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\LOG1.ORA
Wed Dec 26 11:00:30 2007
Process startup failed, error stack:
Wed Dec 26 11:00:30 2007
Errors in file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1528.trc:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27302: failure occurred at: skgpspawn
Wed Dec 26 11:00:31 2007
Process m000 died, see its trace file
Wed Dec 26 11:00:31 2007
ksvcreate: Process(m000) creation failed
Wed Dec 26 11:01:31 2007
Process startup failed, error stack:
Wed Dec 26 11:01:31 2007
Errors in file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1528.trc:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27302: failure occurred at: skgpspawn
Wed Dec 26 11:01:32 2007
Process m000 died, see its trace file
Wed Dec 26 11:01:32 2007
ksvcreate: Process(m000) creation failed
Wed Dec 26 11:02:32 2007
Process startup failed, error stack:
Wed Dec 26 11:02:32 2007
Errors in file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1528.trc:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27302: failure occurred at: skgpspawn
-- fails about 10 times
Wed Dec 26 11:08:15 2007
Process m000 died, see its trace file
Wed Dec 26 11:08:15 2007
ksvcreate: Process(m000) creation failed
-- and here it seems to have succeeded, because the next entry is a "change logfile"
Thu Dec 27 21:02:41 2007
Thread 1 advanced to log sequence 36
Current log# 2 seq# 36 mem# 0: D:\ORACLEXE\ORADATA\PLS_HOOGEZAND\LOG2.ORA
Fri Dec 28 08:00:48 2007
Process startup failed, error stack:
Fri Dec 28 08:00:48 2007
Errors in file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1528.trc:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27302: failure occurred at: skgpspawn
This pattern repeats itself. The database makes one or a few logfile changes, and then the m000 process fails, but is eventually started again.
Well, the good thing is, that for the end user seems to be solved (so far).
My questions to y'all:
- Is this problem related to bug 5607984 "- ORACLE DOES NOT CLOSE TCP CONNECTIONS. REMAINS IN CLOSE_WAIT STATE. [On Windows 32-bit]"?
If Yes, can I do anything to solve it except waiting for the next version of XE?
If No, then what else can be the cause?
- Am I just fighting symptoms here, using the old Oracle 8 parameters?
- Are there other/better ways to workaround this problem?
- Are some Oracle jobs, like SYS.AUTO_SPACE_ADVISOR_PROG or SYS.GATHER_STATS_JOB bugging me?
If yes, is it possible / advisable to stop these jobs?
- Any other recommendations?
Any comments are greatly appreciated.
kndrgrds,
Jan RAh, yes, I forgot. (It didn't help me much, though)
-- first occasion: pkhz_psp0_1368.trc:
Dump file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1368.trc
Sun Dec 16 03:00:30 2007
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Windows 2000 Version V5.0 Service Pack 4
CPU : 1 - type 586
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:238M/759M, Ph+PgF:264M/2218M, VA:81M/2047M
Instance name: pkhz
Redo thread mounted by this instance: 1
Oracle process number: 3
Windows thread id: 1368, image: ORACLE.EXE (PSP0)
*** SERVICE NAME:(SYS$BACKGROUND) 2007-12-16 03:00:30.828
*** SESSION ID:(224.1) 2007-12-16 03:00:30.828
*** 2007-12-16 03:00:30.828
Process startup failed, error stack:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27301: OS failure message: Overlappende I/O-bewerking wordt uitgevoerd.
ORA-27302: failure occurred at: skgpspawn
*** 2007-12-16 03:01:31.906
Process startup failed, error stack:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27301: OS failure message: Overlappende I/O-bewerking wordt uitgevoerd.
ORA-27302: failure occurred at: skgpspawn
*** 2007-12-16 03:02:33.218
Process startup failed, error stack:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27301: OS failure message: Overlappende I/O-bewerking wordt uitgevoerd.
ORA-27302: failure occurred at: skgpspawn
-- etc. This goes on synchonously with the alert.log
-- later, at 9:12:
-- pkhz_j000_1516:
Dump file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_j000_1516.trc
Mon Dec 17 09:12:55 2007
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Windows 2000 Version V5.0 Service Pack 4
CPU : 1 - type 586
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:184M/759M, Ph+PgF:241M/2218M, VA:56M/2047M
Instance name: pkhz
Redo thread mounted by this instance: 1
Oracle process number: 18
Windows thread id: 1516, image: ORACLE.EXE (J000)
*** ACTION NAME:(PURGE_LOG) 2007-12-17 09:12:55.046
*** MODULE NAME:(DBMS_SCHEDULER) 2007-12-17 09:12:55.046
*** SERVICE NAME:(SYS$USERS) 2007-12-17 09:12:55.046
*** SESSION ID:(200.22) 2007-12-17 09:12:55.046
*** 2007-12-17 09:12:55.046
ORA-12012: error on auto execute of job 5430
ORA-04030: out of process memory when trying to allocate ORA-04030: out of process memory when trying to allocate 123404 bytes (QERHJ hash-joi,kllcqas:kllsltba)
ORA-06512: at "SYS.DBMS_ISCHED", line 492
ORA-06512: at "SYS.DBMS_SCHEDULER", line 2390
bytes (,)
-- second occasion, pkhz_psp0_1528.trc
Dump file d:\oraclexe\oradata\pls_hoogezand\system_trace\pkhz_psp0_1528.trc
Wed Dec 26 11:00:30 2007
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Windows 2000 Version V5.0 Service Pack 4
CPU : 1 - type 586
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:151M/759M, Ph+PgF:590M/2671M, VA:5M/2047M
Instance name: pkhz
Redo thread mounted by this instance: 1
Oracle process number: 3
Windows thread id: 1528, image: ORACLE.EXE (PSP0)
*** SERVICE NAME:(SYS$BACKGROUND) 2007-12-26 11:00:30.250
*** SESSION ID:(224.1) 2007-12-26 11:00:30.250
*** 2007-12-26 11:00:30.250
Process startup failed, error stack:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27302: failure occurred at: skgpspawn
*** 2007-12-26 11:01:31.156
Process startup failed, error stack:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27302: failure occurred at: skgpspawn
*** 2007-12-26 11:02:32.156
Process startup failed, error stack:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27302: failure occurred at: skgpspawn
*** 2007-12-26 11:03:35.156
Process startup failed, error stack:
ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
ORA-27302: failure occurred at: skgpspawn
this repeats a few times until the end of the file.
JanR -
Bc4j.xcfg, database connections and deploying ADF apps to oc4j
I'm trying to understand how to enable custom database connections on a JDeveloper ADF application deployed to a stand-alone instance of OC4J.
All entity objects were created as ADF Business Components.
I looks like the db connection information used by the application is stored in a file named "bc4j.xcfg".
How would I change the database connection information between different environments, changing the server, port and password information from an OC4J instance?
I'd like to use an OC4J defined data-sources.xml file, but am looking for the simplest approach for now.Tomato tomaato, call it what you will, we now have to spend time (money) figuring out how to change from using the recommended use of a "connection" from Oracle tutorials and in Oracle Press books.
Plus, neither I nor our client can get JDeveloper ADF 10.1.3 to work on OAS 10.1.2.
Oracle has been of little help, other than stating to follow documentation. We followed the documentation at least a dozen times and on three different install of OAS 10.1.2.
Why doesn't JDeveloper have a check-box or button that reconfigures the application to run on 10.1.2 (J2EE 1.3), there is a check-box to change JDK versions (1.4)? This is suspect to me.
We are going to be speaking with the client this week, and have to state the ADF application works, but NOT on OAS 10.1.2.
Does ADF work on OAS 10.1.3, absolutely, but the client is in 10.1.2 and can not upgrade at this time.
I've read in blogs where lots of developers have the same issues without resolution and Oracle should just come out and state that 10.1.3 does not work on 10.1.2.
So my experience has been a mixed bag with ADF, both in terms of the software and customer support from Oracle. -
Deploy BC4J to database, how to?
Hello, I want to deploy business objects to the database and then map some methods from an application module as stored procedures.
I'm using JDeveloper 10.1.3 and found an option to deploy to the database, but it fails because the database does not have all the BC4J runtime libraries. I've read in some other threads that deploying from JDeveloper would deploy the needed libraries, but that is not happening and I can't find an option to make that happen.
I also tried loading the libraries manually but it is an endless process because of the dependencies and then I reach a point where I don't know what library is missing. It seems that I need to load all the jar files below the JDeveloper installation directory!
If somebody has some links, hints, advice or guide to do what I described I'd really appreciate it.
Thank you.Hi Brenden, I can't install AS on the same server, DBA would not want to mess up with the main production database server.
We have a 10g AS for production but it is in a different physical location from the database server and it is running OLTP apps; I am worried about data transference because the rule enabled application will work over a large amount of records, which would be extracted from the database server. The point is that it is a batch process and I thought it would be better for it to be deployed into the database server.
Well, I guess I will have to find a turn around, maybe not using BC4J, which is just convenience as it is playing the role of an OR mapper.
Thanks for your help. -
BC4J & JNDI Database Configuration Setting
Hallo Everybody,
My Application reads from connections.xml the jdbc connection settings,
in order to connect to the oracle database.
I don't like the fact that I have to force my Customer to edit this File by Hand for the JDBC Settings.
I would like to use a "JNDI Datasource Name" for example jdbc/MyDatabase that will evaluated
from the Applicationserver (not from bc4j interal JNDI!!!!)
In this case, the Customer can define the jdbc Connection Settings in his Applicationserver
by creating a "Resource-Reference" for a javax.sqlDataSource with the name "jdbc/MyDatabase" .
( This is also Possible in Tomcat. )
This is the usual way to configure jdbc Connections in a managed Enviroment.
How can I say to the Applicaton Module "please obtain your jdbc-connections over the datasource java/MyDataBase" ???
Is this in bc4j Framework possible ? ( note: I'm new to bc4j but not to j2ee )
Thank for any Hint,
regarts,
Manolis
(sorry for my bad english, learned it through compiler error messages ;-) )It worked !!!
Starting from a working Projekt that gets Connections over a JDBC Configuration,
I changed then bc4j.xcfg (I had not to recompile)
to
<?xml version = '1.0' encoding = 'windows-1252'?>
<BC4JConfig>
<AppModuleConfigBag>
<AppModuleConfig name="SimpleAppModuleLocal">
<ApplicationName>com.company.AppModule</ApplicationName>
<DeployPlatform>LOCAL</DeployPlatform>
<JDBCDataSource>DataSourceDef</JDBCDataSource>
</AppModuleConfig>
</AppModuleConfigBag>
<ConnectionDefinition name="DataSourceDef">
<ENTRY name="DsName" value=<b>"java:comp/env/jdbc/MyConcectionDS"</b>/>
</ConnectionDefinition>
</BC4JConfig>
I'm using Tomcat, and my server.xml looks like :
<context name="/examples" ....>
<Resource name="jdbc/aixBOMSDS" auth="Container"
type="javax.sql.DataSource"/>
<ResourceParams name=<b>"jdbc/MyConcectionDS"</b>>
<parameter><name>user</name><value>scott</value></parameter>
<parameter><name>password</name><value>tiger</value></parameter>
<parameter><name>driverClassName</name>
<value>oracle.jdbc.driver.OracleDriver</value></parameter>
<parameter><name>driverName</name>
<value>jdbc:oracle:thin:@myhost:1521:mysid</value></parameter>
<parameter>
<name>maxActive</name>
<value>8</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>4</value>
</parameter>
</ResourceParams>
</context>
and the web.xml in the /examples context :
<webapp>
<resource-ref>
<res-ref-name><b>jdbc/MyConcectionDS</b></res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</webapp>
thanks,
Manolis Afentakis -
Can I increase db_files parameter without restarting database
I get following error message : ORA-00059: maximum number of DB_FILES exceeded
Can I increase the db_files parameter dynamically without restarting the database.
thanks!You cannot change this parameter dynamically. You must restart your oracle instance in order this parameter takes effect.
refer:-
ORA-00059: maximum number of DB_FILES exceeded -
LOCK_SGA stop restarting database
Hi,
Yesterday I had LOCK_SGA in memory but when I restart the database it doesn't restart when I am trying to start manually(by sql prompt) it say's
"ORACLE SHARED REALM MEMORY ALREADY EXIST" when I am checking detail of this error it says "start new oracle instance or clean previous SGA", but when delete LOCK_SGA line from SPFILE and try to start database it start successfully, some one explain me whats wrong.
Thanks in advance.
KhawarHi
Try restarting the instance service from the services and then try restarting your db.
If that doesn't help in SQL do a shutdown abort and then startup.
This MIGHT help
Regards
Tony S. Garabedian -
Restart database with user tablespace
Hi Experts,
I have one no archive window single instance as 10.2.0.4 at 31 bit window 2003.
I try to restart DB when DB down. I got message as
Database mounted.
ORA-01113: file 7 needs media recovery
ORA-01110: data file 7: 'D:\ORACLE\ORADATA\SALE\USERS04.DBF'
How to make table offline and restart DB?
Thanks help!
JImHello,
After putting the datafile offline drop and opening the database, the datafile "USERS04.DBF" will be lost.
In fact this command means that you are offlining the datafile with the intention of dropping the Tablespace.
So, if you intend to drop the Tablespace but you need to keep the objects located in the other datafiles of the
corresponding Tablespace, you'll have to run an Export then, you could drop the corresponding Tablespace so
as to clean the data dictionary, recreate the Tablespace and Import the saved datas.
To drop the corresponding Tablespace you may run these statements
DROP TABLESPACE <tablespace name> INCLUDING CONTENTS AND DATAFILES;Else, if you want to save this datafile, as your database is in noarchivelog, you may try a complete recovery (from
the online redologs):
alter database mount;
recover database;
alter database open;If it doesn't work the only way you have is to restore from a Cold Backup.
Hope this help.
Best regards,
Jean-Valentin -
Urgent: Cannot restart database after Patching - help
Hi all,
The database version is 10.2.0.3 on linux 32-bit machine, i was applying the cpuoct2008 onto the database as per documentation. I tried to start the database and it comes back with ::
[oracle@dslak-dba2 bin]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.3.0 - Production on Mon Nov 10 12:04:42 2008
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning and Data Mining options
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01507: database not mounted
SQL> alter database mount;
alter database mount
ERROR at line 1:
ORA-00205: error in identifying control file, check alert log for more info
Mon Nov 10 12:04:54 2008
alter database mount
Mon Nov 10 12:04:54 2008
ORA-00202: control file: '+DATA/marge/controlfile/current.256.599073309'
ORA-17503: ksfdopn:2 Failed to open file +DATA/marge/controlfile/current.256.599073309
ORA-15001: diskgroup "DATA" does not exist or is not mounted
ORA-15077: could not locate ASM instance serving a required diskgroup
Mon Nov 10 12:04:54 2008
ORA-205 signalled during: alter database mount...
Shutting down instance: further logons disabled
[oracle@dslak-dba2 7369190]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.3.0 - Production on Mon Nov 10 12:40:54 2008
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning and Data Mining options
SQL> alter database mount;
alter database mount
ERROR at line 1:
ORA-00205: error in identifying control file, check alert log for more info
Please advice
Regards
Susan J
Edited by: user641314 on Nov 10, 2008 12:57 PMuser641314 wrote:
I have got the database and the asm to startup. But there seems to be issue with the listener,
a small portion of the lsnrctl status listener
Service "+asm_dslak_dba2" has 1 instance(s).
Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
Service "+asm_dslak_dba2_XPT" has 1 instance(s).
Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
Service "marge.simpson" has 1 instance(s).
Instance "marge", status READY, has 1 handler(s) for this service...
Service "margeXDB.simpson" has 1 instance(s).
Instance "marge", status READY, has 1 handler(s) for this service...
Service "marge_XPT.simpson" has 1 instance(s).
Instance "marge", status READY, has 1 handler(s) for this service...
The command completed successfully
The listener is blocked and why is this so?
regards,
Susan JohnCheck this article
http://www.idevelopment.info/data/Oracle/DBA_tips/Automatic_Storage_Management/ASM_45.shtml -
Having issue restarting database after switching mount point
We needed to change the mount point of the disk that has our mount points, so instead of going to /opt, it going to /opt/san/mdb4. I have created a control file to use to start up the database, but I'm still having issues. Here is part of the control file:
CREATE CONTROLFILE REUSE SET DATABASE "INVEST" RESETLOGS NOARCHIVELOG
MAXLOGFILES 64
MAXLOGMEMBERS 2
MAXDATAFILES 254
MAXINSTANCES 16
MAXLOGHISTORY 1815
LOGFILE
GROUP 1 (
'/opt/san/mdb4/db02/oradata/INVEST/redo01a.log',
'/opt/san/mdb4/db03/oradata/INVEST/redo01b.log'
) SIZE 50M,
etc....
DATAFILE
'/opt/san/mdb4/db02/oradata/INVEST/XXX.dbf',
'/opt/san/mdb4/db03/oradata/INVEST/XXX01.dbf',
'/opt/san/mdb4/db07/oradata/INVEST/XXX02.dbf',
'/opt/san/mdb4/db07/oradata/INVEST/XXX03.dbf',
'/opt/san/mdb4/db03/oradata/INVEST/XXX04.dbf',
'/opt/san/mdb4/db03/oradata/INVEST/XXX05.dbf',
'/opt/san/mdb4/db03/oradata/INVEST/XXX06.dbf',
etc...
CHARACTER SET UTF8
All of the files are in the correct spot. I have also edited the init.ora file so that the directories are correct. This is the error that I get every time:
CREATE CONTROLFILE REUSE SET DATABASE "INVEST" RESETLOGS NOARCHIVELOG
ORA-01503: CREATE CONTROLFILE failed
ORA-00449: background process 'DBW0' unexpectedly terminated with error 7446
ORA-07446: sdnfy: bad value '' for parameter .
I am running Oracle 8.1.7 on Sun Solaris 8 (SunOS 5.8).
Does anyone have any idea what is going on? Let me know.According to error message you have syntax error in your create statement. double check it.
ORA-07446: sdnfy: bad value 'string' for parameter string.
Cause: The directory specified as the value for the stated parameter could not be used.
Action: Make sure the directory you have specified is a valid directory/file specification.
Maybe you are looking for
-
How do you change your security question answers if you totally forgot them?
Please make it as simple as possible because as my user name implies I am not very good nor like technology.
-
Need Third Party software recommendation - duplicates management and remova
I have read several dozen discussions addressing duplicate file/song removal from itunes, and many recommend third party software. While there is a 'show exact duplicates' command in itunes at Shift:File->Show exact duplicates, in my case all it did
-
Please help me in this regard I have created a BI report which need to be called like the Fact sheet in Accounts in PCUI. I am unable to find a way to link this report to the Account. Can some one give me any inputs. regards
-
Hi,all, I m maintaining equipment BOM for spare parts planning ,where all item category has been mentioned as "L",now from maintenance order I want to generate Purchase Requisition by changing the item category as "N" after selecting the specfic item
-
Sending edited web page via email
I received via email a web page which someone asked me to change. I'm a painter not a web designer and I know just enough to be dangerous. I managed to get the page into Dreamweaver and edit it but now I don't know how to get it back to the person, p