Deployment error:Starting of Tomcat failed, the server port 8080 is already in use

goto command prompt netstat -aon for linux netstat -tulpn | grep ‘your_port_number’ it will show you something like TCP 192.1.200.48:2053 24.43.246.60:443 ESTABLISHED 248 TCP 192.1.200.48:2055 24.43.246.60:443 ESTABLISHED 248 TCP 192.1.200.48:2126 213.146.189.201:12350 ESTABLISHED 1308 TCP 192.1.200.48:3918 192.1.200.2:8073 ESTABLISHED 1504 TCP 192.1.200.48:3975 192.1.200.11:49892 TIME_WAIT 0 TCP 192.1.200.48:3976 192.1.200.11:49892 TIME_WAIT 0 TCP 192.1.200.48:4039 209.85.153.100:80 ESTABLISHED 248 TCP 192.1.200.48:8080 … Read more

Tomcat vs Pivotal tc Server

Pivotal tc Server contains all of vanilla Tomcat, and has a few optional extensions designed to make it easier to deploy and maintain. Broken out into three groups, the diff looks like this: Configuration extensions (No altered code, just config changes we implement) Multi-Instance using shared binaries Trivial to change Tomcat versions while preserving app … Read more

Multiple fetches with EAGER type in Hibernate with JPA

The root cause of the problem is that when Hibernate fetches SQL query results there is no simple way to tell which child element belongs to which collection. See this blog entry for more detailed explanation with an example. To summarize you have following workarounds: Load each collection separately using subselect @Fetch(FetchMode.SELECT) Force usage of … Read more