0 Replies Latest reply on May 5, 2020 6:25 AM by Satyaban Dash

    Error while executing .ktr and .Kjb file using CLI command(trying to deploy using jenkins without open spoon tool)

    Satyaban Dash
      Share This:

      Hi Team,

      i am unable to execute pan.bat file using below CLI command , Could you please help and suggest if i miss something.

       

      pan.bat /rep:repo_name /server:<Server_name> /port:<port_number> /user:<username> /pass:<password> /dir:<directorie> /trans:<transformation_name>

       

      Below are the Error Details :

      log4j:ERROR Could not parse file [C:\Windows\system32\config\systemprofile\data-integration\plugins/kettle5-log4j-plugin/log4j.xml].
      java.io.FileNotFoundException: C:\Windows\system32\config\systemprofile\data-integration\plugins\kettle5-log4j-plugin\log4j.xml (The system cannot find the path specified)
           at java.io.FileInputStream.open0(Native Method)
           at java.io.FileInputStream.open(Unknown Source)
           at java.io.FileInputStream.<init>(Unknown Source)
           at java.io.FileInputStream.<init>(Unknown Source)
           at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
           at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
           at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
           at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
           at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
           at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
           at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
           at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
           at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
           at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
           at org.apache.log4j.xml.DOMConfigurator$1.parse(DOMConfigurator.java:749)
           at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:871)
           at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:755)
           at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:896)
           at org.pentaho.di.core.logging.log4j.Log4jLogging.applyLog4jConfiguration(Log4jLogging.java:88)
           at org.pentaho.di.core.logging.log4j.Log4jLogging.init(Log4jLogging.java:72)
           at org.pentaho.di.core.KettleClientEnvironment.initLogginPlugins(KettleClientEnvironment.java:141)
           at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:104)
           at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:97)
           at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:75)
           at org.pentaho.di.pan.Pan.main(Pan.java:78)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
      2020/05/05 06:58:12 - Pan - Start of run.
      log4j:WARN No appenders could be found for logger (org.pentaho.di).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      Processing has stopped because of an error: