Posts

Showing posts from 2012

Why Spring MVC does not display the ${value} on the JSP page

I faced a very dumb problem, I understood it was not a coding problem and that's why it was so hard to solve. I used Spring MVC 3.1 and jsp to display the ${value}. When I got the JSP page, the ${value} did not display anything except "${value}". After few hours of google.....I got the following site which discribes why JSP page did not display the value. http://www.mkyong.com/spring-mvc/modelandviews-model-value-is-not-displayed-in-jsp-via-el/

There is a process already using the admin port 4848 -- it probably is another instance of a GlassFish server; ERROR

After long time later, I am writing my programming blog again. Today, I downloaded glassfish-3.1.2.2-unix.sh. I am running Fedora 16. After successful installation of the glassfish, I was getting error when I ran the the following command: asadmin>start-domain "There is a process already using the admin port 4848 -- it probably is another instance of a GlassFish server. Command start-domain failed." Then I checked my hostname of the machine: hostname I got my hostname is nix-domain Now, nix-domain is not listed in the /etc/hosts file. Therefore, I added nix-domain in the file. 127.0.0.1               localhost nix-domain Now, I tried to run the start-domain again. It started perfectly without any error. Therefore, I understood that my machine assigned hostname 'nix-domain' is not listed in the hosts file, glassfish generated the error. I am hoping, it is not only the solution, there must be other way to solve this problem.