server

How much does loading images or saving images to the server affect the server load?

If too many images are being loaded from the server at once (or over a period of time) will it slow down the website for users? What about saving images to the server? Would a website that puts a lot of stress on the server makes the website more vulnerable to DOS attacks? If our website needs to save and load mass amount of images, i...

Django: Conflict Between Live & Staging Sites on Same Server

I've recently pushed a Django app live. We built the app in a staging subdomain on the server. When I went live, I copied the files of the staging subdomain to the main site, created a staging database and pointed the old staging site at the new staging database (leaving the new live site pointed at the original database). This is on mod...

Union Platform: Securing admin password

With the Union Platform, the administrator password is stored in an XML file. I know I could just rename the file and tell the swf to read it from that new location, but if someone were to decompile it, not only would they get the source like normal but they would then be granted administrator access. I know I could try changing the admi...

Java Linux Nonblocking Socket Timeout Behavior

I have a Java nonblocking server that keeps track of all the socket channels in a selector. I then establish 500 connections to the server and send data regularly. Every piece of data the server receives is echoed back to the client. The problem comes where the test works wonderfully for a couple of hours and then all of the sudden gra...

Find the ID after compiling

When you assign something an ID in asp.net such as: <asp:Label runat="server" ID="mylabel" Text="some text"></asp:Label> The code behind ID you use to reference that object is mylabel. However after the site has compiled and is running the ID in the HTML changes to something a bit more abscure <asp:Label runat="server" ID="ct100_bl...

Does my basic PHP Socket Server need optimization?

Like many people, I can do a lot of things with PHP. One problem I do face constantly is that other people can do it much cleaner, much more organized and much more structured. This also results in much faster execution times and much less bugs. I just finished writing a basic PHP Socket Server (the real core), and am asking you if you ...

How can I call a server side method from a linkbutton inside a gridview I am building programatically?

I have the following code. I build a grdiview programamtically then I go through and change one of the columns to linkbuttons. Unfortunately, it never calls back to server side lb_Click method. Has any one faced this? using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.W...

How can I use the hostname of the server instead of localhost with JBoss?

I setup JBoss 4.2.2 GA on a local server of mine. I am able to access the JBoss Application Server by going to http://localhost:8080. However, I would like to use the hostname instead of localhost so that other computers on the same network can use the server as well. When I try http://hostname:8080, or even http://192.168.1.100:8080, I ...

Production Grade Server Software

I am currently using XAMPP to test and Run my website on my Laptop. Is there any (Good,Production Grade,Free,AMP based) server software? Or Can I manually fix the security holes in XAMPP (like no password for 'root') to bring it up to production level? Platform : Windows Technologies: Apache, MySQL, PHP Requirements: Hosting on Own se...

tomcat error

HI I recently deployed a war file. I get the following error. IF anyone can help it be great. [http-8080-Processor24] ERROR Exception sending context initialized event o listener instance of class app.util.ApplicationEventsListener [at org.apache. atalina.core.StandardContext.listenerStart(StandardContext.java:3768)] ava.lang.NoCl...

High Disk Write on server

I have 2 identical servers and currently I am monitoring both of them by setting up performance counters. IIS 6 with .NET Framework 2 I am noticing that one server has high disk writes of ~3300 Writes/Sec and the other server has ~199 Writes/Sec Anyone encountered the same problem? What may cause high disk writes? These servers a...

How to Write Java server logs to separate log file

Hi, Right now we are using a customized logger method for our application but now we have a stand alone code for which we need to write to a separate log file. We have little idea about log4j. I just want to know where to change properties if any so that i don't disturb the existing logger application as well as we write our logs into...

how to dispatch network requests to the (geographically) closest server

I'm a Java coder and not very familiar with how networks work (other than basic UDP/TCP connections) Say I have servers running on machines in the US, Asia, Latin America and Europe. When a user requests a service, I want their request to go to the server closest to them. Is it possible for me to have one address: mycompany.com, and s...

Getting Flex Builder to use a Tomcat server on Eclipse

I'm currently trying to get a Tomcat server I have running in Eclipse on http ://localhost:8080/ to be noticed through Flex Builder 4. I think it may have to do with the config.xml file in my Flex Builder project. It is currently set as the following (as well as some other stuff) <config> <server> http://localhost:8080/myty/myy?p1=a...

I added a project to a solution checked into a team foundation server solution and the individual project I just added does not offer me the ability to check it in

I added a project to a solution checked into a team foundation server solution and the individual project I just added does not offer me the ability to check it in. Has anyone faced this in past? ...

Authenticate via POP3 using vPopMail

I'm working on installing vPopMail on CentOS for use with a Qmail / Courier-IMAP mail-server setup. So far, everything is working out well enough. Mail sent to any virtual user I have setup under any virtual domain (assuming MX records are pointed correctly in the domain DNS) I add to vPopMail is routed correctly to the vPopMail ./Maildi...

reduce server load by loading image files / javascript files from another server?

Hi, I am thinking to save server load, i could load common javascript files (jquery src) and maybe certain images from websites like Google (which are almost always never down, and always pretty fast, maybe faster than my server). Will it save much load? Thanks! UPDATE: I am not so much worried about saving bandwidth, as I am reduci...

Siverlight setup issue

Hello everyone, If I just deploy Siverlight application (eithre ASP.Net page or Html page uses XAP files) on Server, no need to develop. On Server side, do I need to install anything? I have two scenarios, Using Windows Server 2003; Using Windows Server 2008. thanks in advance, George ...

How to design a server with many persistent connections

Hello, I am designing a application where many clients connect to a central server. This server keeps these connections, sending keep-alives every half-hour. The server has a embedded HTTP server, which provides a interface to the client connections (ex. http://server/isClientConnected?id=id). I was wondering what is the best way to go a...

giving javascript/the server time to process

Hello all, I've got a confusing problem. I'm working on a music catalog/playlist/player. When a user drags a song into the playlist a request is sent to php (via javascript/ajax) which finds the song in the database and returns song information which is then organized and displayed in the playlist. This works great. The problem I'm havin...