I have this in my my.cnf wait_timeout=1800 interactive_timeout=1800; net_read_timeout=1800; net_write_timeout=1800 but when i execute show processlist; I have processes that still running more than 4500sec even they are in 'Sleep' command. please help about this, thank you.

Member Avatar
Member Avatar
+0 forum 2

I have a standard java web application package under public_html. My java source code is under WEB-INF/classes/. My jsp files are under public_html and public_html/version/v1. Now all of my jsp file under public_html is running fine, however, the jsp files under public_html/version/v1 do not work with following error: *HTTP Status 500: Unable to compile for class JSP: type Exception report message Unable to compile class for JSP: description The server encountered an internal error that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 8 in the jsp file: /index.jsp …

Member Avatar
Member Avatar
+0 forum 1

Hello All, I need to modify the default settings for the filesMatch in the apache httpd.conf file from - <FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All </FilesMatch> so that to also include - <FilesMatch ".(eot|ttf|otf|woff)"> Header set Access-Control-Allow-Origin "*" </FilesMatch> I would appreciate the suggestions, somehow the combination of these regular expressions is not working for me. I tried below - <FilesMatch "^\.ht|.(eot|ttf|otf|woff)"> Order allow,deny Deny from all Satisfy All Header set Access-Control-Allow-Origin "*" </FilesMatch> Due to this, the server won't start complaining about header setting at the wrong place. Thank you.

Member Avatar
Member Avatar
+0 forum 4

Hello all, First of all I wasn't really sure where to post this so please let me know if I'm in the wrong forum for such a question. I understand the basics of git, but I'm still very new. I have used git locally and on github. I was wondering if this was possible: I want to set up my main git repository in my Dropbox, then have the same repository on my local mac machine and a remote HPC. So when I can edit them in my dropbox and always have them pulling from there. The problem is I …

Member Avatar
Member Avatar
+0 forum 5

My organisation is about to deploy 500+ Raspberry Pi's(running Debian) across the country. I have been given the task of configuring these devices. Configuration depends on specific installation, so cannot be configured before installation and the staff at the remote site seriously lack skills. BTW These remote sites are all over Southern Africa. Each of these remote sites will be connecting these Raspberry Pis(RPi) to a Windows server which will be on an Intranet(No internet access). I think that I need a program, probably running on the aforementioned server, to make the configuration of the RPis as fool proof as …

Member Avatar
+0 forum 0

Win 7 clients, Need to populate alternate IP with current DHCP assignment (I believe everything else will be static). It appears that PowerShell is the only way to get at the alternate IP config variables. We are wrestling with a TechRepublic PS module that could be the modified. I used to do a lot more of this kind of stuff, and loved this site. But I'm rusty as hell. Anyone got any pointers, thoughts or suggestions on the easiest way to remotely update these variables across a mid-sized enterprise? Thanks for anything short of go away. :)

Member Avatar
Member Avatar
+0 forum 1

Hello everyone. I would like to know if there is a factory default configuration for the WD My book world NAS. I am helping a friend that has one of those in their office and the web interface states that the capacity is 1TB but nowhere in the gui did i find anything about the current raid configuration. The only option is to change it. I would like to know if it has 2x1TB disks running raid 1 or 2x500GB disks running raid 0. Nothing found on Western Digital's website or manuals. Thanks in advance!

Member Avatar
Member Avatar
+0 forum 2

I have recently configured my online outlook account with my gmail id. All my configuration were done. But after configuration outlook is downloading all my previous mails. I want to stop the unnecesary download of old mails. I want to configure it such that it should only download/sync today's mail only. Is there is a way to accomplish it? Thanks in advance...

Member Avatar
Member Avatar
+0 forum 3

What is the Congiguration manager class in the code and how do you set it in the Project or IDE? How do I set AppSettings in an ASPX project's Configuration manager? This is an ASPX/CS Project with Visual Studio 2010. It is a Configuration Manager question. I am successfully debugging (sort of) some code that is being used already on a server. But there is a piece of code that plays with the URL in the live version that should not be used in the debug/localhost version. protected void Page_Load(object sender, EventArgs e) { if (ConfigurationManager.AppSettings["IsTesting"] == "false" && Request.Url.ToString().Contains("http:")) …

Member Avatar
Member Avatar
+0 forum 2

In addition to [my post in this thread](http://www.daniweb.com/web-development/php/threads/429740/php-best-practice#post1841569) I've decided to post an extended example, which also implements functions for inserts and updates. I hope the code is straightforward enough. If not, reply and let me know. The table structure I've used for my test is the following: CREATE TABLE `contacts` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `username` varchar(64) NOT NULL, `password` varchar(64) NOT NULL, `first_name` varchar(64) DEFAULT NULL, `last_name` varchar(64) DEFAULT NULL, `email` varchar(64) NOT NULL, PRIMARY KEY (`id`) ) And finally, here is how to use it: <?php # Definition of my table structure $tableConfig = array …

Member Avatar
Member Avatar
+4 forum 1

After a few hours searching and not finding an answer, does anyone know _if_ thunderbird can be configured to work with Verizon DSL (Actiontec) wired model/router)? Simularly, can Ubuntu be configured to work with verizon dsl? Verizon tech reps say they have no knowledge of a solution. Mostly I get "connection timed out" message with all parameter variations I've tried.

Member Avatar
Member Avatar
+1 forum 2

hello ! i want to make a xml file to store my Settings such as server name , user name , and password , etc , i try to search how to read and write xml file i found this code for writing an xml file it works fine for me [CODE] private void XMLWrite() { FileStream fs = new FileStream("c:\\Server.xml", FileMode.Create); XmlWriter w = XmlWriter.Create(fs); w.WriteStartDocument(); w.WriteStartElement("Configuration"); // Write a product. w.WriteStartElement("Parameters"); w.WriteAttributeString("servername", txtservername .Text ); w.WriteElementString("username", txtusername.Text ); w.WriteElementString("password",txtpassword.Text ); w.WriteEndElement(); w.WriteEndDocument(); w.Flush(); fs.Close(); } [/CODE] now i have a prob , and prob is that ,i want …

Member Avatar
Member Avatar
+0 forum 6

Hey guys, I am trying to find .NET Framework Configuration Tool which used to be in the control panel for older versions such as .Net Framework 2.0. I just noticed that it is not there anymore, and mscorcfg.msc is also missing from the machine. I googled on it and one suggestion was using mmc but cant find .net framework anywhere in the snap-in dialog. All I want to do is register assembly into GAC. Sigh... Could it be because I'm running Windows 7 64 bit OS? By the way Im running windows 7 64bit, Visual Studio 2010 Pro 64 bit. …

Member Avatar
Member Avatar
+0 forum 3

Hello! I am working on a networking project and I had some questions.... I am in the process of building a network specifically for security penetration, & exploit testing, and I looking for some of the best methods for maintaining IP anonymity. I know of the good old fashion method of ARP/IP spoofing, but the problem with these methods is that there may be a risk of possibly poisoning the network. So, if I plan on using a router/modem device that implements NAT or PAT, what would be the best bet on how to implement IP anonymity? The device I …

Member Avatar
Member Avatar
+0 forum 2

This question is a bit academic now as my contract at this place is coming rapidly to a close. But for future reference, I'd be very interested in the answer. We're talking about .Net 2.0 and Visual Studio 2005. Don't limit your responses to this platform though; I'm interested in best practice rather than hacky work-arounds for an elderly platform. The company where I've been working runs different DEV, SIT, UAT and PROD databases. They have connection strings for all four databases in their app.config file, but only one is uncommented at any given time. To do a SIT build, …

Member Avatar
Member Avatar
+0 forum 3

Hi, I'm struggling to understand how to write script for Zeus web servers. I need to leverage browser cache images to get my Google page speed up. i know this is the code for .htaccess but Zeus is different: <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html "access plus 2 days" ExpiresByType image/gif "access plus 60 days" ExpiresByType image/jpg "access plus 60 days" ExpiresByType image/png "access plus 60 days" ExpiresByType application/x-javascript "access plus 60 days" ExpiresByType text/css "access plus 60 days" ExpiresByType image/x-icon "access plus 360 days" </IfModule> any ideas of what script needs to go in my rewrite.script file?

Member Avatar
+0 forum 0

Can anyone tell me the logic to solve common emitter biasing of a BJT using c programming language? Just tell me the idea. No need of program.

Member Avatar
Member Avatar
+0 forum 1

Hi all! I want to start making apps for android phones. The problem is that I have installed Android SDK, JDK 7 and eclipse, but failed to complete the install of the ADT plugin. I have install the plugin, but I can't configure it. the guide on android developer saids: Select Window > Preferences... to open the Preferences panel (Mac OS X: Eclipse > Preferences). Select Android from the left panel. You may see a dialog asking whether you want to send usage statistics to Google. If so, make your choice and click Proceed. You cannot continue with this procedure …

Member Avatar
+0 forum 0

I need urgent Help plz. scenario: Oracle Database and Client 10g are installed on same system. I want to connect my website with database ( i am new to oracle and ASP.Net) ORA-12514: TNS:listener does not currently know of service requested in connect descriptor My web.config file contains code [code] <?xml version="1.0"?> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <appSettings> <add key="MM_CONNECTION_HANDLER_ictmdb" value="default_oledb.htm" /> <add key="MM_CONNECTION_STRING_ictmdb" value="Provider=MSDAORA.1;User ID=ictm;Password=ictm;data source=orcl"/> <add key="MM_CONNECTION_DATABASETYPE_ictmdb" value="OleDb" /> <add key="MM_CONNECTION_SCHEMA_ictmdb" value="" /> <add key="MM_CONNECTION_CATALOG_ictmdb" value="" /> <add key="CSS_PATH" value="/ictm/css" /> <add key="IMG_PATH" value="/ictm/soft/tmp/" /> </appSettings> <connectionStrings/> [/code] tnsnames.ora [code] # tnsnames.ora Network Configuration File: e:\oracle\database\network\admin\tnsnames.ora # Generated by Oracle configuration …

Member Avatar
Member Avatar
+0 forum 1

Hi, i'm trying to implement a print function and i can print a single string out but i'm having trouble configuring the page setup properly, mainly moving to a new line when the margin of the page is reached and moving to a new lines for each string in a list of string. so far i have this printing out a single piece of text: [CODE]private void document_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e) { System.Drawing.Font printFont = new System.Drawing.Font ("Arial", 28, System.Drawing.FontStyle.Regular); string text = "Now then"; // Draw the content. e.Graphics.DrawString(text.ToString(), printFont, System.Drawing.Brushes.Black, 10, 10); }[/CODE] i've tried looking on the …

Member Avatar
Member Avatar
+0 forum 3

I've installed IP bord latest software to my website....but it doesn't work...PLZ somebody help me...!! if someone is willing to install that software to my website, i'm ready to gv my FTP password and everything..!! plzzzz help me out...!!!

Member Avatar
+0 forum 0

Hi, I have a small problem with a DLL. The code for the solution is split into several projects which are then compiled and deployed to a web server. When the project is within Visual Studio I used a Linked file to get the contents of an app.Config file (XML) which as I have said is within the (soon to be compiled project) as a linked file to one within another project that is to be deployed. The project that works out the configuration is compiled as a dll and is included in the browser projec: [CODE] private static void …

Member Avatar
Member Avatar
+0 forum 1

hello all, It is my first post on this site. i have a configuration file which is divided in the blocks like MyServer=localhost MyName=ussd MyUser=root MyPasswd=rnd MyPortNum=3306 Req_thread=20 Sleep_thread=2000 url_timeout=1000 HIT_URL_IP=10.43.14.70 HIT_URL_port=80 [*515#] URL_SUB=GET /subscription/subservice.aspx?Mobileno=?&Channel=USSD&planid=13404&clientid=511&requestType=1&SubscriptionMode=USSD&isbill=1&subid=1340&shortcodeid=49 HTTP/1.0\r\n\r\n URL_UNSUB= PRODUCT= METHOD= [END] [*522#] URL_SUB= URL_UNSUB= PRODUCT= METHOD= [END] [*560#] URL_SUB= URL_UNSUB= PRODUCT= METHOD= [END] there are 3 different block like this.what i want to do is when i got a value from db for eg 575 then only default and block related to 575 is used not other.. Please help.it's critical

Member Avatar
+0 forum 0

Hello, I have installed DB2 Everyplace, it installed successfully but not able to configure. Getting Error while try to configure it. The error is like this : [CODE] [exec] UPDATE DATABASE CONFIGURATION FOR DSYMSGDB USING MAXLOCKS 50 [exec] SQL1032N No start database manager command was issued. SQLSTATE=57019 [exec] SQL1032N No start database manager command was issued. SQLSTATE=57019 [exec] db2empfa failed. [exec] SQLCODE -1032 [exec] Result: 1 [validate-db-exists] Connection to jdbc:db2:DSYCTLDB failed. [trycatch] Caught exception: ERROR - dbtype = db2, errorcode = -1032 [logmsg] 2011.02.07 11:59:10.688 create-db [logmsg] DB2eC1002E The DB2 Everyplace Sync Server control database could not be created. Refer …

Member Avatar
+0 forum 0

Hi All I am building a web and desktop application where the user fills in a web form that is posted to a MySQL database. The database info is then collected by a desktop application for easy retreival. I know that my clients will want to have a web form that is configurable, where they can switch off and on fields that are related to their specific needs. I would like to have one configuration file that the webform and the desktop application could read from so that only the relevent fields are displayed and posted to. I'm guessing that …

Member Avatar
Member Avatar
+0 forum 6

Hi While learning how to create and manage a session, I got through session time out technique, I got throw 2 ways : 1. Setting up garpage collection directive in php.ini file and 2. Create a session variable named, say, EXPIRE that holds the value [code]$_SESSION['EXPIRES']=time()+360;[/code] at the beginning of a session and then keep checking if it's the correct time to expire or not yet. My question is : which is the best practice in practical life? to depend on the server configuration file? or create your custom time out session?? Thank you in advance

Member Avatar
Member Avatar
+0 forum 2

Hello, It's been a few months since I haven't been able to launch Codeblock's debugger, when I launch the debugger I always get this (example): [B]Adding source dir: C:\Users\Me\Desktop\L2\SDD\TP2\ Adding file: bin\Debug\TP2.exe Starting debugger: failed[/B] I have tried: [LIST] [*]Reinstalling [*]Reinstalling (uninstall done using Revo Uninstaller) [*]Installing latest version of Codeblocks and replacing MinGW by the latest version found online [/LIST] Also here is my config (compiling is working alright): [IMG]http://img169.imageshack.us/img169/1582/capturevo.jpg[/IMG] [IMG]http://img59.imageshack.us/img59/4286/capture2em.jpg[/IMG] [IMG]http://img207.imageshack.us/img207/1035/capture3i.jpg[/IMG] System: Windows 7 Ultimate, x64 bit operating system

Member Avatar
Member Avatar
+0 forum 3

Hi, I can't manage to set a root password no matter what I try. I've tried to uninstall and reinstall. I've tried to get the new version and replace the old one with it. I've totally deleted all mysql files off my machine and reinstalled mysql but I STILL get these problems: I've tried: mysqladmin -u root password "newPassword" But I get this error: mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: NO)' I've tried: mysqld_safe --skip-grant-tables & But I get this error: 'mysqld_safe' is not recognized as an internal or external command, …

Member Avatar
Member Avatar
+0 forum 2

I have been doing some research on the net, and found many ways of doing this, but it all leaves me with the same question. Wich one is the better to use? What i want to do, is a simple yet stable configuration system for any of my projects that are done in VB.NET. So, the articles I found around the net shows configuration methodswith XML files for the app.config, or the web.config for asp.net, some of them say that the use of INI or write to the registry, are out of use or obsolete BUT are good if you …

Member Avatar
Member Avatar
+0 forum 2

Hi, I am new to mobile software development. What is the best hardware and software configuration to use? My current desktop machine (Windows XP) doesn't have enough RAM to download the JAVA ME SDK (has 504 Mb needs at least 1 Gb). So either I have to upgrade my current machine or get another machine. If I get another machine what should I get? I am eyeing an HP Pavilion laptop. What are experienced mobile developer's using? Thanks for your help. Steve

Member Avatar
Member Avatar
+0 forum 3

The End.