apex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Chandra Putta <ashwinchand...@gmail.com>
Subject Re: First Apex Application
Date Sat, 13 Feb 2016 01:03:15 GMT
Jim

>From the exception trace, it does seem like xalan classes are injected from
some dependency. Can you also check the contents in the app package to
ensure that it is not pulled in from somewhere.

The xalan classes are in the classpath from some source, we need to figure
out from where.

Regards,
Ashwin.

On Fri, Feb 12, 2016 at 4:25 PM, Jim <jim@facility.supplies> wrote:

> I did check that, and it is not coming from anywhere else.
>
>
>
> Jim
>
>
>
> *From:* Ashwin Chandra Putta [mailto:ashwinchandrap@gmail.com]
> *Sent:* Friday, February 12, 2016 5:54 PM
>
> *To:* users@apex.incubator.apache.org
> *Subject:* Re: First Apex Application
>
>
>
> I am wondering if xalan dependency is coming from some other dependency
> path even if you excluded it in mylin. You can try maven dependency tree
> command to check all the dependencies that are used within the tree.
>
>
>
> Run the following command from the directory in which pom.xml resides.
>
>
>
> mvn dependency:tree
>
>
>
> Regards,
>
> Ashwin.
>
>
>
> On Fri, Feb 12, 2016 at 3:48 PM, Jim <jim@facility.supplies> wrote:
>
> Yes, I can try that.. it may take me a little bit.. will respond as soon
> as I have tested that.
>
>
>
> FYI, the smooks module takes two template xml files, and allows me to
> transform an inbound edi string, to an xml document, which is more easily
> parsed from within the application.
>
>
>
> Thanks,
>
>
>
> Jim
>
>
>
> *From:* Ashwin Chandra Putta [mailto:ashwinchandrap@gmail.com]
> *Sent:* Friday, February 12, 2016 5:45 PM
>
>
> *To:* users@apex.incubator.apache.org
> *Subject:* Re: First Apex Application
>
>
>
> Let me try with that Jim, meanwhile do you mind trying out excluding
> everything for you dependency and then add only required sub dependencies
> externally?
>
>
>
> <*dependency*>
>   <*groupId*>org.milyn</*groupId*>
>   <*artifactId*>milyn-smooks-edi</*artifactId*>
>   <*version*>${smooks.version}</*version*>
>   <*exclusions*>
>     <*exclusion*>
>       <*artifactId*>*</*artifactId*>
>       <*groupId*>*</*groupId*>
>     </*exclusion*>
>   </*exclusions*>
> </*dependency*>
>
>
>
> Regards,
>
> Ashwin.
>
>
>
> On Fri, Feb 12, 2016 at 3:36 PM, Jim <jim@facility.supplies> wrote:
>
> 1.6
>
>
>
> *From:* Ashwin Chandra Putta [mailto:ashwinchandrap@gmail.com]
> *Sent:* Friday, February 12, 2016 5:34 PM
>
>
> *To:* users@apex.incubator.apache.org
> *Subject:* Re: First Apex Application
>
>
>
> Thanks for sharing the dependency Jim. Which version of mylin are you
> using?
>
>
>
> Regards,
>
> Ashwin.
>
>
>
> On Fri, Feb 12, 2016 at 3:26 PM, Jim <jim@facility.supplies> wrote:
>
> I do have a module that pulls in xalan, but I have excluded it in the POM:
>
>
>
> <*dependency*>
>   <*groupId*>org.milyn</*groupId*>
>   <*artifactId*>milyn-smooks-edi</*artifactId*>
>   <*version*>${smooks.version}</*version*>
>   <*exclusions*>
>     <*exclusion*>
>       <*artifactId*>xercesImpl</*artifactId*>
>       <*groupId*>xerces</*groupId*>
>     </*exclusion*>
>     <*exclusion*>
>       <*artifactId*>icu4j</*artifactId*>
>       <*groupId*>com.ibm.icu</*groupId*>
>     </*exclusion*>
>     <*exclusion*>
>       <*artifactId*>xalan</*artifactId*>
>       <*groupId*>xalan</*groupId*>
>     </*exclusion*>
>     <*exclusion*>
>       <*artifactId*>jaxen</*artifactId*>
>       <*groupId*>jaxen</*groupId*>
>     </*exclusion*>
>   </*exclusions*>
> </*dependency*>
>
>
>
>
>
> I don’t have it referenced anywhere else in my maven show depencies from
> within my intellij
>
>
>
>
>
> Jim
>
>
>
> *From:* Ashwin Chandra Putta [mailto:ashwinchandrap@gmail.com]
> *Sent:* Friday, February 12, 2016 5:21 PM
> *To:* users@apex.incubator.apache.org
> *Subject:* RE: First Apex Application
>
>
>
> Jim,
>
> It seems like something to do with the xalan related dependency which
> might be conflicting with the default xml parsing dependency in
> DTConfiguration.
>
> And I am thinking xalan expects launch.xml to be available when it does a
> transform?
>
> Regards,
> Ashwin.
>
> On Feb 12, 2016 3:16 PM, "Jim" <jim@facility.supplies> wrote:
>
> Yes, I mean I can see the application in the DataTorrent management
> console:
>
>
>
>
>
> And there were no errors when uploading.
>
>
>
> When I hit launch though, I get the error identified in my original
> message.
>
>
>
> In the POM, I refer to Apex version: 3.2.0-incubating
>
>
>
>
>
> In the gateway information I get the following from the Gateway
> information page:
>
>
>
> Gateway Information
>
>  restart the gateway
>
> *item*
>
> *value*
>
> buildDate
>
> 23.10.2015 @ 16:12:06 PDT
>
> buildRevision
>
> rev: d61ca61 branch: release-3.2
>
> buildUser
>
> Thomas Weise
>
> buildVersion
>
> 3.2.0-incubating from rev: d61ca61 branch: release-3.2 by Thomas Weise on
> 23.10.2015 @ 16:12:06 PDT
>
> configDirectory
>
> /opt/datatorrent/releases/3.2.0/conf
>
> gatewayUser
>
> dtadmin
>
> hadoopIsSecurityEnabled
>
> false
>
> hadoopLocation
>
> /sfw/hadoop/current/bin/hadoop
>
> hostname
>
> dtbox
>
> javaVersion
>
> 1.7.0_79
>
> jvmName
>
> 1246@dtbox
>
> version
>
> 3.2.0-incubating
>
> connect address
>
> 127.0.0.1:9090
>
>
>
> Is that what you were looking for?
>
>
>
> Jim
>
>
>
>
>
> *From:* Pramod Immaneni [mailto:pramod@datatorrent.com]
> *Sent:* Friday, February 12, 2016 5:10 PM
> *To:* users@apex.incubator.apache.org
> *Subject:* Re: First Apex Application
>
>
>
> Jim,
>
>
>
> When you say uploads to Apex servers works, do you mean DataTorrent RTS
> management console. If so can you tell me what version of RTS have you
> installed and what is the apex version you are referring to in your pom.xml?
>
>
>
> Thanks
>
>
>
> On Fri, Feb 12, 2016 at 2:16 PM, Jim <jim@facility.supplies> wrote:
>
> I am testing my first Apex application.
>
>
>
> I developed using Intellij editor on windows, and set up a test Apex
> server on a linux Ubuntu box using the sandboxed enterprise edition.
>
>
>
> My application runs fine locally from my dev environment; all operators
> run as expected and access the correct databases, etc.
>
>
>
> The application uploads to the Apex server on the linux box without any
> issues.
>
>
>
> But when I try to launch the application, I see the error:
>
>
>
> An error occurred trying to launch the application. Server message:
> java.io.IOException: javax.xml.transform.TransformerException:
> java.io.FileNotFoundException:
> file:/tmp/dt-appPackage-93335579184573/launch.xml (No such file or
> directory) at
> com.datatorrent.stram.client.DTConfiguration.writeToFile(DTConfiguration.java:141)
> at
> com.datatorrent.stram.client.DTConfiguration.writeToFile(DTConfiguration.java:147)
> at com.datatorrent.stram.cli.DTCli.getLaunchAppPackageArgs(DTCli.java:3611)
> at com.datatorrent.stram.cli.DTCli.launchAppPackage(DTCli.java:3450) at
> com.datatorrent.stram.cli.DTCli.access$7000(DTCli.java:106) at
> com.datatorrent.stram.cli.DTCli$LaunchCommand.execute(DTCli.java:1892) at
> com.datatorrent.stram.cli.DTCli$3.run(DTCli.java:1449) Caused by:
> javax.xml.transform.TransformerException: java.io.FileNotFoundException:
> file:/tmp/dt-appPackage-93335579184573/launch.xml (No such file or
> directory) at
> org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:245)
> at
> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:278)
> at
> com.datatorrent.stram.client.DTConfiguration.writeToFile(DTConfiguration.java:135)
> ... 6 more Caused by: java.io.FileNotFoundException:
> file:/tmp/dt-appPackage-93335579184573/launch.xml (No such file or
> directory) at java.io.FileOutputStream.open(Native Method) at
> java.io.FileOutputStream.<init>(FileOutputStream.java:221) at
> java.io.FileOutputStream.<init>(FileOutputStream.java:110) at
> org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:235)
> ... 8 more
>
>
>
> And I cannot find any references to this file in any google searches, or
> documentation.
>
>
>
> Has anyone encountered this error, and can tell me what is causing it so I
> can launch my application?
>
>
>
> Thanks,
>
>
>
> Jim
>
>
> Jim
>
>
> jim@facility.supplies (414) 760-7711
> ------------------------------
>
> *The information contained in this communication, including any files or
> attachments transmitted with it, may contain copyrighted information or
> information that is confidential and exempt from disclosure under
> applicable laws and regulations, is intended only for the use of the
> recipient(s) named above, and may be legally privileged. If the reader of
> this message is not the intended recipient, you are hereby notified that
> any dissemination, distribution, or copying of this communication, or any
> of its contents, files or attachments, is strictly prohibited. If you have
> received this communication in error, please return it to the sender
> immediately and delete the original message and any copy of it from your
> computer system. If you have any questions concerning this message, please
> contact the sender. *
>
>
>
>
> ------------------------------
>
> *The information contained in this communication, including any files or
> attachments transmitted with it, may contain copyrighted information or
> information that is confidential and exempt from disclosure under
> applicable laws and regulations, is intended only for the use of the
> recipient(s) named above, and may be legally privileged. If the reader of
> this message is not the intended recipient, you are hereby notified that
> any dissemination, distribution, or copying of this communication, or any
> of its contents, files or attachments, is strictly prohibited. If you have
> received this communication in error, please return it to the sender
> immediately and delete the original message and any copy of it from your
> computer system. If you have any questions concerning this message, please
> contact the sender. *
>
>
> Jim
>
>
> jim@facility.supplies (414) 760-7711
> ------------------------------
>
> *The information contained in this communication, including any files or
> attachments transmitted with it, may contain copyrighted information or
> information that is confidential and exempt from disclosure under
> applicable laws and regulations, is intended only for the use of the
> recipient(s) named above, and may be legally privileged. If the reader of
> this message is not the intended recipient, you are hereby notified that
> any dissemination, distribution, or copying of this communication, or any
> of its contents, files or attachments, is strictly prohibited. If you have
> received this communication in error, please return it to the sender
> immediately and delete the original message and any copy of it from your
> computer system. If you have any questions concerning this message, please
> contact the sender. *
>
>
> ------------------------------
>
> *The information contained in this communication, including any files or
> attachments transmitted with it, may contain copyrighted information or
> information that is confidential and exempt from disclosure under
> applicable laws and regulations, is intended only for the use of the
> recipient(s) named above, and may be legally privileged. If the reader of
> this message is not the intended recipient, you are hereby notified that
> any dissemination, distribution, or copying of this communication, or any
> of its contents, files or attachments, is strictly prohibited. If you have
> received this communication in error, please return it to the sender
> immediately and delete the original message and any copy of it from your
> computer system. If you have any questions concerning this message, please
> contact the sender. *
>
>
> Jim
>
>
> jim@facility.supplies (414) 760-7711
> ------------------------------
>
> *The information contained in this communication, including any files or
> attachments transmitted with it, may contain copyrighted information or
> information that is confidential and exempt from disclosure under
> applicable laws and regulations, is intended only for the use of the
> recipient(s) named above, and may be legally privileged. If the reader of
> this message is not the intended recipient, you are hereby notified that
> any dissemination, distribution, or copying of this communication, or any
> of its contents, files or attachments, is strictly prohibited. If you have
> received this communication in error, please return it to the sender
> immediately and delete the original message and any copy of it from your
> computer system. If you have any questions concerning this message, please
> contact the sender. *
>
>
>
>
>
> --
>
>
>
> Regards,
>
> Ashwin.
>
>
>
> ------------------------------
>
> *The information contained in this communication, including any files or
> attachments transmitted with it, may contain copyrighted information or
> information that is confidential and exempt from disclosure under
> applicable laws and regulations, is intended only for the use of the
> recipient(s) named above, and may be legally privileged. If the reader of
> this message is not the intended recipient, you are hereby notified that
> any dissemination, distribution, or copying of this communication, or any
> of its contents, files or attachments, is strictly prohibited. If you have
> received this communication in error, please return it to the sender
> immediately and delete the original message and any copy of it from your
> computer system. If you have any questions concerning this message, please
> contact the sender. *
>
>
> Jim
>
>
> jim@facility.supplies (414) 760-7711
> ------------------------------
>
> *The information contained in this communication, including any files or
> attachments transmitted with it, may contain copyrighted information or
> information that is confidential and exempt from disclosure under
> applicable laws and regulations, is intended only for the use of the
> recipient(s) named above, and may be legally privileged. If the reader of
> this message is not the intended recipient, you are hereby notified that
> any dissemination, distribution, or copying of this communication, or any
> of its contents, files or attachments, is strictly prohibited. If you have
> received this communication in error, please return it to the sender
> immediately and delete the original message and any copy of it from your
> computer system. If you have any questions concerning this message, please
> contact the sender. *
>
>
>
>
>
> --
>
>
>
> Regards,
>
> Ashwin.
>
>
>
>
> ------------------------------
>
> *The information contained in this communication, including any files or
> attachments transmitted with it, may contain copyrighted information or
> information that is confidential and exempt from disclosure under
> applicable laws and regulations, is intended only for the use of the
> recipient(s) named above, and may be legally privileged. If the reader of
> this message is not the intended recipient, you are hereby notified that
> any dissemination, distribution, or copying of this communication, or any
> of its contents, files or attachments, is strictly prohibited. If you have
> received this communication in error, please return it to the sender
> immediately and delete the original message and any copy of it from your
> computer system. If you have any questions concerning this message, please
> contact the sender. *
>
>
> Jim
>
>
> jim@facility.supplies (414) 760-7711
> ------------------------------
>
> *The information contained in this communication, including any files or
> attachments transmitted with it, may contain copyrighted information or
> information that is confidential and exempt from disclosure under
> applicable laws and regulations, is intended only for the use of the
> recipient(s) named above, and may be legally privileged. If the reader of
> this message is not the intended recipient, you are hereby notified that
> any dissemination, distribution, or copying of this communication, or any
> of its contents, files or attachments, is strictly prohibited. If you have
> received this communication in error, please return it to the sender
> immediately and delete the original message and any copy of it from your
> computer system. If you have any questions concerning this message, please
> contact the sender. *
>
>
>
>
>
> --
>
>
>
> Regards,
>
> Ashwin.
>
>
>
>
>
> ------------------------------
>
> *The information contained in this communication, including any files or
> attachments transmitted with it, may contain copyrighted information or
> information that is confidential and exempt from disclosure under
> applicable laws and regulations, is intended only for the use of the
> recipient(s) named above, and may be legally privileged. If the reader of
> this message is not the intended recipient, you are hereby notified that
> any dissemination, distribution, or copying of this communication, or any
> of its contents, files or attachments, is strictly prohibited. If you have
> received this communication in error, please return it to the sender
> immediately and delete the original message and any copy of it from your
> computer system. If you have any questions concerning this message, please
> contact the sender. *
>
> Jim
>
>
> jim@facility.supplies (414) 760-7711
> ------------------------------
> The information contained in this communication, including any files or
> attachments transmitted with it, may contain copyrighted information or
> information that is confidential and exempt from disclosure under
> applicable laws and regulations, is intended only for the use of the
> recipient(s) named above, and may be legally privileged. If the reader of
> this message is not the intended recipient, you are hereby notified that
> any dissemination, distribution, or copying of this communication, or any
> of its contents, files or attachments, is strictly prohibited. If you have
> received this communication in error, please return it to the sender
> immediately and delete the original message and any copy of it from your
> computer system. If you have any questions concerning this message, please
> contact the sender.
>



-- 

Regards,
Ashwin.

Mime
View raw message