Question

One Strange Problem.
I made an application in java using eclipse in which data is retrieved from a database but at the 2nd line it stops responding and also localhost server stops responding...

Class.forName("com.mysql.jdbc.Driver");
Connection con=DriverManager.getConnection("jdbc:mysql://127.0.0.1:8080/testdb/", "root","");

by debugging i notice that eclipse called this exe

c:\program files\java\jre7\bin\javaw.exe

but it doesn't respond.
apache server start but doesn't respond.
and it generate this error file
Apache error.log

Command line: 'C:\\PROGRA~1\\EASYPH~1.1\\Apache\\bin\\apache.exe -d C:/Program Files/EasyPHP-12.1/apache'
[Wed Oct 03 16:27:03.579034 2012] [mpm_winnt:notice] [pid 6776:tid 464] AH00418: Parent: Created child process 5576
[Wed Oct 03 16:27:04.392034 2012] [mpm_winnt:notice] [pid 5576:tid 472] AH00354: Child: Starting 64 worker threads.
[Wed Oct 03 16:27:08.094034 2012] [mpm_winnt:notice] [pid 7088:tid 476] AH00364: Child: All worker threads have exited.
[Wed Oct 03 16:52:36.275034 2012] [mpm_winnt:warn] [pid 5576:tid 700] (OS 64)The specified network name is no longer available.  : AH00341: winnt_accept: Asynchronous AcceptEx failed
Was it helpful?

Solution

I would check to see if MySQL is listening on port 8080. The default is 3306. Did you set up your MySQL daemon to listen on port 8080?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top