[InterMine Dev] errors in build a new mine

Julie Sullivan julie at flymine.org
Tue Oct 4 09:33:06 BST 2011


Hi Su

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

This is a user authentication issue:

 > Server returned HTTP response code: 401 for URL

To deploy your InterMine webapp to Tomcat, you need to have correctly set your 
Tomcat username and password in your InterMine properties file:

http://intermine.org/wiki/GettingStarted#a13.1Configure

That username and password needs to match the entry in Tomcat's config file:

http://intermine.org/wiki/Prerequisites

Let me know if this doesn't solve your problem!

Cheers
Julie

On 04/10/11 09:23, wang su wrote:
> hi
> Now , I had run the last step,
>   # in malariamine/webapp
>> ant default remove-webapp release-webapp
>
> and the error like
> BUILD FAILED
> /mnt/Storage/home/wangs/dev/imbuild/application.xml:146: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/deploy?path=%2Fmalariamine
> 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1403)
> 	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:291)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	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:1360)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
> 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
> 	at org.apache.tools.ant.Main.runBuild(Main.java:801)
> 	at org.apache.tools.ant.Main.startAnt(Main.java:218)
> 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
> 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
>
> Total time: 58 seconds
>
> Best wishes!
>
> Su
> On 2011-10-4, at 下午3:57, dev-request at intermine.org wrote:
>
>> http://intermine.org/wiki/GettingStarted#a12BuildingaMine
>
>
>
>
> _______________________________________________
> dev mailing list
> dev at intermine.org
> http://mail.intermine.org/cgi-bin/mailman/listinfo/dev



More information about the dev mailing list