I have a web application that's based on Spring and the application contexts, applicationContext.xml and myServlet-servlet.xml contain settings that should be configurable by the sysadmin in deployment.
What's the best way to enable changing of settings like [database server details, remote webservice endpoints, etc] without requiring e...
I used to set Transaction timeouts by using TransactionOptions.Timeout, but have decided for ease of maintenance to use the config approach:
<system.transactions>
<defaultSettings timeout="00:01:00" />
</system.transactions>
Of course, after putting this in, I wanted to test it was working, so reduced the timeout to 5 seconds, ...
I want to encrypt the connection strings in a web.config file in a shared hosting environment.
I have read most of the articles on MSDN on the subject (http://msdn.microsoft.com/en-us/library/53tyfkaw.aspx) and concluded that I need to use RSAProtectedConfigurationProvider so that I can export the config file with key container to our s...
In ASP.NET is there any way to programatically resolve the path to a loaded HttpHandler as it is defined in the Web.config? (i.e. SomeModule.axd)?
...
I'm working on a fairly simple Pylons 0.9.7 application. How do I tell, in code, whether or not debugging is enabled? That is, I'm interested in the value of the debug setting under [app:main] in my INI file. More generally, how do I access the other values from there in my code?
...
I'm building an MVC framework in PHP that will need to set a number of default configuration variables/constants. Example config vars would be where to save log files, whether to log queries, Doctrine settings, amongst many others. Because I want developers to be able to create new projects with minimal fuss, these config vars should hav...
I'm using CMake to generate an Xcode project, and I use
set_target_properties(myproj PROPERTIES XCODE_ATTRIBUTE_WHATEVER "some value")
to explicitly set a build setting. I'd like to only set it for a particular configuration, similar to using
set(CMAKE_CXX_FLAGS_MYCONFIG "-O2")
How can I do this?
...
public interface IPlugin
{
public bool execute();
}
All my "parts" implement this IPlugin interface. My parts obviously have Import/Export requirements/offerings.
I'm writing a build+config system, in which the user dynamically selects what he/she wants, which translates to a set of plugins being called.
For example, here's a lis...
Hi,
We're starting to apply output caching to many of our pages as we start load testing our app. I'm wondering if there is a way to centralize the values we are using, say in the web.config, as we have many pages on which we'll be experimenting with different values.
In general, I just like the idea of being able to change the values...
Application1 has a xml configuration file say:
<Application1>
<ConfigApp1>Value1</ConfigApp1>
<App1Layout>Layout</App1Layout>
</Application1>
Application2 has a xml configuration file say:
<Application2>
<ConfigApp2>Value2</ConfigApp2>
<App2Layout>Layout</App2Layout>
</Options>Others</Options>
</Application2>
I want ...
I've narrowed my problem down somewhat.
When I run "error_log('hey');" from the command line it dumps to STDOUT. But if I run the same code from my web interface (Apache) it puts the error in the error log.
I've checked both ini files, the one Apache is using, and the one in /private/etc (I'm on a Mac running MAMP). Both error_log variab...
Hello,
I have developed a Firefox add-on that needs to save some user-data in the local machine. Right now, I use the filesystem functionality that Firefox provides to create some folders and files in the user's system.
Portability is a problem. I designed it for Windows XP. But, Vista's folder structure is different (inside the app da...
I have a commons-logging configuration question.
I want it to use SimpleLog (instead of java.util.logging) and log all messages with level >= debug (instead of info).
...
Is there a way to make Eclipse able to export multiple configurations of
a single project?
My problem is the following:
I have several java web applications which I develop in Eclipse.
Before I put new versions onto my production server I publish the
new versions to a test server, where the apps run with a slightly
different configura...
I have added some settings to my c# application using the configuration editor. There are three configuration items; two of type string and one of type int. All three have Application scope.
When I compile my application the exe.config file contains two subsections under <applicationSettings>. These are <appName.Settings> containing all...
I'm trying to configure my spring integration and want to use the element, which basically sits between a retryFilter and a queue.
All works fine if I go straight from the retryFilter to the queue, however, as soon as I put the delayer element in between them, the config file fails to be loaded (as happens when there is an error in it)...
I have a web service on iis that i'm calling in a simple console app
this web service is takes stuff out of a database
I changed the data base on a config file but it seems to still be calling the former data base
any tip?
...
We develop web application and we are going to deploy it on JBoss.
Now we use JSF, Facelets, Webflow, JMX, Spring.
We are going to use JMS(ActiveMQ).
Maybe in the future we will use EJB3. But for near future we will not use it.
What configuration of JBoss would be better to use - web, standard, default?
And why?
...
I want to store configuration information about my DLL in an XML file inside my DLL i.e. if changes need to be made the DLL must be re-compiled.
The reason is because its a elegant format and I may not use config files for this DLL.
Any ideas? I literally want to be able to edit an xml in Visual Studio then compile it and only see a D...
I'm planning to use XML configuration files to run SSIS jobs on both development and production servers. I'll be using the SQL Server to store the SSIS packages. I'm wondering if there's a standard place to store the XML files. There's no need to create a project folder for the packages since they'll be stored in the database. So is ...