Article:
 |
|
Introduction to Aspect-Oriented Programming
|
| Subject: |
|
tried to run this example on AW 0.8.1 but nothing append |
| Date: |
|
2004-07-05 13:23:08 |
| From: |
|
paskos
|
|
|
|
Hi,
I followed this example line by line but nothing appeared. No text file in my web app. and no error nor exceptions.
I even downloaded the version 0.8.1 from AW.
thanks
paskos
|
Showing messages 1 through 2 of 2.
-
tried to run this example on AW 0.8.1 but nothing append
2004-07-05 13:34:00
paskos
[View]
-
tried to run this example on AW 0.8.1 but nothing append
2004-07-06 01:00:11
grahamoregan
[View]
Configuration :
Tomcat 4.1.30
AW : 0.8.1
- downloaded demo.war in c:\temp directory
- unzipped there
- ran the following command "aspectwerkz -offline aspectwerkz.xml WEB-INF/classes -cp C:\java\jakarta-tomcat-4.1.30"\common\lib\servlet.jar
- modified the build.properties file and changed the following values corresponding to my settings
ASPECTWERKZ_HOME=c:/java/aspectwerkz-0.8.1
TOMCAT_HOME=c:/java/jakarta-tomcat-4.1.30
- ran ant build and ant war
- copied demo.war into %TOMCAT_HOME%\webapps
- started the server
- went to the web page
- entered paskos and paskos@paskos.com then submitted the page
- clicked on the saved file link
- got 404 error code with "The requested resource (/demo/contacts.txt) is not available." sentence.