Help me please--CORBA: Using IOR with Aurora Visibroker in Oracle Database
My problem is about Oracle CORBA session oriented:
I would like to store an IOR in an Oracle Database in order to use it
when I need the object associated but,
If I have the IOR of an object instantiated from a class placed in the
Name Service Context of an Oracle Database, this IOR is valid out of
its session if the session has finished (if this is not the case, can I have
an infinity session)? In order to use this object
must I always authenticate by user and password before or can I use
the object directly after call stringtoIOR?
I am using CORBA implementation (Aurora) of Oracle 8i.
Thank you very much and excuse my English.
Even If create table manually in the Oracle Database using varchar2 but still when i copy the data query mysql database it shows spaces in the value column.
Similar Messages
-
CORBA: Using IOR with Aurora Visibroker in Oracle Database
My problem is about Oracle CORBA session oriented:
I would like to store an IOR in an Oracle Database in order to use it
when I need the object associated but,
If I have the IOR of an object instantiated from a class placed in the
Name Service Context of an Oracle Database, this IOR is valid out of
its session if the session has finished (if this is not the case, can I have
an infinity session)? In order to use this object
must I always authenticate by user and password before or can I use
the object directly after call stringtoIOR?
I am using CORBA implementation (Aurora) of Oracle 8i.
Thank you very much and excuse my English.
nullEven If create table manually in the Oracle Database using varchar2 but still when i copy the data query mysql database it shows spaces in the value column.
-
CORBA: Using IOR with Aurora Visibroker
The problem is about Oracle CORBA session oriented:
I would like to store an IOR in an Oracle Database in order to use it
when I need the object associated but,
If I have the IOR of an object instantiated from a class placed in the
Name Service Context of an Oracle Database, this IOR is valid out of
its session if the session has finished (if this is not the case, can I have
an infinity session)? In order to use this object
must I always authenticate by user and password before or can I use
the object directly after call stringtoIOR?
I am using CORBA implementation (Aurora) of Oracle 8i.
Thank you very much and excuse my English.No one responded to this post but I came across the solution that I will share in case anyone else needs this in the future. Although I think it's a bug in the VisiBroker code that shouldn't allow this, the problem seemed to be with OSAgent. Upon the recommendation from someone else, I started OSAgent before running JWS and everything worked appropriately. Not familiar enough with VisiBroker to know why this settled the memory leak and infinite loop issue, but it did.
-
after the last udpate I can no longer access gmail or youtube. the error message from gmail is: We're sorry. It seems there is a problem. Please try using Gmail with a supported browser. If you're encountering this error while using a supported browser, we suggest alerting your Internet Service Provider (ISP) that a proxy is failing to accept cookies on HTTP redirects.
youtube just lists some generic issue regarding cookies, and my cookie settings are wide open. I can open both with safari so it is a firefox issue.Did you install any new add-ons lately? I see listed:
AddThis 3.5.9 ({3e0e7d2a-070f-4a47-b019-91fe5385ba79})<br />
Advertising Cookie Opt-out 1.5 ([email protected])<br />
Flash Video Downloader 5.3.2 ([email protected])<br />
Garmin Communicator 4.1.0 ({195A3098-0BD5-4e90-AE22-BA1C540AFD1E})<br />
socialvest 0.5.5 ([email protected])<br />
Troubleshooter 1.1a ([email protected])<br />
eMusic Community Toolbar 3.21.0.1 ({9ee802e8-c931-47ab-b570-aa8f791598ca}) (Inactive)
Are any of these new? -
Javascript error on - Help - Learn how to use Numbers with this online...
I am trying to find out more about Numbers. I am using iTunes 9.1.1 on a Vista PC. I get a Javascript error in Internet Explorer 8 when I try to access:
Help - Learn how to use Numbers with this online resource.
http://help.apple.com/numbers/1.0
The link redirects to the following page:
http://help.apple.com/iwork/safari/interface/#tan727163ed
The above page is blank except for boxes for Keynote Help, Pages Help, Numbers help, and a blank input field that seems to do nothing. Here is the Javascript error message from Internet Explorer 8:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Tue, 1 Jun 2010 20:55:54 UTC
Message: This command is not supported.
Line: 1
Char: 41589
Code: 0
URI: http://help.apple.com/iwork/safari/interface/javascript.jsLink also does not work for me in WIN 7 with IE8. However, it does work in Chrome in WIN 7. It also works in Safari on my G4. Suggest you try Chrome or it may work in another browser like FireFox or Safari in Vista.
-
(HELP PLEASE) ISL connection fails with a visibroker server
Hi all,
I developed a tuxedo-corba client to use a non-tuxedo orb, my test in Tuxedo were fine, because I was using a Tuxedo-Corba Server with a DUMMY corba method.
I'm using Name Service and ISL who connected to a //localmachine:xxyy
But, when I'm trying to connect to a external Corba Server, (//111.222.333.44:14000) non-tuxedo, it fails.
Maybe I need something more, can you help me please...
Thanks a head for your help.You need to explain a little more what you are doing and what configuration you are using TOBJADDR does not work with foreign ORBS, you have to use standard CORBA urls, e.g. corbaloc:iiop:host:port/NameService
-
Help using C# application to connect to oracle database
I'm new to database.
I'm developing a C# GUI application in visual studio 2008 that is suppose to interact with oracle. After researching and trying out several sample codes, nothing works and I'm in desperate need of some help/advice/suggestions.
The simplest example I'm trying is to just get a button to run a simple SQL query. The code is:
private void button1_Click(object sender, EventArgs e)
string oradb = "Data Source=acme.gatech.edu;User Id=gtg880f;Password=******;";
OracleConnection conn = new OracleConnection(oradb); // C#
conn.Open();
OracleCommand cmd = new OracleCommand();
cmd.Connection = conn;
cmd.CommandText = "select Location_Name from warehouse where Location_name = 'atlanta'";
cmd.CommandType = CommandType.Text;
OracleDataReader dr = cmd.ExecuteReader();
dr.Read();
label1.Text = dr.GetString(0);
conn.Dispose();
I've installed many many version of oracle database and have included the Oracle.Data.Access under reference.
If I use putty and connect to acme.gatech.edu via port 22, I can type sqlplus / and run the query "elect Location_Name from warehouse where Location_name = 'atlanta'" and it'll work.
After some research, some say that if I can connect via sqlplus that means i can connect to the database but what do i need to implement to enable my c# code in visual studio to be able to do that.
I did a search on the forum but found nothing that matches this. In essence, I'm not sure what/how to specify such that I can connect to the acme.gatech.edu server and run sql commands.
Thanks,
Oky SabeniThere're two ways you can get data in and out of database using .NET
#1 System.Data.OracleClient namespace - it's .NET avail out of the box
#2 Oracle.DataAccess.Client - aka "ODP.NET"
Download: http://www.oracle.com/technology/software/tech/windows/odpnet/index.html
Or download Beta because as of today it's the only version which supports .NET "TransactionScope" (I just tested seems like still it is NOT working Re: 10g Express + ODP.NET (version 2.111.6.20) > support TransactionScope? http://www.oracle.com/technology/software/tech/windows/odpnet/index1110710beta.html
QuickStart: http://www.installationwiki.org/ODP.NET_Getting_Started_Guide
Also there's a doc under Start menu>Programs>Oracle - OraOdac11g_BETA_home>Application Development>"Oracle Data Provider for .NET Developer's Guide"
It's worth reading just scroll down quick for code fragment.
Anyway here's two small examples:
Example 1: System.Data.OracleClient (Using library from M$)
* First you'll need to add reference to "System.Data.OracleClient".
IDbFactory oDbFactory = DbProviderFactories.GetFactory("System.Data.OracleClient");
IDbConnection oConn = oDbFactory.CreateConnection();
oConn.ConnectionString = "Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort))(CONNECT_DATA=(SERVICE_NAME=MyOracleSID)));User Id=myUsername;Password=myPassword;";
// Or ...
oConn = new System.Data.OracleClient.OracleConnection("Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort))(CONNECT_DATA=(SERVICE_NAME=MyOracleSID)));User Id=myUsername;Password=myPassword;");
Example 2: ODP.NET from Oracle
IDbFactory oDbFactory = DbProviderFactories.GetFactory("Oracle.DataAccess.Client");
IDbConnection oConn = oDbFactory.CreateConnection();
oConn.ConnectionString = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=MyOracleSID)));User Id=myUsername;Password=myPassword;";
// Or ...
oConn = new Oracle.DataAccess.Client.OracleConnection("Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=MyOracleSID)));User Id=myUsername;Password=myPassword;");
string strSQL = "... SQL statement...";
int nPersonId = 0;
string strFirstName = null;
Person oPerson = null;
string strSQL = "SELECT Id FROM PERSON";
oCmd = oConn.CreateCommand();
oCmd.CommandText = strSQL;
oCmd.CommandType = System.Data.CommandType.Text;
IDataReader oRdr = oCmd.ExecuteReader();
while (oRdr.Read())
if (!Convert.IsDBNull(oRdr["Id"]))
nPersonId = (int) oRdr["Id"];
if (!Convert.IsDBNull(oRdr["FirstName"]))
strFirstName = (string)oRdr["FirstName"];
oPerson.Id = nPersonId;
oPerson.FirstName = strFirstName;
Example CREATE TABLE:
DECLARE
count_item int;
BEGIN
SELECT count(1) into count_item FROM user_sequences WHERE sequence_name = 'AUDITLOGSEQUENCE';
IF count_item > 0 THEN
begin
dbms_output.put_line('drop sequence AUDITLOGSEQUENCE');
EXECUTE IMMEDIATE ('DROP SEQUENCE AUDITLOGSEQUENCE');
end;
ELSE
dbms_output.put_line('no need to drop AUDITLOGSEQUENCE');
END IF;
EXECUTE IMMEDIATE 'CREATE SEQUENCE AUDITLOGSEQUENCE
MINVALUE 1
MAXVALUE 999999999999999999999999999
START WITH 1
INCREMENT BY 1
CACHE 20';
dbms_output.put_line('AUDITLOGSEQUENCE created');
SELECT count(1) into count_item FROM user_tables WHERE table_name = 'LOG';
IF count_item > 0 THEN
begin
dbms_output.put_line('drop table LOG');
EXECUTE IMMEDIATE ('DROP TABLE LOG');
end;
ELSE
dbms_output.put_line('no need to drop table LOG');
END IF;
EXECUTE IMMEDIATE '
CREATE TABLE LOG (
Id numeric(19,0) NOT NULL,
CreateDate timestamp default sysdate NOT NULL,
Thread varchar (510) NULL,
LogLevel varchar (100) NULL,
Logger varchar (510) NULL,
Message varchar (4000) NULL,
InnerException varchar (4000) NULL,
CONSTRAINT PK_LOG PRIMARY KEY (Id)
COMMIT;
dbms_output.put_line('table LOG created');
dbms_output.put_line('setup complete');
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('*** setup exception detected! ***');
dbms_output.put_line('error code: ' || sqlcode);
dbms_output.put_line('stack trace: ' || dbms_utility.format_error_backtrace);
RAISE_APPLICATION_ERROR(-20000, 'AuditTrail.oracle.tables.sql - install failed');
END;
Before running script, make sure your account has permission (unless you're using SYS account of course). You'd probably need to know how to create user and granther right:
CREATE USER dev IDENTIFIED BY "devacc_@";
GRANT CREATE SESSION TO DEV;
GRANT DBA TO DEV;
Here's how you can run PL\SQL scripts in Oracle
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Apr 6 14:10:05 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect devvvy/"somepwd"
Connected.
SQL> set serveroutput on
SQL> @C:\dev\UnitTest\Util\Command\sql\Oracle\SetupSchema\xxxxx.oracle.tables.sql
1125 /
SQL> @C:\dev\Util\Command\sql\Oracle\SetupSchema\xxxxx.oracle.tables.data.only.sql
560 /
PL/SQL procedure successfully completed.
SQL> @C:\dev\Util\Command\sql\Oracle\SetupSchema\AuditTrail.oracle.tables.sql
54 /
PL/SQL procedure successfully completed.
SQL> COMMIT;
Remeber however:
(a) SQL*Plus does not like "&" in your SQL script. Do comment or string containing "&" should be taken out.
(b) password should not contain "@" because it's a special character in "CONNECT" command.
Alternative, download TOAD for Oracle - http://www.toadsoft.com/toad_oracle.htm
(c) After command, type "/" next line to get command executed.
(d) remember to COMMIT
REF for Oracle:
Oracle Official doc: http://www.oracle.com/pls/db111/portal.portal_db?selected=1&frame=
Oracle 11g configuration Guide: http://www.thegeekstuff.com/2008/10/oracle-11g-step-by-step-installation-guide-with-screenshots/
ODAC/ODP.NET QuickStart: http://www.installationwiki.org/ODP.NET_Getting_Started_Guide
ODP.NET versioning scheme: http://download.oracle.com/docs/html/E10927_01/InstallVersioningScheme.htm
SQLPlus basic: http://download.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25108/xedev_sqlplus.htm#CJAGGHGE
PL\SQL:
Cheat sheet: http://en.wikibooks.org/wiki/Oracle_Programming/SQL_Cheatsheet
Reference:
http://www.rocket99.com/techref/oracle_plsql.html
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/toc.htm
EXECUTE IMMEDIATE, DROP/CREATE TABLE: http://www.java2s.com/Code/Oracle/PL-SQL/Callexecuteimmediatetodroptablecreatetableandinsertdata.htm
Exception handling: http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/07_errs.htm
Named Block syntax: http://www.java2s.com/Tutorial/Oracle/0440__PL-SQL-Statements/Thestructureofanamedblock.htm
CREATE PROCEDURE: http://it.toolbox.com/blogs/oracle-guide/learn-plsql-procedures-and-functions-13030
Oracle DataType: http://www.ss64.com/orasyntax/datatypes.html
http://www.adp-gmbh.ch/ora/misc/datatypes/index.html
Oracle Sequence and Create table: http://www.java2s.com/Tutorial/Oracle/0100__Sequences/Usingasequencetopopulateatablescolumn.htm -
Help needed: clarifying the use of beans to pass data from database to JSP
Hi everyone,
I am sure you all get fed up with being asked this question as I can see it is asked a lot when googled, but the answers given have not cleared things up for me.
Anyway, I have a JSP page that contains a text box, submit button and a select box of size 10. The user enters a search string and the form submits the data and reloads the same page. From the code you can see the Name property of the bean is set.
<jsp:useBean id="vtm" class="FinalYearProject.Types.VtmType" scope="page" />
<jsp:setProperty name="vtm" property="NM" value="${param.NM}" />I then need to be able to use that name to query a postgresql database. I have a JDBCConnector class with the method:
public ResultSet searchTable(String NM ) throws SQLException {
String[] names = NM.split(" ");
NM = "";
for(int i = 0; i < names.length; i++) {
NM = names[i] + "%";
return stat.executeQuery("SELECT * FROM vtm WHERE nm ILIKE '" + NM + "';");
}This method however can be changed.
My question really is what is the best way for me to take the name, get the resultset and pass back the VtmType objects to the jsp so that I can populate my select box, and where should each part be handled i.e. the JSP page, the VtmType, the JDBCConnector.
I may be going about it completely the wrong way and using beans incorrectly, but I just cant seem to get my head around the problem.
Any help would be much appreciated,
Thanks.Hi,
Thanks for the help, I actually found some literature about the JSP Model 2 and realised that was what I needed to do. I have now re-written everything and it has made my life a lot eaiser, typically this was before I checked back on this post though!
Anyway, I now have JSP pages requesting Servlets which create beans and call classes that access the database. The servlet then forwards the beans and where necessary a small of html to another JSP. Like you have suggested.
One problem I have now however, is that the user needs to be logged in to access some of the pages. An error page with the correct message is displayed to the user when it is processed via the servlet.
//Servlet detects an error
request.setAttribute("errorMsg", "1");
gotoPage("/loginError.jsp", request, response);
//JSP detects which errorMsg to display
<c:set var="errorMsg" value="${requestScope.errorMsg}" />However, when the user does not sign in and clicks a link which is blocked the JSP forwards directly to the error JSP.
//Tests to see if user is logged in
<c:if test="${empty user.username}">
<jsp:forward page="/loginError.jsp">
<jsp:param name="errorMsg" value="3" />
</jsp:forward>
</c:if>The problem with this is that the only way I can see of checking the errorMsg type is with:
//JSP checks which errorMsg to display
<c:set var="errorMsg" value="${param.errorMsg}" />Which is different to how I determine the errorMsg from the Servlet. Is there a way of getting the errorMsg type that is the same for both actions?
Thanks. -
Issues with loadjava utility on oracle database 10.2.0.4.0
Hi all
Hoping if this is a known issue, am approaching you here .. We have an oracle database in 10.2.0.4.0 version. This database functionality of Websphere Process Server, a product from IBM. In the course we are expected to load a JAR file for a one schema and it fails for some reason with ORA - 07445 errors. I happen to set out SGA_MAX_SIZE and SGA_TARGET at 1024 MB and JAVA_POOL_SIZE at 768MB to allow this loadjava command to run successfully. I also happen to set the LD_LIBRARY_PATH as $ORACLE_HOME/lib on this solaris 10 machine. Below is the command and the error message we are receiving. Please do advice us if this is a known issue or guide us to any information which might help us resolve this issue while we continue searching for a solution.. Many thanks in advance.
Regards!
Sarat
loadjava -user BPCDB/[email protected]:1521:WPSDB -resolve /opt/IBMProc/WebSphere/ProcServer/lib/bpcodbutil.jar -thin -schema BPCDB
Error while testing for existence of dbms_java.handleMd5
No more data to read from socket
Error while testing for existence of "BPCDB".JAVA$CLASS$MD5$TABLE
OALL8 is in an inconsistent state
Error while testing for existence of "BPCDB".JAVA$CLASS$MD5$TABLE
OALL8 is in an inconsistent state
Error while creating "BPCDB".JAVA$CLASS$MD5$TABLE
No more data to read from socket
Error while getting old MD5 of META-INF/MANIFEST.MF
Io exception: Broken pipe
Error while testing for existence of "BPCDB".CREATE$JAVA$LOB$TABLE
Closed Connection
Error while testing for existence of "BPCDB".CREATE$JAVA$LOB$TABLE
Closed Connection
Error while creating "BPCDB".CREATE$JAVA$LOB$TABLE
Closed Connection
Error while getLoadLOB BPCDB
Closed Connection
Error while deleting MD5 of META-INF/MANIFEST.MF
Closed Connection
Error while getting old MD5 of com/ibm/bpe/observer/dbutil/TimestampUtil
Closed Connection
Error while processing com/ibm/bpe/observer/dbutil/TimestampUtil
Exception java.lang.NullPointerException
Error while deleting MD5 of META-INF/MANIFEST.MF
Closed Connection
Error while getShortFromLongnameStmt
Closed Connection
Error while processing class BPCDB.com/ibm/bpe/observer/dbutil/TimestampUtil
Exception java.lang.NullPointerException
Error while getShortFromLongnameStmt
Closed Connection
Exception in thread "main" java.lang.NullPointerException
at oracle.aurora.server.tools.loadjava.ClientSchemaObject.getShortname(C
lientSchemaObject.java:65)
at oracle.aurora.server.tools.loadjava.ClientSchemaObject.status(ClientS
chemaObject.java:91)
at oracle.aurora.server.tools.loadjava.SchemaObject.failure(SchemaObject
.java:799)
at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:85
1)
at oracle.aurora.server.tools.loadjava.LoadJava.command(LoadJava.java:25
1)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.jav
a:103)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.ja
va:28)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ORA-07445 is an untrapped exception, an error, in Oracle's own code.
Open an SR at metalink and update an RDA along with your description of what happened. -
How to protect password with pdf file in oracle database
hiiii,,,,i have a form in 6i where i am sending pdf file(by running report) to the other clients in the network,,now my requirement is that i want to protect a password with this pdf file whenevr i run new report ,,wat should i do..
plz help
lovely sethi[email protected] wrote:
hiiii,,,,i have a form in 6i where i am sending pdf file(by running report) to the
other clients in the network,,now my requirement is that i want to protect a
password with this pdf file whenevr i run new report ,,wat should i do..Why not just rely on OS security withing the server? If you email it to a
particular individual, then it's protected as far as you trust that individual
anyway!
Those who are in the dba group on the server can get at the data
in any case.
I just don't see the point in trying to do what you're asking - unless
I've missed something?
BTW, you haven't mentioned OS or db version (see .sig).
Paul...
lovely sethi--
When asking database related questions, please give other posters
some clues, like OS (with version), version of Oracle being used and DDL.
Other trivia such as CPU, RAM + Disk configuration might also be useful.
The exact text and/or number of error messages is useful (!= "it didn't work!"). Thanks.
Furthermore, as a courtesy to those who spend time analysing and attempting to help,
please do not top post and do try to trim your replies! -
Using JDBC Adapter posting data from Oracle database to Falt file????
Hi All,
By using JDBC adapter, for now I have to connect to Oracle Database and then get the employee information from the Employee Table and post it to the flat file, can you please help me out the complete procedure...
Thanks in advance
AndyHi Andy,
have a look at the help for configuring a JDBC Sender adapter: http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
It mentions all the settings you'll need to make e.g. the connection URL as posted above.
And it also lists how an XML file looks like that contains the query results according to the SQL Select statement in the adapter.
<resultset>
<row>
<column-name1>column-value</ column-name1>
<column-name2>column-value</ column-name2>
<column-name3>column-value</ column-name3>
</row>
<row>
<column-name1>column-value</ column-name1>
<column-name2>column-value</ column-name2>
<column-name3>column-value</ column-name3>
</row>
</resultset>
So you have to create a datatype, message type and message interface to match this structure (of course you'll need to substitute column-name1 etc. with the column names in your select statement).
Now if you want to create a flat file from that, you have to create an XML representation of that flat file and use the content conversion in the receiver file adapter as defined here: http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards
Christine -
A Problem with accessing to a Oracle Database
When i try to obtain data from the a database in an Oracle Server, i cannot obtain the data fromthe server, I made the same using the example with LoanBean using the derby client, but I cannot do the same with Oracle.
The result of this is:
java.lang.NullPointerException
and the code:
if (rightName.equals(user.getText() && (rightPass.equals(pass.getText()))
Please, help me.Hi Ivan,
Are you sure that is't Oracle problem? How code you specified is related to Oracle?
Find out which of variables is null. It cab be easily done with operators like
info("rightName="+rightName);
before operator you specify.
Another way is to use debugger.
Thanks, Misha
(Creator team) -
Problem with Character Set in Oracle database 10g
Hi,
I tried to import one tablespace into test server. Source server with Oracle 8i and Target server with Oracle database 10g. The error I get is
Import: Release 10.2.0.1.0 - Production on Thu Aug 3 00:20:49 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Username: sys as sysdba
Password:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V08.01.07 via conventional path
About to import transportable tablespace(s) metadata...
import done in WE8DEC character set and AL16UTF16 NCHAR character set
export server uses WE8DEC NCHAR character set (possible ncharset conversion)
. importing SYS's objects into SYS
. importing SYS's objects into SYS
IMP-00017: following statement failed with ORACLE error 19736:
"BEGIN sys.dbms_plugts.beginImport ('8.1.7.4.0',2,'2',NULL,'NULL',67051,25"
"51,2); END;"
IMP-00003: ORACLE error 19736 encountered
ORA-19736: can not plug a tablespace into a database using a different national character set
ORA-06512: at "SYS.DBMS_PLUGTS", line 2386
ORA-06512: at "SYS.DBMS_PLUGTS", line 1946
ORA-06512: at line 1
IMP-00000: Import terminated unsuccessfully
PLZ somebody help in geting resolve this. Has anybody seen this error before.The solution to this problem is described in MetaLink note #211920.1. But this note is published with LIMITED access as it involves using a hidden parameter.
You can get access to the note through Oracle Support only.
The problem itself is solved generically, if the source database is at least 10.1.0.3 and the target database is 10.2
-- Sergiusz -
BPM Studio-Issue with Creating External Resources - Oracle Database RAC
Hi All,
This must be an easy fix and hope you guys have an answer to it. I was having no issues connecting to a single instance database as the parameter Host = "xxx.111.200.10" for a SQL Database Oracle 10,11 driver is pointing to a single instance and the SID = "yyyyy". TNS Name entry is as below...
xyz =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.111.200.10)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = yyyyy)
However we have upgrade our oracle database and it is in a RAC with load balancing hence the TNS Name entry looks like this.
xyz =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = abcdh-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = abcdi-vip)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = yyyy.abcd.com)
Any combination using "xyz", "abcdh-vip" , "abcdi-vip" etc is erroring and I am getting the following error:
[BEA][Oracle JDBC Driver]Error establishing socket. Unknown host: abcdh-vip
java.sql.SQLException: [BEA][Oracle JDBC Driver]Error establishing socket. Unknown host: abcdh-vip
at albpm.jdbc.base.BaseExceptions.createException(Unknown Source)
at albpm.jdbc.base.BaseExceptions.getException(Unknown Source)
at albpm.jdbc.oracle.OracleImplConnection.makeConnectionHelper(Unknown Source)
at albpm.jdbc.oracle.OracleImplConnection.makeConnection(Unknown Source)
at albpm.jdbc.oracle.OracleImplConnection.connectAndAuthenticate(Unknown Source)
at albpm.jdbc.oracle.OracleImplConnection.open(Unknown Source)
at albpm.jdbc.base.BaseConnection.connect(Unknown Source)
at albpm.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)
at albpm.jdbc.base.BaseConnection.open(Unknown Source)
at albpm.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.connector.impl.DriverManagerHack.getConnection(DriverManagerHack.java:49)
at fuego.connector.impl.BaseJDBCConnector.createJDBConnection(BaseJDBCConnector.java:205)
at fuego.jdbc.FaultTolerantConnection.createConnection(FaultTolerantConnection.java:917)
at fuego.jdbc.FaultTolerantConnection.getConnection(FaultTolerantConnection.java:871)
at fuego.jdbc.FaultTolerantConnection.getMetaData(FaultTolerantConnection.java:163)
at fuego.sqlintrospector.BrowserPanel.populateTree(BrowserPanel.java:220)
at fuego.ui.wizards.ui.CheckTreeBrowser$1.construct(CheckTreeBrowser.java:63)
at fuego.ui.SwingWorker$2.run(SwingWorker.java:39)
at java.lang.Thread.run(Unknown Source)
Any help would be highly appreciated.
Regards,Hi,
Sure you've probably tried this but here goes...
Use the Oracle Driver that comes with Oracle BPM to integrate with RAC.
To integrate to Oracle RAC, you're typically given something like this by the DBA.
jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = atwood-vip.int.westgroup.com)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = kenwood-vip.int.westgroup.com)(PORT = 1521)) ) (CONNECT_DATA = (Service_name = bpms_pot_dev.int.westgroup.com) (SERVER = DEDICATED) ) )
When defining the External Resource for Oracle RAC check the “Advanced” checkbox (not the tab) and insert this text into the “Database” field:
//atwood-vip.int.westgroup.com:1521;ServiceName=bpms_pot_dev.int.westgroup.com;LoadBalancing=true;AlternateServers=(kenwood-vip.int.westgroup.com:1521)
Hope this helps,
Dan -
Inserting Current Date with time stamp in oracle database
Hi Experts,
I want to insert the current Date and time stamp in a field in the Oracle Database Table.
I am able to insert date but i am not able to insert the date with time stamp. Any Suggestions??
Thanks
NaveenNaveen,
Do you want to get current date (from sysdate) with a specific format or transform a value containing a date/time value to insert it in ORACLE ?
Usually, you insert current datetimestamp in a date field using this :
TO_DATE(sysdate,'dd/mm/yyyy hh:mi:ss')
you may have to tweak the format pattern ('dd/mm....') according to your needs
if you want to transform a date, use something like this:
TO_DATE(your_date,your_format)
but make sure your format is compliant with your date, ie
TO_DATE('31/12/2008','MM/DD/YYYY') could raise error (litteral does not match) cuz ORACLE can't recognize 31 as a month pattern
Chris
Maybe you are looking for
-
Where is my airplay icon?
I've lost my airplay icon in itunes. I have a mac, ipad and iphone and they are all connected to the same router so is my apple tv. All software is up to date and airplay is activated. I have no icon on any of my devices when I use itunes. I can go i
-
Importing a Photoshop CS3 VideoFile directly into Premiere
Hello, I'm trying to work with the new photoshop feature that you can directly edit your film in photoshop. After i edited a video in photoshop I tried importing it again in Premiere, but the program didn't accepted it. In the help file however photo
-
Using a external HD with Airport Extreme
I just purchased the Airport Extreme and am using an external HD with it, mostly for my iTunes collection so I can access it even when I am wireless. I am wondering if the HD needs to be spinning all the the time though, even when I am not using the
-
Most of my icons have turned white after I upgraded the operating system
All of the links on my ipad have turned white after I upgraded to 8.1.2. Is there a way of fixing this?
-
how do i get a apps off my ipad.