Hello,
In order to debug failing requests I would like to print all information coming from HttpServletRequest.
Now, it's possible that a request will partially fail (for ex. Several matches are successful, yet one has failed) in which case I would like to catch the exception in the internal method that failed, print the error + the S...
If the correct security concerns are put in place, is there any reason to not serve a directory that contains a GIT repo of production code. The directory is a webroot of an application but if one uses say Apache to deny access to .git files would there be any reason to not do it this way?
...
Say there is a database with 100+ tables and a major feature is added, which requires 20 of existing tables to be modified and 30 more added. The changes were done over a long time (6 months) by multiple developers on the development database. Let's assume the changes do not make any existing production data invalid (e.g. there are defau...
Hi,
After a product is released, we have the need to execute or debug code that has been deployed to the live environment. I tend to use PowerShell to create objects and invoke public functions rather than writing small test applications in C# to perform integration testing on the deployment platform.
For debugging, when the source cod...
A Phusion Passenger error message isn't what I want my visitors to see if they landed on my site while I'm updating the back end.
So how do I get around this? Is my deployment process flawed from the start? or is there something I'm missing out?
Here's my process of deployment, so you get the picture:
commit new updates to a git rep...
link text
I tried all of the answers from the above stack overflow post but none of them worked
When I replace the #!/usr/bin/env ruby with the #!/path/to/my/script/runner and try to run
Rails returns:
/var/www/cmgmail/production/releases/20100810151610/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/conne...
Using the tutorial "Find Stuff (quick and Dirty)" in "Advance Rails Recipes", I can find stuff in the development environment but not in the production environment.
NoMethodError: undefined method `searchable_by'
I have this code in "lib/searchable.rb"
module Searchable
def searchable_by(*_column_names)
@search_columns = []
...
I'm doing research on the maturity of some document-oriented stores, which includes an overview of applications and websites that use the database in production environments. There are several lists and case studies available for CouchDB and MongoDB, including:
CouchDB In The Wild
MongoDB Production Deployments
I'm having a hard time...
The title pretty much says it all...is it a bad idea ? I'd like to have the enhanced debug messages that XDebug provides on the server.
[edit]
Just to make things clear. I'm aware there are security risks involved. Perhaps I should complement my question and give more precise reasons why I would want to do this.
Our production server h...
I'm in a situation where i have to ship a product, a php-based product. Sorry for the general information cause what i really need is an general approach, an approach that will work for any php-product.
...
Are there any tools for automatically moving code from testing to (stage and then to) production?
We are running on a LAMP stack and don't want to rely on FTP access?
Other than that, is there some BASH or PERL script out there for this same process?
Our production servers cannot run SVN or HG which we use for development.
...
I'm looking for a Java Profiler for use in a very high demand production environment, either commercial or free, that meets all of the following requirements:
Lightweight integration with code (no recompile with special options, no code hooks, etc). Dropping some profiler specific .jars alongside the application code is ok.
Should be ...
I have an asp.net website up and running in my production server. I want to get the possible ways of profiling an asp.net website in a production server because my application is really slow? As i say slow i don't mean the delivery of static content but the database operations and my c# code? So any suggestion?
...
I have an asp.net website in my production server which running fine now. Now I am using quartz.net for scheduled tasks and in my development system I have tested it. I want to move it to production server.
My global.asax at present in production server:
void Application_Start(object sender, EventArgs e)
{
Application["Hits"] = 0;...
There has been a lot of discussion over this ability (such as in this SO question, or this github thread) to compile ruby to Javascript. The original version of Red is quite old, but Julius Eckert seems to have picked it up and made it far more usable (and even presented it)
After seeing the community backing up compiling other language...
I have made changes to my global.asax file so i want to recycle my web application to make the changes work. How to safely recycle my asp.net web application in production server? Any ideas..
...
// Java programmers, when I mean method, I mean a 'way to do things'...
Hello All,
I'm writing a log miner script to monitor various log files at my company, It's written in Perl though I have access to Python and if I REALLY need to, C (though my company doesn't like binary files). It needs to be able to go through the last 24 hours, ...
On my development machine my application used up about 4-6MB of memory per request. After switching to a production machine those numbers went as high as 21+MB per request, without any speed improvement (0.30 - 1.2 seconds, which I really hoped to improve on my production machine). Some portions of application (like database bootstrappin...
I have a site developed in asp.net mvc.Is it posssible to run the site as developed on the developing machine directly on the production server without compilation i.e. in the bin folder I will only have the external dll that will be needed and not the project dll.
I will be using SVN:commit the code from the development machine and tak...
I've developed a website in Pylons (Python web framework) and have it running, on my production server, under Apache + mod_wsgi.
I've been hearing a lot of good things about nginx recently and wanted to give it a try. Currently, it's running as a forwarding proxy to create a front end to Paste. It seems to be running pretty damn fast.....