STS workspace getting corrupted causing STS not able to start - shutdown

STS workspace getting corrupted causing STS not able to start.
I had STS workspace opened for my application. For some reasons the machine got shutdown, causing the STS not able to start later. It goes in to a hanging state, and stuck on some STS GUI plugin loading problem.
Please suggest.
Thanks!

Either you can use a fresh copy of sts, your workspace will remain intact.
Or try running eclipsec.exe instead of sts.exe.

Related

Jenkins- Getting stuck on install initial plugin page

I have newly configured Jenkins, after setting up the proxy it asks to install plugins, i selected few plugins and after proceeding to install them some of them failed and the install bar completes for other plugins but the page hangs forever and i am not able to proceed further.
Please suggest !
restart jenkins using "http://localhost:8080/safeRestart"
It worked for me.
There's a bug report that pretty well fits to the description of your problem: Jenkins- Getting stuck on install initial plugin page. That bug should have been fixed in June (and Jenkins 2.6).
I had the same problem with Jenkis 2.7.3, though. To get the install running, I first removed the installation and started it again. Then I deselected the plugins which have caused the errors and could successfully finish the "getting started" process.
Once you have Jenkins running in normal mode you should be able to install the skipped plugins (didn't try that, though; don't need them).
A simple Page refresh did NOT help me.
I just restarted webapp service, TOMCAT in my case and then a page refresh allowed me to skip and continue to proceed further.
Try this it may help you.
go to this link - http://localhost:8080/safeRestart
go to the Dashboard -> Manage Plugins -> Available tab
Select all plugins and start installing
Jenkins will work after reboot
I had the same bug with Jenkins 2.19.3 on Windows. Resolved by reinstalling Jenkins with full Jenkins directory removal.
Okay let me share my success case of this stupid error.
I was using google chrome and i tried everything, uninstall jenkins complete from the face of my HDD, and reinstalling but non work.
Then i took petty on IE (or on myself for that matter) and i ran the jenkins (localhost:8080) on IE and voila! everything works perfectly.
Hope this help anybody.
well, I am running Jenkins on my remote machine after all the configuration and installing the required plugins the web client dint respond I tried to start it but with no gain.
After digging deeper all I had to do was to restart the Jenkins service and it picks up from where it left.
The reason might be during the installation of the plugins the server is stopped and the additional files are added so during the downtime the Jenkins becomes unresponsive.
hopes this helps.
sudo service restart jenkins
Then go back to refresh the browser.
I faced similar issue and did :
$ systemctl restart jenkins
and re-resumed and later continued and installation completed.
post that setup the first admin user and proceeding next.
Trying "Jenkins 2.277.4" at my local dev box

How to link old Jenkins settings with newer version?

I upgraded my jenkins server from 1.647 to 1.648 and I cannot see my previous settings in the web browser.
I stopped my jenkins server using unload /Library/LaunchDaemons/org.jenkins-ci.plist. And replaced previous .war file in Applications folder. Restarted server using load command and lost previous settings. I know my settings are still on the computer. I can still see my previous settings under Users/Shared/jenkins/Home
I noticed the jenkins server still shows up when I navigate to localhost:8080 even after I thought I stopped the server. (I suppose this is part of my problem). Although I'm unsure what's causing it or how to fix it.
Any help would be greatly appreciated.
I fixed the issue, but still unsure as to why that was happening. I edited my config.xml file to point to the new version and restarted my jenkins server and the computer it was running on

Re-install Windows Service - Fail

I developed a Windows Service project, then I installed.
Then I made some changes in the project, and tried to re-build, but it didn't apply the changes. So, I tried to uninstall and install again, but appears an error: "The service already exists". I try to delete, reboot, but I'm still unable to re-install the service (The same error is showed).
Does anybody know how to fix it?
And when I make changes in the project, I need only stop the service and build the project, that the changes are applied?
Thanks
If the Windows service is merely installed, you should be able to rebuild it without issue. Running it after a re-build will then pick up any changes you've made. However, if the service is running when you attempt to rebuild, you'll run into build issues because the assemblies are in use and cannot be changed. Thus, you have to stop the service first, rebuild, and then re-run the service.
As far as dealing with the install/uninstall issue, you should find everything you need to address the issue here.

Lifecycle exception in tomcat

I'm getting org.apache.catalina.LifecycleException when running shopizer project in eclipse. Shopizer use struts2. Also I'm using tomcat7 to run it. The bad thing is some times it comes and sometimes it don't. When It comes restarting the server is not helping and I have to restart the whole system to get things working again.
open task manager.
kill the process 'javaw.exe'
then restart the server after cleaning tomcat directory and project
it should work..

Jenkins Server Suddenly Fails. Cannot reach GUI

I setup a Jenkins server on a redhat linux VM a while back to run our unit and integration tests. It has worked without much trouble for about two months, but now I suddenly can no longer browse to the GUI/HUB. I don't believe I have changed anything (I know everyone says that :) ) however when I look at the logs I get the following errors
WARNING: Untrapped servlet exception
winstone.ClientSocketException: Failed to write to client
at winstone.ClientOutputStream.write(ClientOutputStream.java:41)
The Jenkins service is running, I have restarted it and the VM with no resolution to this issue. Even the jenkins jobs that I have written are still running as far as I can tell providing emails every now and again, but I cannot browse to the GUI. Anyone run into something like this before. I've searched for this issue and some people have been suggesting to re-install jenkins, but I am not trying to do that!
alright a long time later I finally figured it out. Turns out winstone was not the issue, but rather file permissions were to blame. Some of the files in my jenkins folder /var/lib/jenkins/ had root as their owner rather than jenkins. There were some in .m2 some in .grails and just scattered all about, not sure how this happened.
Anyway I just navigated to the home dir of jenkins /var/lib/jenkins and ran the following command
chown -R jenkins:jenkins jenkins

Resources