Play Framework: How to Host multiple sites using same Play instance (aka virtualhosts)

Lately I have coded few small services/sites using play framework and I found the need to co-host these multiple sites on a single physcial server.

...read more

Play Framework Unexpected MalformedInputException while Deploying

Few days back while deploying a play application on a ubuntu server, I got following error (this application was running fine in dev and prod mode on a mac)

```scala
play.api.UnexpectedException: Unexpected exception[MalformedInputException: Input length = 1]
at play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(HttpErrorHandler.scala:276)
at play.api.http....

...read more

React Native App - Application X has not been registered

Application X has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent

...read more

Play Framework App behind Apache (co-deploying play application with other sites)

Manytimes we need to host multiple websites/applications on a single host - e.g., say a wordpress (php) blog with a play app or 2 play apps on a single host. One of the simplest way to achieve this is to use apache as a frontend proxy routing traffic back to the right application based on domain name.

...read more

Play: How to read a config parameter from application.conf file (post 2.5.x)

Post 2.5.x release, older approach of having Global objects to access configuration parameters available in application.conf is no longer recommended. Instead, it is advised now to use dependency injection to access these.

...read more

Privacy Policy

At www.webkj.com, the privacy of our visitors is of extreme importance to us. This privacy policy document outlines the types of personal information is received and collected by www.webkj.com and how it is used.

Your forum postings, comments, and other contributions to this site are public. Please use good judgment and common sense when posting anything to this site.

Log Files
Like many ...

...read more

Googlebombs No More

A post at the Google Webmaster Blog reports that Google has at-last added a new algorithm to handle googlebomb problem. It's a welcome addition, though Google should have taken care of this years ago.

...read more

WebKJ - About us

Since the invent of World Wide Web by Tim Berners-Lee in start of 1990s, Web has grown at maddening speed year after year. Today web has become an important part of our experience, and it is effecting the production and consumption of information in all sort of human endeavors..

...read more