Error with sudo while building and deploying AO4BPEL

32 views
Skip to first unread message

AS

unread,
Nov 24, 2012, 3:37:37 AM11/24/12
to ao4...@googlegroups.com

Hello,
every time I write sudo cp apache-ode-war-1.3.5-SNAPSHOT/ode.war /var/lib/tomcat6/webapps/ao4ode.war
this error appears to me:
sh.exe": sudo: command not found

My questions are:

  1. Why do I select apache-ode-war-1.3.5-SNAPSHOT/ode.war to be copied into tomcat6/webapps/ao4ode.war ?, I mean there is no ode.war in apache-ode-war-1.3.5-SNAPSHOT folder, there is an ao4ode.war. Also my path to tomcat6 is not var/lib/tomcat6/webapps it is C:\apache-tomcat-6.0.35\webapps. Should I do as discussed in the "ao4bpel2-gettingstarted_win32" exactly or adjust the paths according to my installed software potion?
  2. Why does sh.exe:sudo:command not fond error appear? I searched in Cygwin site and on the internet about this error but the answers are varied between modifying the path of Cygwin or using ‘su’ instead of sudo.

I’m working with:

  • Win server 2008 SP1
  • JDK 1.7
  • Ruby 1.8.7-p370
  • Maven3
  • Axis2
  • Buildr 1.4.6

I'm not really sure what to do to get around this problem, so any help would be much appreciated.

Reply all
Reply to author
Forward
0 new messages