This discussion is archived
2 Replies Latest reply: Feb 8, 2013 12:24 PM by 664336 RSS

Problem with Ant in Weblogic Server 12c

664336 Newbie
Currently Being Moderated
In installed weblogic on our linux server and it's running.

I am working through the Getting Started with JAX-WS Web Services in the 12C Documentation Library

The MW_HOME env variable is set to MW_HOME=/home/rb9594/weblogic

I went to the sdrs domain bin and sourced setDomainEnv.sh, with . ./setDomainEnv.sh

I created the directory /home/rb9594/myExamples/wsdlc that includes the build.xml and wsdl_files/TemperatureService.wsdl

Now when i go to run the ant generate-from-wsdl i get -ksh: ant: not found [No such file or directory] error.

I checked several env variables
ANT_HOME=/home/rb9594/weblogic/modules/org.apache.ant_1.7.1
JAVA_HOME=/home/rb9594/opt/sun/jdk1.6.0_33
PATH=/home/rb9594/weblogic/wlserver/server/bin:/home/rb9594/weblogic/modules/org.apache.ant_1.7.1/bin:/home/rb9594/opt/sun/jdk1.6.0_33/jre/bin:/home/rb9594/opt/sun/jdk1.6.0_33/bin:/usr/local/bin:/bin:/usr/bin

Can anyone tell me what I am missing?

thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points