Monthly Archives: August 2010

MySQL Double Field

MySQL doesn’t have a money field. So you end-up using double datatype to store Money values. Make sure you’re removing the ‘$’ character and commas from your money values before storing. Otherwise it would end-up truncating your values. For example: … Continue reading

Posted in MySQL | Leave a comment

Failed to start Glassfish Server

I was getting following error, while starting the GlassFish Enterprise Server v2.1 (9.1.1) (build b60e-fcs). And it failed to startup. [#|2010-07-07T17:55:38.663-0500|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=592002e1-2f4e-44e3-b7da-1cc5af8129da;|CORE5071: An error occured during initialization com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://REMOTE_IP:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to … Continue reading

Posted in GlassFish | Leave a comment