Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
+1
person also asked this
people also asked this
Replies
7 replies
Subscribers
7 subscribers
Views
2364 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Administration
Hi, We are running the below script to get rid of aging .kdb files. H
liyap
over 11 years ago
Hi,
We are running the below script to get rid of aging .kdb files. Howeever we are getting error output as mentioned below. Can anyone pls let me know what is going wrong?
C:\\appian\\server\\_scripts>cleanup data -delete -keep 10
Buildfile: aemovefiles.xml
BUILD FAILED
C:\\appian\\server\\_scripts\\ant\\aemovefiles.xml:46: Target doesn't exist!
Total time: 0 seconds
This is causing appian folder grow huge and these files are just getting accumulated....
OriginalPostID-84569
OriginalPostID-84569
Discussion posts and replies are publicly visible
0
Patty Isecke
Appian Employee
over 11 years ago
Hi Liya, are you using the PS Build? In your <APPIAN_HOME>\\ directory do you have a runtime_ear directory?
What are the results of the following commands:
-> $ java –version
-> $ echo $JAVA_HOME
-> $ echo $ANT_HOME
It seems like the ANT_HOME is being set incorrectly. The Build fails when it tries to look for the following class:
com.appian.ant.datamaintenance.Purge
This should be present in <APPIAN_HOME>\ hirdpartyapps\\apache-ant\\classes\\com\\appian\\ant\\datamaintenance
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Patty Isecke
Appian Employee
over 11 years ago
Additionally, Who is the owner of the Appian directory where the engine database files are (*.kdb)? What user are you using to run cleanup? Have you tried using the same user as the one who owns the Appian directory where the engine database files are (*.kdb)?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
liyap
over 11 years ago
Hi Patty..
Thanks for your inputs. I checked the settigs of ANT_HOME and they were not poiting to path - <APPIAN_HOME>\\appian\ hirdpartyapps\\apache-ant.
I ahve set it now and the scripts above are working fine..God huge free disk space :-)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jim Schweitzer
Certified Lead Developer
over 10 years ago
I got the same C:\\appian\\server\\_scripts\\ant\\aemovefiles.xml:46: Target doesn't exist! error on a 7.5 install on Windows. Was logged in as Administrator, but still had to "run as administrator" for the cmd window for the script to work.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aneeshv713
over 10 years ago
I don't have the class com.appian.ant.datamaintenance.Purge in <APPIAN_HOME>\ hirdpartyapps\\apache-ant\\classes\\com\\appian\\ant\\datamaintenance
How do I get it?
It was there before? For some reason, I don't see it now.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Patty Isecke
Appian Employee
over 10 years ago
This should have been part of the Appian Installation. What version of Appian are you using? Can you confirm that the thirdpartyapps folder exists in <APPIAN_HOME>? Is there an environment variable defined for ANT?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aneeshv713
over 10 years ago
I am using Appian 7.4.. Yes, the thirdpartyapps folder exists in <APPIAN_HOME>..Yes, there is an environment variable defined for ANT
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel