Ok, this must be simple but I seem to miss something.
I have a bare-bones "web application" - just a directory stucture:
>testApp
-------->WEB-INF
-------web.xml
------->lib
------->classes
------->src
--------index.html
--------index.jsp
(files beginning with ">" are directories).
My App server is weblogic 6.1. I can access my testApp via http://localhost:7001/testApp/ (index pages have been defined the welcome files), but what are the exact steps that I need to do to be able to access the web application via http://localhost/testApp (configuring weblogic to run as HTTP server)?
TIA
-
configuring weblogic 6.1 as HTTP server (3 messages)
- Posted by: Manavendra Gupta
- Posted on: July 30 2002 02:57 EDT
Threaded Messages (3)
- configuring weblogic 6.1 as HTTP server by Brian Chan on July 30 2002 09:02 EDT
- configuring weblogic 6.1 as HTTP server by Manavendra Gupta on July 30 2002 09:27 EDT
- configuring weblogic 6.1 as HTTP server by Brian Chan on July 31 2002 01:06 EDT
- configuring weblogic 6.1 as HTTP server by Manavendra Gupta on July 30 2002 09:27 EDT
-
configuring weblogic 6.1 as HTTP server[ Go to top ]
- Posted by: Brian Chan
- Posted on: July 30 2002 09:02 EDT
- in response to Manavendra Gupta
You need to create or modified your domain to listen to port 80 instead of 7001. Take a look at config.xml under your domain directory. -
configuring weblogic 6.1 as HTTP server[ Go to top ]
- Posted by: Manavendra Gupta
- Posted on: July 30 2002 09:27 EDT
- in response to Brian Chan
Thanks for the reply, but perhaps I wasn't detailed enough.
I have just one box where weblogic is installed (I'm still exploring it and learning j2ee).
If i reconfigure my domain to listen to port 80 instead of the default port, will the applications be served from the new port? If yes, then that means I still will have just "one" server - an application and a webserver coupled together.
In product environments, would you generally not keep the two of them separate? I saw some documentation about configuring weblogic to run with Apache add-in, and similar documentation on configuring weblogic for web applications. But what I need is to have two "separate" servers (so the webserver serves pages (html, images), while the app server serves the server-side components (jsp, servlets, ejb)).
Any ideas? -
configuring weblogic 6.1 as HTTP server[ Go to top ]
- Posted by: Brian Chan
- Posted on: July 31 2002 13:06 EDT
- in response to Manavendra Gupta
In a production environment,it's generally desirable to use WEBLOGIC to serve mainly EJB and other J2EE functionality (JMS,Servlets,...). So configuring weblogic to run with Apache add-in is a good idea. The apache server can act as a proxy and forward relevant requests to a weblogic server or even cluster of weblogic servers.Read online doc on how to configure apache:
http://edocs.bea.com/wls/docs61/adminguide/apache.html#100375