I am building a client application in c++. So I need to run the server prior to running the project and if possible shut it down when the client exits.
I could not find such option in Eclipse CDT.
Anybody knows how? I'm actually new to eclipse.
...
Is there a way to programatically get Hibernate configuration parameter values, if I have access to a SessionFactory object?
I would like to list the configuration in a GUI view, for debuging purposes.
...
I am using SBT as my build tool for building a Scala project.
My problem is, I can't let SBT download its dependencies to my user home directory. Therefore I am looking for a per-user or even better a system-wide setting to tell SBT to put the Ivy cache directory somewhere else.
With maven there is the per-user settings.xml that can be...
I have a request to install a Linux server (preferably Ubuntu 64bit server),
and Java (64 bit) on the following machine:
Intel Core2Quad Q8200 - 2.33 GHz
8gb DDR2 ram
2x 320GB SATA HDD in soft RAID1 mirror (mirror)
The problem is how to configure system and Java because I need JVM to use more than 4gb of memory.
It cannot be di...
I have configured CodeBlocks with lib , src, bin , include paths for GTK+ , and I have choosen the GTK+ project
I am trying to run the program in http://pastebin.org/366972
But during build I am getting errors - please see http://pastebin.org/366980 .
Am I missing something.
...
Hey guys,
I'm trying to load this module: php_mcrypt.dll'
Everything in the php.ini file is correct, see for yourself:
extension_dir = "C:/PHP/5.2.13/ext"
extension=php_mcrypt.dll
The file exists in this path. And other modules are in there as well and are loaded successfully. It only has a problem with this particular module.
I hav...
Hi every one,
I have a app.config file that in the form of :
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<client>
<endpoint address="http://something.com"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IFileTransfer"
contract="ABC" name="XXX" />
...
I have my validation configuration stored in validation.config in my Business Object project. The config file is set to copy if newer
The business object project is referenced by my web project, therefore, the validation.config copies to the bin folder of my web application.
In my web.config I have the validation configuration redirec...
Hi there,
I've followed these instructions to set up Django with multiple databases. It's working as intended in my local dev environment (win7), however, when I upload the project to my live server (webfaction), I get
ImproperlyConfigured:
Error importing database router MyCustomRouter: "No module named path.to.my.router"
From the Dj...
I'm trying to debug a java shutdownhook problem. These shutdown hooks use SIGTERM + a watchdog thread. I suspect either a bug in the watchdog thread or a bug in my serialization process, but can't eliminate the second possibility, since i can't debug (even writing to file), so i'd like to increase the timeout to debug, but i don't know w...
I'm learning TDD (in Javascript), and I wanted to know, what is the right way to use configuration variables? Should I make a separate class and have them be member variables of the class, and pass an instance of the class to every object that needs it, or make a list of global variables and just use those? What are the benefits / setbac...
I have an existing system that I do not wish to change where I would like to add meta-data/configuration/annotations to an existing user object/entity.
I do not want to change the schema or UI so I am planning on letting the user add this meta-data through a description field of the object where users normally enter in a description. It...
We are using log4j for the logging functionality. The application is running in a Clustered environment. How can I configure log4j properties such that all the instances log to the same log file?
...
I'm trying to add something like this in Machine.config:
<location path="elmah.axd">
<system.web>
<authorization>
<allow users="domain\johnny" />
<deny users="*"/>
</authorization>
</system.web>
</location>
This works great in the application-level web.config, but I can't get it to take ...
I've got an instance of SQL Server 2008 Enterprise with Reporting Services installed also.
I am hosting and administering this locally.
My issue is that when I connect to the Report Manager web application I only get the
Home|My Subscriptions|Help menu in the upper right hand corner.
I am connecting using Windows Integrated Authentica...
Hi there,
On a mountpoint (specifically: /var/data/) I have mounted a 3tb raid partition that stores all kind of data and I would like to share it through WebDAV. So I installed davfs2 on my client and set up the server site by adding:
ScriptAlias "/var/www/webdav" "/var/data"
<Directory "/var/www/webdav">
Dav On
</Directory>
Fina...
Hey all,
I've just started to use codeigniter and I have a question.
I am using arrays for defining certain values like:
$gender = array ('male','female');
Or:
$maritalStatus = array ('married', 'single', 'divorced');
I am using these kind of arrays in different views. My question is, is there a chance to put all of these arra...
This is similar to This question but the answer doesn't solve my problem.
I want to register a default implementation for an interface in code but be able to override that in a config that is read BEFORE the code is run.
I want to do something like
if (!container.IsImplementationRegistered(typeof(TInterface))
{
container.RegisterTy...
I just picked up TortoiseHg to use for distributed source control on Windows and installed it on my C drive. Then I created a repository (located in D:\projects).
When I try to commit the changes, it gives me the error
"abort: None: The system cannot find
the file specified"
in a new window titled "Commit". This causes the commi...
I have a server application that runs on 64-bit Ubuntu server with 4Gb RAM.
When I set JVM (We use Sun JVM 1.6) configuration parameters like this: -Xms1024m -Xmx2560m, I see a strange memory allocation when starting the application (It runs on Tomcat 6).
Ubuntu's "top" command shows that the virtual memory size is almost 3,2Gb. I don't ...