这篇文章给大家介绍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进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。