Page 1 of 1

Running jettydemo

Posted: Thu Nov 01, 2012 3:08 pm
by leju
Hi,

When trying to run jetty demo I get the following error:

jetty-demo:
[artifact:mvn] ERROR: transport error 202: bind failed: Permission deniedFATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
[artifact:mvn] ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
[artifact:mvn] JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:741]
[artifact:mvn] Java Result: 1


How can I solve this issue?

Thanks in advance

Re: Running jettydemo

Posted: Thu Nov 01, 2012 4:11 pm
by phillipuniverse
You probably already have the site running and are trying to start up a new instance. See if you have any other java processes running and ensure those are killed before trying to start up.

Re: Running jettydemo

Posted: Sat Nov 03, 2012 7:30 am
by leju
phillipuniverse wrote:You probably already have the site running and are trying to start up a new instance. See if you have any other java processes running and ensure those are killed before trying to start up.


I've already checked and even I have reboot my machine. The issue still appears.

Re: Running jettydemo

Posted: Mon Nov 05, 2012 10:42 am
by aazzolini
What OS / what user privileges are you running this on?

That exception is indicating a permission denied message, which leads me to believe you're on a somewhat locked-down machine.

Re: Running jettydemo

Posted: Sun Nov 18, 2012 3:30 am
by sikandul
In my case i got below error because port 8000 is in use already


I have replaced port 8000 with 8001 as shown below. (replaced all address=8000 with address=8001)

Ex:

<jvmarg value="-Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n" />


This resolved my error and able to bring up server with out any issues

If you still have issue...

use netstat -ano and see if any requried port is alredy in use and kill process using it

Thanks,
Siva