<<
If you are using an external web server, the
root for the default user application would be THAT WEB SERVER'S DOCUMENT
ROOT, and you would put your application content there. For IIS, that would
be wwwroot.
>>
This is not entirely true. We are using Apache on a different machine. We
put the static content (html and images) on the webserver machine. We have
to put the jsp's in the our JRun Server's application root on the machine
that is running JRun.
I configured a new JRun server and a new web application. My original query
was that "index.jsp" does not work. It works if apache and JRUn are running
on same box, but not if they are distributed. If I specify index.jsp, it is
found.
HP-UX 10.2
(Running Apache) with
jrun_mod.so as connector
NT
(Running 3 JRun Servers)
Phillip Rhodes
[EMAIL PROTECTED]
Alcoa eCommerce
https://www.ALCOADIRECT.COM
826B Two Allegheny Center Pittsburgh, PA 15212
(412) 553-4900 (phone) (412) 553-2484 (fax)
-----Original Message-----
From: Pat Quinn [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 17, 2000 12:37 PM
To: JRun-Talk
Subject: RE: index.jsp not working as default document
Okay, here goes. This is partly our fault, because we use some slightly
ambiguous and redundant language to describe the various pieces in our
product.
When you install JRun, two JRun server instances are installed: The Admin
server and the Default server. These are JRun APPLICATION server instances.
Each JRun application server instance has its own JRun Web server, JWS. This
is the HTTP server that will receive HTTP requests and pass them to a JRun
application server instance. If you connect a JRun application server
instance to a third party Web server, then THAT WEB SERVER will become the
HTTP Web server for that JRun application server.
To make matters even murkier, the Default JRun application server is
installed with a default user application. So, after you've gone through a
typical install, you've got a default user application, on the Default JRun
application server instance, and you can gain HTTP access to that
application in one of two ways: either through JRun's Web server, JWS, or
through a third party, external Web server.
In a typical install, the root directory for the default user APPLICATION is
<jrunrootdir>\servers\default\default-app. However, this application has "/"
as an application mapping, which means it serves content relative to the WEB
SERVER ROOT. So, if you are using JRun's Web server, the Web server root for
the default user application will be THE SAME AS THE APPLICATION ROOT, which
in this case is <jrunrootdir>\servers\default\default-app. So, you would put
your application content there. If you are using an external web server, the
root for the default user application would be THAT WEB SERVER'S DOCUMENT
ROOT, and you would put your application content there. For IIS, that would
be wwwroot.
HTH,
Patrick
-----Original Message-----
From: sahaya ranialex [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 17, 2000 11:48 AM
To: JRun-Talk
Subject: RE: index.jsp not working as default document
For a default JRUN server as web server,what is the web server root path?
sahaya
>From: Pat Quinn <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: JRun-Talk <[EMAIL PROTECTED]>
>Subject: RE: index.jsp not working as default document
>Date: Thu, 16 Nov 2000 21:12:31 -0500
>
>Just to be precise: Do you mean that it's in the web applicaion root, or
>the
>Web server root? There's a difference. As you probably know, IIS's Web root
>is typically wwwroot. For JRun's default user application, to take one
>example, the web application root is typically
><jrunrootdir>\servers\default\default-app. If your index.jsp is here, it
>won't work.
>
>Just double checking...
>
>Patrick
>
>-----Original Message-----
>From: Rhodes, Phillip C. [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 16, 2000 3:49 PM
>To: JRun-Talk
>Subject: RE: index.jsp not working as default document
>
>
>Yes, index.jsp is in the root for my web application.
>
>
>Phillip Rhodes
>[EMAIL PROTECTED]
>Alcoa eCommerce
>https://www.ALCOADIRECT.COM
>826B Two Allegheny Center Pittsburgh, PA 15212
>(412) 553-4900 (phone) (412) 553-2484 (fax)
>
>
>-----Original Message-----
>From: Pat Quinn [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 16, 2000 12:56 PM
>To: JRun-Talk
>Subject: RE: index.jsp not working as default document
>
>
>Is the index.jsp in your web root? The default user application in JRun has
>"/" as an application mapping, which means intercepts the request to
>http://myserver/ and it looks for resources relative to the Web server
>root.
>So if your index.jsp isn't there, the Web server will return the 404 (JRun
>actually returns errors to clients for non-default applications).
>
>Also, you can specify default documents on a per-application basis in JRun
>via the JMC (ServerName-->Application Name-->File Settings). You can
>control
>directory browsing there as well.
>
>HTH,
>Patrick Quinn
>Allaire Consulting
>
>-----Original Message-----
>From: Rhodes, Phillip C. [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 16, 2000 9:23 AM
>To: JRun-Talk
>Subject: index.jsp not working as default document
>
>
>I have Apache and Jrun working together in a distributed environment. JRun
>3.0 on NT. Apache on HP 10.2
>
>They are working together. I have modified my apache's httpd.conf file to
>use index.jsp as the default document. However, if I do not specify it, I
>get a 404
>
>example that works http://apachemachine/index.jsp
>
>example that breaks http://apachemachine/ The 404 error appears to be
>from Apache.
>
>I would appreciate any thoughts on this.
>
>
>Phillip Rhodes
>[EMAIL PROTECTED]
>Alcoa eCommerce
>https://www.ALCOADIRECT.COM
>826B Two Allegheny Center Pittsburgh, PA 15212
>(412) 553-4900 (phone) (412) 553-2484 (fax)
>
>---------------------------------------------------------------------------
-
>--
>Archives: http://www.egroups.com/group/jrun-interest/
>Unsubscribe:
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
>or send a message to [EMAIL PROTECTED] with 'unsubscribe'
>in the body.
>---------------------------------------------------------------------------
-
>--
>Archives: http://www.egroups.com/group/jrun-interest/
>Unsubscribe:
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
>or send a message to [EMAIL PROTECTED] with 'unsubscribe'
>in the body.
>---------------------------------------------------------------------------
-
>--
>Archives: http://www.egroups.com/group/jrun-interest/
>Unsubscribe:
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
>or send a message to [EMAIL PROTECTED] with 'unsubscribe'
>in the body.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Your ad could be here. Monies from ads go to support these lists and
>provide more resources for the community.
>http://www.fusionauthority.com/ads.cfm
>
>Archives: http://www.mail-archive.com/[email protected]/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide
more resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide
more resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists