Blank screen when requesting Spring Insight at http://localhost:8080/insight - spring

I get a blank screen when opening the page ...host:8080/insight to view the report from Spring Insight on my web app deployed on vfabric-tc-server-developer-2.9.3.RELEASE
It happens if I start the server from within STS 3.5.0.RELEASE or outside and manually from the command line on my Linux box.
Any clue ?
Kind Regards,
Stephane Eybert

Related

White Line in Console Application

I am creating an console application which take response from server and update information and send back response to server.
During running that exe it shows white line on console.
I stuck to find the solution.
Please refer image for clearity.
Console Application contains WhitLine

After Successful completion of deployment status in Openshift through Eclipse, 404 error page is shown

After Successful completion of deployment status of my Java EE application (Spring ) in Openshift through Eclipse, 404 error page is shown on launching "http://closerbyapp-closerbyonline.rhcloud.com/closerbyapp" url.
Any help to Sort out this problem is highly appreciated.
Did you actually deploy an application at the closerbyapp context? the root context (/) of your application is working and showing the default index.html page that comes with the java cartridges. You should double-check how/where you put your code, and that you added it to git, and what url it should show up at. Maybe provide some of the code you used or steps that you took to deploy the code so we can help troubleshoot it? Along with any logs for your application that might be helpful.

Debug vaadin applications on the client side

I am on an update from vaadin 6 to vaadin 7 and I am trying to find a way to debug the project on the client side. I have tried to launch the debug procedure , but with no effect. I am using Windows 8 and when trying to install the gwt-plugin I see the message:
"The installation of this software is not allowed on this machine".
Therefore I want at least to be able to send messages in the debug window, as with VConsole in vaadin 6. Strangely this deprecated in vaadin 7 class does not respond in vaadin 7 project in my working environment, namely I cannot see the messages anywhere. Any possible reason of that?
It is proposed though to use Logger instead, but I still cannot understand two things:
1) How should the logging.properties look like?
2) Where I see the output of logging messages?
Any other sugesstions would be appreciated.
VConsole.log - whilst deprecated in Vaadin 7- still works. Two things to bear in mind
1) The webapp cannot be in "production" mode - i.e. the productionMode in web.xml must be set to false
2) Typically, you need to be in Debug mode - i.e. add the debug parameter to the request URL in the browser e.g. http://localhost:8080/my-application?debug
See this page in Vaadin Book for more details.
The debug logging will appear in the debug window that appears inside your application. It should also appear in the javascript console of the browser.

Grails message.properties changes not taking effect in deployed application

I have a really annoying problem with a deployed Grails application on tomcat 7
I created a tool in my website that basically allows the site admin to edit message.properties files so that he can change the messages for a certain language as he desire.
All the changes are saved successfully to the file he edited.
In development, while running the website from STS (Soring Source Tools Suite; somethng like eclips) I just refresh the website in the browser and I see the changes instantly, all the changes that made to the message.properties file for the selected language is taking effect correctly.
But in the deployed application (same code same config no errors) the admin do the same thing, edit the resources in the same way as before, the message.properties file is saved with the new values correctly, but, I dont see the changes in the browser, unless I restarted tomcat, or after number of hours!
I've disabled the tomcat 7 caching, and I still face the same problem.
I've spent more than 4 days googling, but all the results are not related to my problem, and most of them are related to hibernate caching.
So, my question simply is as follows:
I want to go to a message.properties file in my deployed grails application, lets say message_en.properties, change lets say default.welcome.message=Welcome to default.welcome.message=Hello, World!
And then open any browser, and see Hello, World! instead of Welcome
Thanks in advance for any help =')
As they say, some big questions have a very simple answer!
Depending on a post I found, in my resources editor tool, I added this code in my action with other few changes in the bootstarp (see link at the end of the answer):
def messageSource
def saveMessageResources={
.
.
.
//my action logic
.
.
.
messageSource.clearCache()
}
and it worked :)
References: http://jira.grails.org/browse/GPAPPENGINE-44
Deployed application will not pick up changes until you restart it. Changes are reloaded on-thy-fly only in development mode for your convenience. It is called "hot-deployment" because only parts that are changed (messages.properties in your case) are applied.
If you want to edit messages in deployed application you can apply alternative solution - localisation plugin that keeps your messages in database.

A web application as a logging frontend for Ruby

I was looking for a web application that hopefully catches log messages sent from Ruby programs and display them , much like the Chainsaw program (in integration with log4r). I tried to Google anything related but with no success so far. Does anybody have a suggestion ?
Thanks in advance.
There is a list of web viewers for log4j logs here. Some of them are web-based.

Resources