Hi, I am trying to setup a webserver at home using Tomcat(v5.0.27) and Ant(v1.6.2). Everytime I run ant in the CMD, I get the following error: C:\dev\mywebsite>ant Buildfile: build.xml build: # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (434F4E5354414E54304F4F4C2F4F500E48505000B9), pid=2732, tid=2704 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing) # An error report file with more information is saved as hs_err_pid2732.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp <http://java.sun.com/webapps/bugreport/crash.jsp> # Under debug mode: C:\dev\mywebsite>ant -debug Apache Ant version 1.6.2 compiled on July 16 2004 Buildfile: build.xml Adding reference: ant.PropertyHelper Detected Java version: 1.5 in: C:\Program Files\Java\jdk1.5.0\jre Detected OS: Windows XP Adding reference: ant.ComponentHelper Setting ro project property: ant.version -> Apache Ant version 1.6.2 compiled on July 16 2004 Setting ro project property: ant.file -> C:\dev\mywebsite\build.xml Adding reference: ant.projectHelper Adding reference: ant.parsing.context Adding reference: ant.targets parsing buildfile C:\dev\mywebsite\build.xml with URI = file:///C:/dev/mywebsite/build.xml <file:///C:/dev/mywebsite/build.xml> Setting ro project property: ant.project.name -> Ant test project Adding reference: Ant test project Setting ro project property: ant.file.Ant test project -> C:\dev\mywebsite\build.xml Project base dir set to: C:\dev\mywebsite +Target: +Target: build Build sequence for target `build' is [build] Complete build sequence is [build, ] build: Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion) for type cvsversion # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (434F4E5354414E54304F4F4C2F4F500E48505000B9), pid=2780, tid=2768 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing) # An error report file with more information is saved as hs_err_pid2780.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp <http://java.sun.com/webapps/bugreport/crash.jsp> # and under diagnostics: C:\dev\mywebsite>ant -diagnostics ------- Ant diagnostics report ------- Apache Ant version 1.6.2 compiled on July 16 2004 ------------------------------------------- Implementation Version (JDK1.2+ only) ------------------------------------------- core tasks : 1.6.2 optional tasks : 1.6.2 ------------------------------------------- ANT_HOME/lib jar listing ------------------------------------------- ant.home: C:\ant ant-antlr.jar (5659 bytes) ant-apache-bcel.jar (8609 bytes) ant-apache-bsf.jar (12589 bytes) ant-apache-log4j.jar (3014 bytes) ant-apache-oro.jar (48015 bytes) ant-apache-regexp.jar (3706 bytes) ant-apache-resolver.jar (4073 bytes) ant-commons-logging.jar (3856 bytes) ant-commons-net.jar (35242 bytes) ant-icontract.jar (9713 bytes) ant-jai.jar (21351 bytes) ant-javamail.jar (6753 bytes) ant-jdepend.jar (8152 bytes) ant-jmf.jar (6596 bytes) ant-jsch.jar (22604 bytes) ant-junit.jar (73665 bytes) ant-launcher.jar (8673 bytes) ant-netrexx.jar (9990 bytes) ant-nodeps.jar (407573 bytes) ant-starteam.jar (35463 bytes) ant-stylebook.jar (2320 bytes) ant-swing.jar (6755 bytes) ant-trax.jar (68833 bytes) ant-vaj.jar (48623 bytes) ant-weblogic.jar (14355 bytes) ant-xalan1.jar (4457 bytes) ant-xslp.jar (2236 bytes) ant.jar (999966 bytes) catalina-ant.jar (20261 bytes) xercesImpl.jar (1010675 bytes) xml-apis.jar (124724 bytes) ------------------------------------------- Tasks availability ------------------------------------------- image : Missing dependency com.sun.media.jai.codec.FileSeekableStream sshexec : Missing dependency com.jcraft.jsch.UserInfo scp : Missing dependency com.jcraft.jsch.UserInfo cvsversion : Not Available # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (434F4E5354414E54304F4F4C2F4F500E48505000B9), pid=2032, tid=3216 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing) # An error report file with more information is saved as hs_err_pid2032.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp <http://java.sun.com/webapps/bugreport/crash.jsp> # The log files for these are practically identical. I am unsure what the problem is, as Ant seems to stop - and VM picks up the error. I am not sure whether its a problem with the missing dependancies, but I have seen these dependancies not included on logs from other users on other websites; but Ant appeared to continue working further than mine has. Are you able to help me? Thanks _____
Luke Dyson Junior Programmer LB Icon (UK) Clerkenwell House, 67 Clerkenwell Road, London EC1R 5BL Office: +44 (0)20 7504 6900 Fax: +44 (0)20 7504 6901 Tel: +44 (0)20 7504 6706 Email: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] Web: <http://www.lbicon.co.uk/> www.lbicon.co.uk This e-mail is only intended for the person(s) to whom it is addressed and may contain confidential information. LB Icon (UK) does not accept responsibility for any loss or damage caused by this email or any attachments. Unless clearly stated to the contrary, any opinions or comments are personal to the writer and are not made on behalf of LB Icon (UK). If you have received this e-mail in error, please notify us immediately at [EMAIL PROTECTED] and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. Thank you for your co-operation. LB Icon (UK) is the business name of Aspect Internet Holdings Limited, Aspect Technologies Limited, Nettec Solutions Limited, Object 1 Limited and Escador Limited.