Data Guard and auditor of the Apex

Hi all

I seem to be unable to understand the configuration of parameters for protective Apex listener when connecting to a database.

We have a lot of servers of databases (without data guard) and we use the command line Wizard to generate the configuration file. It's straigthforeward and
easy. We enter the server, port, and Service_name and it works.

But for a guard database, there are two servers and I seem to be unable to set it in the right way. After doing some research I came across the parameter apex.db.customURL which should solve the problem.

I removed the references to the server, port, and Service_name and put the key in.

The result were errors of connection due to some incorrect port settings.

SEVERE: The pool named: apex is not properly configured, error: IO error: format invalid number for the port number

oracle.dbtools.common.jdbc.ConnectionPoolException: the pool named: apex is not properly configured, error: IO error: format invalid number for the port number

at oracle.dbtools.common.jdbc.ConnectionPoolException.badConfiguration(ConnectionPoolException.java:65)

What Miss me?

Thank you
Michael

(Here's the rest of our configuration :)

<? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >

< ! DOCTYPE SYSTEM property "http://java.sun.com/dtd/properties.dtd" > ""

Properties of <>

< comment > saved on Mon Oct 19 18:28:41 CEST 2015 < / comment >

< key "debug.printDebugToScreen entry" = > false < / entry >

< key "security.disableDefaultExclusionList entry" = > false < / entry >

< key = "db.password entry" > @055EA3CC68C35F70CF34A203A8EE1A55D411997069F6AE9053B3D1F0B951D84E0E < / entry >

< key = "enter cache.maxEntries" > 500 < / entry >

< key = "enter error.maxEntries" > 50 < / entry >

< key = "enter security.maxEntries" > 2000 < / entry >

< key = "cache.directory entry" > / tmp/apex/cache < / entry >

< enter key = "jdbc. DriverType"> thin < / entry >

< key = "enter log.maxEntries" > 50 < / entry >

< enter key = "jdbc. MaxConnectionReuseCount"> 1000 < / entry >

< key "log.logging entry" = > false < / entry >

< enter key = "jdbc. InitialLimit' > 3 < / entry >

< enter key = "jdbc. MaxLimit' 10 > < / entry >

< key = "enter cache.monitorInterval" 60 > < / entry >

< key = "enter cache.expiration" > 7 < / entry >

< key = "enter jdbc.statementTimeout" > 900 < / entry >

< enter key = "jdbc. MaxStatementsLimit' 10 > < / entry >

< key = "misc.defaultPage entry" > apex < / entry >

< key = "misc.compress" / entry >

< enter key = "jdbc. MinLimit"> 1 < / entry >

< key = "cache.type entry" > lru < / entry >

< key "cache.caching entry" = > false < / entry >

< key "error.keepErrorMessages entry" = > true < / entry >

< key = "cache.procedureNameList" / entry >

< key = "cache.duration entry" > days < / entry >

< enter key = "jdbc. InactivityTimeout"1800 > < / entry >

< key "debug.debugger entry" = > false < / entry >

< key = "enter db.customURL" > JDBC: thin: @(DESCRIPTION = (ADDRESS_LIST = (ADRESSE = (COMMUNAUTÉ = tcp.world) (PROTOCOL = TCP) (host = DB-ENDUR) (Port = 1520)) (ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL=TCP) (Host = DB-ENDURK) (PORT = 1521)) (LOAD_BALANCE = off)(FAILOVER=on)) (CONNECT_DATA = (SERVICE_NAME = ENDUR_PROD.) VERBUND.CO. «"" AT))) < / entry >»»»

< / properties >



Hi Michael Weinberger,

Michael Weinberger wrote:

I seem to be unable to understand the configuration of parameters for protective Apex listener when connecting to a database.

We have a lot of servers of databases (without data guard) and we use the command line Wizard to generate the configuration file. It's straigthforeward and
easy. We enter the server, port, and Service_name and it works.

But for a guard database, there are two servers and I seem to be unable to set it in the right way. After doing some research I came across the parameter apex.db.customURL which should solve the problem.

I removed the references to the server, port, and Service_name and put the key in.

Keep the references the server name, port and service. No need to delete.

The result were errors of connection due to some incorrect port settings.

SEVERE: The pool named: apex is not properly configured, error: IO error: format invalid number for the port number

oracle.dbtools.common.jdbc.ConnectionPoolException: the pool named: apex is not properly configured, error: IO error: format invalid number for the port number

at oracle.dbtools.common.jdbc.ConnectionPoolException.badConfiguration(ConnectionPoolException.java:65)

What Miss me?

You must create two entries in the configuration file "defaults.xml" for your ADR (formerly APEX Listener).

One for db.connectionType and, secondly, for db.customURL, for example:

customurl
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=
(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(HOST=DB-ENDUR)(Port = 1520))
(ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(HOST=DB-ENDURK)(PORT = 1521))
(LOAD_BALANCE=off)(FAILOVER=on))(CONNECT_DATA=(SERVICE_NAME=ENDUR_PROD.VERBUND.CO.AT)))

Reference: http://docs.oracle.com/cd/E56351_01/doc.30/e56293/config_file.htm#AELIG7204

NOTE: After you change the configuration file, don't forget to restart independent ADR / Java EE application server support if ADR is deployed on one.

Also check if your URL for a JDBC connection is working properly and if there are any questions, you can turn on debugging for ADR:

Reference:

Directed by Tony, you should post the ADR related questions to the appropriate forum. Reference: ADR, SODA & JSON in the database

You can also move this thread on the forum of the ADR.

Kind regards

Kiran

Tags: Database

Similar Questions

  • Data Guard and connectable to database

    Possible to have some project documents in a CDP that is used for Data Guard and other PDB files don't not ITIS?

    No, not in the current version. You must use the PDBs als for DG or nothing.

  • Problem link DB between active Data Guard and reports application database

    My version of the 11.2.0.2.0 and OS database is Oracle Solaris 10 9/10.
    I am facing a problem in my custody of data Active data base for purposes of tax. Active Data guard information is as below.

    SQL > select name, database_role, open_mode from v$ database;

    NAME DATABASE_ROLE OPEN_MODE
    --------- ---------------- --------------------
    ORCL PHYSICS READ SHALL ONLY APPLY

    Detail of the problem is less than
    ------------------------------
    I have created a db link (name: DATADB_LINK) between active data guard and report of application of data base for purposes of tax.
    SQL > create database DATADB_LINK link to connect to HR identified by HR using 'DRFUNPD ';
    Database link created.

    But when I run a query using db link to my database of enforcement report I got this error below.

    ORA-01555: snapshot too old: rollback segment number 10 with the name ' _SYSSMU10_4261549777$ ' too small
    ORA-02063: preceding the line of DATADB_LINK

    Then I see logfile named database alart Active Data Guard and get below error

    ORA-01555 caused by the following SQL statement (SQL ID: 11yj3pucjguc8, time of request = 1 sec, SNA: 0x0000.07c708c3): SELECT "A2". "' BUSINESS_TRANSACTION_REFERENCE ', 'A2 '. "' BUSINESS_TRANSACTION_CODE ', MAX (CASE 'A1'. "TRANS_DATA_KEY"WHEN "feature' AND 'A1'." " END OF TRANS_DATA_VALUE"), MAX (CASE 'A1'. "TRANS_DATA_KEY" WHEN 'otherFeature' THEN 'A1' '. "" END OF TRANS_DATA_VALUE")

    But the interesting point if I run the query report directly in the Active Data Guard database, I got never error.

    So it's a problem of link DB between active Data Guard and other databases?

    Fazlul Kabir Mahfuz wrote:
    My version of the 11.2.0.2.0 and OS database is Oracle Solaris 10 9/10.
    I am facing a problem in my custody of data Active data base for purposes of tax. Active Data guard information is as below.

    SQL > select name, database_role, open_mode from v$ database;

    NAME DATABASE_ROLE OPEN_MODE
    --------- ---------------- --------------------
    ORCL PHYSICS READ SHALL ONLY APPLY

    Detail of the problem is less than
    ------------------------------
    I have created a db link (name: DATADB_LINK) between active data guard and report of application of data base for purposes of tax.
    SQL > create database DATADB_LINK link to connect to HR identified by HR using 'DRFUNPD ';
    Database link created.

    But when I run a query using db link to my database of enforcement report I got this error below.

    ORA-01555: snapshot too old: rollback segment number 10 with the name ' _SYSSMU10_4261549777$ ' too small
    ORA-02063: preceding the line of DATADB_LINK

    Then I see logfile named database alart Active Data Guard and get below error

    ORA-01555 caused by the following SQL statement (SQL ID: 11yj3pucjguc8, time of request = 1 sec, SNA: 0x0000.07c708c3): SELECT "A2". "' BUSINESS_TRANSACTION_REFERENCE ', 'A2 '. "' BUSINESS_TRANSACTION_CODE ', MAX (CASE 'A1'. "TRANS_DATA_KEY"WHEN "feature' AND 'A1'." " END OF TRANS_DATA_VALUE"), MAX (CASE 'A1'. "TRANS_DATA_KEY" WHEN 'otherFeature' THEN 'A1' '. "" END OF TRANS_DATA_VALUE")

    But the interesting point if I run the query report directly in the Active Data Guard database, I got never error.

    So it's a problem of link DB between active Data Guard and other databases?

    Check this statement that applies to your environment

    * ORA-01555 on Active Data Guard Standby Database [1273808.1 ID] *.

    also

    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:8908307196113

  • Data Guard and Flashback

    I will be an active data guard with a primary instance and a secondary instance. I'm in the environment no CARS. My primary databases and Eve will be the flashback database on. I duration of blowback for one day, i.e., I should be able to flashback to the top of any time in the last 24 hours.

    When I do the RMAN backup on primary and remove the archiving log by using the rman command, RMA will not remove newspapers to archive that will be required for the flashback database (24 hours a day)?

    When I am applying newspapers archived on the backup site, I want to remove the archived logs that have been applied, but not required for the flashback database. How can I determine that? In the worst case scenario, I can always keep archived logs from 1 day to wait?

    1. Thank you.

    You need not remove the flashback logs.  Oracle automatically manages the removal of flashback logs.

    Configure retention policy to remove the archive logs more at some point.

    Configure archivelog deletion policy to manage the removal of logs that have been applied to the wait.

    for example:

    CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;

    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;

    In the worst case if you discover you need archivelogs that have been removed from the drive, then you can restore them because they have already been backed up by RMAN.

  • Pulling data from another database in the APEX

    Hi all

    Within the Apex, is it possible to connect to a different database, possibly another server and select data, update a database of 'local '?

    Is it possible to generate strings for connection etc who you allow to request a name of user and password and then run the SQL code?

    The two databases are in the same enterprise network and are accessible with SQL Developer, etc.

    Thank you!
    ~ P

    Hello

    This could also help
    http://docs.Oracle.com/CD/E37097_01/doc/doc.42/e35125/advnc_db_link.htm#BABBFICH

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Archive Data Guard and Flashback

    Hello

    I have a DB 11.2.0.1 with a database of pending.
    If I put a few tables to be in the flashback data archive, (support for FDA tables) will be copied to a db as well sleep?

    concerning

    Hello;

    I hesitate to answer because you don't seem to close your old questions or give points to those who help. But I also believe in giving the benefit of the doubt.

    If the FIU is configured on your watch then the answer is Yes.

    While this is not a requirement to use I would always use FRA with Data Guard.

    db_recovery_file_dest = ' / u01/app/oracle/flash_recovery_area.

    The following are some sample parameter values that might be used to configure a physical standby database to archive its standby redo log to the fast recovery area:
    
    LOG_ARCHIVE_DEST_2 = 'LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(STANDBY_LOGFILE,STANDBY_ROLE)' LOG_ARCHIVE_DEST_STATE_2=ENABLE
    

    Source

    DataGuard of Concepts and Administration 11g Release 2 (11.2) E10700-02

    With RMAN efficiently in an environment of Dataguard. [848716.1 ID]

    Best regards

    mseberg

    Published by: mseberg on December 1, 2012 13:53

  • Removal of RMAN, Data Guard, and Archives journal

    Our DG Environment running Oracle 11 g R2
    We have a 3 node DG Environment with
    A primary being
    B and C being Active Data Guard Standby
    Backups are taken out of B and go directly to tape.
    Standby Redo Logs and fast recovery area are used



    Holding the recommendation of "Using Recovery Manager with Oracle Data Guard in Oracle Database 10g"
    RMAN primary control ('A')
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED PENDING

    RMAN standby ("B") where the backup is performed
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY

    RMAN set the other Standby ("C")
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED PENDING

    How can we know what newspaper Archives are eligible to be removed from 'A' and 'C '?
    When remove it takes place?
    How can say us when archiving logs are deleted from the 'A' and 'C '?

    Dear user10260925,

    The documentation that you read is reliable but not enough.

    The Oracle can handle the archivelog directory and know that you are eligible for deletion. Stuff you posted here was derived from the books online and is supported and can be used when the Oracle knows and manages the archivelogs. This is simply called the flash recovery area. Please read the FRA at this very moment.

    Under the personal component normal circumstances in the industry use a few scripts to achieve on backup archivelog deletion.

    Here's a useful example to you;

    # Remove old archivelogs
    ######################################
    00,30 * * * * /home/oracle/scripts/delete_applied_redo_logs_OPTSTBY.sh
    ######################################
    
    vals3:/home/oracle#cat /home/oracle/scripts/delete_applied_redo_logs_OPTSTBY.sh
    export ORACLE_SID=optstby
    export ORACLE_HOME=/oracle/product/10.2.0/db_1
    cd /db/optima/archive/OPTPROD/archivelog
    
    /oracle/product/10.2.0/db_1/bin/sqlplus "/ as sysdba" @delete_applied_redo_logs.sql
    grep arc delete_applied_redo_logs.lst > delete_applied_redo_logs_1.sh
    chmod 755 delete_applied_redo_logs_1.sh
    sh delete_applied_redo_logs_1.sh
    rm delete_applied_redo_logs_1.sh
    rm delete_applied_redo_logs.lst
    
    vals3:/home/oracle#cd /db/optima/archive/OPTPROD/archivelog
    vals3:/db/optima/archive/OPTPROD/archivelog#cat delete_applied_redo_logs.sql
    set echo off
    set heading off
    spool /db/optima/archive/OPTPROD/archivelog/delete_applied_redo_logs.lst
    select 'rm -f ' || name from v$archived_log where applied = 'YES';
    spool off
    exit
    vals3:/db/optima/archive/OPTPROD/archivelog#
    

    Hope that helps.

    Ogan

  • Active Data Guard and Undo and ora-01555

    Hello

    We have a 11.1.0.7 two nodes primary CARS with a physical standby single instance Active Data Guard. When you run an export datapump since the day before, we get an ORA-01555 while the undo_retention is well beyond the duration of watering for export.

    I'm looking to better understand the cancellation as part of Active Data Guard. Is there any dependency for cancellation between the primary (s) and the day before? Are the settings Cancel (undo_retention, tablespace... undo size) on the primary and independent intelligence on the other?

    Thank you.

    The wait is a physical expectation. An exact copy of the primary. The cancellation to sleep is controlled by it again come from the primary. When the cancellation is replaced in the primary, he gets crushed to the standby regardless of what it executes. You cannot cancel maintained around more on the eve, it is a replica of the primary.

    Increasing the undo tablespace and the primary undo_retention allows more Cancel to keep both primary and standby, but Eve is always controlled by the direction of the primary to cancel it. Of course, you must change the setting to sleep too so that everything is the same when you made the day before to a primary database.

    I hope this helps.

    Larry

  • Data Guard and EHCC on Exadata - does work?

    Exadata Hybrid columnar Compression (OHCC) works when a database is in mode "force logging?

    I fear that it may not work because OHCC works only for inserts in direct mode, which means me no logging.

    We are in the process of purchasing a vault Exadata, a second target Data Guard.

    V11.2 documentation Data Guard is specifically stated that Data Guard doesn't support hybrid columnar compression, but I don't know what are the implications of this.

    I expect to have to solve the primary database Machine for 'forcing logging' Data Guard will be used.

    DataGuard physical or logical?

    Oracle fully supports data Guard physical standby and hybrid columnar Compression on Exadata.

    Direct support issues that may exist with Data Guard logic and therefore, at least at the present time, logic is not supported.

    The above is to the best of my knowledge that I don't have access to the documentation of the Exadata. But was certainly true of my
    last experience of HCC. Your Oracle sales representative should be able to provide the definitive answer quickly and I would be grateful
    post you here.

  • dates of 24 hours in the apex

    Newbie question:

    I'm having a hard time getting any time after 13:00 inserted in a TIMESTAMP field.

    I have a table named TRUCK with a column of timestamp TIME_IN. I've had APEX generate a form on TRUCK and TIME_IN is presented as a DATE in format DD-MON-RR HH24:MM PICKER.

    1. when I leave such TIME_IN generated on the shape of the APEX, I get this error when entering the time > = 13:00

    ORA-01849: time must be between 1 and 12

    2. when I use this calculation to modify the value of TIME_IN as follows after submit

    TO_CHAR (TO_TIMESTAMP (: P15_TIME_IN, 'DD-MON-RR HH24'), ' DD-MON-RR HH: MI AM ")

    I get this error:

    ORA-01858: a non-digit character was found here where was waiting for a digital

    3. Finally, when I omit the 'AM' in the format mask, I have no errors but any time after that 13:00 are incorrect - they are reduced to 12 hours
    (I mean that when I create a new record, after selecting 23:15 on the date picker, the time 11:15 is inserted in the table):

    Can anyone help?

    BTW this is APEX 2, the version that comes with Oracle XE for Windows.


    Thank you
    Peter Kopke
    [email protected]
    .

    Hello

    > It's BTW of APEX 2, the version that comes with Oracle XE for Windows.

    TIMESTAMP support was added in version 2.2, so in the last version you use (2.1) it is not supported.

    You must upgrade the APEX version you use, and the following should help you - http://www.oracle.com/technology/products/database/application_express/html/why_upgrade_xe.html

    Kind regards
    Arie.

  • Pavilion TS 17-g099nr: PCI Data Acquisition and processing of the Signal Windows 10 x 64 controller driver

    Hi, it is impossible for the moment to install the driver for PCI Data Acquisition and Signal Processing.

    I downloaded the driver from Intel, and it did not work... I found a version of this site for windows 8.1 unupdated and it does not work.

    A little help?

    Thank you!

    Hello:

    It could be one of two different drivers.

    Try this one first, and then restart the PC.

    This package contains the Intel Chipset Installation utility. This utility allows the operating system to show the correct name for the Intel hardware that is installed in the Microsoft Windows Device Manager. This package is provided for the laptop models running a supported operating system.

    FTP://ftp.HP.com/pub/SoftPaq/sp75501-76000/sp75561.exe

    If this does not work, try this one...

    This package contains the driver which allows Intel platform dynamic and thermal firmware setting. Intel platform dynamic and thermal environment information system temperature and power use for the thermal protection of the system to work properly. This package is provided for the laptop models running a supported operating system.

    FTP://ftp.HP.com/pub/SoftPaq/sp75501-76000/sp75506.exe

  • Laptop freezing - Data Guard really slow down the kernel inpage error

    Please help me

    All of a sudden my laptop looked at freezing constantly I restarted my laptop and it took forever so that it starts so I rebooted again and then on the start screen, he says he has repair disk errors

    When loaded it was always freezing all the time then the blue screen kernel data paging error occurred. WHAT SHOULD I DO :( I have basic it skills btw

     We need the log files themselves (called a DMP files) because they contain the only record of the sequence of events that led to the accident, what drivers have been loaded, and what has been loaded.


    Please follow our instructions to find and download the files, we need to help you fix your computer. They can be found at here

    If you have any questions regarding the procedure, please ask


  • 12 c database Data Guard and connectable to DR

    Hi all

    I have a database upgrade from 11.2.0.3 to 12.1.0.2 to come. The current set up is the PROD & DR are 11g data protection configuration and it works fine. The two databases are in ASM and the configuration is exactly the same as well PROD & DR sites. The database is currently 25 TB.

    I understand how make the upgrade to 12 c, then let cascading changes through on the DR database - so NON - CBD on both sites. Thinking aloud here, I would plug in the PROD database into a new CBD. I suppose I create a CBD DR and then convert DR pluggable database, modify the dataguard config (as it is at the level of the container in 12 c) and plug into the DR database in the new CBD DR? Then copy the archivelogs of CBD PROD on the DR site to fix gaps. This approach wouldn't work?

    Thoughts everyone?

    Thank you

    Vic010

    OK Oracle confirmed - you must copy the data files to the doctor and then rebuild the database of DR... Is not ideal if your database is 25 to and in full swing. The last time, he had to rebuild the database, it took a week...

    Vic010

  • How do the areas of adjustment between the fields and lines in the apex?

    (Request Express 4.2.5.00.08)


    Hello world

    I am beginner in the apex...  When I created the form page, I found different spaces between the fields and lines... But I can't adjust it...?


    Help me please


    PIC

    http://i.imgur.com/ZSFlmCi.PNG


    Demo https://apex.oracle.com/pls/apex/f?p=50581:3:4430339212420:

    PEAK http://i.imgur.com/T14TE3n.png

    Hello

    Solve this problem...

    In the section "Attributes of the HTML Form element" for item writing: style = "" margin: 0px 1px 0px; ""

    Thanks Amr

  • Migration of virtual machines from a data store, and then delete the data store?

    Hello

    I have a future deployment this month and my Director wants to build a new RAID 6 array, create a store of data with the new table and then move all the VMS to the newly created data store.

    Then he asked me to take the old data store and remove it and the available space between the deleted data store and other stores of data in our shared environment. The question is when the new raid is created and vm has migrated to the new data store, which is the best way to remove the data store empty and make sure that the space available for other data stores? Any help would be appreciated...

    Greg ~.

    If all controls are met, you can go ahead and take it apart without any problem.

    I have re-iterate below checks:

    -No virtual machine is in the data store

    -The data store is not part of the cluster data store

    -The data store is not managed by the DRS storage

    -IGCS is disabled for this data store

    -The data store is not used for vSphere HA heartbeat.

    Especially highlighted 2 controls. Please note that SIOC can be enabled on the data without SDR photo store

Maybe you are looking for