logo       

Re: mod_caucho servlet dispatch: msg#00028

text.xml.resin.user

Subject: Re: mod_caucho servlet dispatch

Hello all,

I'm using Apache 2 and Resin 3.0.6 on a windows server
I'm trying to setup the 2 app to work together, so far with no luck

When I try to serve a jsp, or test a jsp, Apache reports

"503 Service Temporarily Unavailable
Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Apache/2.0.48 (Win32) Resin/3.0.6 Server at sms.teamx2.net Port 80"

I'm using Josh's EXACT configuration below. with the necessary other lines to make the conf rite.
Anyone can advise me on what i'm doing wrong?

resin.conf
<host id='sms.teamx2.net'>
<document-directory>d:/web/teamx2/sms</document-directory>
<web-app id='/'/>
</host>

The apache config looks like this...
LoadModule caucho_module c:/resin-3.0.6/libexec/apache-2.0/mod_caucho.dll
...
<VirtualHost *>
ServerName sms.teamx2.net

DocumentRoot "d:/web/teamx2/sms"

ResinConfigServer localhost 6802

<Directory "d:/web/teamx2/sms">
Options Indexes FollowSymLinks MultiViews Includes
</Directory>
</VirtualHost>

Cheers
Eric Chia

On 27-Feb-04, at 1:13 AM, Josh Kropf wrote:

I have played around furthur and this is what I have come up with.

First of all some background info. My virtual host in resin looks like
this...
<host id='slashdev.ca'>
<host-alias>www.slashdev.ca</host-alias>
<document-directory>/home/web/slashdev.ca/htdocs</document-directory>
<web-app id='/'/>
</host>

The apache config looks like this...
LoadModule caucho_module libexec/mod_caucho.so
...
<VirtualHost *>
ServerName slashdev.ca
ServerAlias www.slashdev.ca

DocumentRoot "/home/web/slashdev.ca/htdocs"

ResinConfigServer localhost 6802

<Directory "/home/web/slashdev.ca/htdocs">
Options Indexes FollowSymLinks MultiViews Includes
</Directory>
</VirtualHost>

the web app for this site has a trivial hello world servlet mapped to
"/hello" and when I navigate to http://slashdev.ca:8080/hello it works as
expected. However if I navigate to http://slashdev.ca/hello apache sais the
path is not found. However if I navigate to http://slashdev.ca/index.jsp it
works which means mod_caucho is passing off *.jsp to resin.

Has anyone else experienced anything like this or maybe have some insight
into what I have done wrong?

Thanks,
Josh

----- Original Message -----
From: Josh Kropf
To: resin-interest@xxxxxxxxxx
Sent: Wednesday, February 25, 2004 11:48 PM
Subject: Re: mod_caucho servlet dispatch


Sorry, I should also add that the webapp for the virtual host works fine,
all JSP and servlets are served up as expected. Also when attempting to
access one of the "sub webapps" JSP's DO server up, it's is only the servlet
mapping that is missing.

Hit the send button too quickly :)

----- Original Message -----
From: "Josh Kropf" <josh@xxxxxxxxxxx>
To: <resin-interest@xxxxxxxxxx>
Sent: Wednesday, February 25, 2004 11:41 PM
Subject: mod_caucho servlet dispatch


Hello all,

I have resin 3.0.6 and apache 1.3.27 setup to play together. I have
several
virtual hosts, however, only a few need to be parsed bye the servlet
engine.
One virtual host in particular needs to have web-apps generated from a dir
of war files. I have added the <web-app-deploy> tag to this virtual host
and
when I browes to one of the webapps directly to the servlet runner (port
8080) it works fine (as expected static content and servlets/jsp serve up
just fine). However, when I try to browse to the webapp going through a
virtual host on apache that has the ResinConfigServer tag declared, resin
does not serve up any of the static content in the webapp (*.html, *.gif,
etc.) and resin does not process mapped servlets (eg:
http://slashdev.ca/mywebapp/LoginServlet does not exist).

Is this a limitation of the mod_caucho plugin or am I just configuring
something wrong.

Thanks in advance,
Josh








<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise