configuration

Where do you define spring bean configuration files

I am separating my spring bean configuration files as follows: myapp-service.xml myapp-servlet.xml However I am getting the error; Error creating bean with name 'beanName' defined in ServletContext resource [/WEB-INF/myapp-servlet.xml]: Cannot resolve reference to bean 'beanService' while setting bean property 'beanService'; nested...

What names do you use for the “Solution Platforms” in Visual Studio?

The Visual Studio Default config says: “Any CPU”, does anybody change that? If so, what would you use and why? ...

Working with modules in IntelliJ IDEA

As I understand, using modules allows us to control some dependencies. I mean that we can allow one module to interact with another one but not vise versa. We also can make some reusable things and we can make deploying easier, if, for example, put all tests stuff into a separate module and won't deploy it to production. I haven't eve...

IPhone Configuration : is it possible to configure APN programmatically?

Hello everybody, in my iPhone app, I would like to switch from an APN (Access Point Name) to another without using a configuration profile. Does Apple allow a dynamic change of APN ? Do you have any idea ? Regards ...

PHP Sqlite Configuration in Windows Not Working

Hello: I am having difficulty getting PHP(5) on Windows to work with Sqlite. After some research, I found that I have to change the php.ini file so that it reads (without semi-colons): extension=php_pdo.dll extension=php_sqlite.dll I ran the phpinfo() command, and verified that my computer is reading the right php.ini file. Additi...

String format for Castle DictionaryAdapter

I'm using Castle DictionaryAdapter in order to get the application settings from the app.config as an interface ( based on Getting rid of strings (3): take your app settings to the next level ): public interface ISettings { int MaxUsers { get; } string FeedbackMail { get; } DateTime LastUserLogin { get; } } app.config <?xml ver...

What is the most convenient way of handling nested config data in .Net?

I often store application config data in an app.config file in the following format: <configuration> <appSettings> <add key="foo" value="foo value"/> <add key="bar" value="bar value"/> </appSettings> </configuration> This can then be easily accessed at runtime with: string fooValue = ConfigurationManager.AppS...

How to make "PHP Explorer" (project explorer?) area persistent between sessions in eclipse/PDT?

PHP Explorer is the eclipse PDT tab (the leftmost in standard configuration) where you can browse the folders of your project. I believe the same tab in standard eclipse is called "Project Explorer" but I am not sure. What happens to me is that when I close and reopen eclipse, although the files that were open at close time are still op...

postgresql doesn't starts after editing the postgresql.conf

Hi all, I tried to enlarge the value of the "shared_buffers" settings to be larger then a default 24Mb, and the server doesn't starts with other values (I tried some) except of the default one. Just an empty logfile is created. It's a clean installation of the postgresql on the linux server, so all other settings are default. Does anybod...

rake db:migrate gives a uninitialized class variable @@configuration in Rails error

uninitialized class variable @@configuration in Rails /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:19:in `configuration' /usr/lib/ruby/gems/1.8/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:24 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' This is the initial part of the envir...

PHP - Application config file stored as - ini,php,sql,cached,php class,JSON,php array?

I am trying to decide on the best way to store my applications configuration settings. There are so many options. The majority of applications I have seen have used a simple require and a PHP file that contains variables. There seem to be far more advanced techniques out there. What have you used? What is most efficient? What is most ...

What is timeout setting under apache2handler in the php.ini? Does affect session time out?

Hello, I would like to know what the following means under apache2handler in the php.ini Timeouts Connection: 10 - Keep-Alive: 10 I have I problem with session timing out after 10 minutes of inactivity, and I was wondering if the above is what is causing session to time out in 10 minutes instead of 4 hours like I have it below. Cur...

Configure IIS for ftp using Visual Studio for an asp.net application in windows 7

HI can anyone please tell me how to do this please? I can't seem to do this ...

.Net Date Formating

I have made a foolish mistake... I installed .Net before setting my regional settings in XP and now DateTime.Now will set the date as 12/01/2009 instead of 01/12/2009. I'm sure there is an easy way to change this for the .Net runtime config but I can not remember what it is. Help? ...

How Do I disable the button that hides/shows the toolbar in CKEdtor 3.0?

I'm current creating a custom configuration for a CKEditor installation. I got all fixed, besides disabling the toggle button that hides/shows the toolbar. So my question is: "How Do I disable the button that hides/shows the toolbar in CKEdtor 3.0?" ...

How to set up web application servers and all the things needed in linux VPS ?

Hello all im developer with no experience in setup and configurations of the server side and all the things around my question is is there any good place to learn how to setup this env with all the configurations. what should i look for from what to avoid and such . ...

Programatically set WCF timeout in debug mode

I'm using WCF in communciation between a server and client (both written in C#). In release-mode, the timouts should be set to ~20 seconds, but in debug mode I want to set them to a higher value so that I can debug/step in my code without the timeout occuring. I know that I can change the timeouts by modifying the app.config file. How...

How to add file to a previously committed changeset in Subversion?

After migrating from TFS to Subversion, we have found out that one of the files (a branch operation) of a changeset is missing. The tool that we have used implemented branching as delete and add operation separately and in this case it missed to add that file. After hundreds of revisions later we discovered the problem and fixed it imme...

jQuery - make global variable available to multiple plugins

I have a set of jQuery plugins I'm creating for a website. All of these plugin have the common functionality that they make $.getJSON() calls. The URL passed in these calls varies based on Dev, QA and production environments. I would like to store the URL in a central place so it can be easily changed. Where should the URL be stored?...

Add User Settings at runtime in a c# application

I want to add new settings to the user.config at runtime for a C# application (WPF). These settings will be added by independant modules so I have no idea what they will be in advance. Most examples refer to: Configuration config = configurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); But this only allows you to acc...