Two problems in BSBM benchmark of Oracle 10g with Jena Adaptor 2.0

Hi, all.
I'm proceeding BSBM benchmark for Oracle 10g with Jena Adaptor 2.0.
I'm using the codes that were introduced in Jena Adaptor 2.0 guide document, and I've applied Jena patches to Oracle 10g (10.2.0).
But, two problems are occured in benchmark process.
The first problem is
     that 250k dataset(consisted of 250030 triples) loading time elapses over several hours, (See below code snippet.)
and the other is
     that exceptions are occured in some sparql query execution.
I used below queries which have no error in query syntax.
I confirmed that through other benchmark tests.
In case of oracle benchmark test, quey1 is ok. but, query2 makes exception.
Please, look about the Exception message below.
What should I do for getting much better benchmark result?
I appreciate any help or any hint.
Best regards ~
### Query 1 ###
PREFIX bsbm-inst: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/>
PREFIX bsbm: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?product ?label
WHERE {
?product rdfs:label ?label .
?product a <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/ProductType18> .
?product bsbm:productFeature <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/ProductFeature833> .
?product bsbm:productFeature <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/ProductFeature61> .
?product bsbm:productPropertyNumeric1 ?value1 .
     FILTER (?value1 > 136)
ORDER BY ?label
LIMIT 10
### Query 2 ###
PREFIX bsbm-inst: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/>
PREFIX bsbm: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
SELECT ?label ?comment ?producer ?productFeature ?propertyTextual1 ?propertyTextual2 ?
propertyTextual3
?propertyNumeric1 ?propertyNumeric2 ?propertyTextual4 ?propertyTextual5 ?propertyNumeric4
WHERE {
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
rdfs:label ?label .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
rdfs:comment ?comment .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:producer ?p .
?p rdfs:label ?producer .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
dc:publisher ?p .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productFeature ?f .
?f rdfs:label ?productFeature .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyTextual1 ?propertyTextual1 .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyTextual2 ?propertyTextual2 .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyTextual3 ?propertyTextual3 .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyNumeric1 ?propertyNumeric1 .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyNumeric2 ?propertyNumeric2 .
OPTIONAL { <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyTextual4 ?
propertyTextual4 }
OPTIONAL { <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyTextual5 ?
propertyTextual5 }
OPTIONAL { <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyNumeric4 ?
propertyNumeric4 }
### Exception Message (in query 2 execution) ###
Exception in thread "main" java.sql.SQLException: ORA-00936: missing expression
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe
(T4CPreparedStatement.java:799)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1038)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe
(T4CPreparedStatement.java:839)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1133)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal
(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery
(OraclePreparedStatement.java:3329)
at oracle.spatial.rdf.client.jena.Oracle.executeQuery(Oracle.java:255)
at oracle.spatial.rdf.client.jena.OracleSemQueryPlan.executeBindings
(OracleSemQueryPlan.java:302)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriplesQH$StagePattern.<init>
(QueryIterBlockTriplesQH.java:89)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriplesQH.nextStage
(QueryIterBlockTriplesQH.java:55)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
(QueryIterRepeatApply.java:92)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
(QueryIterRepeatApply.java:54)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
(QueryIterRepeatApply.java:85)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
(QueryIterRepeatApply.java:54)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
(QueryIterRepeatApply.java:85)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
(QueryIterRepeatApply.java:54)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
(QueryIterRepeatApply.java:85)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
(QueryIterRepeatApply.java:54)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterConvert.hasNextBinding
(QueryIterConvert.java:47)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding
(QueryIteratorWrapper.java:29)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:62)
at benchmark.repository.oracle.OracleQuerying.getSelectQueryResult
(OracleQuerying.java:148)
at benchmark.repository.oracle.OracleQuerying.doSparqlQuery(OracleQuerying.java:101)
at benchmark.repository.oracle.OracleQuerying.queryingData(OracleQuerying.java:90)
at benchmark.repository.oracle.OracleQuerying.querying(OracleQuerying.java:49)
at benchmark.repository.oracle.OracleQuerying.<init>(OracleQuerying.java:44)
at benchmark.Benchmark.runTest(Benchmark.java:113)
at benchmark.Benchmark.main(Benchmark.java:56)
### Loading Code Snippet ###
          String jdbcURL = "jdbc:oracle:thin:@" + Constants.HOST + ":1521:orcl";
          OracleDataSource ds = new OracleDataSource();
          ds.setURL(jdbcURL);
          ds.setUser(Constants.ORACLE_USER);
          ds.setPassword(Constants.ORACLE_PASSWORD);
          OracleConnection conn = (OracleConnection) ds.getConnection();
          oracle = new Oracle(conn);
          modelOracleSem = ModelOracleSem.createOracleSemModel(oracle, modelName);
          graphOracleSem = modelOracleSem.getGraph();
          graphOracleSem.createTables();
          graphOracleSem.clearRepository();
          for (int i = 0; i < fileList.length; i++) {
               file = fileList;
               if (file.isDirectory())
continue;
               inputFilePath = file.getAbsolutePath();
               InputStream in = null;
               try {
                    in = FileManager.get().open(inputFilePath);
                    if (in == null) {
                         throw new IllegalArgumentException("File: " + inputFilePath + " not found");
                    modelOracleSem.read(in, "", "N-TRIPLE");
                    modelOracleSem.commit();
               } finally {
                    if (in != null)
                         in.close();

Hi,
The data loading was slow because incremental loading API was used. Please take a look at OracleBulkUpdateHandler. There is an addInBatch API that you can use.
Now regarding queries, Jena Adaptor v2.0 was primarily designed for Oracle Database 11g Release 1.
Recently, a new version of Jena Adaptor has been released and it's optimized for Oracle Database 11g
Release 2.
Is it possible to run your BSBM benchmark tests against Oracle Database 11g Release 2 using the latest
Jena Adaptor (http://forums.oracle.com/forums/ann.jspa?annID=1179) ?
Thanks,
Zhe Wu

Similar Messages

  • How to install Oracle 10g with its grid functionality on Linux?

    Well, I thought changing the subject line might help to convey the meaning of what I want better. Here's my earlier post from a few hours earlier.
    Hi,
    I need carry out TPC-C benchmarking test for Oracle 10g (using one, two and four servers; basically using the grid in case of multiple servers). I have installed oracle 10g (with default options) on all the four servers, but beyond that I have no idea as to how can I invoke the grid option in order to carry out the tests-by my statement, I mean do I need to choose grid option while installing Oracle or is it the case that I specify the grid option in the code that I write for carrying out the tests. The OS is LInux (Scientific Linux).
    An unrelated problem-one of the servers is 64 bit while others are 32 bit, and proper versions of oracle have been installed. Neglecting the obvious fact that this will make comparisons difficult does anyone anticipate any other problem?
    Many Thanks!
    Steve
    *******************************************************************************************************

    Do you think that the installation of RAC can be done
    in a week? yes, as long as you know what you are doing and can catch the concept quickly and good at following instructions.
    Moreover, we do not have a cluster-all we
    have are four servers that are separate. Do you know
    if the name Real Application Clusters implies that
    the servers have to be in a cluster?
    The basic idea of RAC is all these hosts need to share same set of storage. The most popular such storage are SAN and NAS.
    An example of building RAC on linux
    http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.html

  • Compare Oracle 10g with Teradata

    hi.
    How can we compare Oracle 10g with teradata under warehouse environments. While looking at Teradata the biggest advantage they are showing is that Teradata can support a very very big database and support Far better query support than oracle also oracle is design for oltp processing. But i am not able of find any technical papers regarding this claim.

    AFAIK, Teradata uses hash-based indexes to do their work. Oracle centers around B-tree indexes. Each class of index has a specific group of problems that it solves extremely well - based on the type of query as well as the size of the data set.
    Teradata demonstration teams will deliberately demonstrate the queries that perform better than on other systems, and will gleefully point at how much better they are than the others.
    Oracle, DB2 and SQL Server tekkies will do the same.
    This is one of the reasons why an intelligent customer will benchmark with their own applications. Another reason for running your own benchmark is that all major licenses tend to include a paragraph saying that benchmarks may not be published without approval of the vendor. So any benchmark that show Teradata better than Oracle will probably not get Oracle's approval. And vice versa. Unless the relevant marketing departments have an answer.
    IMO, there are two considerations to think about:
    1) There is proof that Oracle, DB2 and Teradata run extremely well in the world's largest warehouses, which exceed 100 TB. (Google the web for 'worlds largest database warehouse'). In general, one will be the leader in size and performance for a few weeks, then another will flip into that position ... such are the joys and benefits (to us) of competition.
    So ... does your proposed warehouse come anywhere close to those sizes.
    2) There are special skills needed to keep extremely large warehouses running. Those skills are no longer commodity skills, are tailored to the specific warehouse, and require both the individuals (plural) and the company to invest in long term relationship, including training.
    So ... is your organization prepared to invest in, and support those special skills?
    If the answer to either question is 'NO' then I submit that you are dealing with a commodity warehouse and the decision is not as much a technical one as 'which vendor provides you the most comfort'!

  • Oracle 10g with JRUN 4.0

    Hi,
    I am new to this side... & Secondly i am not a Java expert .... I am a Oracle DBA....
    We are using Oracle 10g with JRUN 4.0 ...... In Oracle i define all the paramters properly... I thing some how we are unable to configure our JRUN 4.0 successfully... due to this we are facing a "Connection Pooling" problem in JRUN .... Everytime we need to restart our JRUN... to release the connections..
    What are ways to handled the connection pooling in JRUN .... & what are necessary setting w e have to do in "jrun-resources.xml " and "jrun.xml " to handled connection pooling.
    Regard
    Mani

    http://livedocs.macromedia.com/jrun/4/JRun_Administrators_Guide/resources2.htm
    this might help

  • Data moving between Oracle 10g with CLOB fields

    Hi all,
    I have a trouble in migrate data between Oracle 10g with different platform. The worst thing is that I don't have a DBA account for the DB importing data. I think I can't use IMP or IMPDP in this way. So I seek help from sql developer, but it seems having another problem with CLOB data moving.
    Re: EA2 : SQL Developer 1.5 : export data CLOB columns
    in the thread, I found someone wrote this:
    - SQL Developer v1.5 EA2 - exports first 4000 chars (which is anyway too small for me, because my CLOBs are larger - if they were smaller, I would have made them VARCHAR2s instead!).
    I would like to ask:
    1, What SQL Developer v1.5 EA2 is? Is it the Data Modeling one?
    2, How to export table data with CLOB with SQL Developer v1.5 EA2? Since 4000 chars is enough for me to use.
    OR any other method to export CLOB but not IMP / IMPDP ?
    Now I am using the spool of sqlplus to export CLOB.
    Many thanks,

    1. The EAs are Early Adapters, betas, so you should expect the same behaviour from the latest 1.5.4 production release.
    2. Exports can be done with the Database Export tool, through the table's context menu in the navigator tree or the result grid's context menu.
    Have fun,
    K.

  • Oracle  10g with dev 6i or 6

    can we connect oracle 10g with dev 6i or 6

    Yes , you can.
    From Oracle Metalink(certify page), you can see that Forms 6i with a 10gR1 database used to be supported since 6i patch 17.
    Anyway Forms 6i product is desupported.
    But you can still see that it used to be supported, so it should run without problems as long as you have patch level 17 (or higher)
    Other info you can found in Grant Ronald's blog
    http://groundside.com/blog/GrantRonald?title=sticking_your_head_in_the_sand_playing_o&more=1&c=1&tb=1&pb=1
    Regards

  • Lock types in oracle 10g with sql examples

    can some body easily in simple words tell some thing about the table locks types in oracle 10g with some sql examples?

    Oracle locking is a complex topic that may not easily be explained with simple words.
    Please try to read above mentioned link starting from simple examples to used lock types. I don't think it's a good idea to "over simplify" the topic starting from the different lock types.
    Another way to explain some lock types can be found in following OTN discussion with Tom Kyte (who is also one of the primary author of Concepts Guide 11.2): TM / TX Locks ( Tom Kyte and Oracle Docu) ; note the different points of view about what is the row lock ...
    Edited by: P. Forstmann on 29 juin 2011 14:00

  • Oracle 10g with Sun AS 7

    Hello I am trying to use a Oracle DB with a Sun Application server 7, i create a connection pool with the following attributes:
    serverName: 147.2.9x.xx
    portNumber: 1521
    networkProtocol: thin
    user: SYSTEM
    password: xxx
    databaseName: orcl
    whn i use a JDBC Resources with the precious pool i get an exception at the iitialization of the pool, i have try with different parameters with no luck, does anyone have already use Oracle 10g with Sun AS 7, I will appreciate any pointers.
    thanks,
    Oscar Forero
    Exception:
    javax.servlet.ServletException: Servlet.init() for servlet Boot threw exception
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3355)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3601)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345)
         at org.apache.catalina.startup.Embedded.start(Embedded.java:957)
         at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
         at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
         at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)
    ----- Root Cause -----
    java.lang.ExceptionInInitializerError
         at oracle.jdbc.pool.OracleDataSource.<init>(OracleDataSource.java:96)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:308)
         at java.lang.Class.newInstance(Class.java:261)
         at com.sun.enterprise.repository.JdbcConnectionPool.createDataSource(JdbcConnectionPool.java:234)
         at com.sun.enterprise.resource.JdbcUrlAllocator.createResource(JdbcUrlAllocator.java:80)
         at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
         at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
         at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
         at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
         at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
         at com.sun.enterprise.resource.JdbcXAConnection.<init>(JdbcXAConnection.java:74)
         at com.sun.enterprise.resource.Jdbc10XaAllocator.createResource(Jdbc10XaAllocator.java:94)
         at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
         at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
         at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
         at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
         at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
         at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:170)

    please post your DataSource entry from the server.xml

  • Oracle 10g with c# MS visual studio 2013 ultimate

    i am not able to connect oracle 10g with c#,i get the error :"oracle.dataaccess.client.oracleexception" ie . provider is not compatible with the version of oracle client. plz help

    Hello,
    Welcome to MSDN forum.
    But your issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because this is an issue with Oracle data access on VS, I would post issues to Oracle forum:
    https://community.oracle.com/community/developer/english/oracle_database/windows_and_.net for better support.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to Integrate Oracle 10g with TIBCO Enterprise for JMS

    Will it be possible to provide a document that will instruct on how to integrate oracle10g with TIBCO Enterprise for JMS
    I needed to Integrate oracle 10g with TIBCO Enterprise for JMS.
    When i searched on internet about how to do it, i found a document on oracle's site which has instructions (in the HOW-TO section) related to integration with OC4J (and not Oracle 10g)
    I have been successfully able to integrate OC4J developer preview edition 10.1.3 with TIBCO enterprise for JMS.
    when i tried with the same instructions to integrate oracle 10g with TIBCO Enterprise for JMS, i could not succeed. The i understood that the standalone OC4J is different from the embedded OC4J in Oracle 10g
    Will it be possible to provide a document that will instruct on how to integrate oracle10g with TIBCO Enterprise for JMS
    Your help will be really appreciated
    Thanks,

    There are how-to documents here: http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/index.html#JMS
    with separate instructions for:
    IBM WebSphere MQ JMS
    Tibco Enterprise for JMS
    SonicMQ JMS

  • Problem in importing data in oracle 10g from 9i backup

    Hi ,
    Am trying to import data in oracle 10g..but it does not importing constraints, and stop doing anything by the msg.
    About to enable constraints.....
    after this msg it does not work.
    plz help,
    Regards,
    Neha

    Hi Neha,
    You have a lot of options. I'll supose you can test first, and you're using an export file.
    First forget about the data, think in your database structure. So you can do this:
    exp userid=... file=exp_norows.dmp full=y rows=n statistics=none
    Now you have the structure of your database. Create the database, in 10g, empty, check you have all filesystem, etc. for you new datafiles. And do the import with parameter ignore=y, you'll see a lot off errors on SYSTEM schema, don't worry about it.
    Now you have the structure of you database in 10g. You can take a look in the import log file, looking for some possible errors come from your schemas. so check the objects, and check the schemas.
    Bear in mind things like CONNECT role in 9i it's different in 10g, you can't create db_links in 10g with "IDENTIFIED BY VALUES" because you'll get an ORA-00600, etc.
    Well, fix all problems on source database (9i) and repeate this procedure until you don't recieve any more errors (not a SYSTEM schema errors).
    When you have everything solved, you can try to import the data.
    I hope, this method can help you. If you have any problem do not hesitate to ask me.
    John Ospino Rivas

  • Problem storing Russian Characters in Oracle 10g

    We are facing an issue in one of our sites which is in Russian Language. Whenever data is submitted with Russian Characters it saves it as Question mark(upside down) in the database. Database is not supporting these characters.The character encoding is done in UTF-8 format from the front end.
    This code use to work fine with Oracle 9i database but after the upgradation to Oracle 10g this problem has started occuring. We have not made any changes to the code after the upgradation of the database.
    How can we resolve this and what are the settings that we can do to make this work fine?

    What is your database character set and national character set?
    SELECT *
      FROM v$nls_parameters
    WHERE parameter like '%CHARACTERSET';Are you storing the data in CHAR/ VARCHAR2/ CLOB columns? Or NCHAR/ NVARCHAR2/ NCLOB?
    Justin

  • Problem accessing j2ee application in oracle 10g AS

    Hi,
    I have Oracle 10g AS installed on a Linux 4.0 system. I have deployed an ear file in the AS. The problem is while accessing the application, the login screen is showing, but after submitting it says "Page can not be displayed". The control is not passed to the Action class.
    Please help me ...
    Santosh

    Hi Santosh,
    This problem does not sound like an OC4J issue (unless this is a set up issue), it sounds more like your code is not passing the control to your Action class. Please check your struts configuration and make sure your mappings are set up correctly.
    Hope this helps.
    Deepak

  • Problem connecting Discoverer plus to Oracle 10g DB

    I have a problem connecting Disocverer Plus to DB 10g.
    DB 10g is located on a different server than Discoverer. All windows environment. When I enter DB name it gives me ORA-12154 error.
    Question – I searched all the documents and it doesn’t say how to configure DB 10g to work with Discoverer. Could some one help me pointing me in a right direction? Do I have to create Data Warehouse or can I connect to the DB directly.
    I added Database connection on the DB 10g listener. Do I have to do it on the BI listener as well. So complicated and no guidance.
    thanks

    In your Discoverer 10g home, navigate to:
    $OH/network/admin
    configure your tnsnames.ora alias's
    or a shortcut... on Oracle BI Discoverer connection string enter:
    username
    pwd
    db string like this (no breaks):
    (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=yourmachine.domain)(PORT=1523)))(CONNECT_DATA=(SID = vis)))
    There is guidance. The Discoverer Configuration Guide
    or MetaLink Support notes.
    The configuration guide specifically documents common problems
    http://download-west.oracle.com/docs/html/B13918_03/tshoot.htm#sthref1287
    D.1.4 Discoverer reports the error ORA-12154
    OracleBI Discoverer reports error ORA-12154: Could not resolve service name.
    Problem
    OracleBI Discoverer cannot connect to the database alias specified by the connection details.
    Solution
    Make sure that:
    the database alias is in the tnsnames.ora file on the middle tier
    the database alias exists in the tnsnames.ora file on every machine that runs sessions
    Hint: If you have SQL*Plus (or any other Oracle product) running on that machine, try connecting to the database with that product.
    Hope that helps point you in the right direction.
    Regards,
    Steve.

  • Problem in connecting Oracle 10g with MII 12.1

    Hi All,
    I am trying to establish a connection between oracle 10g and MII 12.1, the following are the parameters which i gave for establishing connection
    JDBC Driver : oracle.jdbc.driver.OracleDriver
    Server URL : jdbc:oracle:thin:@essdev03:1521:ID1.
    when I checked the status it is in error.
    Following is the log corresponding to the error.
    Unable to get a connection from the pool
    [EXCEPTION]
    java.sql.SQLException: ORA-00923: FROM keyword not found where expected
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:210)
    at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:804)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1049)
    at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:845)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1154)
    at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1726)
    at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1696)
    at com.sap.xmii.Illuminator.tools.database.ConnectionPool.validateConnection(ConnectionPool.java:386)
    at com.sap.xmii.Illuminator.tools.database.ConnectionPool.createConnectionObject(ConnectionPool.java:331)
    at com.sap.xmii.Illuminator.tools.database.ConnectionPool.getConnectionObject(ConnectionPool.java:188)
    at com.sap.xmii.Illuminator.tools.database.ConnectionHolder.getConnection(ConnectionHolder.java:89)
    at com.sap.xmii.Illuminator.server.ConnectorStatus.<init>(ConnectorStatus.java:41)
    at com.sap.xmii.Illuminator.connectors.IDBC.IDBC.getStatus(IDBC.java:50)
    at JEE_jsp_Admin_ServerStatus_602051351_1258760302000_1260447354104._jspService(JEE_jsp_Admin_ServerStatus_602051351_1258760302000_1260447354104.java:236)
    at com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase.service(JspBase.java:102)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140)
    at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:436)
    at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:146)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
    at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:96)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:461)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:76)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:243)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
    Can anyone help me in resolving this problem,
    Thanks in advance.
    Regards,
    Shyam
    Edited by: shyam sunder palanisamy on Dec 16, 2009 8:22 PM

    Hi All,
    The soultion of this is,
    When we are establishing a connection with the Oracle database we need to take care of 4 things,
    1. JDBC driver
    2. Server URL
    3. User name and password
    4. Validation Query,
    In my case the validation query was specific to SQL that is select getdate(). its should be replaced with select sysdate from dual.
    than the above error il not happen.
    Regards,
    Shyam

Maybe you are looking for