11g's TREE PROBLEM
Hello,
I'm using Jeveloper11g TP1 and I need to know what should I do if I want to have 11g's tree be updated every time I add a new item in it? coz I see that it has to be requeried each time I add an Item in it.
Is there a way to see the added item in the tree right after pushing the save button??
Any idea what I'm missing?
Thanks Shadi
Shadi,
There are quite a few limitations with the tree implementation in TP1. I suggest you wait for the production version, planned for this fall to get this feature.
Steven Davelaar,
JHeadstart Team.
Similar Messages
-
Hi,
I'm using Jdeveloper 11g.
When I add an item in a tree, the tree does not refresh until I click on the tree's root. What should I do too see the changes in the tree by the time I add a new item in it ?
Thanx in advance,
ShadiFrom you explanation, i suppose,
1. Your creation form is in the jsff page.
2. Your tree is in the jspx page.
3. You've dropped the jsff page as region in the jspx page where you have tree.
Now, after pressing submit on the region, your tree is not refreshed with the new row you created. Am I correct?
If yes, then, I suppose your tree and creation form are bound to different Iterators. So, you may need to perform execute on the iteration (on which the tree is bound to).
Try this,
1. In the action Listener of the Commit button, after the commit operation, get the Iterator on which the tree is based on.
2. Perform execute.
Does it work now?
-Arun -
11g GC Installation Problem on Windows 2008
Hi All
I am facing a problem installing 11GC on Windows 2008. The installer will not get past "Step 12 - Agent Configuration Assistant" - it shows as FAILED.
My setup is as following:
- GCSERVER: where I am installing GC - Windows 2008 R1 32-bit (Actually a VMware VM)
- DBSERVER: where em repository db resides - Windows 2008 R1 64-bit (Physical Server)
The steps I have followed:
- Created a new database called emrep111 (11.1.0.7) on DBSERVER
- Installed WL Server (10.3.2) on GCSERVER
- Run GC 11.1.0.1.0 for Win32 on GCSERVER and then get error
I have to cancel the installation at this stage, however, I would have expected by the time it gets to this stage it would have done the important stuff, however, when I browse to the EM URL I get "Backend WLS or EM application seems to be down".
If anyone has any experience of 11g GC on Windows I would be grateful if you have any advice on Troubleshooting this problem.
Regards
AlanHi All,
a short intermediate result:
Oracle Support is working on the problem. Today they asked me to perform the following action:
set EM_SECURE_VERBOSE=true
+<agent_home>\bin>emctl secure agent+
If you take a look at the generated log file '<agent_home>\sysman\log\secure.log' you can see that OMS does not respond correctly:
[27-07-2010 10:06:50] USERINFO ::Securing agent... Started.
[27-07-2010 10:06:50] DEBUG ::Executing ... D:\oracle\product\em\agent11g\jdk\jre/bin/java -cp D:/oracle/product/em/agent11g/jdbc/lib/ojdbc5.jar;D:/oracle/product/em/agent11g/lib/xmlparserv2.jar;D:\oracle\product\em\agent11g/sysman/jlib/log4j-core.jar;D:/oracle/product/em/agent11g/jlib/share.jar;D:/oracle/product/em/agent11g/jlib/http_client.jar;D:/oracle/product/em/agent11g/jlib/jssl-1_1.jar;D:/oracle/product/em/agent11g/jlib/ojmisc.jar;D:/oracle/product/em/agent11g/opmn/lib/optic.jar;D:\oracle\product\em\agent11g/sysman/jlib/emagentRT.jar;D:\oracle\product\em\agent11g/sysman/jlib/emagentSDK.jar;D:/oracle/product/em/agent11g/lib/dms.jar;D:/oracle/product/em/agent11g/lib/dmsEmd.jar;D:\oracle\product\em\agent11g/sysman/jlib/emcoreAgent.jar;D:/oracle/product/em/agent11g/modules/oracle.http_client_11.1.1.jar -DEMSTATE=D:\oracle\product\em\agent11g -Ddebug=true oracle.sysman.emctl.secure.agent.SecureAgentCmd
2010-07-27 10:06:56,352 [main] INFO agent.SecureAgentCmd secureAgent.226 - Requesting an HTTPS Upload URL from the OMS
2010-07-27 10:06:56,368 [main] INFO agent.SecureAgentCmd openPage.829 - Opening: https://BTNDBSRV4.btnntdom.local:1159/em/genwallet
2010-07-27 10:07:15,166 [main] INFO agent.SecureAgentCmd openPage.855 - Response Status Code: 200
2010-07-27 10:07:15,166 [main] INFO agent.SecureAgentCmd openPage.863 - RESPONSE_STATUS header: null
2010-07-27 10:07:15,166 [main] INFO agent.SecureAgentCmd openPage.864 - Response body: <head><title>OMS is unavailable</title></head><body><br><br><div align=center><b><font size=5>Backend WLS or EM application seems to be down</font></b></div></body>
2010-07-27 10:07:15,166 [main] INFO agent.SecureAgentCmd getOMSSecurePort.809 - Non-numeric response obtained: <head><title>OMS is unavailable</title></head><body><br><br><div align=center><b><font size=5>Backend WLS or EM application seems to be down</font></b></div></body>
2010-07-27 10:07:15,166 [main] INFO agent.SecureAgentCmd getOMSSecurePort.811 - OMS Secure Port: -1
2010-07-27 10:07:15,166 [main] ERROR agent.SecureAgentCmd secureAgent.231 - The OMS is not set up for Enterprise Manager Security.
2010-07-27 10:07:15,166 [main] ERROR agent.SecureAgentCmd main.210 - Failed to secure the Agent:
java.lang.Exception: The OMS is not set up for Enterprise Manager Security.
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:232)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:203)
I'm curious about the next steps from Oracle Support.
Best rgds
Kai -
Two iterators browsing the same data (a table and a tree) problem
I have an ADF UIX application with a navigation tree and a central page with a table of the records of a Works view object.
There is a hierarchical relationship of Works ->Subworks-> Tasks which is shown in the tree. In the central part of the page, there is a table of Works.
I want
1) the tree to show all the data, but only about 10 works at a time (using small arrows for scrolling up and down)
2) the table to show only 10 or 20 records each time. Not the same with the tree.
3) Both clicking on a link on the tree and selecting a work on the table will open the appropriate page.
4) Opening the children of a node in the tree and clicking on the links being able to send me directly in the correct subwork or task page EVEN if I haven't visited the parent node (work) first.
I cannot seem to be able to succed in the "even if" part of 4 and I can succeed in only any 2 of the first three.
If the tree iterator and table iterator point to the same view object (work1 for example), it is impossible to show a different set of works in the tree and the table
If I use different view objects, then, if the tree part is working, the table selection doesn't work. I imagined that's a problem with "SetCurrentRowWithIndex" and I tried to set up correctly a "SetCurrentRowWithKey" event, but I didn't know how to write the handler. (I use JHS event handling, by the way)
I suppose the following has errors:
<event name="setCurrentRowWithKey" source="GetaeergView1">
<set target="${bindings.GetaeergView1Iterator}" property="currentRowKeyInRange" value="${ui:tableSelectedKey(uix, 'GetaeergView1')}"/>
</event>
Any suggestions?Noone has tried this again?
-
ALV Tree Problem with Checkboxes
Hello,
i've got a problem.
I have an ALV-Tree and die ALV-Detaillist of the tree are type checkbox.
That's working correct.
But i want to fill initial data in the checkboxes but the checkbox isnt set.
i've done as followed:
CALL METHOD go_alv_tree->set_table_for_first_display
EXPORTING
I_STRUCTURE_NAME =
IS_VARIANT =
I_SAVE =
i_default = abap_false
is_hierarchy_header = ls_header
IS_EXCEPTION_FIELD =
IT_SPECIAL_GROUPS =
IT_LIST_COMMENTARY =
I_LOGO =
I_BACKGROUND_ID =
IT_TOOLBAR_EXCLUDING =
CHANGING
it_outtab = <go_data_tab>
IT_FILTER =
it_fieldcatalog = lt_fcat.
fieldcat are several fields all as checkbox.
Then i get a component of the output structure and set a X.
ASSIGN COMPONENT lv_help_arbpl OF STRUCTURE <go_data_struc>
TO <fs_arbl>.
IF <fs_arbl> IS ASSIGNED.
<fs_arbl> = lc_xfeld.
ENDIF.
CALL METHOD go_alv_tree->add_node
EXPORTING
i_relat_node_key = lv_matnr
i_relationship = cl_gui_column_tree=>relat_last_child
is_outtab_line = <go_data_struc>
is_node_layout = ls_layout
IT_ITEM_LAYOUT =
i_node_text = lv_node_text
IMPORTING
e_new_node_key = lv_period
EXCEPTIONS
relat_node_not_found = 1
node_not_found = 2
OTHERS = 3.
in <go_data_struc> the fields which should be set, are set with X.
But after i add all of my nodes and do CALL METHOD p_go_alv_tree->frontend_update, the checkbox is empty but there is an X in the field beside the checkbox.
Thanks in advance.
best regards,
DennisOk i solved the problem.
best regards,
Dennis -
Oracle SOA 11g TP3 - Tutorial problem
Hello!
I am quite new to this whole platform, and while I was following the First step of the tutorial, I ran into a problem, which I have no idea how to solve.
(this tutorial: http://download.oracle.com/otndocs/products/soa/105-end2end-PO-Processing.zip )
As it said I installed the prerequisites,
an Oracle database,
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
the Oracle SOA Suite 11g TP3,
as well as jDeveloper 11.1.1.0.0
After I successfully created and successfully deployed the 'CreditCardValidation Application' following the steps in 105-end2end-PO-Processing_2.pdf (part of the zip, but it's basically a database adapter a mediator and an exposed web service packed together) and I tried to test it, i got this error:
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode
xmlns="">env:Server</faultcode>
<faultstring
xmlns="">null: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'OracleXESelect' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by Exception [TOPLINK-4002] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.DatabaseException Internal Exception: java.sql.SQLException: No suitable driver Error Code: 0. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </faultstring>
<faultactor
xmlns=""/>
<detail
xmlns="">
<exception/>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>
If I understand it correctly, the core of the problem is this:
java.sql.SQLException: No suitable driver Error Code: 0.
now if this is the problem, how to solve it?
Ideally I would start by looking at the configurations of Toplink, but I didn't install Toplink, as such I have no idea where these options are.. (Is it part of the database in this current configuration?)
Thanks in advance!
MikeActually, the tutorial works fine in this version, all the way through. Specifically, the database adapter is working.
The problem you are having has been discussed on this forum. You should do this:
sqlplus sys/system@XE as sysdba
SQL> show parameter session
SQL> show parameter processes
SQL> alter system set sessions=100 scope=spfile;
SQL> alter system set processes=150 scope=spfile;
SQL> shutdown immediate
SQL> startup
SQL> show parameter session
And restart your server. That should fix it. Some people have also restarted Windows.
Heidi. -
Oracle application express3-10g to 11g DRCP connection problem
[Oracle application express3 +Oracle Identity Management 10g (10.1.4.0.1) authentication] has a performance problem about dedicated connections,
i have 714 sessions, and 506 of 714 is httpd connection of APEX.
so i decided to use DRCP, because database side is 11g. but APEX client side is working on 10g database server + and 10g client + OID 10.1.4,
can i upgrade 10g-PL/SQL-HTTPDclient libraries to 11g instant client easily? is it posible? how?
if you guide me step by step i will be happy,
best regardsHi user
For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Database » Application Express
which you can get more quick response
Regard
Helios -
Oracle 11g XE Connectivity Problems
Hi to all and thanks for the attention !
Quick facts
OS : Microsoft Server 2008 R2 (x64)
Oracle Version : 11g XE (x32)
Database name : XE
I've been fighting over with providers for a whole day and I can't seem to make this work out,
I have an application(Web, on a IIS 7) that connects to a schema, the connection uses a Oracle Provider For OleDB, well at first I was getting a "Provider not registered" error, that was easy I only had to make the app run on x32 and puf the error changed, so I quickly set up the Data Source ( with the data source manager located in WOW64 ) with a oracle ole db provider, no problems, I can click on it, it will ask me for a user/password and when I click test connection I works just like I would expect it to work, now back to the application, when i set the connection string up, I get a error from the app : ORA-12154 TNS:could not resolve the connect identifier specified. So went up and tried making a udl ( invoking again the x32 ), same error ORA-12154 so I started digging and so far so good what I got is, "try tnsping <instance_Name>", did it, and got an OK (40ms) (though I had to navigate to bin folder, which was not explained in the posts, perhaps this means something ?) and also registered the oraoledb11.dll with regsvr32
Oh ! And I can connect to the database with sqldeveloper
I know really little of Oracle, any thoughts ?
Thanks again !ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
ORA-12154 NEVER involves the listener, the database itself or anything on the DB Server.
ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
TNS-03505 is thrown by tnsping & is same error as ORA-12154 thrown by sqlplus or others.
The lookup operation fails because the name provided can NOT be resolved to any remote DB.
The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
So post the content of the sqlnet.ora file.
TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/ -
Hello All,
I've installed OBIEE 11g on my windows 32 bit machine.
During the installation, the task "*Executing: opmnctl start coreapplication_obips1*" has failed. However i've continued the installation.
But when i bring up all the services and try to log into presentation services, i get the following error.
Unable to Sign In
An error occurred during authentication. Try again later or contact your system administrator.
PS: i've checked the all BI components status in opmn. all are up and running.
Here is the error, i've faced whiled logging into RPD(online)
+Logon failed due to : [nQSError : 73006] Cannot obtain Oracle BI Servers from either the primary Cluster Controller (Host_Name:9706) or the secondary Cluster Controller (:) specified for the clustered DSN.+
Looking forward for some help.
Thanks in advance.
Raghuhello,
I had the same problem.
When I enter “opmnctl status” ,return
Processes in Instance: ins_bi
--------------------------------------------------------------+---------
ias-component | process-type | pid | status
--------------------------------------------------------------+---------
coreapplication_obiccs1 | OracleBIClusterCo~ | 4400 | Alive
coreapplication_obisch1 | OracleBIScheduler~ | 5872 | Alive
coreapplication_obijh1 | OracleBIJavaHostC~ | 140 | Alive
coreapplication_obips1 | OracleBIPresentat~ | N/A | Down
coreapplication_obis1 | OracleBIServerCom~ | 5288 | Alive
When I enter "opmnctl startproc ias-component=coreapplication_obips1",return
opmnctl startproc: starting opmn managed processes...
In line 1 of buffer:
LPX-00200: could not convert from encoding GBK to WINDOWS-1252
XML parse failed: error 200.
<?xml version='1.0' encoding='GBK'?>
<response>
<opmn id="ZY:9501" http-status="204" http-response="0 of 1 processes started.">
<ias-instance id="ins_bi">
<ias-component id="coreapplication_obips1">
<process-type id="OracleBIPresentationServicesComponent">
<process-set id="coreapplication_obips1">
<process id="1351289576" pid="5568" status="Init" index="1" log="" ope
ration="request" result="failure">
<msg code="-21" text="靠靠靠靠靠靠靠靠靠靠">
</msg>
</process>
</process-set>
</process-type>
</ias-component>
</ias-instance>
</opmn>
</response>
</opmn>
</response>
I don't know why.Hope to get help,thanks! -
Ok, not sure what is going...
I installed Oracle 11g on Linux. Everything was working, I could access the database via Enterprise Manager, then I re-boot and EM no longer works, I figured this has something to do with some script to make it auto start at boot, so I searched the internet and found a script and made sure that it matched my paths and version numbers.
as a oracle user when I type
oracle@dragonfly:~$ echo $ORACLE_HOME
/u01/app/oracle/product/11.1.0/db_1
but
oracle@dragonfly:~$ echo $ORACLE_SID
I get a blank, would like to learn where to do the setting for oracle SID, is it in /etc/profile ? my SID is orcl
in /etc/oratab I put a Y for this db instance.
Anyways, when I try to manually start EM, I get these problems:
root@dragonfly:/u01/app/oracle/product/11.1.0/db_1/bin# ./emctl status dbconsole
Environment variable ORACLE_SID not defined. Please define it.
ok, let me define it:
root@dragonfly:/u01/app/oracle/product/11.1.0/db_1/bin# export ORACLE_SID=orcl
root@dragonfly:/u01/app/oracle/product/11.1.0/db_1/bin# ./emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://dragonfly.kodiaktechnical.net:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is not running.
Logs are generated in directory /u01/app/oracle/product/11.1.0/db_1/dragonfly.kodiaktechnical.net_orcl/sysman/log
then I type it again:
./emctl start dbconsole
and I see this...
root@dragonfly:/u01/app/oracle/product/11.1.0/db_1/bin# ./emctl start dbconsoleOracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://dragonfly.kodiaktechnical.net:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ............................................................................................. failed.
Logs are generated in directory /u01/app/oracle/product/11.1.0/db_1/dragonfly.kodiaktechnical.net_orcl/sysman/log
there is a dot . . . . added every few seconds, but eventually it errors out
I am on Linux dragonfly 2.6.28-14-serverwhen I do:
netstat -lt | grep 1158
nothing comes back...
from log:
at oracle.sysman.emdrep.notification.NotificationMgr.run(NotificationMgr.java:1715)
2009-08-17 21:50:48,024 [NotificationMgrThread] WARN jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
2009-08-17 21:50:48,152 [PAFAQDaemon] WARN jdbc.ConnectionCache _getConnection.352 - Io exception: The Network Adapter could not establish the connection
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:390)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:519)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:167)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:816)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:325)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:235)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:157)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:94)
at oracle.jdbc.pool.OracleImplicitConnectionCache.makeCacheConnection(OracleImplicitConnectionCache.java:1702)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getCacheConnection(OracleImplicitConnectionCache.java:575)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:435)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:432)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:397)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:336)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:322)
at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:575)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:207)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getSystemConnection(ConnectionService.java:1304)
at oracle.sysman.pp.paf.impl.PAFDepot.createRepositoryConnectionImpl(PAFDepot.java:377)
at oracle.sysman.pp.paf.impl.PAFDepot.createRepoConnection(PAFDepot.java:349)
at oracle.sysman.pp.paf.impl.PAFDepot$AutoPAFContext.getRepositoryConnection(PAFDepot.java:898)
at oracle.sysman.pp.paf.impl.PAFDepot.getRepoConnection(PAFDepot.java:596)
at oracle.sysman.pp.paf.dal.PAFDataSource.getConnection(PAFDataSource.java:344)
at oracle.sysman.pp.paf.dal.PAFDataSource.dequeueRequest(PAFDataSource.java:1105)
at oracle.sysman.pp.paf.impl.PAFDepot$AQThread.run(PAFDepot.java:796)
2009-08-17 21:50:48,153 [PAFAQDaemon] WARN jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying -
I am currently in a Dev environment, working on a 11g Data Guard configuration, having Primary and Standby in 2 different nodes.
Both the nodes had their parameter files configured with the specific DG parameters, which are as below -
Primary init.ora
*.db_domain=''
*.db_name='o11_prim'
*.db_unique_name='o11_prim'
*.instance_name='o11_prim'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=o11_primXDB)'
*.FAL_Client=o11_stby
*.FAL_Server=o11_prim
*.job_queue_processes
*.Log_archive_config='DG_CONFIG=(o11_prim,o11_stby )'
*.Log_archive_dest_1='Location=/u01/app/oracle/pro duct/11.1.0/db_1/dbs/arch/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=o11_prim'
*.Log_archive_dest_2='Service=o11_stby lgwr async AFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=o11_stby'
*.Log_archive_dest_state_1=ENABLE
*.Log_archive_dest_state_2=ENABLE
*.log_archive_format=%t_%s_%r.arc
*.log_archive_max_processes0
*.service_names='o11_prim.xyz.com'
*.Standby_File_Management='AUTO'
*.statistics_level='TYPICAL'
*.timed_statistics=TRUE
Standby init.ora
*.db_domain=''
*.db_name='o11_prim'
*.db_unique_name='o11_stby'
*.instance_name='o11_prim'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=o11_primXDB)'
*.FAL_Client=o11_stby
*.FAL_Server=o11_prim
*.job_queue_processes
*.Log_archive_config='DG_CONFIG=(o11_prim,o11_stby )'
*.Log_archive_dest_1='Location=/u01/app/oracle/pro duct/11.1.0/db_1/dbs/arch/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=o11_stby'
*.Log_archive_dest_2='Service=o11_prim lgwr async AFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=o11_prim'
*.Log_archive_dest_state_1=ENABLE
*.Log_archive_dest_state_2=ENABLE
*.log_archive_format=%t_%s_%r.arc
*.log_archive_max_processes0
*.service_names='o11_stby.xyz.com'
*.Standby_File_Management='AUTO'
*.statistics_level='TYPICAL'
*.timed_statistics=TRUE
Initially, the Archive logs were getting transferred to the Standby via Automatic Managed Recovery Process. Command given below.
# This command is being run on Standby for starting Automatic Managed
# Recovery Process
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
Then we used to tail the Alert logs of both Primary and Standby, and the logs got transferred at the physical location of the Archive logs in Standby db.
Then one day due to some problem with the pfile, I shutdown the Standby db with the Primary up and running as usual using the following command-
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL IMMEDIATE;
The Result was as expected - Primary Archive logs got accumulated and the same couldn't be transferred to Standby as the Standby was down.
I had to manually recover the Standby by copying the extra Archive log files from Primary to Standby and then running the Recovery Process manually, using the below command -
SQL> RECOVER AUTOMATIC STANDBY DATABASE
Then when I restarted the Automatic Recovery process on Standby, I received the error as below -
ORA-16009 - Remote archive log destination must be a STANDBY database
This error keeps appearing on the alert log of both primary and physical standby that i configured.
I have no clue as to where it went wrong.
Kindly help!Hi,
Here is my tnsnames.ora entries.
o11_prim =
(DESCRIPTION =
(FAILOVER = ON)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.20)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.30)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = o11_prim.cts.com)
LISTENER_PRIM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.20)(PORT = 1521))
o11_stby =
(DESCRIPTION =
(FAILOVER = ON)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.30)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.20)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = o11_prim.cts.com)
The service name for standby is o11_prim.cts.com and db_unique_name is o11_stby. -
J(Check)Tree Problems
Hi,
I'm using the JCheckTree from: http://www.fawcette.com/archives/premier/mgznarch/javapro/2001/01jan01/vc0101/vc0101.asp And have some problems with it, hopefull somebody can help me... (source on website)
1:
In a normal JTree when you dubbleclick on a folder it opens, when I dubbleclick on the JCheckTree nothing happens. I tried using: .setToggleClickCount(2) but that doesn't help. How can I solve this?
2:
In "BasicTreeCellRenderer.java" I use: setIcon(expanded ? UIManager.getIcon("FileView.fileIcon") : UIManager.getIcon("FileView.fileIcon"); to set the Icon for an item, it works. But when I click and select the item the icon is gone and the default Icon is there. When I deselect the Item the right icon is showed agian. How can I fix this?
3:
When I click on a folder al childs are automaticly selected, that's nice. I need that, but it will also be handy when I select all the child items manual the folder will be selected to. Or when I select a few child items the folder checked will be gray. (so the userS can see that items are selected when the folder is closed). How can I build this?
4:
With the option node.isSelected() I can check of the item is selected. How would it be possible to write a function that checks all the items if they are checked and but then in an array?
Hopefully somebody can help me, or push me in the right direction.
Thanks for your time and help!
Greetings,
Rene4:
With the option I can check of the item is selected.
How would it be possible to write a function
that checks all the items if they are checked
and but then in an array?I already found this one!
Enumeration enum = Tree.breadthFirstEnumeration();
while (enum.hasMoreElements()) {
CheckTreeNode node = (CheckTreeNode)enum.nextElement();
if (node.isSelected()) {
if (node.isLeaf()) {
// CODE
} -
Hi,
I have recently installed 11g on my Windows box.
I am getting the following problem when I try to use SQL Developer to connect via tnsnames:
TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
It works fine if I hard code the values (localhost:1521:orcl11g).
Everything is fine with my 10gR2 installation, I can use the tnsnames to connect to the 10g instance.
Does anybody have any ideas what the problem could be?
GrahamIt is the same problem which occurs with every Oracle product ending up in a different home, so this question is asked over and over again by people who never read anything and assume they are unique.
I can guarantee you: you are not unique, you are just one of a horde of millions, not reading installation manuals, not researching anythinjg, but just dumping this error in some forum (maybe all forums you can spell), including the wrong ones, like this one.
So here goes, YET AGAIN:
You have MULTIPLE tnsnames.ora floating around, and either you need to set them or you need to set TNS_ADMIN, AS DOCUMENTED.
PLEASE READ THOSE DOCS, THEY ARE WRITTEN FOR YOU TO READ THEM, INSTEAD OF ASKING OTHERS TO DO FOR FREE WHAT YOU COULD HAVE DONE.
WHY DO PEOPLE NEVER READ?
IF YOU BUY A CAR, YOU LEARN TO DRIVE FIRST, ISN'T IT?
Sybrand Bakker
Senior Oracle DBA -
Binary Tree Problem, help !!!!!!!
Hi I have some Tree Traversal problem,
my output has this problem,what's going on????
Exception in thread "main" java.lang.NullPointerException
at Tree.inTraversal2(Tree.java:150)
at TreeTest.main(TreeTest.java:33)
My Tree.java:
class TreeNode {
TreeNode leftNode;
TreeNode rightNode;
int data;
public TreeNode(int nodeData)
data = nodeData;
leftNode = rightNode = null;
public void insert(int value)
if( value < data )
if( leftNode == null )
leftNode = new TreeNode(value);
else
leftNode.insert(value);
else if ( value > data )
if( rightNode == null )
rightNode = new TreeNode(value);
else
rightNode.insert(value);
} //end method insert
} //end class TreeNode
public class Tree {
TreeNode root;
Stack s;
public Tree()
root = null;
public void insertNode(int value)
if( root == null )
root = new TreeNode(value);
else
root.insert(value);
public void inTraversal2(TreeNode node)
if( node == null )
return;
TreeNode p;
p = node;
do
while(p != null)
s.push(p); //problem comes in here
p = p.leftNode;
if(!s.empty())
p = s.pop();
System.out.print( p.data + " " );
p = p.rightNode;
}while( (p != null) || (!s.empty()));
} //end class TreeMy Stack.java:
public class Stack {
TreeNode items[];
int StackSize;
int top;
public Stack(int size)
StackSize = size;
items = new TreeNode[size];
top = -1;
public boolean empty()
if(top == -1)
return true;
else
return false;
public boolean full()
if(top == StackSize-1)
return true;
else
return false;
public void push(TreeNode c)
if(full() == true)
System.out.println("stack overflow");
else
items[++top] = c;
public TreeNode pop()
if(empty())
System.out.println("stack underflow");
return items[top--];
}You don't seem to instantiate Stack anywhere.
-
Oracle 11g client Update Problem
Hi ,
I have problem with oracle 11g client, I have a treatment that is has selected information and update after the last treatment.The problem is that the update is sometimes the enssemble fields, even those I do not want to update.
I use the 11g client with c #, my procedure is like update WHERE num = @ aram.I have doubts about the problems of loss of connection, because it give me the log: host not found, but there is a transaction, and in case of emergency I did a rollback.is there anyone who approaches to this problem??I took you to kindly help me, because the project and in production modeApart from the fact that this has nothing to do with Oracle Forms the certifications and the version checks of the installer are there for a reason. Copying one version file doesn't make your RHEL6 a RHEL3. RHEL6 most certainly uses a different kernel, different libraries, different everything then RHEL3 (yes, Software Vendors change version numbers of their products not just for fun!). You might get lucky (using your friend google) that you get it working with some effort, but this doesn't guarantee that everything works and given the fact that this is not certified getting help is not that easy. Better yet is to save yourself the time and stick with certified combinations (maybe use OEL insted of RHEL?)
cheers
Maybe you are looking for
-
please help me to create an i cloud acct using windows 7
-
Adding HTML content in Planning Webform Instruction box
Hi, I am working on Planning 9.3.1, we are migrating the application from planning 3.5. One point i noticed todays is "Adding Instruction to Webform". In my Old system- i can add HTML content to set the instruction more user friendly or even i can ad
-
How to edit an existing vector in perspektive tool
Hello, as the topic says. How to edit an existing vector in perspektive tool Got an Domino Stone Vector and want to put in another perspective and dont know how!? Thx in advance for help
-
I can't seem to eliminate the sign on process every time I try to open my homepage.
-
Mountain Lion via clean install (USB) but wont read dvd/cd
I did a clean install of my mountain lion on my Mid-2009 MacbookPro 15". Everything was running fine. Until I tried to burn a cd. Thought it was a media issue. So didn't bother burning the disc after all. Then I tried playing an audio cd, the systems