production

Can't access log files in production.

I was trying to run my application and check for some output on the production.log. However Ruby on Rails throws this error. Apache log Rails Error: Unable to access log file. Please ensure that /var/www/somefolder/someapp/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDER...

zend framework auto switch production staging test .. etc

What do I change to switch from production to staging.. etc.. and where.. Bootstrap ? Also, Curious if anyone has configured their Zend Framework to automatically switch from production, staging, test.. etc based on Host information.. example.. if (hostname = 'prodServer') ... blah if (hostname = 'testServer') ... blah I'm new to...

Which version of Silverlight is it the safest to use in production?

How safe is it to use Silverlight in production for a graphic form? Is it installed on most computers, do to Windows Update feature? If so, which version is it installed? What is the safest target version? ...

dev and prod systems in rails

What exactly is the difference in rails between dev and prod environments. When I develop an application in dev mode, do I have peformance problems, or others if I clone my dev environment on prod? ...

Need Insight - What is the best practice for syncing up a production database that will be used on a live site? CakePHP, Mysql

I have a site set up using CakePHP and MySQL and I want to work on a test database without disrupting my live site in case something goes wrong. I have another busy site, but my test site runs off the live database which can be occasionally nerve wracking. What do I do if I change a table name in the test db and I want it changed in th...

application trying to connect to mirrored sql db

Hello, We have 4 web servers that host our asp.net (3.5) application. Randomly, we get error messages like : 1) "Login failed for user 'userid'" 2) "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is corre...

Staging database good practices

Hi, I'm about to deploy to production a fairly complex site and for the first time need a staging environment where I can test things in a more realistic environment, especially with regard to some external services that cannot be run locally. My general plan is to develop & test first locally, push simple changes (small bug fixes, HTM...

Debugging on the production server in Rails

how do you effectively debug on live server in rails, whether on a beta/production server? I tried modifying the file directly on the server, and restarting the app, but the changes does not seem to take effect, or takes a long time to (caching?) I also tried to do "script/server production" locally, but that is very slow The other o...

Push notification not working for the production environment

I have spent a whole day on this already but still didn't go anywhere. When I run my app in the development mode, I can get the push messages I send to myself thru PushMeBaby without a problem. However, when I try to test it in the production environment, I cannot get any push. I re-generated all the certificates and provisioning profil...

How to apply changes without access to svn server

We are using svn for development of a large web application, and we do periodic updates to production. The production server does not have access to svn (for security reasons). What is the best way to push the changes since the last production release for a new release? We would like to avoid re-creating the whole site each time, sinc...

Is node.js ready for production use?

Starting a new project. It's basically a blogging/commenting system. We're considering node.js as the back end server. Is node.js ready for this sort of thing or is it too early and experimental? We need HTTPS and gzip compression - perhaps a front end nginx server could provide this? What's missing from node.js that would make devel...

Smooth redeployment of WAR in production?

I was wondering if there is a 'smooth way' of redeploying a Java WAR to a production server (no cluster, no OSGi)? All I can come up with is stop server, update file, restart server. And 10 minutes beforehand I need to display a maintenance warning on the site. What's your approach? ...

Rails Routing Broken In Production - Caching of routes.rb suspected

Update: Turns out that this problem was because half my mongrel did not restart. Thanks all for help! Hi folks, i have an urgent problem. Essentially, my routing works on my localhost. But when i deployed this to production, the routes does not seem to work correctly. For example, given a new route "/invites" - sometimes i will get a 4...

Forms Authentication works on dev server but not production server (same SQL db)

Hi, I have the same problem as a previously solved question however, this solution did not help me. I have posted the previous question and answer below: http://stackoverflow.com/questions/2215963/forms-authentication-works-on-dev-server-but-not-production-server-same-sql-db/2963985#2963985 Question: I've never had this problem ...

Sitecore publishing target disabled

Hi I'm moving our sitecore production server to a new setup, so have set up a new publishing target for the new server so that I can publish to both old and new during the transition. These are called 'live' (current server) and 'live2' (new server). I have the new database set up and can switch to it and browse it in the content edito...

Using HSQLDB in production environments

I want to use HSQLDB in a production environment for stroring some data in memory and for data export using files. Does anybody have experience with using hsqldb in production environments? Is hsqldb treating server resources gracefully and does it cleanup unused resources properly? I've seen a critical post on those issues from red hat...

New Rails + Passenger deployment half working...not sure why?

I'm in the final stages of going round trip through the entire Rails cycle: development -> test -> production (on an external server). I'm very close...but seeing some errors with the production version and don't know enough about Rails' "magic" to troubleshoot it yet... this works: www.mydomain.com/rails and returns my app's view but ...

Release fixes with only some changes from CVS trunk without using branches.

I have this kind of situation: CVS trunk - all changes, stable ad unstable, are made to trunk. production - major releases are made creating tags on CVS, but minor fixes are made manually, merging only the requested changes from trunk. I'm not allowed to use branches, so I need an alternative solution to simplify or automate the proce...

Continuous Performance Monitoring of .NET Applications in Production?

Given a relatively typical .NET 4 system in an SOA environment (i.e. Windows Server 2008 R2, RESTful Web Services on IIS 7, Windows Services for NServiceBus messaging, SQL Server 2008 R2, etc) what are the best practices or de facto solutions (without enterprise price tag) for performing 24x7 performance monitoring in production? Not n...

Rails won't serve static files in production

Hello I recently updated my app from 2.3.8 to 3.0.rc, but after a while in development environment I tried the production environment. But now it won't serve static files. I use standard development and production environment settings, and have no unique gems for either environments. Everything works like a charm in development, but it ...