JD3 ocijdbc8 error

I have downloaded and installed JD3 for evaluation.
When testing the following simple jdbc test I get the following
error:
"F:\orant\ows\4.0\jdk\bin\javaw.exe" -mx50m -
classpath "E:\jdev\myclasses;E:\jdev\lib\jdev-
rt.zip;E:\jdev\jdbc\lib\oracle8.1.5
\classes111.zip;E:\jdev\lib\connectionmanager.zip;F:\orant\ows\4.
0\jdk\lib\classes.zip" package1.Test
AppAccelerator(tm) 1.1.8 for Java (JDK 1.1), x86 version.
Copyright (c) 1997-1998 Borland International. All Rights
Reserved.
Copyright (c) 1997-1999 Oracle Corporation. All Rights Reserved.
java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library
path
at java.lang.Runtime.loadLibrary(Compiled Code)
at java.lang.System.loadLibrary(Compiled Code)
at oracle.jdbc.oci8.OCIDBAccess.logon(Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(Compiled
Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance
(Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at package1.Test.main(Compiled Code)
CODE
// You need to import the java.sql package to use JDBC
import java.sql.*;
class Test{
public static void main (String args [])
throws SQLException, ClassNotFoundException
// Load the Oracle JDBC driver
Class.forName ("oracle.jdbc.driver.OracleDriver");
// Connect to the database
// You can put a database name after the @ sign in the
connection URL.
Connection conn =
DriverManager.getConnection
("jdbc:oracle:oci8:@dev8i", "whs_admin", "whs_admin");
// Create a Statement
Statement stmt = conn.createStatement ();
ResultSet rset = stmt.executeQuery ("select * from events");
// Iterate through the result and print the employee names
while (rset.next ())
System.out.println (rset.getString ("EVENT_ID"));
System.out.println (rset.getString ("PARENT_EVENT_ID"));
I have previously used another IDE (KAWA) and this works fine.
Thanks
Mark
null

Mark,
The OCI drivers require some client-side software. The version
of the OCI client must match the version of the OCI driver you
are using from JDeveloper rather than the version of the
database you are connecting to.
For example, if you are using the 8.1.5 JDBC OCI8 driver to
connect to an Oracle 8.0.5 database, then you need the OCI 8.1.5
client running on the same machine as JDeveloper.
The OCI client software is included in the server distribution
(if you have the database running locally), or from the Oracle
Client software distribution.
If you have either of the above installed locally, then make sure
that ORACLE_HOME is set to the correct location in your
registry.
This is what JDeveloper uses to find the ocijdbc8.dll.
If you have multiple Oracle Homes, you can explicitly set which
one to use from JDeveloper by choosing Tools|IDE Options from the
menu. Click the Environment tab, and choose an Oracle Home from
the drop-down list.
The JDBC thin drivers do not require this client-side piece.
Laura
Mark (guest) wrote:
: I have downloaded and installed JD3 for evaluation.
: When testing the following simple jdbc test I get the following
: error:
: "F:\orant\ows\4.0\jdk\bin\javaw.exe" -mx50m -
: classpath "E:\jdev\myclasses;E:\jdev\lib\jdev-
: rt.zip;E:\jdev\jdbc\lib\oracle8.1.5
\classes111.zip;E:\jdev\lib\connectionmanager.zip;F:\orant\ows\4.
: 0\jdk\lib\classes.zip" package1.Test
: AppAccelerator(tm) 1.1.8 for Java (JDK 1.1), x86 version.
: Copyright (c) 1997-1998 Borland International. All Rights
: Reserved.
: Copyright (c) 1997-1999 Oracle Corporation. All Rights
Reserved.
: java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library
: path
: at java.lang.Runtime.loadLibrary(Compiled Code)
: at java.lang.System.loadLibrary(Compiled Code)
: at oracle.jdbc.oci8.OCIDBAccess.logon(Compiled Code)
: at oracle.jdbc.driver.OracleConnection.<init>(Compiled
: Code)
: at oracle.jdbc.driver.OracleDriver.getConnectionInstance
: (Compiled Code)
: at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
: at java.sql.DriverManager.getConnection(Compiled Code)
: at java.sql.DriverManager.getConnection(Compiled Code)
: at package1.Test.main(Compiled Code)
: CODE
: // You need to import the java.sql package to use JDBC
: import java.sql.*;
: class Test{
: public static void main (String args [])
: throws SQLException, ClassNotFoundException
: // Load the Oracle JDBC driver
: Class.forName ("oracle.jdbc.driver.OracleDriver");
: // Connect to the database
: // You can put a database name after the @ sign in the
: connection URL.
: Connection conn =
: DriverManager.getConnection
: ("jdbc:oracle:oci8:@dev8i", "whs_admin", "whs_admin");
: // Create a Statement
: Statement stmt = conn.createStatement ();
: ResultSet rset = stmt.executeQuery ("select * from
events");
: // Iterate through the result and print the employee names
: while (rset.next ())
: System.out.println (rset.getString ("EVENT_ID"));
: System.out.println (rset.getString ("PARENT_EVENT_ID"));
: I have previously used another IDE (KAWA) and this works fine.
: Thanks
: Mark
null

Similar Messages

  • JD3 - Load error.

    I successfully constructed and ran project in a workspace and
    then saved it. Upon reopening it, I get an Information popup
    describing a Load error on the only project in the workspace:
    Load error.
    Project: C:\Program Files\Oracle\JDeveloper 3.0
    \myprojects\scc_soa.jpr
    Exception: oracle.jbo.dt.objects.JboException
    Load error.
    Project: C:Progam Files\Oracle\JDeveloper 3.0
    \myprojects\scc_soa.jpr
    Object: lightInfo
    Exception: java.lang.ClassCastException
    The curious thing is that after dismissing the popup, the
    applet/application runs. However, I cannot use the visual
    designer on the class that defines my query nor deploy the app.
    How can I trace down the problem?
    null

    Laura -
    Thanks for the replies! The application I'm working on is an
    Infobus project that was working against an 7.3.4 database. Last
    monday night the database was upgraded to 8.0.4. Yesterday, the
    problems persisted with the load errors, so I'm planning on
    rebuilding the project/workspace and migrating the old
    application on top of newly created business components.
    - Scott
    JDeveloper Team (guest) wrote:
    : Hi Scott,
    : The AppModule can be created in one of two ways. When you go
    : through the Business Component wizard, on the page where you
    : select your tables and views, there are two checkboxes below:
    one
    : for 'Create View Objects and Links' and a second for 'Create
    App
    : Module'. If you selected those in the BC Wizard, your app
    module
    : would be created by default based on all the entities you
    : selected.
    : The other way to do it is to select the package where all
    your
    : entities and views are located, and select Create AppModule
    from
    : the right-mouse menu (or go to the File\New gallery). If you
    go
    : this way, you hand-pick which views to include in the App
    Module
    : versus having them all put there by default.
    : Tables without primary keys should not be a problem unless the
    : database is a 7.3.x. In 8.x, we use the rowid column as a
    : substitute for a primary key, but there were structural
    changes
    : to the rowid element between 7 and 8, so we can't do that for
    7.
    : What type of project are you trying to migrate from 2.0? Is
    it a
    : DBServlet or Infobus project?
    : Laura
    : Scott (guest) wrote:
    : : Laura -
    : : I did create the project with Business Components.
    : : In Business Components Project Wizard: Step 3 of 3, I
    selected
    : : many tables and views from my schema. I do have an appModule
    : but
    : : do not recall how it was created (and I am unable to edit it
    : : same exceptions as before).
    : : I think the problem may be with a couple of the dozen or so
    : : tables and views in the schema that are referenced by the
    : : project (too much to type!). One of the tables does not have
    a
    : : primary key. This table is used in a view that is
    constructed
    : : with an outer join and an optimizer hint. I have started in
    : : another workspace to re-build my application, verifying each
    : new
    : : component added to the project. Neither the table nor the
    view
    : : could be added through the
    : : File/New/BusinessComponents/EntityObject method. I could
    send
    : : the project/workspace with the table/view descriptions if
    the
    : : entities mentioned above are supported by the Business
    : Component
    : : model.
    : : What I would really like to do is migrate the application I
    : : developed in JD2 to JD3 without having to re-construct it or
    : : redesign the database.
    : : JDeveloper Team (guest) wrote:
    : : : Scott,
    : : : Can you provide some details to help track down the
    possible
    : : : source of this problem?
    : : : 1. I am assuming you have created a 'Project containing
    : : Business
    : : : Components' and then run through the Business Component
    : Wizard
    : : to
    : : : create entity objects, and possibly also view objects and
    an
    : : : appModule. If this is not the case, could you let me know
    : : what
    : : : steps you performed when you 'constructed and ran project'.
    : : : 2. Can you provide some information about the database
    schema
    : : you
    : : : created your entity objects on (table descriptions, etc.).
    : : : If there is way too much information to type, let me know
    and
    : : : we'll figure out a way for you to send us your project so
    we
    : : can
    : : : see what is causing the problem.
    : : : Thanks,
    : : : Laura
    : : : Scott (guest) wrote:
    : : : : I successfully constructed and ran project in a
    workspace
    : : and
    : : : : then saved it. Upon reopening it, I get an Information
    : popup
    : : : : describing a Load error on the only project in the
    : workspace:
    : : : : Load error.
    : : : : Project: C:\Program Files\Oracle\JDeveloper 3.0
    : : : : \myprojects\scc_soa.jpr
    : : : : Exception: oracle.jbo.dt.objects.JboException
    : : : : Load error.
    : : : : Project: C:Progam Files\Oracle\JDeveloper 3.0
    : : : : \myprojects\scc_soa.jpr
    : : : : Object: lightInfo
    : : : : Exception: java.lang.ClassCastException
    : : : : The curious thing is that after dismissing the popup,
    the
    : : : : applet/application runs. However, I cannot use the
    visual
    : : : : designer on the class that defines my query nor deploy
    the
    : : app.
    : : : : How can I trace down the problem?
    null

  • JD3 loading error

    As per your earlier suggestion re my Dr. Watson error, I've
    downloaded and installed JD3 without incident, after removing
    all other development environments.
    On loading the Jdeveloper.exe -use1.2 program, the following
    error appears:
    java.lang.NoClassDefFoundError:
    borland/jbuilder/ide/zip/IdeZipSystem_Impl.
    Ther error when loading the 1.1.8 version is the following,
    after which the IDE loads normally:
    JniPortal for E:\JDeveloper\java\bin\javai.dll reported
    oracle/xml/parser/v2/DOMParser
    java.lang.NoClassDefFoundError: oracle/xml/parser/v2/DOMParser
    at
    at borland.jbuilder.addin.impl.AddinManager.$Vcb
    (Compiled Code)
    at borland.jbuilder.addin.impl.AddinManager.start
    (Compiled Code)
    at
    borland.jbuilder.addin.impl.AddinManagerIdeInterface.start
    (Compiled Code)
    at
    borland.jbuilder.addin.impl.IAddinManager_JavaDispatch.invoke
    (Compiled Code)
    null

    I am getting the same error / situation with a much smaller
    subset of the previous project that only has 10 or 12 tables with
    far fewer assocations.
    This is really a show stopper for me as the BC4J part of the
    project become broken until I regenerate it.
    null

  • No ocijdbc8 Error (RH71,ORA816,JDK1.3)

    I meet same ploblem when change any element
    for connect remote db:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.l
    ibrary.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:209)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at JdbcCheckup.main(JdbcCheckup.java:42)
    the program is $ORACLE_HOME/jdbc/demo/samples/oci8/bisic_samplem/JdbcCheckup.java
    OS: RH7.1(japanese)
    JDK : JDK1.3(JDK1.2.2 dont work on RH71)
    ORACLE: oracle EE816 for Linux
    (libocijdbc8.so is in the $ORACLE_HOME/lib)
    JDBC: classes12.zip for solaris(oracle816)
    please help me,thank you.
    xu
    null

    Xu Fang,
    OCI8 (JDBC 1.2 'thick' driver) is not supported on Linux (8.1.5,8.1.6 or 8.1.7). You can use the thin driver, but not the OCI8 driver.
    Regards,
    Josue Amaro
    Linux Product Manager
    Oracle Corporation
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Xu FANG ([email protected]):
    I meet same ploblem when change any element
    for connect remote db:<HR></BLOCKQUOTE>
    null

  • Java.lang.UnsatisfiedLinkError: no ocijdbc8

    I received the java.lang.UnsatisfiedLinkError: no ocijdbc8 error while running the following command:
    java OracleXML putXML -user xxx/xxx .....
    I saw a few posts regarding dll files for NT but nothing for AIX.
    Any help would be greatly appreciated.
    Thanks,
    John

    Hi Jinyu,
    Here are the things I was checking for to fix this error.
    I made sure the xsu12.jar and classes12.zip file were in the classpath, and they are.
    I made sure the directory that contains the libocijdbc8.so library was in the classpath. It wasn't so I added it.
    I added the directory that holds the libocijdbc8.so library to the LD_LIBRARY_PATH env variable.
    Thanks,
    John

  • Error launching ifsmgr: ocijdbc8 not found

    Hi,
    I have the following error when starting the ifsmgr :
    [u01/app/oracle/product/8.1.7/ifs1.1/bin]#ifsmgr
    [u01/app/oracle/product/8.1.7/ifs1.1/bin] #Exception occurred during event dispatching:
    java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library path
    After a deep search on the whole disk, it seems that this file 'ocijdbc8' is definitely not present, although the iFS installation was said to be successfull.
    What's the problem ? How to get this lib ?
    Thanks in advance, regards,
    Arnaud
    null

    Hi Brian, first of all, thanks for your answer.
    Well the "ifsmgr" command is just a script. If I look into it, I see that it calls the "ifsenv.sh" script which function is to set all necessary environment variables. In this script I can see :
    OH=/mnt/lvol9/u01/app/oracle/product/8.1.7
    export OH
    (my ORACLE_HOME directory)
    then, later...:
    ORACLE_LIB=$OH/lib
    export ORACLE_LIB
    and finally :
    LD_LIBRARY_PATH=/usr/openwin/lib:$IFS_JRE_LIB:$ORACLE_LIB:$ORACLE_HOME/ctx/lib:$
    ORACLE_JDBC_LIB
    export LD_LIBRARY_PATH
    So the $ORACLE_HOME/lib is set automatically by this script...
    That's why I don't understand what's going on. The LD_LIBRARY_PATH is well set, but the prog is unable to locate this lib. Further more, as I told, I'm not able to find on my whole disk a file named "ocijdbc8.*".
    Any idea ?
    Thanks and regards
    Arnaud
    null

  • JD3.2: DACF: Error distribution

    I am trying to process errors which arise when user tries to commit empty value for NOT NULL column in GridControl. I successfully intercept DAC-603 error and handle it. But, there are actually two errors raised in response of this user action: one from Client Framework (DAC-307) and another from Server Framework (DAC-314). I can process the first one and just veto another. No problem... in this case.
    However, from this example I see that I don't understand the mechanism of DACF error distribution. Particularly, I want to know:
    1. What is the difference between Client and Server frameworks in terms of DACF error messages? Does it reflect separation into InfoSwing components and InfoProducers?
    2. Where do these frameworks take information about NOT NULL constraints from?
    3. Why the Client Framework passes the information to Server Framework while it knows that information is invalid? Can I prevent it?
    I didn't find anything about it in JD 3.2 documentation.

    Adam,
    I retrieved information about error processing from the following sections of JD3.2 documentaion:
    1. Developing Data Forms for Business Components->
    Programming the Data Form Client Runtime->
    Retrieving Error Message Object Information in Data Forms
    2. 1. Developing Data Forms for Business Components->
    Programming the Data Form Client Runtime->
    Using the Provided Error Loggers in a Data Form
    3. Reference for oracle.dacf.util.errormanager and oracle.dacf.util.errorloggers APIs.
    Here are snippets from my error processing code. ClassesEditor is a modal dialog which attaches its own ErrorManagerListener to ErrorManager when gets activated and removes it before closing. Editor consists of single DACF GridControl. ErrorParser is a utility class for retrieving concatenated error description. Its method was taken from the thread 'About JBO messages and DacfErrorMessageContext'.
    class ClassesEditor extends JDialog
    private void jbInit() throws Exception
    this.addWindowListener(new java.awt.event.WindowAdapter()
    public void windowClosing(WindowEvent e)
    processWindowClosing(e);
    public void windowActivated(WindowEvent e)
    processWindowActivated(e);
    private void processWindowClosing(WindowEvent e)
    ErrorManager.removeErrorManagerListener((new ErrorHandler()).getName());
    void processWindowActivated(WindowEvent e)
    try {
    ErrorManager.addErrorManagerListener(new ErrorHandler());
    catch(NameAlreadyRegisteredException exception) {
    private class ErrorHandler implements ErrorManagerListener
    public void addingErrorMessage(ErrorMessage message)
    throws oracle.dacf.util.errormanager.ErrorMessageVetoException
    String errorMessage=ErrorParser.getJboErrorMessageStack(message);
    if(errorMessage.indexOf("ORA-00001")!=-1)
    JOptionPane.showMessageDialog(ClassesEditor.this,
    "Class name should be unique", "Error",
    JOptionPane.ERROR_MESSAGE);
    else if(errorMessage.indexOf("DAC-603")!=-1)
    //catch the client error, ignore the similar server one
    if(message.getMessageText().getId().toString().equals("DAC-307"))
    JOptionPane.showMessageDialog(ClassesEditor.this,
    "Class name should not be empty", "Error",
    JOptionPane.ERROR_MESSAGE);
    else
    return;
    throw new ErrorMessageVetoException("Error processed. "+getName());
    public String getName()
    return "Class editor's error handler";
    public void removingErrorMessage(ErrorMessage parm1)
    throws oracle.dacf.util.errormanager.ErrorMessageVetoException
    public void rollingBackAddingErrorMessage(ErrorMessage parm1)
    public void rollingBackRemovingErrorMessage(ErrorMessage parm1)
    import oracle.dacf.util.errormanager.*;
    import oracle.dacf.dataset.*;
    import oracle.jbo.*;
    public class ErrorParser
    ** Walk through JBO error stack and create a concatenated
    error message.
    ** @return JBO error message
    public static String getJboErrorMessageStack(ErrorMessage em)
    StringBuffer returnvalue = new StringBuffer();
    ErrorMessageContext context=em.getErrorMessageContext();
    if(context!=null && context instanceof DacfErrorMessageContext)
    if(((DacfErrorMessageContext)context).getException()
    instanceof DacfRuntimeException)
    Exception origException=((DacfRuntimeException)
    ((DacfErrorMessageContext)context).getException()).
    getOriginalException();
    if(origException!=null)
    returnvalue.append(origException.getMessage());
    Object [] details = null;
    if(origException instanceof JboException)
    details=((JboException)origException).getDetails();
    if(details!=null && details.length>0)
    for(int i=0;i<details.length;i++)
    if(details[i] instanceof JboException)
    returnvalue.append("\n");
    returnvalue.append(((JboException)details).getMessage());
    else if (details[i] instanceof Exception)
    returnvalue.append("\n");
    returnvalue.append(((Exception)details[i]).getMessage());
    return returnvalue.toString();
    Thi s code works well. However, one still has to empirically discover all possible errors in application and incrementally add custom error processing code. It would be nice to have some error management patterns based on various popular constraints like NOT NULL and UNIQUE. In any case, DAC error messages reference would be helpful.
    Hope this helps,
    Vladimir
    null

  • JD3-Error deploying Oracle Java Libraries

    I get the following error when trying to deploy Oracle 8.1.5
    JDBC, Connection Manager, and JBO Runtime libraries:
    initialization complete
    loading : oracle/sql/converter/CharacterConverter
    creating : oracle/sql/converter/CharacterConverter
    loading : oracle/jdbc/oracore/OracleTypeREF
    creating : oracle/jdbc/oracore/OracleTypeREF
    Error while creating class oracle/jdbc/oracore/OracleTypeREF
    ORA-01031: insufficient privileges
    loading : oracle/jdbc/ttc7/TTCDataSet
    creating : oracle/jdbc/ttc7/TTCDataSet
    Error while creating class oracle/jdbc/ttc7/TTCDataSet
    ORA-01031: insufficient privileges
    loading : oracle/jpub/runtime/MutableArray
    creating : oracle/jpub/runtime/MutableArray
    loading : oracle/sql/converter/CharacterConverterSJIS
    creating : oracle/sql/converter/CharacterConverterSJIS
    loading : oracle/jdbc/ttc7/TTCAdapter
    creating : oracle/jdbc/ttc7/TTCAdapter
    Error while creating class oracle/jdbc/ttc7/TTCAdapter
    ORA-01031: insufficient privileges
    null

    Thank you very much for your quick response.
    So, then I tried to deploy my classes without including the
    Oracle libraries in the advanced deploy options, and this is
    what I got (I try to deploy a Java Stored Procedure which calls
    Oracle Business Components for Java. It's working all fine
    locally in a Java VM, but now I want to access that remotely
    through a Java Stored Procedure):
    *** Executing deployment profile C:\Program
    Files\Oracle\JDeveloper 3.0\myprojects\SPProfile1.prf ***
    *** Generating archive file C:\Program Files\Oracle\JDeveloper
    3.0\myclasses\SPProfile4_Untitled.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Loading archive C:\Program Files\Oracle\JDeveloper 3.0
    \myclasses\SPProfile4_Untitled.jar into JServer using JDBC ***
    Load Java argument list:
    "C:\Program Files\Oracle\JDeveloper 3.0\java\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.0\bin;C:\Program
    Files\Oracle\JDeveloper 3.0\java\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.0
    \java\lib\classes.zip;C:\Program Files\Oracle\JDeveloper 3.0
    \lib\jdeveloper.zip;C:\Program Files\Oracle\JDeveloper 3.0
    \myclasses;C:\Program Files\Oracle\JDeveloper 3.0\lib\jdev-
    rt.zip;C:\Program Files\Oracle\JDeveloper 3.0
    \jdbc\lib\oracle8.1.5\classes111.zip;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\connectionmanager.zip;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\jbodatum.zip;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\jbomt.zip;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\jboremote.zip;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\jndi.jar;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\xmlparserv2.jar;C:\Program
    Files\Oracle\JDeveloper 3.0\aurora\lib\aurora.zip;C:\Program
    Files\Oracle\JDeveloper 3.0\lib\jboejb.jar;C:\Program
    Files\Oracle\JDeveloper 3.0
    \aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper
    3.0\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \lib\javax_ejb.zip;C:\Program Files\Oracl
    \JDeveloper 3.0\java\lib\classes.zip;C:\Program
    Files\Oracle\JDeveloper 3.0
    \aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper
    3.0\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.0
    \jdbc\lib\oracle8.1.5\classes111.zip"
    oracle.aurora.server.tools.LoadJavaMain
    -user
    devp/[email protected]:1521:MWAY
    -thin
    -verbose
    -resolve
    "C:\Program Files\Oracle\JDeveloper 3.0
    \myclasses\SPProfile4_Untitled.jar"
    AppAccelerator(tm) 1.1.8 for Java (JDK 1.1), x86 version.
    Copyright (c) 1997-1998 Borland International. All Rights
    Reserved.
    Copyright (c) 1997-1999 Oracle Corporation. All Rights Reserved.
    initialization complete
    identical: package1/CommuterRegionSubscriptionViewImpl is
    unchanged from previously loaded file
    identical: package1/ErikProc2Lib is unchanged from previously
    loaded file
    identical: package1/TestReadTable2 is unchanged from previously
    loaded file
    identical: package1/CommuterEtakRegionImpl is unchanged from
    previously loaded file
    identical: package1/CommuterRegionSubscriptionImpl is unchanged
    from previously loaded file
    identical: package1/CommuterEtakRegionViewImpl is unchanged from
    previously loaded file
    identical: package1/Package1ModuleImpl is unchanged from
    previously loaded file
    identical: package1/ErikProc is unchanged from previously loaded
    file
    identical: package1/ErikProc2 is unchanged from previously
    loaded file
    identical: package1/CommuterRegionSubscription.xml is unchanged
    from previously loaded file
    identical: package1/FkCommuterEtakRegionSubAssoc.xml is
    unchanged from previously loaded file
    identical: package1/FkCommuterEtakRegionSubLink.xml is unchanged
    from previously loaded file
    identical: package1/CommuterRegionSubscriptionView.xml is
    unchanged from previously loaded file
    identical: META-INF/MANIFEST.MF is unchanged from previously
    loaded file
    identical: package1/package1.xml is unchanged from previously
    loaded file
    loading : connections.properties
    creating : connections.properties
    identical: package1/Package1Module.xml is unchanged from
    previously loaded file
    resolver :
    resolving: package1/CommuterRegionSubscriptionViewImpl
    Error while resolving class
    package1/CommuterRegionSubscriptionViewImpl
    ORA-29554: unhandled Java out of memory condition
    package1/ErikProc2Lib is already resolved
    resolving: package1/TestReadTable2
    Error while resolving class package1/TestReadTable2
    ORA-29554: unhandled Java out of memory condition
    resolving: package1/CommuterEtakRegionImpl
    Error while resolving class package1/CommuterEtakRegionImpl
    ORA-29554: unhandled Java out of memory condition
    resolving: package1/CommuterRegionSubscriptionImpl
    Error while resolving class
    package1/CommuterRegionSubscriptionImpl
    ORA-29554: unhandled Java out of memory condition
    resolving: package1/CommuterEtakRegionViewImpl
    Error while resolving class package1/CommuterEtakRegionViewImpl
    Exception java.sql.SQLException: No more data to read from
    socket
    initialization complete
    resolving: package1/Package1ModuleImpl
    Error while resolving class package1/Package1ModuleImpl
    ORA-29554: unhandled Java out of memory condition
    package1/ErikProc is already resolved
    package1/ErikProc2 is already resolved
    loadjava: 6 errors
    *** Errors occurred while loading the archive into JServer ***
    *** Deployment completed ***
    Thank you very much for your cooperation,
    Erik :-)
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    JDev Team (guest) wrote:
    : Erik,
    : A lot of the oracle. packages already exist in the server in
    the
    : SYS namespace because they are used by the JDK in the server.
    If
    : you try to deploy them, the server thinks you
    : are trying to overwrite and it won't let you. The oracle.jdbc
    : and oracle.sql stuff is definitely already there. I suspect
    the
    : oracle.jpub stuff is there as well.
    : In JDeveloper, you can see what's in the SYS namespace by
    using
    : the database browser. Double-click the connection you're
    using
    : to deploy to the database under the Connections folder. This
    : will display the Database Browser. Expand the 'Database
    Schemas'
    : folder, SYS, then Deployed Java Classes. Under there, you'll
    see
    : packages such as 'com','sun', 'javax', etc. You can expand
    each
    : of those to see if the one you're trying to deploy already
    : exists.
    : In JDeveloper 2.0, you control which dependency
    packages/classes
    : are deployed with the 'Dependencies' page of the deployment
    : profile wizard. In JDev 3.0, this information is available
    from
    : the 'Advanced' button on the Projects page. Make sure to
    remove
    : any packages from your deployment profile that already exist
    in
    : the SYS schema.
    : Use the Preview button to make sure your deployment archive
    : contains only those files you want to deploy, and not any
    : additional dependencies which are already in the server.
    : Laura
    : Erik Mailhiot (guest) wrote:
    : : I get the following error when trying to deploy Oracle 8.1.5
    : : JDBC, Connection Manager, and JBO Runtime libraries:
    : : initialization complete
    : : loading : oracle/sql/converter/CharacterConverter
    : : creating : oracle/sql/converter/CharacterConverter
    : : loading : oracle/jdbc/oracore/OracleTypeREF
    : : creating : oracle/jdbc/oracore/OracleTypeREF
    : : Error while creating class oracle/jdbc/oracore/OracleTypeREF
    : : ORA-01031: insufficient privileges
    : : loading : oracle/jdbc/ttc7/TTCDataSet
    : : creating : oracle/jdbc/ttc7/TTCDataSet
    : : Error while creating class oracle/jdbc/ttc7/TTCDataSet
    : : ORA-01031: insufficient privileges
    : : loading : oracle/jpub/runtime/MutableArray
    : : creating : oracle/jpub/runtime/MutableArray
    : : loading : oracle/sql/converter/CharacterConverterSJIS
    : : creating : oracle/sql/converter/CharacterConverterSJIS
    : : loading : oracle/jdbc/ttc7/TTCAdapter
    : : creating : oracle/jdbc/ttc7/TTCAdapter
    : : Error while creating class oracle/jdbc/ttc7/TTCAdapter
    : : ORA-01031: insufficient privileges
    null

  • Permission error on ocijdbc8 library from applet.

    I have an applet that access a database. I am currently getting a permission error on the above library. The applet will work if I set java.security.AllPermission, but I do not want to do this. Also, the library is in oracle_client/lib...so would I have to distribute this too.
    There is probably something I am doing wrong. I have heard reference to using thin drivers for applets. Do I use a thin driver, and if so...HOW?
    Thanks! Any and all answers are very much appreciated!

    I change this:
    Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:@" + database, user, password);To this:
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@" + database, user, password);And I got this error:
    oracle.net.TNSAddress.SOException
    Does anyone know what this mean.
    Thanks again!

  • Error while creating a JDBC connection to Oracle 11g using WLS 6.1

    Hi
    I am trying to connect to Oracle 11g database on Weblogic 6.1 server.
    First of all i would like to know if this is compatible?
    The environement that i have is this
    1. JDK 1.3
    2. Database 11g is on remote system
    3. Oracle client on my local system ( Connecting to the 11g DB through the client works fine)
    4. Weblogic server 6.1
    5. Currently the application is connected to Oracle 10g DB and working fine(We are attempting to move it to 11g)
    Below are the steps that i followed to create the connection:
    1. Made an entry for the datasource in config.xml under <WLS_DOMAIN>/config folder as below
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    MaxCapacity="4" Name="CADConnectionPool"
    Properties="user=abc_proxy;password=proxy_abc;dll=ocijdbc8;protocol=thin"
    RefreshMinutes="5" ShrinkPeriodMinutes="10" Targets="CAsvr"
    TestConnectionsOnRelease="true" TestConnectionsOnReserve="true"
    TestTableName="dual" URL="jdbc:oracle:thin:@gen11t-ora.db.lab.xyz.com:1530:GEN11T"/>
    2. Restarted the server.
    3. Ran the application and get the following error on the server console:
    <Aug 22, 2011 12:39:42 AM CDT> <Error> <JDBC> <Cannot startup connection pool "C
    ADConnectionPool" weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.lang.ArrayIndexOutOfBoundsException
    at oracle.security.o3logon.C0.r(C0)
    at oracle.security.o3logon.C0.l(C0)
    at oracle.security.o3logon.C1.c(C1)
    at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientH
    elper)
    at oracle.jdbc.ttc7.O3log.<init>(O3log.java:289)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:251)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:246)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:193)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:134)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
    cator.java:705)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
    ava:282)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:650)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:360)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
    loymentTarget.java:285)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
    ments(DeploymentTarget.java:239)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
    DeploymentTarget.java:199)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy31.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
    yments(ServerMBean_CachingStub.java:2977)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
    er(ApplicationManager.java:372)
    at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
    nManager.java:160)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy42.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
    .start(ApplicationManagerMBean_CachingStub.java:480)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1234)
    at weblogic.management.Admin.finish(Admin.java:644)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:524)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
    at weblogic.Server.main(Server.java:35)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:209)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:134)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
    cator.java:705)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
    ava:282)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:650)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:360)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
    loymentTarget.java:285)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
    ments(DeploymentTarget.java:239)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
    DeploymentTarget.java:199)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy31.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
    yments(ServerMBean_CachingStub.java:2977)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
    er(ApplicationManager.java:372)
    at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
    nManager.java:160)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy42.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
    .start(ApplicationManagerMBean_CachingStub.java:480)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1234)
    at weblogic.management.Admin.finish(Admin.java:644)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:524)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
    at weblogic.Server.main(Server.java:35)
    Can't load scjd12.dll, file not found java.library.path=C:\jdk1.3.1_11\bin;.;C:\WINDOWS\system32;C:\WINDOWS;.\bin;C:\P
    rogram Files\Lotus\Notes\Data;C:\Program Files\Lotus\Notes;C:\Program Files\Java
    \jre1.5.0_17\bin;C:\Program Files\Java\j2re1.4.2_06\bin;C:\Oracle\bin;C:\Program
    Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\sys
    tem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\sys
    tem32\nls\ENGLISH;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Rational
    \common;C:\Program Files\Rational\ClearCase\bin;C:\apache-ant-1.6.5\bin;C:\jdk1.
    3.1_11\bin;C:\Program Files\Citrix\ICAService\;C:\Program Files\Citrix\System32\
    ;Z:.
    <Aug 22, 2011 12:38:06 AM CDT> <Info> <JDBC> <Sleeping in createResource()>
    <Aug 22, 2011 12:38:07 AM CDT> <Error> <JDBC> <Cannot startup connection pool "c
    ispool" weblogic.common.ResourceException:
    Could not load 'com.neon.jdbc.Driver
    If this is a type-4 JDBC driver, it could occur if the JDBC
    driver is not in the system CLASSPATH.
    If this is a type-2 JDBC driver, it may also indicate that
    the Driver native layers(DBMS client lib or driver DLL)
    have not been installed properly on your system
    or in your PATH environment variable.
    This is most likely caused by one of the following:
    1. The native layer SO, SL, or DLL could not be found.
    2. The file permissions on the native layer SO, SL, or DLL
    have not been set properly.
    3. The native layer SO, SL, or DLL exists, but is either
    invalid or corrupted.
    For more information, read the installation documentation
    for your JDBC Driver, available from:
    http://e-docs.bea.com
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:212)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:134)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
    cator.java:705)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
    ava:282)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:650)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:360)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
    loymentTarget.java:285)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
    ments(DeploymentTarget.java:239)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
    DeploymentTarget.java:199)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy31.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
    yments(ServerMBean_CachingStub.java:2977)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
    er(ApplicationManager.java:372)
    at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
    nManager.java:160)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy42.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
    .start(ApplicationManagerMBean_CachingStub.java:480)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1234)
    at weblogic.management.Admin.finish(Admin.java:644)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:524)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
    at weblogic.Server.main(Server.java:35)
    Would like some help on this asap as the project is in critical stage.
    Thanks

    The driver being used by your weblogic is too old and incompatible with the DBMS. Upgrade the driver.

  • Gettig error connecting to Oracle DB with weblogic 6.1

    I am getting this error when I try to make a connection to an Oracle817 DB.
    I am using Oracles drviers (classes12.zip)
    <Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Cannot startup connection pool
    "genPool" Test table must be specifed for genPool with 'test connection on
    reserve' or 'test connection on release' or 'refresh minutes' set higher
    than 0.>
    <Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Creating TX Data Source named
    weblogic.jdbc.jts.genPool for pool genPool>
    <Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Checking existence of connection
    pool genPool requested by user system>
    <Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Error during Data Source
    creation: weblogic.common.ResourceException:
    DataSource(weblogic.jdbc.jts.genPool) can't be created with non-existent
    Pool (connection or multi) (genPool)>
    I have created a connction pool called genPool,
    set the URL :jdbc:oracle:thin:@genoracle:1521:GENORANY
    driver class name = oracle.jdbc.driver.OracleDriver
    Properties:
    user=name ** where name is user
    password=xx **where xx is password
    dll=ocijdbc8
    protocol=thin
    I created the Tx Data Sources with
    name = weblogic.jdbc.jts.genPool
    jndi = weblogic.jdbc.jts.genPool
    poolname = genPool
    Can anyone help me through this, it would be a great help
    Rafid Wahab

    Other solution:
    on refresh period, default value is 1 minute, force this value at 0 and your connection
    is ok.
    Eric
    Joseph Weinstein <[email protected]> wrote:
    Redo the pool definition, and set 'test connection on reserve'. Don't
    set 'test connections on release', and leave refresh minutes alone.
    add a test table. DUAL is perfect for that. Everything else seems
    fine.
    Joe
    Rafid wrote:
    I am getting this error when I try to make a connection to an Oracle817DB.
    I am using Oracles drviers (classes12.zip)
    <Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Cannot startup connectionpool
    "genPool" Test table must be specifed for genPool with 'test connectionon
    reserve' or 'test connection on release' or 'refresh minutes' set higher
    than 0.>
    <Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Creating TX Data Sourcenamed
    weblogic.jdbc.jts.genPool for pool genPool>
    <Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Checking existence of connection
    pool genPool requested by user system>
    <Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Error during Data Source
    creation: weblogic.common.ResourceException:
    DataSource(weblogic.jdbc.jts.genPool) can't be created with non-existent
    Pool (connection or multi) (genPool)>
    I have created a connction pool called genPool,
    set the URL :jdbc:oracle:thin:@genoracle:1521:GENORANY
    driver class name = oracle.jdbc.driver.OracleDriver
    Properties:
    user=name ** where name is user
    password=xx **where xx is password
    dll=ocijdbc8
    protocol=thin
    I created the Tx Data Sources with
    name = weblogic.jdbc.jts.genPool
    jndi = weblogic.jdbc.jts.genPool
    poolname = genPool
    Can anyone help me through this, it would be a great help
    Rafid Wahab

  • Error connecting to oracle DB using SAS 8.1

    Hi,
    I am using SAS 8.1(2005 Q1) and the oracle server is 9.2.0.1. I am trying to run a sample application given in the app server (jdbc-simple) and it's not connecting to the database.
    I am using oracle thin driver.
    I have created the jdbc connection pool named jdbc-pool too. Is there anything else I shud do? I am able to ping to the database using this connection pool but not able to run the application and getting http status 500 error with the following message:
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key exception
    This is the server.log file:
    [#|2005-08-22T13:04:45.356+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=11;|WEB0783: Error commiting response
    java.io.IOException: An existing connection was forcibly closed by the remote host
         at sun.nio.ch.SocketDispatcher.write0(Native Method)
         at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
         at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
         at sun.nio.ch.IOUtil.write(IOUtil.java:75)
         at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
         at java.nio.channels.Channels.write(Channels.java:60)
         at java.nio.channels.Channels.access$000(Channels.java:47)
         at java.nio.channels.Channels$1.write(Channels.java:134)
         at org.apache.coyote.http11.InternalOutputBuffer.commit(InternalOutputBuffer.java:602)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.action(ProcessorTask.java:749)
         at org.apache.coyote.Response.action(Response.java:188)
         at org.apache.coyote.Response.sendHeaders(Response.java:380)
         at org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:357)
         at org.apache.coyote.tomcat5.OutputBuffer.close(OutputBuffer.java:318)
         at org.apache.coyote.tomcat5.CoyoteResponse.finishResponse(CoyoteResponse.java:496)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:188)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    |#]
    [#|2005-08-22T13:05:34.432+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=12;|RAR6017 : Failed to get connection pool object via JNDI lookup : jdbc-pool|#]
    [#|2005-08-22T13:07:39.704+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=13;|DPL5109: EJBC - START of EJBC for [jdbc-simple]|#]
    [#|2005-08-22T13:07:39.724+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=13;|Processing beans ...|#]
    [#|2005-08-22T13:07:39.814+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=13;|DPL5110: EJBC - END of EJBC for [jdbc-simple]|#]
    [#|2005-08-22T13:07:41.707+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=13;|Total Deployment Time: 10042 msec, Total EJB Compiler Module Time: 110 msec, Portion spent EJB Compiling: 1%
    Breakdown of EJBC Module Time: Total Time for EJBC: 110 msec, CMP Generation: 0 msec (0%), Java Compilation: 0 msec (0%), RMI Compilation: 0 msec (0%), JAX-RPC Generation: 50 msec (45%),
    |#]
    [#|2005-08-22T13:07:42.568+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=13;|deployed with moduleid = jdbc-simple|#]
    [#|2005-08-22T13:07:43.459+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=14;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- reference-added jdbc-simple]|#]
    [#|2005-08-22T13:07:43.669+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=14;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2005-08-22T13:07:43.759+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=14;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- deploy jdbc-simple]|#]
    [#|2005-08-22T13:07:44.159+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=14;|Instantiated container for: ejbName: jdbc-simpleEJB; containerId: 73708094084546560|#]
    [#|2005-08-22T13:07:44.430+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=14;|LDR5010: All ejb(s) of [jdbc-simple] loaded successfully!|#]
    [#|2005-08-22T13:07:44.440+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=14;|WEB0100: Loading web module [jdbc-simple:jdbc-simple.war] in virtual server [server] at [/jdbc-simple]|#]
    [#|2005-08-22T13:07:45.982+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=14;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2005-08-22T13:10:48.029+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    GreeterDBServlet is executing ...|#]
    [#|2005-08-22T13:10:48.029+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    Retrieving JNDI initial context...|#]
    [#|2005-08-22T13:10:48.049+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    - Retrieved initial context successfully|#]
    [#|2005-08-22T13:10:48.049+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    Looking up dbGreeter bean home interface...|#]
    [#|2005-08-22T13:10:48.049+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    - Looking up: java:comp/env/ejb/jdbc-simple|#]
    [#|2005-08-22T13:10:48.169+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    - Looked up the EJB successfully|#]
    [#|2005-08-22T13:10:48.179+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    Creating the dbGreeter bean...|#]
    [#|2005-08-22T13:10:48.189+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    - Created EJB successfully  |#]
    [#|2005-08-22T13:10:48.189+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    Getting the message from the dbGreeter bean ...|#]
    [#|2005-08-22T13:10:48.229+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@1cce278|#]
    [#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@2848b1|#]
    [#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@bc9c25|#]
    [#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@af5e3c|#]
    [#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@153e9cf|#]
    [#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@1b16bd|#]
    [#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@7210ec|#]
    [#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@b4fa48|#]
    [#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@19bcae1|#]
    [#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@1249338|#]
    [#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@3d787c|#]
    [#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@1b12c9b|#]
    [#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@e797db|#]
    [#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@a2e5cc|#]
    [#|2005-08-22T13:10:48.239+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@1a7a525|#]
    [#|2005-08-22T13:10:48.249+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@52732d|#]
    [#|2005-08-22T13:10:48.249+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@107939f|#]
    [#|2005-08-22T13:10:48.249+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@6cdb70|#]
    [#|2005-08-22T13:10:48.249+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@baa4a4|#]
    [#|2005-08-22T13:10:48.249+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=16;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@18f22f3|#]
    [#|2005-08-22T13:10:48.259+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    ejbCreate() on obj samples.jdbc.simple.ejb.GreeterDBBean@15ec870|#]
    [#|2005-08-22T13:10:48.269+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    GreeterDB EJB is determining message...|#]
    [#|2005-08-22T13:10:48.269+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    - Message determined successfully|#]
    [#|2005-08-22T13:10:48.269+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    - Got this message from greeter bean: afternoon|#]
    [#|2005-08-22T13:10:48.269+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    Getting the name input to this servlet...|#]
    [#|2005-08-22T13:10:48.269+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    - Got name: gmfgmf|#]
    [#|2005-08-22T13:10:48.269+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    Recording the greeting in the database...|#]
    [#|2005-08-22T13:10:48.279+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    Getting datasource...|#]
    [#|2005-08-22T13:10:48.279+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    - Got datasource successfully|#]
    [#|2005-08-22T13:10:48.279+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    Getting connection...|#]
    [#|2005-08-22T13:10:48.870+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=15;|RAR5038:Unexpected exception while creating resource|#]
    [#|2005-08-22T13:10:48.870+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=15;|RAR5117 : Failed to obtain/create connection. Reason : Connection could not be allocated because: ORA-01017: invalid username/password; logon denied
    |#]
    [#|2005-08-22T13:10:48.870+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=15;|RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: Connection could not be allocated because: ORA-01017: invalid username/password; logon denied
    ]|#]
    [#|2005-08-22T13:10:48.870+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    - Could not interact with the database|#]
    [#|2005-08-22T13:10:48.880+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: ORA-01017: invalid username/password; logon denied
    |#]
    [#|2005-08-22T13:10:48.880+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    Storing the message in request object for the JSP...|#]
    [#|2005-08-22T13:10:48.880+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    - Stored message successfully|#]
    [#|2005-08-22T13:10:48.880+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    Dispatching JSP for output...|#]
    [#|2005-08-22T13:11:48.408+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    GreeterDBView JSP is executing...|#]
    [#|2005-08-22T13:11:48.408+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    GreeterDBView JSP is all done|#]
    [#|2005-08-22T13:11:48.418+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    - Dispatched JSP successfully|#]
    [#|2005-08-22T13:11:48.418+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    GreeterDBServlet is all done
    |#]
    [#|2005-08-22T13:11:53.283+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    GreeterDBServlet is executing ...|#]
    [#|2005-08-22T13:11:53.283+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    Retrieving JNDI initial context|#]
    [#|2005-08-22T13:11:53.293+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    - Retrieved initial context successfully|#]
    [#|2005-08-22T13:11:53.293+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    Getting datasource...|#]
    [#|2005-08-22T13:11:53.293+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    - Got datasource successfully|#]
    [#|2005-08-22T13:11:53.293+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    Getting connection|#]
    [#|2005-08-22T13:11:53.644+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=15;|RAR5038:Unexpected exception while creating resource|#]
    [#|2005-08-22T13:11:53.644+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=15;|RAR5117 : Failed to obtain/create connection. Reason : Connection could not be allocated because: ORA-01017: invalid username/password; logon denied
    |#]
    [#|2005-08-22T13:11:53.664+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=15;|RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: Connection could not be allocated because: ORA-01017: invalid username/password; logon denied
    ]|#]
    [#|2005-08-22T13:11:53.664+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    - Could not interact with the database|#]
    [#|2005-08-22T13:11:53.674+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=15;|StandardWrapperValve[GreeterDBLogDisplayServlet]: Servlet.service() for servlet GreeterDBLogDisplayServlet threw exception
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key exception
         at java.util.ResourceBundle.getObject(ResourceBundle.java:326)
         at java.util.ResourceBundle.getString(ResourceBundle.java:286)
         at samples.jdbc.simple.servlet.GreeterDBLogDisplayServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    |#]
    [#|2005-08-22T13:14:00.758+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop.  Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components.  |#]
    [#|2005-08-22T13:14:00.948+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|
    D:/j2eesdk-1_4_02/jdk\bin\java
    -client
    -Xmx512m
    -XX:NewRatio=2
    -Dcom.sun.aas.defaultLogFile=D:/j2eesdk-1_4_02/domains/domain1/logs/server.log
    -Dcom.sun.aas.verboseMode=true
    -Djava.endorsed.dirs=D:/j2eesdk-1_4_02/lib/endorsed
    -Djava.security.policy=D:/j2eesdk-1_4_02/domains/domain1/config/server.policy
    -Djava.security.auth.login.config=D:/j2eesdk-1_4_02/domains/domain1/config/login.conf
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Djavax.net.ssl.keyStore=D:/j2eesdk-1_4_02/domains/domain1/config/keystore.jks
    -Djavax.net.ssl.trustStore=D:/j2eesdk-1_4_02/domains/domain1/config/cacerts.jks
    -Djava.ext.dirs=D:/j2eesdk-1_4_02/jdk/jre/lib/ext;D:/j2eesdk-1_4_02/domains/domain1/lib/ext
    -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
    -Dcom.sun.aas.configName=server-config
    -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
    -Ddomain.name=
    -Djmx.invoke.getters=true
    -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
    -Dcom.sun.aas.promptForIdentity=true
    -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
    -Dcom.sun.aas.instanceRoot=D:/j2eesdk-1_4_02/domains/domain1
    -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
    -Dcom.sun.aas.domainName=
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Dproduct.name=Sun-Java-System/Application-Server
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
    -Dcom.sun.aas.configRoot=D:/j2eesdk-1_4_02/config
    -Djava.library.path=D:\j2eesdk-1_4_02\lib;D:\j2eesdk-1_4_02\lib;D:\j2eesdk-1_4_02\jdk\bin;.;C:\WINNT\system32;C:\WINNT;D:\j2eesdk-1_4_02\lib;D:\j2eesdk-1_4_02\bin;D:\j2eesdk-1_4_02\bin;D:\j2eesdk-1_4_02\bin;D:\oracle\ora81\lib;C:\j2sdk1.4.2_08\bin;D:\oracle\ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\Program Files\Oracle\jre\bin;c:\winnt;c:\winnt\system32;D:/j2eesdk-1_4_02/jdk/bin;D:/j2eesdk-1_4_02/lib;D:/j2eesdk-1_4_02/lib/locale;D:/JBuilder7/lib/bes;D:/j2eesdk-1_4_02/imq/lib/imqxm.jar;D:\j2eesdk-1_4_02\bin;D:/j2eesdk-1_4_02/bin
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -cp
    D:/j2eesdk-1_4_02/jdk/lib/tools.jar;D:/j2eesdk-1_4_02/lib/appserv-rt.jar;D:/j2eesdk-1_4_02/lib\activation.jar;D:/j2eesdk-1_4_02/lib\admin-cli.jar;D:/j2eesdk-1_4_02/lib\appserv-admin.jar;D:/j2eesdk-1_4_02/lib\appserv-cmp.jar;D:/j2eesdk-1_4_02/lib\appserv-ext.jar;D:/j2eesdk-1_4_02/lib\appserv-jstl.jar;D:/j2eesdk-1_4_02/lib\appserv-upgrade.jar;D:/j2eesdk-1_4_02/lib\commons-launcher.jar;D:/j2eesdk-1_4_02/lib\commons-logging.jar;D:/j2eesdk-1_4_02/lib\dom.jar;D:/j2eesdk-1_4_02/lib\j2ee-svc.jar;D:/j2eesdk-1_4_02/lib\j2ee.jar;D:/j2eesdk-1_4_02/lib\jax-qname.jar;D:/j2eesdk-1_4_02/lib\jaxr-api.jar;D:/j2eesdk-1_4_02/lib\jaxr-impl.jar;D:/j2eesdk-1_4_02/lib\jaxrpc-api.jar;D:/j2eesdk-1_4_02/lib\jaxrpc-impl.jar;D:/j2eesdk-1_4_02/lib\jmxremote.jar;D:/j2eesdk-1_4_02/lib\jmxremote_optional.jar;D:/j2eesdk-1_4_02/lib\jsf-api.jar;D:/j2eesdk-1_4_02/lib\jsf-impl.jar;D:/j2eesdk-1_4_02/lib\mail.jar;D:/j2eesdk-1_4_02/lib\relaxngDatatype.jar;D:/j2eesdk-1_4_02/lib\rmissl.jar;D:/j2eesdk-1_4_02/lib\saaj-api.jar;D:/j2eesdk-1_4_02/lib\saaj-impl.jar;D:/j2eesdk-1_4_02/lib\xalan.jar;D:/j2eesdk-1_4_02/lib\xercesImpl.jar;D:/j2eesdk-1_4_02/lib\xsdlib.jar;D:/j2eesdk-1_4_02/lib/install/applications/jmsra/imqjmsra.jar;D:/j2eesdk-1_4_02/imq/lib/jaxm-api.jar;D:/j2eesdk-1_4_02/imq/lib/fscontext.jar;D:/j2eesdk-1_4_02/lib/ant/lib/ant.jar;D:/j2eesdk-1_4_02/pointbase/lib/pbclient.jar;D:/j2eesdk-1_4_02/pointbase/lib/pbembedded.jar;${oracle.jdbc.lib.class.path}/ojdbc14.jar;${oracle.jdbc.lib.class.path}/ojdbc14_g.jar;${oracle.jdbc.lib.class.path}/ocrs12.zip
    com.sun.enterprise.server.PEMain
    stop
    verbose|#]Cud someone tell me why am I getting this error?
    Regards,
    shipf1

    Other solution:
    on refresh period, default value is 1 minute, force this value at 0 and your connection
    is ok.
    Eric
    Joseph Weinstein <[email protected]> wrote:
    Redo the pool definition, and set 'test connection on reserve'. Don't
    set 'test connections on release', and leave refresh minutes alone.
    add a test table. DUAL is perfect for that. Everything else seems
    fine.
    Joe
    Rafid wrote:
    I am getting this error when I try to make a connection to an Oracle817DB.
    I am using Oracles drviers (classes12.zip)
    <Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Cannot startup connectionpool
    "genPool" Test table must be specifed for genPool with 'test connectionon
    reserve' or 'test connection on release' or 'refresh minutes' set higher
    than 0.>
    <Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Creating TX Data Sourcenamed
    weblogic.jdbc.jts.genPool for pool genPool>
    <Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Checking existence of connection
    pool genPool requested by user system>
    <Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Error during Data Source
    creation: weblogic.common.ResourceException:
    DataSource(weblogic.jdbc.jts.genPool) can't be created with non-existent
    Pool (connection or multi) (genPool)>
    I have created a connction pool called genPool,
    set the URL :jdbc:oracle:thin:@genoracle:1521:GENORANY
    driver class name = oracle.jdbc.driver.OracleDriver
    Properties:
    user=name ** where name is user
    password=xx **where xx is password
    dll=ocijdbc8
    protocol=thin
    I created the Tx Data Sources with
    name = weblogic.jdbc.jts.genPool
    jndi = weblogic.jdbc.jts.genPool
    poolname = genPool
    Can anyone help me through this, it would be a great help
    Rafid Wahab

  • Steve Muench Chapter 12 error

    I'm trying to copy the examples in Steve's book (chapter 12) for multiple table inserts.. page 471.
    I created a type
    create type dmt_ingred_type as object (
    MSDS_NR NUMBER(7),
    SEQ_NR VARCHAR2(2),
    NIOSH VARCHAR2(9),
    PROPRI_IND VARCHAR2(3),
    CAS_NO VARCHAR2(11),
    INGRED_NAME VARCHAR2(255),
    PERCNT VARCHAR2(7),
    CALC_PERCNT NUMBER(9,7),
    OSHA_PEL VARCHAR2(20),
    ACGIH_TLV VARCHAR2(22),
    REC_LIMIT VARCHAR2(20),
    CARC_IND VARCHAR2(1),
    TMP1 VARCHAR2(15),
    TMP2 VARCHAR2(5),
    TMP3 VARCHAR2(2),
    TMP4 VARCHAR2(7),
    EXEMPT_IND CHAR(1),
    VAPOR_PRESSURE VARCHAR2(10),
    VAPOR_PRESSURE_UOM VARCHAR2(5),
    VAPOR_TEMP NUMBER(5),
    VAPOR_TEMP_UOM CHAR(1),
    COMMENTS VARCHAR2(50),
    VOC_REACTIVITY_CD VARCHAR2(2),
    STATE_POLLUTANT_ID VARCHAR2(10))
    I then created another type for the list
    create type dmt_ingred_list as table of dmt_ingred_type
    I then created the view
    create or replace view dmt_msds_xml as select
    MSDS_NR,
    NSN ,
    CAGE ,
    PNI ,
    MSDS_PREP_DATE ,
    HAZ_CODE ,
    ACTIVE_IND ,
    PUBLICATION_CODE ,
    HEALTH_CODE,
    CONTACT_CODE ,
    FIRE_CODE ,
    REACT_CODE ,
    PROT_EYE ,
    PROT_SKIN ,
    PROT_RESP ,
    CHRONIC_IND,
    CARC_IND ,
    AUTO_MSDS ,
    FOCAL_PT_IND,
    LAST_ENTRY_DATE ,
    STATUS ,
    TECH_REVIEW_DATE ,
    SUPPLY_IM ,
    ITEM_NAME ,
    PART_NO ,
    MFG_NAME ,
    MFG_STREET ,
    MFG_PO_BOX ,
    MFG_CITY ,
    MFG_STATE ,
    MFG_COUNTRY ,
    MFG_ZIP ,
    MFG_EMRG_PHONE,
    MFG_INFO_PHONE,
    MSDS_PREPR_NAME ,
    PREPR_COMPANY ,
    PREPR_STREET,
    PREPR_CITY ,
    PREPR_STATE ,
    PREPR_ZIP ,
    SHIP_NAME ,
    PKG_GRP ,
    UN_NA ,
    UN_NA_NR ,
    UN_NA_PAGE ,
    VENDOR1 ,
    VENDOR1_CAGE,
    VENDOR2 ,
    VENDOR2_CAGE,
    VENDOR3 ,
    VENDOR3_CAGE,
    VENDOR4 ,
    VENDOR4_CAGE,
    VENDOR5 ,
    VENDOR5_CAGE,
    SPEC_NR ,
    SPEC_TYP_GR_CLS ,
    HAZ_STOR_COMP_CODE ,
    HAZ_CATEGORY_1,
    HAZ_CATEGORY_2,
    NRC_LIC_NR ,
    NET_PROP_WGT_AMMO ,
    APPEAR_ODOR ,
    BOIL_PT ,
    MELT_PT ,
    VAPOR_PRESSURE,
    VAPOR_PRESSURE_UOM ,
    VAPOR_DENSITY ,
    VAPOR_TEMP ,
    VAPOR_TEMP_UOM ,
    SPECIFIC_GRAVITY ,
    CALC_SPEC_GRAVITY ,
    DECOMP_TEMP ,
    EVAP_RATE ,
    SOLUB_WATER ,
    PCT_VOLAT_VOL ,
    PCT_VOLAT_WGT ,
    CHEM_PH ,
    CORROSION_RATE,
    FLASH_PT ,
    FLASH_PT_CMP ,
    FLASH_PT_SCALE_CD ,
    FLASH_PT_METHOD ,
    FLASH_PT_HMIS ,
    FLASH_PT_IND ,
    LOW_EXPL_LTD,
    UP_EXPL_LTD ,
    EXTINGUISH_MEDIA ,
    SP_FIRE_FGT_PROCD ,
    UN_FIRE_EXPL_HAZ ,
    STABILITY ,
    COND_AVOID_STAB ,
    MAT_AVOID ,
    HAZ_DECOMP_PROD ,
    HAZ_POLY_OCCUR,
    COND_AVOID_POLY ,
    LD50_LC50_MIX ,
    ROUTE_ENTRY_INHALE ,
    ROUTE_ENTRY_SKIN ,
    ROUTE_ENTRY_INGEST ,
    HLTH_HAZ_ACUTE_CRON ,
    CARCIN_NTP ,
    CARCIN_IARC ,
    CARCIN_OSHA ,
    STORAGE_TYPE,
    EXPL_CARCIN ,
    SIGN_SYMPT_OVREXPOS ,
    MED_COND_AGGR_EXPOS ,
    EMRG_1ST_AID_PROCD ,
    STEP_MAT_REL_SPILL ,
    NEUTRAL_AGENT ,
    WAST_DISP_METHOD ,
    HAND_STOR_PRECAUT ,
    OTHER_PRECAUT ,
    RESP_PROT ,
    VENTILATION ,
    PROT_GLOVE ,
    EYE_PROT ,
    OTHER_PROT_EQUIP ,
    WORK_HYG_PRACT,
    SUPP_SAFE_HLTH_DATA ,
    UPDT_DATE ,
    UPDT_USER_ID,
    SITE_USAGE_IND ,
    REPRO_TOXIN_IND ,
    DISPOSAL_CD,
    TYP_CNTAIN_CD,
    CNTAIN_PRES_CD ,
    PROD_ST_CD ,
    TEMP_CD ,
    EXEMPTION_CD ,
    SPEC_HAZ_AND_PREC ,
    UNIT_OF_MEASURE ,
    CONTAINER_QTY,
    ITEM_PRICE ,
    VOC_QTY_GL ,
    VOC_QTY_PG ,
    VOC_QTY_OZ ,
    CTS_CODE ,
    PPE_CODE ,
    ACUTE_IND ,
    MSDS_ENTER_USER ,
    MSDS_ENTER_DATE ,
    PURE_IND ,
    COMMENTS ,
    UNIT_OF_ISSUE ,
    CALC_VAPOR_PRESSURE ,
    CALC_VAPOR_PRESSURE_UOM ,
    CALC_VAPOR_TEMP ,
    CALC_VAPOR_TEMP_UOM ,
    VOC_COMMENTS,
    ARC1 ,
    ARC2 ,
    ARC3 ,
    ARC4 ,
    HMOTW_ID ,
    CAST(MULTISET(select
    MSDS_NR ,
    SEQ_NR,
    NIOSH ,
    PROPRI_IND ,
    CAS_NO,
    INGRED_NAME ,
    PERCNT,
    CALC_PERCNT ,
    OSHA_PEL,
    ACGIH_TLV ,
    REC_LIMIT ,
    CARC_IND,
    TMP1 ,
    TMP2 ,
    TMP3 ,
    TMP4 ,
    EXEMPT_IND ,
    VAPOR_PRESSURE ,
    VAPOR_PRESSURE_UOM ,
    VAPOR_TEMP ,
    VAPOR_TEMP_UOM ,
    COMMENTS,
    VOC_REACTIVITY_CD ,
    STATE_POLLUTANT_ID
    from dmt_ingred
    where dmt_msds.msds_nr = dmt_ingred.msds_nr
    )AS dmt_ingred_list ) IngredientInformation
    from dmt_msds
    all 3 were created without errors.
    When i try to select out of the view using
    java OracleXML getXML -user user/password "select * from dmt_msds_xml" I recieved the following error log:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x604483d3
    Function name=kpufGetRcvInfo
    Library=c:\oracle\ora81\bin\oraclient8.dll
    Current Java thread:
         at oracle.jdbc.oci8.OCIDBAccess.close_query(Native Method)
         at oracle.jdbc.oci8.OCIDBAccess.closeQuery(OCIDBAccess.java:541)
         at oracle.jdbc.driver.OracleResultSetImpl.internal_close(OracleResultSetImpl.java:627)
         at oracle.jdbc.driver.OracleResultSetImpl.close(OracleResultSetImpl.java:118)
         at oracle.xml.sql.dataset.OracleXMLDataSetExtJdbc.close(OracleXMLDataSetExtJdbc.java:361)
         at oracle.xml.sql.core.OracleXMLConvert.close(OracleXMLConvert.java:728)
         at oracle.xml.sql.core.OracleXMLConvert.getXML(OracleXMLConvert.java:1027)
         at oracle.xml.sql.query.OracleXMLQuery.getXMLString(OracleXMLQuery.java:267)
         at OracleXML.To_XML(OracleXML.java:1108)
         at OracleXML.ExecuteGetXML(OracleXML.java:916)
         at OracleXML.main(OracleXML.java:183)
    Dynamic libraries:
    0x00400000 - 0x00405000      C:\WINNT\system32\java.exe
    0x77F80000 - 0x77FFB000      C:\WINNT\System32\ntdll.dll
    0x77DB0000 - 0x77E0B000      C:\WINNT\system32\ADVAPI32.dll
    0x77E80000 - 0x77F35000      C:\WINNT\system32\KERNEL32.DLL
    0x77D40000 - 0x77DB0000      C:\WINNT\system32\RPCRT4.DLL
    0x78000000 - 0x78046000      C:\WINNT\system32\MSVCRT.dll
    0x6D420000 - 0x6D4EE000      C:\Program Files\JavaSoft\JRE\1.3.1\bin\hotspot\jvm.dll
    0x77E10000 - 0x77E74000      C:\WINNT\system32\USER32.dll
    0x77F40000 - 0x77F7C000      C:\WINNT\system32\GDI32.DLL
    0x77570000 - 0x775A0000      C:\WINNT\system32\WINMM.dll
    0x6D220000 - 0x6D227000      C:\Program Files\JavaSoft\JRE\1.3.1\bin\hpi.dll
    0x6D3B0000 - 0x6D3BD000      C:\Program Files\JavaSoft\JRE\1.3.1\bin\verify.dll
    0x6D250000 - 0x6D266000      C:\Program Files\JavaSoft\JRE\1.3.1\bin\java.dll
    0x6D3C0000 - 0x6D3CD000      C:\Program Files\JavaSoft\JRE\1.3.1\bin\zip.dll
    0x60000000 - 0x6000C000      C:\oracle\ora81\bin\ocijdbc8.dll
    0x60600000 - 0x60686000      c:\oracle\ora81\bin\oracore8.dll
    0x60800000 - 0x6084D000      c:\oracle\ora81\bin\oranls8.dll
    0x60400000 - 0x60506000      c:\oracle\ora81\bin\oraclient8.dll
    0x08D60000 - 0x08D66000      c:\oracle\ora81\bin\oravsn8.dll
    0x60200000 - 0x60265000      c:\oracle\ora81\bin\oracommon8.dll
    0x08D70000 - 0x08E92000      c:\oracle\ora81\bin\orageneric8.dll
    0x60A00000 - 0x60A2B000      c:\oracle\ora81\bin\oranl8.dll
    0x60B00000 - 0x60BA9000      c:\oracle\ora81\bin\oran8.dll
    0x60E00000 - 0x60E10000      c:\oracle\ora81\bin\orancrypt8.dll
    0x61100000 - 0x61137000      c:\oracle\ora81\bin\oranro8.dll
    0x75030000 - 0x75043000      C:\WINNT\system32\WS2_32.dll
    0x75020000 - 0x75028000      C:\WINNT\system32\WS2HELP.DLL
    0x08EA0000 - 0x08F01000      c:\oracle\ora81\bin\orannzsbb8.dll
    0x61500000 - 0x6150E000      c:\oracle\ora81\bin\oranldap8.dll
    0x61700000 - 0x61720000      c:\oracle\ora81\bin\oraldapclnt8.dll
    0x75050000 - 0x75058000      C:\WINNT\system32\WSOCK32.dll
    0x77A50000 - 0x77B46000      C:\WINNT\system32\ole32.dll
    0x779B0000 - 0x77A4B000      C:\WINNT\system32\OLEAUT32.dll
    0x61900000 - 0x61906000      c:\oracle\ora81\bin\oranhost8.dll
    0x62100000 - 0x62106000      c:\oracle\ora81\bin\oranoname8.dll
    0x08F10000 - 0x08F16000      c:\oracle\ora81\bin\orancds8.dll
    0x62300000 - 0x62306000      c:\oracle\ora81\bin\orantns8.dll
    0x62500000 - 0x62508000      c:\oracle\ora81\bin\orannds8.dll
    0x08F20000 - 0x08F27000      c:\oracle\ora81\bin\oranms.dll
    0x08F30000 - 0x08F41000      c:\oracle\ora81\bin\oranmsp.dll
    0x62700000 - 0x62740000      c:\oracle\ora81\bin\ORATRACE8.dll
    0x62900000 - 0x62B23000      c:\oracle\ora81\bin\orapls8.dll
    0x63100000 - 0x63108000      c:\oracle\ora81\bin\oraslax8.dll
    0x60350000 - 0x60356000      c:\oracle\ora81\bin\orawtc8.dll
    0x63200000 - 0x63273000      c:\oracle\ora81\bin\orasql8.dll
    0x64300000 - 0x64308000      c:\oracle\ora81\bin\oranbeq8.dll
    0x64500000 - 0x6450D000      c:\oracle\ora81\bin\orannts8.dll
    0x75500000 - 0x75504000      C:\WINNT\system32\security.dll
    0x77BE0000 - 0x77BEF000      C:\WINNT\system32\SECUR32.dll
    0x75170000 - 0x751BF000      C:\WINNT\system32\NETAPI32.DLL
    0x751C0000 - 0x751C6000      C:\WINNT\system32\NETRAP.DLL
    0x75150000 - 0x75160000      C:\WINNT\system32\SAMLIB.DLL
    0x77950000 - 0x77979000      C:\WINNT\system32\WLDAP32.DLL
    0x77980000 - 0x779A4000      C:\WINNT\system32\DNSAPI.DLL
    0x782D0000 - 0x782EE000      C:\WINNT\system32\msv1_0.dll
    0x77920000 - 0x77943000      C:\WINNT\system32\imagehlp.dll
    0x72A00000 - 0x72A2D000      C:\WINNT\system32\DBGHELP.dll
    0x690A0000 - 0x690AB000      C:\WINNT\system32\PSAPI.DLL
    Local Time = Thu Feb 14 10:48:10 2002
    Elapsed Time = 6
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.3.1_01 mixed mode)
    any ideas??
    Thanks

    Can you try with the Thin JDBC driver instead of the OCI8 driver?
    The error seems related to the OCI8 driver.

  • Error transaction no longer active, no further JDBC access allowed

    Hello
    Our application uses WLS 6.0 SP2, TopLink 3.5.3, WebLogic JMS. A
    (pooled) JMS driven message bean invokes other application components
    (stateless session beans). Also, application components use JMS to send
    messages. JMS and application (through TopLink) use the same JDBC
    connection pool. TopLink connects through javax.sql.DataSource and
    external transaction controller. 2PC transactions are required to
    integrate JMS and TopLink DB access (see data source definition below).
    All components run in a single JVM, there is not distributed transaction
    between JVMs.
    When pushing > 5 concurrent messages into the system I get an error that
    somehow indicates TopLink access to a connection that is no longer
    associated with a WebLogic transaction.
    I can consistently reproduce this error with the Oracle thin, Oracle OCI
    and WebLogic OCI JDBC drivers. It seems to occur independent from the
    maximum number of connections in the pool (tested between 1 and 30).
    Also, when serializing the message supply with a pause in between the
    error does not seem to occur.
    Has anybody seen this type of problem before?
    Are there possibly known issues with the external transaction controller
    integration?
    Any help greatly appreciated.
    Thanks,
    Thomas
    EXCEPTION [TOPLINK-4002] (3.5.3 JDK1.2):
    TOPLink.Public.Exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: The transaction is no
    longer active (status = Committing). No further JDBC access is allowed
    within this transaction.
    INTERNAL EXCEPTION: java.sql.SQLException: The transaction is no longer
    active (status = Committing). No further JDBC access is allowed within
    this transaction.
    ERROR CODE: 0
    ### WebLogic config.xml ###
    <JDBCConnectionPool CapacityIncrement="1"
    DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="1"
    MaxCapacity="15" Name="oraclePool"
    Properties="user=wlpi20;password=wlpi20;dll=ocijdbc8;protocol=thin"
    Targets="appserver"
    URL="jdbc:oracle:thin:@10.3.209.35:1521:wcdevdb"/>
    <JDBCTxDataSource EnableTwoPhaseCommit="true"
    JNDIName="com.bea.wlpi.TXDataSource" Name="TXDataSource"
    PoolName="oraclePool" Targets="appserver"/>
    <JMSJDBCStore ConnectionPool="oraclePool" Name="oraclePool"/>
    ### TopLink session/login setup for external transaction controller ###
    DatabaseLogin login = project.getLogin();
    login.setConnector(new TOPLink.Public.JNDI.JNDIConnector(
    initialContext, jdbcDataSource));
    login.setUserName(jdbcUser);
    login.setPassword(jdbcPasswd);
    ServerSession session = new ServerSession(project);
    login.useExternalConnectionPooling();
    login.useExternalTransactionController();
    final String tmname = "weblogic/transaction/TransactionManager";
    javax.transaction.TransactionManager transMgr =
    (javax.transaction.TransactionManager)
    initialContext.lookup(tmname);
    JTSSynchronizationListener.setTransactionManager(transMgr);
    session.setExternalTransactionController(
    new TOPLink.Public.JTS.JTSExternalTransactionController());
    logger.fine("registered external transaction controller");

    Better to ask on a hibernate forum, but you seem to
    be trying to reuse a closed transaction. If you have
    auto-commit set to ttrue, try changing it to false,
    the explicitly calling commit when you are done.Might be worth finding out why something is trying to use a closed transaction first, before changing your entire transaction management idiom, though

  • JDBC 1.2 for Solaris Oracle 8.1.6 - run time error

    We have Oracle 8.1.5 on a Solaris. I wrote and compiled a simple Java progam to connect to the database which is right on the same machine. The compile is fine, the LD_LIBRARY_PATH is set to everything I can imagine it needs. The program fails when I run it:
    # java test
    in the program..
    Step: got a new driver
    Step: registered the driver
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Error.<init>(Error.java:50)
    at java.lang.LinkageError.<init>(LinkageError.java:43)
    at java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:42)
    at java.lang.ClassLoader.loadLibrary(Compiled Code)
    at java.lang.Runtime.loadLibrary0(Runtime.java:471)
    at java.lang.System.loadLibrary(System.java:745)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:208)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:137)
    at test.main(test.java:18)
    When I set LD_DEBUG to "libs", I found out that it cannot find libwtc8.so. This file is nowhere on the system, though!
    Any help would be appreciated. Let me know if some bit of information is missing.

    In plain English (as I understand this): Oracle posted drivers that we won't be able to use until 8.1.6 comes out. The readme does indeed say, "JDBC OCI Driver 8.1.6: Client-side JDBC for use on a machine where OCI 8.1.6 is installed." Plus, the FAQ states, "There is no 8.1.6SDK JDBC-OCI driver - this will be available with 8.1.6"
    That FAQ was just updated (it is the top item on today's Technet front page).
    But the FAQ is erroneous: the driver exists and is available: from an item on the technet front page (from Jan 17th).
    We don't have Oracle 8.1.6 here and it doesn't appear to be available yet.
    I imagine that this driver was made available for the beta testers out there needing it and also for the rest of us to be able to check ahead if we can still compile.
    I do wish they would plainly say as much on that download page (or in the readme). It would have saved some trouble chasing down why this doesn't run.

Maybe you are looking for

  • Access UME in ABAP

    Hello experts! How can i access to the UME database from ABAP program ? Thanks!

  • Financial Accounting :line item extraction Procedure

    hi there, i have a question some one help me, after extract the data from table, where it is goes? is it in delta queue or direct into the PSA or data target. Thanks, Robs

  • Error during method call in OLE API

    Hello, I am getting an error, 'Error during method call in OLE API', when the QTP script is called from eCATT. Does anybody knows the reason for this error? Thanks, Mahantesh

  • SolMan and CMMI Configuration Management

    Hi We are looking into implementing CMMI level 3 in our organisation. One of the main points is to use SolMan for Configuration Management which seems obvious. Does any of you "out there" have any experiences and answers/ideas to the following topics

  • Check out Returns for Confirmation - DSD

    Hil Folks, I'm working in Direct Store Delivery Solution, and I'm facing a problem solving a scenario. This scenario basically is the following: At the end of Day 1, check in process is executed and a client return is posted in the system. (Pre Sale)