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

QQ登录

只需一步,快速开始

查看: 3060|回复: 3

[处理中3] 访问文档服务报错

[复制链接]

536

主题

1199

帖子

2586

积分

金牌会员

Rank: 6Rank: 6

积分
2586
QQ
发表于 2020-8-14 11:27:15 | 显示全部楼层 |阅读模式
本帖最后由 win3394393 于 2020-8-14 11:29 编辑

2.7版本,启动了tomcat,在配置中设置自己的文档服务http://192.168.210.98:8080/DocServer,启动不成功,后台报错
2020-08-14 11:08:18 [http-8080-exec-14] [org.outerj.daisy.jms.impl.JmsClientImpl
] ERROR: establish JMS connection error
javax.jms.JMSException: Could not connect to broker URL: tcp://WIN-NCT7PRV9OIJ:6
1616. Reason: java.net.ConnectException: Connection refused: connect
        at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSuppo
rt.java:33)
        at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio
n(ActiveMQConnectionFactory.java:280)
        at org.apache.activemq.ActiveMQConnectionFactory.createConnection(Active
MQConnectionFactory.java:168)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initializeJmsConnection(Unkno
wn Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initialize(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.reInit(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initializeJmsConnection(Unkno
wn Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initialize(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.reInit(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initializeJmsConnection(Unkno
wn Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initialize(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.reInit(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initializeJmsConnection(Unkno
wn Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initialize(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.reInit(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initializeJmsConnection(Unkno
wn Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initialize(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.reInit(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initializeJmsConnection(Unkno
wn Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initialize(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.reInit(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initializeJmsConnection(Unkno
wn Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initialize(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.reInit(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initializeJmsConnection(Unkno
wn Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initialize(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.reInit(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initializeJmsConnection(Unkno
wn Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initialize(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.<init>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:8
3)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy
.instantiate(SimpleInstantiationStrategy.java:87)
        at org.springframework.beans.factory.support.ConstructorResolver.autowir
eConstructor(ConstructorResolver.java:225)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:957)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:869)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:514)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.java:485)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:455)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:251)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.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.finish
BeanFactoryInitialization(AbstractApplicationContext.java:735)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:369)
        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 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1213)
        at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.jav
a:827)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:129)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at com.googlecode.psiprobe.Tomcat60AgentValve.invoke(Tomcat60AgentValve.
java:30)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:293)
        at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcesso
r.java:891)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.pr
ocess(Http11NioProtocol.java:750)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoin
t.java:2283)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.j
ava:335)
        at org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.j
ava:303)
        at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:49)
        at org.apache.activemq.transport.TransportFilter.start(TransportFilter.j
ava:54)
        at org.apache.activemq.transport.TransportFilter.start(TransportFilter.j
ava:54)
        at org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNe
gotiator.java:66)
        at org.apache.activemq.transport.TransportFilter.start(TransportFilter.j
ava:54)
        at org.apache.activemq.transport.TransportFilter.start(TransportFilter.j
ava:54)
        at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio
n(ActiveMQConnectionFactory.java:265)
        ... 66 more
2020-08-14 11:08:29 [http-8080-exec-14] [org.outerj.daisy.jms.impl.JmsClientImpl
] ERROR: establish JMS connection error
javax.jms.JMSException: Could not connect to broker URL: tcp://WIN-NCT7PRV9OIJ:6
1616. Reason: java.net.ConnectException: Connection refused: connect
        at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSuppo
rt.java:33)
        at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio
n(ActiveMQConnectionFactory.java:280)
        at org.apache.activemq.ActiveMQConnectionFactory.createConnection(Active
MQConnectionFactory.java:168)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initializeJmsConnection(Unkno
wn Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initialize(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.reInit(Unknown Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initializeJmsConnection(Unkno
wn Source)
        at org.outerj.daisy.jms.impl.JmsClientImpl.initialize(Unknown Source)
        at

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2020-8-14 13:40:21 | 显示全部楼层
把doc数据源连接的数据库中ASYNCSERVERS表中的数据删除,然后执行平台提供的数据库初始化脚本中insert into ASYNCSERVERS的语句看看

删除前可以先备份一下
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

536

主题

1199

帖子

2586

积分

金牌会员

Rank: 6Rank: 6

积分
2586
QQ
 楼主| 发表于 2020-8-14 14:11:44 | 显示全部楼层
本帖最后由 win3394393 于 2020-8-14 14:13 编辑
jishuang 发表于 2020-8-14 13:40
把doc数据源连接的数据库中ASYNCSERVERS表中的数据删除,然后执行平台提供的数据库初始化脚本中insert into ...

跟数据库应该没关系,现在是同一个数据库,不同应用都在访问,另外一个应用访问就没有任何问题,而且这个新环境现在是从另外一个环境中镜像备份过来的,连系统都一起备份过来了,而且现在数据库正在试用这,没办法停数据库做备份。
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2020-8-14 17:03:00 | 显示全部楼层
可以初始化一个新的doc数据源连接测试看看
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-25 17:30 , Processed in 0.051995 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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