Featured Posts

Integrating GlassFish Application server with Apache... A typical production topology for GlassFish will be a front ending GlassFish with Apache for serving the static files. To integrate GlassFish Application Server with Apache web server follow the below...

Readmore

Some Java, JEE and WebSphere stuffs Rss

Restoring workspace selector dialog box in eclipse.

Posted by Albin Joseph | Posted in Eclipse | Posted on 31-12-2008

3

Restoring workspace selector dialog box in eclipse.

Have you ever selected ‘Use this as the default and do not ask again’ checkbox of workspace selector dialog box? If you happened to select that checkbox, next time onwards eclipse will not ask you for workspace selection again.

To bring back the workspace selector dialog box once again, go to Window -> Preferences -> General -> Start up and Shutdown and select the ‘Prompt for workspace on startup’ checkbox.

reset workspace selector dialog box

Hosting with rosehosting.com

Posted by Albin Joseph | Posted in Personal | Posted on 18-12-2008

2

Hosting with rosehosting.com

I have a webhosting account with rosehosting.com where I host my web sites. They charge the hosting fee from my credit card on every month. Recently my credit card got expired and I forgot to update the credit card information when I received new credit card.

Yesterday when I checked my site, it was offline. I contacted rosehosting team. They said that my site is offline because of non payment and they had sent me an email about this issue one week back. I check my mails regularly and I did not see any communications from them. I was hosting with them for two yeas now. I feel I deserve a better treatment on this issue rather than taking my site offline. If they were not getting any response for their e-mail (In fact I did not get that e-mail) they could have give me a call or they could have send me one more reminder email. They even did not send an e-mail after taking my server offline.

I feel so disappointed and unhappy with the behavior of rosehosting.com. So I am planning to change my hosting company. If any of you guys has any suggestions, please share it with me. I need a good, reliable VPS hosting. I don’t want my site to be offline for another 12 hours. Any recommendations are welcome.

Alerts in Tools Framework

Posted by Albin Joseph | Posted in WebSphere | Posted on 16-12-2008

0

Alert in Tools Framework

Tools Framework uses its own JavaScript function to display an alert message instead of JavaScript alert function. The normal JavaScript alert function does not use UTF-8 encoding to display any message. So double byte character messages will not be displayed correctly. So to address this issue, Tools Framework uses its own JavaScript functions for displaying any messages to the client.

The Tools Framework JavaScript function for displaying an alert is

alertDialog("Alert Message");

Commerce Accelerator Customization

Posted by Albin Joseph | Posted in WebSphere Commerce | Posted on 12-12-2008

0

Commerce Accelerator Customization

I was customizing WebSphere Commerce Accelerator for that last couple of weeks. We are adding a new feature for configuring a product dynamically. WCS does not provide any product configurator OTB and hence no screen was available in Commerce Accelerator to manage the Product Configuration. Our business wants to manage the Product Configuration from commerce accelerator. So the only option available to us was to customize Commerce Accelerator. Customizing WebSphere Commerce Accelerator is a very difficult task. Commerce Accelerator uses a framework called Tools Framework which manages all the state using JavaScript. If someone wants to learn Object oriented JavaScript the best thing to do is to customize some of the Tools Framework components. The biggest issue with Commerce Accelerator customization is JavaScript debugging. CA works only in IE and there are no good debuggers available for JavaScript debugging in IE.

Every time I customize Tools Framework I will think to document how to do this customization. However unfortunately it never happens. So next time when I started customization I need to do the same research again and again. So this time I kept some notes on how to create Wizard, Notebook, Dialog, Tree etc.

I am thinking of some posts that contain these notes on customizing and debugging of commerce accelerator whenever I get some time.

Cannot find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”

Posted by Albin Joseph | Posted in JSP | Posted on 09-12-2008

4

Cannot find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”

‘Cannot find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”‘ is an error message that you might have seen while executing your JSTL code. So if you are getting this error message, the first thing you need to do is to make sure that you have all the JSTL jar files are in your class path. If you have the JSTL libraries in your class path and still you are getting the same error, you will have an older version of JSTL in your class path. Now to fix this issue change the declaration to

<%@taglib uri="http://java.sun.com/jstl/core" prefix="c" %>