Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Problems running Pan under CentOS

  1. #1
    Join Date
    May 2008
    Posts
    8

    Default Problems running Pan under CentOS

    This command is ran well this file under Windows:
    [root@bubba kettle]# ./pan.sh "–file=getdata.ktr"

    But it have error when ran on Centos 32bit
    [root@local kettle]# ./pan.sh "–file=getdata.ktr"

    These error:
    [root@bubba kettle]# ./pan.sh "–file=Fast.ktr"
    log4j:ERROR Parsing error on line 2 and column 48
    log4j:ERROR null
    log4j:ERROR Could not parse input source [org.xml.sax.InputSource@ed48b8].
    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 org.pentaho.di.core.logging.LogWriter.<init>(LogWriter.java:115)
    at org.pentaho.di.core.logging.LogWriter.<init>(LogWriter.java:132)
    at org.pentaho.di.core.logging.LogWriter.getInstance(LogWriter.java:108)
    at org.pentaho.di.core.logging.LogWriter.getInstance(LogWriter.java:97)
    at org.pentaho.di.core.util.EnvUtil.<clinit>(EnvUtil.java:31)
    at java.lang.Class.initializeClass(libgcj.so.7rh)
    at org.pentaho.di.pan.Pan.main(Pan.java:48)
    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)
    ...16 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)
    ...17 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)
    ...19 more
    2008/08/15 15:45:33 - Pan - Start of run.
    2008/08/15 15:45:33:896 GMT+08:00 [ERROR] Digester - End event threw error <java.lang.NoSuchMethodError: method java.lang.Class.asSubclass with signature (Ljava.lang.ClassLjava.lang.Class; was not found.>java.lang.NoSuchMethodError: method java.lang.Class.asSubclass with signature (Ljava.lang.ClassLjava.lang.Class; was not found.
    at org.pentaho.di.core.config.KettleConfig$2.end(KettleConfig.java:126)
    at org.apache.commons.digester.Digester.endElement(Digester.java:1222)
    at gnu.xml.stream.SAXParser.parse(libgcj.so.7rh)
    at org.apache.commons.digester.Digester.parse(Digester.java:1827)
    at org.pentaho.di.core.config.KettleConfig.<init>(KettleConfig.java:63)
    at org.pentaho.di.core.config.KettleConfig.getInstance(KettleConfig.java:80)
    at org.pentaho.di.trans.step.BaseStep.<clinit>(BaseStep.java:76)
    at java.lang.Class.initializeClass(libgcj.so.7rh)
    at org.pentaho.di.trans.StepLoader.readNatives(StepLoader.java:123)
    at org.pentaho.di.trans.StepLoader.init(StepLoader.java:108)
    at org.pentaho.di.trans.StepLoader.init(StepLoader.java:118)
    at org.pentaho.di.pan.Pan.main(Pan.java:160)

    Exception in thread "main" java.lang.NoSuchMethodError: method java.lang.Class.asSubclass with signature (Ljava.lang.ClassLjava.lang.Class; was not found.
    at org.pentaho.di.core.config.KettleConfig$2.end(KettleConfig.java:126)
    at org.apache.commons.digester.Digester.endElement(Digester.java:1222)
    at gnu.xml.stream.SAXParser.parse(libgcj.so.7rh)
    at org.apache.commons.digester.Digester.parse(Digester.java:1827)
    at org.pentaho.di.core.config.KettleConfig.<init>(KettleConfig.java:63)
    at org.pentaho.di.core.config.KettleConfig.getInstance(KettleConfig.java:80)
    at org.pentaho.di.trans.step.BaseStep.<clinit>(BaseStep.java:76)
    at java.lang.Class.initializeClass(libgcj.so.7rh)
    at org.pentaho.di.trans.StepLoader.readNatives(StepLoader.java:123)
    at org.pentaho.di.trans.StepLoader.init(StepLoader.java:108)
    at org.pentaho.di.trans.StepLoader.init(StepLoader.java:118)
    at org.pentaho.di.pan.Pan.main(Pan.java:160)
    Last edited by huypm; 08-15-2008 at 05:34 AM.

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

    Default

    Very well known problem... read the FAQ

    Regards,
    Sven

    Hint.... gcj is not the best JVM out there

  3. #3
    Join Date
    May 2008
    Posts
    8

    Default

    Now i am using JDK 1.5, when i ran i have these errors:

    INFO 18-08 09:46:32,371 (LogWriter.javarintln:406) -Pan - Start of run.
    2008/08/18 09:46:33:555 ICT [INFO] DefaultFileReplicator - Using "/tmp/vfs_cache" as temporary files store.
    ERROR: Pan can't continue because the transformation couldn't be loaded.

    Is there any error??
    Last edited by huypm; 08-17-2008 at 10:49 PM.

  4. #4

    Default

    Quote Originally Posted by huypm View Post
    Now i am using JDK 1.5, when i ran i have these errors:

    INFO 18-08 09:46:32,371 (LogWriter.javarintln:406) -Pan - Start of run.
    2008/08/18 09:46:33:555 ICT [INFO] DefaultFileReplicator - Using "/tmp/vfs_cache" as temporary files store.
    ERROR: Pan can't continue because the transformation couldn't be loaded.

    Is there any error??
    Erm, how about this one: ERROR: Pan can't continue because the transformation couldn't be loaded.
    This is a signature.... everyone gets it.

    Join the Unofficial Pentaho IRC channel on freenode.
    Server: chat.freenode.net Channel: ##pentaho

    Please try and make an effort and search the wiki and forums before posting!
    Checkout the Saiku, the future of Open Source Interactive OLAP(http://analytical-labs.com)

    http://mattlittle.files.wordpress.co...-bananaman.jpg

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

    Default

    If you're still using the original command line... loose the "s around the argument.

    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.