Can you explain what this error is (and secondly why I am getting it)?
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
P.S. It may be related to Known Tomcat 6.0 and JDK 1.7.0_02 issues?, as I only started getting it after upgrading from JDK 1.7.0 to 1.7.0 update 2, with no other upgrades to other software.
I am running:
- Eclipse Indigo 3.7
- JDK 1.7.0_0u2 (JDK 7 update 2)
- Tomcat 6.0
- Windows 7
- Apache HTTP Server (although not using it yet)
When I start Tomcat I started getting this error, but not all the time. Rebooting just now fixed it. Some mornings I come to work without a reboot and it fixes it even though it failed the day before. It’s sporadic. To debug this I need to understand. Can you help explain it?
EDIT : I have two Tomcat servers, for two different projects, on the same port. The other (first) server is «stopped» but remains «synchronized», in case this matters. I’ve quickly tried changing all the ports up one (8080 to 8081) and the error reproduces. This may not be a proper test of changing ports, however.
EDIT 2: I just had this problem, and rebooting «fixed» the issue. The workstation was on all weekend and Tomcat worked on Friday and Eclipse was shutdown at the end of the day. I will keep taking notes like this as I run into it to remove guesswork.
EDIT 3: Today it gave me this error from an unrebooted system that worked yesterday, programs shut down yesterday and restarted today. I rebooted, and the error is gone. Most notably is that the error always occurs at 23% compilation. It hits 23%, waits a bit and this is when I know it won’t succeed, and then popups a window. I’ll capture what the window says next time. Then it gives the above error to the Console.
EDIT 4: I am running Windows 7 and Apache HTTP Server (although not using it yet). I’ll add these to the list above.
EDIT 5: The popup window mentioned in edit #3 is (and note my Tomcat is named Server Tomcat v6.0 Server at localhost):
Problem Occurred
'Server Tomcat v6.0 Server at localhost' has encountered a problem.
Server Tomcat v6.0 Server at localhost failed to start.
OK << Details
Server Tomcat v6.0 Server at localhost failed to start.
EDIT 6: I just got a new problem, which is Cannot connect to VM com.sun.jdi.connect.TransportTimeoutException popup window error and the same main error that this question asks about in the Console window.
EDIT 7: Just restarting Eclipse, not rebooting the whole computer, solved the error this morning.
Содержание
- JDWP No transports initialized,Address already in use #4785
- Comments
- Getting error while starting Managed Server
- Java JDB: ОШИБКА: ошибка транспорта 202: gethostbyname: неизвестный хост
- Русские Блоги
- идея Tomcat удаленной отладки
- Не удается подключиться к виртуальной машине в Eclipse
- 127.0.0.1 localhost в
- :: 1 localhost
- 15 ответов
JDWP No transports initialized,Address already in use #4785
Hi All.
I run under the network environment in processing is no problem.
But, when I run it without Internet will appear the error like this.
My friend can run in without the Internet, very strange.
(processing 3.2.3 macOS 10.12.1)
[0] «FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)» ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
Thanks in advance — any help or suggestions would be appreciated.
The text was updated successfully, but these errors were encountered:
What do you mean by no internet? That wifi is turned off? Or that no wifi connection is available?
There is no wifi connection is available.Because my projects is in outdoor.
Can’t run without internet Is this normal?
think you for answer : )
The software runs fine without internet, so I’m trying to figure out why it’s not working on your machine.
I’m asking whether you’ve also turned off wifi, in addition to not having a connection available. If you have not, try that and see what happens. (This means going to the wifi menu at the top of your screen and selecting «Turn Wi-fi Off», or re-enabling it the same way.)
yes,i turned Wi-fi Off.And I did 3 tests.
1 turn off wifi — open processing — run — not work
2 turn off wifi — open processing — turn on wifi connection to the internet — run — work
3 turn on wifi connection to the internet — open processing — run — work — stop — turn off wifi — run — work
So I guess ‘ JDWP No initialized ‘ is key in ERROR.Then i google the JDWP,I found ‘ It is a packet-based network binary protocol. ‘.Maybe my machine lacks something, so I have to do JDWP.May be usually not needed, but I do not know what is that.
When running a sketch, Processing uses a “network” connection that is re-connecting to your machine. It’s something we get from Java, and JDWP is the name of the protocol used. You don’t need anything additional.
So the problem that’s happening is that while the network isn’t available, your machine is somehow causing connections even to the same machine to fail, which is weird. Maybe it’s a macOS Sierra problem.
- Do you have the macOS firewall turned on?
- What devices are listed in your Network Preferences window?
- Have you ever modified your /etc/hosts file? (if so, it could be this problem:
- Firewall is turned off.
- There is Wi-Fi,BluetoothPAN,Thunderbolt Bridge in the Network Preferences window.
- I try to check /etc/hosts and I got this.
/etc/hosts: line 7: 255.255.255.255: command not found
/etc/hosts: line 8: ::1: command not found
/etc/hosts: line 9: 162.212.59.2: command not found
/etc/hosts: line 10: 162.212.59.2: command not found
/etc/hosts: line 11: 162.212.59.2: command not found
/etc/hosts: line 13: 127.0.0.1: command not found
/etc/hosts: line 14: 127.0.0.1: command not found
/etc/hosts: line 15: 127.0.0.1: command not found
/etc/hosts: line 16: 127.0.0.1: command not found
/etc/hosts: line 17: 127.0.0.1: command not found
/etc/hosts: line 18: 127.0.0.1: command not found
/etc/hosts: line 19: 127.0.0.1: command not found
/etc/hosts: line 20: 127.0.0.1: command not found
.
I don’t know why this 162.212.59.2 .It seems like I used to VPN,and I don’t need it now.
127.0.0.1: command not found It look not good,
Please tell me how to correctly set hosts.
Thanks.
Oh, don’t try to run /etc/hosts; just type:
And print the contents here.
I have repaired my processing.
The reason is I modified hosts before.I miss deleted 127.0.0.1 localhost
And I try to restored the original hosts file, my processing can be run without internet environment!
Thank you for your answer,
Have a good New Year !:)
Источник
Getting error while starting Managed Server
I have installed SOA Suite 11g (11.1.1.5.0). It works fine. Admin and Managed Server (soa_server1) run fine till this point.
Now I need to install AIA FP 11g (11.1.1.5.0). For that I am referring to the Oracle Installation Guide (http://docs.oracle.com/cd/E21764_01/doc.1111/e17949/toc.htm).
As per section 2.2.1 Ensuring Correct Settings for Node Manager Startup, in nodemanager.properties file I have changed StartScriptEnabled=true.
Now I am getting following error while starting soa_server1:
—-
java.io.IOException: Server failed to start up. See server output log for more details.
at weblogic.nodemanager.server.AbstractServerManager.start(AbstractServerManager.java:200)
at weblogic.nodemanager.server.ServerManager.start(ServerManager.java:23)
at weblogic.nodemanager.server.Handler.handleStart(Handler.java:604)
at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:121)
at weblogic.nodemanager.server.Handler.run(Handler.java:71)
at java.lang.Thread.run(Thread.java:662)
—-
I checked output log of soa_server1. It shows following error:
—-
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
[ERROR] aborted
JRockit aborted: Unknown error (50)
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
—-
I am not able to make much out of this error.
Can somebody please advise me on this. Any prompt help/suggestion is really appreciated.
Источник
Java JDB: ОШИБКА: ошибка транспорта 202: gethostbyname: неизвестный хост
У меня очень похожее сообщение об ошибке на этот Почта; однако решение на том же посте у меня не сработало. Редактирование файла хоста, которое я добавил в 127.0.0.1 my-host-name в файл моих хостов (для каждого решения в связанном потоке), к сожалению, не помогло мне.
После «запуска» в JDB я получаю следующее сообщение об ошибке:
run run QuadtreeBitmap VM start exception: VM initialization failed for: /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin/java -Xdebug -Xrunjdwp:transport=dt_socket,address=Patricks-iMac.local:50547,suspend=y QuadtreeBitmap
ERROR: transport error 202: gethostbyname: unknown host ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:730]
Fatal error: Target VM failed to initialize.
Я использую MacOS и пытаюсь запустить JDB напрямую через терминал (а не через Eclipse или любую другую IDE).
Какой IP отображается, если делать ping Patricks-iMac.local ? это отображение, которое нужно добавить в файл hosts .
@ LuisMuñoz, ты был абсолютно прав. Я приму ваш ответ, если вы решите написать его! Было бы хорошо прояснить, что отображение файлов hosts должно быть специфичным для сообщения об ошибке для таких новичков, как я.
А пока сетевые админы внесли некоторые изменения. Немного брандмауэра. Проблема в том, что Eclipse пытается установить соединение с JVM на «localhost» (и на каком-то случайном порте). Вы можете попробовать это решение.
Jvm пытается открыть dt_socket на хосте Patricks-iMac.local , порт 50547 , но сначала необходимо преобразовать это имя хоста в IP-адрес. Поиск DNS завершится ошибкой, поскольку это фиктивное имя хоста, назначенное частному адресу, и DNS-серверы обычно не знают о них, если их не настроил системный администратор (компании используют для этого). Для этого есть два решения:
1) Добавьте сопоставление имен хостов в файл hosts, сохраняя другие имена, настроенные для этого IP
. 127.0.0.1 localhost Patricks-iMac.local
2) Настройте dt_socket по IP-адресу, не касаясь файла hosts (рекомендуется)
Несколько слов об устранении неполадок в сети:
* unknown host означает проблемы с DNS, TCP-соединение не запускается вообще, потому что IP-адрес недоступен. * host unreachable означает проблемы с подключением TCP, IP известен, но недоступен из-за брандмауэра, маршрутизации или других проблем. ping на этот IP-адрес не сработает. * port unreachable означает проблемы с подключением TCP, IP доступен, но порт недоступен из-за брандмауэров, не работает служба и т. д. ping с IP будет работать, но подключение к этому порту все равно не удастся.
Источник
Русские Блоги
идея Tomcat удаленной отладки
В повседневной разработке иногда необходимо удаленно отлаживать приложение на удаленном сервере. Для tomcat удаленная отладка на самом деле очень проста. Вам нужно только включить службу jpda при запуске tomcat.
JPDA (Java Platform Debugger Architecture) — это аббревиатура отладочной архитектуры Java-платформы. Благодаря API, предоставляемому JPDA, разработчики могут легко и гибко создавать приложения для отладки Java. JPDA в основном состоит из трех частей: интерфейса виртуальных машин Java (JVMTI), протокола отладки проводов Java (JDWP) и интерфейса отладки Java (JDI). Инструменты отладки для графических интерфейсов, предоставляемые инструментами разработки, такими как Eclipse и IDEA, фактически реализуют JDI. Дополнительную информацию о JPDA вы можете найти в серии статей на developerWorks-Глубокая система отладки Java
Tomcat использует следующий метод для запуска jpda:
По умолчанию для удаленной отладки по умолчанию используется порт 8000, который можно настроить с помощью JPDA_ADDRESS, указать пользовательский порт, и есть два параметра, которые можно настроить
- JPDA_TRANSPORT: метод передачи данных между отладчиком и виртуальной машиной, по умолчанию используется значение dt_socket
- JPDA_SUSPEND: следует ли приостановить сразу после запуска JVM, по умолчанию n
Может быть настроен в catalina.sh:
Или настроить через JPDA_OPTS:
После запуска таким способом удаленную отладку можно выполнить через Eclise или IDEA. Для получения подробной информации о том, как выполнить удаленную отладку в IDEA, пожалуйста, обратитесь кЕще одна статья。
В Интернете есть много статей, которые предоставляют другой способ включить удаленную отладку, который заключается в указании соответствующих параметров JPDA через JAVA_OPTS:
При использовании этого метода для включения функции удаленной отладки проблем при запуске нет, и удаленная отладка может выполняться нормально, но при остановке tomcat:
Возникает следующая ошибка:
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
В результате процесс Java не может быть нормально завершен, что требует ручного уничтожения, поэтому функция удаленной отладки должна быть включена с использованием предыдущего метода. ——————— Эта статья взята из блога CSDN MikanMu. Для получения полного адреса, пожалуйста, нажмите: https://blog.csdn.net/mhmyqn/article/details/49209541 ? utm_source = copy
Затем установите его в IDEA следующим образом:
1. Откройте страницу конфигурации
2.Добавить конфигурацию удаленной отладки
3. Настройте параметры
Host — это адрес удаленного сервера. Конечно, если host это localhost, это означает локальный tomcat, а Port — это порт удаленной отладки. Обратите внимание, что он должен соответствовать ранее установленному адресу.
4. Запустите удаленного кота
5. После запуска tomcat вы можете запустить отладку в IDEA следующим образом:
Получите доступ к коду, соответствующему точке останова, и все готово.
Источник
Не удается подключиться к виртуальной машине в Eclipse
я внезапно начал получать эту странную ошибку, когда я пытаюсь отладить любой из моих проектов на Eclipse. Я не помню, чтобы что-то менялось, чтобы эта проблема началась так внезапно.
сведения об ошибке:
далее, в консоли я получаю следующую ошибку:
скажите, пожалуйста, как решить эту проблему. Я искал в интернете ответ, но не повезло.
Я пробовал следующие решения, которые работал на других людей:
- перезапущен Eclipse, перезапущен компьютер.
изменить файл hosts в etc — удалить комментарий ( # ) знак перед 2 строками, а именно,
127.0.0.1 localhost в
:: 1 localhost
кто-то пожалуйста, помогите мне, я сумасшедший.
15 ответов
Я использую Mac, и я столкнулся с подобной проблеме. Я внес изменения в файл /etc/hosts ранее, который я вернул сейчас, чтобы сделать его, как показано ниже :-
и перезапустил систему и исправил мою проблему.
после большого стресса и много времени проблема теперь решена. Хотя и очень причудливым образом, что меня не забавляет, так как я не могу понять обоснование этого. В любом случае, вот что произошло, и, возможно, кто-то может пролить свет на то, что могло быть основной причиной проблемы.
Я полностью удалил Eclipse и Java из своей системы.
затем я повторно установил последнюю версию Java (у меня была эта же версия ранее).
но на этот раз я установил его в стандартный каталог, а не в пользовательский каталог, который я использовал раньше (возможно, что-то здесь было не так в первый раз).
затем я повторно установил Eclipse (последняя версия снова).
и просто так, все снова начало работать нормально, режим отладки и все такое!
что сразу приходит мне на ум, так это то, что системные переменные среды могли как-то измениться. Но я не понимаю как это могло случиться, чтобы я ничего не трогал.
Я думаю, проблема в том, что вы установили неправильный путь к jre .попробуйте щелкнуть правой кнопкой мыши по вашему проекту и выберите run configuration и установите правильный путь jre. Не могли бы вы подробнее остановиться на этом вопросе?
Я столкнулся с такой же проблемой. Оказалось, что я изменил файл /etc/hosts, где был закомментирован ip-адрес 127.0.1.1. После этого он снова начал работать.
отключить Брандмауэр windows, и все в порядке. ПРОВЕРЕННЫЙ.
Simply restart your PC, Это звучит глупо, но работает в большинстве случаев., У меня нет avast на моем компьютере, но все же столкнулся с этой проблемой.
просто перезапустил мой компьютер и отладка работала, я не уверен, что может быть проблемой точно.
иногда, когда вы пытаетесь отладить приложение, вы получите ошибку, как
Я предлагаю Вам отключить AVAST! Брандмауэр и перезагрузите систему, а затем попробуйте отладить приложение. Все будет хорошо.
для меня у меня была эта проблема при запуске jetty-server и McAfee Antivirus Protection программное обеспечение было установлено в моем Windows 7 64 бит ПК и, как уже упоминалось, я набрал Брандмауэр option и перезапустил Eclipse workspace и снова запустил сервер. Он работал.
Listening for transport dt_socket at address: 9000
Я сомневаюсь, что есть способ включить порт без отключения брандмауэра или, возможно, белый список определенного порта, который должен быть разрешен моим антивирусное программное обеспечение, так как это часто не изменится. Опубликую обновление, если найду.
У меня была аналогичная проблема, при работе с записками. Fireval был в игровом режиме. Затем я выключил Fireval и альбом начал работать.
те же симптомы появились довольно внезапно после того, как моя установка работала nocely в течение длительного времени. Причина появилась одна недопустимая строка в моем файле/etc / hosts (я добавил ip виртуального NIC там с переводом на «localhost»). Удалив эту линию починили.
для кого-то с фоном C немного удивительно, что Eclipse читает /etc/hosts при отладке локального приложения Java, но это, похоже, так.
Если вы используете ОС Windows, возможно, эта команда может помочь вам:
Я получил это: Не удалось запустить VM scrapbook com.солнце.фирмой JDI.соединять.TimoutException
Я закрыл Eclipse, отключил Avast! брандмауэр (как рекомендуется, но только в течение 10 минут), перезапустил Eclipse, и в этот момент я получил сообщение от брандмауэра Windows о блокировке некоторых функций Eclipse. Я проверил флажок» общедоступные сети «(я нахожусь в сети, предоставляемой работодателем через wifi), перезапустил Eclipse и «вуаля», он работает снова.
в моем случае речь шла о запуске Eclipse в качестве администратора. Как только я это сделал, проблема была решена.
в моем случае на Mac, «debug attach» блок launch.json был установлен в порт 0.
Я просто изменил его на что-то другое (8899), и это сработало.
Источник
Problem
The WebSphere Application Server Liberty Profile server, whether local or remote, fails to start in debug mode when the Liberty runtime environment uses the Oracle JRE.
Diagnosing The Problem
The following error is seen when starting the server in debug mode using the Oracle Java Runtime Environment (JRE).
starting server defaultServer.
Server defaultServer start failed. Check server log for details.
The error can be seen in the Console view from Eclipse or in the command line window.
You will also see the following error in the server’s console log file. The console log file is located in the server output directory, for example, C:LibertyRuntimewlpusrserversdefaultServerlogsconsole.log. where defaultServer is the name of the server.
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:750]
Steps to verify the JRE used by the server:
1. Check the contents of the messages.log file located inside the log folder of the server directory, for example,
C:LibertyRuntimewlpusrserversdefaultServerlogsmessages.log . This file will have entries similar to the following ones:
********************************************************************************
product = WebSphere Application Server 2014.11.0.0 (wlp-<version>)
wlp.install.dir = <runtime install dir>
java.home = <Path to JRE used by runtime environment>
java.version = <Java version>
java.runtime = Java(TM) SE Runtime Environment (<Java version>)
os = <OS details)
process = <process details>
********************************************************************************
The java.home variable will tell you the JRE used by the server.
Resolving The Problem
The workaround for this issue is to configure the server to use the IBM JRE instead of the Oracle JRE.
Download the IBM JRE from the following link:
http://www.ibm.com/developerworks/java/jdk
Steps to modify the JRE used by the server:
1. Go to the runtime installation directory and navigate to the server folder, for example,
- C:LibertyRuntimewlpusrserversdefaultServer.
2. Create a file named server.env if it does not exist.
3. Open the file created in step 2 and add the following line:
- JAVA_HOME=<IBM JRE directory>
where the IBM JRE directory is the path to the JRE in the JDK directory that you previously downloaded. For example, C:IBMJREsdkjre
4. Save the file and close it.
5. Restart the server using Eclipse or the command line.
- Command to start the server:
Windows: server.bat run defaultServer
Other platforms: server run defaultServer
6. Check the content of the messages.log file. Verify that the java.home variable shows the location set in the server.env file.
After the server.env file is configured to use the IBM JRE, restarting the server in debug mode should be successful.
[{«Product»:{«code»:»SSHR6W»,»label»:»WebSphere Application Server Developer Tools for Eclipse»},»Business Unit»:{«code»:»BU053″,»label»:»Cloud & Data Platform»},»Component»:»Integrations: IBM»,»Platform»:[{«code»:»PF016″,»label»:»Linux»},{«code»:»PF033″,»label»:»Windows»},{«code»:»PF014″,»label»:»iOS»}],»Version»:»8.5.5.4″,»Edition»:»»,»Line of Business»:{«code»:»LOB45″,»label»:»Automation»}}]
Hi All.
I run under the network environment in processing is no problem.
But, when I run it without Internet will appear the error like this.
My friend can run in without the Internet, very strange.
(processing 3.2.3 macOS 10.12.1)
[0] "FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)" ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
Thanks in advance — any help or suggestions would be appreciated.
What do you mean by no internet? That wifi is turned off? Or that no wifi connection is available?
There is no wifi connection is available.Because my projects is in outdoor.
Can’t run without internet Is this normal?
think you for answer : )
The software runs fine without internet, so I’m trying to figure out why it’s not working on your machine.
I’m asking whether you’ve also turned off wifi, in addition to not having a connection available. If you have not, try that and see what happens. (This means going to the wifi menu at the top of your screen and selecting «Turn Wi-fi Off», or re-enabling it the same way.)
yes,i turned Wi-fi Off.And I did 3 tests.
1 turn off wifi — open processing — run — not work
2 turn off wifi — open processing — turn on wifi connection to the internet — run — work
3 turn on wifi connection to the internet — open processing — run — work — stop — turn off wifi — run — work
So I guess ‘ JDWP No initialized ‘ is key in ERROR.Then i google the JDWP,I found ‘ It is a packet-based network binary protocol. ‘.Maybe my machine lacks something, so I have to do JDWP.May be usually not needed, but I do not know what is that.
When running a sketch, Processing uses a “network” connection that is re-connecting to your machine. It’s something we get from Java, and JDWP is the name of the protocol used. You don’t need anything additional.
So the problem that’s happening is that while the network isn’t available, your machine is somehow causing connections even to the same machine to fail, which is weird. Maybe it’s a macOS Sierra problem.
Other possibilities…
- Do you have the macOS firewall turned on?
- What devices are listed in your Network Preferences window?
- Have you ever modified your
/etc/hostsfile? (if so, it could be this problem: Detect changes to ‘hosts’ file in case users modify/remove localhost #4738)
- Firewall is turned off.
- There is Wi-Fi,BluetoothPAN,Thunderbolt Bridge in the Network Preferences window.
- I try to check
/etc/hostsand I got this.
/etc/hosts: line 7: 255.255.255.255: command not found
/etc/hosts: line 8: ::1: command not found
/etc/hosts: line 9: 162.212.59.2: command not found
/etc/hosts: line 10: 162.212.59.2: command not found
/etc/hosts: line 11: 162.212.59.2: command not found
/etc/hosts: line 13: 127.0.0.1: command not found
/etc/hosts: line 14: 127.0.0.1: command not found
/etc/hosts: line 15: 127.0.0.1: command not found
/etc/hosts: line 16: 127.0.0.1: command not found
/etc/hosts: line 17: 127.0.0.1: command not found
/etc/hosts: line 18: 127.0.0.1: command not found
/etc/hosts: line 19: 127.0.0.1: command not found
/etc/hosts: line 20: 127.0.0.1: command not found
…
I don’t know why this 162.212.59.2.It seems like I used to VPN,and I don’t need it now.
127.0.0.1: command not found It look not good,
Please tell me how to correctly set hosts.
Thanks.
Oh, don’t try to run /etc/hosts; just type:
cat /etc/hosts
And print the contents here.
I have repaired my processing.
The reason is I modified hosts before.I miss deleted 127.0.0.1 localhost
And I try to restored the original hosts file, my processing can be run without internet environment!
Thank you for your answer,
Have a good New Year !:)
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
github-actions
bot
locked as resolved and limited conversation to collaborators
Jun 15, 2021
Я пытаюсь отлаживать тесты Maven в Eclipse. Когда я запускаю тесты с опцией maven maven.surefire.debug, я получаю эту ошибку:
ERROR: transport error 202: bind failed: Address already in use
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
/bin/sh: line 1: 27500 Abort trap
Это то же самое, когда я пытался запустить debug в моей оболочке.
Я попытался добавить параметр maven forkMode = never, и я получаю еще одну ошибку с артефактом сварного шва, который у меня отсутствует без опции maven.surefire.debug:
Error loading Weld bootstrap, check that Weld is on the classpath
Однако Weld находится в моем пути к классам.
Любые идеи?
08 дек. 2011, в 10:05
Поделиться
Источник
5 ответов
Чтобы убить процесс, прослушивающий порт:
Эта команда должна отображать процессы, прослушивающие все порты:
netstat -ano
Опция -o отобразит идентификатор процесса.
Если вы используете систему * nix, вы можете немного уточнить:
netstat -ano | grep <badport>
Когда у вас есть идентификатор процесса, вы можете завершить его с помощью:
Окна:
- Откройте диспетчер задач, добавьте столбец PID с помощью View > Select Columns > PID
- Найдите процесс и щелкните его правой кнопкой мыши, чтобы его убить.
Другие:
kill <PID>
lrussell
24 фев. 2012, в 14:13
Поделиться
Вопрос давно задан, но в последнее время у меня была такая же проблема.
-
Откройте диспетчер задач
-
Убить весь процесс «java.exe»
-
Перезапустите mvn debug
Надеюсь, что это поможет
moa
10 дек. 2015, в 15:55
Поделиться
Перейдите на вкладку Debug configuration → Remote Java Application → Connect, проверьте Allow termination of remote JVM.
Затем, когда вы собираетесь перезапустить сервер /maven, перейдите к Debug perspective и нажмите кнопку read / stop…..
Jasonw
08 сен. 2012, в 23:25
Поделиться
Решение для меня заключалось в удалении точек останова проекта! Если у вас много ветвей и недавно изменилось, иногда затмение потеряло некоторые точки останова.
Marcos Steckert Pessôa
26 май 2017, в 21:30
Поделиться
Чтобы добавить… У меня была аналогичная проблема на прошлой неделе, когда отладка с использованием eclipse была сделана невозможной.
FATAL ERROR in native method: JDWP No transports initialized,
jvmtiError=AGENT_ERROR_TRANSPORT_LOAD(196)
ERROR: transport library not found: dt_socket
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_LOAD(509)
JDWP exit error AGENT_ERROR_TRANSPORT_LOAD(196): No transports initialized [../../../src/share/back/debugInit.c:690]
К сожалению, не решение, которое я могу найти в Интернете, было полезно.
Проблема оказалась в том, что каким-то образом брандмауэр удалил все DLL файлы в моем JRE-bin… (так что dt_socket.dll полностью отсутствует).
Помогла переустановка всей JRE.
kks
23 дек. 2013, в 08:29
Поделиться
Ещё вопросы
- 1всего четыре элемента получить ошибку памяти в Python
- 0Возникла исключительная ситуация при выполнении команды ALTER TABLE
- 0Использование значения переменной одного контроллера в другой контроллер в угловых js
- 1Ошибка на панели графика времени: атрибут <text> x: ожидаемая длина, «NaN»
- 1ValueError: невозможно преобразовать число с плавающей запятой в целое число после использования dropna ()
- 1Совместное использование Android NDK Lib
- 0Как заставить AngularJs http.put () и Spring контроллер работать вместе (больше нет ошибок status 400)?
- 0Не могу установить Composer на Mac (Yosemite)
- 0Фонд раскрывает не распознает модальную ссылку
- 0Как добавить границы для всплывающих подсказок со стрелками?
- 0Отображение данных JSON в <Select> с помощью AngularJS (ошибка)
- 1получить исключение при вставке событий в календарь Android
- 0ckeditor и встроенный редактор находятся на одной странице
- 0анализ сгенерированных javascript веб-страниц
- 1XMLSerializer меняет имя элементов
- 0Получить все значения из одного столбца в MySQL PDO
- 1Как мне получить доступ к членам класса в хуках beforeExecute и afterExecute в ThreadPoolExecutor?
- 0обработка 2 различных опций выбора, которые были только что добавлены с помощью jquery
- 0Дно границы отсутствует
- 0Выберите из поля, содержащего пробелы, используя MySQL
- 0Анализ ответа ASMX с помощью PHP и SimpleXML
- 1Печать непустой части круглого блеска
- 0Загрузка файлов не работает с помощью jQuery File Upload
- 1Показывать программную клавиатуру, когда действие начинается, когда нет текстового поля
- 1Цепочка обещаний не в состоянии
- 1Ошибка неверного формата JSON при чтении в .txt файлах
- 1Uint8ClampedArray image to jpg / png
- 1Netbeans 8 + maven + OpenJPA развернут на TomEE — ошибка улучшения
- 0как сохранить переход от img к anchor и div background от переформатирования вывода
- 1ValueError: объект слишком глубокий для нужного массива в optimize.curve_fit
- 0Функция отсутствует, но файл, в том числе загружен? (Uncaught ReferenceError: flashembed не определен)
- 1Доступ к свойствам свойства при использовании аксессоров get set
- 0Как я могу получить «данные» из jQuery Ajax на стороне сервера?
- 0Как получить массив CURL JSON только в ZF2
- 1Панды для Loop Optimization
- 0Проблемы с использованием cURL из PHP для очистки исходного кода
- 0AngularJS: $ modal, передавая переменную $ scope дочернему контроллеру
- 0Как использовать пользовательские теги HTML, чтобы сообщить сценариям, где поместить HTML?
- 1Превращение цвета bmp в оттенки серого:
- 1скачать файл ics (outlook Calendar) из моего приложения?
- 1Файлы epub не загружаются [ANDROID]
- 0AngularJS, отфильтровал одно предложение по нескольким фильтрам
- 0Форма Jquery Вставить режим в режим «Только чтение» В режим редактирования
- 1загрузка изображений из приложения Android на сервер с помощью веб-сервиса c #
- 1Несоответствие границ: тип Foo не является допустимой заменой
- 1Ищите Wildcard (‘<‘, ‘>’), посчитайте его и получите позицию в java
- 1Используя Критерии гибернации, установите поле Проекция в качестве столбца внешнего ключа в спящем режиме.
- 0используя функции для ввода 1 int и 1 строкового массива и зацикливания
- 1панель навигации Android
- 0Собираюсь изучать C, должен ли я просто использовать свой компилятор C ++ и IDE?











