jenkins ubuntu not accessible if not using port 8080 - jenkins

I used port 8080 for tomcat, and when I run jenkins service after changing
HTTP_PORT=8080
to
HTTP_PORT=8083
(and 9999, 8081)
in /etc/default/jenkins, it is not accessible from my browser, but doesn't show any error in terminal.
But, if I changed back the port to 8080 and stop tomcat (that uses port 8080), it works.
How do I change jenkins' port to other than 8080? Thanks!
Jenkins log:
Apr 04, 2016 6:42:06 AM winstone.Logger logInternal
INFO: Beginning extraction from war file
Apr 04, 2016 6:42:06 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-winstone-2.9
Apr 04, 2016 6:42:10 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
Apr 04, 2016 6:42:11 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started SelectChannelConnector#0.0.0.0:8083
Apr 04, 2016 6:42:11 AM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
Apr 04, 2016 6:42:12 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Apr 04, 2016 6:42:12 AM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Apr 04, 2016 6:42:12 AM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Apr 04, 2016 6:42:13 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Apr 04, 2016 6:42:13 AM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Apr 04, 2016 6:42:18 AM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Apr 04, 2016 6:42:19 AM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Apr 04, 2016 6:42:19 AM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 11 ms
Apr 04, 2016 6:42:20 AM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 37431
Apr 04, 2016 6:42:20 AM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Apr 04, 2016 6:42:20 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Apr 04, 2016 6:42:20 AM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Apr 04, 2016 6:42:20 AM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Apr 04, 2016 6:42:20 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Apr 04, 2016 6:42:20 AM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Apr 04, 2016 6:42:20 AM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Apr 04, 2016 6:42:20 AM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Apr 04, 2016 6:42:20 AM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running

First change port number in /etc/default/jenkins.
Then restart Jenkins with sudo service jenkins restart.

Related

jenkins doesn't work with many cores and/or large memory

I have started Jenkins on an aws m5.24xlarge instance with 96 vCPU and 384 GiB memory). When starting it, I find myself unable to access it. curl localhost:8080 hangs forever and gets no response. Also, there is no log output.
However, stopping the same instance, changing the instance type to m5.12xlarge (48 vCPU and 192 GiB memory) and running the same configuration again, works.
This is the same for running it via java -jar jenkins.war, by installing it via the docker run jenkins/jenkins... command or by installing it from a ubuntu repo.
Can any of you reproduce that issue? Is there a known maximum number of cores Jenkins can handle or a maximum memory size?
Or is there a starting flag that I can set so it works?
Thanks in advance.
Edit: This is the log output
Running from: /home/ubuntu/jenkins.war
webroot: $user.home/.jenkins
Jul 06, 2018 1:55:38 PM org.eclipse.jetty.util.log.Log initialized
INFO: Logging initialized #236ms to org.eclipse.jetty.util.log.JavaUtilLog
Jul 06, 2018 1:55:38 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Jul 06, 2018 1:55:39 PM org.eclipse.jetty.server.handler.ContextHandler setContextPath
WARNING: Empty contextPath
Jul 06, 2018 1:55:39 PM org.eclipse.jetty.server.Server doStart
INFO: jetty-9.4.z-SNAPSHOT, build timestamp: 2017-11-21T21:27:37Z, git hash: 82b8fb23f757335bb3329d540ce37a2a2615f0a8
Jul 06, 2018 1:55:39 PM org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Jul 06, 2018 1:55:39 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
INFO: DefaultSessionIdManager workerName=node0
Jul 06, 2018 1:55:39 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
INFO: No SessionScavenger set, using defaults
Jul 06, 2018 1:55:39 PM org.eclipse.jetty.server.session.HouseKeeper startScavenging
INFO: Scavenging every 660000ms
Jenkins home directory: /home/ubuntu/.jenkins found at: $user.home/.jenkins
Jul 06, 2018 1:55:40 PM org.eclipse.jetty.server.handler.ContextHandler doStart
INFO: Started w.#644c78d4{/,file:///home/ubuntu/.jenkins/war/,AVAILABLE}{/home/ubuntu/.jenkins/war}
Jul 06, 2018 1:55:40 PM org.eclipse.jetty.server.AbstractConnector doStart
INFO: Started ServerConnector#355e34c7{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
Jul 06, 2018 1:55:40 PM org.eclipse.jetty.server.Server doStart
INFO: Started #1886ms
Jul 06, 2018 1:55:40 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v4.0 running: controlPort=disabled
Jul 06, 2018 1:55:41 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Jul 06, 2018 1:55:41 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Jul 06, 2018 1:55:42 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Jul 06, 2018 1:55:42 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Jul 06, 2018 1:55:42 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Jul 06, 2018 1:55:42 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Jul 06, 2018 1:55:42 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Jul 06, 2018 1:55:43 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext#46ce48b7: display name [Root WebApplicationContext]; startup date [Fri Jul 06 13:55:43 UTC 2018]; root of context hierarchy
Jul 06, 2018 1:55:43 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext#46ce48b7]: org.springframework.beans.factory.support.DefaultListableBeanFactory#454a5ad5
Jul 06, 2018 1:55:43 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory#454a5ad5: defining beans [authenticationManager]; root of factory hierarchy
Jul 06, 2018 1:55:43 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext#37a2b2a7: display name [Root WebApplicationContext]; startup date [Fri Jul 06 13:55:43 UTC 2018]; root of context hierarchy
Jul 06, 2018 1:55:43 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext#37a2b2a7]: org.springframework.beans.factory.support.DefaultListableBeanFactory#74441a6d
Jul 06, 2018 1:55:43 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory#74441a6d: defining beans [filter,legacy]; root of factory hierarchy
Jul 06, 2018 1:55:43 PM jenkins.install.SetupWizard init
INFO:
*************************************************************
*************************************************************
*************************************************************
Jenkins initial setup is required. An admin user has been created and a password generated.
Please use the following password to proceed to installation:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
This may also be found at: /home/ubuntu/.jenkins/secrets/initialAdminPassword
*************************************************************
*************************************************************
*************************************************************
Jul 06, 2018 1:55:46 PM hudson.model.UpdateSite updateData
INFO: Obtained the latest update center data file for UpdateSource default
Jul 06, 2018 1:55:46 PM hudson.model.UpdateSite updateData
INFO: Obtained the latest update center data file for UpdateSource default
Jul 06, 2018 1:55:46 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Jul 06, 2018 1:55:46 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
Jul 06, 2018 1:55:46 PM hudson.model.DownloadService$Downloadable load
INFO: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller
Jul 06, 2018 1:55:46 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 3,968 ms

Jenkins not working, can't login, stuck then timeout

I installed the Jenkins v.2.6 on CENTOS 6.8 server a few months ago and everything working as expected since last week it just stops working.
If I go http://mydomain:8081, the login page not loads up anymore and give me the HTTP 503 errorHTTP ERROR: 503 Problem accessing /login. Reason: Service Unavailable.
I check the port 8081 and it is listening still, checked the status of the Jenkins service, it is running fine with the assigned PID #.
I did check the Jenkins log and see the message below and I have no idea how to fix it, try add the --prefix/Jenkins as Argument and 127.0.0.1 in the Jenkins config file as some other thread suggested, but none of those working.
Even rebooted the server and still not working.
Could anyone help?
Thanks,
Jenkins Log File
Running from: /usr/lib/jenkins/jenkins.war
Apr 17, 2017 3:10:21 PM Main deleteWinstoneTempContents
WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
Apr 17, 2017 3:10:22 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Logging initialized #1304ms
Apr 17, 2017 3:10:22 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Apr 17, 2017 3:10:22 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Empty contextPath
Apr 17, 2017 3:10:22 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.2.z-SNAPSHOT
Apr 17, 2017 3:10:24 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Apr 17, 2017 3:10:25 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Failed startup of context w.#faf73d2{/,file:/var/cache/jenkins/war/,STARTING}{/var/cache/jenkins/war}
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:408)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1340)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at winstone.Launcher.<init>(Launcher.java:152)
at winstone.Launcher.main(Launcher.java:352)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at Main._main(Main.java:264)
at Main.main(Main.java:112)
Caused by: java.lang.UnsupportedClassVersionError: jenkins/util/SystemProperties : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at org.eclipse.jetty.webapp.WebAppClassLoader.findClass(WebAppClassLoader.java:510)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:441)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)
at org.eclipse.jetty.server.handler.ContextHandler.loadClass(ContextHandler.java:1583)
at org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitListener(StandardDescriptorProcessor.java:1956)
... 25 more
Apr 17, 2017 3:10:25 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started ServerConnector#768f310f{HTTP/1.1}{0.0.0.0:8081}
Apr 17, 2017 3:10:25 PM org.eclipse.jetty.util.log.JavaUtilLog info
After install the JDK 1.8 all working fine for few hours, all sudden I got the timeout without any HTTP error message this time.
I checked the JENKINS log again and here is what it showing this time.
Running from: /usr/lib/jenkins/jenkins.war
Apr 18, 2017 8:53:27 PM Main deleteWinstoneTempContents
WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
Apr 18, 2017 8:53:27 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Logging initialized #861ms
Apr 18, 2017 8:53:27 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Apr 18, 2017 8:53:27 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Empty contextPath
Apr 18, 2017 8:53:27 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.2.z-SNAPSHOT
Apr 18, 2017 8:53:28 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Jenkins home directory: /data/jenkins found at: SystemProperties.getProperty("JENKINS_HOME")
Apr 18, 2017 8:53:29 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started w.#7e057f43{/,file:/var/cache/jenkins/war/,AVAILABLE}{/var/cache/jenkins/war}
Apr 18, 2017 8:53:29 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started ServerConnector#305ffe9e{HTTP/1.1}{0.0.0.0:8081}
Apr 18, 2017 8:53:29 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started #2826ms
Apr 18, 2017 8:53:29 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
Apr 18, 2017 8:53:30 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Apr 18, 2017 8:53:30 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Apr 18, 2017 8:53:30 PM jenkins.bouncycastle.api.SecurityProviderInitializer addSecurityProvider
INFO: Initializing Bouncy Castle security provider.
Apr 18, 2017 8:53:30 PM jenkins.bouncycastle.api.SecurityProviderInitializer addSecurityProvider
INFO: Bouncy Castle security provider initialized.
Apr 18, 2017 8:53:38 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Apr 18, 2017 8:53:38 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Apr 18, 2017 8:53:40 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
INFO: Failed to instantiate optional component hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl; skipping
Apr 18, 2017 8:53:40 PM org.jenkinsci.plugins.dockerbuildstep.DockerBuilder$DescriptorImpl <init>
WARNING: Docker URL is not set, docker client won't be initialized
Apr 18, 2017 8:53:41 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Apr 18, 2017 8:53:42 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Apr 18, 2017 8:53:42 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Could anyone help me again? As I said it works after upgraded the JDK to 1.8 and it created more than 10 builds in few hours, then stop working again.
Thanks,
version 52.0 of the java class file means, that the java source code was compiled for jre8 and has to be executed with jre8.
Here the class file versions and theire equivalent java versions:
Java SE 9 = 53 (0x35 hex)
Java SE 8 = 52 (0x34 hex)
Java SE 7 = 51 (0x33 hex)
Java SE 6.0 = 50 (0x32 hex)
Java SE 5.0 = 49 (0x31 hex)
JDK 1.4 = 48 (0x30 hex)
This means you have either to upgrade the jvm or you have to downgrade the jenkins version. You can see the jenkins version right down in the corner of your jenkins installation, when you open it in the webbrowser.
Here is the official blogpost for the upgrade: https://jenkins.io/blog/2017/01/17/Jenkins-is-upgrading-to-Java-8/
Since java 7 doesn't get any public updates since April 2015, the best way is to upgrade your jvm to 8.
The solution for me was:
Install Java8: sudo apt install oracle-java8-jdk/stable
Set Java8 as the default java: sudo update-alternatives --config java
Restart Jenkins: sudo systemctl restart jenkins
After this I haven't had any problem with Jenkins.

Cannot connect to the Jenkins slave machine when running Jenkins as a java prgoram

When I set up my Jenkins master using the windows installer version and attempt to connect to a slave machine using "Launch Jenkins via Java webstart", I can connect the slave server to the master fine with no issues.
However, I'm now required to launch the jenkins Master using "java -jar jenkins.war" so I can see the GUI interface being tested in realtime, but I cannot seem to create a connection to the slave machine this way (when I try to access the url on the slave machine, it says it cannot be displayed).
Is it possible to connect with jenkins while it is being run as a java program? Or is there an alternative method I can use?
EDIT: Below is a copy of the console output when I start jenkins on the console.
C:\Program Files (x86)\Jenkins>java -jar jenkins.war
Running from: C:\Program Files (x86)\Jenkins\jenkins.war
webroot: $user.home/.jenkins
Oct 11, 2016 3:07:09 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Logging initialized #279ms
Oct 11, 2016 3:07:09 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
←[33mOct 11, 2016 3:07:09 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Empty contextPath
←[0mOct 11, 2016 3:07:09 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.2.z-SNAPSHOT
Oct 11, 2016 3:07:10 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Jenkins home directory: C:\Users\user\.jenkins found at: $user.home/.jenkins
Oct 11, 2016 3:07:11 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started w.#1aac487{/,file:/C:/Users/user/.jenkins/war/,AVAILABLE}{C:\Us
ers\user\.jenkins\war}
Oct 11, 2016 3:07:11 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started ServerConnector#1154ccd{HTTP/1.1}{0.0.0.0:8080}
Oct 11, 2016 3:07:11 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started #1571ms
Oct 11, 2016 3:07:11 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
Oct 11, 2016 3:07:11 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Oct 11, 2016 3:07:11 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Oct 11, 2016 3:07:14 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Oct 11, 2016 3:07:15 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1
error
INFO: Failed to instantiate optional component hudson.plugins.build_timeout.oper
ations.AbortAndRestartOperation$DescriptorImpl; skipping
Oct 11, 2016 3:07:16 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Oct 11, 2016 3:07:16 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Oct 11, 2016 3:07:16 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Oct 11, 2016 3:07:16 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Oct 11, 2016 3:07:16 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 4 ms
Oct 11, 2016 3:07:17 PM org.springframework.context.support.AbstractApplicationC
ontext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationCon
text#150b22a: display name [Root WebApplicationContext]; startup date [Tue Oct 1
1 15:07:17 BST 2016]; root of context hierarchy
Oct 11, 2016 3:07:17 PM org.springframework.context.support.AbstractApplicationC
ontext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.supp
ort.StaticWebApplicationContext#150b22a]: org.springframework.beans.factory.supp
ort.DefaultListableBeanFactory#1b4a611
Oct 11, 2016 3:07:17 PM org.springframework.beans.factory.support.DefaultListabl
eBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.
DefaultListableBeanFactory#1b4a611: defining beans [authenticationManager]; root
of factory hierarchy
Oct 11, 2016 3:07:17 PM org.springframework.context.support.AbstractApplicationC
ontext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationCon
text#10920bb: display name [Root WebApplicationContext]; startup date [Tue Oct 1
1 15:07:17 BST 2016]; root of context hierarchy
Oct 11, 2016 3:07:17 PM org.springframework.context.support.AbstractApplicationC
ontext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.supp
ort.StaticWebApplicationContext#10920bb]: org.springframework.beans.factory.supp
ort.DefaultListableBeanFactory#1403952
Oct 11, 2016 3:07:17 PM org.springframework.beans.factory.support.DefaultListabl
eBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.
DefaultListableBeanFactory#1403952: defining beans [filter,legacy]; root of fact
ory hierarchy
Oct 11, 2016 3:07:17 PM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 56276
Oct 11, 2016 3:07:17 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Oct 11, 2016 3:07:17 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running

Jenkins gives me blank page

I am getting this error when i start jenkins, which I believe is causing the jenkins to not work. Jenkins page comes up blank. I think the scm-sync-configuration is causing this to happen. It there anyway to workaround this or disable this plugin?
Running from: /Applications/Jenkins/jenkins.war
webroot: $user.home/.jenkins
Feb 08, 2016 12:30:13 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Feb 08, 2016 12:30:13 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-winstone-2.9
Feb 08, 2016 12:30:14 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Jenkins home directory: /Users/sss/.jenkins found at: $user.home/.jenkins
Feb 08, 2016 12:30:16 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started SelectChannelConnector#0.0.0.0:8080
Feb 08, 2016 12:30:16 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
Feb 08, 2016 12:30:16 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Feb 08, 2016 12:30:16 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Feb 08, 2016 12:30:17 PM hudson.plugins.scm_sync_configuration.SCMManipulator scmConfigurationSettledUp
INFO: Creating scmRepository connection data ..
Feb 08, 2016 12:30:17 PM hudson.plugins.scm_sync_configuration.scms.ScmSyncSubversionSCM extractScmCredentials
INFO: Extracting SVN Credentials for url : https://svn.aaa.com/
Feb 08, 2016 12:30:17 PM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Loading plugin scm-sync-configuration
java.io.IOException: Failed to initialize
at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:441)
at hudson.PluginManager$2$1$1.run(PluginManager.java:384)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$8.runTask(Jenkins.java:913)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:57)
at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(UnsafeQualifiedObjectFieldAccessorImpl.java:38)
at java.lang.reflect.Field.get(Field.java:393)
at hudson.plugins.scm_sync_configuration.scms.ScmSyncSubversionSCM.extractScmCredentials(ScmSyncSubversionSCM.java:59)
at hudson.plugins.scm_sync_configuration.scms.SCM.getConfiguredRepository(SCM.java:66)
at hudson.plugins.scm_sync_configuration.SCMManipulator.scmConfigurationSettledUp(SCMManipulator.java:57)
at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.initializeRepository(ScmSyncConfigurationBusiness.java:72)
at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.init(ScmSyncConfigurationBusiness.java:67)
at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.initialInit(ScmSyncConfigurationPlugin.java:174)
at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.start(ScmSyncConfigurationPlugin.java:157)
at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:449)
at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:438)
... 9 more
Feb 08, 2016 12:30:17 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Feb 08, 2016 12:30:17 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Feb 08, 2016 12:30:17 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Feb 08, 2016 12:30:20 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Feb 08, 2016 12:30:20 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Feb 08, 2016 12:30:20 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 2 ms
Feb 08, 2016 12:30:21 PM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 49295
Feb 08, 2016 12:30:21 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Feb 08, 2016 12:30:21 PM hudson.UDPBroadcastThread run
INFO: Cannot listen to UDP port 33,848, skipping: java.net.SocketException: Can't assign requested address
Feb 08, 2016 12:30:21 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Feb 08, 2016 12:30:21 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Feb 08, 2016 12:30:21 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Feb 08, 2016 12:30:21 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Feb 08, 2016 12:30:21 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Feb 08, 2016 12:30:21 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Feb 08, 2016 12:30:21 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Feb 08, 2016 12:30:21 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
I was also facing the same issue after I installed Jenkins and tried to login.
http://localhost:8080/restart
Open this URL. This will restart the Jenkins and it would be fine.
Note: Edit the port number as per your installation.
You can disable the plugin by modifying the plugins directory. Have a look here.
https://wiki.jenkins-ci.org/display/JENKINS/Removing+and+disabling+plugins
Actually it takes some time to load, i think it's made with some async tech like vue, a just waited a little longer e it loaded.
I had the same issue with a fresh install. After a look in the logs I saw something like "could not allocate enough memory" .. a typical error. Will try with more RAM.

Need to know what is wrong here

I'm trying to learn the Struts2 framework.
I got the HelloWorld example form the site:
`www.vaannila.com/struts/struts-tutorial/struts-tutorial-using-eclipse-1.html
The highlighted code is shown as a warning:
<%#taglib uri="/struts-tags" prefix="s" %>
s:redirect forward="helloWorld"/>
Th warning is given below:
Multiple annotations found at this line:
- Unknown tag (bean:write).
- Unknown tag (bean:write).
I get the same warning in my index.jsp file for the code:
and when i run the tomcat, I get the following in my console. I know my tomcat is running but how do i rectify this?
Jun 13, 2012 1:12:28 PM org.apache.catalina.core.AprLifecycleListener init
**INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32;**
**Jun 13, 2012 1:12:28 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:StrutsExample1' did not find a matching property.**
Jun 13, 2012 1:12:28 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jun 13, 2012 1:12:28 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jun 13, 2012 1:12:28 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 735 ms
Jun 13, 2012 1:12:28 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jun 13, 2012 1:12:28 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jun 13, 2012 1:12:31 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jun 13, 2012 1:12:31 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jun 13, 2012 1:12:31 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2586 ms
<bean:write> is struts 1.x you have to use <s:property> in struts 2.x.
See s:property documentation

Resources