Questions tagged [jdbc]

Base API which enables interacting with SQL database servers by executing SQL statements using the Java programming language

90 questions
0
votes
1 answer

Installed JDBC drivers into Solr

I am running Solr4 on Jetty9 and I am trying to include the JDBC drivers for both MySQL and PostgreSQL. I'm a little confused about how I do this. I believe these to be the two files I need:…
J.Zil
  • 1,103
  • 3
  • 20
  • 29
0
votes
2 answers

Set up JDBC DataSource in LDAP

How do I create a JDBC DataSource in an OpenLDAP server? The problem is that jdbc/something is not a valid DN or RDN. But that is the format of the name that you are supposed to use for JDBC DataSources. This is for an Oracle database, though I…
Robin Green
  • 451
  • 3
  • 11
0
votes
2 answers

mysql, java, and MySQLTimeoutException

I've moved the mysql server on different machine in LAN, 16 core, 8GB RAM, and the same dreaaded result. During a load test, all is going well until around 300 seconds. There are 15 persistent connections from DB's client to DB, and after this…
kellogs
  • 69
  • 8
0
votes
3 answers

Cannot connect to mysql database remotely using jdbc

I am trying to connect to my database which is hosted on 000webhost. I am connecting from SmartFoxServer, and they allow database connections. All you have to do is change some of the settings in the smartfoxserver xml file. I have successfully…
Joe Slater
  • 127
  • 1
  • 7
0
votes
1 answer

Upgrade oralce jdbc driver in Weblogic 10

I found in Weblogic's documentation, "If you plan to use a different version any of the drivers installed with WebLogic Server, you can replace the driver file in WL_HOME\server\lib with an updated version of the file or add the new file to the…
Dean
0
votes
1 answer

jdbc4 CommunicationsException

I have a machine running a java app talking to a mysql instance running on the same instance. the app uses jdbc4 drivers from mysql. I keep getting com.mysql.jdbc.exceptions.jdbc4.CommunicationsException at random times. Here is the whole…
letronje
  • 429
  • 1
  • 6
  • 16
0
votes
2 answers

ColdFusion8 FusionReactor JDBC wrapper - bad driver jars?

I'm having trouble getting the JDBC wrapper tool to wrap my ODBC connections. Before the version that came out today, it wouldn't even run due to a compatibility issue with CF8. Now it's saying There is a problem with your driver files. Please…
0
votes
1 answer

Setting up MySQL server on LAN to be used with JDBC

I'm creating an application with client-server architecture in java. What I'm trying to achieve is a simple client-server architecture connected via LAN with an ethernet switch, the server is having a server module of application running and also…
Asif
  • 133
  • 1
  • 4
0
votes
1 answer

FileMaker Server not listening on Port 2399 for ODBC/JDBC

I am trying to create a ODBC connection from an OSX machine to a Filemaker server 10 using a DataDirect SeQuel Link 5.5 JDBC drive. I have ODBC/JDBC enabled on the server and I followed all of the instructions to set up JDBC properly (and the…
Greg_the_Ant
  • 489
  • 7
  • 25
0
votes
1 answer

Solr could not index my table from mysql

I have ubuntu server and mysql version 5.1.41-3ubuntu12.10-log. i need to run solr on my webserver. i have installed lucidworks-enterprise-installer-1.7 and mysql-connector-java-5.1.17-bin.jar on the webserver already. but i can't build the index…
Alaa Alomari
  • 638
  • 5
  • 18
  • 37
0
votes
1 answer

ODSI + weblogic = JDBC problem

I'm currently developing a web service using ODSI through Oracle Workshop for WebLogic (ex AquaLogic). I created a datasource on weblogic using the driver "Oracle thin driver 10g", the test succeed on WebLogic. (My Database is Oracle 10…
0
votes
2 answers

Where to install JDBC drivers in Hyperic Server

I have installed Hyperic Server 4.4.0 and I want to use an SQL plugin that connects to an Oracle database. To make this work on the Agent i had to download a JDBC driver for Oracle and put it in [agent-dir]/bundles/[bundle-dir]/pdk/lib. I can now…
Svish
  • 6,627
  • 14
  • 37
  • 45
0
votes
2 answers

Newbie question: How do I connect to Oracle db from linux command line

I had experience with mysql before, but know completely nothing about Oracle DB. Recently, I'm assigned to add a simple feature to an existing system. Albeit simple, I need to connect to the db and get some knowledge about the existing database. But…
Haozhun
  • 257
  • 2
  • 5
  • 10
0
votes
1 answer

PostgreSQL + JDBC: parse too slow on first query

I use Aqua Data Studio in OS X to make queries in a PostgreSQL server, but the first query of the day runs too slow. It not depends on the SQL, a simple SELECT current_timestamp will parse and execute in about 5 seconds, any subsequent query will…
0
votes
1 answer

Frustrating JDBC MySQL Exception

So I'm setting up my new server after my old one had died of a server failure. The only boulder I've hit is the JDBC set up. My server runs a Java program that had originally worked fine with the old server. I'll cut to the chase and show you what…
AeroDroid
  • 101
  • 1