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");
}

Similar Messages

  • 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

  • Export command does not create output file (PDF/WORD etc format)  file

    I am using Crystal Report 8.5 and studio .net 2002.  I have crystal report 8.5 as well as Crystal report XI
    installed on machine.
    I have used Crystal Report Engine 9.1.3300 as reference in asp.net application.
    Some of the crystal reports get exported to file (PDF/WORD etc) properly in the virtual directory.
    However, for some reports export file (any format) PDF file does not get created.
    Please help urgently.
    regards,
    Anita

    Anita please download Service Pack 1 for CR 9.1 and see if that resolves the issue. SP 1 is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100009301312009E/crnet11win_en.zip
    Ludek

  • Installer does not create directories/files in APPDATA directory

    I have an installer that installs the application into the Program Files directory, and additionally, is supposed to create application files and a directory structure in the Public App Data (%APPDATA%) directory of the Windows installation. In the LV Build Specification, I have created the appropriate destinations, moved the project specific files to those destinations in the Source File section, and tried combinations of the source file properties. When I run the installer, the application installs into Program Files correctly, however, nothing is created in %APPDATA%. I have even marked these files as vital to the installation, in order to stop, if there's a problem. No problem was indicated during the installation.
    Thanks for the help.

    Hi Jlgeris,
    I build a little istaller and told the installer to put something in the appdata directory as you can see in the attached files. After  installing it, I found the file in the right directory.
    Did you do this in the same way?
    regards
    Tobias
    Attachments:
    Destinations.png ‏89 KB
    Source_Files.png ‏93 KB
    Appdata.png ‏95 KB

  • Batch Actions - Export to PNG does not create PNG files

    I am testing Illustator CS4 to see if my department will upgrade to CS4 from CS2.  We do a lot of batch conversion of .eps graphics and have never had a problem in previous versions of Illustrator including CS2.
    I have created a new Set and Action to Export all .eps files  to .png files from a specific folder.  All the settings appear to be correct and match the settings from CS2.  However, when I run a the bacth on CS4, it appears to go through the motions, the .eps files show the current modified date, but no PNG files are created.  I think this may be a bug, and if this doesn't work, do I try CS3? or stay on CS2 which we rather not do?

    I think you will be happier with CS4 and have a suggestion use Fireworks to batch your files to png.

  • Netbeans does not create lib file in dist anymore?

    Hi,
    I am using Netbeans 6.5 and for some reason, the project libraries are not included in the dist anymore? Does anyone know why? I can't find an option in Netbeans.
    Thanks,
    J.

    corlettk wrote:
    masijade. wrote:
    georgemc wrote:
    masijade. wrote:
    You can modify it yourself, but, IMHO, that is kind of like attaching a rope to your steering rods and using that to steer rather than the steering wheel. ;-)Not sure I agree with that. Preparing a distribution is something that's different for different people, different projects and different organisations. It's not out of the question that you'll need more than one dist anyway. Your IDE makes a good stab at guessing what you want? Good-oh. You'd probably use Ant anyway (if you haven't embraced Maven!) to do this, and there's no "standard" to thatYes, if you want multiple distributions or partial distributions, of course, edit your build.xml, but then, IMHO, you should be using ant (or maven) manually and externally (which would also mean an external build.xml) and not the "compile" button on the IDE, as that is (again, IMO) not meant for either of those.We don't have a problem doing both. That is: developers built with the build button, but the official builds are scripted with ant.
    The build script starts by blowing away the project directory, getting everything (source, and all config) from the repository, and running an ant. It's not hard to maintain the official build.xml from diffs on the developers build.xml (which is checked in seperately).
    Cheers. Keith.So do we. But that is, as I've said, keeping the manual modification of build.xml and the manual execution of ant with that separate from the "build" button in the IDE, as it should be, IMO.

  • Maxl on error write to does not create error file

    The following MaxL statement functions except the creation of the dimbuild.err file. I have tried numerous combinations of syntax, server, folders without success.
    I am running this from the MaxL editor on the eas web server.
    import database XYAFIN.Finance dimensions
    from server text data_file "XYAFINPS_11P3.201102240507.txt"
    using server rules_file "DimNew"
    preserve all data on error write to "D:\\Hyperion\dimbuild.err";
    Results:
    Statement executed with warnings.
    Object [Finance] is locked by user
    Building Dimension elapsed time: [3.594] seconds
    There wer errors, look in D:\\Hyperion\dimbuild.err
    I appreciate your help!

    spool stderr on to "D:/Hyperion/StdErr.log";
    spool stdout on to "D:/Hyperion/StdOut.log";
    import database XYAFIN.Finance dimensions
    from server text data_file "XYAFINPS_11P3.201102240507.txt"
    using server rules_file "DimNew"
    preserve all data
    on error write to "D:/Hyperion/dimbuild.err";
    if D:\Hyperion\dimbuild.err already exists then change the last line to:
    error append to "D:/Hyperion/dimbuild.err";
    See how that works.
    Robb Salzmann

  • SQLJ translator for ISO/ANSI does not create .SER profile (Jdev 9.0.0 prev)

    The SQLJ translater that comes with JDeveloper 9.0.3 preview does not create profiles (.SER) when running with -codegen=ansi or iso. Thus producing none runnable code.
    It is not possible to set any switches in JDev.
    Previous versions of the translated did produce the .SER files.
    Is there a workaround possible?
    Thanks,
    Robert

    Fo the answer and a workaround look here:
    Re: A field is missing in my table.....
    -Robert

  • SQLJ translator for ISO/ANSI does not create .SER profile (Jdev 9.0.3 prev)

    The SQLJ translater that comes with JDeveloper 9.0.3 preview does not create profiles (.SER) when running with -codegen=ansi or iso. Thus producing none runnable code.
    It is not possible to set any switches in JDev.
    Previous versions of the translated did produce the .SER files.
    Is there a workaround possible?
    Thanks,
    Robert
    P.S.: I posted this also in the SQLJ forum.

    Robert,
    My mistake - you are correct, the change I mentioned was put in just after the Preview Release. The .ser files will go into the project source directory in the Preview Release. But this should be the same behavior as in previous releases - are you seeing a difference in behavior between a past release and the Preview Release? Everything up to and including the 9.0.3 Preview Release should put the .ser files in the project source directory. When the 9.0.3 Production Release is available, they will be put into the project output directory instead.
    The fix to put the .ser files into the output directory is not in the translator.jar file. It is in the core JDeveloper code (in jdev.jar). So unfortunately it is not a fix that could be easily dropped into the Preview Release. However, it will be available in the 9.0.3 Production Release.
    -Matt Hawkins, JDeveloper Team

  • 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."

  • 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.

  • Included #sql context DB1Ctx; did not create .class file

    Hello,
    Request explanations on why this does not create a
    SQLJTst3.class file? I type in sqlj SQLJTst3.sqlj
    This creates the SQLJTst3.java and the .ser profile files but
    no .class file.
    My set-up is:
    Oracle SQLJ Release 8.1.7.0.0 Production
    Build version: 2.0.0.0 - Built on May 31, 2000
    IDE interface version: 8.1.7.0.0/2.0.0.0
    JDBC version: Oracle JDBC driver version 8.1 (8.1.7.0.0)
    SQLJ runtime: Oracle 8.1.7 for JDBC 8.1.7 or later/JDK 12EE -
    Built on Aug 18, 2000
    Java version: 1.3 (1.3.0)
    import sqlj.runtime.*;
    import sqlj.runtime.ref.*;
    import java.sql.*;
    import sqlj.runtime.ref.DefaultContext;
    #sql context DB1Ctx; // Define connection context
    #sql context DB2Ctx;
    public class SQLJTst3 {
    public static void main(String[] args) {
    Connection c = null;
    String URL = "jdbc:oracle:thin:@gnj:1521:oralin";
    String userid = "scott";
    String passwd = "tiger";
    try {                
    DriverManager.registerDriver(new
    Oracle.jdbc.driver.OracleDriver() );
    // Connect to multiple databases
    DB1Ctx dB1 = new DB1Ctx(DriverManager.getConnection(URL,
    userid, passwd));
    DB2Ctx dB2 = new DB1Ctx(DriverManager.getConnection(URL,
    userid, passwd));
    // Select a row from database DB1
    String dBuser1;
    #sql [dB1] { select user into :dBuser1 from dual };
    System.out.println("Database username is " + dBuser1);
    // Select a row from database DB2
    String dBuser2;
    #sql [dB2] { select user into :dBuser2 from dual };
    System.out.println("Database username is " + dBuser2);
    // Close the database connection
    #sql { rollback work };
    c.close();
    System.out.println("Disconected...");
    } catch (SQLException e) {
    e.printStackTrace();
    YET this one creates all the files and I can then java SQLJTst2.
    import sqlj.runtime.*;
    import sqlj.runtime.ref.*;
    import java.sql.*;
    // Iterators must be delared on top - sqlj will create classes
    for them
    #sql iterator TabIter (String, String);
    public class SQLJTst2 {
    public static void main(String[] args) {
    Connection c = null;
    String URL = "jdbc:oracle:thin:@gnj:1521:oralin";
    String userid = "scott";
    String passwd = "tiger";
    try {
    DriverManager.registerDriver(new
    oracle.jdbc.driver.OracleDriver());
    c = DriverManager.getConnection(URL, userid, passwd);
    System.out.println("Successfully conencted to Oracle...");
    // You need to set a Context for SQLJ, otherwise -
    // SQLException: found null connection context
    DefaultContext.setDefaultContext( new DefaultContext(c));
    // Fetch multiple values
    TabIter tabIter;
    #sql tabIter = { select tname, tabtype from tab };
    while (true) {
    String dBTabName = null;
    String dBTabType = null;
    #sql { fetch :tabIter into :dBTabName, :dBTabType };
    if ( tabIter.endFetch() ) break;
    System.out.println("Name: " + dBTabType + "." +
    dBTabName);
    // Close the database connection
    #sql { commit work };
    #sql { rollback work };
    c.close();
    System.out.println("1..2..3..Disconected...");
    } catch (SQLException e) {
    e.printStackTrace();

    Disgregard previous posting...I found the typo. It does create
    the .class files now.
    However the problem im getting this time is
    Database username is SCOTT
    Database username is SCOTT
    java.sql.SQLException: found null connection context
    at sqlj.runtime.error.Errors.raiseError(Errors.java:118)
    at sqlj.runtime.error.Errors.raiseError(Errors.java:60)
    at
    sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX(RuntimeRe
    fErr
    ors.java:118)
    at SQLJTst3.main(SQLJTst3.java:297)
    It does not like two sessions from same user?

  • Migration from 2003 - 2010, OAB errors on client, and OAB virtual directory does not contain any files.

    Migration from 2003 - 2010, OAB errors on client, and OAB virtual directory does not contain any files. 

    Hi,
    Please re-create the Outlook profile to have a try. If the issue persists, we can do the further checks in Exchange server.
    Please make sure you have changed the OAB generation server to Exchange 2010 and enable Web distribution on the Exchange 2010 Client Access server:
    Move-OfflineAddressBook "Default Offline Address List" -Server <MBX2010>
    If all configurations are correct, please check whether there is any folder in the following path in Exchange sever 2010:
    a. OAB generation in Mailbox:
    \\Program Files\Microsoft\Exchange Server\V14\ExchangeOAB
    b. OAB distribution in Client Access:
    \\Program Files\Microsoft\Exchange Server\V14\ClientAccess\OAB
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Crystal Server 2013: How to troubleshoot "Can not create temp file---- Error code:-2147215357"

    We have a Java7 web app, which generate PDF report by calling Crystal Server 2013 SP4.
    The app is being deployed on many different servers. We sometimes got the error below when generating report:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.controllerExportInternal(PrintOutputController.java:280)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:152)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:130)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:113)
    Problem is, this seems to be  a pretty generic exception. It could be caused by many different reasons.
    e.g. network connection problem, wrong DB login, wrong folder path, lack of folder access right, etc.
    Each time we could only guess what's wrong.
    We are running into it again, and this time everything seems correctly configured so far.
    We wonder if there are more info we can get to troubleshoot? For example, any log file of Crystal Server we should look into? Or does Crystal Server has debug mode which prints more details to tell us what goes wrong?

    Prithviraj Shekhawat wrote:
    Hi Henry,
    I believe you are using RAS SDKs to export the reports to PDF.
    Apply trace on RAS server and check what you find in RAS logs.
    Check whether you can see timeout error is RAS logs. Usually if connection is lost and the RAS server no more have the session to write to the temp directory, we do see these errors.
    Also, does the account that runs RAS have permissions to create a file in RAS's default temp directory? Are you getting any out of memory or out of disk space exceptions on App server or RAS, tracing RAS server is the way to move forward.
    Thanks,
    Prithvi
    >>I believe you are using RAS SDKs to export the reports to PDF.
    Yes
    >>Apply trace on RAS server and check what you find in RAS logs.
    >>Check whether you can see timeout error is RAS logs.
    How to configure tracing, and where are RAS logs? Is it configured in CMC --> Servers --> Crystal Report Services?
    >>Also, does the account that runs RAS have permissions to create
    >>a file in RAS's default temp directory?
    Pretty sure yes.
    >> Are you getting any out of memory or out of disk space exceptions
    >>on App server or RAS, tracing RAS server is the way to move forward.
    Not on App server.
    For RAS, that's the problem, I am not sure where to look.......

  • 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

Maybe you are looking for