Laliwala IT Services

Laliwala IT Services
Website Development

Saturday, February 19, 2011

javascript, jquery, java code, liferay jquery, liferay javascript, liferay translate, liferay id, liferay screen, liferay text, liferay format, lifera

Liferay Portal Development

Liferay Portlet Tutorial
 
Liferay  Javascript Tutorial

Liferay Jquery Tutorial

Liferay Theme Display Get User Id

Liferay Get Screen Name


Justin                    Liferay Developer

Mastic                     :
                                           Hi everybody.
                                          
                                           I know there have been quite a few threads about this previously, but this particular issue didn't seem to come up.
                                          
                                           There is some Java code which appears to translate the currently logged in user's ID number to their screen name, but I need to be able to do this with Javascript or jquery (any way that can be embedded in the javascript text area found on the "Manage Page" page).
                                          
                                           Right now, I have "themeDisplay.getUserId()" which returns the userID properly, but I can't seem to get it into the screen name format that I need.
                                          
                                           Any help would be greatly appreciated! Thanks!
                                          
Mohd Hanafi          :          RE: Getting screen name from userID
                                          
                                           Could you try, themeDisplay.getscreenName()
                                          
                                           Thanks.
                                          
                                           Regards,
                                          
                                           Hanafi, KL.
                                          
Dhrutika Parekh      :          RE: Getting screen name from userID
                                          
                                           Hi,
                                          
                                           Use this to get screen name:themeDisplay.getUser().getScreenName();
                                          
                        Regards,

Dhrutika
                                          
Justin Mastic           :          RE: Getting screen name from userID
                                          
                                           I tried both themeDisplay.getscreenName() and themeDisplay.getUser().getScreenName(). Unfortunately neither of them work as it says that the object doesn't support the method.
                                          
                                           Are there any other methods that could be used here, or is there a way to find out why the themeDisplay object isn't able to call these methods?
                                          
VCVijayan MCA MBA    :    RE: Getting screen name from userID
                                          
                                           Hi,
                                          
                        Include liferay define objects.
                                          
VCVijayan MCA MBA    :    RE: Getting screen name from userID
                                          
                                           Hi Mohd,
                                          
                                          
                                          
                                           Use the above code.
                                          
                                           Note: Include liferay-theme.tld
                                          
Dhrutika Parekh      :          RE: Getting screen name from userID
                                          
                                           Hi ,
                                           I have never seen such issue.Using themedisplay you are able to get userid.then you should be able to get screenname also.
                                          
                                           Regards,
                                          
                                           Dhrutika
                                          
Justin Mastic           :          RE: Getting screen name from userID
                                          
                                           Thanks for the reply, but on which page do I enter:
                                          
                                          
                                          
                                           I'm still really new at all of this and I'm not entirely sure of where all this code should go. Thanks!
                                          
VCVijayan MCA MBA    :    RE: Getting screen name from userID
                                          
                                           Hi,
                                          
                                           Incude the following code in the init.jsp file. If your are not using that file place the code where you are using the screen name.
                                          
                                          
                                           Use the following code to get the screen name.
                                          
                                          
                                          
Justin Mastic           :          Did I add these lines to the correct file?
                                          
                                           Since this is for the web proxy porlet, I added your two lines to /html/portlet/web_proxy/init.jsp, restarted my tomcat server, and still no change. themeDisplay.getUser().getScreenName() still throws a "method not supported" error.
                                          
VCVijayan MCA MBA    :    Hi Justin Mastic,
                                          
                                           In which file you are trying to fetch screenName. It is Jsp or Java file.
                                          
                                           If it is Jsp, check whether you included "init.jsp" in your file where you are trying to access screenName.
                                          
                                           If not reply me i will provide you the code for java file.
                                          
Pranay R Patadiya :          RE: Getting screen name from userID
                                          
                                           Hi Justin,
                                          
                                           First you should check r u getting themeDisplay object or not?
                                          
                                           In both jsp and java(if u have actionrequest obj), you can have this object.
                                          
                                           In JSP u need to include
                                          
                                          
                                           in init.jsp which u have included.
                                          
                                                                                                                                               
                                                                                                                                                     
                                                                                                                                                     
                                           In java file, You can get this object:                                                
                                                                                                                                                     
                                           Thanks,                                                                                             
                                                                                                                                                     
                                           Pranay Patadiya                                                                                
                                                                                                                                                     
Justin Mastic           :          Hi Justin Mastic,                                                                               
                                                                                                                                                     
                                           In which file you are trying to fetch screenName. It is Jsp or Java file.                                                                            
                                                                                                                                                     
                                           If it is Jsp, check whether you included "init.jsp" in your file where you are trying to access screenName.                                                                                                                            
                                                                                                                                                     
                                           If not reply me i will provide you the code for java file.                                                
                                                                                                                                                     
                                           am attempting to get the screenName from the javascript option on the Manage Pages area. I'm not editing any jsp or java files (I wouldn't be opposed to it, but if I can do it from javascript I'd like to do it there). Really, the only reason I am doing this is because I don't have an extension environment set up on my computer, which I'm told is necessary to edit those files. So I'm doing what I can with what I have available.                                                                                                                                                                            
                                                                                                                                                     
                                           Here is the code I am putting into "Javascript 1" on Manage Pages:                                                                                
                                                                     
                                                                                                                                                     
                                                                                                                                                     
                                           I am attempting to take the screen name of the logged in user, and passing it to a text field called "userid" on a page on another server through the web proxy portlet. Right now, it DOES push the userID through correctly, but I need the screen name to do what I want.                                             
                                                                                                                                                     
Justin Mastic           :          Hi Justin,                                                                                          
                                                                                                                                                     
                                           First you should check r u getting themeDisplay object or not?                                                
                                                                                                                                                     
                                           In both jsp and java(if u have actionrequest obj), you can have this object.                                                                                
                                                                                                                                                     
                                           In JSP u need to include                                                                  
                                                                     
                                                                                                                                                     
                                                                                                                                                     
                                           in init.jsp which u have included.                                                     
                                                                                                                                                     
                                           In java file, You can get this object:                                                
                                                                     
                                                                                                                                                     
                                           Thanks,                                                                                             
                                                                                                                                                     
                                           Pranay Patadiya                                                                                
                                                                                                                                                     
Mazhar Anwar        :          Hey Justin,                                                                                        
                                                                                                                                                     
                        ThemeDisplay Object in jsp/java and javascript are different.

for getting screen name using themeDisplay in javascript you need to modify portal jsp which is in Portal source portal-web/docroot/html/common/themes/top_js.jspf                                                            
                                                                                                                                                     
                                           at line number 100 - 180.                                                                  
                                                                                                                                                     
                                           You can override top_js.jspf in Extension Environment.                                                           
                                                                                                                                                     
                        ThemeDisplay: {

getCompanyId: function() {

return "<%= themeDisplay.getCompanyId() %>";

},                                                                                                                                                        
                                                                                                                                                     
                        etUserId: function() {

return "<%= themeDisplay.getUserId() %>";

},                                                                                                                                                        
                        <c:if test="<%= themeDisplay.isSignedIn() %>">

getUserName: function() {

return "<%= UnicodeFormatter.toString(user.getFullName()) %>";

},

</c:if>

....

.....

......

.......                                                                                                                                                    
                                                                                                                                                     
                                           You need to add one more method as follows,                               
                                                                                                                                                     
                        <c:if test="<%= themeDisplay.isSignedIn() %>">

getScreenName: function() {

return "<%= UnicodeFormatter.toString(user.getScreenName()) %>";

},

</c:if>                                                                                                                                       
                                                                                                                                                     
                        And then it will be available in javascript as themeDisplay.getScreenName().

Hope it will help you.                                                                                                                             
                                                                                                                                                     
Justin Mastic           :          Mazhar:                                                                                             
                                                                                                                                                     
                                           I believe that is EXACTLY what I needed. I am able to use themeDisplay.getScreenName() now without a problem. Thank you so much! Your help is greatly appreciated!                                                                                                                                                                         
                                                                                                                                                     

Tuesday, February 15, 2011

Php Web Application Development, webstie development, web portal development, joomla development, drupal website development,

Magento development, android development, drupal developer, drupal designer, wordpress designer, hire php programmer, hire web developer, wordpress customization, java developer, joomla development services, joomla web designer, joomla web developer, offshore software development, offshore web development, php developer india, php development india, hire php programmer, php programming developing, psd to xhtml, ruby on rails developer, buby on tails development, drupal development, ecoomerce web development, magento customization, magento customization, magento gesigner, magento developer, magento development india, mobile app development, mobile application developer, wordpress shopping cart development, psd to drupal, psd to html, psd to joomla, psd to magento, psd to wordpress, web design company india, web application development, web portal development india, web development services, web portal development company india
Php - Web Application Development


PHP is widely used in web application development. Billions of web applications running on the internet are made in PHP only. PHP requires web server and can be deployed on most of the web servers, operating systems and platforms. PHP provides filter taking input from a file or stream containing text and providing outputs to another stream of data. Though primary purpose of PHP was dynamic pages, however it has proved to be very effective server side scripting language which very effectively helps in providing content from web server to client.

PHP is a powerful server side scripting language and is widely used in creating dynamic web pages. It can also be used from command line and graphical applications. PHP is also known as Hypertext Processor, and can run on UNIX as well as Windows Servers. PHP is widely used in message boards, shopping carts, search engines and much more. Entire sites are developed with PHP only.PHP is used in creating healthcare applications, real estate portals, e learning websites, search engines, website builders, auctions web portal, sites with enormous database. PHP is also used for data mining and data collection purpose. PHP programmers make usage of OOPs concept and generate number of internet pages on the web.

PHP is available under open source license, this means it is free to use and distribute and the user is encouraged to so. The redistribution of PHP source and binary code is allowed without doing many modifications. However while doing so, the copyright statement needs to be present as well. PHP programmer working on PHP, can easily work on any open source scripts available. Some of the open source scripts available for PHP include PHPBB and osCommerce.

smartData is an ISO certified Offshore software outsourcing company involved in offshore software web development in PHP. smartData PHP programmers are experts in delivering quality web applications to clients globally. With features like scalable, robust, open source; php is quite popular scripting language with widespread capabilities for web applications to interact on the net.

Sunday, February 13, 2011

liferay Portlet tutorial, liferay tutorial, liferay portlet Example, liferay portlet development, liferay portlet training, liferay

liferay portlet development


Simple Hello World Portlet Example in Liferay 5.2.3

Prerequisite for Liferay Development

to override default settings in the build.properties

app.server.dir=C:/Liferay_Training/Liferay/tomcat

app.server ..properties

For example

app.server.attune.properties

app.server.tomcat.dir=C:/Users/attune/Desktop/Liferay5.2.3/liferay-portal-5.2.3/tomcat-6.0.18

jdbc.default.driverClassName=com.mysql.jdbc.Driver

jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&caracterEncoding=UTF-8&useFastDateParsing=false

jdbc.default.username=root

jdbc.default.password=root

Basic Hello World Portlet

EXT_2

Hello World

com.liferay.util.bridges.jsp.JSPPortlet

view-jsp

/html/portlet/ext/ScheduleMeeting/view.jsp

0

text/html

com.liferay.portlet.StrutsResourceBundle

power-user

user

EXT_2

For example

In the portal-ext.xml file Portlet-name is EXT_2 same as in Liferay-portlet-ext.xml file

EXT_2

Hello World

avax.portlet.title.EXT_2=JSP Portlet

category.example=Imran

Welcome >Add Application>Imran



liferay development, liferay developer, liferay developer training

liferay development, liferay portal development, liferay developer, liferay tutorial, liferay portlet developer india, liferay developer support, liferay developer consulting

Friday, February 11, 2011

liferay clustering, liferay customization, liferay integration

our company has a very strong team on Liferay Portal provides various services and solution on Liferay Consulting, Liferay Training, Liferay Development as well provided solutions on Liferay Customization, Liferay Clustering, Liferay Performance Tuning, Liferay Portlet development & Liferay Portlet Customization to various IT / ITES around the globe. We are committed to help companies to run their businesses more efficiently with solutions crafted to adapt their information systems, meet their strategic goals and their business needs.
As a global system integrators,  has given Liferay integration services support and training on Liferay – JBPM integration, Liferay – Alfresco integration, Liferay – Icefaces integration, Liferay – WebLogic integration and many more. We continue this journey by providing best of the integration with Liferay Portal required by our clients in coming years.

Thursday, February 10, 2011

soa, soa training, soa consulting, soa tutorial, soa project, soa architecture

SOA




soa training, soa consulting

Putting SOA Back on Track with Activity Architecture

There are many rumors about enterprise architecture at this time. I would occasionally see blog entries, or is not whether the enterprise architecture is a compensation for service-oriented architecture. It's really not, it may be that your SOA business architecture will take in his toolbox.

If it helps, I have my own simple way of looking at it. I am inclined to think of enterprise architecture planning and zoning of the company. Enterprise architects dealing with technical details, such as standards, true, but these decisions must also be taken into account if the company does much of the way the planning and zoning boards to take account of a province or a municipality of 10 years master plan for growth and development to take.

But the question is confusing, even among architects who wonder how the efforts of SOA fit together with attune infocom vice versa. Author and former Blue Cross / Blue Shield Massachusetts chief architect Rick Sweeney takes issue with the head in a recent interview published in two parts with Tech Target, and in his new book, "Achieving Service-Oriented Architecture: Implementation of an Enterprise architectural approach "available for preview on Google Books.

One of the key points he makes in this interview is that SOA is effectively blocked by the fact that most companies have to carry it out without too big picture of the architecture level. You've heard it before it is an architecture, not technology, but I think he does a good job of explaining the costs to focus on technology:

He also talks about how IT culture to be changed to adapt to the demands of SOA, including the need to move from the web development silos inherent in the project-oriented. It will be difficult for IT, which actually pioneered the field of project management in companies, but there are real benefits of his advice, particularly if we look at integration.

Saturday, February 5, 2011

liferay offshore development, liferay portal development, liferay portal developer, liferay portal training, liferay online training, liferay asia, us

liferay offshore development











liferay offshore development



we offer software development services, portal development, web development, we are expert in liferay and alfresco, liferay integration, liferay configuration, liferay portlet development, liferay training.



liferay offshore development














open source liferay portal development



















liferay portal development
liferay developer training
lieray administrator training
lieray online training
liferay theme development
liferay consulting
liferay portal solution
liferay portal development support
liferay training
liferay integration
Liferay Customization
Liferay Clustering
Liferay Performance Tuning

Liferay Portlet Customization

Liferay integration services

Liferay – JBPM integration

Liferay – Alfresco integration

Liferay – Icefaces integration

Liferay – WebLogic integration


jQuerybook, jquery tutorial, jquery training, jquery in liferay portal, jquery liferay, jquery liferay developer, jquery development, jquery portlet

jQuery book
jQuery in action










in this jquery book
In-depth jQuery 1.4
Complete coverage of jQuery UI 1.8
DOM manipulation and event handling
Animation and UI effects
Many practical examples
jquery book description
A good web development framework anticipates your needs—jQuery practically reads your mind. You'll fall in love with it when you see 20 lines of code reduced to three. jQuery is concise and readable. And with version 1.4, there's even more to love including new effects and events, usability improvements, and more testing options.
more information in jquery book in action

jQuery in Action, Second Edition is a fast-paced introduction to jQuery that will take your JavaScript programming to the next level. An in-depth rewrite of the bestselling first edition, this edition provides deep and practical coverage of the latest jQuery and jQuery UI releases. The book's unique "lab pages" anchor the explanation of each new concept in a practical example. You'll learn how to traverse HTML documents, handle events, perform animations, and add Ajax to your web pages. This comprehensive guide also teaches you how jQuery interacts with other tools and frameworks and how to build jQuery plugins.

About the Author

Bear Bibeault is a software architect and JavaRanch senior moderator and coauthor of Manning's Ajax in Practice and Prototype and Scriptaculous in Action. Yehuda Katz is a developer with Engine Yard. He heads the jQuery plugin development team and runs Visual jQuery.
jquery book plugin development in jquery

jQuery Plugin Development











jQuery is the most famous JavaScript library. If you use jQuery a lot, it can be a good idea to start packaging your code into plugins. A jQuery plugin is simply a way to put your code into a package, which makes it easier to maintain your code and use across different projects. While basic scripting is relatively straightforward, writing plugins can leave people scratching their heads.

With this exhaustive guide in hand, you can start building your own plugins in a matter of minutes! This book takes you beyond the basics of jQuery and enables you to take full advantage of jQuery's powerful plugin architecture to deliver highly interactive content to your website viewers.

This book contains all the information you need to successfully author your very own jQuery plugin with a particular focus on the practical aspect of design and development.

This book will also cover some details of real life plugins and explain their functioning to gain a better understanding of the overall concept of plugin development and jQuery plugin architecture.

Different topics regarding plugin development are discussed, and you will learn how to develop many types of add-ons, ranging from media plugins (such as slideshows, video and audio controls, and so on) to various utilities (image pre-loading, handling cookies) and use and applications of jQuery effects and animations (sliding, fading, combined animations) to eventually demonstrate how all of these plugins can be merged and give birth to a new, more complex, and multipurpose script that comes in handy in a lot of situations.

A practical straightforward guide for creating your first jQuery plugin

What you will learn from this book :
Create numerous types of commonly used jQuery plugins
Design a standard development pattern to apply to all your plugins to speed up the process
Build plugins that enhance viewer's multimedia experience on your website
Learn how to build attractive animation plugins that show effects like fading and sliding
Discover how jQuery handles third party plugins and how some portions of code can(not) be accessed
Implement time saving design patterns and best practices to optimize your plugins
Learn the ins and outs of some of the most popular plugins and how they actually work to do what they do
Learn via an in-depth practical approach, providing you with a simple, yet effective, structure to minimize efforts and obtain better results quickly


Learning jQuery 1.3

An introduction to jQuery that requires minimal programming experience
Detailed solutions to specific client-side problems
For web designers to create interactive elements for their designs
For developers to create the best user interface for their web applications
Packed with great examples, code, and clear explanations
Revised and updated version of the first book to help you learn jQuery
To build interesting, interactive sites, developers are turning to JavaScript libraries such as jQuery to automate common tasks and simplify complicated ones. Because many web developers have more experience with HTML and CSS than with JavaScript, the library's design lends itself to a quick start for designers with little programming experience. Experienced programmers will also be aided by its conceptual consistency.

Revised and updated for version 1.3 of jQuery, this book teaches you the basics of jQuery for adding interactions and animations to your pages. Even if previous attempts at writing JavaScript have left you baffled, this book will guide you past the pitfalls associated with AJAX, events, effects, and advanced JavaScript language features.

In this book, the authors share their knowledge, experience, and enthusiasm about jQuery to help you get the most from the library and to make your web applications shine. The book introduces jQuery and shows how you can write a functioning jQuery program in just three lines of code. It then guides you through CSS selectors and shows how to enhance the basic event handling mechanisms to give them a more elegant syntax. You will then learn to add impact to your actions through a set of simple visual effects and also to create, copy, reassemble, and embellish content using jQuery's DOM modification methods. You will also learn to send and retrieve information with AJAX methods. The book will then step you through many detailed, real-world examples and even equip you to extend the jQuery library itself with your own plug-ins.

Packed with great examples and clear explanations, this revised and updated version of Learning jQuery teaches you how to use jQuery 1.3.

What you will learn from this book :

This book will give you the tools you need to be on the cutting edge of the web development community. With these techniques at your disposal, you can:
Use selectors to get anything you want from a page
Make things happen on your page with events
Add flair to your actions with animation effects
Change your page on command with DOM manipulation
Use AJAX to get the most out of server-side code
Transform drab, static information containers into beautiful, dynamic tables
Breathe new life into online forms
Create dynamic shufflers, rotators, and galleries
Get started with official jQuery plug-ins
Customize by writing your own jQuery plug-ins


























Friday, February 4, 2011

Liferay Administrator training

Liferay Administrator training














Portal Building on Liferay
Lifeary installing
Liferay configuring
Liferay installing on existing application server
Liferay administration intro
Lifeary plugin management
Creating liferay plugin repository
Configuring liferay services oriented architecture (soa)
Creating liferay cluster
Lifeary cluster design
Principles liferay clustering
Configuring ehcache – hibernate
Logging and jackrabbit clustering
Tomcat clustering
Load balancing with apache
Deploying plugins to cluster
Tuning the cache and workflow
Deploying a customized liferay
Liferay performance tuning
Wsrp liferay monitoring
Backing up a Lifeary installation
Log levels
Upgrading liferay



liferay administrator training

















liferay cms training



Thursday, February 3, 2011

jboss book, jboss tutorial, jboss training, jboss jbpm training, jbpm liferay training, jboss development, jboss cosulting, jboss solution, jboss usa

jboss Tutorials book




JBoss Performance Tuning Book














jboss drools business rules













JBoss RichFaces 3.3












jboss tools 3 developers guide












jboss portal server development














jboss jbpm












jboss at work









jbpm developer guide











jboss in action











learn jboss book

jboss solutiong






jboss jbpm









jboss training
jboss middleware



Wednesday, February 2, 2011

Liferay Question Answer


Jaber C. Mourad:The link back goes to null page !
Hi,
I have a trouble with a fresh install of lf 6.0.2.
Every link "back to..." are going to null page !!
In catalina.out I've got that exception :







Alfredo Larotonda :RE: The link back goes to null page !

Hi,

I have a trouble with a fresh install of lf 6.0.2.

Every link "back to..." are going to null page !!

Is there any possibility to change that behavior ?

Regards


Jaber C. Mourad:Hi,

I'm using mysql under linux (ubuntu server 10.04).

It is happening for many components (control panel, document repository...), that's why I'm suspecting configuration problem...



Regards


Alfredo Larotonda:
Jaber C. Mourad:


Hi,

I'm using mysql under linux (ubuntu server 10.04).

It is happening for many components (control panel, document repository...), that's why I'm suspecting configuration problem...

Regards

I have the same issue with MS SQL Server 2005 so It doesn't depend on the execution environment.
Maybe some configuration?
I hope someone will help us !!

Alfredo


Shagul Khajamohideen:What is your setup like? Are you running Apache/Web Server in a separate machine?

Mazhar Anwar:Dear Shagul,

Back Url issue is there for local instance also.

Simple way to reproduce it is remove VIEW Permission of one folder for Guest Users in Document Library Portlet.

Now try to access that folder without login. You will get Error page showing message that "You do not have the required permissions."

Now check the << Back URL on Right Tab.
It seems some OOB Issue.


Alfredo Larotonda:
Shagul Khajamohideen:


What is your setup like? Are you running Apache/Web Server in a separate machine?

Yes, in my configuration I have an Apache Http Server in a separate machine that is connected via ajp with the Tomcat.
But we used this kind of configuration with other releases of Liferay without any problem.

Alfredo

Shagul Khajamohideen:
Shagul Khajamohideen:
Try updating the below property in portal-ext.properties with the IP address of Apache also and see if that helps.



Thanks a lot for the answer !! Is this a valid parameter for Liferay 6.0.2. ?

Alfredo


Alfredo Larotonda:Shagul Khajamohideen:

Try updating the below property in portal-ext.properties with the IP address of Apache also and see if that helps.



Thanks a lot for the answer !! Is this a valid parameter for Liferay 6.0.2. ?

?Alfredo


Alfredo Larotonda:Yes it's a valid parameter, I found it on Liferay 6.0.2 portal properties.
Ok I'm going to try if it works !!

Alfredo


Alfredo Larotonda:Finally I fixed it !!!

The answer is explained here:
http://www.liferay.com/community/forums/-/message_boards/message/4951822

In my configuration the issue was resolved with this two parameters in the portal-ext.properties:

redirect.url.security.mode=domain
redirect.url.domains.allowed=

I hope this will be helpful for someone!!

Wow I'm happier than the day Italy won the FIFA world cup !!!
This was a very big big problem for me, a week before going to production !!!

Thanks a lot !!!!
Alfredo






Liferay Question Answer

Rishi Dev Gupta:Mysql Connection in sleep state
Hi all

I am using LFR 5.2.3/mysql 5.0.

I am facing the issue that when we put some load then after the load is completed therea re too many connections in "sleep" state in mysql. The process list can be seen using "show processlist" command.

Is there something wrong with my configuration. Ideally the connection should not be in sleep mode once the session in liferay is over. Mysql should release the resources with processes.

If anybody have faced the same issue and have fixed it let me know.

Thanks to all



Mazhar Anwar : RE : Mysql Connection in sleep state

There is nothing wrong with your setting. This is Hibernate's working behaviour.

for more info please check following properties in portal.properties.

jdbc.default.maxPoolSize=100
jdbc.default.minPoolSize=10

Regards,
Faris Abdulla : Hi Mazhar,
I also have the same problem, but it happens for my second database.
For my application I'm using 2 database 'A' and 'B'. My 75% of the details are stored in database 'A' and remaining in database 'B'.
The issue is that the database 'A' is accessed all the time. But 'B' is rarely accessed. So if the 'B' is not accessed for more than 1 day the MySQL connection of 'B' got sleep state and the data is not able to access.
In that case I need to restart my server or atleast anyone should access the data in 'B' daily at once.
How can I achieve this. Please help me on this..
Thanks, Faris
Roshan Qureshi : Please put your settings and also stack trace of the exception you are getting at your end.