Home Q&A

Login Form



Questions and answers
HOWTO send an email from Windows Scripting Host (WSH) script

Starting Windows 2000 there is Collaboration Data Objects (CDO) library supplied with the COM infrastructure.

It simplifies a lot many activity, including send mail tasks.

Read more...
 
HOWTO Set KeepAlive in Apache HTTPd
To set keep=alive parameters in Apache2  Httpd, you need to pay attention to 3 directives:

KeepAlive

KeepAliveTimeout

MaxKeepAliveRequests

Read more...
 
HOW to enable PAE for Windows7 x86

Windows automatically enables PAE if DEP is enabled on a computer that supports hardware-enabled DEP, or if the computer is configured for hot-add memory devices in memory ranges beyond 4 GB. If the computer does not support hardware-enabled DEP or is not configured for hot-add memory devices in memory ranges beyond 4 GB, PAE must be explicitly enabled.

To explicitly enable PAE, use the following BCDEdit /set command to set the pae boot entry option:

Read more...
 
How to monitor Java memory utilization in different generations in Tomcat

Following is a JSP code you can use to monitor memory utilization in different generations (including PermGen):

Read more...
 
How to set session timeout for Tomcat
In web applications every user is identified by a session. The session holds information about the user. A typical example is an internet shop: the contents of your shopping cart is stored in a session.

To prevent the number of sessions to increase infinitely, they are destroyed after certain time of inactivity (time without changing the page) from the user. This is called session timeout. All user data stored in the session disappears (e.g. you have fill your shopping cart again).

Read more...
 
How to set Java options for Tomcat on Windows

For Tomcat 5.5 and later running as Windows service :

Go to the "Apache Tomcat x.x" folder in the Start Menu. Start the "Configure Tomcat".

Or navigate to the bin directory Apache Tomcat installation folder, find Tomcat(version number)w.exe and run it.

Read more...
 
How to install Canon DPP update?

It happened to me that i lost my original Canon CD supplied with my digital camera. I got new PC and needed to have DPP installed there. I downloaded the DPP update from Canon site and installed it. To install  Canon DPP update without having previous version installed, open Registry Editor and create section HKEY_LOCAL_MACHINE\SOFTWARE\Canon\Dpp.

Then run Canon DPP update installer and it will install full DPP version successfully.

 
Unable to startup or shutdown the database using Enterprise Manager Java Console. Why?

Goal

In Enterprise Manager Java Console 10g open / shutdown / mount / nomount option boxes are disabled in the Instance -> Configuration screen. The behaviour remains the same when connected as SYS or user with SYSDBA role. Hence the database can not be shutdown or started from the Enterprise Manager Java Console.

Solution

Read more...
 
Oracle startup nomount pfile='...' returns ORA-02778. How do i fix it?

Well, this is quite popular question.

Read more...
 
How to gather ORACLE schema statistics?

To gather the statistic use this command:


execute dbms_stats.gather_schema_stats (ownname =>'PUT_HERE_SCHEMA_NAME',cascade => TRUE);

 


 



Copyright © 2010 SmartSoftwareBits.com. All Rights Reserved.