You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by vivek mishra <vm...@gmail.com> on 2011/08/02 13:37:28 UTC

hello

vivek mishra to user-request
show details 5:02 pm

Hello,

Got an error while running ./startofbiz.sh command in apache-ofbiz-10.04 on
linux.
The error was:

Exception in thread "main" java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
        at java.net.ServerSocket.bind(ServerSocket.java:328)
        at java.net.ServerSocket.<init>(ServerSocket.java:194)
        at org.ofbiz.base.start.Start.initListenerThread(Start.java:167)
        at org.ofbiz.base.start.Start.init(Start.java:93)
        at org.ofbiz.base.start.Start.main(Start.java:410)

RE: hello

Posted by Hardik Handa <Ha...@hcl.com>.
There is another application using the same port that Ofbiz uses i.e. 8080. U will need to shut that application down or you will need to change the ports on which Ofbiz runs.

Regards,
Hardik Handa
Hardik.handa@hcl.com

-----Original Message-----
From: vivek mishra [mailto:vmvivek208@gmail.com]
Sent: Tuesday, August 02, 2011 5:07 PM
To: user@ofbiz.apache.org
Subject: hello

vivek mishra to user-request
show details 5:02 pm

Hello,

Got an error while running ./startofbiz.sh command in apache-ofbiz-10.04 on
linux.
The error was:

Exception in thread "main" java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
        at java.net.ServerSocket.bind(ServerSocket.java:328)
        at java.net.ServerSocket.<init>(ServerSocket.java:194)
        at org.ofbiz.base.start.Start.initListenerThread(Start.java:167)
        at org.ofbiz.base.start.Start.init(Start.java:93)
        at org.ofbiz.base.start.Start.main(Start.java:410)

::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

Re: hello

Posted by BJ Freeman <bj...@free-man.net>.
look to see if tomcat is running.
if so you will need to change the addresses ofbiz uses.
go through the documentation on setup from the ofbiz main page.

vivek mishra sent the following on 8/2/2011 4:37 AM:
> vivek mishra to user-request
> show details 5:02 pm
> 
> Hello,
> 
> Got an error while running ./startofbiz.sh command in apache-ofbiz-10.04 on
> linux.
> The error was:
> 
> Exception in thread "main" java.net.BindException: Address already in use
>         at java.net.PlainSocketImpl.socketBind(Native Method)
>         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
>         at java.net.ServerSocket.bind(ServerSocket.java:328)
>         at java.net.ServerSocket.<init>(ServerSocket.java:194)
>         at org.ofbiz.base.start.Start.initListenerThread(Start.java:167)
>         at org.ofbiz.base.start.Start.init(Start.java:93)
>         at org.ofbiz.base.start.Start.main(Start.java:410)
> 

Re: hello

Posted by vivek mishra <vm...@gmail.com>.
Thanks


On Tue, Aug 2, 2011 at 5:07 PM, vivek mishra <vm...@gmail.com> wrote:

> vivek mishra to user-request
> show details 5:02 pm
>
> Hello,
>
> Got an error while running ./startofbiz.sh command in apache-ofbiz-10.04 on
> linux.
> The error was:
>
> Exception in thread "main" java.net.BindException: Address already in use
>         at java.net.PlainSocketImpl.socketBind(Native Method)
>         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
>         at java.net.ServerSocket.bind(ServerSocket.java:328)
>         at java.net.ServerSocket.<init>(ServerSocket.java:194)
>         at org.ofbiz.base.start.Start.initListenerThread(Start.java:167)
>         at org.ofbiz.base.start.Start.init(Start.java:93)
>         at org.ofbiz.base.start.Start.main(Start.java:410)

Re: hello

Posted by prasanth r <pr...@gmail.com>.
hi vivek,

In dos prompt run the command
    netstat -ao |findstr "8080"

you will get the process Id of the service which is using the port 8080.

then goto taskmanager and find the process Id and check the application and
close it.

regards
prasath rajan




On Wed, Aug 3, 2011 at 12:42 PM, Santosh Singh <sa...@gmail.com>wrote:

> *Dear  Vivek,*
> Are you Using multiple instance.
> Then All it will not work.
>
> Let me know, in that case the solution is differ.*
>
> Thanks & Regards
> *
> Sincerely Yours,
>
> Santosh Singh.
> ______________________________________________
>
> MCA / Ruby,  Java developer
>
> +91 98267 62844/ santoshs.indore@gmail.co
> <sa...@gmail.com>
> *
>
>
>
>
> On Tue, Aug 2, 2011 at 8:42 PM, prasanth r <prasanth.sunrise@gmail.com
> >wrote:
>
> > hi vivek,
> >
> > is it rectified?
> >
> > thanks
> > prasath rajan
> >
> > On Tue, Aug 2, 2011 at 5:29 PM, harish <ha...@gmail.com> wrote:
> >
> > > or may be another reason,
> > > you have started the ofbiz using startofbiz.sh again you would've done
> > the
> > > same, instead stop the ofbiz using stopofbiz.sh wait for a while and
> > start
> > > again
> > >
> > > On Tue, Aug 2, 2011 at 5:08 PM, vivek mishra [via OFBiz] <
> > > ml-node+3712047-658467471-256599@n4.nabble.com> wrote:
> > >
> > > > vivek mishra to user-request
> > > > show details 5:02 pm
> > > >
> > > > Hello,
> > > >
> > > > Got an error while running ./startofbiz.sh command in
> > apache-ofbiz-10.04
> > > on
> > > >
> > > > linux.
> > > > The error was:
> > > >
> > > > Exception in thread "main" java.net.BindException: Address already in
> > use
> > > >         at java.net.PlainSocketImpl.socketBind(Native Method)
> > > >         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
> > > >         at java.net.ServerSocket.bind(ServerSocket.java:328)
> > > >         at java.net.ServerSocket.<init>(ServerSocket.java:194)
> > > >         at
> > org.ofbiz.base.start.Start.initListenerThread(Start.java:167)
> > > >         at org.ofbiz.base.start.Start.init(Start.java:93)
> > > >         at org.ofbiz.base.start.Start.main(Start.java:410)
> > > >
> > > >
> > > > ------------------------------
> > > >  If you reply to this email, your message will be added to the
> > discussion
> > > > below:
> > > > http://ofbiz.135035.n4.nabble.com/hello-tp3712047p3712047.html
> > > >  To start a new topic under OFBiz, email
> > > > ml-node+135035-1074011943-256599@n4.nabble.com
> > > > To unsubscribe from OFBiz, click here<
> > >
> >
> http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=135035&code=aGF2ZWFsaW5rQGdtYWlsLmNvbXwxMzUwMzV8MjM5NDI5MzY=
> > > >.
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Regards,
> > > Harish Bramhanand
> > >
> > >
> > > -----
> > > Regards,
> > > Harish
> > > --
> > > View this message in context:
> > > http://ofbiz.135035.n4.nabble.com/hello-tp3712047p3712083.html
> > > Sent from the OFBiz - User mailing list archive at Nabble.com.
> >
>

Re: hello

Posted by Santosh Singh <sa...@gmail.com>.
*Dear  Vivek,*
Are you Using multiple instance.
Then All it will not work.

Let me know, in that case the solution is differ.*

Thanks & Regards
*
Sincerely Yours,

Santosh Singh.
______________________________________________

MCA / Ruby,  Java developer

+91 98267 62844/ santoshs.indore@gmail.co
<sa...@gmail.com>
*




On Tue, Aug 2, 2011 at 8:42 PM, prasanth r <pr...@gmail.com>wrote:

> hi vivek,
>
> is it rectified?
>
> thanks
> prasath rajan
>
> On Tue, Aug 2, 2011 at 5:29 PM, harish <ha...@gmail.com> wrote:
>
> > or may be another reason,
> > you have started the ofbiz using startofbiz.sh again you would've done
> the
> > same, instead stop the ofbiz using stopofbiz.sh wait for a while and
> start
> > again
> >
> > On Tue, Aug 2, 2011 at 5:08 PM, vivek mishra [via OFBiz] <
> > ml-node+3712047-658467471-256599@n4.nabble.com> wrote:
> >
> > > vivek mishra to user-request
> > > show details 5:02 pm
> > >
> > > Hello,
> > >
> > > Got an error while running ./startofbiz.sh command in
> apache-ofbiz-10.04
> > on
> > >
> > > linux.
> > > The error was:
> > >
> > > Exception in thread "main" java.net.BindException: Address already in
> use
> > >         at java.net.PlainSocketImpl.socketBind(Native Method)
> > >         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
> > >         at java.net.ServerSocket.bind(ServerSocket.java:328)
> > >         at java.net.ServerSocket.<init>(ServerSocket.java:194)
> > >         at
> org.ofbiz.base.start.Start.initListenerThread(Start.java:167)
> > >         at org.ofbiz.base.start.Start.init(Start.java:93)
> > >         at org.ofbiz.base.start.Start.main(Start.java:410)
> > >
> > >
> > > ------------------------------
> > >  If you reply to this email, your message will be added to the
> discussion
> > > below:
> > > http://ofbiz.135035.n4.nabble.com/hello-tp3712047p3712047.html
> > >  To start a new topic under OFBiz, email
> > > ml-node+135035-1074011943-256599@n4.nabble.com
> > > To unsubscribe from OFBiz, click here<
> >
> http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=135035&code=aGF2ZWFsaW5rQGdtYWlsLmNvbXwxMzUwMzV8MjM5NDI5MzY=
> > >.
> > >
> > >
> >
> >
> >
> > --
> > Regards,
> > Harish Bramhanand
> >
> >
> > -----
> > Regards,
> > Harish
> > --
> > View this message in context:
> > http://ofbiz.135035.n4.nabble.com/hello-tp3712047p3712083.html
> > Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Re: hello

Posted by prasanth r <pr...@gmail.com>.
hi vivek,

is it rectified?

thanks
prasath rajan

On Tue, Aug 2, 2011 at 5:29 PM, harish <ha...@gmail.com> wrote:

> or may be another reason,
> you have started the ofbiz using startofbiz.sh again you would've done the
> same, instead stop the ofbiz using stopofbiz.sh wait for a while and start
> again
>
> On Tue, Aug 2, 2011 at 5:08 PM, vivek mishra [via OFBiz] <
> ml-node+3712047-658467471-256599@n4.nabble.com> wrote:
>
> > vivek mishra to user-request
> > show details 5:02 pm
> >
> > Hello,
> >
> > Got an error while running ./startofbiz.sh command in apache-ofbiz-10.04
> on
> >
> > linux.
> > The error was:
> >
> > Exception in thread "main" java.net.BindException: Address already in use
> >         at java.net.PlainSocketImpl.socketBind(Native Method)
> >         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
> >         at java.net.ServerSocket.bind(ServerSocket.java:328)
> >         at java.net.ServerSocket.<init>(ServerSocket.java:194)
> >         at org.ofbiz.base.start.Start.initListenerThread(Start.java:167)
> >         at org.ofbiz.base.start.Start.init(Start.java:93)
> >         at org.ofbiz.base.start.Start.main(Start.java:410)
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> > http://ofbiz.135035.n4.nabble.com/hello-tp3712047p3712047.html
> >  To start a new topic under OFBiz, email
> > ml-node+135035-1074011943-256599@n4.nabble.com
> > To unsubscribe from OFBiz, click here<
> http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=135035&code=aGF2ZWFsaW5rQGdtYWlsLmNvbXwxMzUwMzV8MjM5NDI5MzY=
> >.
> >
> >
>
>
>
> --
> Regards,
> Harish Bramhanand
>
>
> -----
> Regards,
> Harish
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/hello-tp3712047p3712083.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: hello

Posted by harish <ha...@gmail.com>.
or may be another reason,
you have started the ofbiz using startofbiz.sh again you would've done the
same, instead stop the ofbiz using stopofbiz.sh wait for a while and start
again

On Tue, Aug 2, 2011 at 5:08 PM, vivek mishra [via OFBiz] <
ml-node+3712047-658467471-256599@n4.nabble.com> wrote:

> vivek mishra to user-request
> show details 5:02 pm
>
> Hello,
>
> Got an error while running ./startofbiz.sh command in apache-ofbiz-10.04 on
>
> linux.
> The error was:
>
> Exception in thread "main" java.net.BindException: Address already in use
>         at java.net.PlainSocketImpl.socketBind(Native Method)
>         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
>         at java.net.ServerSocket.bind(ServerSocket.java:328)
>         at java.net.ServerSocket.<init>(ServerSocket.java:194)
>         at org.ofbiz.base.start.Start.initListenerThread(Start.java:167)
>         at org.ofbiz.base.start.Start.init(Start.java:93)
>         at org.ofbiz.base.start.Start.main(Start.java:410)
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
> http://ofbiz.135035.n4.nabble.com/hello-tp3712047p3712047.html
>  To start a new topic under OFBiz, email
> ml-node+135035-1074011943-256599@n4.nabble.com
> To unsubscribe from OFBiz, click here<http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=135035&code=aGF2ZWFsaW5rQGdtYWlsLmNvbXwxMzUwMzV8MjM5NDI5MzY=>.
>
>



-- 
Regards,
Harish Bramhanand


-----
Regards,
Harish
--
View this message in context: http://ofbiz.135035.n4.nabble.com/hello-tp3712047p3712083.html
Sent from the OFBiz - User mailing list archive at Nabble.com.