Sunday, 15 July 2012

apache - Intermittent errors with new code release to existing Mojolicious app -


I'm having trouble with an existing mosaic app I've added some new routes, views, controllers, and models, and The results of the database are returned for viewing by Gulb :: DB :: Object ORM.

I updated the production version today with code that was working very well on Moro. However, on apache2 / plack / psgi mod_perl config, new models are returning 1 times 1 into 1 time 1 times in 10 times.

I have finished several variables, like I can query from the database directly and my results do not get any problems. Older models and their questions always work.

It seems that this new functionality is intermittent only, I have narrowed the request to only one server and have resumed Apache but now it is on the point that I do not understand this That's why this issue continues.

I think it behaves in some kind of mod_perl, but do not know why Apache does not fix it.

Any help or idea would be horrible.

I finally solved it and it became a bit easier. I was recalling the usage statement for my controller in my main application script, where I setup routes I'm not sure why I think it was working in the intestine in the production and working all the time in development. But, once I said:

use TheApp :: Controller :: tag; It works continuously in the main app beam.

It seems like I should have understood it soon, but the fact is that by working with time I started the wrong path down. Hope this will help someone else


No comments:

Post a Comment