linux 环境下启动kettle carte.sh 报错
linux 环境下启动kettle carte.sh 报错如下:[data-integration]# ./carte.sh carte.xmlJavaHotSpot(TM) 64-Bit Server VM warning: ignoring optionMaxPermSize=256m; support was removed in 8.0 10:25:54,
linux 环境下启动kettle carte.sh 报错
如下:
[data-integration]# ./carte.sh carte.xml Java
HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=256m; support was removed in 8.0 10:25:54,368 INFO
[KarafInstance]
* Karaf Instance Number: 1 at /home/kettle/pdi-ce-6.0.1.0-386/data-integr *
* ation/./system/karaf//data1 *
* Karaf Port:8801 *
* OSGI Service Port:9050 *
********************************************************************* 六月 21, 2017 10:25:58 上午 org.apache.karaf.main.Main$KarafLockCallback
lockAquired 信息: Lock acquired. Setting startlevel to 100 D:\Program
Files
(x86)\work\pdi-ce-6.0.1.0-386\data-integration\system\karaf/deploy
does not exist, please create it. Root path does not exist:
/home/kettle/pdi-ce-6.0.1.0-386/data-integration/D:\Program Files
(x86)\work\pdi-ce-6.0.1.0-386\data-integration\system\karaf/deploy
ERROR [org.osgi.service.cm.ManagedService, id=246, bundle=47/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.(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)atorg.apache.felix.cm.impl.ConfigurationManager M a n a g e d S e r v i c e U p d a t e . p r o v i d e ( C o n f i g u r a t i o n M a n a g e r . j a v a : 1448 ) a t o r g . a p a c h e . f e l i x . c m . i m p l . C o n f i g u r a t i o n M a n a g e r ManagedServiceUpdate.run(ConfigurationManager.java:1404)
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)
at java.lang.Thread.run(Thread.java:745) Caused by: java.util.MissingResourceException: Can’t find bundle for base name
org.apache.aries.transaction.txManager, locale zh_CN
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:1082)
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.(NLS.java:25)
… 8 more 2017-06-21 10:26:14.645:INFO:oejs.Server:jetty-8.1.15.v20140411 2017-06-21
10:26:14.744:INFO:oejs.AbstractConnector:Started
NIOSocketConnectorWrapper@0.0.0.0:9050 log4j:WARN Fatal parsing error
-1 and column -1 log4j:WARN Premature end of file. log4j:ERROR Could not parse url
[file:/home/kettle/pdi-ce-6.0.1.0-386/data-integration/./system/osgi/log4j.xml].
org.xml.sax.SAXParseException; Premature end of file.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.apache.log4j.xml.DOMConfigurator$2.parse(DOMConfigurator.java:769)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:871)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:778)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
at org.apache.log4j.LogManager.(LogManager.java:127)
at org.apache.log4j.Logger.getLogger(Logger.java:104)
at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:262)
at org.apache.commons.logging.impl.Log4JLogger.(Log4JLogger.java:108)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1025)
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:844)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:541)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:292)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:269)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:657)
at org.springframework.osgi.extender.internal.activator.ContextLoaderListener.(ContextLoaderListener.java:253)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:4362)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2149)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2072)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:745) log4j:WARN No appenders could be found for logger
(org.springframework.osgi.extender.internal.activator.ContextLoaderListener).
log4j:WARN Please initialize the log4j system properly. log4j:WARN See
http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
六月 21, 2017 10:26:15 上午
org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register 信息:
Registered blueprint namespace handler for
http://cxf.apache.org/blueprint/core 六月 21, 2017 10:26:15 上午
org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register 信息:
Registered blueprint namespace handler for
http://cxf.apache.org/configuration/beans 六月 21, 2017 10:26:15 上午
org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register 信息:
Registered blueprint namespace handler for
http://cxf.apache.org/configuration/parameterized-types 六月 21, 2017
10:26:15 上午 org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer
register 信息: Registered blueprint namespace handler for
http://cxf.apache.org/configuration/security 六月 21, 2017 10:26:15 上午
org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register 信息:
Registered blueprint namespace handler for
http://schemas.xmlsoap.org/wsdl/ 六月 21, 2017 10:26:15 上午
org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register 信息:
Registered blueprint namespace handler for
http://www.w3.org/2005/08/addressing 六月 21, 2017 10:26:15 上午
org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer register 信息:
Registered blueprint namespace handler for
http://schemas.xmlsoap.org/ws/2004/08/addressing 六月 21, 2017 10:26:15
上午 org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
信息: Adding the extensions from bundle org.apache.cxf.cxf-rt-management
(132) [org.apache.cxf.management.InstrumentationManager] 六月 21, 2017
10:26:15 上午 org.apache.cxf.bus.osgi.CXFExtensionBundleListener
addExtensions 信息: Adding the extensions from bundle
org.apache.cxf.cxf-rt-wsdl (135) [org.apache.cxf.wsdl.WSDLManager] 六月
21, 2017 10:26:15 上午
org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
第一个错误是由于 更换环境后 缓存没清除造成的
把 /kettle/pdi-ce-6.0.1.0-386/data-integration/system/karaf 目录下 data 开头的文件夹删除掉,重新启动后 ok
第二个错误是没有这个文件。直接添加这个文件。。。
log4j.xml
<?xml version="1.0" encoding="UTF-8"?>
<xml-body>
</xml-body>
更多推荐
所有评论(0)