Connection TimesTen Memory Database exception no ttJdbcCS70 in Java.library.path solution ___ Database

Source: Internet
Author: User

TimesTen the memory database acquired for Oracle, the difference from the general database is that timesten the data in memory while the other databases store the memory on disk, TimesTen is 10 times faster than Oracle or even higher. TimesTen can seamlessly integrate with Oracle back-end databases, data can flow directly in both TimesTen and Oracle, and can be done in real time, so don't worry about the system suddenly hanging up and losing data.

Now the problem is, the TimesTen is properly installed, the environment variables are correct, the project is properly deployed to Tomcat, the Tomcat itself is started, then the normal access is available, but using myeclipse inside the boot tomcat (not self-contained, configured, you know), The following exception is thrown:

Org.apache.tomcat.dbcp.dbcp.SQLNestedException:Cannot Create poolableconnectionfactory (Problems with loading native Library/missing methods:no ttJdbcCS70 in Java.library.path)

The meaning is very clear, under the Java.library.path can not find Ttjdbccs70.dll this file. But I use System.getproperties (). Get ("Java.library.path") to print, found that the Ttjdbccs70.dll folder path exists, then why the hint can't find it. I try to put the Ttjdbccs70.dll under the c:/windows/system32/, still useless ...

After several times Google, Baidu, finally found a way to execute: In the MyEclipse tomcat configuration under the JDK optional Java VM arguments under the add:-djava.library.path= TimesTen install directory/bin.

ps:-d For the Java command, the input Java in CMD is found to have a-d<name>=<value> this parameter, meaning to assign the name to value.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.