Oracle 9206 on Redhat AS4:dbca does not create db - only prompt summary

Dear All,
SOS, Help is greatly appreciated and thanks in advance.
I followed the : "Installing Oracle 9i on Red Hat Enterprise Linux Advanced Server 4, 3, 2.1, and on Red Hat 9, 8.0, 7.3, 7.2, 7.1 (x86) " from http://www.puschitz.com/
Everything went fine till I tried to create db via dbca.
I run dbca and does not experienced the line 124 error. And it seems run fine. I can go through all steps but can't proceed when I arrive the final step : "Create Database" (The STep 7), The "Next" botton is gray out, I can only click "Finish". Once I click "Finish", it prompted summary report. But then nothing happened. If I close the summary report, what only I can do is to click "Finish" again and the summary was prompted again.
So I am in this situation: dbca only reported what to do in summary but never do it!
Sean

I run dbca with tracing on and get following log:
[main] [23:57:49:431] [Host.<init>:469]
Inside checkOPS
[main] [23:57:49:433] [Host.<init>:469] Trying to check cluster existence
[main] [23:57:49:450] [Cluster.isCluster:113] No Cluster detected
[main] [23:57:49:451] [Cluster.isCluster:114] Cluster existence = false
[main] [23:57:49:671] [DBCAWizard.<init>:336] DBCAWizard->removePageFromList: The page to be removed = NetworkConfPage
[main] [23:57:49:672] [DBCAWizard.<init>:338] DBCAWizard->removePageFromList: The page to be removed = NetworkConfPage
[main] [23:57:49:673] [DBCAWizard.<init>:339] DBCAWizard->removePageFromList: The page to be removed = NetworkConfPage
[main] [23:57:49:674] [DBCAWizard.<init>:340] DBCAWizard->removePageFromList: The page to be removed = NetworkConfPage
[main] [23:57:49:676] [Dbca.execute:91] CommandLineArguments->process: In the function
[AWT-EventQueue-0] [23:58:2:298] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:2:318] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:2:464] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:2:493] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:2:781] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:2:800] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:3:132] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:3:155] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:3:429] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:3:450] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:4:575] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:4:599] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:4:685] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:4:703] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:5:1] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:5:31] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:6:271] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:6:295] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:7:289] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:7:309] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:7:743] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:7:763] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:8:5] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:8:30] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:8:777] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:8:797] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:13:521] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:13:552] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:13:720] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:13:742] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:13:896] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:13:913] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:14:50] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:14:70] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:15:253] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:15:274] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:15:342] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:15:365] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:16:225] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:16:246] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:16:687] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:16:707] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:18:0] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:18:20] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:18:152] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:18:171] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:18:376] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:18:395] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:21:333] [DatabaseNamePage.focusLost:522] old GDBName =
[AWT-EventQueue-0] [23:58:21:468] [DatabaseNamePage.validate:632] Verifier->processRawConfigFile: start of function
[AWT-EventQueue-0] [23:58:21:498] [Verifier.isRawFeasible:2820] try to get DBCA_RAW_CONFIG env
[AWT-EventQueue-0] [23:58:21:520] [Verifier.isRawFeasible:2820] rawConfig=
[AWT-EventQueue-0] [23:58:21:541] [Verifier.processRawConfigFile:3130] setDatafileType:bRaw=false
[AWT-EventQueue-0] [23:58:21:561] [WizardPageExt.wizardValidatePage:205] processRawConfigFile=false
[AWT-EventQueue-0] [23:58:23:315] [WizardExt.wizardSelectionChanged:165] InitParametersPage->onSetActive: In the function
[AWT-EventQueue-0] [23:58:24:556] [WizardPageExt.wizardValidatePage:205] InitParametersPage->validate: In validate function
[AWT-EventQueue-0] [23:58:24:642] [WizardPageExt.onSetActive:93] StoragePage->initializePage: m_clone = true
[AWT-EventQueue-0] [23:58:26:275] [WizardPageExt.wizardValidatePage:205] StoragePage: In validate function
[TaskScheduler timer] [23:58:29:806] [Verifier.validateFiles:2435] canonicalPath=/u01/app/oracle/
[TaskScheduler timer] [23:58:29:812] [Verifier.validateFiles:2435] canonicalPath=/u01/app/oracle/
[TaskScheduler timer] [23:58:29:819] [Verifier.validateFiles:2435] canonicalPath=/u01/app/oracle/
[TaskScheduler timer] [23:58:29:825] [Verifier.validateFiles:2435] canonicalPath=/u01/app/oracle/
[TaskScheduler timer] [23:58:29:832] [Verifier.validateFiles:2435] canonicalPath=/u01/app/oracle/
[TaskScheduler timer] [23:58:29:838] [Verifier.validateFiles:2435] canonicalPath=/u01/app/oracle/
[TaskScheduler timer] [23:58:29:845] [Verifier.validateFiles:2435] canonicalPath=/u01/app/oracle/
[TaskScheduler timer] [23:58:29:852] [Verifier.validateFiles:2435] canonicalPath=/u01/app/oracle/
[TaskScheduler timer] [23:58:29:860] [Verifier.validateFiles:2435] canonicalPath=/u01/app/oracle/
[TaskScheduler timer] [23:58:29:867] [Verifier.validateFiles:2435] canonicalPath=/u01/app/oracle/
[TaskScheduler timer] [23:58:29:873] [Verifier.validateFiles:2435] canonicalPath=/u01/app/oracle/
[TaskScheduler timer] [23:58:29:909] [Host.validate:3651] canonicalPath=/u01/app/oracle/
[TaskScheduler timer] [23:58:29:917] [Host.validate:3651] canonicalPath=/u01/app/oracle/
[TaskScheduler timer] [23:58:29:926] [Host.validate:3651] canonicalPath=/u01/app/oracle/
[Thread-7] [23:58:30:32] [SummaryDialog.run:513] UIHost:getHtmlSummary: running createTemplateDocument NOT for SHOW_TEMPLATE condition
[Thread-7] [23:58:30:90] [SummaryDialog.run:513] UIHost:getHtmlSummary: after running createTemplateDocument NOT for SHOW_TEMPLATE condition
[Thread-7] [23:58:30:268] [SummaryDialog.run:513] UIHost->getHtmlSummary: start printing of transformed document

Similar Messages

  • Oracle10g dbca does not create "create db" scripts!

    Hi All,
    Is this a new move in dbca world? What I have noticed is that dbca for 10g creates the template but does not create db creattion scripts under $ORACLE_BASE/{DB_NAME}/create.
    I think it was pretty useful when the system is limited in RAM and you don't want java interface taking 40% of RAM just to offer GUI front end -
    Is there anyway to create these scripts in 10g ?
    -Thanks,
    DP

    Yes,
    I can't find anything under $ORACLE_BASE/admin/{DB_NAME}/create
    OR
    $ORACLE_BASE/{DB_NAME}/create.
    In fact, I don't see any checkbox available under 10g version of dbca which allows to create/save the scripts - it still allows to store template as an html.
    -Thanks,
    VS

  • ERROR at line 1: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: Oracle Text error: DRG-10700: preference does not exist: global_lexer ORA-06512: at "CTXSYS.DRUE", line 160 ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366

    database version 11.2.0.4
    rac two node
    CREATE INDEX MAXIMO.ACTCI_NDX3 ON MAXIMO.ACTCI
    (DESCRIPTION)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS('lexer global_lexer language column LANGCODE')
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10700: preference does not exist: global_lexer
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366

    Like the error message says, you don't have a global_lexer.  So, you need to create a global_lexer and that lexer must have at least a default sub_lexer, then you can use that global_lexer in your index parameters.  Please see the demonstration below, including reproduction of the error and solution.
    SCOTT@orcl12c> -- reproduction of problem:
    SCOTT@orcl12c> CREATE TABLE actci
      2    (description  VARCHAR2(60),
      3      langcode     VARCHAR2(30))
      4  /
    Table created.
    SCOTT@orcl12c> CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS('lexer global_lexer language column LANGCODE')
      4  /
    CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10700: preference does not exist: global_lexer
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
    SCOTT@orcl12c> -- solution:
    SCOTT@orcl12c> DROP INDEX actci_ndx3
      2  /
    Index dropped.
    SCOTT@orcl12c> BEGIN
      2    CTX_DDL.CREATE_PREFERENCE ('global_lexer', 'multi_lexer');
      3    CTX_DDL.CREATE_PREFERENCE ('english_lexer', 'basic_lexer');
      4    CTX_DDL.ADD_SUB_LEXER ('global_lexer', 'default', 'english_lexer');
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS('lexer global_lexer language column LANGCODE')
      4  /
    Index created.

  • Oracle service, Listener and http server does not start automatically

    Hello,
    I have Oracle 9i release 2 installed on Unix HP box if system restart in case of power failure the Oracle service, Listener and http server does not start automatically, is there any ready reference available to check what's wrong is happening(I don't have knowledge of Unix).
    Thanks, Khawar.

    Hi Rajesh,
    Thanks for reply, I will check this link and will be back if facing problem.
    Regards, Khawar.

  • The user account in which the Oracle VSS Writer Service is running does not have the DBA privileges to log in to the Oracle instance.

    VSS-00011: Connection to database instance <instance_name> failed.  
    Cause : The user account in which the Oracle VSS Writer Service is running  does not have the DBA privileges to log in to the Oracle instance.  
    Action : Run the Oracle VSS Writer Service in a user account that can connect to the Oracle instance with DBA privileges.  
    I have assigned ora_dba group to the user that runs the Oracle VSS Writer Service which is the only Oracle solution but still getting
    the above error. Was advised to raise the issue here that it is an OS issue. Pls help

    The user account cannot access Oracle Database instance. And also how do you temporarily disable security software on the server.
    Have you checked what I already asked for? "Try using the user account and access the Database Instance.
    That will let you see if the problem is with the user account permissions or not."
    If this does not help then you can contact Oracle as suggested by Dave.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • Oracle reports output in excel format does not display the graphs

    Oracle reports output in excel format does not display the graphs: "linked image cannot be displayed".
    The output file in PDF format the graph is supported.

    Do you have any header and footer on your template?
    If you have any header and footer then try to adjust it as of to display full page.
    Thanks
    Yasar

  • SQLJ Translation does not create profile file

    SQLJ Translation does not create profile file.
    After translating a small file HelloWorld.sqlj
    the following files are created:
    HelloWorld_SJProfileKeys.class
    HelloWorld.class
    HelloWorld.java
    Although there is a HelloWorld_SJProfileKeys.class, profile file HelloWorld_SJProfile0.ser has NOT been created.
    The starting file .sqlj file HelloWorld.sqlj is taken from O'Reilly book 'Java Programming with Oracle SQLJ' by Jason Price. The file contains a valid SQL statement to display the date.
    My environment variables were set up with instructions from:
    http://www.onjava.com/pub/a/onjava/2001/12/05/learning_sqlj.html
    When I run java HelloWorld to run the .java file, I get the error:
    SQLException java.sql.SQLException: profile HelloWorld_SJProfile0 not found: java.lang.ClassNotFoundException: HelloWorld_SJProfile0
    I searched the internet high and low for a similar error to mine but I could not find a match.
    I read the following text from http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html#translationerrors
    but it does not help me.
    "ClassNotFoundException: xxx.yyy_SJProfile0 for class xxx.yyy_SJProfileKeys
    If you see an exception such as:
    java.sql.SQLException: profile xxx.yyy_SJProfile0 not found:
    java.lang.ClassNotFoundException:
    xxx.yyy_SJProfile0 for class xxx.yy_SJProfileKeys
    then you must ensure that the SQLJ profile(s), such as xxx/yyy_SJProfile0.ser, is available in the SQLJ runtime environment. This includes JARing this file as part of an applet deployment, or publishing it to the server via loadjava.
    Any ideas? Thanks in advance,
    John
    Helloworld.sqlj before translation:
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orac",
    "scott",
    "tiger"
    // get the current date from the database
    #sql { SELECT sysdate INTO :current_date FROM dual };
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    HelloWorld.java after translation:
    /*@lineinfo:filename=HelloWorld*//*@lineinfo:user-code*//*@lineinfo:1^1*//*
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orcl",
    "scott",
    "tiger"
    // get the current date from the database
    /*@lineinfo:generated-code*//*@lineinfo:28^7*/
    // #sql { SELECT sysdate  FROM dual  };
    sqlj.runtime.profile.RTResultSet __sJT_rtRs;
    sqlj.runtime.ConnectionContext __sJT_connCtx = sqlj.runtime.ref.DefaultContext.getDefaultContext();
    if (__sJT_connCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX();
    sqlj.runtime.ExecutionContext __sJT_execCtx = __sJT_connCtx.getExecutionContext();
    if (__sJT_execCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_EXEC_CTX();
    synchronized (__sJT_execCtx) {
    sqlj.runtime.profile.RTStatement __sJT_stmt = __sJT_execCtx.registerStatement(__sJT_connCtx, HelloWorld_SJProfileKeys.getKey(0), 0);
    try
    sqlj.runtime.profile.RTResultSet __sJT_result = __sJT_execCtx.executeQuery();
    __sJT_rtRs = __sJT_result;
    finally
    __sJT_execCtx.releaseStatement();
    try
    sqlj.runtime.ref.ResultSetIterImpl.checkColumns(__sJT_rtRs, 1);
    if (!__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO();
    current_date = __sJT_rtRs.getDate(1);
    if (__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_MULTI_ROW_SELECT_INTO();
    finally
    __sJT_rtRs.close();
    /*@lineinfo:user-code*//*@lineinfo:28^58*/
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    }/*@lineinfo:generated-code*/class HelloWorld_SJProfileKeys
    private static HelloWorld_SJProfileKeys inst = null;
    public static java.lang.Object getKey(int keyNum)
    throws java.sql.SQLException
    if (inst == null)
    inst = new HelloWorld_SJProfileKeys();
    return inst.keys[keyNum];
    private final sqlj.runtime.profile.Loader loader = sqlj.runtime.RuntimeContext.getRuntime().getLoaderForClass(getClass());
    private java.lang.Object[] keys;
    private HelloWorld_SJProfileKeys()
    throws java.sql.SQLException
    keys = new java.lang.Object[1];
    keys[0] = sqlj.runtime.ref.DefaultContext.getProfileKey(loader, "HelloWorld_SJProfile0");
    }

    SQLJ Translation does not create profile file.
    After translating a small file HelloWorld.sqlj
    the following files are created:
    HelloWorld_SJProfileKeys.class
    HelloWorld.class
    HelloWorld.java
    Although there is a HelloWorld_SJProfileKeys.class, profile file HelloWorld_SJProfile0.ser has NOT been created.
    The starting file .sqlj file HelloWorld.sqlj is taken from O'Reilly book 'Java Programming with Oracle SQLJ' by Jason Price. The file contains a valid SQL statement to display the date.
    My environment variables were set up with instructions from:
    http://www.onjava.com/pub/a/onjava/2001/12/05/learning_sqlj.html
    When I run java HelloWorld to run the .java file, I get the error:
    SQLException java.sql.SQLException: profile HelloWorld_SJProfile0 not found: java.lang.ClassNotFoundException: HelloWorld_SJProfile0
    I searched the internet high and low for a similar error to mine but I could not find a match.
    I read the following text from http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html#translationerrors
    but it does not help me.
    "ClassNotFoundException: xxx.yyy_SJProfile0 for class xxx.yyy_SJProfileKeys
    If you see an exception such as:
    java.sql.SQLException: profile xxx.yyy_SJProfile0 not found:
    java.lang.ClassNotFoundException:
    xxx.yyy_SJProfile0 for class xxx.yy_SJProfileKeys
    then you must ensure that the SQLJ profile(s), such as xxx/yyy_SJProfile0.ser, is available in the SQLJ runtime environment. This includes JARing this file as part of an applet deployment, or publishing it to the server via loadjava.
    Any ideas? Thanks in advance,
    John
    Helloworld.sqlj before translation:
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orac",
    "scott",
    "tiger"
    // get the current date from the database
    #sql { SELECT sysdate INTO :current_date FROM dual };
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    HelloWorld.java after translation:
    /*@lineinfo:filename=HelloWorld*//*@lineinfo:user-code*//*@lineinfo:1^1*//*
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orcl",
    "scott",
    "tiger"
    // get the current date from the database
    /*@lineinfo:generated-code*//*@lineinfo:28^7*/
    // #sql { SELECT sysdate  FROM dual  };
    sqlj.runtime.profile.RTResultSet __sJT_rtRs;
    sqlj.runtime.ConnectionContext __sJT_connCtx = sqlj.runtime.ref.DefaultContext.getDefaultContext();
    if (__sJT_connCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX();
    sqlj.runtime.ExecutionContext __sJT_execCtx = __sJT_connCtx.getExecutionContext();
    if (__sJT_execCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_EXEC_CTX();
    synchronized (__sJT_execCtx) {
    sqlj.runtime.profile.RTStatement __sJT_stmt = __sJT_execCtx.registerStatement(__sJT_connCtx, HelloWorld_SJProfileKeys.getKey(0), 0);
    try
    sqlj.runtime.profile.RTResultSet __sJT_result = __sJT_execCtx.executeQuery();
    __sJT_rtRs = __sJT_result;
    finally
    __sJT_execCtx.releaseStatement();
    try
    sqlj.runtime.ref.ResultSetIterImpl.checkColumns(__sJT_rtRs, 1);
    if (!__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO();
    current_date = __sJT_rtRs.getDate(1);
    if (__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_MULTI_ROW_SELECT_INTO();
    finally
    __sJT_rtRs.close();
    /*@lineinfo:user-code*//*@lineinfo:28^58*/
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    }/*@lineinfo:generated-code*/class HelloWorld_SJProfileKeys
    private static HelloWorld_SJProfileKeys inst = null;
    public static java.lang.Object getKey(int keyNum)
    throws java.sql.SQLException
    if (inst == null)
    inst = new HelloWorld_SJProfileKeys();
    return inst.keys[keyNum];
    private final sqlj.runtime.profile.Loader loader = sqlj.runtime.RuntimeContext.getRuntime().getLoaderForClass(getClass());
    private java.lang.Object[] keys;
    private HelloWorld_SJProfileKeys()
    throws java.sql.SQLException
    keys = new java.lang.Object[1];
    keys[0] = sqlj.runtime.ref.DefaultContext.getProfileKey(loader, "HelloWorld_SJProfile0");
    }

  • Save as does not Create PDF Compatible File even when the creare pdf compatible files is on, Illustrator CC 2014

    save as does not Create PDF Compatible File even when the creare pdf compatible files is on, Illustrator CC 2014

    When I open is adobe acrobat I get this message.
    "This is an Adobe® Illustrator® File that was
    saved without PDF Content.
    To Place or open this  le in other
    applications, it should be re-saved from
    Adobe Illustrator with the "Create PDF
    Compatible File" option turned on. This
    option is in the Illustrator Native Format
    Options dialog box, which appears when
    saving an Adobe Illustrator  le using the
    Save As command."

  • Project professional 2010: Physical % Complete field does not roll-up to the summary tasks

    Hi,
    I have a project plan which I need to set the physical % complete fields of it in order to use it for earned value over time report. I have assigned costed resources to come of the tasks, set all project task's earned value method to physical % complete,
    and finally set a baseline. However, the physical % complete still does not get calculated for the summary tasks! It is always zero! 
    I have created another project with only 3 tasks and 3 resources, did the same as above, and was able to get calculated values for the physical % complete.
    I followed the same procedure in both projects. In one I was able to get the physical % complete value of the summary tasks while it was always zero in the other! What may be the problem? 
    Regards,
    George 

    Hi Julie,
    This is what I am seeing as necessary to make Physical % complete roll up to the summary level task.
    BEFORE tasks are entered, set the "Default Task Earned Value method" to Physical % complete. File > Options, Advanced.  This will set both the summary and detail tasks to that method.
    Add tasks
    Add resources with costs.
    Assign resources to tasks.
    Baseline the file
    Take a look at the Tracking table and enter progress in the Physical % complete field for subtasks. The value should roll up.
    Sadly I don't know of anyway to force the change after the tasks have been added.  You can certainly add the Earned Value Method field to a task view to confirm all is set - but I have never been able to switch mid-flight and get it to work correctly.
    I did, however, just try an experiment.  I created a file that did not work correctly - Physical % complete was not rolling up.  I inserted it into a blank project that had the option set correctly without linking.  After a bit of tweaking
    (outdenting all tasks to be able to delete the "extra summary task", saving a baseline), it now appears to be working correctly.
    I hope this helps.

  • MRP does not creates Shcedule Line

    I have a valid scheduling agreement LPA in place. Scheduling Agreement is approved and released status.
    I have source list also maintained for same scheduling agreement with long validity and MRP indicator as 2 - Create Schedule line automatically. 
    I am running MRP using following parameters in MD02.
    Processing key          NETCH               Net Change in Total Horizon
    Create purchase req.    3                   Planned orders
    Delivery schedules      3                   Schedule lines
    Create MRP list         1                   MRP list
    Planning mode           3                   Delete and recreate planning data
    Scheduling              2                   Lead Time Scheduling and Capacity Planni
    Even schedule line and other parameters maintained properly, MRP creates planned order and does not creates Schedule Line automatically. Material Master is maintained MRP Type PD, Lot Size as Replenishment to maximum stock level, Safety stock, No strategy and availability on.
    What I am doing wrong? With same setting in other system it is working perfectly fine.
    Any feedback appreciated.
    Thanks
    PP

    Hi
    Check whether the Agreement Open Target value .
    If the target quantity was completed . so system will not create the Schedule lines for the material
    2. If you mainatian the open period in the smk.
    so system will create the planned order instead of schedule agreement. check

  • Mail does not create new emails based on the highlighted mailbox, but rather the receiving mailbox of whatever individual email happens to be highlighted. This was not the case prior to Lion. Is this a bug or an error on my part?

    Mail does not create new emails based on the highlighted mailbox, but rather according the receiving mailbox of whatever individual email happens to be highlighted. This was not the case prior to Lion. Is this a bug or an error on my part? (I do have the setting for creating new emails from the highlighted mailbox checked.)

    The questions about time was not only because of thinking about the Time Machine, but also possible impact on recognizing which messages remaining on a POP server (doesn't apply to IMAP) have been already downloaded. In the Mail folder, at its root level, in Mail 3.x there is a file named MessageUidsAlreadyDownloaded3 that should prevent duplicate downloading -- some servers may not communicate the best with respect to that, and the universal index must certainly be involved in updating that index file. If it corrupts, it can inhibit proper downloading. However, setting the account up in a New User Account and having the same problem does not point that way, unless your POP3 server is very different from most.
    That universal index is also typically involved when messages are meant to be moved from the Inbox to another mailbox -- in Mail 3.x the message does not move, but rather is copied, and then erased from the origin mailbox. That requires updating the Envelope Index to keep track of where the message is, and should keep track of where it is supposed to have been removed after the "Move".
    Ernie

  • Adobe After Effects CC 2014 Multi-machine rendering does not create RCF after Collect-File

    This was working in the previous release.  After going through all of the steps to perform a multi-machine render, not only does it say it is limiting it to 5 machines instead of the usual 99 (and I have over 100 cores on the render farm) but "Collect Files" (File/Dependencies/Collect Files) does not create the Render Control File (RCF) that kicks off the process on the other machines, like it did before and is supposed to do.
    This release was supposed to fix the 32 core limitation on render nodes (my server has 48), but now does nothing at all.
    Anyway, I assume there is a check box somewhere that says "do something" that hasn't been checked and another that says "Maybe my machine has more than 5 cores", and I would appreciate being steered in the direction of these new mis-features.
    Just as background, the 48 core server does show the little TV screen that monitors the watch folder, and I know for a fact that process looks for the "RCF" file.  Looking at the directory specified for "collect files", I can see that no RCF file is created, only 1 file, a report.txt file which contains this information is produced:
    Report created:
      7/9/2014 1:54:12 AM
    Project name: highup.aep
    Source files collected to:
      P:\temp\highup folder
    Source files collected: All
    Collected comps: 
      Thomas Falke - High Again High On Emotion)
    Number of collected files:  1
    Size of collected files:  63.4 MB
    Collected source files:
      C:\Users\Jeff K\Videos\Down\2014-2015\Thomas Falke - High Again High On Emotion).mp4
    Rendering plug-ins:
      Classic 3D
    Effects used:  1
    Effect:  Detail-preserving Upscale

    The dialog box has been slightly refactored.  You must click "Allow watch folder rendering" and then all is good.  Hope this helps anyone else.  Thanks to Rafil at customer support chat for this.

  • Payment Wizard Does not create the File

    Hi I am trying to run the payment wizard and in the final step it says it ran successful and create the outgoing payments but it does not create the payment file for the bank.
    Step 1
                Start a new Payment run
    Step 2
               payment type : out going
               payment method : bank transfer
               File Path : Go to Desktop and file name is test
    Step3
              Select the business partner
    Step 4
             Select the date range
    Step 5
            Select the payment method
    Step 6
            Select the Invoices
    Step 7
            Execute
    It says successfully Executed the payment and create outgoing payment for the business partner.
    But it does not create the payment file (test in the Desktop)
    Please help me!!!
    Thanks
    Sanjaya

    Hi Sanjaya,
    Check the link
    Payment Wizard
    Payment Wizard Run does not create Payment/Check
    Payment Wizard/Engine - creation of Bank File
    *Close the thread if issue solved.
    Regards
    Jambulingam.P

  • MS Outlook 2010 Add in Create pdf - does not create pdf of draft emails- Adobe Acrobat Pro X

    In MS Outlook 2010 Add in Create pdf- does not create pdf of draft emails- this maybe the case, but just wanted to make sure this is normal for the program- though I guess one can print as an Adobe pdf but it does not maintain the hyperlinks of email addresses etc. the functionality is compromised in a print vs create a pdf.

    Here's a workaround by the team:
    Right click on the message from Explorer list view or folder view and chose the option to convert to PDF.

  • Need to create a sales order that does not create demand

    Hi,
    We need to create a no cost sales order - that does not create demand
    In our current set-up when we try to create a no cost sales order with a material ( It Cat = Norm) we see demand being created in MD04
    What configuration settings will allow us a deliverable order - that does not create demand (no MRP run?)
    Thanks,
    SM

    Hello,
    For this set of requirement i think the best option would be to configure a New Sales Order Type and a new Schedule Line Category. In VOV6, While you are defining a new Schedule line category in the transaction flow make sure to switch off the three check box.
    Transfer of requirements / Begin assembly order from SD
    Availability check for sales
    Product allocation active
    Then when we are assigning this newly defined Schedule line Category to Item category, make sure to leave the field of MRP Type as blank in VOV5.
    Regards,
    Sarthak

Maybe you are looking for