server

python and matplotlib server side to generate .pdf documents

hi ! i would like to write a server side python script that generate .pdf documents. for the moment i have Python 2.7 installed server side and matplolib installed server side too. A simple script that create a simple plot and generate a .png picture works. this is the script i use : # to access standard output : import sys # selec...

How to change Rails 3 server default port in develoment?

On my development machine, I use port 10524. So I start my server this way : rails s -p 10524 Is there a way to change the default port to 10524 so I wouldn't have to append the port each time I start the server? ...

Server failure: BUG gc_sweep(): unknown data type 0x0

My server keeps crashing. It is especially bad in localized parts of my app where the rest is fine. On one major page it is now happening every time. I've spent over an hour cutting out parts of code, restarting the server and seeing where it fails (i.e. whenever any segment of content is inserted), but my code doesn't seem to be reasona...

Handling TCP Streams

Our server is seemingly packet based. It is an adaptation from an old serial based system. It has been added, modified, re-built, etc over the years. Since TCP is a stream protocol and not a packet protocol, sometimes the packets get broken up. The ServerSocket is designed in such a way that when the Client sends data, part of the data c...

Connecting between iPhone and server

Hi, I am iPhone developer. I have used JSON framework to communicate between iphone and server, send and receive response. But besides JSON, I would like to know more framework that allow us to communicate between iphone and server. Do you suggest some framework? Thanks and best regards ...

how can i know in which state a server is located?

hi, i working on a project which compare between load time of websites on different server around the world. in my project i need to buy a spot for a website in several servers but i don't know in which country the server is actually located. i found an add-on in firefox called "flagfox" (i'm not related to the program, to check it visi...

How to measure how much traffic a server could potentially handle?

Are there any tools that would enable me to load-test my server and tell me how much traffic it could roughly handle? By traffic I mean how many requests per second it can consistently serve without timing out. I realize that every server is different, and so is every application that runs on that server. That's why I thought this ro...

Zend_Json_Server and dojo.rpc.JsonService, can a served class return an object?

I am trying to serve up my user repository via zend_json_server. The problem is the service is returning empty objects. What have i missed? server side: $repo = App_User_Repository::getInstance(); $server = new Zend_Json_Server(); $server->setClass($repo); if ('GET' == $_SERVER['REQUEST_METHOD']) { $server->setTarget('/ser...

Java: How to invoke code running on a server from a browser?

Is there somehow that I can invoke Java running on a server from a web browser? I would like: User navigates to URL in a browser User fills in input boxes (text) User presses submit button Input fields are sent as parameters to java that is executing on the server A new html page is displayed that was generated by the java running on...

Building my own game server for a turn-based multiplayer iPhone Game.

From the Game Kit Programming Guide... Multiplayer allows players interested in playing an online multiplayer game to discover each other and be connected into a match. Depending on your needs, your application can have either use Game Kit to connect all the participants together, or have Game Kit deliver a list of play...

Java: How to invoke code running on a server from a browser? (Follow up Question)

Possible Duplicate: Java: How to invoke code running on a server from a browser? I just asked: Java: How to invoke code running on a server from a browser? I got back numerous suggestions. Here is a short summary: Java Servlets Java Server Pages Java EE Tomcat Axis Glassfish I am not sure what I should prioritize. I ha...

JBoss Connection Reset

Hi all,I'm used JBoss Application Server for running my web application.After I accessed again.I receive this errors : WicketMessage: Can't instantiate page using constructor public com.app.web.common.MainPage() Root cause: java.sql.SQLException: Io exception: Connection reset at oracle.jdbc.driver.DatabaseError.throwSqlException(Data...

Ruby deployment server problem: Missing the Rails 2.3.5 gem.

Hi, I'm trying to install a rails server for my application. I'm using ubuntu 10.04 TLS with apache2 as web server. I made some search on google but I do not found something that help me. When I tried to connect on my application I have following error: The application has exited during startup (i.e. during the evaluation of config/envi...

Run native binary CGI on lighttpd

Hello, I'm trying to set up lighttpd to run binary CGI app (not PHP script or smth, but a binary file, compiled from C++ source). I actually have server.modules = ( ... "mod_cgi" ... ) uncommented, have myApp.exe in htdocs/app, and also cgi.assign = ( "myApp.exe" => "myApp.exe" ) Then, to make all the stuff work by accessing, say, ...

Python SocketServer

Hi, How can I call shutdown() in a SocketServer after receiving a certain message "exit"? As I know, the call to serve_forever() will block the server. Thanks! ...

WCF TCP client with Java Socket server on custom XML messages

I am trying to build a WCF client for a Java Socket server which talks on a custom XML messages. I have created my own custom binding with MessageEncoder and netTCP transport. Now what I have seen happen is on the first call to the server, server accepts the connection. However the server then waits for a specific XML packet. This is bu...

What's an easy way to automate logging into a server and tailing a log?

I would like to save the keystrokes I make to ssh into a server (with a ssh public key) and tail a log file. What's the easiest way to do this. Is there a shell script that can do this, or if not, a short Ruby script? ...

IE only CSS not applied

Hi I have a rather odd CSS problem. I am bringing in an Internet Explorer only CSS file with: <!--[if IE]> <link rel="stylesheet" media="screen" href="ie.css" /> <![endif]--> But the file seems to of stopped updating on the server. For example, nothing changes, even if I remove my previous header fixes and set the body backgroun...

Best way for handling web releases using a staging enviroment?

I've been designing and developing websites for a number of years now, however, whenever I make changes to a website I take the bad approach of making a modification, replacing the orignal on the web server, testing in browser and making more changes as needed. I'm looking for a better way to do this. Alternatively sometimes I'll work on...

multiple HTTP GET requests in one TCP/IP connection - processed parallel or sequential

hi, ok we get a lot of googlebot requests. googlebot requests up to 11 different files via 11 HTTP GET request, all in one single TCP/IP connection. are these GET request (all in the same TCP/IP connection) processed via the server in parallel or in sequence? Or is it up the the server? in this case, how does nginx handle thi...