Webner Blogs - eLearning, Salesforce, Web Development & More - Page 61 of 62

Importance of Website for Business – Part 3

Author - Webner

In previous 2 posts in this series we covered benefits of having a website for your business and difference between Responsive and Non-Responsive website. We also shared some stats on how small business presence on Internet is going up.

In this third and final post of “Importance of Website Read more…

Importance of Website for Business – Part 2

Author - Webner

In our previous post in this series of articles explained the importance of having a website for your business.

In this post we will cover some more benefits of websites and features your website can provide in case you want to sell your products/services online. We will also go Read more…

Importance of Website for Business – Part 1

Author - Webner
|
0 Comments
|

Changing times need change in business strategies. Today’s business strategies and processes are far different from the strategies which were used in past. Earlier people used to rely on newspapers classifieds or references but now huge mass types it into Google search engine for their needs. There are many Read more…

Digital Signature using Zoho Creator

Author - Webner
|
0 Comments
|

Digital signatures/online signatures, as we all know, play a very important role in online industry. The simple idea of using a digital signature results in reducing the paperwork and saves time.

 Zoho Creator has provided “signature” feature for online signing of documents. In one of Read more…

YUI3 Panel background shading and position problems

Author - Webner
|
0 Comments
|

By default YUI3 assigns yui3-widget-mask class for background shading. To override that we need to change its style properties. Similarly for position of the panel, it can be changed by specifying position property of .yui3-panel class. These are the methods to accomplish this:

Y Read more…

Eclipse – Stop auto jumping to the file in project explorer (disable link with editor)

Author - Webner
|
0 Comments
|

When you switch among opened files in eclipse, project explorer moves to the currently active file (in left pane). This can be annoying several times. To disable this just make sure icon with double arrows in Project Explorer (top right of Project explorer – see image below) is not pressed (this Read more…

iFrames, Javascript events and IE problems

Author - Webner
|
0 Comments
|

Several hours wasted while debugging this. We have a, HTML page and within this page is a hyperlink to open another page in iFrame. While iFrame page is loaded we display WAIT message overlay on parent page so as to make that inaccessible. So wait message overlay is behind iFrame Read more…

Connection Pool with Tomcat6 and Mysql

Author - Webner
|
0 Comments
|

Inside $tomcat_home/conf/context.xml add this inside <Context>
<Resource name=”jdbc/datasourcename” auth=”Container” type=”javax.sql.DataSource” maxActive=”100″ maxIdle=”30″ maxWait=”1000″ username=”dbuser” password=”dbpwd” driverClassName=”com.mysql.jdbc.Driver” url=”jdbc:mysql://localhost:3306/exodus”/>
Now restart tomcat

Inside Read more…

ORA-28001: the password has expired

Author - Webner
|
0 Comments
|

That’s the error you get for oracle user for whom password is expired.

One Solution – Connect using sqlplus to set new password, you can even use the same password you had earlier.

$ sqlplus

SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 13 01:12:07 Read more…

Oracle Privileges to Import/Export data into any tablespace

Author - Webner
|
0 Comments
|

Generally we can have a single user with DBA rights to import/export (using imp/exp utilities) data into any tablespace instead of assigning these privileges to every user account.

Suppose you have an oracle user appdba. Grant DBA role to appdba and you can use this Read more…

Apache Config Steps – Run multiple domains on same ip

Author - Webner
|
0 Comments
|

Suppose you want to point abc.mydomain.com and mydomain.com to same machine/ip, but to different applications. There are multiple ways to achieve this (basically with same config settings but in different files). I am giving one way here that worked for me:

* Go to /etc/apache2/sites Read more…

Generating ssh keys – steps

Author - Webner
|
0 Comments
|

These are the steps:

Suppose you want to connect from machine X to machine Y as userme.

* login to X as userme
* At /home/userme run this command:

ssh-keygen -t rsa

This will generate 2 files in /home/userme/.ssh folder

id_rsa
id_rsa.pub

* open id_rsa.pub file and Read more…

Send email using gmail in Perl

Author - Webner
|
0 Comments
|

Here’s sample code to send email via Gmail SMTP server, which uses TLS (transport layer security):
#!/usr/bin/perl -w
use Net::SMTP::TLS;

my $mailer = new Net::SMTP::TLS(
‘smtp.gmail.com’,
Hello => ‘smtp.gmail.com’,
Port => 587,
User => ‘gmail userid’,
Password=&gt Read more…

Installing Perl Modules – Ubuntu

Author - Webner
|
0 Comments
|

Execute this command on a command line:
sudo perl -MCPAN -e shell
It will install CPAN if not already installed. Then it will take you to CPAN prompt.

On CPAN prompt, execute this command to install Perl module:
CPAN> install module name
For example Read more…

Android Jumble Challenge

Author - Webner
|
0 Comments
|

Jumble Challenge has seen a really good start with more than 115 downloads in initial few days of launch. If you like to unjumble words this is the game for you. With 3 different levels Jumble Challenge is ideal for kids, young and experienced alike. Jumble Challenge is absolutely free Read more…

mongod cannot execute binary file

Author - Webner
|
0 Comments
|

mongod: cannot execute binary file

Most probable reason – you are using 64-bit mongodb, switch to 32-bit for quick solution….or find the compatible 64 bit package

apt-get install subversion – Package subversion is not available

Author - Webner
|
0 Comments
|

On Ubuntu:
$apt-get install subversion
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package subversion is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
Read more…

WordPress paste/type – how to avoid double space

Author - Webner
|
0 Comments
|

Use + Key instead of just Read more…

SCEA 5 – My 2 cents

Author - Webner
|
0 Comments
|

I recently became SUN certified Enterprise Architect after clearing all 3 parts of SCEA. It is hard to get answers to all questions one may have regarding SCEA but SCEA forum on javaranch.com is great!! I have shared my experience here for each part to help SCEA seekers.

Part Read more…

Tomcat – java.lang.Unsupported Class Version Error: Bad version number in .class file

Author - Webner

This is because your class files were compiled with a Java compiler not compatible with JVM in use within tomcat. If you compiled on the same machine on which you have tomcat running, you must be having 2 JDKs (or a JDK and another JRE) with different versions. Solution to Read more…