opening start page in mamp - mamp

Im having trouble getting into phpmyadmin in mamp, to do this i believe you have to go through the startpage, ive tried to go into the mamp program and click 'open start page' but that takes me to the htdocs folder, ive also tried going to - localhost:8888/MAMP - and - localhost:8888/MAMP/?language=English
But both of these take me to the "Unable to connect - Firefox can't establish a connection to the server..." error page, any ideas how i can get to the normal start page of mamp ?
Ive been fiddleing arround a bit more with it and noticed if i go into preferences > ports > and reset MAMP ports, then go to localhost:8889 - get a string of jiberish followed by „#08S01Got packets out of order

Wow strange it worked out of box for me :).
You sure did install everything and you've started all the services with MAMP Control Panel? Make sure it doesn't kill services when you close the Panel Application in options.

Need to go to Preferences... and Set to Default Apache and MySQL ports. That was my solution anyway. Hopefully someone finds this useful

Related

Unknown Host dl-ssl.google.com , failed to fetch different URLs

This is the error I am getting after starting SDK manager and also while updating or downloading packages(Download interrupted: Unknown Host dl-ssl.google.com). My ADT is also updated to Build: v22.6.2-1085508. I have read all the post regarding this and tried
Using https instead of http while using Help>install new software (getting error could not find https://dl-ssl.google.com/android/eclipse/)
No proxy.
Run SDK with admin privilege.
No firewall blocking .
I am not able to post the image because I am a new user , so i m copying the error and posting it , please don't mind .
This is type of error with many links like this ..
Failed to fetch URL https://dl-ssl.google.com/android/repository/sys-img/android-wear/android-wear-sys-img.xml, reason: IO Unknown Host dl-ssl.google.com
Done loading packages.
Also I have read many answers on this site and other but nothing has helped so far.
Please help me .
Thank you
This might be because of Android SDK Manager not being able to connect to Google server. This article helped me a lot:
Tools > Options... and check Force https://... sources to be fetched using http://...
Just wanted to add how I solved this problem if anyone comes here looking for an answer.
Comodo firewall runs in background even if you disable the firewall and that causes problem with SDK . I had the same problem.
Steps I took to resolve my problem:
run comodo settings
defense+
list active processes
add adb.exe to trusted processes
restart server: run "adb kill-server" "adb start-server"
For Comodo 6.x
Open Comodo
Click Tasks Icon at right top
Click Advanced Tasks
Click Open Advanced Settings
Select Security Settings --> File Rating --> Trusted files from left panel
Click on the upward arrow icon at the bottom
I was also getting same error : Unknown Host Errors while installing ADT plugin in eclipse
Go to Setting -> Default setting -> select "Android SDK" from left side Panel. Select required components Which you want to install. - >Apply -> Ok.
Please let me know if still you are facing issue.
Regard,
Pappu.

Tomcat Server not starting with in 45 seconds

Server Tomcat v7.0 Server at localhost was unable to start within 101 seconds. If the server requires more time, try increasing the timeout in the server editor.
This is my error. I changed time from 45 secs to 101 secs, but the problem remains. I removed eclipse and tomcat and I re-installed again but the same problem occurs; how can I fix this?
Try remove all breakpoints.Also you can increase start up time.
Open the Servers view -> double click tomcat -> drop down the Timeouts section
I got the solution for your requirement.
I'm also getting the same error in my eclipse Luna.
Go to Window -> Preferences.
Then General -> Network Connections.
Then select the Active Provider as Manual.
Then restart the tomcat and run. It will work.
Hope it will help you.
Open servers view, open Timeouts and set up Start
Open the Servers view -> double click tomcat -> drop down the Timeouts section
you can increase the startup time for each particular server. like 45 to 450
I know it's a bit late, but I've tried everything above and nothing worked. The real problem was that I'm using hibernate, so it was trying to connect to mysql but was not able, thats why it showed time out.
Just to let u guys know, I'm using RDS(Amazon), so just to make a test I changed to my local mysql and it worked perfectly.
Hope that this answer helps somebody.
Thanks.
In my case I was using spring+hibernate and forgot to run my MYSQL server due to which hibernate was not getting loaded and thus was throwing error
Disabling my antivirus does the trick for me ...
I also had the issue of the Eclipse Tomcat Server timing out and tried every suggestion including:
increasing timeout seconds
deleting various .metadata files in workspace directory
deleting the server instance in Eclipse along with the Run Config
Nothing worked until I read a comment on a related issue and realized that I had added a breakpoint in an interceptor class after a big code change and had forgotten to toggle it off. I removed it and all other breakpoints and Tomcat started right up as it usually did.
Just go with below points.
Open Eclipse Windows -> show View -> server -> double click tomcat/press Fn + F3 -> Timeouts -> increase start time
Save setting and Restart eclipse also delete .metadata folder from work space if you don't need
Check Now... All The Best
Folks, I had this same problem and tried raising the timeout, deleting the server and creating again and did not work. I was running Eclipse Kepler in Linux. The solution proposed by #Phoenix is what worked for me:
Window -> Preferences -> General -> Network Connections
Set Active Providers in manual and then configure or not the proxy. I had this option in "Native".
Then I realized I had the variable http_proxy set. It was set in the ~/.bashrc file. This environment variable is the culprit of many problems.
Once I set http_proxy to empty
export http_proxy=
to check it:
echo $http_proxy
I was able to leave option "Active Provider" in "Native" and solve the timeout problem. This is useful because Eclipse adopts the native configuration, in case you change it often.
In my case, where I had configured http_proxy in ~./bashrc, I had to close Eclipse and even log out and log in again.
Below worked for me.
Removed all Breakpoints. Then did a clean on server as below.
Right click on server-->Click clean.
I had tried increasing the Server Start up time for tomcat server, removed server and created new server, removed server and changed run-time environment configurations. Those thing didn't work for me. At last, i found deployment descriptor(url pattern of servlet-mapping) is the one that making the trouble.
Just remove or delete the server from eclipse and reconfigure it or add it again to Eclipse.
I had the same problem I deleted the server from the server tab, and also the server folder under your eclipse workspace, restarted eclipse, set up a new server, and it appears to be running OK now.
Just for knowledge..
Also had the same issue and solved it stopping and starting again the mysql service... I think that was some conflict between mysql-service and tomcat.
Good Luck
If some one had the same issue like me about the timeout of the server where you can found it. This response can help you.
Click on window > Show View > Server.
When you are on the server, you will see the server that you have configured before.
After that, right click on your server configuration, go to Properties > General and click on Switch Location.
After you clicking on "Switch Location", the server configuration will be appear on the Package Explorer of eclipse.
Then Double click on the server file in the package explorer you will see where the timeout located.
Thank you.
None of the above worked for me but this -
1. Remove any project if configured already while installing Tomcat.
2. Right click on configured server -> clean and -> Clean tomcat working directory
Did couple of times and the issue resolved.
Thanks.
In my case tomcat was configured to start not on localhost(guess it came from servers.xml connector entry) so Eclipse fails to find it running after start. Changed Host name on Servers tab to my 192.168.xxx.yyy ip.
Had the same error message, though tomcat did start sucessfully, but then Eclipse shuts it down.
try clean Tomcat working directory,it works for me
Well, I tried all the solutions:
increasing timeout seconds;
deleting the server instance in Eclipse along with the Run Config.
None of them worked.
And:
there was no breakpoint in my code;
I don't use any antivirus.
I realized that some people - who had the same problem - were using Eclipse Helios (so was I).
I switched to Eclipse Kepler and it worked perfectly.
Maybe it can be a solution. I wanted to use Helios, but Kepler is okay.
I was too facing similar issue and here I found another solution for it.
I have just started Eclipse Luna and not developed/deployed any project yet. I tried adding Tomcat v7.0 Server and got same error.
In order to resolve the issue I went to Server Perspective (it's actually server tab next to the console tab located below Project code). Double click on Server which is added to Eclipse. It will open up Overview page. Look for Server Location and select Use workspace metadata(does not modify Tomcat location). Now restart the Server and error will go away.
Server > (double click) Tomcat v7.0 Server at localhost > (Overview page) Server Location > Select -- Use workspace metadata(does not modify Tomcat location).
URL pattern of <servlet-mapping>:
Check project explorer → Deployment descriptor → Servlet Mapping → check that all mapping present in controller package. ref. image as below:
if there is any mapping not available, Then remove that <servlet> and <servlet-mapping> tag in web.xml.
Is your browser making calls to the server while it is starting? if yes, you probably should close it
e.g. if your browser is currently set to http://localhost, close it before attempting to start the server.
If you are trying to debug the application on server, just check out the breakpoints. You might had include the whole class as breakpoint. So remove that breakpoint.
This thing worked in my case when i was trying to debug.
Nothing of the above helped me but setting:
-Djava.net.preferIPv4Stack=true
as VM Argument in the VM Arguments tab of the Tomcat Server Debug Configuration Settings
solved the problem.
(Tomcat 8, Windows 10, Eclipse Mars)
Tomcat Server not starting with in 45 seconds
right click on the configured server go to properties->select monitoring -> Add ->HTTP protocol 8080
after run server it will deploy.
I stoped the tomcat on the computer and started the service (tomcat) using the eclipse IDE.
Turns out that MySQL wasn't running in my case. I've started MySQL service, and it worked.
Timeouts:
Start: 200
Stop: 45
..and then Window → Preferences → General → Network Connection.
Set "Active Provider" = Manual (to mark all the checkboxes).
If you are running into this on Mac and you installed Tomcat using brew, one good way to get round that is to install Tomcat using a zip file instead.
Go here, download a zip file, unzip it, and in Eclipse, create a new server and specify "Tomcat installation directory" as the unzipped file.

Eclipse Indigo "unable to connect to repository"

I'm trying to add this repository to Eclipse (Indigo):-
http://download.eclipse.org/releases/indigo
Seems okay when checked in a browser, but I keep getting "unable to connect" in Eclipse, and when I check the URL Eclipse is apparently looking for:-
http://download.eclipse.org/releases/indigo/content.xml
in a browser, I get a "404 not found". The locations for previous releases (e.g. galileo) don't seem to be there either. Have they moved? Am I misunderstanding something?
I tried some of the suggestions in this previous thread:-
Eclipse updates not working
But they don't seem to work (and I'm not using a proxy anyway).
Hemdoar
This worked for me:
Open terminal. Navigate to Eclipse folder.
sudo nano eclipse.ini
at the bottom, add this line in:
-Djava.net.preferIPv4Stack = true
Then ctrl+O to save, ctrl+X to close (it says at bottom). IPv4/IPv6 problems? Solved.
Then delete the cache VonC said to:
<eclipse>/p2/org.eclipse.equinox.p2.repository/cache
(This can be done using "sudo rmdir /p2/org.eclipse.equinox.p2.repository/cache" or by typing "sudo nautilus" into terminal, to open a root-priveleged filesystem browser, than navigating to, selecting the folder, and pressing the delete key). Then restart eclipse, goto Help>install new software>available software sites
Make sure the repos you want (such as "http://download.eclipse.org/egit/updates/") has a "/" right at the end. If it doesn't, delete that entry, and create a new, identical one which does, because Eclipse won't just let you edit it and click ok. Then click ok, and from the combo box choose e.g. the egit link, and lo, it will find it.
Still not working? Window>show view>internal web browser; check it can access internet. Hope that helps!
Credit to:
http://drfits.com/2011/11/13/eclipse-contacting-software-sites-has-encountered-a-problem/
VonC Sep 14 '11 at 6:03
I used VonC's answer to good effect. I also uninstalled a program called webroot. I think this had something to do with it because other programs were also having network problems.
This is because windows IPV6 issue. Try adding the following VM option in the eclipse.ini
-Djava.net.preferIPv4Stack=true
Can you connect to internet at all through Eclipse?
Open the internal webbrowser. In Eclipse: Window -> show view -> Other -> General: Internal web browser.
Look up any normal adress, is it working?
Can you connect to another update site? Try for example Eclipse Emma: http://update.eclemma.org/ Do you see anything there?
What are your proxy preferences? Go to Window -> preferences -> General: Network connections.
The active provider:
Specifies the settings profile to be used when opening connections. Choosing the Direct provider causes all the connections to be opened without the use of a proxy server. Selecting Manual causes settings defined in Eclipse to be used. On some platforms there is also a Native provider available, selecting this one causes settings that were discovered in the OS to be used.
If internet is working fine outside of Eclipse, try changing to Native. After that, try Direct.
I have encountered problems where an update site would not load, then I had to remove it and add it again. This forces Eclipse to reread the contents of the site even if it has a cached copy. So, if you still get no connection to the indigo update site, but everything else is working, try that. Go to Window -> Preferences -> Install/update: Available Software sites. Then remove and add the indigo site. Just remember to copy the adress so you can add it again.
As suggested in a comment below by #lostiniceland, this is a simpler way to achieve the above:
Goto Preferences -> Install Update -> Available Software Sites => select the entry and click the "Reload" button to the right. This is sometimes also helpful when you have a local updatesite for testing custom plugins
first resolve proxy conflicts and if then too eclipse is not getting connected to internet *turnoff your firewall/antiviru*s and try again
To resolve proxy conflicts:Go to windows->prefernces-general tab->network settings
if you dont use proxy settings, cgange native to direct
if you use proxy, chenge native to manual and fill details of proxy for http and https by pressing 'edit' and clear SOCKS tab by pressing 'clear'
check if your SOCK is disabled on operating system too. or doing it open to 'Internet options' dailog box. Go to connections and press lan connection. press 'advanced' button ans clear the textboxes in front of 'socks' and uncheck the msg saying 'use same address for other network protocols'
I did this and worked for me
If you are using Fiddler2 (or any other web sniffer/debugger tool), it may be your problem, as it acts as a local proxy.
Sometimes, even if its not running, I find myself obligated to start it and disable traffic capture.
Hope that helps!

Eclipse updates not working

I have installed Eclipse 3,6 on 64 bit Windows platform.
When I try to connect to update sites by going to Help->install new software it gives following error:
Unable to connect to repository
http://download.eclipse.org/releases/galileo/content.xml
Connection refused: connect
I have tried all available sites - they all give me the same error.
Dialog box shows: Provision exception.
Any idea what's happening?
In Eclipse (go to Window > Preferences > General > Network connections).
Select "Active Provider" as "Manual".
Select HTTP and click edit.
Enter the host and port
Select "Requires Authentication" and enter the username and password.
Repeat Step 1 to 5 for Https.
In "proxy bypass" section click "Add host"
Enter http://download.eclipse.org/releases/galileo/content.xml and OK
After spending an entire week with the issue, this solution finally worked for me
Maybe you're behind a firewall, and need to access the web through a proxy. Have you set a proxy in your web browser? If so, you need to set the same proxy in Eclipse (go to Preferences > General > Network connections).
Well, try to enter this website: http://subclipse.tigris.org/update_1.6.x
If that link works, then it's not your fault. I've tried your link, and it doesn't work for me either.
If the link I gave you doesn't work either, then the problem is on your side and you need to check your network settings.
If you are behind a firewall, have set the proxy settings in the preferences correctly and it's still not working, Try setting -Dsun.net.client.defaultReadTimeout=<"amount in ms, e.g. 30000"> in the eclipse.ini worked well for me. It looks like Eclipse has a quick timeout on that updatesite search. Some proxys can slow the process down by a few seconds and you get a timeout before the updatesite is loaded completely

ColdFusion debugging problem in Eclipse (Break points not hit)

I am trying to get the debugger (CF extension for Eclipse) working for last few hours. And struck in strange situation.
My settings are listed below
ColdFusion 8
Eclipse 3.4
I set up the RDS & modified the JVM.config settings and verified the connection & debugger, both returns successful in test run. But When i attach a debugger to the site, breakpoints are not hit.
My Eclipse workbench & site virtual directory pointing to the same path. It is in a remote server.
I left Eclipse-CF mapping blank since both pointing the same remote path.
And i am using WYSE thin client emulator.. does it anything to do with this..?
Can someone help me to resolve this problem?
Cheers
If your eclipse configuration is ok, could be that something is not confgured right on server side. Check if Line Debugger Settings > Allow Line Debugging feature is enabled and that Debugger Port (5005) is opened and accessible form client machine.
Articles that should walk you through proper setup:
http://eclipse.sys-con.com/node/382427
http://www.adobe.com/devnet/coldfusion/articles/debugger.html
Also you could try using CF Builder and/or FusionDebug http://www.fusion-debug.com/fd/ .
You do need to specify at least one mapping. Eclipse needs to know what folder in your project maps to the http root. Even if the mapping is / -> /, you need to specify that. The only time you can leave mapping blank is when the CF server is on the same machine as Eclipse.