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