Create JDBC Connection with Jasper Server - jasperserver

I need to create jdbc connection on jasper server with external driver, and this driver need database "property".
I try it on jasper studio on desktop every thing is working good because I have tab for connection properties.
when I try to use this driver on jasper server I couldn't add any additional property for connection just username and password I didn't find any place to additional property.

Related

How to Find Connection Details to HiveServer2 for Tableau Visualization

I am working from the Hue Editor (https://demo.gethue.com/hue/accounts/login?next=/) and I want to connect to Tableau for visualizations.
However, there is no place within the GUI where I can simply copy and paste connection details.
How can I find the connection details in order to allow Tableau to connect to these databases?
Tableau is requesting the following details:
Server
Port
You need to create a connection DSN in ODBC. You need to get/install the odbc driver for that first. Once your odbc is set to the Hive DB, then you can connect to it using Tableau Desktop tool.
But i am not sure if you can connect to impala hue version because you dont know the DB host, port info.

Passing ssl certificates paths to PostgreSQL ODBC driver

I'm attempting to connect to a Postgres database that requires the client pass the paths to client and server SSL certificates using the ODBC driver for postgres. I'm using psqlodbc v11 x86 on Windows 10. I need to have three options passed to the ODBC driver sslrootcert, sslcert, and sslkey. I know that the paths are not being passed by the odbc driver since when I connect using the following connection string where I specify the pqopts it is able to connect.
Driver={PostgreSQL UNICODE};Server=XXXX;Port=5432;Database=XXXX;Uid=XXXX;Pwd=XXX;sslmode=verify-ca;pqopt={sslrootcert=C:\\ssl\\pgSQL.ca.cert sslcert=C:\\ssl\\pgSQL.cert sslkey=C:\\ssl\\pgSQL.key}
According to the document section
Advanced Options 3/3 Dialog Box->Libpq parameters, I should be able to pass the parameters by typing the values within the braces directly into the text box. It displays the error message saying that it cannot find the certificate because it is looking in the default location and is not using the value that was provided in the Libpq text box. Am I doing something wrong? Any advise on how to connect passing client certificates would be greatly appreciated.
Answering this in case anyone else finds this useful. The problem seems to be that the Test button on the ODBC Driver doesn't take the options set in the libpq parameters into account and just uses the default settings. When I saved the ODBC connection closed the ODBC Data Source Administrator window and used the connection from a different program it was able to connect successfully.

ODBC Data Source Administrator - missing tcp/ip for installed driver

When I open the ODBC Data Source Administrator (32-bit) to configure it for DB2 connections, I try to add a System DSN, and then add a DB2 database alias. The issue is that when adding the alias, the CLI/ODBC Settings don't show a TCP/IP tab so that I can enter in my db connection info. The only tabs listed are Data Source and Advanced Settings.
This is the 32-bit version of the driver. The 64-bit version has the TCP/IP tab and I configure it fine, but I need to be able to connect to a 32 bit instance.
How can I resolve this?
Here's what it looks like with the missing tabs: http://i.stack.imgur.com/54j5Y.png
You should be able to set those properties in the Advanced settings:
Add entries for the properties Hostname (use the ip address or hostname), Port (usually its 50000 for DB2) and that should be enough. Maybe you also need to set Property Protocol.
Note: I have never seen a tab to configure the TCP-IP Settings with the DB2 driver. Are you sure you want to use the DB2 driver and not the iSeries Access ODBC Driver? I think this has tabs to define the server connection properties.
I had a similar issue (not seeing the "TCP/IP" tab) while adding a DSN for the DB2 instance (v10.5) on our server. I added the following properties in the "Advanced Settings" tab, as suggested ;
Hostname: [ip address or hostname of the server]
Port: 50000
Database: [DB2 database I need to connect to]
After specifying the User ID & Password on the "Data Source" tab, the connection was successful and now I am able to work on the DB2 database using MS Access (Win 7, Office 2010).
Thank you!!!

Epicor and Crystal Reports

I have a connection setup to OLE DB (ADO), I try to use integrated security but in Epicor it asks for a username and password to preview the report. This only happens when I am pulling a table or a view from the SQL server that has the database. So, I tried to do an ODBC connection, now it says in Epicor that it cannot connect to the database. How do I use the OLE DB connection but not have it prompt for credentials in Epicor?
You need a report viewer, which is able to preserve the login information.
Here are links to 2 free viewers:
http://www.r-tag.com/Pages/FreeCrystalReportsViewer.aspx
http://www.groffautomation.com

Crystal Reports against OLAP / XMLA / SimbaO2X-server

I'm trying to convert some old Excel-reports to Crystal Reports. The excel sheets uses OLAP-cubes and connects to a database using a XMLA connection over a SimbaO2X driver.
I just can't figure out which connection settings to use in Crystal Reports to be able to connect to the database.
I've tried both XML and OLAP connections, but just can't get a database connection.
Any help with the connection setting would be appreciated!
Edit: The database is a bit of a black box; it's probably an Oracle database (it was an Oracle database before the end user frontend was rewritten in java. They could have changed the database as well.) I have however no success with neither the Oracle Server nor the Microsoft OLE DB for Oracle connection method.
I have also this morning found a SimbaO2X provider under the OLE DB folder. While not working it's the best so far -- it accepts the username and password and lets me select which database to connect to but then fails with ADO Error Code: 0x80040e73 (Format of the initialization string does not conform to the OLE DB specification.) At least I have something to go on.
I'm running Crystal Reports XI if someone needs to know.
Partial solution:
Upgrade Crystal Reports XI to Release 2, service pack 4.
Update from service pack 4 to service pack 6.
Upgrades and updates can be downloaded from the SAP Community Network
A connection can now be made with the SimbaO2X OLE DB driver. This solution should also resolve connection problems with some other databases as well.
However, adding a table to the report results in a 0x800a0cc1 error (Item cannot be found in the collection corresponding to the requested name or ordinal)