How to resolve "Failed to load TTSQLDB JDBC driver" problem

Hi,
I installed timesten112140.sparc64.tar on solaris m/c.
Details of solaris m/c are
SunOS pun-ldom-rds70 5.10 Generic_139555-08 sun4v sparc SUNW,T5240
I am getting below mentioned error when trying connecting to the database through java process.
ERROR: failed to load TTSQLDB JDBC driver.
java.sql.SQLException: Problems with loading native library/missing methods: /op
t/TimesTen/ttsolaris21/lib/libttJdbc.so: ld.so.1: java: fatal: /opt/TimesTen/tts
olaris21/lib/libttJdbc.so: wrong ELF class: ELFCLASS64 (Possible cause: architec
ture word width mismatch)
at com.timesten.jdbc.JdbcOdbcConnection.connect(JdbcOdbcConnection.java:
1753)
at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:349)
at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:205)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at CreateConnectionDemo.createConnection(CreateConnectionDemo.java:43)
at CreateConnectionDemo.<clinit>(CreateConnectionDemo.java:26)
Exception in thread "main" java.lang.NullPointerException
at CreateConnectionDemo.closeConnection(CreateConnectionDemo.java:69)
at CreateConnectionDemo.main(CreateConnectionDemo.java:62)

You are trying to open a direct mode connection to 64-bit TimesTen from a JVM running in 32-bit mode. This is not possible. Run the JVM in 64-bit mode instead and thsi issue will be resolved.
Chris

Similar Messages

  • Informix JDBC: Failed to load Informix JDBC Driver

    hi:
    I use workbench to migration informix 7.3 to Oracle 8.1

    The informix file ifxjdbc.jar needs to be put in the Omeb\drivers
    directory.
    Turloch
    Oracle Migration Workbench Team

  • Help - Could not load 'oracle.jdbc.driver.OracleDriver ...

    I'm using oci8 to connect to the Oracle database.
    URL: jdbc:oracle:oci8:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(PORT=1527)(HOST=testhost)))(CONNECT_DATA=(SID=fnoe2pa)))
    When I tried to start the weblogic server, I got the following errors:
    Can you suggest what I should do next (step-wise)??? Thanks, Bobby
    <Sleeping in createResource()>
    ####<15/08/2002 14:09:43> <Error> <JDBC> <qawebmethods> <myserver>
    <main> <system> <> <001060> <Cannot startup connection pool
    "pool/test_myapp" weblogic.common.ResourceException:
    Could not load 'oracle.jdbc.driver.OracleDriver
    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(ConnectionEnvFactory.java:212)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
         at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:705)
         at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
         at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:650)
         at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:360)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:285)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(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(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:360)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         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.updateDeployments(ServerMBean_CachingStub.java:2977)
         at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:372)
         at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:360)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         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)
    >
    ####<15/08/2002 14:09:43> <Info> <JDBC> <qawebmethods> <myserver>
    <main> <system> <> <001082> <Creating Data Source named
    jdbc/test_myapp for pool pool/test_myapp>
    ####<15/08/2002 14:09:43> <Info> <JDBC> <qawebmethods> <myserver>
    <main> <system> <> <001070> <Checking existence of connection pool
    pool/test_myapp requested by user system>
    ####<15/08/2002 14:09:43> <Error> <JDBC> <qawebmethods> <myserver>
    <main> <system> <> <001059> <Error during Data Source creation:
    weblogic.common.ResourceException: DataSource(jdbc/test_myapp) can't
    be created with non-existent Pool (connection or multi)
    (pool/test_myapp)>
    ####<15/08/2002 14:09:50> <Info> <EJB> <qawebmethods> <myserver>
    <main> <system> <> <010008> <EJB Deploying file: myapp-ejb.jar>
    ####<15/08/2002 14:09:50> <Warning> <J2EE> <qawebmethods> <myserver>
    <main> <system> <> <160007> <You are running WebLogic Server with J2EE
    1.3 features enabled. The implementation of specific J2EE 1.3 features
    (EJB 2.0, JSP 1.2, Servlet 2.3, and J2EE Connector Architecture 1.0)
    in BEA WebLogic Server 6.1 is of a non-final version of the
    appropriate specification. It is subject to change in future releases
    once the specification becomes finalized. This may cause application
    code developed for BEA WebLogic Server 6.1 that uses the new features
    of J2EE 1.3 to be incompatible with the J2EE 1.3 platform supported in
    future releases of BEA WebLogic Server.>
    ####<15/08/2002 14:09:59> <Error> <J2EE> <qawebmethods> <myserver>
    <main> <system> <> <160001> <Error deploying application myapp-ejb:
    Unable to deploy EJB: Counter from myapp-ejb.jar:
    The DataSource with the JNDI name: jdbc/test_myapp could not be
    located. Please ensure that the DataSource has been deployed
    successfully and that the JNDI name in your EJB Deployment descriptor
    is correct.
    >
    ####<15/08/2002 14:09:59> <Info> <HTTP> <qawebmethods> <myserver>
    <main> <system> <> <101053> <[HTTP myserver] Loading web app: myapp>
    ####<15/08/2002 14:09:59> <Info> <HTTP> <qawebmethods> <myserver>
    <main> <system> <> <101059> <[myserver] Loading myapp from WAR file:
    C:\bea\wlserver6.1\.\config\mydomain\applications\.wlnotdelete\wlap31483\myapp.war>
    ####<15/08/2002 14:09:59> <Warning> <J2EE> <qawebmethods> <myserver>
    <main> <system> <> <160007> <You are running WebLogic Server with J2EE
    1.3 features enabled. The implementation of specific J2EE 1.3 features
    (EJB 2.0, JSP 1.2, Servlet 2.3, and J2EE Connector Architecture 1.0)
    in BEA WebLogic Server 6.1 is of a non-final version of the
    appropriate specification. It is subject to change in future releases
    once the specification becomes finalized. This may cause application
    code developed for BEA WebLogic Server 6.1 that uses the new features
    of J2EE 1.3 to be incompatible with the J2EE 1.3 platform supported in
    future releases of BEA WebLogic Server.>
    ####<15/08/2002 14:09:59> <Info> <HTTP> <qawebmethods> <myserver>
    <main> <system> <> <101031>
    <[WebAppServletContext(1412030,myapp,/myapp)] extracting classfiles to
    C:\bea\wlserver6.1\config\mydomain\applications\.wlnotdelete\wlap31483\WEB-INF\_tmp_war_myapp:>
    ####<15/08/2002 14:10:04> <Info> <HTTP> <qawebmethods> <myserver>
    <main> <system> <> <101032>
    <[WebAppServletContext(1412030,myapp,/myapp)] extracted classfiles
    successfully...>
    ####<15/08/2002 14:10:04> <Info> <HTTP Session> <qawebmethods>
    <myserver> <main> <system> <> <100037> <Creating SessionContext of
    type: memory for webapp: /myapp>
    ####<15/08/2002 14:10:04> <Info> <HTTP> <qawebmethods> <myserver>
    <main> <system> <> <101047>
    <[WebAppServletContext(1412030,myapp,/myapp)] registering classpath
    servlet with initArgs 'null'>
    ####<15/08/2002 14:10:04> <Info> <HTTP> <qawebmethods> <myserver>
    <main> <system> <> <101047>
    <[WebAppServletContext(1412030,myapp,/myapp)] registering getior
    servlet with initArgs 'null'>
    ####<15/08/2002 14:10:04> <Info> <HTTP> <qawebmethods> <myserver>
    <main> <system> <> <101047>
    <[WebAppServletContext(1412030,myapp,/myapp)] registering tunneling
    servlets with initArgs 'wl-dispatch-policy=direct'>
    ####<15/08/2002 14:10:04> <Info> <HTTP> <qawebmethods> <myserver>
    <main> <system> <> <101047>
    <[WebAppServletContext(1412030,myapp,/myapp)] registering JSPServlet
    with initArgs '[JspConfig:
    verbose=true,packagePrefix=jsp_servlet,-compiler=javac,compileFlags=,workingDir=C:\bea\wlserver6.1\config\mydomain\applications\.wlnotdelete\wlap31483\WEB-INF\_tmp_war_myapp,pageCheckSeconds=1,superclass=null,keepgenerated=false,precompileContinue=false,compilerSupportsEncoding=true,encoding=null,defaultfilename=index.jsp,compilerclass=null,noTryBlocks=false]'>
    ####<15/08/2002 14:10:04> <Debug> <HTTP> <qawebmethods> <myserver>
    <main> <system> <> <101097> <Registering ServletContext:
    "myapp:/myapp">
    ####<15/08/2002 14:10:04> <Info> <J2EE> <qawebmethods> <myserver>
    <main> <system> <> <160003> <Deployed : myapp>
    ####<15/08/2002 14:10:04> <Info> <HTTP> <qawebmethods> <myserver>
    <main> <system> <> <101133> <Initializing WEB server myserver>
    ####<15/08/2002 14:10:04> <Notice> <Management> <qawebmethods>
    <myserver> <main> <system> <> <141052> <Application Poller started for
    development server.>
    ####<15/08/2002 14:10:04> <Notice> <WebLogicServer> <qawebmethods>
    <myserver> <ListenThread> <system> <> <000202> <ListenThread listening
    on port 7001>
    ####<15/08/2002 14:10:04> <Info> <NT Performance Pack> <qawebmethods>
    <myserver> <ListenThread> <system> <> <000000> <NATIVE: NTSocketMuxer
    was built on Nov 1 2001 16:39:28
    >
    ####<15/08/2002 14:10:04> <Notice> <WebLogicServer> <qawebmethods>
    <myserver> <SSLListenThread> <system> <> <000202> <SSLListenThread
    listening on port 7002>
    ####<15/08/2002 14:10:05> <Notice> <Management> <qawebmethods>
    <myserver> <main> <system> <> <141030> <Starting discovery of Managed
    Server... This feature is on by default, you may turn this off by
    passing -Dweblogic.management.discover=false>
    ####<15/08/2002 14:10:05> <Notice> <WebLogicServer> <qawebmethods>
    <myserver> <main> <system> <> <000331> <Started WebLogic Admin Server
    "myserver" for domain "mydomain" running in Development Mode>
    ####<15/08/2002 14:10:11> <Info> <NT Performance Pack> <qawebmethods>
    <myserver> <ExecuteThread: '14' for queue: 'default'> <> <> <000000>
    <Allocating: '2' NT reader threads>
    ####<15/08/2002 14:10:13> <Info> <HTTP> <qawebmethods> <myserver>
    <ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <system>
    <> <101047> <[WebAppServletContext(5367844,console,/console)] actions:
    init>
    ####<15/08/2002 14:10:18> <Info> <HTTP> <qawebmethods> <myserver>
    <ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <system>
    <> <101047> <[WebAppServletContext(5367844,console,/console)]
    FileServlet: init>
    ####<15/08/2002 14:10:18> <Info> <HTTP> <qawebmethods> <myserver>
    <ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <system>
    <> <101047> <[WebAppServletContext(5367844,console,/console)]
    FileServlet: Using standard I/O>

    "thorick" <[email protected]> wrote in message news:<[email protected]>...
    Most likely, the OCI libraries could not be loaded.
    Before continuing down this path, is there any reason
    why you want to use an OCI based Driver as opposed to the
    all Java Oracle thin driver ?There is indeed a valid reason for my choice.
    I am currently connecting to the Oracle "Rdb" 7.0 database (located on
    VMS) - not Oracle Oracle.
    The SQL Service software we're currently using is version 7.1. This
    version works well with the OCI8 driver (when connecting to the
    database from Windows NT). This version of SQL Service however does
    NOT work for the THIN driver (unless we upgrade the SQL Service to
    version 7.1.5.5 - which we're not prepared to do so because it is not
    stable enough from our previous test/trials). SQLSRV Version 7.1.5.5
    works for THIN driver but it will result in uncommitted
    transactions/unresolved connection/stopping of listener issues and
    there is a need to restart the service from time to time. Oracle has
    since confirmed that this is a bug that they have yet to resolve...
    So we have to stick to OCI8 (THICK) for the time being. I would really
    appreciate it very much if you can tell me the various OCI libraries
    that I need to load (in terms of WebLogic Server config file settings
    etc..).
    By the way I have already installed the Oracle 8 client software on
    the NT server (where WebLogic Server is) and I have also set up the
    relevant SID (using the Net8 Assistant) that points to the Oracle Rdb
    database on the VMS. I have also tried using SQL*Plus to connect to
    the database and I can connect properly to the database. But WebLogic
    simply doesn't seem to load the software.
    Help...
    Regards,
    Bobby Brown, writing from Australia.

  • "Error loading native JDBC driver library" received when connecting to a DB

    I recently installed 10g client onto my PC. After installation I now recieve an "Error loading native JDBC driver library" error when attempting to connect to a database.
    This is a dual core Dell loaded with XP sp 2. I am attempting to connect to a 10gR2 instance. I tried the solution mentioned in another post to no avail. I am using SQL Developer v 1.2.1 build main-32.13.

    Hi,
    I found this thread from googling and am having the same problem for four days now...
    For those who can get SQL Developer to work, could you please detail what properties you have in your installation? Could you please describe what we are supposed to see in the SQL Developer Properties tab? I found this tab in Help>About>Properties but have no idea where SQL Developer picks up those attributes. And it does not seem we can change any of them within SQL Developer. How frustrating!
    Even more frustrating is that I am able to access the database I want to connect to with SQL Plus (right click on the connect node in SQL Developer)...
    Thanks,
    Clueless

  • Load the JDBC driver

    hi every one,
    Iam trying to make a connection to Oracle9i using java, i know that first i have to load the JDBC driver and then establish a connection to the database but if faced 2 problems
    1- I don't know the name of the jdbc driver. if any body can show me how can i know it.
    2- when connecting to the database i have to provide the server name and the port number unfortunatly i don't know both.
    so if any one can help to find them.
    Thanks alot

    hi every one,
    Iam trying to make a connection to Oracle9i using
    java, i know that first i have to load the JDBC
    driver and then establish a connection to the
    database but if faced 2 problems
    1- I don't know the name of the jdbc driver. if any
    body can show me how can i know it.
    It depends on what driver you are using. Look it up and search the Oracle site. Or look through the gazillion examples in the JDBC forum.
    2- when connecting to the database i have to provide
    the server name and the port number unfortunatly i
    don't know both.
    Talk to your DBA. There is no way we could or should be able to help you on this one.

  • Win2000+weblogic510+oracle8i,Could not load 'oracle.jdbc.driver.OracleDriver'

    &#26143;&#26399;&#22235; &#19977;&#26376; 23 20:30:17 GMT+08:00 2000:<E> <JDBC Pool>
    Failed to create connection pool "ejavaPool"
    weblogic.common.ResourceException: Could not load 'oracle.jdbc.driver.OracleDriver'
    because
    System.loadLibrary threw java.lang.UnsatisfiedLinkError
    with the message 'oracle.jdbc.driver.OracleDriver'.
    This could occur if the JDBC driver is not in the weblogic.class.path.
    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 environment.
    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://www.weblogic.com/docs/install/install_jdbc.html
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(ConnectionEnvFactory.java:82)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionEnvFactory.java:97)
         at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:328)
         at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java, Compiled Code)
         at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:220)
         at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
         at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java, Compiled Code)
         at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    any idea?

    If you are trying to use the thin driver you need to make sure you have the
    classes12.zip file in the weblogic server classpath. You can download this
    driver from Oracle website.
    hth
    sree
    "meijunyong" <[email protected]> wrote in message
    news:[email protected]...
    >
    &#26143;&#26399;&#22235; &#19977;&#26376; 23 20:30:17 GMT+08:00 2000:<E><JDBC Pool>
    Failed to create connection pool "ejavaPool"
    weblogic.common.ResourceException: Could not load'oracle.jdbc.driver.OracleDriver'
    because
    System.loadLibrary threw java.lang.UnsatisfiedLinkError
    with the message 'oracle.jdbc.driver.OracleDriver'.
    This could occur if the JDBC driver is not in the weblogic.class.path.
    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 environment.
    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://www.weblogic.com/docs/install/install_jdbc.html
    atweblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(ConnectionEnvF
    actory.java:82)
    atweblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionEnvFacto
    ry.java:97)
    atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:328
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java,Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:220)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java, CompiledCode)
    atweblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    any idea?

  • Question about load Microsoft JDBC driver for Sql server 2000

    Hello,
    I have some problem while trying load the sqlserver2000 jdbc driver
    My program is a third party application and it works with the other type 4 JDBC driver well. So I tried to use Microsoft SQL server 2000 JDBC driver instead.
    I installed JDBC driver and set up the classpath.
    My error message is:
    "Driver class 'com.microsoft.jdbc.sqlserver.SQLServerDriver' could not be loaded"
    Is above message means that my classpath setup correctly but the application could not load the class or the application could not find the jar file which containes the driver class?
    By the way, the third party application I was using to load this JDBC driver does not certified to use microsoft JDBC driver. But I don't think it matter?
    Thanks for your help
    Hui Lu

    Hello,
    I have some problem while trying load the
    sqlserver2000 jdbc driver
    My program is a third party application and it works
    with the other type 4 JDBC driver well. So I tried to
    use Microsoft SQL server 2000 JDBC driver instead.
    I installed JDBC driver and set up the classpath.
    My error message is:
    "Driver class
    'com.microsoft.jdbc.sqlserver.SQLServerDriver' could
    not be loaded"
    That is an unusual message. Presumably you did not see "NoClassDefFoundError". If you see that it means the class could not be found.
    Is above message means that my classpath setup
    correctly but the application could not load the class
    or the application could not find the jar file which
    containes the driver class?
    By the way, the third party application I was using to
    load this JDBC driver does not certified to use
    microsoft JDBC driver. But I don't think it matter?
    It could. Perhaps the app expects a certain functional level and the driver doesn't support that. And so it bails with the message that you see.
    Or it could mean that you have do something special because it has its own class path, and the driver is not in that.

  • How to register a new list of JDBC driver to ODI?

    Hi Guys,
    How to register a new list of JDBC driver to appear on ODI?
    exam :
    When I defined a new master repository that resides on MSSQL 2005
    I already had sqljdbc.jar (This is mssql2005 jdbc driver) on the ..\oracledi\drivers
    But when I browsed jdbc driver list it will not appear any new driver we just put them in the driver folder.
    I knew this is a common issue.
    So I need to manually define a driver class and url to match exactly with the jdbc document say for sqljdbc.jar
    which is
    Driver Class : com.microsoft.sqlserver.jdbc.SQLServerDriver
    URL : jdbc:sqlserver://localhost:1084
    I think that the driver list will have to store in somewhere in the xml files OR some records on the master repository database.
    But where ?
    Because I saw the new list driver (Microsoft SQL Server 2005 driver for JDBC) on the vmware image that I had (actually it is ODI Training workshop VMware Image).
    But I don't know where to looks.
    Here are some proof that they actually appear in the driver list
    [Original MSSQL 2000 Driver List|http://img.ihere.org/uploads/1f6d1601bb.png]
    [New MSSQL 2005 Driver List|http://img.ihere.org/uploads/94cc91e1ac.png]
    How comes?
    Thank you in advance.
    Somchai
    Edited by: somchai on Feb 12, 2009 8:24 AM

    Hi CTS !
    Then, its impossible add new drivers into ODI ? So, if I need to add a driver and this exist in Oracle list drivers, what can I do in this case ?
    I have problems with Oracle JDBC driver in ODI. When I try generate web services the "Not suitable driver" message is shown. In Design, module part, when i generate web service i have the "*name of data source*" field and I put into "oracle.jdbc.driver.OracleDriver". Ok, this isn&acute;t a correct sintax, then I read in this manual "*note that the name of the data source must be consistent with the entries in context.xml and web.xml, prefixed with:java:/comp/env/*".
    Ok, In other post (Re: Not found web.xml and content.xml files into ODI folders
    you said me only necessary to change the web.xml and context.xml is only necessary if I use Tomcat. Then, how to discover a correct sintax to put into this field and generate my web service ?
    Best regards,
    Joao.
    Edited by: JohnnyBeGood on 16/02/2009 09:00
    Edited by: JohnnyBeGood on 16/02/2009 09:29

  • Failed to load Hardware monitor driver

    I'm running XP and getting  a "Failed to load Hardware monitor driver" message when I do the following.  Log Off\Switch Users.  When the new user comes up I get the error message along with a request that I send the following files to Microsoft.   C:\WINDOWS\minidump\Mini042404-01.dmp and C:\DOCUME~1\HEIDIN~1\LOCALS~1\Temp\WER1.tmp.  It then blue screens and reboots.  I can boot up into all users without any problem.  I only have the problem if I try to switch from one user to another withour rebooting first.  Is this a problem with "Live Monitor" or is it a problem with my Samsung Monitor?  I downloaded a Monitor Driver from Microsoft recently.  This makes the one and  only time I have ever seen a driver download on the Microsoft update page and it happened to be for my Monitor but it seemed to be the same version that came with it.  
    MSI 875P NEOR2 (bios 1.9)
    Intel P4 3G 800FSB (HT enabled)
    2x512MB dual Memory
    FX 5900 256mb by Gainward
    54xCD-ROM, DVD-Writer
    Samsung 19" LCD Display SyncMaster 955DF

    If you are running core centre on both profiles, this will happen. Fast user switching causes CC to load again, giving the message u have and will crash XP. U need to log off one user, then switch.
    Alternativly make sure CC is not installed as a shortcut in all users. I place mine in my gaming profile only and dont use it in any other one.
    If u r not running CC, mmmm, dunno  

  • Failure loading native JDBC driver

    When i go into sql developer and try to create a connection for oracle using TNS connection identifier i get a failure loading native JDBC driver. any ideas?
    thanks
    m

    Can you create a basic connection? Which platform are you on? What version of sqldev are you running? What version of JDK do you have?
    K.

  • Pre-loading a JDBC driver

    Hi, is there a simple way to load a JDBC driver in Tomcat at startup, to avoid the call to Class.forName() in every JDBC page that accesses the dB?
    I also would like to change it when I like in a simple way, say something like changing a property file, if possible.
    Thanks for your help.

    Geez, use a connection pool.In fact I'm planning to do it
    >
    Tomcat lets you set up a JNDI data source for your
    app. Go read those docs. - MODThanks for the advice.
    Are you sure? I would have thought you'd only have to load the class >once.In fact I would like not to ever load it in my pages...

  • Failed to Load Oracle.jdbc.PreparedStatement

    Hi all,
    My application says
    "Failed to Load either oracle.jdbc.PreparedStatement or oracle.jdbc.driver.PreparedStatement .
    I have oracle driver in <server-instance>/lib directory.
    Anybody has an idea about this ?
    Thanks

    Hi,
    Here is the server.log meassage at fine Level
    11/Mar/2003:09:06:17] FINE (20766): Status to be set : 0
    [11/Mar/2003:09:06:17] FINE (20766): Invoked receivedReply()
    [11/Mar/2003:09:06:17] FINE (20766): ---SQLPersistenceManagerFactory: dbname = Oracle.[11/Mar/2003:09:06:17] FINE (20766): <-> DBVendorType(), vendorName = [ Oracle] propertyName: oracle short name: ORACLE.
    [11/Mar/2003:09:06:17] FINE (20766): --> DBVendorType.initialize().
    [11/Mar/2003:09:06:17] FINE (20766): --> DBVendorType.load() - resourceName: com/sun/jdo/spi/persistence/support/sqlstore/database/SQL92.properties , override: false.
    [11/Mar/2003:09:06:17] FINE (20766): --> DBVendorType.load() - resourceName: com/sun/jdo/spi/persistence/support/sqlstore/database/ORACLE.properties , override: false.
    [11/Mar/2003:09:06:17] FINE (20766): --> DBVendorType.load() - resourceName: .tpersistence.properties , override: true.
    [11/Mar/2003:09:06:17] FINE (20766): <-> DBVendorType.overrideProperties() - NONE.
    [11/Mar/2003:09:06:17] INFO (20766): Failed to load either oracle.jdbc.OraclePreparedStatement or oracle.jdbc.driver.OraclePreparedStatement. Oracle specific optimization will be disabled.
    [11/Mar/2003:09:06:17] FINE (20766): <-- DBVendorType.initialize().
    [11/Mar/2003:09:06:17] FINE (20766): ---SQLStoreManager: vendor type = ORACLE.
    [11/Mar/2003:09:06:18] FINE (20766): initializeServerLogger: javax.enterprise.resource.jdo.transaction com.sun.jdo.spi.persistence.support.sqlstore.Bundle null
    [11/Mar/2003:09:06:18] FINE (20766): initializeServerLogger: javax.enterprise.resource.jdo.transaction com.sun.jdo.spi.persistence.support.sqlstore.Bundle FINE

  • Porblem loading Microsoft JDBC Driver for SQL Server

    Hi all !!
    Well, it seems there is a naming problem for the MS Driver, when Netbeans creates server resources for the Connection Pool and the DataSource, the default name for the connection pool's datasource classname is com.microsoft.jdbc.sqlserver.SQLServerDataSource, but the actual name of the class within the driver's jar is com.microsoft.jdbcx.sqlserver.SQLServerDataSource, note the 'x' after jdbc.
    I changed this and the resource is created correctly (from the admin console, it pings to the DB server), but when I try to deploy the project, I get this error:
    RAR5038:Unexpected exception while creating resource
    RAR5117 : Failed to obtain/create connection. Reason : Class name is wrong or classpath is not set for : com.microsoft.jdbc.sqlserver.SQLServerDataSource
    RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : com.microsoft.jdbc.sqlserver.SQLServerDataSource]
    WebModule[WebApplication2]java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : com.microsoft.jdbc.sqlserver.SQLServerDataSource
    java.lang.RuntimeException: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : com.microsoft.jdbc.sqlserver.SQLServerDataSource
    I guess I must change the name of the classname in some other place, but I searched the admin colsole and Netbeans and failed to find where it should be.
    I'm using Netbeans 5.5 and SQL Server 200 with the MS JDBC Driver sp 3.
    Thanks in advance,
    Daniel

    Thanks for your answer !!
    Yes, the datasource classname is correct in domains.xml.
    I had the driver files copied into Appserver/lib, now I placed them also where you suggested me and restarted the server.
    Now I get a different error:
    LDR5202:Exception in EJBClassLoader
    java.io.IOException: The filename, directory or volume label are not valid:
    at java.io.WinNTFileSystem.canonicalize0(Native Method)
    at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
    at java.io.File.getCanonicalPath(File.java:559)
    at com.sun.enterprise.loader.EJBClassLoader$1.run(EJBClassLoader.java:418)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.enterprise.loader.EJBClassLoader.findResource0(EJBClassLoader.java:391)
    at com.sun.enterprise.loader.EJBClassLoader.findResource(EJBClassLoader.java:467)
    at java.lang.ClassLoader.getResource(ClassLoader.java:977)
    at java.lang.ClassLoader.getResource(ClassLoader.java:972)
    at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)
    at com.sun.enterprise.loader.EJBClassLoader.getResourceAsStream(EJBClassLoader.java:782)
    at com.sun.xml.rpc.spi.JaxRpcObjectFactory.newInstance(JaxRpcObjectFactory.java:131)
    at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.<init>(JaxRpcRICodegen.java:120)
    at com.sun.enterprise.webservice.codegen.JaxRpcCodegenFactory.getAdapter(JaxRpcCodegenFactory.java:50)
    at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:839)
    at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:580)
    at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployModule(EJBCompiler.java:413)
    at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:226)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.runEJBC(ModuleDeployer.java:1189)
    at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:179)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:160)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
    I guess it may have something to do with any of the classpathes, there is a system or environment CP, one for the App server (with prefixes, suffixes, etc, and there is another in the Netbeans IDE tools Options....
    I also tried to debug into java.io.WinNTFileSystem.canonicalize0(Native Method) just to see the name of the file who raised the exception, but I couldn't attach the BPEL debugger, it gives me this error:
    11:57:24 Connecting to localhost:3343
    11:57:24 Unable to start a debug session : Unable to connect to localhost:3343 : Connection refused: connect
    I'm using a proxy but the system settings are set to not use the proxy for localhost addresses and so is netbeans.
    How much I miss the simplicity of the old Turbo Pascal days !!
    Thanks for your help !!
    Daniel

  • How to resolve "Contacts has stopped" and "Sync experiencing problems" after ICS upgrade?

    After receiving the Droid Bionic operating system upgrade yesterday, my phone has lost its record of all my contacts, is unable to retrieve them from Vzn Backup, won't synch with my gmail contacts, and won't even allow me to dial phone calls.  Does anyone know how to resolve this?
    I'm getting the error message when I tap the People or Phone icons:
    Unfortunately, Contacts has stopped.
    When I go to Accounts & Sync, I get a Sync error, and the message
    Sync is currently experiencing problems. It will be back shortly. 
    (I have been getting that message since yesterday.)
    And under Settings > Backup Assistant+ Contacts, when I tell it to Synch Now,
    Unfortunately, Backup Assistant+ Contacts Client has stopped.
    I tried the Verizon chat service, and was very frustrated to be told that I either have to call Tech Support (hard to do when your phone won't dial!!!), or go to a store for them to fix it in person.

    Good to find this forum on Android issues... Thanks Verizon!
        I also started getting the 'Unfortunately, contacts has stopped' after the new OS update. I want to add my 2 cents since I found a very different fix (after trying the other stuff)...
    My "contacts stopped" problem seemed to come and go, but actually I think it was more subtle, at least in my case, only affecting some of my contacts but not others... When I finally got tired of putting up with it, I tried a number of Power-Offs, hoping to clean up something (hey, it often works for Microsoft OS). At this point, I noticed that some contacts would get the errors but not others. Then I found this forum, and I was optimistic that the clearance of the cache data would fix it, as it had for others... but not so lucky, in my case.
       FINALLY, I decided to take a look at my Google contacts online. There were any number of duplicates that I don't recall creating. Perhaps emails or phone calls occasionally produce some of these? There were also a few contacts that I did not recognize at all (maybe due to the same causes?). SO, I cleaned up the online version of my contacts, went back to my phone, and now the contacts are no longer "stopped"!
       I hope this can help someone. I wish I had thought of it earlier.

  • Oralce 10G2 JDBC Driver - Error Loading oracle.jdbc.driver.OracleDriver

    When attemping to use the 10G2 jdbc driver the following NoClassDefFoundError is encountered:
    Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: oracle.jdbc.driver.OracleDriver
    <<No stacktrace available>>
    Caused by: java.lang.ClassNotFoundException: oracle.security.pki.OracleWallet not found in [file:./, file:ojdbc1410g2.jar, file:/usr/share/java/libgcj-3.4.4.jar, file:./, core:/]
    <<No stacktrace available>>
    The error does not occur when reverting back to the 9 jdbc driver. Does anyone know what is causing this behavior?
    Regards,
    Paul

    Paul,
    Actually, class "oracle.jdbc.OracleDriver" extends class "oracle.jdbc.driver.OracleDriver".
    So check the JAR files in the list displayed by your error message and see if any of them contain the [missing] class, for example:
    jar tvf ojdbc1410g2.jar oracle/jdbc/driver/OracleDriver.classGood Luck,
    Avi.

Maybe you are looking for

  • EBS Trial Balance x HFM

    Howdy there! How can I check if all data loaded are the right ones I need? I checked at AIF_EBS_GL_BALANCES_STG table and I can see SOURCE_LEDGER_ID. Is this the Source Accounting Entities checked at ERPi? I also have a Trail Balance from EBS, but da

  • Missing Video & Audio transitions in FPC 4.5

    Hello I recently replaced my HD and reinstalled all my Apps. After downlaoding 2 hrs of video on my scratch drive and getting ready to edit I noticed my effects tab is missing and when I look in the menu under effects (specifically video and audio tr

  • Cursor Position Discrepancies

    Hi, and first off --- thanks for reading this!  The issue I have encountered with AS has been mentioned by a few people on this vast land of the internet, but I have found no solution, yet. When a text field / textarea is set to render as HTML, I can

  • Problem : SQL Server Delete Statement vs Oracle Delete Statement

    Hi, I am currently involved in a SQL Server - Oracle Migration effort and I have hit a roadblock on one of the queries. I have created two tables named DUMMY and DUMMY1 in MSDE with the same structure :- CREATE TABLE DUMMY      CLIENT_ID             

  • Can you use Time Capsule as an external hard drive?

    I want to use it as both a back-up drive and an external hardrive for movies etc that I dont want to keep on my Mac so I can have more free space. I was just wondering if this is possible with this device or if I need a separate portable hard drive/e