Re: Anthill 1.8.0.264 java.lang.InstantiationException:org.apache.tools.ant.Main
I've switched from Bea to Tomcat and everything is working fine.
But I'm wondering how the schedule mechanism is working,
I've scheduled two products and Anthill is doing nothing, nor
a cvs log command to check what files have changed.
Any idea?
Björn
Am Mittwoch, den 31.08.2005, 22:49 +0100 schrieb Simone Milani:
Finally someone with the same problem I had!!!!
That is because Weblogic ships ant 1.5.1 inside weblogic.jar and that seems to cause some classloading problems. I did spent sometime trying to solve it but in the end I moved to Tomcat. Maybe someone else can give us more clues!
Simone
----- Original Message -----
From: Bjoern Teipel
To: anthill-IWHQxnLZ/P3rXihlmxnZCEEOCMrvLtNR@public.gmane.org
Sent: Wednesday, August 31, 2005 1:44 PM
Subject: [Anthill] Anthill 1.8.0.264 java.lang.InstantiationException:org.apache.tools.ant.Main
Hi all,_______________________________________________ Anthill mailing list Anthill-IWHQxnLZ/P3rXihlmxnZCEEOCMrvLtNR@public.gmane.org http://lists.urbancode.com/mailman/listinfo/anthill
I'm trying to setup AnthillOS, but got that annoying error message which i can't resolve (during build) :
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)
Here is the printed out environment under solaris 9:
14:13:53:205 [Thread - AnthillBuildDaemon] INFO com.urbancode.anthill.BuildManager - Build Command: /opt/anthill-1.8.0/lib/ant1.6.2/bin/ant -DdeployDir=/opt/anthill-1.8.0/publishDir/FRAMEWORK -Dversion=frm_1_3_branch 1.3.0.4 -Dkit=frm_1_3_branch 1.3.0.4 -buildfile /opt/anthill-1.8.0/work/frm_1_3_branch/FRAMEWORK/DNEU_FRMS/build.xml -logfile "/opt/anthill-1.8.0/publishDir/FRAMEWORK/buildLogs/FRAMEWORK-frm_1_3_branch 1.3.0.4-build.log"
14:13:53:728 [Thread - AnthillBuildDaemon] INFO com.urbancode.anthill.BuildManager - Execute:Java13CommandLauncher: Executing '/opt/anthill-1.8.0/lib/ant1.6.2/bin/ant' with arguments:
'-DdeployDir=/opt/anthill-1.8.0/publishDir/FRAMEWORK'
'-Dversion=frm_1_3_branch 1.3.0.4'
'-Dkit=frm_1_3_branch 1.3.0.4'
'-buildfile'
'/opt/anthill-1.8.0/work/frm_1_3_branch/FRAMEWORK/DNEU_FRMS/build.xml'
'-logfile'
'"/opt/anthill-1.8.0/publishDir/FRAMEWORK/buildLogs/FRAMEWORK-frm_1_3_branch 1.3.0.4-build.log"'
The ' characters around the executable and arguments are
not part of the command.
WorkingDir: none
Environment Variables:
BEA_HOME=/opt/bea
CLASSPATH=/opt/bea/jdk142_05/lib/tools.jar:/opt/bea/weblogic81/server/lib/weblogic_sp.jar:/opt/bea/weblogic81/server/lib/weblogic.jar::/opt/bea/weblogic81/common/eval/pointbase/lib/pbserver44.jar:/opt/bea/weblogic81/common/eval/pointbase/lib/pbclient44.jar:/opt/bea/jdk142_05/jre/lib/rt.jar:/opt/bea/weblogic81/server/lib/webservices.jar:
CLASSPATHSEP=:
DISPLAY=sunserv:10.0
HOME=/
HOSTNAME=sunserv
HOSTTYPE=sparc
JAVA_HOME=/opt/bea/jdk142_05
JAVA_OPTIONS= -Xverify:none
JAVA_VENDOR=Sun
JAVA_VM=-client
LD_LIBRARY_PATH=/opt/bea/jdk142_05/jre/lib/sparc/client:/opt/bea/jdk142_05/jre/lib/sparc:/opt/bea/jdk142_05/jre/../lib/sparc:/opt/bea/weblogic81/server/lib/solaris:/opt/bea/weblogic81/server/lib/solaris/oci920_8
LOGNAME=root
MACHTYPE=sparc-sun-solaris2.9
MANPATH=/usr/man:/opt/sfw/man:/usr/sfw/man:/usr/local/man
MEM_ARGS=-Xms32m -Xmx200m -XX:MaxPermSize=128m
OLDPWD=/opt/bea/user_projects/domains
OSTYPE=solaris2.9
PATH=/opt/bea/weblogic81/server/bin:/opt/bea/jdk142_05/jre/bin:/opt/bea/jdk142_05/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/ant/bin:/opt/sfw/bin:/usr/sfw/bin:/usr/local/bin:/usr/ucb/bin:/usr/ccs/bin
PATHSEP=:
POINTBASE_CLASSPATH=:/opt/bea/weblogic81/common/eval/pointbase/lib/pbserver44jar:/opt/bea/weblogic81/common/eval/pointbase/lib/pbclient44.jar
POINTBASE_HOME=/opt/bea/weblogic81/common/eval/pointbase
POINTBASE_TOOLS=/opt/bea/weblogic81/common/eval/pointbase/lib/pbtools44.jar
PRODUCTION_MODE=
PWD=/opt/bea/user_projects/domains/anthill
SHELL=/bin/bash
SHLVL=1
SSH_AUTH_SOCK=/tmp/ssh-dQK16330/agent.16330
SSH_TTY=/dev/pts/2
TERM=xterm
TZ=Europe/Berlin
USER=root
WEBLOGIC_CLASSPATH=/opt/bea/jdk142_05/lib/tools.jar:/opt/bea/weblogic81/server/lib/weblogic_sp.jar:/opt/bea/weblogic81/server/lib/weblogic.jar
WL_HOME=/opt/bea/weblogic81
_=./startWebLogic.sh
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
ANT_HOME=/opt/anthill-1.8.0/lib/ant1.6.2
---
Björn Teipel
Systemadministration
DIAMOS AG * Sulzbach/Taunus
Mail : <bt-23eagwP2G0yzQB+pC5nmwQ@public.gmane.org>
www : http://www.diamos.de
ca : http://www.diamos.de/CA
Phone: +49(0)6196/6506-151
_______________________________________________
Anthill mailing list
Anthill-IWHQxnLZ/P3rXihlmxnZCEEOCMrvLtNR@public.gmane.org
http://lists.urbancode.com/mailman/listinfo/anthill
|
--- Björn Teipel Systemadministration DIAMOS AG * Sulzbach/Taunus Mail : <bt-23eagwP2G0yzQB+pC5nmwQ@public.gmane.org> www : http://www.diamos.de ca : http://www.diamos.de/CA Phone: +49(0)6196/6506-151 |
_______________________________________________ Anthill mailing list Anthill@... http://lists.urbancode.com/mailman/listinfo/anthill
RSS Feed