Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Rebuilding UI
System
When I run iwperl
/bin/make_toolkit.ipl from the appropriate customer_src directory, I get a message I haven't seen before:
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)
I've restarted iwwebd and other services but nothing.
What gives?
TS6.5 SP2/Win2k3
Find more posts tagged with
Comments
nbwoven
Can you check whether the JAVA_HOME, ANT_HOME, and PATH is set to the latest version as specified below:
ANT_HOME= iw-home\tools\ant
JAVA_HOME=iw-home\tools\java
PATH=iw-home\tools\ant\bin;D:\Interwoven\TeamSite\tools\java\bin
If this is properly set, check the CLASSPATH.
The above Java exception could occur if the classpath is pointing to an old ant.jar location. For example, setting the CLASSPATH to iw-home\eventsubsystem\lib.
In that case, you need to set the classpath to point to the latest version of ant.jar file, which is in the TeamSite directory as specified below:
CLASSPATH=iw-home\TeamSite\tools\ant\lib
Make sure that while specifying the classpath of the ant directory, it is specified in the beginning. After setting this, when you run the ant -version command, it should display the following:
C:\Documents and Settings\nbwoven>ant -version
Apache Ant version 1.6.2 compiled on December 9 2004
2.
Have there been any networking changes since the installation I mean the IP/Hostname/Domainname etc . ?
Migrateduser
That was it! Thank you -- I appreciate it.
Oh, to answer #2, no there haven't been any networking changes recently.