configuration

Guidelines for separating distributed application configuration from management from recovery...?

The Java distributed application I work on seems to munge together deployment, configuration, management, crash recovery, etc. I'm hoping to simplify these aspects of the application by separating them more cleanly, but I'm not sure I know where to draw the lines between them. Are there principles, guidelines, or best practices that wo...

Why is my SSIS configuration update not being saved?

I have a SSIS 2005 package that is up and running in our production environment. The package uses an SMTP Connection Manager to send an e-mail message out to a designated user. We have a scheduled job that executes this package, and also overrides the SMTP connection string so that the package can target the test or production mail serve...

Web UI Framework for Configuration

I am looking for a UI Framework that supports the following features: Integrated with Apache Commons Config and/or JFig Supports nested tabs Understands users/groups/roles Can interact with JMX MBeans Doesn't require Javascript in order to function Written in Java and ideally JSP-based ...

How to get Asp.net to Restart when a file is changed

I have an Asp.net application that is part of a match larger system, it reads most of it’s configuration from files that are above the root level of the web application. As the application is already written and the format of the configuration files was chosen to ease editing by customers I can not make use of the solution in “Shared co...

log4net pure code configuration with filter in c#

I am trying to configure Log4Net purely by code. But, when I did with a minimal configuration, I was flooded by logging messages from NHibernate and the fluent interface. So, what I am trying to do is simple. Tell Log4Net to show me onyl log messages of my single class. I toyed around a little bit, but can't figure it out... Can anyone...

How to get configuration element

Helo Can anybody explain me how to get configuration element from .config file. I know how to handle attributes but not elements. As example, I want to parse following: <MySection enabled="true"> <header><![CDATA[ <div> .... </div> ]]></header> <title> .... </title> </MySection> My c# code looks like this so far: public cla...

Is there any way to add sections to .config files that will not be parsed by ConfigurationManager.

Hello I don't want to create separate configuration file for my app but store the data in the web.config. I just want to put some XML there and manually parse it because current implementation of ConfigurationManager isn't appropriate for my case. However, without dummy classes and properties I can't add my XML there without getting ...

AWStats ignore all but one sub directory

I'm using AWStats and I want to ignore everything in a subdirectory except for a particular directory, here is the directory layout: Webroot -dir_1 -dir_2 --subdir_a --subdir_b --subdir_c ... I want to run statistics for everything in the web root excluding dir2 and all its subdirectories but including subdir b. I've tried usin...

Silverlight asp.net WCF authentication 2.0

Can anyone provide some links to good information on setting up Silverlight 2.0 to authenticate to a WCF Service through ASP.NET Forms Authentication? ...

Developer notebook configuration

I want to buy a brand new notebook for out-of-the-office work. I mainly develop using VC++ (vs03) and c# (vs08) on large projects (10 gb builds). At office I've a quad core xeon with 10.000 rpm disk. What hardware, according to your experience, is the best for this kind of work in terms of price / performances / weight? ...

WebReference creates App.config even in library assembly project

Why does adding a web reference to a library assembly project create an app.config file for the project? it will not be used at run time, right ? - as there can only be one root config file per host process (executable), - That's why only executables get their app.configs renamed to "projectName.exe.config" and deployed to output folde...

Can I show different icons for different frames with EmacsW32?

I've created two EmacsW32 frames, one for each of my monitors. I want to be able to alt-tab to the left or right frame when both frames are hidden, but I can't tell them apart because the icon order changes in the alt-tab window. Is there some way to change the icon for a particular frame in EmacsW32 on Windows XP? ...

JSP website pre-database configuration

I'm working on a website in JSP (in GWT really, but on the server side, it's really just JSP), and I need to configure my database. I know HOW to code in the database connection etc, but i'm wondering how/where the database config should be saved. To clarify my doubt, let me give an example; in PHP, a website usualy has a config.php, w...

Read IIS7 configuration from within web application?

Here's what I want to do: My web application is very slow at first until all pages have been precompiled and the cache has been populated. I want to 'warm up' the application in Global.asax by triggering a few HTTP requests to the slowest pages. The problem is that I don't know which port the application is running on. Could be 80 (m...

How do I build Perl regular expressions dynamically?

I have a Perl script that traverses a directory hierarchy using File::Next::files. It will only return to the script files that end in ".avi", ".flv", ".mp3", ".mp4", and ".wmv." Also it will skip the following sub directories: ".svn" and any sub directory that ends in ".frames." This is specified in the file_filter and descend_filte...

What is the Java equivalent to webmin?

webmin is a administration/UI framework for configuring software. I am curious if anyone know what the Java equivalent might be? ...

Is dependency injection parameters for user settings ?

Most dependency injection frameworks support initializing the components being injected with various parameters, typically read from an XML configuration file. This seems like a very convenient place to store settings (like a server name, or a file path that the component will need). But is that the right way to go, or would it make mo...

Part specific settings with MEF

Hi, We have an interface which will be implemented by classes that take care of data transport across the network or com ports for example. Let's call it IDataTransporter for now and we have 2 implementations: ComPortDataTransporter and TcpDataTransporter. Obviously these two require very different configuration. The first has setti...

Dynamics AX 2009 Client config file start path problem

I need to start the MS Dynamics AX 2009 client with different configurations to connect to different AOS. To achieve this, I exported the client configuration into an axc-file, which works pretty well. Now I want to share this file for all clients in our network, but it does not work on some because for some funny reason, the path to the...

Problem with configuring virtual hosts

Some details XAMPP 1.7.1 OS tested on vista and xp Hello everyone. I have some problems with configuring my virtual hosts. Currently I have two sites. Here is my vhost.conf file: <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot c:/xampp/htdocs/site1/trunk/ ServerName site1.local </VirtualHost> <VirtualHost *:80>...