configuration

RabbitMQ database files

I'm running RabbitMQ V.2.0.0. on a Linux machine. The mnesia base is current the default, but the within that directory Rabbit creates directories, eg. [email protected]. The ip in the directory name is based on the inet addr of the machine. This directories hold information about user, exchanges, vhost (I think). My question is,...

Maven output with displaying plugin+goal+project for each line as prefix

I really start to be fed up with my not knowing exactly what is happening inside a Maven build. Can I add extra info to console log like MDC in log4j? I want to see the followings for each line: plugin coordinate/goal project name/id/something Do you know how to do this? Is there a log configuration somewhere? I expect something like...

How to prevent/extend idleTimeout in IIS 7?

In IIS7, the processModel.idleTimeout property can be set in an application pool. A worker process will shut down after this specified period of inactivity. However, I use Application_Start to run a number of jobs. If there is no visitor to the website the jobs would be disposed and will not run on time. In IIS 7, the Regular Time Inte...

Eclipse: Setting up Run Configuration for HTML/Javascript Files

I want to use Eclipse as my editor for HTML/Javascript files. When I "Run", I would like to see a browser (any one of Internet Explorer, Firefox, etc on Windows) launched for my file. How can I set up a 'run configuration' to do this? ...

Changing applicationSettings key in app.config file and still allowing VS2010 to manage settings.

I have a C# WPF application that use several library assemblies. I was wondring if there was a way to change the key 'applicationSettings' in the app.config file and still allowing VisualStudio 2010 to manage the settings in the project tab. These library assemblies that the default settings in the project tab of VisualStudio. They al...

Jetty - set system property

I run webapp on Jetty. The configuration for the app come from file that lives on the same server where Jetty is running. Inside the app I rely on the system property to obtain path to the file so I can parse it. E.g. final String loc = System.getProperty(FACTORY); Now I can start jetty with D switch to provide $FACTORY on the command...

installing opencv on windows(W32) to be used with code blocks.

hi everyone. i am trying to use opencv library with code blocks(8.02).i have installed opencv2.1. when i include the headers and link the library its all fine.i have gone through http://opencv.willowgarage.com/wiki/CodeBlocks tutorial as well.but when i compile the project it reports no error or warning.it just says exit with status 1. ...

Running a django project in a subdirectory of a site already running Drupal

Hi guys, This problem has been bugging me for the last week or so and now I am coming up on a deadline. I have a site on a Media Temple DV server that is running Drupal in the webroot (servername.org). I am adding a django site and I would like it to be located at the url servername.org/myproject. I have build the project (in a directory...

Simplifying compilation with each of a list of options

I've got a list of definitions: MASTER, SLAVE0, SLAVE1, ... SLAVE9 to control which array of audio data is programmed into a microcontroller. The micro can hold no more than one sound file, so I have included the following definitions at the top of my main.c file: #define MASTER #define SLAVE0 #define SLAVE1 .... #define SLAVE9 Then...

noob mac user - developer directory conventions

I just got a Mac Mini OS X Server. This is my first foray into the Mac world. Wanting to get off on the right foot as I configure my machine, which will be used principally for software development (java, groovy, grails, javascript, etc.), I am wondering what conventions are typically followed as you install software tools, locate your p...

Tomcat6 configured to use SSL does not work

I am trying to setup SSL to my web app and followed tutorial (http://techtracer.com/2007/09/12/setting-up-ssl-on-tomcat-in-3-easy-steps/), then hitting http://localhost:8443 returns "unable to connect" Environment: Tomcat6, windows 7 Tomcat6 is up and running, http://localhost:8080 displays tomcat page. Below is the step I took so fa...

Zend Framework: How to set default mail transport in configuration file?

I know that default mail transport could be set in bootstrap file but how to do it in app.ini file? Basically I want to use smtp transport on local windows system and regular mail transport on production server. Edit: I'm already using these settings in app.ini . Thanks. ...

Avoid using isset in PHP when accessing $_POST, $_GET, and other variables?

Hello all, how can I prevent PHP from returning an Undefined variable error every time I try to check a variable if it has contents and that certain variable hasn't been used yet? In my previous setup, I can check $_POST['email'] even if I haven't put anything into it yet. It simply returns a blank or empty result. That's how I want my P...

How to configure mouse enhance pointer precision programatically

How to configure mouse enhance pointer precision programatically in C++? I know that have some useful commands like SystemParametersInfo, for speed, ... int x = 15; SystemParametersInfo(SPI_SETMOUSESPEED, NULL, reinterpret_cast(x),SPIF_UPDATEINIFILE | SPIF_SENDWININICHANGE ); ... but I cannot find enhance precision---- ...

Integrating Team Foundation Server with external quality/configuration mamanegement systems

I'm evaluating Team Foundation Server and am interested to know as much as possible about integrating it to external systems in particular the (custom) ones we use for source control and issue management. Has anyone got any experience/insight/links to share on this topic? ...

Why can't I find my app.config file?

I was under the impression Visual Studio 2008 (and probably other versions) already made an app.config file for Forms applications. I've edited the app.config on multiple occasions without creating a new app.config file. However, I just created a new application and I can't find the app.config file. I hit Show All files and it still d...

Publishing messages to a JMS server on another machine ....

Hi, I need to publish messages to a topic on a JMS server running on a different machine. The server on the remote machine is Glassfish v3 (OpenMQ). From reading other posts here, I think I need to tell the remote broker to accept JMS messages from a different IP than his own i.e not localhost. Actually, I'd like that remote broker to a...

asp.net application - configuration implementation.

I am working on a web app that will heavily rely on configuration. The configuration is also will be written by another process or human. I am looking to get response on best practices in .net 3.5 on how to implement this case. I had used the configuration section of an early version of the Enterprise Library Applications Block. I really...

Confused about jetty-env.xml

I have a webapp that uses JNDI to locate a datasource and a transaction manager. I see from the Jetty documentation how to do this via the jetty-env.xml file. However it mentions that this file should be put into the WEB-INF directory. Why would they suggest that JNDI resources be configured in a configuration file that is located i...

Automatic Proxy Configuration

I have a PAC file on my server with the following code: function FindProxyForURL(url, host) { return "PROXY proxy.example.com:8080; DIRECT"; } According to the WIKI page here - http://en.wikipedia.org/wiki/Proxy_auto-config, this means that "should this proxy fail to respond, the browser contacts the website directly, without using...