connect jasperreports to ms access database using ucanaccess - ms-access-2013

I use UcanAccess to access MS Access database from java 8 u 02 ,I want to configure jaspereports plugin on netbeans to connect to a MDB Database using UcanAccess ,I know that JdbcOdbc Driver is not supproted on java 8 , SO Any idea of How I Procced ?
SO After searching ,I have found some method of adding five jar file of ucanaccess on ireport plugin classpath but I get this error :
IMAGE001
the five jar file are added correctlly : IMAGE002

Related

Unable to connect to couchbase from jmeter

I am trying to query couchbase from within JMeter in mac.
I downloaded connector-couchbase-10.0.2.jar. I put the jar file in the jmeter lib folder. I have the couchbase URL of my org and I can connect to it and query it directly.
I put the couchbase uRL in the jmeter JDBC Connector Configuration element. However, it is not clear what to put in the JDBC Driver class.
I keep getting the error message "“Cannot load JDBC driver class”. Any idea what should I do? Is there a way to add the couchbase connector through the JMeter Plugins Manager?
I appreciate any clues to this.
Add also connector's dependencies to JMeter's lib folder
Dependencies teiid-api, teiid-common-core, jboss-connector-api_1.7_spec, couchbase-api, java-client,
Use JDBC Driver as cdata.jdbc.couchbase.CouchbaseDriver, see couchbase JDBC docs
Provide the JDBC URL. For example:
jdbc:couchbase:User='myusername';Password='mypassword';Server='http://couchbase40'
or
jdbc:cdata:couchbase:User='myusername';Password='mypassword';Server='http://couchbase40'

how to update snowflake driver in Talend open studio 7.2

Snowflake has recently updated launched JDBC Driver 3.12.x . However the talend open studios is still have 3.6.3 JDBC jar.
Is there a mechanism in talend to change the JDBC driver?
I tried updating the xml file but still the JDBC driver my job was picking up 3.6.3
You could use the Talend/Modules view to modify the JDBC driver, using a custom MVN URI. This is done at the project level.
You said it's picking 3.12x. I am assuming its a typo from your side.
What component you are using to connect to snowflake using talend ?
If this is not the tSnowflakeConnection.
Then you have couple of other talend components like(remember you can do all whatever you are doing using these components)
tJdbcRow
tJdbcConnection
Now if you want to use any of the above component they all allow you to add the driver jar.
Download the intended jar of your choice and use that in the above components instead.
Please let me know if this helps.

Tibco Service JDBC SQL deployment issue

I have created a Service running on Tibco, containing a JDBC-enabled process within it, and tested it successfully. The database server is MySQL, and is hosted remotely. When connecting to the remote DB from the service hosted on my machine, the SQL is executed well, but after building the Tibco EAR file and deploying to another external machine, then trying to access the same remote DB server using the same credentials, the external machine returns the below error upon returning:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=DEFAULT' at line 1
So, a few questions:
What could be the cause of the above error, given the DB being accessed is the exact same one, using same SQL query, but from different machines?
Is the JDBC driver used for development compiled as part of the packaged EAR file?
Does the JDBC driver being used in a Tibco Process depend on the Tibco service installed or on the packaged EAR file?
Am asking from a learner PoV as am currently picking up Tibco
It looks like jdbc driver issue. You may have different mysql driver version in tibco designer and BusinessWorks.
You don't need to add jdbc driver to your ear package.
Please note that you can specify mysql driver in your package classpath. In tibco Administrator PackageName->Configuration->ServerSettings->Prepend to ClassPath or Append to Class path.
You can also try to copy the driver from your tibco designer(in BW5 it's in \tibco\bw\5.11\lib\
) to the BusinessWorks classpath

Failed to create DB2 datasource in weblogic 10.3.6

I am trying to create a DB2 Data source in weblogic 10.3.6.But I am getting error "cann't load db2 driver". Here I am using Oracle's DB2 (type 4) JDBC Driver. I have provided valid hostname, db2 name and port in connection pool. Also I kept db2jcc4.jar file in $(Domain_Home)/lib folder. But I could not able to figure out reason behind failure. Your help would be appreciated, thanks in advance..
Finally, I managed to get DB2 datasource in weblogic.
Added db2jcc.jar & db2jcc_license_cisuz.jar file in $(Domain_Home)/lib/" directory.
Added jar file in CLASSPATH
set CLASSPATH=${CLASSPATH}${Domain_Home}/lib/db2jcc.jar${Domain_Home}/lib/db2jcc_license_cisuz.jar

XPages Ext Lib - create OSGI plugin for JDBC driver for iSeries

I have downloaded the JTOpen toolbox (http://jt400.sourceforge.net/) and am using the XPages Ext Lib "JDBC Driver Plug-in Wizard" to create an OSGI plug-in for JDBC access to iSeries files.
On the Wizard I left the Type drop-down empty and manually entered a Class of "com.ibm.as400.access.AS400JDBCDriver" - I think this is the correct class, but not 100% certain. I added the JAR file jt400.jar from the java6 directory of JTOpen.
After importing the generated site.xml into the Update Site database and restarting the HTTP task I issued a "tell http osgi ss com.ibm.as400" command - but do not see the OSGI plugin listed.
I have previously been through the same process for a JDBC driver for SQL Server and that works fine. I suspect I'm either using the wrong jar file or have the wrong class name. The Domino server is 9.0.1 FP1.
Any suggestions welcome!
If you issue the command tell http osgi diag com.ibm.as400, that will tell you of any dependency issues.

Resources