zhongwaiyun_imf.log
19.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
10-11 15:14:00,0852[INFO] 准备登录IMF......
10-11 15:14:00,0870[INFO] Initialization ApplicationContext
10-11 15:14:00,0977[INFO] Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@2ac1fdc4: startup date [Thu Oct 11 15:14:00 CST 2018]; root of context hierarchy
10-11 15:14:01,0070[INFO] Loading XML bean definitions from file [/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/ApplicationContext.xml]
10-11 15:14:01,0073[INFO] SystemBean.createInstance()-->com.airport.util.LteException: Initialization ApplicationContext error:org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file [/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/ApplicationContext.xml]; nested exception is java.io.FileNotFoundException: ApplicationContext.xml (No such file or directory)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:212)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:126)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:92)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:140)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:84)
at com.airport.util.SystemBean.createInstance(SystemBean.java:31)
at com.air.agent.imf.App.main(App.java:31)
Caused by: java.io.FileNotFoundException: ApplicationContext.xml (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at org.springframework.core.io.FileSystemResource.getInputStream(FileSystemResource.java:110)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
... 14 more
10-11 15:14:01,0094[INFO] 初始化img配置文件
10-11 15:14:01,0094[INFO] img配置文件路径:/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/target/imf_config.properties
10-11 15:14:01,0102[INFO] img配置文件初始化失败
10-11 15:14:01,0103[INFO] 登录失败,退出服务......
10-11 15:14:44,0385[INFO] 准备登录IMF......
10-11 15:14:44,0399[INFO] Initialization ApplicationContext
10-11 15:14:44,0493[INFO] Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@71e7a66b: startup date [Thu Oct 11 15:14:44 CST 2018]; root of context hierarchy
10-11 15:14:44,0566[INFO] Loading XML bean definitions from file [/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/target/classes/ApplicationContext.xml]
10-11 15:14:44,0840[INFO] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@14acaea5: defining beans [dataSource,configurationBean,jdbcTemplate,dao]; root of factory hierarchy
10-11 15:14:45,0473[INFO] 初始化img配置文件
10-11 15:14:45,0473[INFO] img配置文件路径:/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/target/imf_config.properties
10-11 15:14:45,0476[INFO] img配置文件初始化失败
10-11 15:14:45,0476[INFO] 登录失败,退出服务......
10-11 15:14:45,0478[INFO] Closing org.springframework.context.support.FileSystemXmlApplicationContext@71e7a66b: startup date [Thu Oct 11 15:14:44 CST 2018]; root of context hierarchy
10-11 15:14:45,0479[INFO] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@14acaea5: defining beans [dataSource,configurationBean,jdbcTemplate,dao]; root of factory hierarchy
10-11 15:15:27,0171[INFO] 准备登录IMF......
10-11 15:15:27,0185[INFO] Initialization ApplicationContext
10-11 15:15:27,0274[INFO] Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@71e7a66b: startup date [Thu Oct 11 15:15:27 CST 2018]; root of context hierarchy
10-11 15:15:27,0347[INFO] Loading XML bean definitions from file [/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/target/classes/ApplicationContext.xml]
10-11 15:15:27,0608[INFO] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@14acaea5: defining beans [dataSource,configurationBean,jdbcTemplate,dao]; root of factory hierarchy
10-11 15:15:27,0961[INFO] 初始化img配置文件
10-11 15:15:27,0961[INFO] img配置文件路径:/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/target/classes/imf_config.properties
10-11 15:15:27,0964[INFO] 初始化成功
10-11 15:15:27,0964[INFO] 当前API版本号为:1.0.2.2
10-11 15:15:27,0965[INFO] user:AGTZ is logining
10-11 15:15:27,0965[INFO] ------------->IMF Service initialization start
10-11 15:15:27,0967[INFO] ps addr is:http://10.50.3.74:7484/ProcessServer/services/ProcessService?wsdl
10-11 15:15:28,0382[INFO] ps ws addr is:http://10.50.3.74:7484/ProcessServer/services/ProcessService?wsdl
10-11 15:15:28,0422[INFO] Refreshing org.apache.cxf.bus.spring.BusApplicationContext@7fa98a66: startup date [Thu Oct 11 15:15:28 CST 2018]; root of context hierarchy
10-11 15:15:28,0554[INFO] Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder': replacing [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/lib/cxf-2.3.2.jar!/META-INF/cxf/cxf-extension-http.fixml]] with [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/lib/cxf-2.3.2.jar!/META-INF/cxf/cxf-extension-http.fixml]]
10-11 15:15:28,0555[INFO] Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder': replacing [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/lib/cxf-2.3.2.jar!/META-INF/cxf/cxf-extension-http.fixml]] with [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/lib/cxf-2.3.2.jar!/META-INF/cxf/cxf-extension-http.fixml]]
10-11 15:15:28,0557[INFO] Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider': replacing [Generic bean: class [org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/lib/cxf-2.3.2.jar!/META-INF/cxf/cxf-extension-http.fixml]] with [Generic bean: class [org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/lib/cxf-2.3.2.jar!/META-INF/cxf/cxf-extension-http.fixml]]
10-11 15:15:28,0559[INFO] Overriding bean definition for bean 'org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory': replacing [Generic bean: class [org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/lib/cxf-2.3.2.jar!/META-INF/cxf/cxf-extension-http.fixml]] with [Generic bean: class [org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/Users/Kevin/Documents/workspace/javaweb/agent-imf-zwy/lib/cxf-2.3.2.jar!/META-INF/cxf/cxf-extension-http.fixml]]
10-11 15:15:28,0662[INFO] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@dd05255: defining beans [cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.service.factory.FactoryBeanListenerManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.binding.corba.CorbaBindingFactory,org.apache.cxf.binding.corba.wsdl.WSDLExtensionRegister#0,org.apache.cxf.jaxws.context.WebServiceContextResourceResolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.binding.xml.XMLBindingFactory,org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider,org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory,org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder,org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider,org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuilder,org.apache.cxf.javascript.JavascriptQueryHandler,org.apache.cxf.transport.local.LocalTransportFactory,org.apache.cxf.management.InstrumentationManager,org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory,org.apache.cxf.transport.jms.JMSTransportFactory,org.apache.cxf.binding.object.ObjectBindingFactory,org.apache.cxf.binding.http.HttpBindingFactory,org.apache.cxf.wstx_msv_validation.WoodstoxValidationImpl,org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader,org.apache.cxf.ws.policy.AssertionBuilderRegistry,org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry,org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry,org.apache.cxf.ws.policy.attachment.external.EndpointReferenceDomainExpressionBuilder,org.apache.cxf.ws.policy.PolicyBuilder,org.apache.cxf.ws.policy.PolicyEngine,org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider,org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider,org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder,org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider,org.apache.cxf.ws.rm.RMManager,org.apache.cxf.ws.rm.policy.RMPolicyInterceptorProvider,org.apache.cxf.ws.rm.policy.RMAssertionBuilder]; root of factory hierarchy
10-11 15:15:28,0775[INFO] Creating Service {http://webservice.process.imf.caac.com/}ProcessServiceService from class com.caac.imf.process.webservice.ProcessService
10-11 15:15:29,0718[INFO] ------------->IMF Service initialization success
10-11 15:15:29,0876[INFO] Inbound Message
----------------------------
ID: 1
Response-Code: 200
Encoding: UTF-8
Content-Type: text/xml;charset=UTF-8
Headers: {Server=[Apache-Coyote/1.1], content-type=[text/xml;charset=UTF-8], Content-Length=[2419], Date=[Thu, 11 Oct 2018 07:15:29 GMT]}
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:loginResponse xmlns:ns2="http://webservice.process.imf.caac.com/"><return><INFO><CONFIG><ENDPOINTCONFIG><ENDPOINTID>AGTZ</ENDPOINTID><ENDPOINT>AGTZ</ENDPOINT><CHECKTYPE>N</CHECKTYPE><AUTHMSGRS>A</AUTHMSGRS><CONNMODEL>A</CONNMODEL><HOST>10.50.3.74</HOST><PORT>2414</PORT><CCSID>1208</CCSID><QUEUEMANAGER>QM_IMF</QUEUEMANAGER><GETQUEUENAME>AGTZ_R</GETQUEUENAME><PUTQUEUENAME>AGTZ_S</PUTQUEUENAME><QUEUECHANNEL>SVRCONN_AGTZ</QUEUECHANNEL><INACTIVETIMEOUT>5000</INACTIVETIMEOUT><GETMSGTYPE>G</GETMSGTYPE><MSGRECEIVEINTERVAL>5000</MSGRECEIVEINTERVAL><AGENTKEEPALIVEINTERVAL>5000</AGENTKEEPALIVEINTERVAL><SYSQUEUENAME>AGTZ_L</SYSQUEUENAME><JOINUPMODEL>A</JOINUPMODEL><MSGGROUP>7</MSGGROUP><REQUESTCONTROL>5000</REQUESTCONTROL><ISAPPKEEPALIVE>Y</ISAPPKEEPALIVE><ISLOG>Y</ISLOG><VERSION>1.0.2.2</VERSION><ISSHUTDOWN>Y</ISSHUTDOWN><RELOADINTERVAL>5000</RELOADINTERVAL><ISCLEAR>N</ISCLEAR><MSGLENGTH>5</MSGLENGTH><ISENCODING>Y</ISENCODING><ENCODING>UTF-8</ENCODING><CLFG>N</CLFG></ENDPOINTCONFIG><SRVRS><SRVR><SERVICENAME>UPLOAD</SERVICENAME><SERVICEHOST>10.50.3.74</SERVICEHOST><SERVICEPORT>7484</SERVICEPORT><SERVICEURL>http://10.50.3.74:7484/UploadService/services/UploadService?wsdl</SERVICEURL><SERVICETYPE>UPLOAD</SERVICETYPE><SERVICEINTERVAL>5000</SERVICEINTERVAL></SRVR><SRVR><SERVICENAME>KEEPALIVE</SERVICENAME><SERVICEHOST>10.50.3.74</SERVICEHOST><SERVICEPORT>7484</SERVICEPORT><SERVICEURL>http://10.50.3.74:7484/HeartbeatService/services/HeartbeatService?wsdl</SERVICEURL><SERVICETYPE>KEEPALIVE</SERVICETYPE><SERVICEINTERVAL>5000</SERVICEINTERVAL></SRVR></SRVRS><RQMS><RQMN>REQE</RQMN></RQMS></CONFIG><RESULT><RETURNCODE>1</RETURNCODE></RESULT></INFO></return></ns2:loginResponse></soap:Body></soap:Envelope>
--------------------------------------
10-11 15:15:30,0009[INFO] 登陆请求消息反馈内容是:<INFO><CONFIG><ENDPOINTCONFIG><ENDPOINTID>AGTZ</ENDPOINTID><ENDPOINT>AGTZ</ENDPOINT><CHECKTYPE>N</CHECKTYPE><AUTHMSGRS>A</AUTHMSGRS><CONNMODEL>A</CONNMODEL><HOST>10.50.3.74</HOST><PORT>2414</PORT><CCSID>1208</CCSID><QUEUEMANAGER>QM_IMF</QUEUEMANAGER><GETQUEUENAME>AGTZ_R</GETQUEUENAME><PUTQUEUENAME>AGTZ_S</PUTQUEUENAME><QUEUECHANNEL>SVRCONN_AGTZ</QUEUECHANNEL><INACTIVETIMEOUT>5000</INACTIVETIMEOUT><GETMSGTYPE>G</GETMSGTYPE><MSGRECEIVEINTERVAL>5000</MSGRECEIVEINTERVAL><AGENTKEEPALIVEINTERVAL>5000</AGENTKEEPALIVEINTERVAL><SYSQUEUENAME>AGTZ_L</SYSQUEUENAME><JOINUPMODEL>A</JOINUPMODEL><MSGGROUP>7</MSGGROUP><REQUESTCONTROL>5000</REQUESTCONTROL><ISAPPKEEPALIVE>Y</ISAPPKEEPALIVE><ISLOG>Y</ISLOG><VERSION>1.0.2.2</VERSION><ISSHUTDOWN>Y</ISSHUTDOWN><RELOADINTERVAL>5000</RELOADINTERVAL><ISCLEAR>N</ISCLEAR><MSGLENGTH>5</MSGLENGTH><ISENCODING>Y</ISENCODING><ENCODING>UTF-8</ENCODING><CLFG>N</CLFG></ENDPOINTCONFIG><SRVRS><SRVR><SERVICENAME>UPLOAD</SERVICENAME><SERVICEHOST>10.50.3.74</SERVICEHOST><SERVICEPORT>7484</SERVICEPORT><SERVICEURL>http://10.50.3.74:7484/UploadService/services/UploadService?wsdl</SERVICEURL><SERVICETYPE>UPLOAD</SERVICETYPE><SERVICEINTERVAL>5000</SERVICEINTERVAL></SRVR><SRVR><SERVICENAME>KEEPALIVE</SERVICENAME><SERVICEHOST>10.50.3.74</SERVICEHOST><SERVICEPORT>7484</SERVICEPORT><SERVICEURL>http://10.50.3.74:7484/HeartbeatService/services/HeartbeatService?wsdl</SERVICEURL><SERVICETYPE>KEEPALIVE</SERVICETYPE><SERVICEINTERVAL>5000</SERVICEINTERVAL></SRVR></SRVRS><RQMS><RQMN>REQE</RQMN></RQMS></CONFIG><RESULT><RETURNCODE>1</RETURNCODE></RESULT></INFO>
10-11 15:15:30,0319[INFO] user:AGTZlogin successfull!
10-11 15:15:30,0341[INFO] ------------->IMF Application initialization start
10-11 15:15:30,0344[INFO] Creating Service {http://webservice.upload.process.imf.caac.com/}UploadServiceService from class com.caac.imf.process.upload.webservice.UploadService
10-11 15:15:30,0410[INFO] ------------->IMF Application initialization success
10-11 15:15:30,0410[INFO] ------------->IMF Communication initialization start
10-11 15:15:30,0846[INFO] ------------->IMF Communication initialization sucess
10-11 15:15:30,0887[INFO] message=<MSG><META><SNDR>SYSTEM</SNDR><TYPE>SYS</TYPE><STYP/><DDTM>2018-10-11 15:15:30</DDTM><SEQN/></META><CONTENT><CODE>1</CODE><DESC>login successful</DESC></CONTENT></MSG>
10-11 15:15:30,0887[INFO] login success
10-11 15:15:30,0887[INFO] 登录成功.....
10-11 15:15:30,0888[INFO] 开启中外运报文接收服务......
10-11 15:15:34,0913[INFO] Closing org.springframework.context.support.FileSystemXmlApplicationContext@71e7a66b: startup date [Thu Oct 11 15:15:27 CST 2018]; root of context hierarchy
10-11 15:15:34,0913[INFO] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@14acaea5: defining beans [dataSource,configurationBean,jdbcTemplate,dao]; root of factory hierarchy