Export SQL to Flat File

Hi all, I am using "Export SQL to Flat File": node completed successfully but it doesn't generate any output document, maybe I'm configuring something wrong. I passed all the required field to "Export SQL to Flat File" as attached. Is there anything I'm missing ?
Thanks for your help!

OriginalPostID-267021



  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    I have tried the same thing but it throws error which can be noticed in the stdOut.log file. I think are some issues with this smart service. If anyone getting any working solution then please post. Below are my observation and sample logs...

    With JNDI - ="java:jdbc/xxxxxx"

    10:53:38,459 INFO [stdout] (Appian Work Item - 9509 - ProcessExec02 : UnattendedJavaActivityRequest) 2018-01-23 10:53:38,458 [Appian Work Item - 9509 - ProcessExec02 : UnattendedJavaActivityRequest] WARN com.appiancorp.common.StrictNamingInitialContext - Detected attempted lookup using invalid JNDI name [java:jdbc/xxxxxx]; attempting to recover by lookup using [java:/jdbc/xxxxxx]. Details:
    10:53:38,459 INFO [stdout] (Appian Work Item - 9509 - ProcessExec02 : UnattendedJavaActivityRequest) com.appiancorp.common.StrictNamingInitialContext.lookup(StrictNamingInitialContext.java:54)
    10:53:38,459 INFO [stdout] (Appian Work Item - 9509 - ProcessExec02 : UnattendedJavaActivityRequest) sun.reflect.GeneratedMethodAccessor22684.invoke(Unknown Source)

    With JNDI - ="jdbc/xxxxxxx"

    10:51:49,599 INFO [stdout] (Appian Work Item - 9508 - ProcessExec01 : UnattendedJavaActivityRequest) 2018-01-23 10:51:49,598 [Appian Work Item - 9508 - ProcessExec01 : UnattendedJavaActivityRequest] ERROR com.appiancorp.analytics.excel_export.ExportSqlToFlatFile - java.lang.NullPointerException
    10:51:49,599 INFO [stdout] (Appian Work Item - 9508 - ProcessExec01 : UnattendedJavaActivityRequest) java.lang.NullPointerException
    10:51:49,599 INFO [stdout] (Appian Work Item - 9508 - ProcessExec01 : UnattendedJavaActivityRequest) at com.appiancorp.analytics.excel_export.ExportSqlToFlatFile.run(ExportSqlToFlatFile.java:81)
  • How to get the jndi it always depends on your Application server

    if you are using JBoss try the jndi to "java:/jdbc/xxxxxxxxxxxx"
    if you were using Oracle Weblogic the jndi should be "jdbc/xxxxxxxxxxxx"
    and so on.

     

    But i will support the use of Appian's Smart service as mentioned in previous posts

Reply Children
No Data