FATAL ERROR in native method: JDWP No transports initialized

4,225 views
Skip to first unread message

Neethu

unread,
Apr 23, 2009, 6:27:33 AM4/23/09
to AribaWeb (aribaweb.org)
Hi

Im trying to create an application using option 4. It creates the
application but it does not launch it. The following error occurs.

-tomcat-debug:
[echo] Launching tomcat in debug mode (port 8000) with
CATALINA_BASE=D:\Projects\App3\build\tomcat-bases\App3, ([CTRL-C] to
stop)...
[echo] ARIBA_AWRELOAD=true, jvmarg: -javaagent:D:\AribaWeb
\aribaweb-5.0RC2\lib\ariba.awreload-jmti.jar, ANT_HOME=D:\AribaWeb
\aribaweb-5.0RC2\bin\..\tools\ant
[echo] Setting ARIBA_AW_SEARCH_PATH=D:/Projects/App3;D:/AribaWeb/
aribaweb-5.0RC2/src/aribaweb;D:/AribaWeb/aribaweb-5.0RC2/src/awreload/
adaptor-jdk15;D:/AribaWeb/aribaweb-5.0RC2/src
/awreload;D:/AribaWeb/aribaweb-5.0RC2/src;D:/AribaWeb/aribaweb-5.0RC2/
src/expr;D:/AribaWeb/aribaweb-5.0RC2/src/groovyloader;D:/AribaWeb/
aribaweb-5.0RC2/src/ideplugin;D:/AribaWeb/aribawe
b-5.0RC2/src/metaui-jpa;D:/AribaWeb/aribaweb-5.0RC2/src/metaui;D:/
AribaWeb/aribaweb-5.0RC2/src/site;D:/AribaWeb/aribaweb-5.0RC2/src/
util;D:/AribaWeb/aribaweb-5.0RC2/src/widgets;D:/Ariba
Web/aribaweb-5.0RC2/examples/AtIssue;D:/AribaWeb/aribaweb-5.0RC2/
examples/Demo;D:/AribaWeb/aribaweb-5.0RC2/examples/GuestBook;D:/
AribaWeb/aribaweb-5.0RC2/examples/MasterDetail;D:/AribaW
eb/aribaweb-5.0RC2/examples/appcore;D:/AribaWeb/aribaweb-5.0RC2/src/
widgets/resource/webserver/branding/ariba
[echo] Connect via http://localhost:8080/App3/AribaWeb
[java] FATAL ERROR in native method: JDWP No transports
initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
[java] ERROR: transport error 202: bind failed: Address already
in use
[java] Java Result: 1
[java] ERROR: JDWP Transport dt_socket failed to initialize,
TRANSPORT_INIT(510)
[java] JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No
transports initialized [../../../src/share/back/debugInit.c:690]
-tomcat-no-debug:
tomcat:

This happens consistently with options 2, 3 and 4. This happens with
Idea IntelliJ 8.1 and also without IDE integration. However, an
application created using option 1 can be successfully launched. Can
you please help to resolve the error?

Thanks and Regards
Neethu

farouk alhassan

unread,
Apr 23, 2009, 8:28:57 AM4/23/09
to arib...@googlegroups.com
Hi Neethu

I also had this issue this morning whiles trying to do a build from SVN. I attributed it to improper builds so did not take it seriously. If you have CATALINA_HOME set in your environment check to make sure it has the right port. I realised my application was deploying on port 9180 because my CATALINA_HOME was pointing to a tomcat where I had set the port to 8180(I  dont understand the logic there but that is low priority now)
I removed CATALINA_HOME from the environment which I use for AW development.
Also make sure you have a tomcat installation in your tools folder with folder name tomcat.

check this quick tip i wrote on how to setup environments quickly
http://groups.google.com/group/aribaweb/web/building

--- On Thu, 4/23/09, Neethu <neethu.ch...@gmail.com> wrote:

Neethu

unread,
Apr 23, 2009, 11:59:16 AM4/23/09
to AribaWeb (aribaweb.org)
Hi,

Thank you farouk for your reply.
I have not set CATALINA_HOME in the environment variables. Tomact is
also in the correct folder.

Please see below what i am seeing on the command prompt.
I have a doubt, why AW_HOME is getting set till the bin folder, it
should be only till D:\AribaWeb\aribaweb-5.0RC2\
I suppose because it is being set till the bin folder the Ant location
it is setting below that becomes wrong.
I would be thankful if anyone can help on this.

Thanks and Regards

Neethu


D:\Projects\AppDatabase>aw ant launch
Setting AW_HOME. To support running the AW command more easily, to
this:
set AW_HOME=D:\AribaWeb\aribaweb-5.0RC2\bin\..
set PATH=%AW_HOME%\bin;%PATH%

Setting ANT_HOME to: D:\AribaWeb\aribaweb-5.0RC2\bin\..\tools\ant
Running other command "ant with args " launch"
Buildfile: build.xml

common.init:

init-groovy:

widgets-app.init:

compass-init:

init:

init-js-resources:

jar-check:

jar:

war-resources:
[groovy] Skipping D:\AribaWeb\aribaweb-5.0RC2\lib
\ariba.aribaweb.jar -- uptodate
[groovy] Skipping D:\AribaWeb\aribaweb-5.0RC2\lib\ariba.metaui.jar
-- uptodate
[groovy] Skipping D:\AribaWeb\aribaweb-5.0RC2\lib\ariba.widgets.jar
-- uptodate
[groovy] Skipping D:\Projects\AppDatabase\build\lib
\app.AppDatabase.jar -- uptodate

existing-web-xml:

check-web-xml:

webapp:

has-tomcat-env:

has-tomcat:

ensure-tomcat-conf:

tomcat-browse:

common.init:

init-groovy:

widgets-app.init:

compass-init:

init:

check-awreload:

check-debug:

has-tomcat-env:

has-tomcat:

ensure-tomcat-conf:

-tomcat-debug:
[echo] Launching tomcat in debug mode (port 8000) with
CATALINA_BASE=D:\Projects\AppDatabase\build\tomcat-bases\AppDatabase,
([CTRL-C] to stop)...
[echo] ARIBA_AWRELOAD=true, jvmarg: -javaagent:D:\AribaWeb
\aribaweb-5.0RC2\lib\ariba.awreload-jmti.jar, ANT_HOME=D:\AribaWeb
\aribaweb-5.0RC2\bin\..\tools\ant
[echo] Setting ARIBA_AW_SEARCH_PATH=D:/Projects/AppDatabase;D:/
AribaWeb/aribaweb-5.0RC2/src/aribaweb;D:/AribaWeb/aribaweb-5.0RC2/src/
awreload/adaptor-jdk15;D:/AribaWeb/aribaweb-5.0
RC2/src/awreload;D:/AribaWeb/aribaweb-5.0RC2/src;D:/AribaWeb/
aribaweb-5.0RC2/src/expr;D:/AribaWeb/aribaweb-5.0RC2/src/
groovyloader;D:/AribaWeb/aribaweb-5.0RC2/src/ideplugin;D:/AribaWeb/
aribaweb-5.0RC2/src/metaui-jpa;D:/AribaWeb/aribaweb-5.0RC2/src/
metaui;D:/AribaWeb/aribaweb-5.0RC2/src/site;D:/AribaWeb/
aribaweb-5.0RC2/src/util;D:/AribaWeb/aribaweb-5.0RC2/src/widgets;D
:/AribaWeb/aribaweb-5.0RC2/examples/AtIssue;D:/AribaWeb/
aribaweb-5.0RC2/examples/Demo;D:/AribaWeb/aribaweb-5.0RC2/examples/
GuestBook;D:/AribaWeb/aribaweb-5.0RC2/examples/MasterDetail;D:
/AribaWeb/aribaweb-5.0RC2/examples/appcore;D:/AribaWeb/aribaweb-5.0RC2/
src/widgets/resource/webserver/branding/ariba
[echo] Connect via http://localhost:8080/AppDatabase/AribaWeb
[java] FATAL ERROR in native method: JDWP No transports
initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
[java] ERROR: transport error 202: bind failed: Address already
in use
[java] ERROR: JDWP Transport dt_socket failed to initialize,
TRANSPORT_INIT(510)
[java] JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No
transports initialized [../../../src/share/back/debugInit.c:690]
[java] Java Result: 1

-tomcat-no-debug:

tomcat:

open-url:
[echo] Opening http://localhost:8080/AppDatabase/AribaWeb in
browser

widgets-app.launch:

launch:

BUILD SUCCESSFUL
Total time: 51 seconds
D:\Projects\AppDatabase>

On Apr 23, 5:28 pm, farouk alhassan <osbert252...@yahoo.com> wrote:
> Hi Neethu
>
> I also had this issue this morning whiles trying to do a build from SVN. I attributed it to improper builds so did not take it seriously. If you have CATALINA_HOME set in your environment check to make sure it has the right port. I realised my application was deploying on port 9180 because my CATALINA_HOME was pointing to a tomcat where I had set the port to 8180(I  dont understand the logic there but that is low priority now)
> I removed CATALINA_HOME from the environment which I use for AW development.
> Also make sure you have a tomcat installation in your tools folder with folder name tomcat.
>
> check this quick tip i wrote on how to setup environments quicklyhttp://groups.google.com/group/aribaweb/web/building
>
> --- On Thu, 4/23/09, Neethu <neethu.chandrab...@gmail.com> wrote:
>      [echo] Connect viahttp://localhost:8080/App3/AribaWeb

farouk alhassan

unread,
Apr 23, 2009, 12:13:09 PM4/23/09
to arib...@googlegroups.com

hi Neethu,

\..
Brings it back to the AW_ROOT folder .
To get this going, run
aw ant clean
and aw ant launch

and see if it will launch it in the browser


--- On Thu, 4/23/09, Neethu <neethu.ch...@gmail.com> wrote:

Mohan

unread,
Apr 23, 2009, 1:42:17 PM4/23/09
to arib...@googlegroups.com
Hi Neethu,

It's like that you have a Tomcat process running. You can check for that in task manager or run the command "ps | grep java". If you use the ps command, you can identify the correct process by looking at the debug port. You'll have to kill this process to stop that error.

Hope that helps.

- mohan

Neethu

unread,
Apr 23, 2009, 1:24:58 PM4/23/09
to AribaWeb (aribaweb.org)
Hi Farouk,

I was getting the browser even after the error a few time. But it
opens alwaysHTTP 400- Bad Request, page not found.
I tired the aw ant clean command but still the same result.
One observation here. When is create a project choosing option 1 then
also i get this error but the browser launches and the application
comes up and it works.
As soon i try some other option 2 or 3 or 4 the browser always says
page not found.

Thanks and Regards

Neethu

On Apr 23, 9:13 pm, farouk alhassan <osbert252...@yahoo.com> wrote:
> hi Neethu,
>
> \..
> Brings it back to the AW_ROOT folder .
> To get this going, run
> aw ant clean
> and aw ant launch
>
> and see if it will launch it in the browser
>
>      [echo] Connect viahttp://localhost:8080/AppDatabase/AribaWeb
> > Neethu- Hide quoted text -
>
> - Show quoted text -

Neethu

unread,
Apr 23, 2009, 2:16:39 PM4/23/09
to AribaWeb (aribaweb.org)
Hi Mohan,

Thank you for your reply. I killed all the unnecessary process in task
manager. Application is coming up now.
As i am new to this will face many other issues and will keep posting.
Thank you Farouk for the help.

Thanks and Regards

Neethu

On Apr 23, 10:42 pm, Mohan <manmohan.re...@gmail.com> wrote:
> Hi Neethu,
>
> It's like that you have a Tomcat process running. You can check for that in
> task manager or run the command "ps | grep java". If you use the ps command,
> you can identify the correct process by looking at the debug port. You'll
> have to kill this process to stop that error.
>
> Hope that helps.
>
> - mohan
>
> On Thu, Apr 23, 2009 at 9:13 AM, farouk alhassan <osbert252...@yahoo.com>wrote:
>
>
>
>
>
> > hi Neethu,
>
> > \..
> > Brings it back to the AW_ROOT folder .
> > To get this going, run
> > aw ant clean
> > and aw ant launch
>
> > and see if it will launch it in the browser
>
> >      [echo] Connect viahttp://localhost:8080/AppDatabase/AribaWeb
> >      [java] FATAL ERROR in native method: JDWP No transports
> > initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
> >      [java] ERROR: transport error 202: bind failed: Address already
> > in use
> >      [java] ERROR: JDWP Transport dt_socket failed to initialize,
> > TRANSPORT_INIT(510)
> >      [java] JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No
> > transports initialized [../../../src/share/back/debugInit.c:690]
> >      [java] Java Result: 1
>
> > -tomcat-no-debug:
>
> > tomcat:
>
> > open-url:
> >      [echo] Openinghttp://localhost:8080/AppDatabase/AribaWebin
> > browser
>
> > widgets-app.launch:
>
> > launch:
>
> > BUILD SUCCESSFUL
> > Total time: 51 seconds
> > D:\Projects\AppDatabase>
>
> > On Apr 23, 5:28 pm, farouk alhassan <osbert252...@yahoo.com<http://mc/compose?to=osbert252...@yahoo.com>>
> > wrote:
> > > Hi Neethu
>
> > > I also had this issue this morning whiles trying to do a build from SVN.
> > I attributed it to improper builds so did not take it seriously. If you have
> > CATALINA_HOME set in your environment check to make sure it has the right
> > port. I realised my application was deploying on port 9180 because my
> > CATALINA_HOME was pointing to a tomcat where I had set the port to 8180(I
> > dont understand the logic there but that is low priority now)
> > > I removed CATALINA_HOME from the environment which I use for AW
> > development.
> > > Also make sure you have a tomcat installation in your tools folder with
> > folder name tomcat.
>
> > > check this quick tip i wrote on how to setup environments quickly
> >http://groups.google.com/group/aribaweb/web/building
>
> > > --- On Thu, 4/23/09, Neethu <neethu.chandrab...@gmail.com<http://mc/compose?to=neethu.chandrab...@gmail.com>>
> > wrote:
>
> > > From: Neethu <neethu.chandrab...@gmail.com<http://mc/compose?to=neethu.chandrab...@gmail.com>
>
> > > Subject: FATAL ERROR in native method: JDWP No transports initialized
> > > To: "AribaWeb (aribaweb.org)" <arib...@googlegroups.com<http://mc/compose?to=arib...@googlegroups.com>
Reply all
Reply to author
Forward
0 new messages