LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  java library not found (java node)

    Employee
    Posted 04-01-2016 18:58

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mlowe

    Hi,

    I'm trying to write a new java node that appends data to a TDE file.

    To do so, I need to use some external libraries. I have placed the jar files in lib/java/ext but I'm getting the following error (from what I can tell it is looking for a *.dll file):

    java.lang.UnsatisfiedLinkError: Unable to load library 'TableauExtract': The specified module could not be found.

    I can find similar issues online and believe I have identified the required DLL but don't know where I should put it? Can someone advise? (alternatively, as I'm not opposed to using Python, can you tell me how to include external python libraries?)

    Cheers
    Mike


  • 2.  RE: java library not found (java node)

    Employee
    Posted 04-03-2016 02:43

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: awilliams1024

    This knowledge base article may provide the information you requested:

    http://na3.salesforce.com/_ui/selfse...000000TD6&ps=1


    Regards,
    Adrian


  • 3.  RE: java library not found (java node)

    Employee
    Posted 04-03-2016 20:23

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mlowe

    Hi Adrian,

    Helps, but I get back to the same error. It seems to be referencing a native (dll) that I need to include somewhere (I guess the questions should be where do I place the dll if this is indeed the solution to the problem). I'm referencing the following: https://community.tableau.com/message/476683 tableau forum post that seems to resolve the problem in this instance for users configuring eclipse to use the tableau SDK.

    Stack trace:
    <![CDATA[java.lang.UnsatisfiedLinkError: Unable to load library 'TableauExtract': The specified module could not be found.

    at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrar y.java:194)
    at com.sun.jna.NativeLibrary.getInstance(NativeLibrar y.java:283)
    at com.sun.jna.NativeLibrary.getInstance(NativeLibrar y.java:244)
    at com.sun.jna.Native.register(Native.java:1065)
    at com.tableausoftware.extract.ExtractAPI.<clinit>(Un known Source)
    at pkg56fcbf08591d3770.appendToTDE.setup(appendToTDE. java:55)
    at com.lavastorm.brain.execution.java.node.NodeWrappe r.nodeSetup(NodeWrapper.java:522)
    at com.lavastorm.brain.execution.java.node.NodeWrappe r.run(NodeWrapper.java:790)
    at com.lavastorm.brain.execution.java.node.NodeWrappe r.main(NodeWrapper.java:1534)
    java.lang.UnsatisfiedLinkError: Unable to load library 'TableauExtract': The specified module could not be found.

    Cheers
    Mike


  • 4.  RE: java library not found (java node)

    Employee
    Posted 04-04-2016 04:53

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: simon.wilby

    Hi,

    The dll would normally need to go in: <LAE install Directory>/lib/<platform>
    It obvioulsy depends on your lae version but on my 6.0 environment the location would be: "C:\Program Files (x86)\Lavastorm\LAE6.0\lib\windows-x86-32"
    You should see a host of other dll's in that location too.

    Hope that helps

    Simon


  • 5.  RE: java library not found (java node)

    Employee
    Posted 04-28-2016 08:00

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Aehetag

    I've been working on the new Tableau API as well. It is important to note, that if you put all the necessary dll's, etc. in the install directory, some of the existing files there will be overwritten.
    This is an issue because that will break the existing Output Tableau node in the lal library, since it expects the old Tableau API (pre - 9.1), and you can't have both working at the same time.
    I came across this because I made a java node that publishes a TDE straight to a Tableau Server using the new API, but then found the existing Output Tableau node stopped working. I had to make my own output TDE node as well for this to work, end to end.
    That worked on my desktop license, but I ultimately want to use this on my enterprise license and allow other users in my org to use my server publish node. Unfortunately, that can't happen unless we rework all our graphs that may use the existing Output Tableau node to use my new output tde node.