-----------------------------
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]

Reply via email to