[InterMine Dev] I have problem in releasing intermine webapp

sergio contrino sergio at modencode.org
Thu Dec 17 15:17:03 GMT 2015


dear Zhaoran,
could you run the command with the -v (verbose) option and report the log?
thanks
sergio


On 17/12/15 15:13, Zhaoran Zhou wrote:
> Hello,
>
> I am following the intermine tutorial documentation to release the
> webapp. And I failed to run the command
>
> ant default remove-webapp release-webapp
>
> The error message is about realase webapp:
>
> release-webapp:
>
> BUILD FAILED
> /home/zhaoran/intermine/imbuild/application.xml:182:
> java.io.IOException: Error writing to server
> at
> sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:666)
> at
> sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:678)
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1534)
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
> at
> org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:223)
> at org.apache.catalina.ant.DeployTask.execute(DeployTask.java:201)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
> at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> 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:435)
> at org.apache.tools.ant.Target.performTasks(Target.java:456)
> at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
> at org.apache.tools.ant.Main.runBuild(Main.java:851)
> at org.apache.tools.ant.Main.startAnt(Main.java:235)
> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
>
>
>
>
> In the corresponding file application.xml, looks like this:
>
>   </target>
>
>    <target name="release-webapp" depends="-init-properties, init,
> -set-deploy-url">
>      <taskdef name="tomcat-deploy"
> classname="org.apache.catalina.ant.DeployTask"
>
> classpath="${webapp.xml.basedir}/im-ant-tasks/lib/catalina-ant.jar"/>
>      <tomcat-deploy url="${-tomcat-manager-url}"
>                     username="${webapp.manager}"
>                     password="${webapp.password}"
>                     path="/${webapp.path}"
>                     war="file://${dist.war}"/>
>    </target>
>
>
> The 182 row of the file is
>
> war="file://${dist.war}"/>
>
> I wonder where is the dist.war , and why I cannot write the file.
>
>
> Thank you!
>
> Best regards,
> Zhaoran Zhou
>
>
>
> _______________________________________________
> dev mailing list
> dev at intermine.org
> http://mail.intermine.org/cgi-bin/mailman/listinfo/dev
>

-- 
sergio contrino                  InterMine, University of Cambridge
https://sergiocontrino.github.io           http://www.intermine.org



More information about the dev mailing list