起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3134|回复: 4

[结贴] linux上部署X5启动文档服务器失败

[复制链接]

109

主题

300

帖子

797

积分

高级会员

Rank: 4

积分
797
QQ
发表于 2016-7-7 15:12:57 | 显示全部楼层 |阅读模式
X5版本为V3.2.1linux版,部署在东方通上,报错内容如下:

[org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,configuration]; root of factory hierarchy
2016-07-07 14:56:18 [httpWorkerThread-8080-8] [com.justep.doc.httpconnector.FileServlet] DEBUG: 启动文档服务异常
org.outerj.daisy.runtime.DaisyRTException: Error constructing component container defined at /home/lanware/BeX5_V3.2.1-ent-linux/runtime/DocServer/WEB-INF/lib/daisy-configuration-impl-2.3.jar
        at org.outerj.daisy.runtime.component.ContainerConfigImpl.build(Unknown Source)
        at org.outerj.daisy.runtime.DaisyRuntime.init(Unknown Source)
        at com.justep.doc.httpconnector.FileServlet.init(Unknown Source)
        at com.tongweb.web.core.core.StandardWrapper.loadServlet(StandardWrapper.java:1207)
        at com.tongweb.web.core.core.StandardWrapper.allocate(StandardWrapper.java:848)
        at com.tongweb.web.core.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at com.tongweb.web.core.core.StandardContextValve.invokeInternal(StandardContextValve.java:275)
        at com.tongweb.web.core.core.StandardContextValve.invoke(StandardContextValve.java:206)
        at com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:649)
        at com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:594)
        at com.tongweb.web.WebPipeline.invoke(WebPipeline.java:96)
        at com.tongweb.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:99)
        at com.tongweb.web.core.core.StandardHostValve.invoke(StandardHostValve.java:222)
        at com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:649)
        at com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:594)
        at com.tongweb.web.core.core.StandardPipeline.invoke(StandardPipeline.java:588)
        at com.tongweb.web.core.core.ContainerBase.invoke(ContainerBase.java:1105)
        at com.tongweb.web.core.core.StandardEngineValve.invoke(StandardEngineValve.java:167)
        at com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:649)
        at com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:594)
        at com.tongweb.web.core.core.StandardPipeline.invoke(StandardPipeline.java:588)
        at com.tongweb.web.core.core.ContainerBase.invoke(ContainerBase.java:1105)
        at com.tongweb.web.oro.wrap.CoyoteAdapter.service(CoyoteAdapter.java:289)
        at com.tongweb.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:722)
        at com.tongweb.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:654)
        at com.tongweb.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:935)
        at com.tongweb.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
        at com.tongweb.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
        at com.tongweb.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
        at com.tongweb.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
        at com.tongweb.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:131)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configuration' defined in DAISY-INF/spring/applicationContext.xml in /home/lanware/BeX5_V3.2.1-ent-linux/runtime/DocServer/WEB-INF/lib/daisy-configuration-impl-2.3.jar: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.outerj.daisy.configuration.impl.ConfigurationManagerImpl]: Constructor threw exception; nested exception is org.apache.avalon.framework.configuration.ConfigurationException: Configuration override file does not exist: /home/lanware/TongWeb5.0/bin/home/lanware/BeX5_V3.2.1-ent-linux/data/doc/conf/myconfig.xml
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:231)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:957)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:869)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:514)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:413)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
        ... 31 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.outerj.daisy.configuration.impl.ConfigurationManagerImpl]: Constructor threw exception; nested exception is org.apache.avalon.framework.configuration.ConfigurationException: Configuration override file does not exist: /home/lanware/TongWeb5.0/bin/home/lanware/BeX5_V3.2.1-ent-linux/data/doc/conf/myconfig.xml
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:98)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:225)
        ... 44 more
Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Configuration override file does not exist: /home/lanware/TongWeb5.0/bin/home/lanware/BeX5_V3.2.1-ent-linux/data/doc/conf/myconfig.xml
        at org.outerj.daisy.configuration.impl.ConfigurationManagerImpl.<init>(ConfigurationManagerImpl.java:35)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:83)
        ... 46 more
2016-07-07 14:56:18 [httpWorkerThread-8080-8] [org.outerj.daisy.runtime.DaisyRuntime] INFO: Shutting down component containers.


之前使用的是X53.2升级版本,现在换成linux版,除model外还有哪些文件需要替换。

109

主题

300

帖子

797

积分

高级会员

Rank: 4

积分
797
QQ
 楼主| 发表于 2016-7-7 16:32:23 | 显示全部楼层
已解决,结贴
回复 支持 反对

使用道具 举报

31

主题

99

帖子

443

积分

中级会员

Rank: 3Rank: 3

积分
443
QQ
发表于 2016-7-11 15:27:32 | 显示全部楼层

麻烦写出遇错的原因和解决方法,我现在也遇到这样的问题
回复 支持 反对

使用道具 举报

109

主题

300

帖子

797

积分

高级会员

Rank: 4

积分
797
QQ
 楼主| 发表于 2016-7-26 09:35:43 | 显示全部楼层
bex5_glimmer 发表于 2016-7-11 15:27
麻烦写出遇错的原因和解决方法,我现在也遇到这样的问题

runtime/DocServer/WEB-INF下Justep.xml文件data-dir和datasource需要修改
回复 支持 反对

使用道具 举报

18

主题

50

帖子

156

积分

初级会员

Rank: 2

积分
156
QQ
发表于 2017-7-13 19:33:16 | 显示全部楼层
greenTree 发表于 2016-7-26 09:35
runtime/DocServer/WEB-INF下Justep.xml文件data-dir和datasource需要修改

请问data-dir和datasource怎么修改呢?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-26 09:53 , Processed in 0.055544 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表