Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: carte startup error, linux 64bit

  1. #1
    Join Date
    Jan 2007
    Posts
    29

    Default carte startup error, linux 64bit

    Hi Matt and all. Hoping someone can help me. This is most likely a path error on my part somewhere, but I haven't discovered it yet. I installed Java1.6update2 and Kettle 2.5.1 on a linux 64bit machine. I tried to fire up carte.sh but I get the following error. I copied the linux/x86_64/swt.jar to the libext folder to make finding it easier. When I start up carte I get the following stack trace. Any ideas. Some silly path error I'm sure. Thank you for any help!



    [padmin@piggy Kettle-2.5.1]$ ./carte.sh 192.168.50.100 8080
    log4j:ERROR Parsing error on line 2 and column 48
    log4j:ERROR null
    log4j:ERROR Could not parse input source [org.xml.sax.InputSource@2ed78f45].
    gnu.xml.dom.ls.DomLSException
    at gnu.xml.dom.ls.DomLSParser.doParse(libgcj.so.7rh)
    at gnu.xml.dom.ls.DomLSParser.parse(libgcj.so.7rh)
    at gnu.xml.dom.DomDocumentBuilder.parse(libgcj.so.7rh)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:665)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
    at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
    at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
    at java.lang.Class.initializeClass(libgcj.so.7rh)
    at org.apache.log4j.Logger.getRootLogger(Logger.java:104)
    at be.ibridge.kettle.core.LogWriter.<init>(LogWriter.java:118)
    at be.ibridge.kettle.core.LogWriter.<init>(LogWriter.java:135)
    at be.ibridge.kettle.core.LogWriter.getInstance(LogWriter.java:111)
    at be.ibridge.kettle.core.LogWriter.getInstance(LogWriter.java:100)
    at be.ibridge.kettle.core.util.EnvUtil.<clinit>(EnvUtil.java:20)
    at java.lang.Class.initializeClass(libgcj.so.7rh)
    at be.ibridge.kettle.www.Carte.init(Carte.java:53)
    at be.ibridge.kettle.www.Carte.main(Carte.java:28)
    Caused by: org.xml.sax.SAXParseException
    at gnu.xml.stream.SAXParser.parse(libgcj.so.7rh)
    at gnu.xml.dom.ls.DomLSParser.doParse(libgcj.so.7rh)
    ...17 more
    Caused by: javax.xml.stream.XMLStreamException
    at gnu.xml.stream.XMLParser.next(libgcj.so.7rh)
    at gnu.xml.stream.XMLParser.hasNext(libgcj.so.7rh)
    at gnu.xml.stream.SAXParser.parse(libgcj.so.7rh)
    ...18 more
    Caused by: java.net.MalformedURLException: Protocol handler not found: dummy
    at java.net.URL.<init>(libgcj.so.7rh)
    at java.net.URL.<init>(libgcj.so.7rh)
    at gnu.xml.stream.XMLParser.absolutize(libgcj.so.7rh)
    at gnu.xml.stream.XMLParser.readExternalIds(libgcj.so.7rh)
    at gnu.xml.stream.XMLParser.readDoctypeDecl(libgcj.so.7rh)
    at gnu.xml.stream.XMLParser.next(libgcj.so.7rh)
    ...20 more
    Stream not found for filename [/build_version.txt], looking for it on the normal filesystem...
    Unable to load revision number from file : [build_version.txt] : java.io.FileNotFoundException: ./build_version.txt (No such file or directory)
    java.io.FileNotFoundException: ./build_version.txt (No such file or directory)
    at gnu.java.nio.channels.FileChannelImpl.open(libgcj.so.7rh)
    at gnu.java.nio.channels.FileChannelImpl.<init>(libgcj.so.7rh)
    at gnu.java.nio.channels.FileChannelImpl.create(libgcj.so.7rh)
    at java.io.FileInputStream.<init>(libgcj.so.7rh)
    at java.io.FileInputStream.<init>(libgcj.so.7rh)
    at be.ibridge.kettle.version.BuildVersion.<init>(BuildVersion.java:65)
    at be.ibridge.kettle.version.BuildVersion.getInstance(BuildVersion.java:37)
    at be.ibridge.kettle.core.util.EnvUtil.addInternalVariables(EnvUtil.java:88)
    at be.ibridge.kettle.core.util.EnvUtil.environmentInit(EnvUtil.java:73)
    at be.ibridge.kettle.www.Carte.init(Carte.java:53)
    at be.ibridge.kettle.www.Carte.main(Carte.java:28)

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    Are you sure you're using the Sun JDK version... it may be installed, but is it first in your PATH.

    For the rest I would run the following "ksh -x carte.sh 192.168.50.100 8080" to see more of what's happening. Also change carte and right before the actual java execution, do a java -version (to see which version you're using).

    Regards,
    Sven
    Last edited by sboden; 09-02-2007 at 03:53 PM.

  3. #3
    Join Date
    Jan 2007
    Posts
    29

    Default

    Thanks Sven. Yes I installed the java jdk-6u2-linux-amd64.bin manually into the /usr/local. I that added this line to the top of the carte.sh:

    export JAVA_HOME=/usr/local/jdk1.6.02_02


    I'm not root so I had to do a manual install and point carte to it. But it looks like your suspicions were correct. This linux box has a java 1.4.2 that is apparently being used (set in the env). I did a java -version and its using that instead. I was hoping my export above would override that. Now I know the problem thank you .
    Last edited by dmccaffrey; 09-02-2007 at 03:50 PM.

  4. #4
    Join Date
    Jan 2007
    Posts
    29

    Default

    Almost there. I added these lines to the top of the carte.sh and it is using java 1.6_02 (sun) now.

    export JAVA_HOME=/usr/local/jdk1.6.0_02
    export PATH=/usr/local/jdk1.6.0_02/bin:$PATH
    java -version



    But I still get this error. Thank you again for your help!!!!

    [padmin@piggy Kettle-2.5.1]$ ./carte.sh 192.168.50.100 8080
    java version "1.6.0_02"
    Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_02-b05, mixed mode)
    Stream not found for filename [/build_version.txt], looking for it on the normal filesystem...
    Unable to load revision number from file : [build_version.txt] : java.io.FileNotFoundException: ./build_version.txt (No such file or directory)
    java.io.FileNotFoundException: ./build_version.txt (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at be.ibridge.kettle.version.BuildVersion.<init>(BuildVersion.java:65)
    at be.ibridge.kettle.version.BuildVersion.getInstance(BuildVersion.java:37)
    at be.ibridge.kettle.core.util.EnvUtil.addInternalVariables(EnvUtil.java:88)
    at be.ibridge.kettle.core.util.EnvUtil.environmentInit(EnvUtil.java:73)
    at be.ibridge.kettle.www.Carte.init(Carte.java:53)
    at be.ibridge.kettle.www.Carte.main(Carte.java:28)

    2007-09-02 14:44:47.732::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
    14:44:47,776 INFO [WebServer@28bb0d0d] be.ibridge.kettle.www.WebServer@28bb0d0d - Created listener for webserver @ address : 192.168.50.100:8080
    2007-09-02 14:44:47.776::INFO: jetty-6.1.2rc1
    2007-09-02 14:44:47.814::INFO: Started SocketConnector @ 192.168.50.100:8080
    Last edited by dmccaffrey; 09-02-2007 at 03:52 PM.

  5. #5
    Join Date
    May 2006
    Posts
    4,882

    Default

    Carte will run... usually that message appears when you build Kettle locally... Or you using a local build, or the GA version?

    Regards,
    Sven

  6. #6
    Join Date
    Jan 2007
    Posts
    29

    Default

    Hi Sven. I downloaded the Kettle-2.5.1.zip. I didn't build the code myself. If it's just build info it's loading, I'm not concerned then thank you.

  7. #7
    Join Date
    May 2006
    Posts
    4,882

    Default

    It's just build info, but normally it shouldn't complain.

    Regards,
    Sven

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.