How to convert a DTED (Elevation) File to a Raster

Problem with Running Tomcat with Eclipse

26. October 2011 16:53 by Scott in   //  Tags: , , ,   //   Comments (0)

I had a problem running Tomcat through eclipse and received this error:

Port 8080 required by Tomcat v7.0 Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).

I needed to figure out what was running on port 8080 and couldn't find any other tomcat item.  I needed to shut down what ever was running on port 8080 so I could run tomcat through eclipse.

So this is what I figured out.

  1. Run this command: NETSTAT -p tcp -ano
  2. find the service running on 8080.
  3. read the PID.
  4. Press Ctrl+Alt+Dlt and go to the processes tab.
  5. Goto View->Select Columns-> Enable the PID column.
  6. Find the PID that matches your cmd list results and go ahead and kill it.

That should work and glad I could help.

Pushing Large Files to Android Using Eclipse Tip

10. March 2011 17:12 by Scott in   //  Tags: ,   //   Comments (0)

I was pushing large files to the Android Emulator lately.  We are talking above 100mbs a piece or more.  When I uploaded them in Eclipse, they would break and not upload about half way through.  It took me a few hours to keep trying till I got frustrated.

So I found a tool inside the Android SDK Folder under the platform tools folder.  Its call adb and it needs to be run with the command line.  This tool actually worked and I was able to watch it work via the Eclipse DDMS view.

So if you need to upload large files for any reason and eclipse is failing you, use the adb tool.

Example:

C:\Program Files (x86)\eclipse\android-sdk-windows\platform-tools>adb push C:\UsersAndroidCs2\Map.db /mnt/sdcard/mapdata/Cycle_Map.db

One Error I received before I found this tool:

[2011-03-10 16:10:17] Failed to push the items
[2011-03-10 16:10:17] (null)