tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From barry kimelman <barryk_tom...@hotmail.com>
Subject Problem building application with tomcat 7 on windows 7
Date Mon, 09 May 2011 23:13:18 GMT

My system is a laptop running windows 7 professional 64 bit.
 
I downloaded tomcat 7.0.12 64 bit version for windows 7. After installation I tried several
of the sample servlets and jsps. All the tests worked as expected.
 
When I attempt to build my application which used to build and run with no problems under
tomcat 6 I receive the following errors.
 
C:\barry\hockey3>ant install
Buildfile: C:\barry\hockey3\build.xml
Trying to override old definition of datatype resources
 
prepare:
 
compile:
    [javac] C:\barry\hockey3\build.xml:298: warning: 'includeantruntime' was not set, defaulting
to
build.sysclasspath=last; set to false for repeatable builds
 
install:
 
BUILD FAILED
C:\barry\hockey3\build.xml:374: java.io.FileNotFoundException: http://localhost:8080/manager/deploy
path=%2Fhockey3&war=file%3A%2F%2FC%3A%5Cbarry%5Chockey3%2Fbuild
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
        at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:228)
        at org.apache.catalina.ant.DeployTask.execute(DeployTask.java:211)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.Main.runBuild(Main.java:809)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
 
Total time: 1 second
 
C:\barry\hockey3>
 
C:\barry\hockey3>dir
 
Directory of C:\barry\hockey3
 
05/09/2011  05:00 PM    <DIR>          .
05/09/2011  05:00 PM    <DIR>          ..
02/27/2010  08:33 PM    <DIR>          build
05/09/2011  04:59 PM               226 build.properties
05/09/2011  04:56 PM            17,227 build.xml
02/27/2010  08:33 PM    <DIR>          src
02/27/2010  08:33 PM    <DIR>          web
               2 File(s)         17,453 bytes
               5 Dir(s)  216,042,860,544 bytes free
 
C:\barry\hockey3>
 
 
I have kept the same directory structure that I was using under Tomcat6 and yet I receive
this error.
 
Any ideas as to why I am receiving this error ?
 
 
Thanks for your assistance.

 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message