Oracle 10g as Resource in IDM 5.5
Hi,
We started adding Oracel 10g Databases to our IDM-Resources.
When provisioning users into Oracle 10g Resource we get the following Exception:
com.waveset.util.WavesetException:
Error trying to update Oracle user 'G2814' ORA-30041:
Cannot grant quota on the tablespace
java.sql.SQLException: ORA-30041:
Cannot grant quota on the tablespace Since we already removed the oracleTempTSQuota-Attribute I assume that the adapter overwrites null values internally.
Any hints how to solve this problem?
Thanks in advance...
Oracle-Docs:ORA-30041: Cannot grant quota on the tablespace
Cause: User tried to grant quota on an undo or temporary tablespaceIDM_Technical_Reference_2005Q3M1 refernces Oracle 10g as supported resource
There is no need to give quota on temporary tablespace, because you will never create objects on a temporary tablespace
It is a wrong assumption to think that your temporary space usage will be limited by a quota.
The fact that you can "grant" quota on a temporary tablespace is rather a bug, which is fixed in 10gR2
Re: Cannot grant quota on tablespace
This bug is not fixed in IDM 6.0 SP1.
Similar Messages
-
Oracle 10g as a resource in IDM 6.0
Hi,
I am a newbie and I am trying to configure Oracle10g as a resource in IDM6.0. I have installed Oracle10g on WinXP and have copied the classes2.zip file from Oracle folder and pasted it in the web-inf/lib folder(renamed to oraclejdbc.jar) and have also included the resource adapter. I would like to know the resource parameters in the createOracle Resource Wizard..
Please help..it it very urgent
Thanks in advance
Nashthe steps are as follows
Go to CONFIGURE>MANAGED RESOURCES-->ADD CUSTOM RESOURCE
type in
com.waveset.adapter.OracleResourceAdapter
save
Go to Resources >NEW RESOURCE
choose ORACLE
in the resource wizard
JDBC DATA SOURCE NAME/PATH (put in the jdbc data source name if u know it else LEAVE IT AS IT IS)
JDBC DRIVER (LEAVE IT AS IT IS)
CONNECTION URL (LEAVE IT AS IT IS)
HOST (name of the host where ur ORACLE DB resides or the IP address of that machine)
TCP PORT(LEAVE IT AS IT IS, in case of custom port put in that port no)
DATABASE[i] (name of the database on ur oracle machine)
USER (user name of a account that has administrative capabilities)
PASSWORD (password of the above user)
ENABLE CONNECTION POOLING (LEAVE IT AS IT IS) -
Oracle 10g R2 - Metadata Issue With Version Controlled Resources
We are trying to utilize the Oracle 10g R2 feature that allows user-defined metadata to be attached to XML DB resources. However, we are encountering errors when we try to append/attach metadata to a version-controlled resource (VCR). The following steps were followed:
1. Register a new schema to be used for metadata (XMLSCHEMA.registerSchema).
2. Add a new resource to to the XML DB and make it version controlled (DBMS_XDB.createResource and DBMS_XDB_VERSION.makeVersioned).
3. Checkout the newly created version-controlled resource (DBMS_XDB_VERSION.checkout)
4. Add metadata to the version-controlled resource (DBMS_XDB.appendResourceMetadata)
However, after step 4, the errors shown below are encountered:
========================================================
begin
ERROR at line 1:
ORA-00600: internal error code, arguments: [qmxStrCopy: INLOB 2], [], [], [],
ORA-06512: at "XDB.DBMS_XDB", line 890
ORA-06512: at line 2
========================================================
The steps followed for adding metadata to a resource were taken from Chapter 26 of the "Oracle XML DB Developer's Guide 10G Release 2" (http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb_repos_meta.htm#sthref2302).
Is is possible to append and maintain metadata to an XML DB version controlled resource (VCR)? If so, what are the correct steps to do this? Note that if this is tried with a resource that is not version controlled, then no errors are encountered.
Thanks,
SteveIt appears that this issue has been solved in the next release of the database
QL> spool testcase.log
SQL> --
SQL> connect &1/&2
Connected.
SQL> --
SQL> var schemaURL varchar2(256)
SQL> var schemaPath varchar2(256)
SQL> var resourcePath varchar2(256)
SQL> --
SQL> begin
2 :schemaURL := 'metadata.xsd';
3 :schemaPath := '/public/metadata.xsd';
4 :resourcePath := '/public/metadataTest.txt';
5 end;
6 /
PL/SQL procedure successfully completed.
SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
2 /
Call completed.
SQL> declare
2 res boolean;
3 xmlSchema xmlType := xmlType(
4 '<?xml version="1.0" encoding="UTF-8"?>
5 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="qualified" attributeFormDefault="unqualified" xdb:storeVarrayAsTable="true">
6 <xs:element name="root" type="rootType" xdb:defaultTable="METADATA_TABLE"/>
7 <xs:complexType name="rootType" xdb:SQLType="METADATA_ROOT_T">
8 <xs:sequence>
9 <xs:element name="child" type="childType"/>
10 </xs:sequence>
11 </xs:complexType>
12 <xs:complexType name="childType" xdb:SQLType="METADATA_CHILD_T">
13 <xs:sequence>
14 <xs:element name="Child1" type="xs:string"/>
15 <xs:element name="Child2" type="xs:string"/>
16 </xs:sequence>
17 </xs:complexType>
18 </xs:schema>
19 ');
20 begin
21 if (dbms_xdb.existsResource(:schemaPath)) then
22 dbms_xdb.deleteResource(:schemaPath);
23 end if;
24 res := dbms_xdb.createResource(:schemaPath,xmlSchema);
25 end;
26 /
PL/SQL procedure successfully completed.
SQL> begin
2 dbms_xmlschema.registerSchema
3 (
4 :schemaURL,
5 xdbURIType(:schemaPath).getClob(),
6 TRUE,TRUE,FALSE,TRUE,
7 enableHierarchy=>DBMS_XMLSCHEMA.ENABLE_HIERARCHY_RESMETADATA
8 );
9 end;
10 /
PL/SQL procedure successfully completed.
SQL> declare
2 res boolean;
3 begin
4 if dbms_xdb.existsResource(:resourcePath) then
5 dbms_xdb.deleteResource(:resourcePath,4);
6 end if;
7 res := dbms_xdb.createResource(:resourcePath,'Mary Had a Little Lamb');
8 end;
9 /
PL/SQL procedure successfully completed.
SQL> commit
2 /
Commit complete.
SQL> select xdbUriType(:resourcePath).getClob()
2 from dual
3 /
XDBURITYPE(:RESOURCEPATH).GETCLOB()
Mary Had a Little Lamb
SQL> declare
2 resid raw(16);
3 begin
4 resid := dbms_xdb_version.makeVersioned(:resourcePath);
5 end;
6 /
PL/SQL procedure successfully completed.
SQL> commit
2 /
Commit complete.
SQL> begin
2 dbms_xdb_version.checkout(:resourcePath);
3 end;
4 /
PL/SQL procedure successfully completed.
SQL> commit
2 /
Commit complete.
SQL> set long 10000 pages 0 lines 150
SQL> --
SQL> select r.res.getClobVal()
2 from resource_view r
3 where equals_path(res,:resourcePath) = 1
4 /
<Resource xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" Hidden="false" Inv
alid="false" VersionID="1" ActivityID="0" Container="false" CustomRslv="false" V
ersionHistory="false" StickyRef="true">
<CreationDate>2006-06-10T05:01:25.355009</CreationDate>
<ModificationDate>2006-06-10T05:01:25.355009</ModificationDate>
<DisplayName>metadataTest.txt</DisplayName>
<Language>en-US</Language>
<CharacterSet>UTF-8</CharacterSet>
<ContentType>text/plain</ContentType>
<RefCount>1</RefCount>
<ACL>
<acl description="Public:All privileges to PUBLIC" xmlns="http://xmlns.oracl
e.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sch
emaLocation="http://xmlns.oracle.com/xdb/acl.xsd http:
//xmlns.oracle.com/xdb/acl.xsd">
<ace>
<grant>true</grant>
<principal>PUBLIC</principal>
<privilege>
<all/>
</privilege>
</ace>
</acl>
</ACL>
<Owner>SCOTT</Owner>
<Creator>SCOTT</Creator>
<LastModifier>SCOTT</LastModifier>
<SchemaElement>http://xmlns.oracle.com/xdb/XDBSchema.xsd#binary</SchemaElement
>
<Contents>
<text>Mary Had a Little Lamb</text>
</Contents>
<VCRUID>15DE79F263F7CC00E040578C2A0656F8</VCRUID>
</Resource>
SQL> begin
2 dbms_xdb.appendResourceMetadata(:resourcePath,xmltype(
3 '<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:noNamespaceSchemaLocation="metadata.xsd">
5 <child>
6 <Child1>AAA</Child1>
7 <Child2>BBB</Child2>
8 </child>
9 </root>'));
10 end;
11 /
PL/SQL procedure successfully completed.
SQL> commit
2 /
Commit complete.
SQL> select r.res.getClobVal()
2 from resource_view r
3 where equals_path(res,:resourcePath) = 1
4 /
<Resource xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" Hidden="false" Inv
alid="false" VersionID="0" ActivityID="0" Container="false" CustomRslv="false" V
ersionHistory="false" StickyRef="true">
<CreationDate>2006-06-10T05:01:25.355009</CreationDate>
<ModificationDate>2006-06-10T05:01:25.558913</ModificationDate>
<DisplayName>metadataTest.txt</DisplayName>
<Language>en-US</Language>
<CharacterSet>UTF-8</CharacterSet>
<ContentType>text/plain</ContentType>
<RefCount>1</RefCount>
<ACL>
<acl description="Public:All privileges to PUBLIC" xmlns="http://xmlns.oracl
e.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sch
emaLocation="http://xmlns.oracle.com/xdb/acl.xsd http:
//xmlns.oracle.com/xdb/acl.xsd">
<ace>
<grant>true</grant>
<principal>PUBLIC</principal>
<privilege>
<all/>
</privilege>
</ace>
</acl>
</ACL>
<Owner>SCOTT</Owner>
<Creator>SCOTT</Creator>
<LastModifier>SCOTT</LastModifier>
<SchemaElement>http://xmlns.oracle.com/xdb/XDBSchema.xsd#text</SchemaElement>
<Contents>
<text>Mary Had a Little Lamb</text>
</Contents>
<VCRUID>15DE79F263F7CC00E040578C2A0656F8</VCRUID>
<Parents>15DE79F263F8CC00E040578C2A0656F8</Parents>
<root xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNam
espaceSchemaLocation="metadata.xsd">
<child>
<Child1>AAA</Child1>
<Child2>BBB</Child2>
</child>
</root>
</Resource>
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.0.0 - Alpha
With the Partitioning and Data Mining options
I've filed bug 5313655 for the 10.2.x behavoir. If this is important to you you might want to consider signing up for the forthcoming beta program for the next release of the database -
Oracle 10g database as Resource manager and heuristic transaction decision
Hi,
I have read in documents about distributed tarnsaction that resource manager like oracle databasecthat are involved in distributed transaction can take heuristic decision(unilateral decision) and can either rollback or commit the transaction associated with itself without having confirmation from the transaction manager.
I want to know how a resource manager take this unilateral decision and can we set this as parameter either in resource manager or in application server.
Thanks in advanceHi,
Following are some links to documents.
Handling Heuristic Completions
http://edocs.bea.com/wls/docs81/ConsoleHelp/jta.html
A heuristic completion (or heuristic decision) occurs when a resource makes a unilateral decision during the completion stage of a distributed transaction to commit or rollback updates. This can leave distributed data in an indeterminate state. Network failures or resource timeouts are possible causes for heuristic completion. In the event of an heuristic completion, one of the following heuristic outcome exceptions may be thrown:
HeuristicRollback—one resource participating in a transaction decided to autonomously rollback its work, even though it agreed to prepare itself and wait for a commit decision. If the Transaction Manager decided to commit the transaction, the resource's heuristic rollback decision was incorrect, and might lead to an inconsistent outcome since other branches of the transaction were committed.
HeuristicCommit—one resource participating in a transaction decided to autonomously commit its work, even though it agreed to prepare itself and wait for a commit decision. If the Transaction Manager decided to rollback the transaction, the resource's heuristic commit decision was incorrect, and might lead to an inconsistent outcome since other branches of the transaction were rolled back.
HeuristicMixed—the Transaction Manager is aware that a transaction resulted in a mixed outcome, where some participating resources committed and some rolled back. The underlying cause was most likely heuristic rollback or heuristic commit decisions made by one or more of the participating resources.
2. Understanding EJB Transaction
http://www2.sys-con.com/itsg/virtualcd/Java/archives/0504/tyagi/index.html
Unilateral Decisions
The transaction manager allows certain heuristic or speculative decisions to be made based on the state of all participating resources in a transaction and the underlying two-phase commit protocol. A heuristic decision occurs when one of the resources in the transaction unilaterally decides to commit or roll back the transaction without permission from the transaction manager
3. Oracle® Containers for J2EE
http://download.oracle.com/docs/cd/B31017_01/web.1013/b28958.pdf
Heuristics
To achieve consensus, two-phase commit is a blocking protocol. This means that, if a coordinator fails before delivering the final phase messages, the participants must remain blocked, holding onto resources. Modern transaction systems add heuristics to two-phase commit, which allows such participants to make unilateral decisions about whether they will commit or rollback. If a participant makes a choice that turns out to be different from the one taken by other participants, then non-atomic behavior occurs.
I got this problem while trying to do a distributed J2EE tarnsaction with two XA (one MQ and other Oracle 10g database XA) and one non-xa (oracle 10g database). According to above docs a resource manager can decide tarnsaction final state unilaterally and that can result in unatomic transaction.
Do oracle also make such decision and if yes then on what ground it takes decision? Can we change this according to our requirement either always rollback/commit anywhere as parameter setting?
Thanks -
Recommend educational resources -- Oracle 10g
Hello all,
we are planning to use Oracle 10g (and/or 11g) on an enterprise level, however in the light of our intentions, I would like to ask you to recommend reliable educational resources (books, manuals, tutorials, blogs, etc.) in order to find out more information regarding database model, design, administration, GUI tools, etc.
Thank you for your time. Your help is highly appreciated.mimage wrote:
Hello all,
we are planning to use Oracle 10g (and/or 11g) on an enterprise level, however in the light of our intentions, I would like to ask you to recommend reliable educational resources (books, manuals, tutorials, blogs, etc.) in order to find out more information regarding database model, design, administration, GUI tools, etc.
Thank you for your time. Your help is highly appreciated.Also, Tom Kyte's books like "Effective Oracle by Design". -
Oracle 10g to 11g Upgrade - Oracle Clusterware problem
Oracle10g RAC (2 Nodes) RHEL 4 64bit
Hi All,
I have began the procedure for upgrading Oracle Clusterware to 11g. However, during the install OUI was giving me certain error messages like it couldn't transfer the OUI installlogs to node 2. Well, I kept pushing through the install and after I ran the last rootupgrade script on node 2 it gave me the following error:
Checking the existence of nodeapps on this node
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Creating '/crs/home/install/paramfile.crs' with data used for CRS configuration
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Failed to retrieve VIP details
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Failed to retrieve VIP details
Setting CRS configuration values in /crs/home/install/paramfile.crs
So I ignored the error for the time being and after that I checked the status of crs and it gave me the following:
[oracle@vtl-rac2 crsd]$ crsstatus
HA Resource Target State
ora.VMRACDEV.VMRACDEV1.inst ONLINE ONLINE on vtl-rac1
ora.VMRACDEV.VMRACDEV2.inst ONLINE ONLINE on vtl-rac2
ora.VMRACDEV.db ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.ASM1.asm ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.LISTENER_VTL-RAC1.lsnr ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.gsd ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.ons ONLINE OFFLINE
ora.vtl-rac1.vip ONLINE ONLINE on vtl-rac1
ora.vtl-rac2.ASM2.asm ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.LISTENER_VTL-RAC2.lsnr ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.gsd ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.ons ONLINE OFFLINE
ora.vtl-rac2.vip ONLINE ONLINE on vtl-rac2
So i tried to bring it back up by doing a crs_stop -all and crs_start -all and it gave me the following error:
vtl-rac1 : CRS-1019: Resource ora.vtl-rac2.ons (application) cannot run on vtl-rac1
Start of `ora.vtl-rac1.ons` on member `vtl-rac1` failed.
vtl-rac2 : CRS-1019: Resource ora.vtl-rac1.ons (application) cannot run on vtl-rac2
CRS-0223: Resource 'ora.VMRACDEV.db' has placement error.
CRS-0215: Could not start resource 'ora.vtl-rac1.ons'.
CRS-0215: Could not start resource 'ora.vtl-rac2.ons'.
I am thinking that all of this is caused by the various issues I had with the install. If I am incorrect, then please let me know. If it is true, I would like to know if there are any 11g docs on how to clean up a failed clusterware upgrade. Any advice would be greatly appreciated on any of the situations I am having.
Thank youHi Chandra,
Did CVU report any problems before the upgrade?No, there were no errors reported by CVU before the upgrade.
I don't there is note out there for cleaning 11g CRS
install...and I think can very use the 10g CRS note -
239998.1.Yeah I might have to go that way.
I have both the 11g CRS install and upgrade from 10g
to 11CRS at
http://chandradba.blogspot.com/2007/08/oracle-11g-rac-
install-on-red-hat-50.html
and
http://chandradba.blogspot.com/2008/02/oracle-10g-crs-
upgrade-to-11g-crs.html
see if it helps.Yup, your guide is very simple, clear and error proof :) That's how mine when pretty much except right around 75% I started getting these strange errors of files not being able to be transferred to node 2. Anyways, it shouldn't be a problem as none of those errors were configuration related...or else I would have a messed up cluster.
Well, I actually rebooted both machines and now the whole CRS stack is up!! So I guess I am ok. We'll just have to wait and see.
Thanks for your help Chandra...I always appreciate it. -
How do I view Migrate Data errors - Access 2003 - Oracle 10g
I'm trying to use the SQL Developer to migrate data from an Access 2003 database to an Oracle 10g database. I followed the instructions found here:
http://www.oracle.com/technology/tech/migration/workbench/files/omwb_getstarted.html
I was able to complete every step except the actual data move. I exported the xml for the Access database, I captured the export and then ran the generation scripts on my target Oracle database (I'm using the same schema for the migration repository and the actual data). It created the tables with only one or two errors which I resolved.
Now, when I select Migration->Migrate Data, I get the dialog that appears to start 4 or 5 threads and attempts to migrate each table. They all error and do not transfer any rows. I can see that there's one error per table, but I can't see the error text. I just know that an error occurred. Is there a log somewhere or is the error displayed somewhere else? How do I know what's gone wrong?
Thanks.I too receive unexplained error counts using the Migrate Data menu selection and unexplained failures using the Generate Data Move Scripts menu selection. Permissions granted by role or direct grants should not be a problem, but a Migrate Data error appears in the Migration Log panel at the bottom of the SQL Developer window, "Failed to disable constraints: ORA-00942 ... ". No further details available on what constraints or why the error. No other errors were detected while following the instructions found in the Oracle SQL Developer Migration Workbench Getting Started guide. SQL Developer never migrates the data from the existing Access 2000 mdb file to the newly created schema objects in Oracle 10g using either method. The following roles and privileges have been granted to both the repository owner and the target schema owner:
GRANT RESOURCE TO MIGRATE_USER WITH ADMIN OPTION;
GRANT CONNECT TO MIGRATE_USER WITH ADMIN OPTION;
ALTER USER MIGRATE_USER DEFAULT ROLE ALL;
-- 25 System Privileges for MIGRATE_USER
GRANT CREATE ROLE TO MIGRATE_USER;
GRANT ALTER TABLESPACE TO MIGRATE_USER;
GRANT ALTER ANY SEQUENCE TO MIGRATE_USER;
GRANT INSERT ANY TABLE TO MIGRATE_USER;
GRANT SELECT ANY TABLE TO MIGRATE_USER;
GRANT CREATE ANY TABLE TO MIGRATE_USER;
GRANT UNLIMITED TABLESPACE TO MIGRATE_USER WITH ADMIN OPTION;
GRANT DROP TABLESPACE TO MIGRATE_USER;
GRANT CREATE ANY TRIGGER TO MIGRATE_USER;
GRANT ALTER ANY ROLE TO MIGRATE_USER;
GRANT CREATE VIEW TO MIGRATE_USER WITH ADMIN OPTION;
GRANT DROP USER TO MIGRATE_USER;
GRANT CREATE TABLESPACE TO MIGRATE_USER;
GRANT GRANT ANY ROLE TO MIGRATE_USER;
GRANT CREATE ANY SEQUENCE TO MIGRATE_USER;
GRANT ALTER ANY TABLE TO MIGRATE_USER;
GRANT DROP ANY TRIGGER TO MIGRATE_USER;
GRANT DROP ANY ROLE TO MIGRATE_USER;
GRANT DROP ANY SEQUENCE TO MIGRATE_USER;
GRANT UPDATE ANY TABLE TO MIGRATE_USER;
GRANT ALTER ANY TRIGGER TO MIGRATE_USER;
GRANT COMMENT ANY TABLE TO MIGRATE_USER;
GRANT DROP ANY TABLE TO MIGRATE_USER;
GRANT CREATE PUBLIC SYNONYM TO MIGRATE_USER WITH ADMIN OPTION;
GRANT CREATE USER TO MIGRATE_USER WITH ADMIN OPTION;
-- 1 Tablespace Quota for MIGRATE_USER
ALTER USER MIGRATE_USER QUOTA UNLIMITED ON USERS;
Operating system for both Access 2000 and Oracle 10g is Windows XP PRO SP2.
Oracle SQL Developer is version 1.1.2.25 build MAIN-25.79 on Windows XP PRO SP2. All three are on the same PC.
Since only the last step failed, I created a User DSN with the ODBC administrator. Then, linked the newly created Oracle table to Access via ODBC using the DSN created. Next, I created an append query with the source being the Access table and the target being the Oracle table. I moved the data by pressing the red exclamation mark. -
Error while installing oracle 10g developer suite on windows xp
I am getting following error when i am trying to install the oracle 10g developer suite windows xp with sp3
+*"---------------------------*+
Oracle Universal Installer+
---------------------------+
Error in writing to directory c:\TEMP\OraInstall2010-03-18_12-57-52PM. Please ensure that this directory is writable and has atleast 55 MB of disk space. Installation cannot continue."+
Even i have enough space of my C drive plus i m the administrator on my PC. I changed the temp location as well and download the zip files(installation) again but it doesn't work. Kindly provide some solution for this error.Error Code: 502 Proxy Error. The ISA Server denied the specified Uniform Resource Locator (URL). (12202) This means you already have ISA configured as proxy server. Disable the proxy from the browser and you should be able to access the application. Or simply add the application URL to the list of the proxy exceptions.
-
Tomcat 4.0 and Oracle 10g takes 100% CPU and grinds to a halt
Hi, I have a system to support that is currently running on Tomcat 4.0 on a Windows Server 2003 R2 SP2 machine with 3.06Ghz, 4Gb Memory, 2Gb Page file connecting to an Oracle 8.1.6 database on a Windows NT 4 virtual server with 3.2Ghz, 1152Mb Memory, 1536Mb Page file.
I have another Windows virtual server 2003 R2 SP2 machine with 2Gb of memory and a 4Gb page. This server has Tomcat 4.0 and an Oracle 10.2.0.3.0 database. I have made sure that the Oracle 10g classes12.jar file is used.
I am trying to run the application on the new server. In some tests I had users logging on one by one for the first 5 users - performance was great and the application ran faster than the current live system. When I then got another 10 - 15 people logging on the CPU stuck at 100% on the server, even exploring the server was almost impossible, and the application slowed down to unworkable.
We dont know if the problem lies with the very fact that we are trying to connect to a 10g database which is cost based and the application was written using rule based Oracle 8. Or is it the virtual server? Or is it the fact that we have both the application and the database on the same server.
I dont know if it is possible to have another Tomcat4.0 server running on our live server but connecting to the 10g database - what would happen with classes12.zip and classes12.jar? would there be a conflict?
I would really appreciate some help here. You should know though that I am not a hardened java programmer - I can dabble, but am an Oracle Forms, Reports, Discoverer, SQL person by trade. I am also a trainee DBA, so again am not an expert by any means.
Thanks in advance for your help
Lizzielizzie8 wrote:
Hi, I have a system to support that is currently running on Tomcat 4.0 on a Windows Server 2003 R2 SP2 machine with 3.06Ghz, 4Gb Memory, 2Gb Page file connecting to an Oracle 8.1.6 database on a Windows NT 4 virtual server with 3.2Ghz, 1152Mb Memory, 1536Mb Page file.Tomcat 4? We're up to Tomcat 6. The important difference is the JDK supported. What JDK are you using for Tomcat?
>
I have another Windows virtual server 2003 R2 SP2 machine with 2Gb of memory and a 4Gb page. This server has Tomcat 4.0 and an Oracle 10.2.0.3.0 database. I have made sure that the Oracle 10g classes12.jar file is used.classes12.jar is pretty old technology. The JAR should match your JDK and version of Oracle.
I am trying to run the application on the new server. In some tests I had users logging on one by one for the first 5 users - performance was great and the application ran faster than the current live system. When I then got another 10 - 15 people logging on the CPU stuck at 100% on the server, even exploring the server was almost impossible, and the application slowed down to unworkable.You don't say anything about the whether or not you're using a connection pool or what's happening to the open connections and cursors. If you find that those are drifting up over time, it's likely that the code isn't closing resources properly.
We dont know if the problem lies with the very fact that we are trying to connect to a 10g database which is cost based and the application was written using rule based Oracle 8. Or is it the virtual server? Or is it the fact that we have both the application and the database on the same server.Database and app server should be separated, IMO.
I dont know if it is possible to have another Tomcat4.0 server running on our live server but connecting to the 10g database - what would happen with classes12.zip and classes12.jar? would there be a conflict?
I would really appreciate some help here. You should know though that I am not a hardened java programmer - I can dabble, but am an Oracle Forms, Reports, Discoverer, SQL person by trade. I am also a trainee DBA, so again am not an expert by any means.You need more data. Get some tools to see where the time is being spent. Start monitoring your Oracle connections and cursors to see what's going on. Install some filters to get raw timings on your Java calls. Without data, you're guessing in the dark.
% -
SQL SERVER 2005 to Oracle 10g r 2
Hi all,
I'm getting an "error" when I'm trying to convert a sql server 2005 database to a oracle 10g database.
It seems to be right in te convert step:
Copying Model: 1
Transforming identifiers: 1
Transformation Result: 16
Transformed successfully: 1
but there is no converted model and no log registries.
the migrations user roles and privileges are:
GRANT CONNECT, RESOURCE, DBA,
ALTER ANY TRIGGER, CREATE ROLE, CREATE SESSION, CREATE USER, CREATE VIEW, CREATE PUBLIC SYNONYM
TO migrations WITH ADMIN OPTION;
GRANT ALTER ANY ROLE, ALTER ANY SEQUENCE, ALTER ANY TABLE, ALTER TABLESPACE,
COMMENT ANY TABLE, CREATE ANY SEQUENCE, CREATE ANY TABLE,
CREATE ANY TRIGGER, CREATE TABLESPACE, DROP ANY
SEQUENCE, DROP ANY TABLE, DROP ANY TRIGGER, DROP TABLESPACE, DROP USER, DROP ANY
ROLE, GRANT ANY ROLE, INSERT ANY TABLE, SELECT ANY TABLE, UPDATE ANY TABLE TO
migrations;
And I'm using Sql Developer Version 2.1.1.64 in a Win XP 64bits computer
Could you please help me with this problem...
Thanks,
ManuelManual,
Do you see the same problem if you try the migration in stages ?
Could you -
- click on the SQL*Server database to be migrated and choose 'Capture Microsoft SQL*Server'
- does that complete successfully ?
- if right click on the captured model and choose 'Show log messages' is anything displayed ?
- if the capture is okay, then right click and choose 'Convert to Oracle Model'
- does this create a converted model ? If you right click and choose 'Show log messages' is anything displayed ?
if you still have problems could you try deleting the migration repository then creating a new one ?
Regards,
Mike -
PROBLEM IN INSTALLING ORACLE 10G ON WINDOWS 2003 SERVER(WIN2K3)
Hi to all,
I have successfully removed Oracle 9i from win2k3.Am unable to install oracle 10g on the same system.............. problem : Universal installer window stucks at 14%, no error......no resource utilization by installer(as viewed from task manager).
Please help i ve read the oracle installation documentation as well............Ok gotcha !!!!!!!!!!!!! its a CRC error given by java
dats y it stucked :(
am hereby uploading the error:
java.util.zip.ZipException: invalid entry CRC (expected 0xc9e96252 but got 0x5651c9f5)
at java.util.zip.ZipInputStream.readEnd(Unknown Source)
at java.util.zip.ZipInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at oracle.sysman.oii.oiix.OiixFileOps.copyStream(OiixFileOps.java:1421)
at oracle.sysman.oii.oiij.OiijFastJarExtracter.copyFileFromJar(OiijFastJarExtracter.java:258)
at oracle.sysman.oii.oiij.OiijFastJarExtracter.copyJarContents(OiijFastJarExtracter.java:194)
at oracle.sysman.oii.oiij.OiijFastJarExtracter.extract(OiijFastJarExtracter.java:143)
at oracle.sysman.oii.oiij.OiijJarExtractQueue$OiijJarExtractWorker.run(OiijJarExtractQueue.java:341)
CAN SOMEONE SUGGEST ME WHAT TO DO NOW ???????????plz reply
ANKUR SHARMA -
Oracle 10g Express Edition presentation
Hi everybody,
I'm an Italian university student and I have to make a presentation about Oracle 10g Express Edition for an exam. The points of this presentation will be:
- Portability
- Compatibility with SQL92 standard
- Interfaces
- Installation and hardware resources
- Costs and license
- Security
- Performance
I'm very new in the Oracle world, can anyone help me or suggest sites where I can retrieve the information I need.
ThanksSi offende qualcuno o semplicemente capisce meno gente? Penso più la seconda, ma mi sembra più "educato" usare l'inglese, in modo che tutti capiscano.
Translation :
I think it would be more correct using English, so that everyone can understand.
Paolo -
How get scott user database schema in oracle 10g express edition
hi
plz any on can tell me how to get the scott user database table details into the oracle 10g express edition
Iam created the user as scott but but i didn't get the table details
...plz give me the details correctly.You will go into this path C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. You can get scott.sql script yhen you need to run the script like @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. Otherwise you just copy the below script and save it into one file then run that file using @
Rem Copyright (c) 1990 by Oracle Corporation
Rem NAME
REM UTLSAMPL.SQL
Rem FUNCTION
Rem NOTES
Rem MODIFIED
Rem gdudey 06/28/95 - Modified for desktop seed database
Rem glumpkin 10/21/92 - Renamed from SQLBLD.SQL
Rem blinden 07/27/92 - Added primary and foreign keys to EMP and DEPT
Rem rlim 04/29/91 - change char to varchar2
Rem mmoore 04/08/91 - use unlimited tablespace priv
Rem pritto 04/04/91 - change SYSDATE to 13-JUL-87
Rem Mendels 12/07/90 - bug 30123;add to_date calls so language independent
Rem
rem
rem $Header: utlsampl.sql 7020100.1 94/09/23 22:14:24 cli Generic<base> $ sqlbld.sql
rem
SET TERMOUT OFF
SET ECHO OFF
rem CONGDON Invoked in RDBMS at build time. 29-DEC-1988
rem OATES: Created: 16-Feb-83
GRANT CONNECT,RESOURCE,UNLIMITED TABLESPACE TO SCOTT IDENTIFIED BY TIGER;
ALTER USER SCOTT DEFAULT TABLESPACE USERS;
ALTER USER SCOTT TEMPORARY TABLESPACE TEMP;
CONNECT SCOTT/TIGER
DROP TABLE DEPT;
CREATE TABLE DEPT
(DEPTNO NUMBER(2) CONSTRAINT PK_DEPT PRIMARY KEY,
DNAME VARCHAR2(14) ,
LOC VARCHAR2(13) ) ;
DROP TABLE EMP;
CREATE TABLE EMP
(EMPNO NUMBER(4) CONSTRAINT PK_EMP PRIMARY KEY,
ENAME VARCHAR2(10),
JOB VARCHAR2(9),
MGR NUMBER(4),
HIREDATE DATE,
SAL NUMBER(7,2),
COMM NUMBER(7,2),
DEPTNO NUMBER(2) CONSTRAINT FK_DEPTNO REFERENCES DEPT);
INSERT INTO DEPT VALUES
(10,'ACCOUNTING','NEW YORK');
INSERT INTO DEPT VALUES (20,'RESEARCH','DALLAS');
INSERT INTO DEPT VALUES
(30,'SALES','CHICAGO');
INSERT INTO DEPT VALUES
(40,'OPERATIONS','BOSTON');
INSERT INTO EMP VALUES
(7369,'SMITH','CLERK',7902,to_date('17-12-1980','dd-mm-yyyy'),800,NULL,20);
INSERT INTO EMP VALUES
(7499,'ALLEN','SALESMAN',7698,to_date('20-2-1981','dd-mm-yyyy'),1600,300,30);
INSERT INTO EMP VALUES
(7521,'WARD','SALESMAN',7698,to_date('22-2-1981','dd-mm-yyyy'),1250,500,30);
INSERT INTO EMP VALUES
(7566,'JONES','MANAGER',7839,to_date('2-4-1981','dd-mm-yyyy'),2975,NULL,20);
INSERT INTO EMP VALUES
(7654,'MARTIN','SALESMAN',7698,to_date('28-9-1981','dd-mm-yyyy'),1250,1400,30);
INSERT INTO EMP VALUES
(7698,'BLAKE','MANAGER',7839,to_date('1-5-1981','dd-mm-yyyy'),2850,NULL,30);
INSERT INTO EMP VALUES
(7782,'CLARK','MANAGER',7839,to_date('9-6-1981','dd-mm-yyyy'),2450,NULL,10);
INSERT INTO EMP VALUES
(7788,'SCOTT','ANALYST',7566,to_date('13-JUL-87')-85,3000,NULL,20);
INSERT INTO EMP VALUES
(7839,'KING','PRESIDENT',NULL,to_date('17-11-1981','dd-mm-yyyy'),5000,NULL,10);
INSERT INTO EMP VALUES
(7844,'TURNER','SALESMAN',7698,to_date('8-9-1981','dd-mm-yyyy'),1500,0,30);
INSERT INTO EMP VALUES
(7876,'ADAMS','CLERK',7788,to_date('13-JUL-87')-51,1100,NULL,20);
INSERT INTO EMP VALUES
(7900,'JAMES','CLERK',7698,to_date('3-12-1981','dd-mm-yyyy'),950,NULL,30);
INSERT INTO EMP VALUES
(7902,'FORD','ANALYST',7566,to_date('3-12-1981','dd-mm-yyyy'),3000,NULL,20);
INSERT INTO EMP VALUES
(7934,'MILLER','CLERK',7782,to_date('23-1-1982','dd-mm-yyyy'),1300,NULL,10);
DROP TABLE BONUS;
CREATE TABLE BONUS
ENAME VARCHAR2(10) ,
JOB VARCHAR2(9) ,
SAL NUMBER,
COMM NUMBER
DROP TABLE SALGRADE;
CREATE TABLE SALGRADE
( GRADE NUMBER,
LOSAL NUMBER,
HISAL NUMBER );
INSERT INTO SALGRADE VALUES (1,700,1200);
INSERT INTO SALGRADE VALUES (2,1201,1400);
INSERT INTO SALGRADE VALUES (3,1401,2000);
INSERT INTO SALGRADE VALUES (4,2001,3000);
INSERT INTO SALGRADE VALUES (5,3001,9999);
COMMIT;
SET TERMOUT ON
SET ECHO ON -
How we create new data base in oracle 10g express edition
hello every body.. i student of B tech n new user of oracle so please help me how we creat new data base in oracle 10g express edition
Hello, Oracle XE can not create more than one instance, the other editions yes, but like other editions XE allows you to create database schemas, schemas logically grouped objects like tables, views, indexes created by a user. By creating an Oracle user is associated with a schema of the same name.
Using SYS or system accounts for creating user accounts.
Syntax to create a user:
create user Your_user
IDENTIFIED BY password
default tablespace users;
grant connect, resources to your_user;
Edited by: rober584812 on Jun 25, 2010 9:03 PM -
Deadlock issue in Oracle 10g Partitioned Tables
Hi ALL,
I am facing an issue of Deadlock while inserting data into a partitioned table.
I get an error "ORA-00600: Deadlock detected". when i see the trace files, following lines are appearing in them:
"Single resource deadlock: blocking enqueue which blocks itself".
Here is the detail of my test case:
1. I have a list-partitioned table, with partitioning defined on some business codes.
2. I have a query that merges data into partitioned table (actually compares unique keys between temporary table and partitioned table and then issue an insert if keys not matched, no update part).
3. The temporary table contains transactional data against many business codes.
3. when calling the above query from multiple (PL/SQL) sessions, i observe that when we merge data in same partition (from different sessions) than deadlock issue occurs, otherwise it is OK.
4. Note that all sessions are executed at same time. Also note that Commit is called after each session is completed. Each session contains 2-3 more queries after the mentioned merge statement.
Is there an issue with oracle merge/insert on same partition (from different sessions)? What is the locking mechanism for this particular case (partitioned tables)?
My oracle version is Oracle 10g (10.2.0.4). Kindly advice.
Thanks,
QQ.Could you print the deadlock tree so we can see the type and mode of the locking. (Please use the 'code' tags - see FAQ at top right of screen - to showthe output in fixed font). can you list any SQL operated by this session that gets reported in the trace file.
Does the table reference itself in a foreign key.
Is this table involved in any referential integrity constraints.
Do you have a global primary key index, or a local primary key index ?
Are there any triggers on the table - if so do they contain autonomous transactions.
At present the only though that springs to mind is that the merge command has to lock the target table to do the insert/update, but it also has to lock any child table. The mode of the child lock depends on whether it has a suitable index or not, and whether the child table IS also the parent table. If you have two merges to the same partition one partition may get its locks, and the other partition may be in a state where it can't get one of the locks because it's wait for the other. (This shouldn't be a self-deadlock, though, but the scenario might be heading in the right direction for a self-deadlock).
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge." (Stephen Hawking)
Maybe you are looking for
-
WPA2 Auth on WLC 5760 using ISE 1.2
Hello there, I am trying to configure WPA2 802.1x authentication on my WLC that should use ISE as radius server which is set to authenticate AD users. The issue is that when I try to connect the SSID, it does not forward the authentication request to
-
Bluetooth Bh-202 adaptor amd firmwire update probl...
I have nokia N73 phone. I make a update to this version and I have bad photos. In the past with other version 3.0.**** the photos was very very good. Can I make downgrade to a old version for good photos? I have a bluetooth handsfree BH-202 and with
-
Auto PO using Purchase requisition
What are the steps and procedure for creating auto Po I have tried the following at my end and failed 1) Material Master tick Auto Po 2) vendor master tick auto Po 3) source list 4) info record 5) ME59N,ME59 let me know what could be the possible pro
-
How Do i Call An xml publissher and a jsper report from ADF pages
Hi All How Do i Call An xml publissher and a jsper report from ADF pages
-
My iPhone 5c is all scratched on the back. How can i make it look brand new?
please can you tell me the cheapest way possible on getting a scratch free phone and to make it look new.