[Anthill] InstantiationException

Bjoern Teipel bt at diamos.de
Thu Sep 1 13:42:32 CDT 2005


Hi Kevin,

this is the same problem i had with BEA Weblogic, because bea weblogic 
already installed an old Ant version with its libraries.
I solved this, as i  moved to tomcat 5.5.9, and everything was working fine.

Björn

Taylor, Kevin schrieb:

> When I build via anthill, I get this InstantiationException. It seems 
> like an ant problem--like it cannot even run ant. If I cut-n-paste the 
> command from the logs and run it on the cmd line it runs fine. Any ideas?
>
> Also, I still get a Successful message even though ant puked. That 
> doesn't seem right.
>
> TIA!
>
> --Kevin
>
> '-DdeployDir=/webapp/anthill/publishDir/tpc'
> '-Dversion=1.0.34'
> '-Dkit=1.0.34'
> '-buildfile'
> '/webapp/anthill/tpc_work/tpc/bin/master-build.xml'
> '-logfile'
> '/webapp/anthill/publishDir/tpc/buildLogs/tpc-1.0.34-build.log'
> '-Dhome=/webapp/anthill/tpc_work/tpc'
> '-Dweblogic.home=/webapp/bea/weblogic81'
> '-Djava.home=/webapp/java'
> '-Dproject=interdesign'
> '-Dtype=internet'
> '-Daction=build'
>
> The ' characters around the executable and arguments are
> not part of the command.
>
> WorkingDir: none
> Environment Variables:
> BEA_HOME=/webapp/bea
> CLASSPATH=/webapp/j2sdk1.4.2_07/lib/tools.jar:/webapp/bea/weblogic81/server/lib/weblogic_sp.jar:/webapp/bea/weblogic81/server/lib/weblogic.jar::/webapp/bea/weblogic81/common/eval/pointbase/lib/pbserver44.jar:/webapp/bea/weblogic81/common/eval/pointbase/lib/pbclient44.jar:/webapp/j2sdk1.4.2_07/jre/lib/rt.jar:/webapp/bea/weblogic81/server/lib/webservices.jar
>
> CLASSPATHSEP=:
> DOMAIN_DIR=user_projects/domains
> EDITOR=vi
> ENV=/export/home/web/.kshrc
> EXINIT=set showmode autoindent
> HOME=/export/home/web
> HZ=
> JAVAPID_FILE=/webvar/tmp/weblogic/intradesign/IntranetServer/javapid
> JAVA_HOME=/webapp/j2sdk1.4.2_07
> JAVA_OPTIONS= -Xverify:none
> JAVA_VENDOR=Sun
> JAVA_VM=-client
> LC_ALL=en_US
> LD_LIBRARY_PATH=/webapp/j2sdk1.4.2_07/jre/lib/sparc/client:/webapp/j2sdk1.4.2_07/jre/lib/sparc:/webapp/j2sdk1.4.2_07/jre/../lib/sparc:/webapp/bea/weblogic81/server/lib/solaris:/webapp/bea/weblogic81/server/lib/solaris/oci920_8:/webapp/bea/weblogic81/server/lib/solaris:/webapp/bea/weblogic81/server/lib/solaris/oci817_8
>
> LOGFILE=/webvar/weblogic/intradesign/IntranetServer_startup.log
> LOGNAME=web
> MANPATH=:/usr/man/:/usr/local/man:/opt/sfw/man/
> MEM_ARGS=-Xms32m -Xmx200m -XX:MaxPermSize=128m
> NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
> NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
> PATH=.:/webapp/bea/weblogic81/server/bin:/webapp/java/jre/bin:/webapp/java/bin:/webapp/bea/weblogic81/server/lib/solaris:/webapp/bea/weblogic81/server/bin:/webapp/j2sdk1.4.2_07/jre/bin:/webapp/j2sdk1.4.2_07/bin:/webapp/java/bin:/usr/bin:/usr/ucb:/etc:/export/home/web/bin:/export/home/oracle8/OraHome1/bin:/opt/sfw/bin:/export/home/web/apache-ant-1.6.2/bin
>
> PATHSEP=:
> POINTBASE_CLASSPATH=:/webapp/bea/weblogic81/common/eval/pointbase/lib/pbserver44.jar:/webapp/bea/weblogic81/common/eval/pointbase/lib/pbclient44.jar
>
> POINTBASE_HOME=/webapp/bea/weblogic81/common/eval/pointbase
> POINTBASE_TOOLS=/webapp/bea/weblogic81/common/eval/pointbase/lib/pbtools44.jar 
>
> PRODUCTION_MODE=
> PWD=/export/home/web
> SHELL=/bin/ksh
> TERM=sun
> TZ=US/Central
> WEBLOGIC_CLASSPATH=/webapp/j2sdk1.4.2_07/lib/tools.jar:/webapp/bea/weblogic81/server/lib/weblogic_sp.jar:/webapp/bea/weblogic81/server/li
>
> ANT_OPTS=-Xms384m  -Xmx384m
> ANT_HOME=/webapp/anthill/lib/ant1.6.2
> 13:16:28:294 [Thread - AnthillBuildDaemon] DEBUG 
> org.apache.commons.execute.ProcessThreadRegistry  - Adding a process 
> for thread: Thread - AnthillBuildDaemon
>
> java.lang.InstantiationException: org.apache.tools.ant.Main
>         at java.lang.Class.newInstance0(Class.java:293)
>         at java.lang.Class.newInstance(Class.java:261)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:195)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
> 13:16:28:890 [Thread - AnthillBuildDaemon] INFO  
> com.urbancode.anthill.BuildManager  - Step 6) Tag project (if set to 
> success):
>
> 13:16:28:891 [Thread - AnthillBuildDaemon] INFO  
> com.urbancode.anthill.BuildManager  - Step 7) Publish Project:
> 13:16:28:891 [Thread - AnthillBuildDaemon] DEBUG 
> com.urbancode.anthill.ProjectProperties  - publishScriptPath =
> 13:16:28:892 [Thread - AnthillBuildDaemon] INFO  
> com.urbancode.anthill.adapter.CVSRepositoryAdapter  - Get revisions 
> since command:
>
>
>
>       Kevin Taylor
>       Sr Web Developer
>       The Pampered Chef LTD
>       630-261-3557
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20050901/0df820b2/attachment-0002.htm


More information about the Anthill mailing list