server

Which Ruby web server?

Historically I have used Thin as an application server (for Ramaze apps, but it could easily be for Rails), which receives requests from an Nginx web server. Does anyone have experiences between using Thin/Mongrel/anything else to server Ruby applications to a web server? I am keen to keep things lean and fast. ...

How do I find out what SMTP server is being used?

I've recently taken over the responsibility of looking after a clients website that has been built in asp.net by an ex-employee. (who left in a hurry to work for said clients!) The company is going to be moving over to a php platform in the not so distant future but until then they are having some email delivery issues. NOTE: I'm not p...

Ruby Tcp Server class with non-blocking or mutlithread functionality

Hello Can't find any gem or class which can help to made a non-blocking/multithread server. Does anybody know where to find any ? ...

How To Apply Security Patches

I want to ask 1 simple question in SQL SERVER..... How To Apply Security Patches in SQL SERVER 2000 and above. ...

download a file from server and then delete on server.

ok i am downloading a file from a server and i plan to delete the file that i have downloaded on the server after it gets downloaded on the client side.. My download code is working fine but i dont know when to put the command to delete the file. string filepath = restoredFilename.ToString(); // Create New instance of File...

Can I run Ubuntu Enterprise Cloud on Sun sparc servers?

I would like to deploy a private cloud using Ubuntu Server 9.10. There is a -sparc iso available here. My question is if any of the cloud packages included in 9.10 will work on sparc hardware? A search for sparc on the Eucalyptus forums yields no results. I realize that "commodity hardware" usually means x86 but sparc boxes are what ...

Can't connect to local MySQL server through socket

i m getting error on my site when i upload it. on submitting some pages error comes mysql_real_escape_string() [function.mysql-real-escape-string]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) what means by this? ...

Virtual world help

Hi. I want to start writing a multiplayer 3D game. It will be a virtual world, that user are represented as players. Every player, is a 3D model. I'm going to write this in Java and JOGL, so it will be cross platform and accessible through the web (applet). The server, will be wrriten in C++. When a user clicks with his mouse on some p...

How to create a basic Java Server?

Essentially I want a basic Java Server which multiple people can be connected to and when one of the connected clients (Already coded in Obj-c) sends data to it, it sends it back to everyone who is connected. I'm a real Java Newbie and I'm not going to need Java in the forseeable future for anything but this so I want it out the way as ...

Run Server Application in Client Browser

I am working with a relatively small and simple desktop application whose output feeds into a larger web application that I am working on. I had originally wanted to mimic the desktop app in my web app, so that the end user did not need the desktop app installed locally. I now know this won't be possible. So, if I were to install this...

Creating subdomains on the fly

When one signs up for Blogger or WordPress, one gets very own subdomain that works instantly. How can do like that given I have my own VPS/VDS/Dedicated server? ...

How scalable is Jetty?

Greetings! I wrote a highly scalable HTTP event (long-polling) server in C/C++ using libevent. However, it's messy, hardly portable, and lets face it: it's C. Let alone that I've been having some major issues with the mysqlcpp connector (which is complete trash), and some minor issues with libevent (it could be because I'm using 2.0.1-al...

Sever Explorer and Visual Studion Editing Store Procedure

If there a way to add code to the editor before the store procedure is opened for edit? I would like to include a "Header" to the "ALTER PROCEDURE..." like IF EXISTS... ALTER PROCEDURE ...

Very odd iPhone - Server problem.

Essentially I'm sending data to a Java Socket Server from an iPhone app however something rather strange happens, it doesn't receive the data until the iPhone application is closed! I'm sure there is something I'm missing but I just can't seem to find it, it's all quite odd. Here is how my connection is created: -(CFSocketRef)initSocke...

Log4j error when using unionserver for flash

Hey guys. I am getting the following output when i start my java union server - its a jar and i dont have access to the source code but i think this issue is a log4j properties file error as it works on windows, and not on linux. The error is: log4j:WARN No appenders could be found for logger (net.user1.union.core.H). log4j:WARN Pleas...

Efficient way to stream Webcam from client to a server C#

Hi, I've set up a custom tcp connection between my client and the server. I'm making a simple chat program. So far the users are able to talk to each other and send files. I'm adding a webcam chat and I've used AForge.Net for grabbing the frames from my webcam. But sending these captured frames from the client to the server is taking t...

How to send messages to multiple users?

Essentially I have a basic Java Socket server as you can see below. It allows multiple users to connect and when they send a message to it, it returns it back. However I was wondering how I could edit it so if a user sends a message to it, rather than just sending it back it sends it to everyone connected? So a basic chat server. Any hel...

Java Server Help!

I've followed a tutorial to create the socket server below which allows multiple users to connect and if they send some data to it then it returns it back to them. import java.awt.Color; import java.awt.BorderLayout; import java.awt.event.*; import javax.swing.*; import java.io.*; import java.net.*; class Cl...

Files appending instead of overwriting on upload (SFTP/SSH2)

I have been having weird FTP issues on certain VPS servers. I am not the one who set this up but could request a change if I find out the issue is on the server. Not sure if it is my FTP Program (CuteFTP) or the server it is on. Not to familiar with servers and settings but this seems to be what is happening (I am using the protocol type...

Quick Java LinkedList problem

Basically I'm rather new to Java and I have a problem with understanding a line and getting it to work. Heres the line of code: LinkedList<ClientWorkers> clients = SingletonClients.getClients(); Heres the procedure its in: ClientWorker(Socket client, JTextArea textArea) { this.client = client; this.textArea = textAre...