kettle工具從windows移植到linux上啟動報錯:\karaf/deploy does not exist

清風艾艾發表於2017-03-27
    kettle工具data-integration從windows上用rar壓縮.zip後上傳到linux後解壓,然後執行spoon.sh,啟動報錯如下:
[root@oratest data-integration]# ./spoon.sh 
16:27:44,226 INFO  [KarafInstance] 
*******************************************************************************
*** Karaf Instance Number: 1 at /opt/data-integration/./system/karaf/caches ***
***   /spoon/data-1                                                         ***
*** Karaf Port:8802                                                         ***
*** OSGI Service Port:9051                                                  ***
*******************************************************************************
16:27:44,227 INFO  [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled
Mar 27, 2017 4:27:45 PM org.apache.karaf.main.Main$KarafLockCallback lockAquired
INFO: Lock acquired. Setting startlevel to 100
C:\ETL\data-integration\system\karaf/deploy does not exist, please create it.
Root path does not exist: /opt/data-integration/C:\ETL\data-integration\system\karaf/deploy
2017/03/27 16:27:48 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp
*ERROR* [org.osgi.service.cm.ManagedService, id=247, bundle=48/mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/1.1.1]: Unexpected problem updating configuration org.apache.aries.transaction
java.lang.ExceptionInInitializerError
at org.apache.aries.transaction.internal.TransactionManagerService.<init>(TransactionManagerService.java:114)
at org.apache.aries.transaction.internal.Activator.updated(Activator.java:63)
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:148)
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:81)
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1448)
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1404)
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.apache.aries.transaction.txManager, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)
at org.apache.aries.util.nls.MessageUtil.createMessageUtil(MessageUtil.java:152)
at org.apache.aries.util.nls.MessageUtil.createMessageUtil(MessageUtil.java:107)
at org.apache.aries.transaction.internal.NLS.<clinit>(NLS.java:25)
... 8 more
2017-03-27 16:27:53.777:INFO:oejs.Server:jetty-8.1.15.v20140411
2017-03-27 16:27:53.818:INFO:oejs.AbstractConnector:Started NIOSocketConnectorWrapper@0.0.0.0:9051
Mar 27, 2017 4:27:55 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for
Mar 27, 2017 4:27:55 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for
Mar 27, 2017 4:27:55 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for
Mar 27, 2017 4:27:55 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for http://cxf.apache.org/configuration/security
Mar 27, 2017 4:27:55 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for
Mar 27, 2017 4:27:55 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for
    按照啟動提示kettle在windows上啟動執行後有快取,快取目錄在:
[root@oratest data-1]# pwd
/opt/data-integration/system/karaf/caches/spoon/data-1
[root@oratest data-1]# ls
cache  generated-bundles  kar  log  txlog
[root@oratest data-1]# 
[root@oratest data]# pwd
/opt/data-integration/system/karaf/data
[root@oratest data]#
    將以上兩個目錄清空後,重新啟動沒有報錯:
[root@oratest data-integration]# ./spoon.sh 
16:31:45,649 INFO  [KarafInstance] 
*******************************************************************************
*** Karaf Instance Number: 1 at /opt/data-integration/./system/karaf/caches ***
***   /spoon/data-1                                                         ***
*** Karaf Port:8802                                                         ***
*** OSGI Service Port:9051                                                  ***
*******************************************************************************
16:31:45,649 INFO  [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled
Mar 27, 2017 4:31:46 PM org.apache.karaf.main.Main launch
INFO: Installing and starting initial bundles
Mar 27, 2017 4:31:46 PM org.apache.karaf.main.Main launch
INFO: All initial bundles installed and set to start
Mar 27, 2017 4:31:46 PM org.apache.karaf.main.Main$KarafLockCallback lockAquired
INFO: Lock acquired. Setting startlevel to 100
Creating configuration from org.apache.karaf.command.acl.kar.cfg
Creating configuration from jmx.acl.java.lang.Memory.cfg
Creating configuration from jmx.acl.org.apache.karaf.bundle.cfg
Creating configuration from jmx.acl.org.apache.karaf.security.jmx.cfg
Creating configuration from org.ops4j.pax.web.cfg
Creating configuration from org.ops4j.pax.url.mvn.cfg
Creating configuration from org.apache.karaf.command.acl.bundle.cfg
Creating configuration from org.apache.karaf.management.cfg
Creating configuration from org.apache.karaf.command.acl.shell.cfg
Creating configuration from org.apache.karaf.kar.cfg
Creating configuration from org.apache.karaf.features.repos.cfg
Creating configuration from org.apache.karaf.command.acl.config.cfg
Creating configuration from org.apache.felix.fileinstall-deploy.cfg
Creating configuration from org.apache.karaf.shell.cfg
Creating configuration from org.apache.karaf.command.acl.jaas.cfg
Creating configuration from org.apache.karaf.features.obr.cfg
Creating configuration from org.apache.activemq.webconsole.cfg
Creating configuration from org.apache.karaf.webconsole.cfg
Creating configuration from org.pentaho.caching-default.cfg
Creating configuration from org.apache.karaf.features.cfg
Creating configuration from mondrian.cfg
Creating configuration from org.apache.karaf.command.acl.scope_bundle.cfg
Creating configuration from jmx.acl.osgi.compendium.cm.cfg
Creating configuration from org.apache.karaf.command.acl.feature.cfg
Creating configuration from pentaho.geo.roles.cfg
Creating configuration from pentaho.marketplace.di.cfg
Creating configuration from org.apache.activemq.server-default.cfg
Creating configuration from pentaho.metaverse.cfg
Creating configuration from jmx.acl.org.apache.karaf.config.cfg
Creating configuration from org.apache.karaf.jaas.cfg
Creating configuration from org.apache.karaf.command.acl.system.cfg
Creating configuration from jmx.acl.cfg
Creating configuration from org.apache.karaf.log.cfg
Creating configuration from org.ops4j.pax.logging.cfg
Creating configuration from org.pentaho.features.cfg
2017/03/27 16:31:49 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp
Mar 27, 2017 4:31:54 PM org.pentaho.caching.impl.PentahoCacheManagerFactory$RegistrationHandler$1 onSuccess
INFO: New Caching Service registered
2017-03-27 16:31:55.514:INFO:oejs.Server:jetty-8.1.15.v20140411
2017-03-27 16:31:55.541:INFO:oejs.AbstractConnector:Started NIOSocketConnectorWrapper@0.0.0.0:9051
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/data-integration/launcher/../lib/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/data-integration/plugins/pentaho-big-data-plugin/lib/slf4j-log4j12-1.7.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Mar 27, 2017 4:32:02 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for
Mar 27, 2017 4:32:02 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for
Mar 27, 2017 4:32:02 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for
Mar 27, 2017 4:32:02 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for http://cxf.apache.org/configuration/security
Mar 27, 2017 4:32:02 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for
Mar 27, 2017 4:32:02 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for
Mar 27, 2017 4:32:02 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for
Mar 27, 2017 4:32:02 PM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-management (173) [org.apache.cxf.management.InstrumentationManager]
Mar 27, 2017 4:32:02 PM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-wsdl (176) [org.apache.cxf.wsdl.WSDLManager]
Mar 27, 2017 4:32:02 PM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-bindings-xml (178) [org.apache.cxf.binding.xml.XMLBindingFactory, org.apache.cxf.binding.xml.wsdl11.XMLWSDLExtensionLoader]
Mar 27, 2017 4:32:02 PM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-bindings-soap (179) [org.apache.cxf.binding.soap.SoapBindingFactory, org.apache.cxf.binding.soap.SoapTransportFactory]





來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29357786/viewspace-2136136/,如需轉載,請註明出處,否則將追究法律責任。

相關文章