configuration

Seam app with JBoss 'minimal' Config?

I'd like to improve the performance of my Seam apps and JBoss appserver, particularly by removing things that aren't necessary in the standard configuration. Ideally, I'd like to be able to run it using the "minimal" profile. Can anyone give me any guidance as to what is needed to run a Seam app using "minimal"? Here are the kind of t...

ASP.NET 3.5 C# custom error pages in webforms application

I'm working on a personal website and I'm using webforms and .NET 3.5 and C#. I'm trying to get the custom error pages sorted but I can't get them to work properly. Not on my local IIS 7.5 as on the external server. It keeps prompting me with default IIS error pages when pages can't be found. How can it be fixed? I've got the following ...

Whats the consensus on Spring p namespace for Beans?

It's been out for a while so I am wondering if people are using the p XML namespace within their Spring configuration files. Is it a helpful shortcut? Is it a good idea that ended up in the trash can? Where does the Java community largely stand? ...

How to remove the explicit dependencies to other projects' libraries in Eclipse launch configurations?

In Eclipse it is possible to create launch configurations in a project, specifying the runtime dependencies from another project. A problem I found was that if you have a multiple project workspace, being possible that each project has its own libraries, it is easy to add explicit dependencies in a secondary project to libraries that are...

How to Configure and run DataBase Mail in SQL Server

How to enable and run Database Mail in SQL Server 2008 . I know that it need Enabling Service Broker Configuring SMTP (a Mail server is needed) Using Configuration Storeprocedure. I don't know what's the relation between application and dataBase mail. Actually How to enable Database mail for a RollBack and Commit Transaction ? (not f...

Problem mapping HttpHandler --> HTTP Error 404 Not Found

I am having problems trying to map an HttpHandler in the web.config. This is the relevant config bit: <httpHandlers> <add verb="*" path="*.hndlr" type="MyAssembly.MyHandler, MyAssembly" validate="false" /> </httpHandlers> When I navigate to http://localhost/myApp/whatever.hndlr I am getting a server error 404 (not found). It's the...

how to change the image of run configuration in eclipse 3.5.2

Hello, I want to change the default image of run configuration in eclipse 3.5.2, but when i open the run configuration window, under the TARGET tab, i'm not getting the 'Additional Emulator Command Line Option'. Help me , if i installed it wrongly or, need to do it in any other way in eclipse 3.5.2. Thanks in advance. ...

Getting Http 403.14 error

Hi Guys, I have a MVC project and trying to host my web site using IIS 7.0 on my local desktop. My desktop has Vista x64 bit machine. I m getting 403.14 error. I have already tried the microsoft suggeston, but that doesn't help me. Does anyone know any other solution? Thnx ...

WCF REST Question, Binding, Configuration

I am working on a WCF rest interface using json. I have wrapped the service in a windows service to host the service but I am now having trouble getting the service to be callable. I am not sure exactly what is wrong. The basic idea is that I want to host the service on a remote server so I want the service mapped to port localhost:76...

Configuring asp.net web applications. Best practices

Hello everybody, There is a lot of configurable information for a web-site: UI messages Number of records used in pagination & other UI parameters Cache duration for web-pages & timeouts Route maps & site structure ... There are many approaches to store all this information also: AppSettings (web.config) Custom sections (web.co...

Configuration file reading. Best practice

Application stores configuration data in custom section of configuration file. This information is used all over the application. Nowadays I use helper static class to to provide access like this (some code omitted or simplified): [XmlRoot("webSiteSection")] public class WebSiteConfig : IConfigurationSectionHandler { public stati...

iphone configuration profile installed via webkit.

Good day! I am using Xcode 3.1.4 and iPhone SDK 2.2.1. I am creating an iphone application and i would need the user to download a custom configuration profile (created by me) from a URL loaded via webkit. I have tested the URL in safari and it downloads and installs the profile just fine. however, the url opened via webkit could NOT do...

WCF doesn't find client configuration

Hi ! I have a WCF service on server B. Then on the machine A is the client, which is a Windows service. In a separate dll stands all the business logic for this service. So my proxy for the WCF is on that side. I have 2 app.config (client side only) : 1 for the service and another one in the dll. So I tried (for test purpose) puting the...

How to store integer in config file but retrieve it as an enumeration?

Hi, I have a class that represents a configuration element: public class ProductLevelConfigurationElement : ConfigurationElement, IProductLevelConfiguration { [ConfigurationProperty("level",IsKey = true, IsRequired = true)] public ProductLevel Level { get { return (ProductLevel)this["level"]; } set { th...

What's the best way to add custom configuration variables in Flex?

We have to deploy a flex app through a series of development tiers. We are not using Blaze_DS or LCDS. My data/service urls are tier specific and are currently embedded in AS files. We'll be building the project on each tier. I'd like to make them environment variables, but am not sure what the best way to do at compile/build. Is ther...

Enable Proxy Authentication for normal windows application.

my company's internet works on proxy server with Authentication(i.e. Browser prompts with window for username/password everytime i tried to access any web page). Now i have some windows application which tries to access internet(like WebPI/Visual Studio 2008 for rss feeds), but as they are unable to popup the the authentication window, ...

What's the best way to use python-syntax config files (in python of course)?

My config file is really just a big python dict, but I have many config files to run different experiments and I want to 'import' a different one based on a command line option. Instinctively I want to do import ConfigFileName where ConfigFileName is a string with the config file's python package name in it... but that doesn't work. An...

Eclipse formatter to keep One-Liners.

Can Eclipse Formatter be configured to keep: public Long getId() { return this.id; } And maybe to format small (one line) definitions as one-liners? ...

How can I assign sequences to constants in the CONSTANTS section of a TLA+ configuration file?

I've tried CONSTANTS seq = <<5,6,7>> but TLC gives me a syntax error: Error: TLC found an error in the configuration file at line 1. It was expecting = or <- and didn't find it. I've also tried to include the Sequences module in the configuration file, to no avail. So... what do I have to do to assign a sequence? ...

App.Config or XAML

Hi ladies(?) and gents, I am currently evaluating my options for a rewrite of the projects I'm working on and I am a bit miffed by the stringly-typed nature of our app.config files. I'd like to move to a more structured approach, so I have two options: Use custom SectionHandlers in the app.config Scrap app.config and use XAML instead...