![]() ![]() proxy_util.c(2074): proxy: connecting ajp://ApplicationServerFullName:8009/app/launch.jsp to ApplicationServerFullName:8009 proxy_util.c(2018): proxy: AJP: has acquired connection for (*) mod_proxy_ajp.c(726): proxy: AJP: serving URL ajp://ApplicationServerFullName:8009/app/launch.jsp mod_proxy.c(1036): Running scheme ajp handler (attempt 0) proxy_util.c(1532): proxy: *: found reverse proxy worker for ajp://ApplicationServerFullName:8009/app/launch.jsp Windows Server 2012 for both Web And Application Servers.Įrror.log: mod_proxy_ajp.c(45): proxy: AJP: canonicalising URL //ApplicationServerFullName:8009/app/launch.jsp.I have my doubt on the Network Path to the application deployment Folder on Tomcat because as the 2 computers are not on the same Network, the network administrator had to give me a Strange Path considering the DOLLAR ($) sign in it, \ApplicationServerFullName\cim$\apache-tomcat-7.0.63\webapps\app (Which is accessible from WebServer through the browser though) RewriteRule ^/app/(.+\.(?:jsp|do|rpc).*)$ ajp://ApplicationServerFullName:8009/app/$1 Īlias /app "\\ApplicationServerFullName\cim$\apache-tomcat-7.0.63\webapps\app" RewriteRule ^\/app\/?$ ajp://ApplicationServerFullName:8009/app The application is accessible from the WebServer through the Appplication URL though (using port 8080).Ĭan somebody please help me in pointing out what I am doing wrong?Īfter changing the WebServerFullName, the ApplicationServerFullName and the Network Path to Application Deployment Folder on Tomcat, the New Virtual Host Settings are: However, if I install the Apache and Tomcat Server on different machines (As Required) then I make few changes to the nf and after that I am unable to access the Application through Apache. This works fine for me if I have install both the apache and tomcat server on the same machine. # SHOULD THIS BE THE LOCATION WITH IN THE APPLICATION SEVER OR THE LOCATION PATH TO THE APPLICATION SERVER FROM WEB SERVER?Īlias /app "D:\apache-tomcat-7.0.63\webapps\app"ĮxpiresByType application/x-javascript "access plus 2 months"ĮxpiresByType application/javascript "access plus 2 months"ĮxpiresByType text/javascript "access plus 2 months"ĮxpiresByType text/css "access plus 2 months"ĮxpiresByType image/gif "access plus 2 months"ĮxpiresByType image/jpeg "access plus 2 months"ĮxpiresByType image/png "access plus 2 months"ĮxpiresByType image/x-icon "access plus 2 months"ĪddOutputFilterByType DEFLATE text/html text/plain text/css text/javascript text/json application/x-javascript # This must be the location where application is deployed RewriteRule ^\/app\/?$ ajp://Full_Name_OF_Computer:8009/app #Full Computer Name with port if its not 80 I have to use a Virtual Host setting like below because this had already been used by other developers in my company and its fully tested and works fine. ![]() The 2 machines are not on the same domain or network due to security reasons. Both the servers are on 2 different machines. I have a scenario where all the requests to the Tomcat Server (Application Server) should go through the Apache 2.2 (Web server).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |