IntelliJ - Corrupted Workspace - intellij-idea

My machine crashed and corrupted my .workspace file in IntelliJ IDEA> I deleted the .workspace file and restarted IDEA. It restarted but now I've lost my Tomcat config.
When I try to re-add, the Application Server menu is greyed out.
Can anyone tell me how to get my config back, or at least re-add it?
I've tried the Local History method but I don't see any previous history.

Add the Tomcat app server back under settings and you should be fine. Once you do that, Tomcat will appear as an app server choice again.

I restarted and IntelliJ is now working. I don't know what fixed it because I restarted a few time.

Related

Apache loads other old website after rebooting

I've got a little problem: Whenever I restart my Raspyberry Pi B, an old version of my website gets loaded.
Before the restart, I changed whole files and deleted some. But even the deleted files get restored after rebooting the rapsberry.
It's really annoying if my new website gets thrown away ...
I don't know if it's the Apache service or something different.
Anyone knows a solution for that?
Thanks in advance!

Bring back closed Remote Host Window on PHPStorm

I accidentally closed () the remote host window in a project of PHPStorm and i can't get it back.
It isnt in View->Tool Windows.
And is also enabled in Plugin Settings Page
Ok I succesfully bring it back by browsing Tools | Deployment | Browse Remote Host :D
Please check if the following options are enabled in settings(Ctrl+Alt+S). It goes uncheck if Php Storm crashes. Check the below options and restart the editor. You will layout restored. (sometimes when editor crash and these gets unchecked).
This works for ver 2017.2.1
Also, check Windows->Store current layout as the default just to make sure in the future you can restore the layout.

Remote web server pages do not update after making changes via SSHFS

I've been troubleshooting this for a while now and can't seem to find a solution. I have a remote LAMP server in my office and sometimes need to work from home. I use a SSHFS between my home computer and work to accomplish this.
However, I have run into an issue where when I update the local files, the changes get pushed to the server immediately as they should. I have verified that the changes are there via SSH and VIM. However, if I refresh and even force refresh the page in Chrome the changes do not appear.
I also created a local file which showed up immediately on the server and I could view in Chrome, but any subsequent changes to the file are not rendered.
Any time that I'm in the office the changes are rendered immediately as well.
Anybody have any ideas?
Apache 2.4.7
Sublime Text 3 Editor
Client SSHFS: win-sshfs 0.0.1.5
Server SSH: OpenSSH_6.6.1p1
My guess is that the modified time isn't updated correctly on the remote filesystem. I'm not so sure what would be the fix for this but this at least could be a first trail to follow?
In fact, I just did a little search around and found this bug : https://code.google.com/p/win-sshfs/issues/detail?id=99
With a possible workaround in Sublime 2, I'll let you check if there is such a setting in Sublime 3

Apache server wont start - MAMP

I'm very new to MAMP, when I first installed MAMP the Apache server and mySQL were working fine.
Then I stupidly deleted my root user on the database, and I couldn't access the mySQLadmin screen.
So I uninstalled MAMP and reinstalled, but now the Apache server isn't working.
Anyone got suggestions, for example what logs I should look at? I've researched a few solutions but im pretty confused
I had this exact problem.
Make sure you remove all files from /applications/mamp before reinstalling MAMP! If this doesn't work, it's possible you messed something else up, so you can try installing XAMPP, which offers just about the same functionality as MAMP.

Apache Tomcat Server shutdown yet webapplication is still running

I am using Apache Tomcat 6.0.18, I am running on Windows XP
I have a web application which I place it's war file under webapps folder. The web application runs fine, its just when I run the shutdown.bat the application still runs (as in I refresh the page and it doesn't come up not found).
I check the localhost:/8080 and webpage cannot be found comes up
but when I run localhost:/8080/myapp my application comes up.
I have tried this in both IE and Firefox
Thank you for any help.
I had this similar problem, This can only happen if Apache Tomcat is not configured properly. Best way is to check build path and look for exact directory of Apache.
Example
i.e C:\Program Files (x86)\apache-tomcat-7.0.27
Also look for windows service for start, restart or stop
Run - services.msc
You may want to check this link
i.e
Verify that tomcat is actually down (simplest way is via task manager)
The issue sounds like a caching issue. Try deleting your cache.