Halaman

Tampilkan postingan dengan label Eclipse. Tampilkan semua postingan
Tampilkan postingan dengan label Eclipse. Tampilkan semua postingan

Sabtu, 23 Maret 2013

Eclipse: Cannot create a server using the selected type

I just install Tomcat version 7.0.37 to replace the old 7 version, but the new server could not be add to Eclipse with error message "Cannot create a server using the selected type".

To solve the problem, I've remove these files: org.eclipse.jst.server.tomcat.core.prefs  and org.eclipse.wst.server.core.prefs from /workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings
and delete the old server.

After restarting Eclipse, "Define a New Server", now Tomcat works.

Minggu, 09 September 2012

Eclipse: Tomcat Server ports are already in use

Working with Eclipse IDE, I use Apache Tomcat to hosting applications on Windows. I forgot what I've done when encounter this problem:"Several ports required by Tomcat  are already in use."

Yes, there must be another process using the ports. Apache Tomcat service was not started on Windows Sevices. Also I've checked using web browser http://localhost:8080/ and I got status report 404 message. Yes Apache Tomcat still run and listening on 8080. I suspect that the problem arises because using Eclipse incorrectly.

To list the listening port using: C:>NETSTAT -na | find "LISTENING"

Yes they were running. The running process could not stopped when exit from Eclipse IDE. Oh yeah, i've terminated the Eclipse IDE abnormally using End Process on Task Manager. So I have to kill the PID:

C:>TASKLIST /FI "PID eq 5740"
C:>TASKKILL /F PID 5740







then re run the server from Eclipse environment.

It works.