Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Happy New Year and Welcome New Marketplace Partner Program Partners!

Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...

473 views 6 18
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you