-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

>Are you using virtual hosts????

Actually, I am not using virtual hosts.
I still get the same error with the ApJServMount setting. I am
curious to know why I need to have a setting for "Listen" in the
httpd.conf file to get the servlets to work. I was trying to get
Jserv to work just by modifying the "Port" setting and I get
the NullPointerException when I call:

localhost:81/servlets/TestServlet...

When I add "Listen localhost:8100" to the httpd.conf file, things seem
to work (localhost:8100/servlets/TestServlet...).

Thanks,
Venu

----- Original Message -----
From: Pierpaolo Fumagalli <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Cc: Venu Jadcherla <[EMAIL PROTECTED]>
Sent: Monday, August 09, 1999 8:32 PM
Subject: Re: Two instances of Apache


-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Please use the users mailing list... Others might be interested too...

Venu Jadcherla wrote:
> Pierpaolo Fumagalli wrote:
> > Venu Jadcherla wrote:
> > >
> > > I am running two instances of Apache on a single machine and I want
> > > to be able to use Microsoft Java VM on one JServ and Sun VM on
> > > the other. Both these instances work ok individually if I run one
instance
> > > at a time (I am able to run my servlets in this scenario).
> > >
> > > The problem is that when I run two instances of Apache, I am able to
> > > run servlets only from the first instance. So, I am wondering if it is
> > > possible to run two instances of JServ using different virtual
machines...
> > >
> > What is in your error log file?
> > Are you sure you specified a different port=xxxx in the two
> > jserv.properties files???
> >
> Thanks for your prompt response.
>
You welcome...

> This is the error message that I get (mod_jserv.txt):
>
> [10/08/1999 02:00:59:533] (EMERGENCY) ajp11: can not connect to host
> 127.0.0.1:8007
> [10/08/1999 02:00:59:533] (EMERGENCY) ajp11: connection fail
> [10/08/1999 02:00:59:533] (ERROR) an error returned handling request via
> protocol "ajpv11"
>
hmmm.... it seems that apache is trying to connect on port 8007

> I modified the port numbers in the following files for one Apache setup.
The
> other
> Apache installation is using the defaults.
>
> jserv.properties
> ^^^^^^^^^^^^
> port=8081
>
but here jserv listens on port 8081

> mod-jserv.conf
> ^^^^^^^^^^^^
> ApJServDefaultPort 8081
>
The default port IS 8081

> httpd.conf
> ^^^^^^^^
> Listen bashful.spacerus.com:8080
> Port 81
>
And you're waiting for http request on port 80 and 8080...

Are you using virtual hosts????

Specify the full URL in ApJServMount directive...
ApJServMount /servlets ajpv11://localhost:8081/zonename
--
Pierpaolo Fumagalli - IBM Center for Java Technologies
<mailto:[EMAIL PROTECTED]>   <mailto:[EMAIL PROTECTED]>


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to