I am learning Spring and building a sample app.
I am getting the error:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean name '/list_cars.html' is already used in this file
Offending resource: ServletContext resource [/WEB-INF/springmvc-servlet.xml]
I previously got a similar error ...
Hi all, i'm testing fluent-nhibernate in a small project. I have near 10 classes and when I call BuildSessionFactory method I get a slow response of about 4500ms (too much for a project that runs in about 40ms)
I have identified that the longest method call is Configuration.AddDocument(xxx) in the NHibernate assembly.
I don't set use_r...
Hi all,
I am using Jetty 6 and was wondering when the QueuedThreadPool should be used over the ThreadPool? By default, Jetty 6 comes configured with the QueuedThreadPool.
My server has Java 6 installed so I was thinking that I should use the ThreadPool:
<New class="org.mortbay.thread.QueuedThreadPool">
<Set name="minThreads">10...
Is there a way to apply a rule to a single directory and not its subdirectories without using .htaccess files? I want /var/www/html to order by the Date desc. However, in the subdirectories, I don't want this rule applied.
Right now, I have IndexOrderDefault Descending Date within the /var/www/html Directory tag.
...
Is there a way of specifying the configuration name of a message bean through annotations?
In the jboss.xml descriptor you can have different configurations and bind the beans to a particular config:
<message-driven>
<ejb-name>PushUserAgentBean</ejb-name>
<destination-jndi-name>queue/PushUserAgent</des...
Using VS 2008, C++. I would like to delete all my pch's on a rebuild/build clean. Is there anyway I could add the *.pch files to the list of files to be deleted build->clean or rebuild all? I've looked through Visual Studio options dialog and really can't find anything. Has anyone messed with this in the past?
...
I am running an application which was deployed on JBoss.
There is only documentation for Tomcat, none for JBoss.
I need to change some connector tag attributes to look like so:
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="100" debu...
hello, i am trying to do a project in visual c++ using opencv library of version 1.2. but i cannot proceed forward due to the difficulty in configuring opencv 1.2 in vc++.please anybody help me....
...
Hi I am developing a RIA application using SWING as client,Java WebStart JNLP and Spring on server side using HTTPInvoker.
I am getting the below error message when I am trying to Launch & Run my application from JNLP. But if I run the same as java application it workes fine and communicate with server and fetch data using spring bean.
...
I want to get some thoughts on best practices around making .NET app configuration environment-neutral.
Background. Some background first. I come from the Java world, not the .NET world, and in Java there are certain things that we can do to build packages that are environment-neutral. They are generally based on abstracting the configu...
Hi,
My requirement is to provide:
Userid password based authentication.
Open id based authentication
Url based authentication (its a custom sso impl we have)
in the same project.
I have tried to plug in Spring security into an existing project as (code stripped down for simplicity):
<?xml version="1.0" encoding="UTF-8"?>
<beans:be...
We have a system where the users access a web server, the web server then calls a WCF service.
We would like the call to the WCF service to be made in the security context of the windows identity of the application pool on the web server.
What is the best way to do this? Can it be done purely through configuration in the web.config fil...
I'm in such a trouble now
[root@jiaoyou ~]# cat /etc/issue
Fedora release 10 (Cambridge)
Kernel \r on an \m (\l)
...
I have set up ASP.Net health monitoring in web.config:
<healthMonitoring enabled="true">
<providers>
<clear />
<add name="CriticalMailEventProvider" type="System.Web.Management.SimpleMailWebEventProvider"
from="[email protected]" to="[email protected]"
bodyHeader="Application Error!" bodyFooter="Please investigate ASAP."
subjectPrefix="...
For most of my applications I use iBatis.Net for database access/modeling and log4Net for logging. In doing this, I need a number of *.config files for each project. For example, for a simple application I need to have the following *.config files:
app.config ([AssemblyName].[Extention].config)
[AssemblyName].SqlMap.config
[Assembly...
My app is split up into a configuration tool which writes the configuration and a viewer which just reads and uses settings from the configuration.
What techniques for storing the properties would would be recommended in this scenario? Would XML for the different categories be a good idea?
The apps are developing in C#, on .NET 3.5 an...
Does anyone know how to include NUnit (for example) as one of the available test types in the Visual Studio 2010 "New Project" dialog for MVC projects and / or as an installed template in the New Project window?
From memory, it requires a number of steps including playing with the registry, copying files to specific folders, secret inca...
In my production environment I have several Web applications installed in the same machine. These applications access various web services and two SQL Server databases this means that my web.config files are very big and full of details. Besides this I also have windows services that consume the same web services and access different da...
I have an assembly that provides the class structure for a custom config section. Is there a way to wire up the config section to point to the assembly in a different directory or does the assembly have to be in the same directory as the consuming application or the GAC? If it CAN be in a different directory, how/where would I specify ...
I bought a domain name and am trying to figure out how to configure it responsibly. I haven't set up an index.html file yet and I've noticed that if I hit my domain, I see my file directory tree. and I can dive down to all the files within my browser. Is there a way that I can disable this?
...