[InterMine Dev] I have problem in releasing intermine webapp

Zhaoran Zhou zhaoran1124 at gmail.com
Thu Dec 17 15:13:44 GMT 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.intermine.org/pipermail/dev/attachments/20151217/5711c65f/attachment.html>


More information about the dev mailing list