production-environment

Maintaining JNDI across multiple instances of Tomcat

I am wondering how people manage maintaining JNDI resources across multiple instances of their Tomcat Application server. Lets take, for example, my database JNDI resource. It is declared within my /conf/context.xml file and references from my apps web.xml file. That JNDI resource has to be independently defined on my development box, s...

Keep Dreamweaver CS3 Tabs Visible When Not Active

I have been using Dreamweaver CS3 for some time now and was wondering if there is a way to keep the tabs that you drag to another monitor(Files, Tag Inspector, etc) to stay visible even when Dreamweaver isn't the 'active' application. On my main monitor I have the Code View, on my second monitor I usually place the above mentioned tabs...

Performance Cost of Profiling a Web-Application in Production

I am attempting to solve performance issues with a large and complex tomcat java web application. The biggest issue at the moment is that, from time to time, the memory usage spikes and the application becomes unresponsive. I've fixed everything I can fix with log profilers and Bayesian analysis of the log files. I'm considering running ...

Unit tests in production release code?

Couple of questions: 1.) Do you unit test release code? 2.) If so, do you then leave those unit tests intact so that the tests themselves exist in the production environment? I see the value in #1, but is it a "good practice" to create dependencies in production to, for example, the NUnit assemblies? Give me your thoughts. ...

Creating C# Winform Development and Production Environments

Hello, I am wondering what is the best way to properly create a Development and Production environment for my C# winforms project. The unfortunate thing is that there is no development environment. Rather, I must specify the publish path each time i wish to create either the Production or Development build. Also since each prod or dev b...

How to limit the effect of client modifications to production systems

Our shop has developed a few WEB/SMS/DB solution for a dozen client installations. The applications have some real-time performance requirements, and are just good enough to function properly. The problem is that the clients (owners of the production servers) are using the same server/database for customizations that are causing problems...

Migrating BO Reports between environments

We have the standard 3 environment setup of development, testing and production. Each environment has their own report server, web server, database server, etc. Part of our migration is to move our business objects (xi r2) reports between the servers but as of right now we need to manually update the connection settings for each report...

Deploying rails application to multiple environments

I am getting ready to deploy to a true production environment. When I say true I mean that my current production environment will now be staging because there is other crap on the server and I am creating a new larger slice for what will actually be my production machine. The capistrano-ext gem has made separating the deploy recipes qu...

Could not load file or assembly 'Microsoft.SqlServer.Types

I have web application which we deployed in a production . We have separate servers for WEB and Database. The DB is SQL Server 2008 and it is hosted on a completely different server and we have our IIS installed on a different server. On my web server, we get following error. Could not load file or assembly 'Microsoft.SqlServer.Types, V...

Common errors when moving a django app from dev to prod?

Hello, I am developping a django app on Windows, SQLite and the django dev server . I have deployed it to my host server which is running Linux, Apache, FastCgi, MySQL. Unfortunately, I have an error returned by the server on the prod while everything ok on the dev machine. I've asked my provider for a pre-production solution in order ...

How should I move my code from dev to production?

I have created a PHP web-application. I have 3 environments: DEV, TEST, PROD. What's a good tool / business practice for me to move my PHP web-application code from DEV to TEST to the PROD environment? Realizing that my TEST environment still only connects to my TEST database; whereas, I need to PROD environment to connect to my PROD...

django - strange template loop failure between dev/prod environment

Hi - I'm working on a django app for a site that requires an image gallery. Since the site is fairly simple I chose not to use a database. In the gallery part, I have a loop in the view that reads all the image files from the image folder, and sends them to the template, where they are rendered inside a loop: import os from django.short...

Getting the production database to work with locally

I'm nearing the stage of saying "lets go live" of a client's system I've been working on for the past few months, basically a few autonomous services including a public facing website, an intranet website, an hourly exporter from a legacy OLTP DB based on modified flags/triggers etc.. and few others services that compose the system, with...

Architecture: using different classes on development / production

Hello, I'm interested about using 2 different classes in 2 different environment. Both classes should share the same structure (methods), but the one used in production would be "light", with less verifications or less funtionnality or different actions. Example: a SQL query class which doesn't check the type/existence of fields. Other...

How can I seamlessly handle migrations in production databases during deployment in Rails?

Is it standard practice to put db:migrate in my capistrano task, maybe before updating the code? I don't want to forget to add a column to production and get errors so I feel like there should be a seamless way to do this. Is there anything wrong with doing it the way I mentioned? ...just wondering what the standard practice is here ...

Is it possible to exclude grails plugin from production environment?

I would like to use certain plugin in development environment, but would like to exclude this plugin from production and from generated war. What is the easiest way to accomplish this? ...

Different Development environment than Test & Production environments?

What would you say if a developer wanted to implement a sql2008 dev environment, but we were still forced to use a sql2000 test and sql2000 production environment? Would there be anything wrong with using sql2008 on a dev server? Of course you'd need to know what functionality you couldn't use, so you didn't have problems migrating you...

Are there any stable and production quality nosql datastores ?

Are there are production quality nosql stores that I can use on a production system. I have looked at cassandra, tokyodb, couchdb etc but none of them seem to be ready for deployments on production like environments. I am talking thousands of requests per minute and lots of reads/writes/updates. My only concern is speed and service times...

Production and Development environment sync

Hi, I have a web app on my computer and on web server with ssh. The problem is that I`m developing the app locally on my computer and I want to sync it with the server not by copying files via ftp. Is there any other way? git? ...

Rails doesn't migrate one table out of 3 in production mode, runs fine in development.

I have three tables: Project, Tasks, and Tags. When migrate the databases in development mode, everything works. But when I run the rake db schema load command for production mode, it isn't migrating the "Tasks" table, hence the app doesn't work. I looked at my production.log file, but there isn't anything there. What am I missing he...