Hi,

I had tried port 9090 but still got the same error.
I think the runner is hardcoded internally to use
port 1109 - seems like a bad design to me if true.

Does anyone know if there is any system call in UNIX
to find return the port number of an unused port,
or to find out if a given port is in use or not ?
(Doing netstat -a | grep <portno> is not reliable
since the number could be part of a larger number,
e.g. 1109 is part of 21109).

Regards

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Vasudev Ram
Infosys Technologies Limited
Pune, India
Email : [EMAIL PROTECTED]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

> -----Original Message-----
> From: Harichandra Reddy S [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, December 27, 1999 9:31 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Q: JSDK 2.1 port conflict
>
> hi,
>    you run that startserver with different port number then try.
>
>  Thanks,
> hari.
>
> RVASUDEV wrote:
>
> > Hi,
> >
> > [Env: HP-UX 10.20, HP's JDK 1.1.7, Sun JSDK 2.1]
> >
> > While starting the servlet runner with the command :
> >         ./startserver
> > I get this output :
> >
> > Can't set up server admin
> > java.rmi.server.ExportException: Port already in use: 1109; nested
> exception
> > is:
> >         java.net.BindException: Address already in use
> >
> > This is happening on one of our HP 9000 boxes. On two other boxes, this
> > problem
> > does not occur. The OS/JDK/JSDK config/vers are the same on all 3 boxes.
> >
> > Doing a :
> >         netstat -a | grep 1109
> > and a :
> >         lsof -i | grep 1109
> >
> > (lsof is a public domain s/w for HP-UX that "LiSts Open Files"
> (including
> > sockets).
> >
> > indicates that a process "memlogd" is using port 1109.
> > However, the same process is also running on the other
> > 2 boxes where the servlet runner starts up ok.
> >
> > Please give any advice for this problem.
> >
> > Happy New Year to all.
> >
> > TIA
> >
> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > Vasudev Ram
> > Infosys Technologies Limited
> > Pune, India
> > Email : [EMAIL PROTECTED]
> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >
> >
> __________________________________________________________________________
> _
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to