You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by Fatima Shabbir <F....@cs.cardiff.ac.uk> on 2008/03/06 14:22:33 UTC

Error while Building file

Hello

I am a new axis2/rampart-1.3 user. I am using axis2 from .war in a 
services container, tomcat6. The rampart  module has successfully been 
engaged in axis2. However, when I try to build the samples provided by 
Rampart, the give me a build failure

m0029:~/Desktop/rampart-1.3/samples/basic fatimashabbir$ ant service.02
Buildfile: build.xml

check.dependency:

service.02:
    [mkdir] Created dir: 
/Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build/service_repositories/sample02
    [mkdir] Created dir: 
/Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build/service_repositories/sample02/services
    [mkdir] Created dir: 
/Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build/service_repositories/sample02/modules

BUILD FAILED
/Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build.xml:52: The 
following error occurred while executing this line:
/Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build.xml:168: 
Warning: Could not find file /Library/Tomcat6/webapps/axis2
/WEB-INF/modules/addressing-1.3.mar to copy.

Total time: 0 seconds


I have made some modifications in the build.xml file, I have changed 
"modules.dir" and "lib.dir" to point to where addressing and rampart.mar 
files are.

Any help would be appreciated.

-- 
Regards,
Fatima Shabbir
E-mail : F.Shabbir@cs.cardiff.ac.uk



Re: Error while Building file

Posted by Fatima Shabbir <F....@cs.cardiff.ac.uk>.
Thanks for your help. The samples are working fine now with axis2.war. 
for some reason, it was not able to pick up the AXIS2_HOME value, I just 
replaced it with the path itself /Library/...axis2.

Ruchith Fernando wrote:
> The Rampart samples are developed and tested to work with the Axis2 
> standard binary distribution where the samples will start an instance 
> of the SimpleHTTPServer.
>
> Please try using the extracted dir of axis2-1.3-bin.zip as the 
> AXIS2_HOME.
>
> Thanks,
> Ruchith
>
> Nandana Mihindukulasooriya wrote:
>> Hi Fatima,
>>         It is something to with the file path you have set. does the
>> file /Library/Tomcat6/webapps/axis2/WEB-INF/modules/addressing-1.3.mar
>> exist ? If you are not using the 1.3 release the module file may be
>> addressing-SNAPSHOT.mar. Once you set the correct path build should
>> work correctly.
>>
>> thanks,
>> /nandana
>>
>> On Thu, Mar 6, 2008 at 6:52 PM, Fatima Shabbir
>> <F....@cs.cardiff.ac.uk> wrote:
>>> Hello
>>>
>>>  I am a new axis2/rampart-1.3 user. I am using axis2 from .war in a
>>>  services container, tomcat6. The rampart  module has successfully been
>>>  engaged in axis2. However, when I try to build the samples provided by
>>>  Rampart, the give me a build failure
>>>
>>>  m0029:~/Desktop/rampart-1.3/samples/basic fatimashabbir$ ant 
>>> service.02
>>>  Buildfile: build.xml
>>>
>>>  check.dependency:
>>>
>>>  service.02:
>>>     [mkdir] Created dir:
>>>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build/service_repositories/sample02 
>>>
>>>     [mkdir] Created dir:
>>>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build/service_repositories/sample02/services 
>>>
>>>     [mkdir] Created dir:
>>>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build/service_repositories/sample02/modules 
>>>
>>>
>>>  BUILD FAILED
>>>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build.xml:52: 
>>> The
>>>  following error occurred while executing this line:
>>>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build.xml:168:
>>>  Warning: Could not find file /Library/Tomcat6/webapps/axis2
>>>  /WEB-INF/modules/addressing-1.3.mar to copy.
>>>
>>>  Total time: 0 seconds
>>>
>>>
>>>  I have made some modifications in the build.xml file, I have changed
>>>  "modules.dir" and "lib.dir" to point to where addressing and 
>>> rampart.mar
>>>  files are.
>>>
>>>  Any help would be appreciated.
>>>
>>>  --
>>>  Regards,
>>>  Fatima Shabbir
>>>  E-mail : F.Shabbir@cs.cardiff.ac.uk
>>>
>>>
>>>
>>
>>
>>
>
>


-- 
Regards,
Fatima Shabbir
Cardiff School of Computer Science,
Cardiff University,
Queen's Buildings,5 The Parade, Roath,
Cardiff CF24 3AA,
E-mail : F.Shabbir@cs.cardiff.ac.uk
Mobile + 44 797 0757234


Re: Error while Building file

Posted by Ruchith Fernando <ru...@apache.org>.
The Rampart samples are developed and tested to work with the Axis2 
standard binary distribution where the samples will start an instance of 
the SimpleHTTPServer.

Please try using the extracted dir of axis2-1.3-bin.zip as the AXIS2_HOME.

Thanks,
Ruchith

Nandana Mihindukulasooriya wrote:
> Hi Fatima,
>         It is something to with the file path you have set. does the
> file /Library/Tomcat6/webapps/axis2/WEB-INF/modules/addressing-1.3.mar
> exist ? If you are not using the 1.3 release the module file may be
> addressing-SNAPSHOT.mar. Once you set the correct path build should
> work correctly.
> 
> thanks,
> /nandana
> 
> On Thu, Mar 6, 2008 at 6:52 PM, Fatima Shabbir
> <F....@cs.cardiff.ac.uk> wrote:
>> Hello
>>
>>  I am a new axis2/rampart-1.3 user. I am using axis2 from .war in a
>>  services container, tomcat6. The rampart  module has successfully been
>>  engaged in axis2. However, when I try to build the samples provided by
>>  Rampart, the give me a build failure
>>
>>  m0029:~/Desktop/rampart-1.3/samples/basic fatimashabbir$ ant service.02
>>  Buildfile: build.xml
>>
>>  check.dependency:
>>
>>  service.02:
>>     [mkdir] Created dir:
>>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build/service_repositories/sample02
>>     [mkdir] Created dir:
>>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build/service_repositories/sample02/services
>>     [mkdir] Created dir:
>>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build/service_repositories/sample02/modules
>>
>>  BUILD FAILED
>>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build.xml:52: The
>>  following error occurred while executing this line:
>>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build.xml:168:
>>  Warning: Could not find file /Library/Tomcat6/webapps/axis2
>>  /WEB-INF/modules/addressing-1.3.mar to copy.
>>
>>  Total time: 0 seconds
>>
>>
>>  I have made some modifications in the build.xml file, I have changed
>>  "modules.dir" and "lib.dir" to point to where addressing and rampart.mar
>>  files are.
>>
>>  Any help would be appreciated.
>>
>>  --
>>  Regards,
>>  Fatima Shabbir
>>  E-mail : F.Shabbir@cs.cardiff.ac.uk
>>
>>
>>
> 
> 
> 



Re: Error while Building file

Posted by Nandana Mihindukulasooriya <na...@gmail.com>.
Hi Fatima,
        It is something to with the file path you have set. does the
file /Library/Tomcat6/webapps/axis2/WEB-INF/modules/addressing-1.3.mar
exist ? If you are not using the 1.3 release the module file may be
addressing-SNAPSHOT.mar. Once you set the correct path build should
work correctly.

thanks,
/nandana

On Thu, Mar 6, 2008 at 6:52 PM, Fatima Shabbir
<F....@cs.cardiff.ac.uk> wrote:
> Hello
>
>  I am a new axis2/rampart-1.3 user. I am using axis2 from .war in a
>  services container, tomcat6. The rampart  module has successfully been
>  engaged in axis2. However, when I try to build the samples provided by
>  Rampart, the give me a build failure
>
>  m0029:~/Desktop/rampart-1.3/samples/basic fatimashabbir$ ant service.02
>  Buildfile: build.xml
>
>  check.dependency:
>
>  service.02:
>     [mkdir] Created dir:
>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build/service_repositories/sample02
>     [mkdir] Created dir:
>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build/service_repositories/sample02/services
>     [mkdir] Created dir:
>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build/service_repositories/sample02/modules
>
>  BUILD FAILED
>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build.xml:52: The
>  following error occurred while executing this line:
>  /Users/fatimashabbir/Desktop/rampart-1.3/samples/basic/build.xml:168:
>  Warning: Could not find file /Library/Tomcat6/webapps/axis2
>  /WEB-INF/modules/addressing-1.3.mar to copy.
>
>  Total time: 0 seconds
>
>
>  I have made some modifications in the build.xml file, I have changed
>  "modules.dir" and "lib.dir" to point to where addressing and rampart.mar
>  files are.
>
>  Any help would be appreciated.
>
>  --
>  Regards,
>  Fatima Shabbir
>  E-mail : F.Shabbir@cs.cardiff.ac.uk
>
>
>



-- 
Nandana Mihindukulasooriya
Software Engineer
WSO2 inc.

http://nandana83.blogspot.com/
http://nandanasm.wordpress.com/