----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Ok... we're getting closer...
Here's what I'm running:
java -cp
/usr/ApacheJServ-1.0/src/java/ApacheJServ.jar:/usr/JSDK2.0/lib/jsdk.jar
org.apache.jserv.JServ /usr/local/apache/conf/servername.jserv.properties
and I get:
ApacheJServ/1.0: Exception creating the server socket:
java.net.BindException: Address already in use
Do I need to make sure no other Apache JServ's are running? We have another
instance serving up at another port, I would imagine I need to kill all the
other instances first and change them to run the same way.
Don
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Wilks, Dan
> Sent: Friday, February 04, 2000 2:09 PM
> To: 'Java Apache Users'
> Subject: RE: Multiple JVM's, Bind to specific IP
>
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> You don't need to bind the JVM to an IP address you need to let each JServ
> bind to it's own.
>
> java -classpath classes.including.jsdk.jar.and.ApacheJServ.jar
> org.apache.jserv.JServ the.appropriate.jserv.properties
>
> Each JVM will run JServ with a different properties file which will then
> bind to the bindaddress in that properties file.
>
> Dan
>
> -----Original Message-----
> From: Don O'Neil [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 04, 2000 2:00 PM
> To: Java Apache Users
> Subject: RE: Multiple JVM's, Bind to specific IP
>
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Ok... if I do this, it looks like I need to manually start a JVM for each
> jserv... how do I config the JVM to start/bind to one IP?
>
> Dan,
> This is exactly what I'm doing... I have distinct jserv properties files
> for each server/ip and have the bind address set as well. Problem is that
> when I try to run that config jserv doesn't even start up, no errors, no
> messages, nothing, so of course Servlets aren't working.
>
> Any ideas?
>
> Thanks!
> Don
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Wilks, Dan
> > Sent: Friday, February 04, 2000 1:41 PM
> > To: 'Java Apache Users'
> > Subject: RE: Multiple JVM's, Bind to specific IP
> >
> >
> > ----------------------------------------------------------------
> > BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> > WHEN YOU POST, include all relevant version numbers, log files,
> > and configuration files. Don't make us guess your problem!!!
> > ----------------------------------------------------------------
> >
> > 1. You need to run JServ in manual mode (ApJServManual on - look in load
> > balancing doc for more info)
> > 2. Each JServ will have it's own properties file (jserv.properties)
> > 3. In that properties file the bindaddress will specifiy the ip
> > address that
> > you need to bind to.
> >
> > Hope that helps,
> > Dan
> >
> > -----Original Message-----
> > From: Don O'Neil [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, February 04, 2000 1:34 PM
> > To: [EMAIL PROTECTED]
> > Subject: Multiple JVM's, Bind to specific IP
> >
> >
> > ----------------------------------------------------------------
> > BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> > WHEN YOU POST, include all relevant version numbers, log files,
> > and configuration files. Don't make us guess your problem!!!
> > ----------------------------------------------------------------
> >
> > I have a need (for security reasons) to configure Jserv to run multiple
> > times, each with it's own JVM and each bound to it's own IP. I
> > read through
> > the FAQ's but couldn't find anything to help me out. When I declare
> > everything standard for Apache (it's own IP, etc..) I get the message :
> >
> > ApacheJServ/1.0: Exception creating the server socket:
> > java.net.BindException: Address already in use
> >
> > So, I need to figure out how to bind Jserv/JVM to their own IP's.
> >
> > Thanks!
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > 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]
> >
> >
> >
>
>
>
> --
> --------------------------------------------------------------
> 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]
>
>
>
--
--------------------------------------------------------------
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]