Tomcat Deployment Error

I'm trying to deploy a warfile using the task "Deploy Tomcat Application" and keep getting an error. What could this be?

build 13-Oct-2016 10:14:10 war:
build 13-Oct-2016 10:14:10       [war] Building war: /bamboo-home/xml-data/build-dir/PMP-PTP-JOB1/portlets/perfect-mobile-services-activation-module-portlet/mybuilds/dist/WarFile.war
build 13-Oct-2016 10:14:18 
build 13-Oct-2016 10:14:18 BUILD SUCCESSFUL
build 13-Oct-2016 10:14:18 Total time: 36 seconds
simple 13-Oct-2016 10:14:18 Finished task 'Create WAR file' with result: Success
simple 13-Oct-2016 10:14:18 Starting task 'Deploy Development' of type 'com.atlassian.bamboo.plugins.tomcat.bamboo-tomcat-plugin:deployAppTask'
simple 13-Oct-2016 10:14:18 Deploying application with war file '/portlets/perfect-mobile-services-activation-module-portlet/mybuilds/dist/WarFile.war' to context '/test' to server 'http:/10.10.100.51/manager/'
simple 13-Oct-2016 10:14:18 Confirm expected Tomcat manager location.
error 13-Oct-2016 10:14:18 Error occurred while running Task 'Deploy Development(3)' of type com.atlassian.bamboo.plugins.tomcat.bamboo-tomcat-plugin:deployAppTask.
error 13-Oct-2016 10:14:18 java.lang.IllegalArgumentException: Host name may not be null
error 13-Oct-2016 10:14:18 at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:68)
error 13-Oct-2016 10:14:18 at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:107)
error 13-Oct-2016 10:14:18 at org.apache.commons.httpclient.HttpMethodBase.setURI(HttpMethodBase.java:281)
error 13-Oct-2016 10:14:18 at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:221)
error 13-Oct-2016 10:14:18 at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.plugins.tomcat.manager.TomcatApplicationManagerImpl.getTomcatVersionFromServerInfo(TomcatApplicationManagerImpl.java:293)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.plugins.tomcat.manager.TomcatApplicationManagerImpl.confirmTomcatVersionThroughServerInfo(TomcatApplicationManagerImpl.java:255)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.plugins.tomcat.manager.TomcatApplicationManagerImpl.getURLPrefix(TomcatApplicationManagerImpl.java:241)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.plugins.tomcat.manager.TomcatApplicationManagerImpl.deployApplication(TomcatApplicationManagerImpl.java:158)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.plugins.tomcat.tasks.DeployAppTask.execute(DeployAppTask.java:84)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$201(TaskExecutorImpl.java:317)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:246)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:317)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:215)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:137)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
error 13-Oct-2016 10:14:18 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
error 13-Oct-2016 10:14:18 at java.lang.Thread.run(Thread.java:745)
simple 13-Oct-2016 10:14:18 Running post build plugin 'NCover Results Collector'
simple 13-Oct-2016 10:14:18 Running post build plugin 'Artifact Copier'
simple 13-Oct-2016 10:14:18 Running post build plugin 'npm Cache Cleanup'
simple 13-Oct-2016 10:14:18 Running post build plugin 'Clover Results Collector'
simple 13-Oct-2016 10:14:18 Running post build plugin 'Docker Container Cleanup'
simple 13-Oct-2016 10:14:18 Finalising the build...
simple 13-Oct-2016 10:14:18 Stopping timer.
simple 13-Oct-2016 10:14:18 Build PMP-PTP-JOB1-21 completed.
simple 13-Oct-2016 10:14:18 Running on server: post build plugin 'NCover Results Collector'
simple 13-Oct-2016 10:14:18 Running on server: post build plugin 'Build Hanging Detection Configuration'
simple 13-Oct-2016 10:14:18 Running on server: post build plugin 'Clover Delta Calculator'
simple 13-Oct-2016 10:14:18 Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple 13-Oct-2016 10:14:18 All post build plugins have finished
simple 13-Oct-2016 10:14:18 Generating build results summary...
simple 13-Oct-2016 10:14:18 Saving build results to disk...
simple 13-Oct-2016 10:14:19 Logging substituted variables...
simple 13-Oct-2016 10:14:19 Indexing build results...
simple 13-Oct-2016 10:14:19 Finished building PMP-PTP-JOB1-21.

 

 

1 answer

This widget could not be displayed.

Have you checked DNS? I have seen this before when there is no A record.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

111 views 15 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you