java.net.BindException when running carrot web app

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

java.net.BindException when running carrot web app

aleocampo
I've downloaded carrot through SVN and downloaded the Eclipse Classic 3.5.2, and I've imported the carrot project. Now I want to run the carrot web app inside eclipse.

 I've followed the configuration instructions specified at '7.2.2 Running Carrot2 Web Application in Eclipse IDE'.But when running the app, the following error is displayed:

2010-04-27 15:04:29,997 INFO  /:  [CompressingFilter/1.7] CompressingFilter has initialized2010-04-27 15:04:30,186 INFO  org.carrot2.util.xslt.TemplatesPool: XSLT transformer factory: com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl2010-04-27 15:04:34,501 INFO  org.carrot2.webapp.model.WebappConfig: Loaded 10 sources and 4 algorithmsException in thread "main" java.net.BindException: Address already in useat sun.nio.ch.Net.bind(Native Method)at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:315)at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)at org.mortbay.jetty.Server.doStart(Server.java:235)at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)at org.carrot2.webapp.WebApp.startJetty(WebApp.java:40)at org.carrot2.webapp.WebApp.main(WebApp.java:59)2010-04-27 15:04:35,537 WARN  org.mortbay.log: failed SelectChannelConnector@0.0.0.0:8080

What could i have done wrong??
Reply | Threaded
Open this post in threaded view
|

Re: java.net.BindException when running carrot web app

Dawid Weiss-2
> and 4 algorithmsException in thread "main" java.net.BindException: Address
> already in use
...
> org.mortbay.log: failed SelectChannelConnector@0.0.0.0:8080

Can you see it now? Read the exception logs, they are useful!
(something is already bound to port 8080, use a different port or
release this one).

Dawid

------------------------------------------------------------------------------
_______________________________________________
Carrot2-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/carrot2-developers
Reply | Threaded
Open this post in threaded view
|

Re: java.net.BindException when running carrot web app

aleocampo
I dont know where to change the app's port, could you guide me please.

I m new at Eclipse, cannt find where this port 8080 is set.
Reply | Threaded
Open this post in threaded view
|

Re: java.net.BindException when running carrot web app

aleocampo
In reply to this post by Dawid Weiss-2
Dont worry, i found it in WebApp.java class.
Thanks.