简体   繁体   中英

Files not getting transferred from Apache web server to Tomcat application server

Apache 2.4 is the web server. Apache Tomcat 9.0.0M15 is the application server. We have deployed the entire war on the tomcat. We have used web server only for redirection and load balancing. We use java 1.7 + spring 3.2.5 + hibernate 4

Application allowed user to upload files. When we directly use the application url, we are able to upload files.

However, when we upload files using the web server url, the files do not get uploaded. File object is not populated when we see the logs.

Could you please help? Is there any configuration changes on web server or app server so that the files reach the application server?

没错,apache是​​Web服务器,tomcat是应用程序之一,这意味着apache对Java应用程序一无所知,如果您想使用自己的应用程序,则应将调用重定向到tomcat,因此该应用程序(表示其servlet)将完成这项工作

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM