SyntaxHighlighter

Friday, December 03, 2010

missing ) before statement

Javascript original code causing missing ) before error. after some modification using escaped character. Able to fix this issue. Following are the code


 var stringContent = m_infowindow;
infoWindow.setContent("<div id=\"infowin-overlay\""
+"<P align=\"right\"><small>[ <a href=\"#\" onclick=\"clearOverlays(\'" +m_title+ " \');\">Remove</a> ]</small></P>"
+"<br />"
+stringContent+"</div>");

Friday, November 19, 2010

Admin Console not starting after new installation

no error can be found in server.log, following is the only message available

oracle-glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=28;_ThreadName=Thread-1;|Cannot refresh Catalog : Connection timed out

Apparently glassfish is trying to retrieve update information from glassfish update center, by removing glassfishv3/glassfish/modules/console-updatecenter-plugin.jar files will solve the access issue

reviving the blog

Need to create a landing page for google adsense registration. Adsense publisher id is compulsory for getting the google map api