Jetty not starting

0 views
Skip to first unread message

Rafal Korytkowski

unread,
May 23, 2012, 10:17:39 AM5/23/12
to Developers List, sriharsha p
Hey SriHarsha,

Regarding your problem with jetty hanging on startup. It stops at:
2012-05-23 14:24:19.422:INFO:/:Initializing Spring FrameworkServlet 'dispatcher'
2012-05-23 14:24:21.105:INFO::Started SelectChann...@0.0.0.0:8080

Please restart your computer and make sure you execute jetty:run only
once then wait. If the port is busy you should end up with
"java.net.BindException: Address already in use" after a few minutes.

When it hangs does your processor get hot or idle?

Can you try upgrading JDK to the latest version? Are you using Oracle
JDK or Open JDK?

-Rafał

Rafal Korytkowski

unread,
May 23, 2012, 3:45:49 PM5/23/12
to Developers List, sriharsha p
Can you try accessing the server with http://127.0.0.1:8080/ instead
of http://localhost:8080/ ?

What exact version of JVM are you using?

-Rafał

On 23 May 2012 21:23, sriharsha p <kmith...@gmail.com> wrote:
> Hi Rafal,
>
>   I restarted my computer and executed jetty:run. I didn't get any
> exception.Before i execute the jetty:run i have checked whether any process
> is running on 8080 using lsof -i tcp:8080 command.There was no process
> running initially.But immediately after running the jetty, the following
> process started running on the port 8080.
> COMMAND PID          USER   FD   TYPE     DEVICE SIZE/OFF NODE NAME
> java    856 pamusriharsha  156u  IPv6 0x05b54d10      0t0  TCP *:http-alt
> (LISTEN)
>
> When it hangs, the processor doesn't get hot or idle. I use Oracle JDK and i
> am using Java SE6.
>
> Cheers,
>
> SriHarsha.P
Reply all
Reply to author
Forward
0 new messages