GET_APPLICATION_PROPERTY(DATASOURCE) = 'ORACLE' DS 10gR1 vs. DS 10gR2
I have a form that was compiled under 10gR1 DS and launches fine, but after compiling it under 10gR2 DS it is not responding in the same manner as 10gR1 to an if statement in the code checking to see if it is connected to an ORACLE database.
In the 10gR1 version of the form
The check to see if the form was connected to an oracle database would return false after EXIT_FORM(NO_VALIDATE);
And this is what was expected to happen with the 10gR2 version of the form.
But in the 10gR2 version of the form
After the EXIT_FORM(NO_VALIDATE); statement
the if GET_APPLICATION_PROPERTY(DATASOURCE) = 'ORACLE' statment returns a true and causes the form to break because its not connected to the database anymore but the code in this if statement contains sql against database tables
How come only for DS 10gR2 after the EXIT_FORM(NO_VALIDATE); statement
the get_application_property(DATASOURCE) = 'ORACLE' is true, Even though its not connected to the database anymore?
Thanks,
Michelle
HI...i have a similiar problem. we recently migration to 10g and still using oracle forms 6i. Problem is that i have a logon for which check the datasource to determine the status of the login user.
If the user, currently is expired or logged out, it should remeber a message otherwise if the datasource is not oracle then show unable to connect on log out.
On the form, there is a on_logon trigger..
if i do a show message, i can see that if the user is expired it will not pickup the datasource, instead it is null, logging out the user.
please have a look at the code below:
logon(:login.user_name,:login.password||'@'||:login.instance_name,false);
v_datasource := get_application_property(DATASOURCE);
if v_datasource = 'ORACLE' then
begin
select account_status
into v_status
from dba_users
where username = v_username;
if v_status like 'LOCKED%' then
v_message := 'This users account is locked - contact support';
end if;
if v_status like 'EXPIRED%' then
:global.user_name := v_username;
:global.new_password := 'N';
:global.old_password := v_password;
call_form('c_passmnt', hide, do_replace, no_query_only);
if :global.new_password = 'N' then
v_message := 'Password not changed - contact support';
else
:login.user_name := v_old_username;
:login.password := :global.new_password_new;
logout; SYNCHRONIZE;
logon(:login.user_name,:login.password||'@'||:login.instance_name,true);
end if;
end if;
Similar Messages
-
Download of Oracle client 10gR1
Hi,
I would like to install an Oracle client 10gR1 on Windows (R1 client needed because our server is R1, and I get errors with exp.exe with a R2 client).
I didn't found any download file for 10gR1 on Oracle Web site, only for 10gR2.
please help !
regards
BertrandFor my export problem, it seems to be a version problem and I need a 10gR1 version
this error occurs with exp.exe:
EXP-00056: ORACLE error 6550 encountered
ORA-06550: line 1, column 41:
PLS-00302: component 'SET_NO_OUTLINES' must be declared
ORA-06550: line 1, column 15:
PL/SQL: Statement ignored
EXP-00000: Export terminated unsuccessfully
after looking on forums, installing 10gR1 should solve this problem -
Do i need to install 10gr1 before installing 10gr2
My assumption was that i don't need to install 10gr1 before installing 10gr2, but when i downloaded "10g Release 2 (10.2) for AIX 5L Based Systems (64-Bit)" from otn website, Its size was only 1.2GB and after i unzip and did cpio command, It only extracted "Disk1"
thanks.As of Oracle10g, they have reorganizsed their install and disk layout.
The database code and minimum configuration is installed only from disk 1, options and extensions are on the Companion CD and Client things including the 10g version of 9i Java OEM console are on the Client CD. Each is separate. -
OWB 10gR1 Repository and 10gR2 Database
Hi,
we have a problem in installing OWB Design Repository 10gR1 on 10gR2 Database. The Repository assistant hangs with message "INS0003 The User should have DBA privileges to complete the installation". I'm connected as SYS....
Regards,
Hakon.Her is a workaround I get from Oracle, may it works. Till this time I can't test it, try it on your own risk.
Regards
Norbert
>>
Using the 050621 shiphome release of 10gR2 on Linux we have noticed the INTERACTIONEXECUTE stored procedure is defined with definer rights - it should be invoker rights.
Using the stored procedure to create an AW will create the AW in the SYS schema.
The only workaround is to redefine the stored procedure in the SYS schema with invoker rights.
CREATE OR REPLACE function interactionexecute(input CLOB) return varchar2 AUTHID CURRENT_USER
as language java name 'oracle.AWAction.Interaction.Execute(oracle.sql.CLOB)
return java.lang.String';
<<<< -
Upgrade 10gR1 RAC to 10gR2 RAC
After reading the install / upgrade documentation I'm unclear about what will happen with my existing CRS and Database homes. When performing the upgrade from 10gR1 to 10gR2 what will happen to my existing Oracle homes.
1. When upgrading my CRS/ Cluster Ware home will the upgrade require me to define a new CRS home, or will it upgrade my existing CRS / Cluster Ware home.
2. Will I be upgrading my existing database home, or will I need to define a new database home?
I have no need to keep my existing homes to run two different versions of the database, and would prefer not to create new homes for either CRS or the database.
RobHello,
If you want to upgrade you MUST use the same CRS_HOME, you can not have install CRS in a different CRS_HOME.
Also make sure you always upgrade/migrate your CRS stack first, after that ASM if using and then the RDBMS.
The upgrade process of CRS is not that hard. For patchset apply it is very nice, a seperated preinstall directory is cerated and after the install and when you start to execute the root.sh script it will start to apply the patchset.
Then it is even possible to have one node a on a lower CRS level then the other. After upgrade the second not the CRS stack notice the same release and switch to the latest release.
Hope this helps explain is a few lines how to upgrade.
Good luck.
B. de CockBuning
www.rachelp.nl
Good Luck,
B. de CockBuning
www.rachelp.nl -
Bug in WLS 6.1 DataSource + Oracle Pool
Does any one has arrived to execute an Oracle Stored procedure which
return a CURSOR in response with JDBC through the DataSource?
It's working perfectly with WLS 5.1sp9 to 6.0sp2
and NOT with the 6.1 (even sp1) ...
Exception : weblogic.jdbc.rmi.internal.ResultSetImpl
Any idea ?
Best regards.Does any one has arrived to execute an Oracle Stored procedure which
return a CURSOR in response with JDBC through the DataSource?
It's working perfectly with WLS 5.1sp9 to 6.0sp2
and NOT with the 6.1 (even sp1) ...
Exception : weblogic.jdbc.rmi.internal.ResultSetImpl
Any idea ?
Best regards. -
Connecting via Datasource - Oracle equivalent to DB2DataSource
Hi
Have anybody use to connect to oracle via Datasource (using JNDI rather using driver managers) for J2EE (no EJB) development ? (I use WSAD 5.0)
I had in DB2 there is a class called "DB2DataSource " coming from a package COM.ibm.db2.jndi.DB2InitialContextFactory..
By digging into Oracle documents in their site they said use following to get InitialContextFactory...
import com.evermind.sql.DriverManagerDataSource;
import com.evermind.server;
Also I included jndi.jar in the project.
Still I am getting error for above two packages. Where does these packages reside.
(I have oracle 9i free downloaded version installed)
What is OC4J ?
Oracle also said JNDI will beloaded by OC4J.
Thanks
MeiHi all
Thanks for not responding to my question.
I found that the oracle equivalent package was,
import oracle.jdbc.pool.OracleDataSource;
I am all set..
Mei.. -
Could not retreive datasource oracle in webdynpro
Hi,
I've defined a datasource for oracle in the visual administrator :
jdbc datasource :
Data Source Type: driver-based
Driver Library: ojdbc14.jar
SQL Engine: vendor sql
Isolation Level: default
driver class : oracle.jdbc.OracleDriver
URL: jdbc:oracle:thin:@<host>:<port>:<sid>
I try to use it in my webdynpro :
javax.sql.DataSource ds=(javax.sql.DataSource)ctx.lookup(<dataSource name>);
java.sql.Connection con=ds.getConnection();
java.sql.Statement stmt=con.createStatement();
con.close();
But it throws the following exception :
com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of Baical_V1.
Does someone know what I could do ?
Thanks
Regards
ClaireThanks Anilkumar,
I've resolved my problem :
this parameters can't work :
Data Source Type: driver-based
Driver Library: ojdbc14.jar
SQL Engine: vendor sql
Isolation Level: default
driver class : oracle.jdbc.OracleDriver
URL: jdbc:oracle:thin:@<host>:<port>:<sid>
like it is explained in thread :
JDBC Connector in NetWeaver Dev Studio WebAS
I couldn't issue with a "driver-based" dataSource type AND the ojdbc14.jar driver like indicated in note 941594.
I've used this parameters :
Datasource type: ConnectionPoolDataSource
JDBC Version: 2.0
Driver: <name of the ojdbc14.jar deployed driver> (this driver has to be deployed before ! : http://help.sap.com/saphelp_nw04/helpdata/en/80/4f34c587f05048adee640f4c346417/frameset.htm)
SQL Engine: vendor sql
Isolation Level: default
Driver class: oracle.jdbc.pool.OracleDataSourceFactory
CPDS Classname: oracle.jdbc.pool.OracleConnectionPoolDataSource
Additional properties:
url = jdbc:oracle:thin:@host:port:instance
user = xxxx
password = yyyyy
(Names of properties must be lower-cased)
A good solution to find where was the problem, was to try to declare the datasource directly in the application (adding a data-sources.xml in the META-INF directory http://help.sap.com/saphelp_nw04/helpdata/en/64/0bee3da7138e5be10000000a114084/frameset.htm
) so you can have the detail of the exception in the datasource when you deploy the application, whereas when you create a wrong datasource, in the WAS, you have no message !
Regards,
Claire -
NamingException when trying to lookup DataSource (Oracle)
I am using Sun 6.1 Web Server with Oracle 9i, and we are evaluating these products (so no support contract).
I have a connection pool configured as follows:
<RESOURCES>
<JDBCCONNECTIONPOOL name="foo_pool" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idletimeout="300" maxwaittime="60000" connectionvalidationrequired="on" connectionvalidationmethod="meta-data" validationtablename="" failallconnections="off" transactionisolationlevel="read-committed" isolationlevelguaranteed="off">
<PROPERTY name="URL" value="jdbc:oracle:thin:@XX.XX.XX.XXX:1521:oracledv"/>
<PROPERTY name="User" value=" . . . "/>
<PROPERTY name="Password" value=" . . . "/>
</JDBCCONNECTIONPOOL>
<JDBCRESOURCE jndiname="jdbc/foo_pool" poolname="foo_pool" enabled="on"/>
</RESOURCES>
Of course the user and password values are filled in.
The foo_pool object is there within the JDBC context, and the class of the object as reported by listBindings is javax.sql.DataSource.
I am trying to lookup the DataSource from a JSP deployed within a web app.
However, I am getting a NamingException with the explanation "cannot create resource instance". The cause and rootCause Throwable fields of this NamingException are null (big help that is).
The line that causes the exception is the one that invokes lookup on the "jdbc" sub context, with the parameter "foo_pool".
I have set up JDBC connection pools to Oracle in the past using WebLogic and JBoss, so I am at least somewhat competent at this. Still somehow I get the feeling that some class is missing, or there is an attempt to instantiate the wrong class or an incompatible class, but since there is no information beyond "cannot instantiate" I have no idea where else to look, after having googled until I am blue in the face.
Can anyone help?
Thanks,
ErikDoes this help?
http://swforum.sun.com/jive/thread.jspa?forumID=16&threadID=24492 -
Lock contention heavily impacting Oracle DB 10gR1 performance
Hello,
I have put in production a new application using Oracle 10g R1, about a month ago.
Every Sunday since the migration, my application stops working due to Oracle lock contention (proved by Oracle Grid).
I absolutely don't understand why the application runs all the week perfectly (when the volume of data managed by the application if a lot higher) and experiences problems during the week-end. That does not make any sense to me. I have heard people saying that Oracle takes a lot activity time to perform auto-tuning, is that something real? Would anyone know what Oracle could be doing on the Sunday that it would not do the rest of the week. Again, the application is a lot less stressed during the Sunday.
Thanks for your help,
Eric G.Hi Eric,
I absolutely don't understand why the application runs all the week perfectly (when the volume of data managed by the application if a lot higher) and experiences problems during the week-end.Me, I would consider running a STATSPACK orr AWR report, and then you will learn the reason . . . . Here are my notes:
http://www.dba-oracle.com/oracle10g_tuning/t_generating_awr_report.htm
Would anyone know what Oracle could be doing on the Sunday that it would not do the rest of the week.Check your scheduled jobs with dba_schedules:
http://www.rampant-books.com/book_2005_1_scheduling.htm
Hope this helps. . . .
Don Burleson
Oracle Press author
http://www.dba-oracle.com -
Oracle Database Server 9i supports the usage of LABELS to enforce highly granular
resource access restrictions at the database level independent of the application
that is accessing it. In order to use this however, the particular user, and
not just the application, accessing the database must be known. Oracle Application
Server (Oracle's J2EE product line) solves this by providing the ability to PROXY
the identity of the application user and creditials (SSL Certs for instance) down
to the database server.
I haven't seen a similar ability for BEA Weblogic Server 8.1 which allow the user
identity and credientials to be PROXIED to the database server. Is this possible?
Have I missed an important document?
Thanks for any input,
Raymond TiongOn 3 Feb 2004 12:51:26 -0800, Raymond Tiong <[email protected]> wrote:
>
Oracle Database Server 9i supports the usage of LABELS to enforce highly
granular
resource access restrictions at the database level independent of the
application
that is accessing it. In order to use this however, the particular
user, and
not just the application, accessing the database must be known. Oracle
Application
Server (Oracle's J2EE product line) solves this by providing the ability
to PROXY
the identity of the application user and creditials (SSL Certs for
instance) down
to the database server.
I haven't seen a similar ability for BEA Weblogic Server 8.1 which allow
the user
identity and credientials to be PROXIED to the database server. Is this
possible?
Have I missed an important document?
Thanks for any input,
Raymond Tiong
I think there is a section in the JDBC documentation for 8.1 which
describes what it takes to utilize Oracle 9i extension called "Virtual
Private Database". With this extension, one might be able to proxy the
callers
identity to the DB.
See: http://e-docs.bea.com/wls/docs81/jdbc/thirdparty.html#1103627 -
"Oracle Cluster Verification Utility" failed - 10gR2 - VMware - CentOS 4
Hi,
While installing 10g R2 on VMWare with CentOS 4, I am encountering an error:
Command = /u01/crs/oracle/product/10.2.0/crs/bin/cluvfy has failed
INFO: Configuration assistant "Oracle Cluster Verification Utility" failed
*** Starting OUICA ***
Oracle Home set to /u01/crs/oracle/product/10.2.0/crs
Configuration directory is set to /u01/crs/oracle/product/10.2.0/crs/cfgtoollogs. All xml files under the directory will be processed
INFO: The "/u01/crs/oracle/product/10.2.0/crs/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
SEVERE: OUI-25031:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured.
1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.
2. Fix the errors causing these failures.
3. Select the failed assistants and click the 'Retry' button to retry them.
INFO: User Selected: Yes/OK
The logs show me:
COMMAND=/u01/crs/oracle/product/10.2.0/crs/bin/cluvfy stage -post crsinst -n rac1,rac2
Checking the version of OCR...
OCR of correct Version "2" exists.
Checking data integrity of OCR...
ERROR:
OCR integrity results are inconsistent amongst the nodes.
OCR integrity found invalid for nodes: rac2
OCR integrity found valid for nodes: rac1
OCR integrity check failed.
I have replaced "clsfmt.bin" with patch 4679769 to avoid the FAILED TO FORMAT OCR DISK USING CLSFMT error on Node 1.
But still the Oracle Cluster Verification Utility failed with OCR integrity.
Also, have religiously followed the steps mentioned in the below link & didnt have any glitches during the entire process:
http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php
Any Suggestions??I kinda dont have that timestamp which you requested.
Posting what i have in crsd.log for node 2.
**I wish this site had an attachment section to make the threads more readable.
Anyways...
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle. All rights reserved.
2011-06-29 17:56:21.189: [ default][3086931648][ENTER]0
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2004, Oracle. All rights reserved
2011-06-29 17:56:21.189: [ default][3086931648]0CRS Daemon Starting
2011-06-29 17:56:21.190: [ CRSMAIN][3086931648]0Checking the OCR device
2011-06-29 17:56:21.280: [ CRSMAIN][3086931648]0Connecting to the CSS Daemon
2011-06-29 17:56:21.420: [ COMMCRS][66177968]clsc_connect: (0x8655ae0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac2_crs))
2011-06-29 17:56:21.420: [ CSSCLNT][3086931648]clsssInitNative: connect failed, rc 9
2011-06-29 17:56:21.422: [ CRSRTI][3086931648]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
2011-06-29 17:56:22.483: [ COMMCRS][66177968]clsc_connect: (0x8604c10) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac2_crs))
2011-06-29 17:56:22.484: [ CSSCLNT][3086931648]clsssInitNative: connect failed, rc 9
2011-06-29 17:56:22.485: [ CRSRTI][3086931648]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
2011-06-29 17:56:23.537: [ COMMCRS][66177968]clsc_connect: (0x8654e20) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac2_crs))
2011-06-29 17:56:23.537: [ CSSCLNT][3086931648]clsssInitNative: connect failed, rc 9
2011-06-29 17:56:23.538: [ CRSRTI][3086931648]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
2011-06-29 17:56:24.606: [ COMMCRS][66177968]clsc_connect: (0x8655008) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac2_crs))
2011-06-29 17:56:24.606: [ CSSCLNT][3086931648]clsssInitNative: connect failed, rc 9
2011-06-29 17:56:24.608: [ CRSRTI][3086931648]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
2011-06-29 17:56:28.445: [ CRSD][3086931648]0Daemon Version: 10.2.0.1.0 Active Version: 10.2.0.1.0
2011-06-29 17:56:28.446: [ CRSD][3086931648]0Active Version and Software Version are same
2011-06-29 17:56:28.446: [ CRSMAIN][3086931648]0Initializing OCR
2011-06-29 17:56:28.479: [ OCRRAW][3086931648]proprioo: for disk 0 (/dev/raw/raw1), id match (1), my id set (1669906634,1028247821) total id sets (1), 1st set (1669906634,1028247821), 2nd set (0,0) my votes (2), total votes (2)
2011-06-29 17:56:28.621: [ CSSCLNT][3051752368]clssgsGroupJoin: CSS has not reached fatal mode.Registration is not yet safe. Retrying
2011-06-29 17:56:29.674: [ CRSD][3086931648]0ENV Logging level for Module: allcomp 0
2011-06-29 17:56:29.680: [ CRSD][3086931648]0ENV Logging level for Module: default 0
2011-06-29 17:56:29.720: [ CRSD][3086931648]0ENV Logging level for Module: COMMCRS 0
2011-06-29 17:56:29.730: [ CRSD][3086931648]0ENV Logging level for Module: COMMNS 0
2011-06-29 17:56:29.746: [ CRSD][3086931648]0ENV Logging level for Module: CRSUI 0
2011-06-29 17:56:29.755: [ CRSD][3086931648]0ENV Logging level for Module: CRSCOMM 0
2011-06-29 17:56:29.760: [ CRSD][3086931648]0ENV Logging level for Module: CRSRTI 0
2011-06-29 17:56:29.770: [ CRSD][3086931648]0ENV Logging level for Module: CRSMAIN 0
2011-06-29 17:56:29.823: [ CRSD][3086931648]0ENV Logging level for Module: CRSPLACE 0
2011-06-29 17:56:29.834: [ CRSD][3086931648]0ENV Logging level for Module: CRSAPP 0
2011-06-29 17:56:29.846: [ CRSD][3086931648]0ENV Logging level for Module: CRSRES 0
2011-06-29 17:56:29.852: [ CRSD][3086931648]0ENV Logging level for Module: CRSOCR 0
2011-06-29 17:56:29.871: [ CRSD][3086931648]0ENV Logging level for Module: CRSTIMER 0
2011-06-29 17:56:29.878: [ CRSD][3086931648]0ENV Logging level for Module: CRSEVT 0
2011-06-29 17:56:29.886: [ CRSD][3086931648]0ENV Logging level for Module: CRSD 0
2011-06-29 17:56:29.904: [ CRSD][3086931648]0ENV Logging level for Module: CLUCLS 0
2011-06-29 17:56:29.916: [ CRSD][3086931648]0ENV Logging level for Module: OCRRAW 0
2011-06-29 17:56:29.928: [ CRSD][3086931648]0ENV Logging level for Module: OCROSD 0
2011-06-29 17:56:29.931: [ CRSD][3086931648]0ENV Logging level for Module: CSSCLNT 0
2011-06-29 17:56:29.936: [ CRSD][3086931648]0ENV Logging level for Module: OCRAPI 0
2011-06-29 17:56:29.939: [ CRSD][3086931648]0ENV Logging level for Module: OCRUTL 0
2011-06-29 17:56:29.942: [ CRSD][3086931648]0ENV Logging level for Module: OCRMSG 0
2011-06-29 17:56:29.945: [ CRSD][3086931648]0ENV Logging level for Module: OCRCLI 0
2011-06-29 17:56:29.948: [ CRSD][3086931648]0ENV Logging level for Module: OCRCAC 0
2011-06-29 17:56:29.951: [ CRSD][3086931648]0ENV Logging level for Module: OCRSRV 0
2011-06-29 17:56:29.954: [ CRSD][3086931648]0ENV Logging level for Module: OCRMAS 0
2011-06-29 17:56:29.954: [ CRSMAIN][3086931648]0Filename is /u01/crs/oracle/product/10.2.0/crs/crs/init/rac2.pid
[ clsdmt][2862934960]Listening to (ADDRESS=(PROTOCOL=ipc)(KEY=rac2DBG_CRSD))
2011-06-29 17:56:29.986: [ CRSMAIN][3086931648]0Using Authorizer location: /u01/crs/oracle/product/10.2.0/crs/crs/auth/
2011-06-29 17:56:30.038: [ CRSMAIN][3086931648]0Initializing RTI
2011-06-29 17:56:30.039: [CRSTIMER][2841689008]0Timer Thread Starting.
2011-06-29 17:56:30.042: [ CRSRES][3086931648]0Parameter SECURITY = 1, running in USER Mode
2011-06-29 17:56:30.043: [ CRSMAIN][3086931648]0Initializing EVMMgr
2011-06-29 17:56:30.045: [ COMMCRS][2831199152]clsc_connect: (0x89a02e0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=SYSTEM.evm.acceptor.auth))
2011-06-29 17:56:30.299: [ COMMCRS][2831199152]clsc_connect: (0x89a2ab8) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=SYSTEM.evm.acceptor.auth))
2011-06-29 17:56:31.555: [ CRSMAIN][3086931648]0CRSD locked during state recovery, please wait.
2011-06-29 17:56:31.603: [ CRSMAIN][3086931648]0CRSD recovered, unlocked.
2011-06-29 17:56:31.606: [ CRSMAIN][3086931648]0QS socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=ora_crsqs))
2011-06-29 17:56:31.620: [ CRSMAIN][3086931648]0CRSD UI socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=CRSD_UI_SOCKET))
2011-06-29 17:56:31.627: [ CRSMAIN][3086931648]0E2E socket on: (ADDRESS=(PROTOCOL=tcp)(HOST=rac2-priv)(PORT=49896))
2011-06-29 17:56:31.627: [ CRSMAIN][3086931648]0Starting Threads
2011-06-29 17:56:31.628: [ CRSMAIN][3086931648]0CRS Daemon Started.
2011-06-29 18:03:02.066: [ CRSRES][2735582128]0Resource Registered: ora.rac1.vip
2011-06-29 18:03:05.949: [ CRSRES][2735582128]0Resource Registered: ora.rac2.vip
2011-06-29 18:03:09.666: [ CRSRES][2735582128]0Resource Registered: ora.rac1.gsd
2011-06-29 18:03:11.523: [ CRSRES][2735582128]0Resource Registered: ora.rac2.gsd
2011-06-29 18:03:13.329: [ CRSRES][2735582128]0Resource Registered: ora.rac1.ons
2011-06-29 18:03:15.048: [ CRSRES][2735582128]0Resource Registered: ora.rac2.ons
2011-06-29 18:03:15.965: [ CRSRES][2714192816]0Attempting to start `ora.rac1.vip` on member `rac1`
2011-06-29 18:03:30.471: [ CRSRES][2714192816]0Start of `ora.rac1.vip` on member `rac1` succeeded.
2011-06-29 18:03:31.227: [ CRSRES][2714192816]0startRunnable: setting CLI values
2011-06-29 18:03:31.258: [ CRSRES][2714192816]0Attempting to start `ora.rac2.vip` on member `rac2`
2011-06-29 18:03:44.710: [ CRSRES][2714192816]0Start of `ora.rac2.vip` on member `rac2` succeeded.
2011-06-29 18:03:45.588: [ CRSRES][2714192816]0Attempting to start `ora.rac1.gsd` on member `rac1`
2011-06-29 18:03:45.777: [ CRSRES][2714192816]0Start of `ora.rac1.gsd` on member `rac1` succeeded.
2011-06-29 18:03:46.523: [ CRSRES][2714192816]0startRunnable: setting CLI values
2011-06-29 18:03:46.588: [ CRSRES][2714192816]0Attempting to start `ora.rac2.gsd` on member `rac2`
2011-06-29 18:03:47.220: [ CRSRES][2714192816]0Start of `ora.rac2.gsd` on member `rac2` succeeded.
2011-06-29 18:03:48.077: [ CRSRES][2714192816]0Attempting to start `ora.rac1.ons` on member `rac1`
2011-06-29 18:03:49.727: [ CRSRES][2714192816]0Start of `ora.rac1.ons` on member `rac1` succeeded.
2011-06-29 18:03:50.610: [ CRSRES][2714192816]0startRunnable: setting CLI values
2011-06-29 18:03:50.658: [ CRSRES][2714192816]0Attempting to start `ora.rac2.ons` on member `rac2`
2011-06-29 18:03:52.240: [ CRSRES][2714192816]0Start of `ora.rac2.ons` on member `rac2` succeeded.
2011-06-29 18:07:44.810: [ CRSRES][2735582128]0startRunnable: setting CLI values
2011-06-29 18:09:05.613: [ CRSAPP][2735582128]0CheckResource error for ora.rac1.vip error code = 1
2011-06-29 18:09:05.623: [ CRSRES][2735582128]0In stateChanged, ora.rac1.vip target is ONLINE
2011-06-29 18:09:05.623: [ CRSRES][2735582128]0ora.rac1.vip on rac2 went OFFLINE unexpectedly
2011-06-29 18:09:05.624: [ CRSRES][2735582128]0StopResource: setting CLI values
2011-06-29 18:09:05.631: [ CRSRES][2735582128]0Attempting to stop `ora.rac1.vip` on member `rac2`
2011-06-29 18:09:09.437: [ CRSRES][2735582128]0Stop of `ora.rac1.vip` on member `rac2` succeeded.
2011-06-29 18:09:09.438: [ CRSRES][2735582128]0ora.rac1.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
2011-06-29 18:09:09.447: [ CRSRES][2735582128]0ora.rac1.vip failed on rac2 relocating.
2011-06-29 18:09:09.685: [ CRSRES][2735582128]0Attempting to start `ora.rac1.vip` on member `rac1`
2011-06-29 18:09:22.340: [ CRSRES][2735582128]0Start of `ora.rac1.vip` on member `rac1` succeeded.
2011-06-29 18:10:21.884: [ CRSAPP][2735582128]0CheckResource error for ora.rac2.vip error code = 1
2011-06-29 18:10:21.892: [ CRSRES][2735582128]0In stateChanged, ora.rac2.vip target is ONLINE
2011-06-29 18:10:21.893: [ CRSRES][2735582128]0ora.rac2.vip on rac2 went OFFLINE unexpectedly
2011-06-29 18:10:21.893: [ CRSRES][2735582128]0StopResource: setting CLI values
2011-06-29 18:10:21.910: [ CRSRES][2735582128]0Attempting to stop `ora.rac2.vip` on member `rac2`
2011-06-29 18:10:25.645: [ CRSRES][2735582128]0Stop of `ora.rac2.vip` on member `rac2` succeeded.
2011-06-29 18:10:25.645: [ CRSRES][2735582128]0ora.rac2.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
2011-06-29 18:10:25.657: [ CRSRES][2735582128]0ora.rac2.vip failed on rac2 relocating.
2011-06-29 18:10:25.938: [ CRSRES][2735582128]0Attempting to start `ora.rac2.vip` on member `rac1`
2011-06-29 18:10:39.079: [ CRSRES][2735582128]0Start of `ora.rac2.vip` on member `rac1` succeeded.
2011-06-29 18:11:39.443: [ CRSRES][2735582128]0startRunnable: setting CLI values
2011-06-29 18:11:52.836: [ OCRUTL][3009792944]u_freem: mem passed is null
2011-06-29 18:12:59.776: [ CRSAPP][2735582128]0CheckResource error for ora.rac1.vip error code = 1
2011-06-29 18:12:59.784: [ CRSRES][2735582128]0In stateChanged, ora.rac1.vip target is ONLINE
2011-06-29 18:12:59.784: [ CRSRES][2735582128]0ora.rac1.vip on rac2 went OFFLINE unexpectedly
2011-06-29 18:12:59.784: [ CRSRES][2735582128]0StopResource: setting CLI values
2011-06-29 18:12:59.791: [ CRSRES][2735582128]0Attempting to stop `ora.rac1.vip` on member `rac2`
2011-06-29 18:13:03.395: [ CRSRES][2735582128]0Stop of `ora.rac1.vip` on member `rac2` succeeded.
2011-06-29 18:13:03.396: [ CRSRES][2735582128]0ora.rac1.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
2011-06-29 18:13:03.404: [ CRSRES][2735582128]0ora.rac1.vip failed on rac2 relocating.
2011-06-29 18:13:03.678: [ CRSRES][2735582128]0Attempting to start `ora.rac1.vip` on member `rac1`
2011-06-29 18:13:16.047: [ CRSRES][2735582128]0Start of `ora.rac1.vip` on member `rac1` succeeded.
2011-06-29 18:15:07.356: [ CRSRES][2735582128]0startRunnable: setting CLI values
2011-06-29 18:26:36.393: [ CRSAPP][2735582128]0CheckResource error for ora.rac2.vip error code = 1
2011-06-29 18:26:36.404: [ CRSRES][2735582128]0In stateChanged, ora.rac2.vip target is ONLINE
2011-06-29 18:26:36.404: [ CRSRES][2735582128]0ora.rac2.vip on rac2 went OFFLINE unexpectedly
2011-06-29 18:26:36.405: [ CRSRES][2735582128]0StopResource: setting CLI values
2011-06-29 18:26:36.420: [ CRSRES][2735582128]0Attempting to stop `ora.rac2.vip` on member `rac2`
2011-06-29 18:26:40.105: [ CRSRES][2735582128]0Stop of `ora.rac2.vip` on member `rac2` succeeded.
2011-06-29 18:26:40.106: [ CRSRES][2735582128]0ora.rac2.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
2011-06-29 18:26:40.114: [ CRSRES][2735582128]0ora.rac2.vip failed on rac2 relocating.
2011-06-29 18:26:40.411: [ CRSRES][2735582128]0Attempting to start `ora.rac2.vip` on member `rac1`
2011-06-29 18:26:53.678: [ CRSRES][2735582128]0Start of `ora.rac2.vip` on member `rac1` succeeded.
2011-06-29 18:28:03.601: [ CRSRES][2735582128]0startRunnable: setting CLI values
2011-06-29 18:28:22.695: [ CRSAPP][2735582128]0StartResource error for ora.rac2.vip error code = 1
2011-06-29 18:28:44.847: [ CRSRES][2735582128]0startRunnable: setting CLI values
2011-06-29 18:29:06.589: [ OCRUTL][2946853808]u_freem: mem passed is null
2011-06-29 18:30:13.581: [ CRSAPP][2735582128]0CheckResource error for ora.rac1.vip error code = 1
2011-06-29 18:30:13.598: [ CRSRES][2735582128]0In stateChanged, ora.rac1.vip target is ONLINE
2011-06-29 18:30:13.599: [ CRSRES][2735582128]0ora.rac1.vip on rac2 went OFFLINE unexpectedly
2011-06-29 18:30:13.599: [ CRSRES][2735582128]0StopResource: setting CLI values
2011-06-29 18:30:13.606: [ CRSRES][2735582128]0Attempting to stop `ora.rac1.vip` on member `rac2`
2011-06-29 18:30:17.227: [ CRSRES][2735582128]0Stop of `ora.rac1.vip` on member `rac2` succeeded.
2011-06-29 18:30:17.228: [ CRSRES][2735582128]0ora.rac1.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
2011-06-29 18:30:17.236: [ CRSRES][2735582128]0ora.rac1.vip failed on rac2 relocating.
2011-06-29 18:30:17.563: [ CRSRES][2735582128]0Attempting to start `ora.rac1.vip` on member `rac1`
2011-06-29 18:30:31.358: [ CRSRES][2735582128]0Start of `ora.rac1.vip` on member `rac1` succeeded.
2011-06-29 18:33:54.570: [ CRSRES][2735582128]0startRunnable: setting CLI values
2011-06-29 18:34:17.302: [ OCRUTL][2988813232]u_freem: mem passed is null
2011-06-29 18:35:24.403: [ CRSAPP][2735582128]0CheckResource error for ora.rac1.vip error code = 1
2011-06-29 18:35:24.412: [ CRSRES][2735582128]0In stateChanged, ora.rac1.vip target is ONLINE
2011-06-29 18:35:24.412: [ CRSRES][2735582128]0ora.rac1.vip on rac2 went OFFLINE unexpectedly
2011-06-29 18:35:24.412: [ CRSRES][2735582128]0StopResource: setting CLI values
2011-06-29 18:35:24.431: [ CRSRES][2735582128]0Attempting to stop `ora.rac1.vip` on member `rac2`
2011-06-29 18:35:28.186: [ CRSRES][2735582128]0Stop of `ora.rac1.vip` on member `rac2` succeeded.
2011-06-29 18:35:28.187: [ CRSRES][2735582128]0ora.rac1.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
2011-06-29 18:35:28.208: [ CRSRES][2735582128]0ora.rac1.vip failed on rac2 relocating.
2011-06-29 18:35:28.510: [ CRSRES][2735582128]0Attempting to start `ora.rac1.vip` on member `rac1`
2011-06-29 18:35:52.388: [ CRSRES][2735582128]0Start of `ora.rac1.vip` on member `rac1` succeeded.
2011-06-29 18:39:18.464: [ CRSRES][2735582128]0startRunnable: setting CLI values
2011-06-29 18:39:31.876: [ OCRUTL][2988813232]u_freem: mem passed is null
2011-06-29 18:40:38.956: [ CRSAPP][2735582128]0CheckResource error for ora.rac1.vip error code = 1
2011-06-29 18:40:38.965: [ CRSRES][2735582128]0In stateChanged, ora.rac1.vip target is ONLINE
2011-06-29 18:40:38.966: [ CRSRES][2735582128]0ora.rac1.vip on rac2 went OFFLINE unexpectedly
2011-06-29 18:40:38.966: [ CRSRES][2735582128]0StopResource: setting CLI values
2011-06-29 18:40:38.972: [ CRSRES][2735582128]0Attempting to stop `ora.rac1.vip` on member `rac2`
2011-06-29 18:40:42.583: [ CRSRES][2735582128]0Stop of `ora.rac1.vip` on member `rac2` succeeded.
2011-06-29 18:40:42.584: [ CRSRES][2735582128]0ora.rac1.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
2011-06-29 18:40:42.594: [ CRSRES][2735582128]0ora.rac1.vip failed on rac2 relocating.
2011-06-29 18:40:42.977: [ CRSRES][2735582128]0Attempting to start `ora.rac1.vip` on member `rac1`
2011-06-29 18:41:08.149: [ CRSRES][2735582128]0Start of `ora.rac1.vip` on member `rac1` succeeded.
2011-06-29 18:42:18.061: [ CRSRES][2735582128]0startRunnable: setting CLI values
2011-06-29 18:42:31.531: [ OCRUTL][2988813232]u_freem: mem passed is null
2011-06-29 18:44:45.499: [ CRSAPP][2735582128]0CheckResource error for ora.rac1.vip error code = 1
2011-06-29 18:44:45.507: [ CRSRES][2735582128]0In stateChanged, ora.rac1.vip target is ONLINE
2011-06-29 18:44:45.508: [ CRSRES][2735582128]0ora.rac1.vip on rac2 went OFFLINE unexpectedly
2011-06-29 18:44:45.508: [ CRSRES][2735582128]0StopResource: setting CLI values
2011-06-29 18:44:45.516: [ CRSRES][2735582128]0Attempting to stop `ora.rac1.vip` on member `rac2`
2011-06-29 18:44:49.197: [ CRSRES][2735582128]0Stop of `ora.rac1.vip` on member `rac2` succeeded.
2011-06-29 18:44:49.198: [ CRSRES][2735582128]0ora.rac1.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
2011-06-29 18:44:49.209: [ CRSRES][2735582128]0ora.rac1.vip failed on rac2 relocating.
2011-06-29 18:44:49.449: [ CRSRES][2735582128]0Attempting to start `ora.rac1.vip` on member `rac1`
2011-06-29 18:45:13.509: [ CRSRES][2735582128]0Start of `ora.rac1.vip` on member `rac1` succeeded.
2011-06-29 18:47:31.668: [ CRSRES][2735582128]0startRunnable: setting CLI values
2011-06-29 18:47:50.804: [ CRSAPP][2735582128]0StartResource error for ora.rac1.vip error code = 1 -
Public webservice as datasource, oracle database as destination
Hello,
So: there is some public webservice I need integrate with: http://www.granica.gov.pl/Services/czasyService/granica.wsdl. I need to set this webservice as data source with my odi project. What is the simplest way to do this? Is this possible to create dataserver/model from wsdl and set this as source in my interface?
Edited by: 960949 on 2012-10-09 00:41When I try to invoke this webservice, exception is thrown:
com.sunopsis.wsinvocation.SnpsWSInvocationException: javax.xml.ws.WebServiceException: java.lang.ExceptionInInitializerError
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:73)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1235)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:139)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:279)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.xml.ws.WebServiceException: java.lang.ExceptionInInitializerError
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:188)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:195)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:66)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1237)
... 6 more
Caused by: java.lang.ExceptionInInitializerError
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:173)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:195)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:66)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1235)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:278)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
... 1 more
Caused by: java.lang.ClassCastException: com.sun.xml.bind.v2.runtime.JAXBContextImpl
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.<clinit>(SOAPFaultBuilder.java:533)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:173)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:195)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:66)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1237)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:139)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:279)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
... 1 more
What's wrong? -
Need example of "validation query" under Data & Services Datasources Oracle Advanced Settings
Courious how to use it for some sort of proxy validation into the oracle 10/11 database.
Anyone using it?
Also interested in knowing anything about "Log Activity" and "Log database calls to _______________"Hi,
Could you elucidate with an example of how one would go about doing that. I did find an old thread,
Re: How to ACCEPT values on APEX page sent from outside APEX through POSTmethod
but as you are suggesting perhaps there is a 'better way' to do this now with the new Listener and Apex RESTful web services. I think it is great that we can now create RESTful service pretty easily from queries on one database through the Workspace RESTful services module, but how to ACCEPT values eludes this 'newbie' user of web services.
Pat -
Hi! I have a problem!
When i run my client application i have an exception : javax.ejb.CreateException: javax.ejb.EJBException: nested exception is: java.sql.SQLException: No suitable driver
this is the setting in resource.properties:
jdbcDataSource.0.name=jdbc/Oracle
jdbcDataSource.0.url=jdbc\:oracle\:thin\:@localhost\:1521\:EugenZ
jdbcDriver.0.name=oracle.jdbc.driver.OracleDriver
this is my classpath setting:
%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\system\cloudscape.jar;%J2EE_HOME%\lib\system\cloudutil.jar;%J2EE_HOME%\lib\cloudscape\RmiJdbc.jar;%J2EE_HOME%\lib\system\classes12.jar;.
May be problem in server configuration (reset data or not load (setenv.bat)?).
since i already declare classpath for oracle JDBC Driver (classes12.jar), why the program still can't found the oracle.jdbc.driver.OracleDriver? please help. thanks.See reply in the JDBC Forum. Please do not crosspost.
Maybe you are looking for
-
Dunning Wizard - Withholding Tax
Hi All, SBO 2007 SP1 PL 07 or SBO 8.8 SP0 PL 11 The Dunning Wizard doesn't work for the A/R Invoice having the withholdin tax. It includes the withholding tax in the amount to have. This is wrong! Have you any idea how to fix this? Simona Edited by:
-
ITunes no longer recognizes my shuffle
Hi I re-installed my itunes and erased the xml file and itunes lib file. now my shuffle doesnt snyc with itunes. is there a way for itunes to recognize the shuffle again WITHOUT having to reformat my shuffle? pls help!
-
Hi All, I am try to retrive data from a derby database for which I have created a WSDL from database and passing one value in the request and trying to retrive the record based on the value given in the request. But I am getting the below error while
-
I installed a new 'used' Logic board, im my macbook 13.3 and it turned right on!..( i was out of warrenty) Apple logo and spiing wheel, then turns off.. After reading several forums, I went into self mode, did the 2 checks within in and got an error
-
Hello Guys I have recently installed scvmm 2012 r2 and would like to manage a few hyper-v hosts etc...However since installing i have realised that i may have a problem setting up the logical networks. Let me explain. Currently our department shares