Computerized WorldComputerized WorldDiscussion on latest News and Events in my computerized world Articles
Unable to load dynamic library php_curl.dll: Error message in PHP
2008-10-15 13:48:00 In Windows , while trying to use "curl" extension with PHP 5.2/Apache 2; you may encounter a blank page. If you open up the error log file in Apache (%APACHE_HOME%logserror.log); you may see an error message as follows."PHP Warning: PHP Startup: Unable to load dynamic library '%PHP_HOME\ext\php_curl.dll' - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail."This error message can be caused due to some version conflicts on a set of DLLs that are already available inside %windows%system32 directory.First check the %windows%system32 directory to see whether the following DLL files are already available.libeay32.dllssleay32.dllIf those are available, then you would be able to resolve the issue as follows. (However if they are not available, you would need to find some alternative solution).Now you must first rename the above two DLL files. We did as follows by adding an .old extesion.libea... More About: Library , Tech , Message , Load
Unable to load dynamic library php_curl.dll: Error message in PHP
2008-10-15 13:48:00 In Windows , while trying to use "curl" extension with PHP 5.2/Apache 2; you may encounter a blank page. If you open up the error log file in Apache (%APACHE_HOME%logserror.log); you may see an error message as follows. "PHP Warning: PHP Startup: Unable to load dynamic library... More About: Library , Tech , Message , Load
Unable to load dynamic library php_curl.dll: Error message in PHP
2008-10-15 13:48:00 In Windows , while trying to use "curl" extension with PHP 5.2/Apache 2; you may encounter a blank page. If you open up the error log file in Apache (%APACHE_HOME%logserror.log); you may see an error message as follows."PHP Warning: PHP Startup: Unable to load dynamic library '%PHP_HOME\ext\php_curl.dll' - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail."This error message can be caused due to some version conflicts on a set of DLLs that are already available inside %windows%system32 directory.First check the %windows%system32 directory to see whether the following DLL files are already available.libeay32.dllssleay32.dllIf those are available, then you would be able to resolve the issue as follows. (However if they are not available, you would need to find some alternative solution).Now you must first rename the above two DLL files. We did as follows by adding an .old extesion.libea... More About: Library , Tech , Message , Load
Unable to load dynamic library php_curl.dll: Error message in PHP
2008-10-15 13:48:00 In Windows , while trying to use "curl" extension with PHP 5.2/Apache 2; you may encounter a blank page. If you open up the error log file in Apache (%APACHE_HOME%logserror.log); you may see an error message as follows."PHP Warning: PHP Startup: Unable to load dynamic library '%PHP_HOME\ext\php_curl.dll' - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail."This error message can be caused due to some version conflicts on a set of DLLs that are already available inside %windows%system32 directory.First check the %windows%system32 directory to see whether the following DLL files are already available.libeay32.dllssleay32.dllIf those are available, then you would be able to resolve the issue as follows. (However if they are not available, you would need to find some alternative solution).Now you must first rename the above two DLL files. We did as follows by adding an .old extesion.libea... More About: Library , Tech , Message , Load
Unable to load dynamic library php_curl.dll: Error message in PHP
2008-10-15 13:48:00 In Windows , while trying to use "curl" extension with PHP 5.2/Apache 2; you may encounter a blank page. If you open up the error log file in Apache (%APACHE_HOME%logserror.log); you may see an error message as follows."PHP Warning: PHP Startup: Unable to load dynamic library '%PHP_HOME\ext\php_curl.dll' - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail."This error message can be caused due to some version conflicts on a set of DLLs that are already available inside %windows%system32 directory.First check the %windows%system32 directory to see whether the following DLL files are already available.libeay32.dllssleay32.dllIf those are available, then you would be able to resolve the issue as follows. (However if they are not available, you would need to find some alternative solution).Now you must first rename the above two DLL files. We did as follows by adding an .old extesion.libea... More About: Library , Tech , Message , Load
Manage HTTP headers with Java Servlets: Quick Notes
2008-10-15 13:43:00 In Java Servlets API, both Http ServletRequest and HttpServletResponse interfaces (in javax.servlet.http package) provide methods to programatically manipulate HTTP headers. There are a number of standard HTTP headers exchanged between a web server and a client (eg: a browser). "Content-Type" is a... More About: Notes , Quick
Manage HTTP headers with Java Servlets: Quick Notes
2008-10-15 13:43:00 In Java Servlets API, both Http ServletRequest and HttpServletResponse interfaces (in javax.servlet.http package) provide methods to programatically manipulate HTTP headers. There are a number of standard HTTP headers exchanged between a web server and a client (eg: a browser). "Content-Type" is a commonly used header (which is used to specify MIME type) in Servlets. In this article we are discussing how headers are read/written with Servlet classes.Reading HeadersA servlet can read HTTP headers sent by a client request using HttpServletRequest interface. This interface has two methods for this.String getHeader(String headerName)int getintHeader(String headerName)Both these methods are similar except getIntHeader() method is used to return value of headers with int type values. Below code shows how value of "User-Agent" header is read from the user request. (HttpServlet.doGet() method is used in the example).import javax.servlet.http.*;import java.io.*;public class MyServlet extends ... More About: Notes , Quick
Manage HTTP headers with Java Servlets: Quick Notes
2008-10-15 13:43:00 In Java Servlets API, both Http ServletRequest and HttpServletResponse interfaces (in javax.servlet.http package) provide methods to programatically manipulate HTTP headers. There are a number of standard HTTP headers exchanged between a web server and a client (eg: a browser). "Content-Type" is a commonly used header (which is used to specify MIME type) in Servlets. In this article we are discussing how headers are read/written with Servlet classes.Reading HeadersA servlet can read HTTP headers sent by a client request using HttpServletRequest interface. This interface has two methods for this.String getHeader(String headerName)int getintHeader(String headerName)Both these methods are similar except getIntHeader() method is used to return value of headers with int type values. Below code shows how value of "User-Agent" header is read from the user request. (HttpServlet.doGet() method is used in the example).import javax.servlet.http.*;import java.io.*;public class MyServlet extends ... More About: Notes , Quick
Manage HTTP headers with Java Servlets: Quick Notes
2008-10-15 13:43:00 In Java Servlets API, both Http ServletRequest and HttpServletResponse interfaces (in javax.servlet.http package) provide methods to programatically manipulate HTTP headers. There are a number of standard HTTP headers exchanged between a web server and a client (eg: a browser). "Content-Type" is a commonly used header (which is used to specify MIME type) in Servlets. In this article we are discussing how headers are read/written with Servlet classes.Reading HeadersA servlet can read HTTP headers sent by a client request using HttpServletRequest interface. This interface has two methods for this.String getHeader(String headerName)int getintHeader(String headerName)Both these methods are similar except getIntHeader() method is used to return value of headers with int type values. Below code shows how value of "User-Agent" header is read from the user request. (HttpServlet.doGet() method is used in the example).import javax.servlet.http.*;import java.io.*;public class MyServlet extends ... More About: Notes , Quick
Manage HTTP headers with Java Servlets: Quick Notes
2008-10-15 13:43:00 In Java Servlets API, both Http ServletRequest and HttpServletResponse interfaces (in javax.servlet.http package) provide methods to programatically manipulate HTTP headers. There are a number of standard HTTP headers exchanged between a web server and a client (eg: a browser). "Content-Type" is a commonly used header (which is used to specify MIME type) in Servlets. In this article we are discussing how headers are read/written with Servlet classes.Reading HeadersA servlet can read HTTP headers sent by a client request using HttpServletRequest interface. This interface has two methods for this.String getHeader(String headerName)int getintHeader(String headerName)Both these methods are similar except getIntHeader() method is used to return value of headers with int type values. Below code shows how value of "User-Agent" header is read from the user request. (HttpServlet.doGet() method is used in the example).import javax.servlet.http.*;import java.io.*;public class MyServlet extends ... More About: Notes , Quick
Manage HTTP headers with Java Servlets: Quick Notes
2008-10-15 13:43:00 In Java Servlets API, both Http ServletRequest and HttpServletResponse interfaces (in javax.servlet.http package) provide methods to programatically manipulate HTTP headers. There are a number of standard HTTP headers exchanged between a web server and a client (eg: a browser). "Content-Type" is a commonly used header (which is used to specify MIME type) in Servlets. In this article we are discussing how headers are read/written with Servlet classes.Reading HeadersA servlet can read HTTP headers sent by a client request using HttpServletRequest interface. This interface has two methods for this.String getHeader(String headerName)int getintHeader(String headerName)Both these methods are similar except getIntHeader() method is used to return value of headers with int type values. Below code shows how value of "User-Agent" header is read from the user request. (HttpServlet.doGet() method is used in the example).import javax.servlet.http.*;import java.io.*;public class MyServlet extends ... More About: Notes , Quick
Google redirect to incorrect country domain: Fix on Firefox
2008-10-08 13:33:00 Google servers identify the country of the googler and redirect to the relevant country domain. They may be using the IP of the request to locate the country before the redirect. However there are situations many googler getting redirected to incorrect country domains. For example, even though our requests are generating from Sri Lanka, most of the time we are redirected to another country (Taiwan) domain. Some misconfigurations at the routers or at the ISP may cause this issue, which makes it harder for a general browser user to get that resolved. This automatic redirect mechanism does not depend on the browser used.Following is a quick fix to this issue. However this will only work on Firefox browser, sorry friends if you are on another browser.Install Redirect or extensionRedirector is a small extension available for Firefox, and it supports most of the versions ranging from 2.0 to 3.0.*. (we are using latest Firefox; 3.0.3). You can freely install it from here.If you are a newbie... More About: Google , Country , Domain
Google redirect to incorrect country domain: Fix on Firefox
2008-10-08 13:33:00 Google servers identify the country of the googler and redirect to the relevant country domain. They may be using the IP of the request to locate the country before the redirect. However there are situations many googler getting redirected to incorrect country domains. For example, even though our requests are generating from Sri Lanka, most of the time we are redirected to another country (Taiwan) domain. Some misconfigurations at the routers or at the ISP may cause this issue, which makes it harder for a general browser user to get that resolved. This automatic redirect mechanism does not depend on the browser used.Following is a quick fix to this issue. However this will only work on Firefox browser, sorry friends if you are on another browser.Install Redirect or extensionRedirector is a small extension available for Firefox, and it supports most of the versions ranging from 2.0 to 3.0.*. (we are using latest Firefox; 3.0.3). You can freely install it from here.If you are a newbie... More About: Google , Country , Domain
Google redirect to incorrect country domain: Fix on Firefox
2008-10-08 13:33:00 Google servers identify the country of the googler and redirect to the relevant country domain. They may be using the IP of the request to locate the country before the redirect. However there are situations many googler getting redirected to incorrect country domains. For example, even though our requests are generating from Sri Lanka, most of the time we are redirected to another country (Taiwan) domain. Some misconfigurations at the routers or at the ISP may cause this issue, which makes it harder for a general browser user to get that resolved. This automatic redirect mechanism does not depend on the browser used.Following is a quick fix to this issue. However this will only work on Firefox browser, sorry friends if you are on another browser.Install Redirect or extensionRedirector is a small extension available for Firefox, and it supports most of the versions ranging from 2.0 to 3.0.*. (we are using latest Firefox; 3.0.3). You can freely install it from here.If you are a newbie... More About: Google , Country , Domain
Google redirect to incorrect country domain: Fix on Firefox
2008-10-08 13:33:00 Google servers identify the country of the googler and redirect to the relevant country domain. They may be using the IP of the request to locate the country before the redirect. However there are situations many googler getting redirected to incorrect country domains. For example, even though our... More About: Software , Google , Country , Firefox , Domain
Google redirect to incorrect country domain: Fix on Firefox
2008-10-08 13:33:00 Google servers identify the country of the googler and redirect to the relevant country domain. They may be using the IP of the request to locate the country before the redirect. However there are situations many googler getting redirected to incorrect country domains. For example, even though our requests are generating from Sri Lanka, most of the time we are redirected to another country (Taiwan) domain. Some misconfigurations at the routers or at the ISP may cause this issue, which makes it harder for a general browser user to get that resolved. This automatic redirect mechanism does not depend on the browser used.Following is a quick fix to this issue. However this will only work on Firefox browser, sorry friends if you are on another browser.Install Redirect or extensionRedirector is a small extension available for Firefox, and it supports most of the versions ranging from 2.0 to 3.0.*. (we are using latest Firefox; 3.0.3). You can freely install it from here.If you are a newbie... More About: Google , Country , Domain
Google redirect to incorrect country domain: Fix on Firefox
2008-10-08 13:33:00 Google servers identify the country of the googler and redirect to the relevant country domain. They may be using the IP of the request to locate the country before the redirect. However there are situations many googler getting redirected to incorrect country domains. For example, even though our requests are generating from Sri Lanka, most of the time we are redirected to another country (Taiwan) domain. Some misconfigurations at the routers or at the ISP may cause this issue, which makes it harder for a general browser user to get that resolved. This automatic redirect mechanism does not depend on the browser used.Following is a quick fix to this issue. However this will only work on Firefox browser, sorry friends if you are on another browser.Install Redirect or extensionRedirector is a small extension available for Firefox, and it supports most of the versions ranging from 2.0 to 3.0.*. (we are using latest Firefox; 3.0.3). You can freely install it from here.If you are a newbie... More About: Google , Country , Domain
Gmail Multiple Sessions Alert: This account is open in 1 other location
2008-09-23 13:56:00 "This account is open in 1 other location at..." Gmail user interface provides this message when your account is used in multiple locations simultaneously. One of the most important and interesting security feature that any web mail service would wish to provide. I suppose Gmail is the only web... More About: News , Google , Opinion , Open
Gmail Multiple Sessions Alert: This account is open in 1 other location
2008-09-23 13:56:00 "This account is open in 1 other location at..." Gmail user interface provides this message when your account is used in multiple locations simultaneously. One of the most important and interesting security feature that any web mail service would wish to provide. I suppose Gmail is the only web mail service that has this type of security feature (let us know if any other does). Users become aware of any misuse of their Gmail accounts.Gmail is countering the number of active sessions per account in providing this information; so "open in multiple locations" means that there are multiple active session for this particular account. Gmail also provides more details about each session making it easy to track the misuser. Access Type, IP address and Date/Time are displayed as details.EffectivenessAll these details are visible to all web sessions including misuser's session; so the effectiveness of this feature is in doubt. For example, a misuser can sign out as soon as this information i... More About: News , Google , Opinion , Open
Gmail Multiple Sessions Alert: This account is open in 1 other location
2008-09-23 13:56:00 "This account is open in 1 other location at..." Gmail user interface provides this message when your account is used in multiple locations simultaneously. One of the most important and interesting security feature that any web mail service would wish to provide. I suppose Gmail is the only web mail service that has this type of security feature (let us know if any other does). Users become aware of any misuse of their Gmail accounts.Gmail is countering the number of active sessions per account in providing this information; so "open in multiple locations" means that there are multiple active session for this particular account. Gmail also provides more details about each session making it easy to track the misuser. Access Type, IP address and Date/Time are displayed as details.EffectivenessAll these details are visible to all web sessions including misuser's session; so the effectiveness of this feature is in doubt. For example, a misuser can sign out as soon as this information i... More About: News , Google , Opinion , Open
Gmail Multiple Sessions Alert: This account is open in 1 other location
2008-09-23 13:56:00 "This account is open in 1 other location at..." Gmail user interface provides this message when your account is used in multiple locations simultaneously. One of the most important and interesting security feature that any web mail service would wish to provide. I suppose Gmail is the only web mail service that has this type of security feature (let us know if any other does). Users become aware of any misuse of their Gmail accounts.Gmail is countering the number of active sessions per account in providing this information; so "open in multiple locations" means that there are multiple active session for this particular account. Gmail also provides more details about each session making it easy to track the misuser. Access Type, IP address and Date/Time are displayed as details.EffectivenessAll these details are visible to all web sessions including misuser's session; so the effectiveness of this feature is in doubt. For example, a misuser can sign out as soon as this information i... More About: News , Google , Opinion , Open
Gmail Multiple Sessions Alert: This account is open in 1 other location
2008-09-23 13:56:00 "This account is open in 1 other location at..." Gmail user interface provides this message when your account is used in multiple locations simultaneously. One of the most important and interesting security feature that any web mail service would wish to provide. I suppose Gmail is the only web mail service that has this type of security feature (let us know if any other does). Users become aware of any misuse of their Gmail accounts.Gmail is countering the number of active sessions per account in providing this information; so "open in multiple locations" means that there are multiple active session for this particular account. Gmail also provides more details about each session making it easy to track the misuser. Access Type, IP address and Date/Time are displayed as details.EffectivenessAll these details are visible to all web sessions including misuser's session; so the effectiveness of this feature is in doubt. For example, a misuser can sign out as soon as this information i... More About: News , Google , Opinion , Open
Gmail Multiple Sessions Alert: This account is open in 1 other location
2008-09-23 13:56:00 "This account is open in 1 other location at..." Gmail user interface provides this message when your account is used in multiple locations simultaneously. One of the most important and interesting security feature that any web mail service would wish to provide. I suppose Gmail is the only web mail service that has this type of security feature (let us know if any other does). Users become aware of any misuse of their Gmail accounts.Gmail is countering the number of active sessions per account in providing this information; so "open in multiple locations" means that there are multiple active session for this particular account. Gmail also provides more details about each session making it easy to track the misuser. Access Type, IP address and Date/Time are displayed as details.EffectivenessAll these details are visible to all web sessions including misuser's session; so the effectiveness of this feature is in doubt. For example, a misuser can sign out as soon as this information i... More About: News , Google , Opinion , Open
Sun suspends NetBeans IDE DVD Starter Kit distribution program
2008-09-17 05:01:00 Sun has suspended their NetBeans IDE DVD Starter Kit distribution program indefinitely. Yes, you read it correctly; they have done it. So many developers used to get most of Sun (free) products through the distribution program. Students with less bandwidth (in some colleges & universities); specially users without Internet access to home computers are fond of this service as NetBeans DVDs are freely delivered to their hands at no cost. According to NetBeans.org; "Since August 30th, 2005, NetBeans.org has shipped more than 225,000 CDs & DVDs to developers around the world through this initiative! During this period, NetBeans has experienced explosive growth as a download, media kit, and a community. To stay ahead of this encouraging trend we are looking into ways to effectively satisfy increasing demand for NetBeans software worldwide."For sure this service played a huge role in helping so many Java developers. Also the program is a good marketing option for NetBeans since Eclipse (t... More About: Software , News , Tools , Tech
Sun suspends NetBeans IDE DVD Starter Kit distribution program
2008-09-17 05:01:00 Sun has suspended their NetBeans IDE DVD Starter Kit distribution program indefinitely. Yes, you read it correctly; they have done it. So many developers used to get most of Sun (free) products through the distribution program. Students with less bandwidth (in some colleges & universities);... More About: Software , News , Tools , Java , Tech
Sun suspends NetBeans IDE DVD Starter Kit distribution program
2008-09-17 05:01:00 Sun has suspended their NetBeans IDE DVD Starter Kit distribution program indefinitely. Yes, you read it correctly; they have done it. So many developers used to get most of Sun (free) products through the distribution program. Students with less bandwidth (in some colleges & universities); specially users without Internet access to home computers are fond of this service as NetBeans DVDs are freely delivered to their hands at no cost. According to NetBeans.org; "Since August 30th, 2005, NetBeans.org has shipped more than 225,000 CDs & DVDs to developers around the world through this initiative! During this period, NetBeans has experienced explosive growth as a download, media kit, and a community. To stay ahead of this encouraging trend we are looking into ways to effectively satisfy increasing demand for NetBeans software worldwide."For sure this service played a huge role in helping so many Java developers. Also the program is a good marketing option for NetBeans since Eclipse (t... More About: Software , News , Tools , Tech
Sun suspends NetBeans IDE DVD Starter Kit distribution program
2008-09-17 05:01:00 Sun has suspended their NetBeans IDE DVD Starter Kit distribution program indefinitely. Yes, you read it correctly; they have done it. So many developers used to get most of Sun (free) products through the distribution program. Students with less bandwidth (in some colleges & universities); specially users without Internet access to home computers are fond of this service as NetBeans DVDs are freely delivered to their hands at no cost. According to NetBeans.org; "Since August 30th, 2005, NetBeans.org has shipped more than 225,000 CDs & DVDs to developers around the world through this initiative! During this period, NetBeans has experienced explosive growth as a download, media kit, and a community. To stay ahead of this encouraging trend we are looking into ways to effectively satisfy increasing demand for NetBeans software worldwide."For sure this service played a huge role in helping so many Java developers. Also the program is a good marketing option for NetBeans since Eclipse (t... More About: Software , News , Tools , Tech
Sun suspends NetBeans IDE DVD Starter Kit distribution program
2008-09-17 05:01:00 Sun has suspended their NetBeans IDE DVD Starter Kit distribution program indefinitely. Yes, you read it correctly; they have done it. So many developers used to get most of Sun (free) products through the distribution program. Students with less bandwidth (in some colleges & universities); specially users without Internet access to home computers are fond of this service as NetBeans DVDs are freely delivered to their hands at no cost. According to NetBeans.org; "Since August 30th, 2005, NetBeans.org has shipped more than 225,000 CDs & DVDs to developers around the world through this initiative! During this period, NetBeans has experienced explosive growth as a download, media kit, and a community. To stay ahead of this encouraging trend we are looking into ways to effectively satisfy increasing demand for NetBeans software worldwide."For sure this service played a huge role in helping so many Java developers. Also the program is a good marketing option for NetBeans since Eclipse (t... More About: Software , News , Tools , Tech
Sun suspends NetBeans IDE DVD Starter Kit distribution program
2008-09-17 05:01:00 Sun has suspended their NetBeans IDE DVD Starter Kit distribution program indefinitely. Yes, you read it correctly; they have done it. So many developers used to get most of Sun (free) products through the distribution program. Students with less bandwidth (in some colleges & universities); specially users without Internet access to home computers are fond of this service as NetBeans DVDs are freely delivered to their hands at no cost. According to NetBeans.org; "Since August 30th, 2005, NetBeans.org has shipped more than 225,000 CDs & DVDs to developers around the world through this initiative! During this period, NetBeans has experienced explosive growth as a download, media kit, and a community. To stay ahead of this encouraging trend we are looking into ways to effectively satisfy increasing demand for NetBeans software worldwide."For sure this service played a huge role in helping so many Java developers. Also the program is a good marketing option for NetBeans since Eclipse (t... More About: Software , News , Tools , Tech
Lazy loading vs. pre-loading beans with Spring Framework
More articles from this author:2008-09-09 14:16:00 Spring framework can instantiate and bind (called loading) related Java objects (called beans) according to a given configuration. An XML file can easily be used to define these bindings. Spring framework supports two different types of loading methods; lazy loading and pre-loading respectively managed by BeanFactory and ApplicationContext containers. Lazy LoadingA bean is loaded only when an instance of that Java class is requested by any other method or a class. org.springframework.beans.factory.BeanFac tory (and subclasses) container loads beans lazily. Following code snippet demonstrate lazy loading, concentrate on how "beans.xml" spring configuration file is loaded by BeanFactory container class.BeanFactory factory = new XmlBeanFactory( new InputStreamResource( new FileInputStream("beans.xml"))); // 1Employee emp = (Employee) factory.getBean("employeeBean") ; // 2Even though "beans.xml" configur... More About: Beans , Tech , Spring , Framework 1, 2, 3, 4, 5, 6, 7 |



