Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to deploy war file #25

Open
ctproject4 opened this issue Dec 18, 2018 · 8 comments
Open

Unable to deploy war file #25

ctproject4 opened this issue Dec 18, 2018 · 8 comments

Comments

@ctproject4
Copy link

ctproject4 commented Dec 18, 2018

I'm trying to build and deploy maven project. Build Job is running properly after triggering the pipeline and it also creates .war file. The deployment Job also seems normal and executing successful but after opening the url in tomcat server 404 Page Not Found error use to come. I've tried to deploy the war file on the same tomcat server in which jenkins is running. Also I tried to deploy it onto another machine as well. But still no luck. When I went inside the tomcat manager folder(inside the container) where jenkins.war file is located, I'm unable to find my deployed war file. I'm attaching the log files of Deploy Job as well as Pipeline Job. Kindly help me!

Deploy_Job_Logs.txt
Piepline_logs.txt

jenkins_page

Thanks

@jaskirat8
Copy link
Contributor

@ctproject4 It will be helpful if you can attach screen shot of your "Deploy Page" and "Code Page" in IDP UI. As i can see there is nothing configured as per logs.

@ctproject4
Copy link
Author

Thanks for your reply. I'm attaching the screenshots.
deploypage2
code_page
deploy_page1
Thanks!

@Chids-gs
Copy link

@ctproject4 . Few suggestions

  1. can you check in your workspace and confirm if the war file is generated?
  2. If yes, in the deploy section, can you replace the war file path to **/*.war

@ctproject4
Copy link
Author

ctproject4 commented Dec 26, 2018

@Chids-gs Yes the workspace contains .war file after build stage. And I also tried using target/**/*.war.
Still no luck!

@snj07
Copy link

snj07 commented Dec 31, 2018

Can you confirm if tomcat user which you put in the input field has manager-script permission?

@jaskirat8
Copy link
Contributor

@ctproject4 We hope you have tried the suggestions by @Chids-gs @snj07 .
Update this thread in-case you still face the issue.

  • This issue will auto close in 3 days on account of no activity.

@ctproject4
Copy link
Author

@jaskirat8 Yes I tried the suggestions given by @snj07 and @Chids-gs. Still no luck!

@krishnakanthbn
Copy link
Contributor

@ctproject4 Hi. Hope the issue is resolved. Can you please confirm if you see the Tomcat deploy section in the Deploy Job configuration in Jenkins?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants