The new remote support team of the Ministry of Construction may be unable to keep up with subsequent tests due to project shortage. After the project is deployed in the Beijing team for environment support, the functional test shows that, the homepage portal news image cannot be loaded. It is estimated that the cause is very simple. The problem with attachment downloading is similar to that of uploading or reading images. Searching logs may cause problems when uploading and reading images, the root cause is that the image is stored locally, rather than saved as a document on filenet, and the image directory cannot be found during uploading and reading. The log is as follows:
[Debug] 16:20:19. 515-http session @ sessioncontextutils. getsubject (): org. Apache. Catalina. session. standardsessionfacade @ paie05
Java. io. filenotfoundexception: C: \ workplace_flex \. metadata \. plugins \ Org. eclipse. WST. server. core \ tmp1 \ wtpwebapps \ EC \ rjrv02 \ installedapps \ fnservernode02cell \ EC. ear \ EC. war \ cache \ constructioninfopic \ c12ded20bdca424986b4fcc4b549bf8d.jpg (the specified path cannot be found .)
At java. Io. fileoutputstream. Open (native method)
At java. Io. fileoutputstream. <init> (unknown source)
At java. Io. fileoutputstream. <init> (unknown source)
At com. IBM. Rise. VO. constructioninfovo. downloadpic (constructioninfovo. Java: 104)
At com. IBM. Rise. VO. constructioninfovo. <init> (constructioninfovo. Java: 58)
At com. IBM. Rise. Workplace. Construction. constructioninfoservice. queryimginfodata (constructioninfoservice. Java: 90)
At com. IBM. Rise. Workplace. Construction. constructioninfoservice $ fastclassbycglib $ c93c768f. Invoke (<generated>)
At net. SF. cglib. Proxy. methodproxy. Invoke (methodproxy. Java: 149)
At org. springframework. AOP. Framework. cglib2aopproxy $ cglibmethodinvocation. invokejoinpoint (cglib2aopproxy. Java: 700)
At org. springframework. AOP. Framework. reflectivemethodinvocation. Proceed (reflectivemethodinvocation. Java: 149)
At org. springframework. transaction. Interceptor. transactioninterceptor. Invoke (transactioninterceptor. Java: 106)
At org. springframework. AOP. Framework. reflectivemethodinvocation. Proceed (reflectivemethodinvocation. Java: 171)
At org. springframework. AOP. Framework. cglib2aopproxy $ dynamicadvisedinterceptor. Intercept (cglib2aopproxy. Java: 635)
At com. IBM. Rise. Workplace. Construction. constructioninfoservice $ enhancerbycglib $9aec512. queryimginfodata (<generated>)
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (unknown source)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (unknown source)
At java. Lang. Reflect. method. Invoke (unknown source)
At Flex. messaging. Services. remoting. adapters. javaadapter. Invoke (javaadapter. Java: 421)
At Flex. messaging. Services. remotingservice. servicemessage (remotingservice. Java: 183)
At Flex. messaging. messagebroker. routemessagetoservice (messagebroker. Java: 1503)
At Flex. messaging. endpoints. abstractendpoint. servicemessage (abstractendpoint. Java: 884)
At Flex. messaging. endpoints. AMF. messagebrokerfilter. Invoke (messagebrokerfilter. Java: 121)
At Flex. messaging. endpoints. AMF. legacyfilter. Invoke (legacyfilter. Java: 158)
At Flex. messaging. endpoints. AMF. sessionfilter. Invoke (sessionfilter. Java: 44)
At Flex. messaging. endpoints. AMF. batchprocessfilter. Invoke (batchprocessfilter. Java: 67)
At Flex. messaging. endpoints. AMF. serializationfilter. Invoke (serializationfilter. Java: 146)
At Flex. messaging. endpoints. basehttpendpoint. Service (basehttpendpoint. Java: 278)
At Flex. messaging. messagebrokerservlet. Service (messagebrokerservlet. Java: 322)
At javax. servlet. http. httpservlet. Service (httpservlet. Java: 717)
At org. Apache. Catalina. Core. applicationfilterchain. internaldofilter (applicationfilterchain. Java: 290)
At org. Apache. Catalina. Core. applicationfilterchain. dofilter (applicationfilterchain. Java: 206)
At com. IBM. Rise. util. containbasefilter. dofilter (containbasefilter. Java: 91)
At org. Apache. Catalina. Core. applicationfilterchain. internaldofilter (applicationfilterchain. Java: 235)
At org. Apache. Catalina. Core. applicationfilterchain. dofilter (applicationfilterchain. Java: 206)
At com. IBM. Rise. util. utf8filter. dofilter (utf8filter. Java: 25)
At org. Apache. Catalina. Core. applicationfilterchain. internaldofilter (applicationfilterchain. Java: 235)
At org. Apache. Catalina. Core. applicationfilterchain. dofilter (applicationfilterchain. Java: 206)
At org. Apache. Catalina. Core. standardwrappervalve. Invoke (standardwrappervalve. Java: 233)
At org. Apache. Catalina. Core. standardcontextvalve. Invoke (standardcontextvalve. Java: 191)
At org. Apache. Catalina. Core. standardhostvalve. Invoke (standardhostvalve. Java: 127)
At org. Apache. Catalina. Valves. errorreportvalve. Invoke (errorreportvalve. Java: 102)
At org. Apache. Catalina. Core. standardenginevalve. Invoke (standardenginevalve. Java: 109)
At org. Apache. Catalina. connector. coyoteadapter. Service (coyoteadapter. Java: 298)
At org. Apache. Coyote. http11.http11processor. Process (http11processor. Java: 857)
At org. Apache. Coyote. http11.http11protocol $ http11connectionhandler. Process (http11protocol. Java: 588)
At org.apache.tomcat.util.net. jioendpoint $ worker. Run (jioendpoint. Java: 489)
At java. Lang. thread. Run (unknown source)
Java. io. filenotfoundexception: C: \ workplace_flex \. metadata \. plugins \ Org. eclipse. WST. server. core \ tmp1 \ wtpwebapps \ EC \ rjrv02 \ installedapps \ fnservernode02cell \ EC. ear \ EC. war \ cache \ constructioninfopic \ 0775d8982ba446dd9e73ac2557a67475.jpg (the specified path cannot be found .)
Solution:
To
C: \ Program Files \ IBM \ WebSphere \ appserver \ profiles \ invalid rv02 \ installedapps \ fnservernode02cell \ ECM. Ear \ ECM. War \ Cache
Constructioninfopic
In cnooc_config.properties, specify
Supply_path = g0rv01/installedapps/gcjsb-webNode01Cell/EC. Ear/EC. War/
The problem itself is not difficult, but it exposes the coordination problem between remote development and local environment support personnel. The latter cannot fully understand the idea of the former, not to mention the time constraints, the role of managers in coordination and standardized formulation between the remote development team and the local environment support team cannot be underestimated.