您好,登錄后才能下訂單哦!
這篇文章給大家介紹kettle工具從windows移植到linux上啟動報錯\karaf/deploy does not exist該怎么辦,內容非常詳細,感興趣的小伙伴們可以參考借鑒,希望對大家能有所幫助。
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 http://cxf.apache.org/blueprint/core
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/beans
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/parameterized-types
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 http://schemas.xmlsoap.org/wsdl/
Mar 27, 2017 4:27:55 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for http://www.w3.org/2005/08/addressing
按照啟動提示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 http://www.slf4j.org/codes.html#multiple_bindings 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 http://cxf.apache.org/blueprint/core
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/beans
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/parameterized-types
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 http://schemas.xmlsoap.org/wsdl/
Mar 27, 2017 4:32:02 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for http://www.w3.org/2005/08/addressing
Mar 27, 2017 4:32:02 PM org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register
INFO: Registered blueprint namespace handler for http://schemas.xmlsoap.org/ws/2004/08/addressing
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]
關于kettle工具從windows移植到linux上啟動報錯\karaf/deploy does not exist該怎么辦就分享到這里了,希望以上內容可以對大家有一定的幫助,可以學到更多知識。如果覺得文章不錯,可以把它分享出去讓更多的人看到。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。