server

Android! SORRY! APP Stop Unexpectaly.. Trying to load image from website keep getting this error

public class test extends Activity { ImageView imView; ImageView imViewLine; String imageUrl="http://www.web.com/app/"; String FileType = ".png"; int imageNum = 0; Random r; int count = 0; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { ...

Critically efficient server

Hi, I am developing a client-server based application for financial alerts, where the client can set a value as the alert for a chosen financial instrument , and when this value will be reached the monitoring server will somehow alert the client (email, sms ... not important) .The server will monitor updates that come from a data genera...

will changing all code to object oriented make memory usage bigger or smaller?

There is a project written in PHP that is just simply all procedural ... step by step calling DB functions, processing, and printing out the output. And then it is changed to totally object oriented -- there is a singleton for the App object, and various functions are invoked through the App object. Someone claims that the memory usage...

Multi-server monitor/auto restarter in python

I have 2 server programs that must be started with the use of GNU Screen. I'd like to harden these servers against crashes with a Python based program that kicks off each screen session then monitors the server process. If the server process crashes, I need the python code to kill the extraneous screen session and restart the server with...

How does a Bugzilla server work?

We have bugzilla installed on a computer which we would like to act as a server. I have yet to install bugzilla on my computer, the client. Can you point me to some references which describes how Bugzilla works as a server? What I would like to do is file bugs from client computers and this will be reflected to the Bugzilla server. How d...

Application Server

What are some factors that would drive me away from using Tomcat in production for an enterprise application. My company is not big, but a few departments, and it will be a dynamic site (db, web services). I am not planning to use EJBs, but Spring and POJOs. Beside EJBs, is there a technical reason about an application that would necessa...

SVN server for the Mac that's easy to set up?

i have tried VisualSVN server for the PC, and it seems pretty easy to install and use. The only catch is that my PC with Vista does crash, or can become not so responsive sometimes, so I am thinking of using an SVN server on the Mac instead. is there one on the Mac that is easy to install and is reliable too? ...

Server cannot set content type after HTTP headers have been sent

I need to render a pdf while clicking a button. i am using the following js code: function RenderPDf() { //for window.open("/Resources/RenderPDF", "", 'toolbar=no,titlebar=no, directories=no, location=no,status=yes, menubar=no, resizable=yes, scrollbars=yes,width=1010, height=680,left=0,top=0'); ret...

Flash Whiteboard: Actionscript 3

I'm looking for a flash Actionscript 3 tutorial on how to create a whiteboard application with flash media server 3.5. Please anybody have any ideas where I can start looking for this information? ...

How do multiple servers work in sync for web application

Ok, I am a n00b at web applications, databases, servers etc. However, I have been trying to learn by going through questions in stackoverflow and also everywhere else on the web. I have two related questions here. My first question is, I often read about people using multiple dedicated servers to run their websites, and process queries...

How to kill process started by a service on Windows 2000 Server?

I need to kill a process on a Windows 2000 production server, which was started by a windows service. However, doing that from the GUI just gives me "Access denied", so now I am considering to create a small application or script to do it. I only have occasionally access to the GUI, I do not have usernames, passwords etc. for the server....

How to convert an HTML to PDF in PHP using FPDF Lib 1.6

I have a web page (XHTML 1.0 Transitional) which I want to convert to PDF on server and mail the same to an email id as attachment. The web page is dynamically loaded with information that comes from 4 different table from MySQL. So it is not a static HTML page. The solution should work on almost servers whether they are linux or windo...

How does a non-forking web server work?

Non-forking (aka single-threaded or select()-based) webservers like lighttpd or nginx are gaining in popularity more and more. While there is a multitude of documents explaining forking servers (at various levels of detail), documentation for non-forking servers is sparse. I am looking for a bird eyes view of how a non-forking web ser...

producer/consumer problem with python multiprocessing

I am writing a server program with one producer and multiple consumers, what confuses me is only the first task producer put into the queue gets consumed, after which tasks enqueued no longer get consumed, they remain in the queue forever. from multiprocessing import Process, Queue, cpu_count from http import httpserv import time def w...

Applet (or WebStart application) calling a server : best practices ?

I'd like to write an applet (or a java Web start application) calling its server (servlet?) to invoke some methods and to send/retrieve data. What would be the best way/technology to send and to retrieve those message ? ...

Getting JBoss 4.2.2 work on Eclipse 3.2

Hi guys, I am on a very very slow Internet connection where downloading big packages like Eclipse or JBoss is next to impossible. I often have to buy books that come with CDs to install such things on my home PC. I recently could get Eclipse 3.2 with WTP and JBoss 4.2.2 (for EJB3). But sadly found that the JBoss server definitions in ec...

Home Server on new IP Pool allocation

Hi I have a server with an internal address of 192.168.1.100 I have moved to a new home and the IP Pool of the current router is 192.168.2.x Is there a way I can make the router discover this server without having to change the internal IP address? I dont have a KB or Mouse to get in and change the IP of the server at this time :) A...

Chunked transfer decoder, code snippet for C

I'm making a http server that merely allows access to my folder, download the files in it and also uploading to a folder. So far I have already done most of it, the only thing left is the uploading of the files. Whenever I receive files from a client, they send chunked datas. Which I dont understand to decode. All I need is a function th...

Redefine signal handling flaws

This is about the design decision and understand the procs and cons for adopting another service. So we have two services with two unrelated servers, one listening on port 10000 and another is a xinetd server responding 3 different requests via 3 different ports (its client uses nc server port1|port2|port3 to retrieve data). One day be...

A good, free, simple, non-"trial" local SMTP server for development?

I'm running Windows Vista on my development machine... tried four SMTP servers so far (2 crashed, 2 turned out to be trial ware after being promoted as "free"). So I don't have IIS6 SMTP available. Do you know any simple, hassle-free SMTP server that I can use? I need absolutely no bells and whistles. All it needs to do is listen on por...