• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Need help withn tomcat and apache integration

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

I am using tomcat application server (with 2 instances), apache webserver, load balancer.
ssl offloading is done at load balancer end i am not carrying it on webserver or application server

I have an url https://xyz.abc.net/.................................
which is functioned to open two windows one with a welcome page and other with a begin page of our apllication

I am getting a window welcome page, other window is coming with a message "page cannot be displayed"
when i checked the url of the corresponding window i noticed its redirecting it to http://xyz.abc.net/.................................


So i edited server.xml file by appending
secure="true" and scheme="https"
when i launch the url above process is repeating but URL of the window with a message "page cannot be displayed" is
https://xyz.abc.net:80/.................................


If i edit both above urls properly by making http to https and by removing the port number application is launching properly


i am using two ports 8009 and 8010 for 2 tomcat instances, webserver is listening 8000 port
Please anyone help me in resolving the issue


 
Bartender
Posts: 20841
125
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Prishna!

I really, really hate webapps that open windows. I already have too many windows open. Besides, my browser is set to open tabs, not windows, so the extra window won't even be visible unless I explicitly navigate to it. You can chase me to competitor's websites quicker by loading your site with noisy flashy Flash junk, but not much quicker.

HTTP is designed to give only one response per request, so I'm not really sure how you're doing this at all. You should either be opening the response in a new window or updating the existing window, but not both. My best guess is that you've got some sort of JavaScript in motion.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!