RowAlreadyDeletedException so that the line exists in the database

Hello

JDev 11.1.2.4

I put in place the mechanism to keep the current line on the restoration.

http://andrejusb.blogspot.ch/2013/03/ADF-rollback-and-keep-current-row.html

In a managed bean I call the restore operation, and if the restoreCurrentRow is called on all your.

The code is in the VOImpl database which all your runs from:

protected void restoreCurrentRow() {}

If (currentRowKey! = null) {}

_logger.fine ("START RESET CURRENT ROW");

_logger.info ("restoreCurrentRow" + this.getClass () + "" + currentRowKey + "" + this.getName ());

this.executeQuery (); < = RowAlreadyDeletedException thrown here

Key k = new Key (currentRowKey.getAttributeValues ());

[] Found line = this.findByKey (k, 1);

If (found! = null & & found.length == 1) {}

Line r = this.getRow (k);

this.setCurrentRow (r);

If (r! = null & & currentRowIndexInRange > = 0) {}

this.scrollRangeTo (r, currentRowIndexInRange);

}

}

_logger.fine ("FINISHING RESET CURRENT ROW");

}

currentRowKey = null;

}

For on VO, I get an RowAlreadyDeletedException exception:

< Utils > < buildFacesMessage > ADF: addition of the following JSF error: line entity with key oracle.jbo.Key [2044346 null] is not in VwWrkdclWrkTitle.

oracle.jbo.RowAlreadyDeletedException: Houston-25019: line entity with key oracle.jbo.Key [2044346 null] is not in VwWrkdclWrkTitle.

at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:875)

at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:552)

at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8311)

at oracle.jbo.server.EntityImpl.populate(EntityImpl.java:6975)

at oracle.jbo.server.EntityImpl.merge(EntityImpl.java:7314)

at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1087)

at oracle.jbo.server.EntityCache.add(EntityCache.java:541)

at oracle.jbo.server.ViewRowStorage.entityCacheAdd(ViewRowStorage.java:3173)

at oracle.jbo.server.ViewRowImpl.entityCacheAdd(ViewRowImpl.java:3799)

at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:5913)

at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:3637)

at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:3492)

at oracle.jbo.server.QueryCollection.get(QueryCollection.java:2209)

at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:5125)

at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2961)

at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2817)

at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:3058)

at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2797)

at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1255)

at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1413)

at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1319)

at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1304)

at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:7211)

at org.xxx.common.model.adfbc.base.MyViewObjectImpl.restoreCurrentRow(MyViewObjectImpl.java:238)

at org.xxx.common.model.adfbc.base.MyViewObjectImpl.afterRollback(MyViewObjectImpl.java:230)

at oracle.jbo.server.DBTransactionImpl.rollback(DBTransactionImpl.java:2544)

at oracle.adf.model.bc4j.DCJboDataControl.rollbackTransaction(DCJboDataControl.java:1600)

VwWrkdclWrkTitle is a SQL view.

In the managed bean, I call a PL/SQL operation. PL/SQL commits the changes, and then I call the restore operation.

So I set a breakpoint after the operation of PL/SQL and test the SQL and I get a single record. Because the PL/SQL is committed, before restoring SQL must return the same as the restoreCurrentRow method.

I do not understand this RowAlreadyDeletedException exception because the line exists.

Thank you

I changed to a primary key that is never zero, and it works. Seems to be a bug in the ADF.

Tags: Java

Similar Questions

  • I'm running 5 neat and it keeps crashing, or finds that the database is corrupted.

    I'm running 5 neat and it keeps crashing, or finds that the database is corrupted. I finally do work, then install a backup of the data. Then it works for awhile and then it crashes and repeat the cycle.  This happened to me several times, someone has the same experience and have a solution I can try?

    Thank you
    Nomad

    Original title: program compatibility Application Applications Apps game games Legacy Crash accidents Application Hang hangs

    I did a search on Google for 5 own database corrupted and came up with a number of references but most were neat user in a forum and links for whom work is no longer.  The following link to Amazon in the comments sections has several people commenting on common database corruption.  http://www.Amazon.com/NeatDesk-desktop-scanner-digital-filing/product-reviews/B001CQ8ER2?PageNumber=2 you can try the treated Support site to see if there is any assistance or fix: http://www.neat.com/support

  • Verify that the database is a node or normal grid

    Hi, is there a way to check (selet) to see if the database is 'A CCR node' ora a normal instance of RAC, but it must be with a database?

    Thank you and best Rgards

    You can use the command 'srvctl config database-d XX' and check the [type] value accordingly.

  • Can not find the file init for the database instance

    I have installed Oracle 10 g under Linux CentOS, run netca to create listener.ora and tnsnames.ora files, then I run dbca to create the myodb database and orcl instance.



    Now when I run dbstart, in the boot log, that it is said that he could not find the file orcl example init. so that the database myodb, he says:

    < em > / oracle/product/10.2.0/db_1/bin/dbstart: database instance "myodb' hot began.





    < /em > my questions:



    1. why it is said when I run dbstart both myodb & orcl are instances of database, I created myodb as the General database, while orcl corresponds to the instance, here it says:

    instance of < em > data treatment "orcl": journal file /oracle/product/10.2.0/db_1/startup.log

    Database instance "myodb' of treatment: save the /oracle/product/10.2.0/db_1/startup.log file



    < /em > is the name of the General database is considered an instance itself and can be used alternatively with the instance of word?



    2 when I created the database using dbca, I made the password for users of SYSTEM & SYS.



    When I try to connect to sqlplus using the system/mypassword, here it says:



    < strong > < em > ORA-01034: ORACLE is not available

    ORA-27101: shared memory realm does not exist

    Linux error: 2: no such file or directory < /em > < / strong >



    3. the database myodb started but it is not mentioned in my tnsnames file or the listener, while one mentioned is orcl has not begun, how is it? I know I'm missing a dir for /orcl in/oracle/home/admin, something that we find for the myodb, where there is/oracle/home/admin/myodb/pfile/init file.



    How can I fix this?



    4. What is the use of the command sql, < strong > edit < facilities > system registry, told me in another thread to connect to an idle instance with sqlplus and run this command, here what I got:



    < em > ERROR on line 1:

    ORA-01034: ORACLE not available



    < /em > 5 - can I just rely on the name of the General database and forget the thing of the Forum? I'm just confused about the difference and do not know how the orcl instance was created, it has not been created with dbca, because when I run dbca he says it's already there, create another instance, so I commented the sid parameter and now I amn't during its creation and how to retrieve its files if I need to re - create it again.



    Note: it is located in the bash_profile as $ORACLE_SID = orcl, why it's the only game, while General MYODB database name is not set, can be there rather than on the instance or SID in the bash_profile?





    Sorry for the many questions, this is the thing of the instance and their related discipline, I appreciate your help.



    Thanks in advance.




    If you have only 1 instance "orcl" then the oratab file should have only 1 entry - only for "orcl". Along, only one instance "myodb" {with the db_name "myodb"} must be started.
    The database Instance is identified by the SID - IE the ORACLE_SID.

    Normally, the SID and DB_NAME are the same - and they do like default value is the same when you run dbca. You have changed probably manually the db_name in dbca.

    If the listener is running on port 1521 and is started before the database instance, the database instance automatically saves with the listener. If the listener is started after the database instance, and then the command 'ALTER SYSTEM REGISTER' in the database instance indicates PMON to register with the listener.
    If you do not want to depend on the automatic check of the database with the listener instance, then you can include the information database (SID!) in the listener.ora. In addition, which would be caused if the listener is not on the default port 1521.

    See my posting in this thread: oracle sid and database the name of for more notes.

    A database can contain multiple schemas - each schema is a different database account. In other implementations of database (non-Oracle), what is called a "database", it is called a 'plan' in Oracle - but that is created as a database account. Database accounts are listed in DBA_USERS - if a user "owns" objects, it's a 'plan', otherwise, it is only a user. {Oracle also provides a CREATE SCHEMA command to create multiple objects in a single command.}

    Hemant K Collette
    http://hemantoracledba.blogspot.com

    Published by: Hemant K grapple on November 6, 2008 09:31
    corrected "orcl" to "myodb.

  • Provider Unable to Submit eQ &gt; &gt; you are looking for "how to the database.

    Hello.  We have a supplier who was sent to a couple of EQS material with custom Sections.  They indicated, and I have confirmed, that can save the eQ without incident, but when they try to click on send, an unhandled exception message.  Our event logs are showing below the stack trace.  I interpret it as meaning that there is something on a particular custom section that the database considers necessary.  Given that it is not displayed in the eQ UI, I want to ask to the database "which is necessary on this customized for this particular eQ Section.  Unfortunately I was not able to get to the right SQL to get an answer to the question.

    We know the requestID for the equalizer and 1020746cb807-aa95-4088-b12e - 0a 6878746874 has been identified as a particular custom section within the equalizer.  Nothing is prepopulated in the eQ and the provider may choose to add lines.  In this case, nothing has been selected to submit it.  When there are data in the custom section, the index in the error value changes to 1.

    In the meantime, the vendor is on hold...  The forum can help?  Recommendations on the tables I should be showing through?

    Thank you.  -BeckieC

    = Stack trace =.

    ErrorType: First | ErrorCount: 0 | App: SP | SessionId: * hidden * | UserId: null | IsNewSession: False | ServerID: xxx.xx.xx.xx | Misc: |

    Exceptions: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. -> Xeno.Prodika.Common.AssertionException: value 'Could not find a line with an index of 0 in the model section 1020746cb807-aa95-4088-b12e - 0 a 6878746874' cannot be null

    at Xeno.Prodika.Common.Assert.Fail (String msg)

    at Xeno.Prodika.Common.Assert.NotNull (String name, Object value)

    at Xeno.Prodika.EQ.Service.DomainModel.GeneralEQ.BaseQuestionnaire.ValidateCustomSections (IExtendedAttributeSectionContainer container, IEQModelSection modelSection)

    at Xeno.Prodika.EQ.Service.DomainModel.GeneralEQ.BaseQuestionnaire.Validate (IEQCustomSectionModelSection eqCSModelSection)

    at Xeno.Prodika.EQ.Service.DomainModel.IngredientEQ.IngredientQuestionnaire.Validate (IEQCustomSectionModelSection eqCSModelSection)

    at Xeno.Prodika.SupplierPortal.WebUI.GeneralQ.SaveAndSubmit.Submit (Object sender, EventArgs e)

    to System.Web.UI.WebControls.Button.OnClick (ByVal e As EventArgs)

    at System.Web.UI.WebControls.Button.RaisePostBackEvent (String eventArgument)

    at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (String eventArgument)

    at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, String eventArgument)

    at System.Web.UI.Page.RaisePostBackEvent (NameValueCollection postData)

    at System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    It was decided that since we cannot understand how interrogate the database, we the provider submit a new eQ and do data entry.  SR would not provide a timely resolution to the need for this provider.  No SR will be submitted for this issue.  New EQS have been sent and provider will rework the data.

  • How to free up disk space for the database file

    Hi experts BDB.

    I use bdb4.6.21 transaction Btree access method, found that after vacuum db db-> truncate, the size of the db file has changed. How to free up disk file db space? It can be configured?

    Thank you

    Min

    Hi Min,

    What Mike says is that you do not expect that the empty space after an operation of truncation (for example a delete or update that empties a page) in the database (empty pages) to return to the file system and therefore to see the physical file size decreases.

    The next section of the documentation explaining this: required disk space

    Space released by removing the key/data pairs in a Btree database or Hash is never returned in the file system, even if it is reused when possible. This means that the databases Btree and hash are to develop alone. If enough key is deleted from a database which shrinks the underlying file is desirable, use the DB-> compact() method to recover disk space. Alternatively, you can create a new database and copy the folders of the former into it.


    So, as Mike suggested, you can dump and reload the data into a new database, or copy data from the existing/old database to a new (to remove the old database and rename a new one the old name), or you can try to compact the database using the method compact().

    If you use compact(), then in order to force the return of empty for the file system pages when possible, use the DB_FREE_SPACE flag and try to avoid using an explicit transaction (use a NULL tnxid pointer, so this BDB will use internally of several transactions that will be engaged periodically to avoid locking large sections of the tree).

    When you use the compaction in order to free up space and return pages from database empty in the file system that it is generally recommended to repeat Compact with a value low 'compact_fillpercent '.  In addition, the following output statistics fields in the structure DB_COMPACT, compact_pages_truncated and compact_pages_free should be examined to determine if there is a point, continuing to run the compaction with the same compact_fillpercent.  If the values are strict positive it is then compact() calling again with the same compact_fillpercent (and specify the DB_FREE_SPACE flag).  The compact algorithm allows a single pass on the pages of the database;  pages so not empty at the end of the file will prevent the free pages (which are placed on the free list) to be returned to the file system.

    Kind regards

    Andrei

  • SINGLETON on POLICY MANAGES the database service. 11.2.0.3

    Hello people.

    I was faced with a simple creation of SINGLETON SERVICE to an existing base of managed policy on a 11.2.0.3 cluster with two nodes without success so far.

    Definition of the environment:
    -Node cluster two 11.2.0.3
    -Several databases (not important I think) all configured with the same SERVER POOL
    -Each database consists of two instances, each one running, one of the nodes form
    -Pool one server only

    Requirement:
    -Databases (DB) with its two instances a need a SINGLETON service performed in one of the servers (Server A).
    -If the instance so that the database running on one down, I need the tilt function to Server B.

    Result:
    -Failover does not work

    Official notes, I checked and tested in vain (among many blogs and forums):
    gR 11, 2 (11.2) RAC TAF Configuration Admin and policy managed databases ID 1312749.1
    Services Database 11 GR 2 of 'Policy' and 'Administrator' managed database ID 1481647.1

    Details of all the different components:

    Configuration of the database
    B@/u01/oracle> srvctl config database -d DB
    Database unique name: DB
    Database name: DB
    Oracle home: /u01/oracle/product/11.2.0.3
    Oracle user: oracle
    Spfile: +DATA/DB/spfileDB.ora
    Domain: 
    Start options: open
    Stop options: immediate
    Database role: PRIMARY
    Management policy: AUTOMATIC
    Server pools: dev
    Database instances: 
    Disk Groups: DATA,FLASH
    Mount point paths: 
    Services: DB_srv
    Type: RAC
    Database is policy managed
    Status of the database
    B@/u01/oracle> srvctl status database -d DB
    Instance DB_2 is running on node B
    Instance DB_1 is running on node A
    Pool of server configuration
    B@/u01/oracle> srvctl config srvpool -g dev
    Server pool name: dev
    Importance: 0, Min: 0, Max: 2
    Candidate server names: A,B
    The service configuration
    B@/u01/oracle> srvctl config service -d DB
    Service name: DB_srv
    Service is enabled
    Server pool: dev
    Cardinality: SINGLETON
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: false
    Failover type: SELECT
    Failover method: BASIC
    TAF failover retries: 10
    TAF failover delay: 2
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: NONE
    Edition: 
    Service is enabled on nodes: 
    Service is disabled on nodes:
    The service status PRIOR to one of the instances is broken
    B@/u01/oracle> srvctl status service -d DB
    Service DB_srv is running on nodes: A
    Service status AFTER on instance is arrested
    B@/u01/oracle> srvctl status service -d DB
    Service DB_srv is not running.
    Tnsnames entry
    DB_srv =
      (DESCRIPTION =
        (ADDRESS =
         (PROTOCOL = TCP)
         (HOST = cluster.dev.sabre.com)
         (PORT = 1521)
        )
         (CONNECT_DATA =
          (SERVICE_NAME = DB_srv)
         )
      )
    Let me know if you need further details.
    Any help will be greately appreciated.
    Thank you
    Alex.

    Published by: attitude Sep 19, 2012 21:26

    Hello

    you kill the instance or has he stopped?

    If you stop it then it is planned. You must move the service first.

    If the instance is aborted abnormally (or the server is killed) it should failover.

    Concerning
    Sebastian

  • is validate the restore of the databases fairly

    Hi guys

    Is it enough to perform this restore validate sufficient data to prove that the databases can be restored?

    Please tell me whether or not.

    Thank you

    Hi haggy_fleisch,

    Oracle documentation.

    RESTORATION... VALIDATE causes RMAN select existing backups that she would use to perform a RESTORE operation and scan them all to make sure that they are present and free of corruption.

    If this seems sufficient.

    There is an argument for actually performing a restore (or duplicate) so not only a scan is performed, but also a write to the disk in a way a little more tests.

    Kind regards

    Tycho

  • name of the comic in conflict after the database upgrade

    Salvation of DBA

    I upgraded the database of 9206 to 10204 successfully.
    but when I'm checking the pmon it showed different SID.
    My actuall SID is PRD but it's showing Prod., for this reason, I am not able to create the xml file in the database layer.


    Oracle@aqherpdb bdump] $ ps - ef | grep pmon
    Oracle 31816 1 0 12:16? 00:00:00 ora_pmon_prod
    Oracle 31869 31399 0 12:19 pts/3 00:00:00 grep pmon

    [oracle@aqherpdb bdump] $

    When choosing the database is show the following.
    SQL > select name from v$ database;

    NAME
    ---------
    PRD


    When I am setting up the xml file in the db layer it gives the following error.
    level of adbldxml.pl [oracle@aqherpdb bin] $ perl = db = apps appsuser

    From generation of context for db level files...
    Using /s01/prod/proddb/10.2.0/jdk/bin/java JVM to run java programs...
    Password APPS: applications

    The log file for this session adbldxml is located at:
    /S01/prod/proddb/10.2.0/appsutil/log/adbldxml_03211248.log
    AC-00013: error: file: /s01/prod/proddb/10.2.0/network/admin/listener.ora is not a valid file, such as the SID database could not be found for connection string: prod

    Cannot connect to the database with the settings above, please answer the Questions below


    Enter the host name of the server: aqherpdb

    Enter the Server Port: 1521

    Enter the database server SID: PRD

    Could not connect to the database: ORA-01034: ORACLE is not available
    ORA-27101: shared memory realm does not exist
    Linux error: 2: no such file or directory


    Cannot connect to the database with the settings above, please answer the Questions below


    Enter bin server[aqherpdb]:[oracle@aqherpdb the database host name] $


    Please guide me to solve the problem above.

    Best regards
    Suresh Gelda

    Suresh,

    Follow these steps:

    -Make a backup of the database-level files
    -Run preclone (adpreclone.pl) on the database layer
    -Stop the database and the database listener
    -Change all the names of directory of PROD to PRD
    -Run postclone (adcfgclone.pl) on the basis of data of level and enter the name of the correct database (PRD)
    -Check that the database and the database listener are running

    Kind regards
    Hussein

  • Error 2147024882 in the database

    Good afternoon.

    I try through OR DIAdem 2011 analyze vibration signals, the problems is that the database is in Microsoft Access and all the data were inserted as a string. I therefore did a VI that convert all data to a numeric value and generates a file of PDM DIAdem.

    This VI works perfectly with small databases, the major problem is that the files that I need to analyze are 500 MB to 700 MB and when I insert the database DB tools select data VI gives me error 2147024882, I'm guessing that locks the size of the files.

    So anyway is to insert all these data without fracture of my database?

    Thanks and regards.

    Thanks for the help, but I managed to solve the problem through tiara, create a digital channel and by copying bites generated in this new channel and DIAdema automatically converted to digital data.

  • connect to the database

    Hi all...

    I am trying to connect to a database (mdb) mircosoft using the example provided with LV 8.5. The problem is that the database must be opened before you run the example. Is there a method to open the database using the vi?

    ThanksNAdvance

    FredFred

    Solved my problem...

    1. Open the database connection by using the connection information path and came out a reference of connection (see image)
    2. Subsequently, used db functions to do what I want to do
  • After changing the port (1521 to 1525 in listener.ora and tnsnames.ora) OEM: the database is down

    Hello

    I'm installing Oracle Database 11 g 2 (11.2.0.4) on Oracle Linux 7.1.

    In short, what I'm trying to do now is changing the default port of 1521 to 1525.

    So I stopped the listener (lsnrctl stop) and then changed my listener.ora and tnsnames.ora:

    Listener.ora

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP (PORT = 1525))(HOST = localhost))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    tnsnames.ora

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    BI =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP (PORT = 1525))(HOST = localhost))

    )

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = bi)

    )

    )

    And then changed the local_listener:

    SQL > ALTER SYSTEM SET LOCAL_LISTENER = "(ADDRESS = (PROTOCOL = TCP)(HOST=localhost) (PORT = 1525))";

    SQL > ALTER the REGISTRY SYSTEM;

    Finally, I started the listener (lsnrctl start) again.

    Then I tried to connect using Oracle SQL Developer to the customer. The port of 1525 works perfectly well.

    The problem is, when I open the OEM (Oracle Enterprise Manager), it says: "the database is down. Please specify the credentials of the host to access the restart and database diagnostic tools," which is like this: http://imgur.com/oKLPW65

    So I logged on the account of the host, and it shows that the database instance, listener and the agent is all down like this: http://imgur.com/Bzr84bz

    It seems that the port used by the OEM is always 1521.

    What should I do? Can someone help me solve the problem?

    Thanks in advance.

    UPDATE:

    After changing the emoms.properties & the targets.xml (thanks to Elisabeth), you will need to reconfigure dbconsole using emca.

    So what I'm doing is decreasing the config:

    $ emca - deconfig dbcontrol db-rest drop

    and then create again:

    $ emca - create config dbcontrol db-rest

    Voila.

    Best regards

    Jerry Antonius

    Hello

    Try to change the port numbers in the following files

    Don't port no 1521 to 1525

    $ORACLE_HOME /_SID/sysman/config/emoms.properties

    oracle.sysman.eml.mntr.emdRepPort = 1525 (before 1521)

    $ORACLE_HOME /_SID/sysman/emd/targets.xml

    (Before 1521)

    (Before 1521)

  • encrypt/decrypt in Oracle Forms BEFORE you call an SP or the database DML statement

    Hello.  I'm working on an application where we need to encrypt information before it is sent to the database.  I know that the database has a great set of stored procedures to manage the encryption and decryption.  The only challenge here is the fact that I would need to send information unencrypted in the database "in the clear".  Ideally, I would like to encrypt the information in the form and send it to the database.  On recovery, recover the information and then have the application forms decipher encrypted information.

    Whoever did this as a package within a PLL without all calls to a package DBMS_?

    Thank you

    BradW

    OK, I think I have the solution.  We are going to import a java class that we create to do this for us.  We then import it in forms in a library of PLL.  Problem solved!

    Nice little intro to importing Java can be found here:

    Java in Oracle Forms without beans and pluggable Java components

  • RC-40201: unable to connect to the database

    Hi Experts,

    While running 'perl adcfgclone.pl appsTier' I get below error.

    [applmgr@tfnvlskp01 bin] $ perl adcfgclone.pl appsTier

    Enter the password [APPS] APPS:

    ....

    ....

    Enter the number of the port pool [0-99]:

    70

    Audit of the pool of port 70

    fact: Port pool 70 is free

    Information available at /app/oracle/testappl/admin/out/TEST_tfnvlskp01/portpool.lst complete port

    Checking the connection to the base...

    RC-40201: unable to connect to the TEST database.

    Enter the listener of the port database [1531]: 1526

    RC-40201: unable to connect to the TEST database.

    Could not establish connection to database on Port 1526.

    Please verify that the database is running.

    Make sure that the Port DB corresponds to that used on the dbTier.

    ERROR: creation of context not completed successfully.

    Please check for errors in the /tmp/adcfgclone_28867.err file

    But when I check the listener and the DB to db node status, everything is running.

    STATUS of the LISTENER

    ------------------------

    Alias TEST

    Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production

    Start date October 14, 2013 06:33:49

    Uptime 0 days 0 h 0 min 0 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /app/orabin/testdb/11.2.0/network/admin/TEST_tfnslskp01/listener.ora file

    The listener log file /app/orabin/testdb/11.2.0/log/diag/tnslsnr/tfnslskp01/test/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROCTEST)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=tfnslskp01.d1.peapod.com) (PORT = 1526)))

    Summary of services...

    Service 'PLSExtProc' has 1 instance (s).

    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...

    Service 'TEST' has 1 instance (s).

    Instance of 'TEST', status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    SQL > select instance_name, status from v$ instance;

    STATUS INSTANCE_NAME

    ---------------- ------------

    OPEN TEST

    Outputs information complete port available at /app/oracle/testappl/admin/out/TEST_tfnvlskp01/portpool.lst

    List of allocated ports based on port 70 pool *.

    Web listening port: 8070

    Database port: 1591

    RPC port: 1696

    Reports port: 7070

    OPROC Manager of Port: 8170

    Web PLSQL Port: 8270

    Port of servlet: 8870

    Listening port of forms: 9070

    Data port for the server Metrics: 9170

    Req server settings. Port: 9270

    JTF Fulfillment Server Port: 9370

    Map Viewer Servlet Port: 9870

    Utility Web OEM port: 10070

    VisiBroker OrbServer Agent Port: 10170

    ACEM Server Port: 10620-10625

    ACEM Telnet Port: 10620,10622,10624

    ACEM Port Dispatcher: 10580-10583

    Range of ports OACORE Servlet: 16700-16709

    Port range of discoverer Servlet: 17700-17709

    Port range of forms Servlet: 18700-18709

    Port TCF: 15070

    Range of ports XMLSVCS Servlet: 19700-19709

    Port of Java object Cache: 12415

    iMeeting Collaboration Server Port: 9570

    iMeeting the registration Server Port: 9670

    iMeeting iMon port Monitor Port: 9770

    Please let me know if the value portpool.lst to the Port of database should be 1526

    Or

    Miss me a few concepts here and I have to choose another port instead of the 70 pool value.

    OS - RHEL 5.4 version (64-bit)

    Version of DB - 11.2.0.3

    Version of the EBS - 11.5.10.2

    -Thank you

    Hello

    This is what has been done on my previous post on the basin of the port and the listening port you are trying to connect, as above, that you use 70 portpool was offset... This is what did not create a connection on port 1526 (which means chicken port 5)

    anyway nice to hear that the problem is now resolved

    Please mark the thread as answered and close it.

    Thank you &

    Best regards

  • If the database has INCREASED

    Hello
    on 9.2.0, under Unix
    the alert log and another of the trace files are purged daily. Today, we have only those of April 30.

    How can we know if the database has increased on Thursday and Friday (25 and 26 April)?

    Thank you.

    Assuming that the database has not been rebooted since then, you can query the STARTUP_TIME of V$ INSTANCE to see where the instance was started. If the database has been restarted since that time, you can't possibly check unless you have another newspaper somewhere.

    Of course, it's probably a mistake to purge the log information daily, especially if you are going to ask this kind of question.

    Justin

Maybe you are looking for

  • Laptop starts

    Dear Panel.,. I turn me off my laptop without closing all runing programsand when im turn on again the sistem of windows cannot loadI already used all means of altern to try, sign in as loading with the last known configuration or safe mode as wellbu

  • I have a problem, please help me

    I have a leptop I buy. This leptop is the Windows operating system. My label to the back of Breackfast is not clear, I don't see it clearly know there's other way get my product key Home Premium. This my Leptop Modul:PC portable Compaq Presario CQ42-

  • Unable to access messages in the e-mail account.

    original title: performance and security in Internet Explorer I can open my account but not my messages.  A hand appears instead of the arrow symbol.

  • A3 double-sided on a color laserjet cp5225 envelope

    Hi, I would like to know if it is possible to print an envelope of A3 double-sided on a color laserjet cp5225

  • Error 651 Windows 7

    This only happens when I'm trying to connect to Internet wireless.  Everything is ok with the Ethernet cable.  Any ideas on how to fix, please?