while starting jenkins in tomcat it shows FAIL - Application at context path [/jenkins] could not be started - jenkins

I installed and strated apache tomcat on my windows 10. after that I added war file of jenkins in the web page of tomcat.
Now I am going to start the jenkins it will show the following message
I also check the compatibility version of java for jenkins and installed successfully.Then also jenkins not started

Related

Unable to locate Jenkins file when Jenkins is installed over Tomcat on Linux Machine

Unable to locate Jenkins file when Jenkins is installed over Tomcat on Linux Machine
I have installed Jenkins(Jenkins.war) on a Linux (RedHat) machine using Tomcat application server.Prior to installation I had set my JENKINS_HOME(in ~/.bash_profile) to /apps/jenkins folder so that Tomcat will install Jenkins on this directory.
Post installation Jenkins is up and running and my jobs are executing fine.However, I need to change JENKINS_USER to other user but I am not able to locate the Jenkins file that will have info like JENKINS_USER and JENKINS_PORT.
I tried searching this file under following directories but no success.
/var/lib/jenkins
/etc/sysconfig
/etc/default
I am not able to find it even in the Jenkins installation directory.
Any help would be appreciated.
Thanks
The files you are searching are only found in the standalone installations of Jenkins through various package managers of different supported Linux distributions for which Jenkins offers packages.
The install of Jenkins in Tomcat is just downloading and copying jenkins.war in Tomcat's webapps folder as a servlet, everything else is managed through Tomcat config files, like setting JENKINS_HOME or changing the port by editing the connector xml for example.
The documentation on running Jenkins as a .war in Tomcat is here. You can see examples on how to change the connector port in $TOMCAT_HOME/conf/server.xml and also JENKINS_HOME in the context. I assume you understand at least how Tomcat works and how to configure it.

Payara+Jenkins+VisualSVN build successful with no errors, but still not deploying to Payara applications

I have created a simple web application in Netbeans 10.0
Integrated successfully with Visual SVN. Regular commits are working fine.
Installed Payara 5
Installed Jenkins
Successfully registered Visual SVN branch in Jenkins job
Successfully configured Ant and DEPLOY TO CONTAINER plugins in Jenkins.
Registered war filename, Context path, Server Glassfish 3.x, port and hostname in Jenkins
Build Now in Jenkins
Successful build.
Logged into Payara Admin console and clicked Applications
WHOOOOOSHHHH... No application found there
There is absolutely no error any where. Tried all options including specifying Target/ Arg settings in build.xml
Nothing works.
Please help me as my job is on the stake.
*** P.S.
No where did I find any setting for Payara domain name. That could be a cause but not sure. How would Jenkins know in which Payara domain to deploy the compiled WAR file. May be I am wrong.
Thanks in anticipation.
Yesterday, I was able to deploy .war on Tomcat successfully. It went straight into webapps.
But the real issue is that when configuring Jenkins with GlassFish, Jenkins doesn't offer an input field for GlassFish Domain. Hence, compilation ends with BUILD SUCCESSFUL and FINISHED messages, but the application could not be seen in any of the Glassfish domains.

Jenkins slave creation for Windows server

I am trying to use jekins for deployment of my patch so here the server on which I want to deploy is a Windows server and my Jenkins is a Aix system and also my Jenkins version is 2.9 and it's run on java 7 where as the application I am deploying has a constraint that it could only be run on java 6 which is on Windows hence I need a solution for this java 7 to to java 6 slave connection.
I have resolved this issue by just installing a java 7 on the windows server with the constraint,
but the java 7 isn't configured in the path variable i have kept a command handy with the complete path of bin directory of the java 7 installed on the windows so i can connect via slave.jar to my jenkins server giving the path and executing the slave.jar with java 7 so that i dont get a major minor version error, and later on since its not in the path further use java 6 for later processing of windows server.

Upgrade to Jenkins 2.0 on Windows Server

We are currently running version 1.651.3 on our server and want to upgrade to version 2. From what I can tell online, I just need to run the .msi file and install into the current Jenkins directory and we're good. That didn't work, so I tried stopping the Jenkins service and installing again, but it is still running the old version. What am I missing?
So I didn't realize that you could just download the .war file instead of one of the deployment options. I was clicking Windows and getting the .msi instead of clicking 2.11 .war and getting the .war file. I then dropped this into the C:\Program Files (x86)\Jenkins directory on my server and all was good in the world.

Grails war tomcat deployment is successful but could not access the project

I am working on deploying grails war on Tomcat server in Unix. I generated the war thru STS. Tested the generated war on tomcat 6.0 in windows box. This works fine.I deployed the same war in Unix machine, did not face any issues during server start up. But when i access the URL i am getting "Internet Explorer cannot display the webpage". No exceptions or errors displayed in logs.
I am using Grails 2.0.1 and tried deploying the war in Tomcat 7.0 and 6.0.

Resources