Connect Tableau to Athena on Mac OS - amazon-web-services

Tableau Version 2021.1.2
Java Version
openjdk 16.0.1 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-16.0.1+9 (build 16.0.1+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-16.0.1+9 (build 16.0.1+9, mixed mode, sharing)
I placed the driver under ~/Library/Tableau/Drivers, but consistently getting the error message as shown in the attachment.Error Message from Tableau Desktop

I think that you are placing drivers in the wrong folders, you have to copy the .jar file inside the folder
C:\Program Files\Tableau\Drivers
If it doesn't exist you have to create it.
From the Tableau Drivers download page:
Follow these steps to install the JDBC driver for Amazon Athena on
your Windows computer:
Download the JDBC driver (.jar file) from the Amazon Athena User Guide
on Amazon's website. Move the downloaded .jar file to C:\Program
Files\Tableau\Drivers.

Try putting it as
/Users/<username>/Library/JDBC/AthenaJDBC42.jar

Try to unhide the hidden folder from the account which you mainly sign in from your Mac because there is a hidden Library folder where you would need to put the appropriate jar file in that's located in the folder.
My url was Computer/MacintoshHD/Users/myusername/Library
This is the Library directory where I pressed shirt+command+. to unhide it. There, you should be able to find an already created Tableau Folder which contains another directory known as Driver. You would need to place the appropriate jar file in the Driver folder.
Hope this helps!

Related

How to install oracle instant client

My teacher asked to install the oracle instant client with the instruction to run the setup.exe. However, I just couldn't find the setup.exe file after extract the zipped file. Here is all the files I got and another is the instruction.
the instruction to run the setup.exe
all the files I got
There's no setup.exe for instant client. You just unzip it to a directory, put that directory into PATH and off you go.
Instant Client Installation for Microsoft Windows 64-bit (presuming you're on MS Windows).
Screenshot you posted refers to Oracle client, NOT instant client! - these are two separate pieces of software.

Amazon aws missing dlls (MSVCP140, VCRUNTIME140, CONCRT140)

I made an web server app, that should reside on amazon aws vitual machine with win10.
When i trying execute this app, it says that it missing dlls (MSVCP140, VCRUNTIME140, CONCRT140)
In the app i use cpprestsdk, cryptocpp, opencv.
I try to install various visual C++ redistributables, but its not gave the result.
Downloaded this dlls separately and put it into system32 foled ,but either no result.
When i put dlls in app folder it gave me the error that app was unable to start correctly (0xc0000007b).
Tryed to execute app builded with /MT flag (it actually dont remove all the dlls) and problem is still there
Amazon instance type is t2.micro

WSO2 IS - "The system cannot find the path specified" when trying to start server

I set the path "JAVA_HOME" and installed WSO2 IS 5.6.0 x64 on Windows 2016 Server. After the installation, I try to start the server via "wso2server.bat", but I get the message "The system cannot find the path specified. The batch file cannot be found". After doing this operation, when I looked into the folder where the server was installed, I noticed that all files are deleted.
Am I doing something wrong? How to correctly run WSO2 Identity Server?
Thank you for pointing this issue with WSO2 Windows Product Installers. The issue is resolved and updated product installers are now available in WSO2 website.
You can download WSO2 IS 5.6.0 x64 Windows Installer from here. Then install WSO2 IS 5.6.0 on your machine using downloaded '.msi' file. After installation, start the server by clicking on the shortcut that build by the installer. You can find WSO2 IS 5.6.0 shortcut in following location.
Start Menu -> All apps -> WSO2
or you can search "Identity Server 5.6.0" in Windows search and click on the shortcut. This will start the WSO2 Identity Server on your machine.
For new WSO2 Products Installers you do not need to set JAVA_HOME separately. It contain jdk1.8.0_192 and if JAVA_HOME is not set, it will automatically set JAVA_HOME to jdk1.8.0_192 and start the WSO2 Product.
This blog could be a help for you to understand the installation progress.
For me the problem was solved with not downloading the windows x64 installer but rather the binary
wso2is 5.6.0 binary.
After downloading you just open bin directory and run the wso2server.bat file.
If you need to make it windows service use the NSSM

Data folder location incorrect Sitecore 8.2 Update 1

As per Sitecore documentation with version 8.2 rev.161115 the data folder has been relocated to be under website/App_Data folder of the installation.
I installed the vanilla Sitecore installation of Sitecore XP 8.2 rev. 161115 (8.2 Update-1) through the exe web application installer. However in the fresh installation, I noticed that the data folder is still located outside root of my application. The iis instance and databases were correctly configured by the web installer though.
Is this the expected behavior? As the exe just runs a wizard I don't see an option to configure the default data folder.
Thanks,
Abhi
If you are installing Sitecore from the exe or the zip file then the data folder is still located outside from the root application:
From section 4.1 Installation Process Overview in the installation guide:
Extract the .zip archive to create the following folders:
C:\InetPub\wwwroot\ProjectName\Website
C:\InetPub\wwwroot\ProjectName\Data
C:\InetPub\wwwroot\ProjectName\Databases
If you check the structure of the zip package then you will see the same structure:
The data folder has however been moved inside the website/App_Data folder for Azure PaaS installation, which makes sense given the nature of AppService containers and the fact that the application is essentially deployed to the root (so folders cannot reside outside). If you check the structure of the packages for Azure AppService from the Sitecore download page then you will notice the same:

How to run WSO2 API Manager from source code

I am trying to run the WSO2 API Manager from source code.
I have installed orbit,kernel and platform of version 4.0.0
After installing the platform(mvn clean install -Dmaven.test.skip=true -Dproduct=apimgt), what
is the next step to see the API Manger portal in browser
and play around it.
If you built everything successfully go into product/apimgt//modules/distribution/product/target in platform. then you will find the binary distribution as a zip file you can extract this to a place of your choice and run the wso2server.sh( linux) or wso2server.bat( windows) in the bin folder.
Thanks,
Pulasthi