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

QQ登录

只需一步,快速开始

查看: 4812|回复: 4

[结贴] 文档服务单独部署后启动失败。

[复制链接]

4

主题

9

帖子

32

积分

新手上路

Rank: 1

积分
32
QQ
发表于 2017-8-25 18:50:12 | 显示全部楼层 |阅读模式
版本: BeX5V3.4 小版本号:
数据库: Oracle 服务器操作系统: 应用服务器:
客户端操作系统: 浏览器:
我按照《BeX5V3.3安装部署.pdf》中第九章中的操作,把文档服务单独剥离出来后,用另一台机器部署x5服务,文档服务保留在原来机器上,启动文档服务时,tomcat没报错。
但是访问http://localhost:8080/DocServer就报错:

type Exception report
message 文档服务没有正常启动,请根据文档服务日志查找问题后重新启动
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: 文档服务没有正常启动,请根据文档服务日志查找问题后重新启动        com.justep.doc.httpconnector.FileServlet.service(Unknown Source)        javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

日志文件 justep.docServer.zip (29.38 KB, 下载次数: 102)

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35920
发表于 2017-8-28 09:14:59 | 显示全部楼层
确认DocServer\WEB-INF\justep.xml中配置的data-dir正确吗?
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

4

主题

9

帖子

32

积分

新手上路

Rank: 1

积分
32
QQ
 楼主| 发表于 2017-8-28 10:54:18 | 显示全部楼层
《BeX5V3.3安装部署.pdf》里好像没说要修改justep.xml里的内容。
我在论坛上也看到说这里配置要修改,我把注释打开,并修改目录了。

<?xml version="1.0" encoding="UTF-8"?>
<root>
  <datasource>java:comp/env/doc</datasource>
  <!-- 是否是集群环境 -->
  <isClusted>false</isClusted>
  <product-name>Oracle</product-name>
  <activemq-isolation>2</activemq-isolation>
  <data-dir>D:\BeX5_V3.4-ent\data\doc</data-dir>
  <indexStoreSeparation>false</indexStoreSeparation>
</root>
但是还是报错:
org.outerj.daisy.runtime.DaisyRTException: Error constructing component container defined at D:\BeX5_V3.4-ent\apache-tomcat\webapps\..\..\runtime\DocServer\WEB-INF\lib\daisy-repository-server-impl-2.3.jar

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fullTextIndexUpdater' defined in DAISY-INF/spring/applicationContext.xml in D:\BeX5_V3.4-ent\apache-tomcat\webapps\..\..\runtime\DocServer\WEB-INF\lib\daisy-repository-server-impl-2.3.jar: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.outerj.daisy.ftindex.FullTextIndexUpdater]: Constructor threw exception; nested exception is org.outerj.daisy.repository.user.UserNotFoundException: The user with login "internal" does not exist

Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.outerj.daisy.ftindex.FullTextIndexUpdater]: Constructor threw exception; nested exception is org.outerj.daisy.repository.user.UserNotFoundException: The user with login "internal" does not exist

Caused by: org.outerj.daisy.repository.user.UserNotFoundException: The user with login "internal" does not exist



回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35920
发表于 2017-8-28 13:13:39 | 显示全部楼层
doc数据源配置users表中internal这个用户名吗?
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

4

主题

9

帖子

32

积分

新手上路

Rank: 1

积分
32
QQ
 楼主| 发表于 2017-8-28 14:41:46 | 显示全部楼层
果然是这张表里的数据丢失了。是我本地环境的问题。迁移了doc的表结构,初始数据没配置,已解决。请结贴。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-3 07:55 , Processed in 0.111365 second(s), 28 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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