Mock tests, Interview questions, Tutorials and Tech news
 
 

Archive

Archive for August, 2010

UK CAR and Bike Driving Test

August 23rd, 2010 Vinay 1 comment

A car and bike driving test for UK has been added to skill-Guru. It has 19 free questions and 38 paid questions. Price is only $4.0

Kindly take the test and give feedback.

There are New jersey driving test and Massachusetts dmv practice test available at Skill-guru

Categories: driving tests Tags:

What is TIBCO hawk

August 22nd, 2010 jaya No comments

TIBCO Hawk is a sophisticated tool for enterprise-wide monitoring and managing of all distributed applications and systems. System administrators can use it to monitor adapters in a wide area network of any size. TIBCO Hawk can be configured to monitor system and adapter parameters and to take actions when predefined conditions occur. These actions include: sending alarms that are graphically displayed in the TIBCO Hawk display, sending email, paging, running executables, or modifying the behavior of a managed adapter.

Unlike other monitoring applications, TIBCO Hawk relies on a purely distributed intelligent agent architecture using publish or subscribe to distribute alerts. TIBCO Hawk uses TIBCO Rendezvous for all messaging and thus gains the benefits and scalability from the TIBCO Rendezvous features of publish/subscribe, subject name addressing, interest-based routing, and reliable multicast. Read more…

Categories: Programming / tutorials Tags:

Tomcat 6.0.26 shutdown reports “A web application created a ThreadLocal …. ThreadLocal has been forcibly removed”

August 22nd, 2010 Vinay 1 comment

This problem happened with an JSF , Hibernate and rich faces application which was running on tomcat 6.0.14 version and Jdk1.6.0 . When upgraded to Tomcat 6.0.26 and JDK 1.6.0-19, it started behaving strangely.

The jsf messages were displayed as html  and looked as the servver was not parsing them.

for eg {userbean.errorMessage} started showing on pages.

After much analysis it was found that this problem is because of tomcat upgrade.  Why is this problem ?

From the documentation

For the #{} expressions to be recognized in Tomcat 6, your web application must adhere to the Servlet 2.5 specification. Make sure, that version and xsi:schemaLocation attributes of element in your WEB-INF/web.xml file have the correct values. You can look into conf/web.xml or into the examples application for an example.
In the versions 6.0.24 and earlier the deferred expressions were processed regardless of the specification version specified in web.xml. That was changed/fixed in 6.0.26.

Below is solution

Changed

<?xml version=’1.0′ encoding=’UTF-8′?>
<!DOCTYPE web-app PUBLIC
“-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN”
“http://java.sun.com/dtd/web-app_2_3.dtd”>
<web-app>

……………..

to

<?xml version=”1.0″ encoding=”UTF-8″?>
<web-app
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xmlns=”http://java.sun.com/xml/ns/javaee”
xmlns:web=”http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd”
xsi:schemaLocation=”http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd”
id=”WebApp_ID”
version=”2.5″>

…………………

remove these if they exist in your web.xml

<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>

<taglib>
<taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>

<taglib>
<taglib-uri>/WEB-INF/jsf_core.tld</taglib-uri>
<taglib-location>/WEB-INF/jsf_core.tld</taglib-location>
</taglib>

<taglib>
<taglib-uri>/WEB-INF/html_basic.tld</taglib-uri>
<taglib-location>/WEB-INF/html_basic.tld</taglib-location>
</taglib>

If this was helpful , please add comment below

Categories: Programming / tutorials Tags: ,

What is TIBCO ?

August 19th, 2010 jaya 1 comment

TIBCO provides a common framework for integrating incompatible and distributed systems – making it faster and easier to tie together applications and Web Services so you can integrate them into business processes that span your organization. TIBCO reduces the complexity of your IT infrastructure and dramatically improves its reliability, flexibility and scalability – giving you the ability to focus on improving how your business runs instead of worrying about whether or not your infrastructure will be scalable or flexible enough to support new initiatives or capitalize on perpetual shifts in the market.

TIBCO’s EAI(Enterprise application integration) software lets your applications, databases and mainframes communicate and interact with each other by automatically routing and transforming information so it gets where it needs to be, when it needs to be there, and in the proper format. TIBCO’s EAI software lets you integrate your business using the best available approach for your specific situation – whether that is an industry-standard technology such as Java, XML, or Web

TIBCO Software Inc. is a global software company, with headquarters in Palo Alto, California. They provide business integration software to integrate, manage, and monitor enterprise applications and information delivery. Their software products include applications for coordinating business process and activites, securely exchanging information with trading partners, creating and maintaining XML documents, and managing distributed systems. Their software products is also called by the name TIBCO, which include a set of products. It may be defined as below   Read more…

Categories: Programming / tutorials Tags:

RBS US Recruitment Drive in NJ, USA

August 18th, 2010 Vinay No comments

RBS is looking to hire candidates in US to work in India . Not sure if economy is that bad in USA or it is for people willing to back to their home country.

Categories: Career Tags:

REP-56055: Exceed max connections allowed: 20

August 18th, 2010 Vinay No comments

During the load test of oracle reports, we discovered that the server will not process more than 20 reports at any given time. So if we run the Load Runner with 64 users or 128 users, it does not make a  difference. It will only process 20 reports at a time.

The reason for this is because there is property connection maxConnect=”20″ in file server_name.conf .

We changed the value of property to 90 in DEV server(rio) and ran the Load runner scripts pointing to rio
reports/conf/server_name.conf
The report server is now able to generate output of 90 files.

So this property needs to be set to whatever number of maximum users we are trying to connect.

Core Spring training classes in Burlington, MA

August 11th, 2010 Vinay No comments

If you are new to Spring and would like to learn from experts , there’s a Core Spring class coming
to Burlington, MA on September 7th . This is not cheap. This class costs $2790.

Register Here

After taking this class you will be able to

  • Develop Java applications using the Spring Framework
  • Use Dependency Injection to set up and configure applications
  • Test Spring Applications
  • Use Hibernate and JDBC with Spring to access relation databases
  • Make use of Spring’s support for transactions
  • And much more…

What:          Core Spring Class
Where:        Burlington, MA
When:         September 7-10
Cost:           $2790

Preparing for Spring certification ?

Try out these practice tests

Core Spring Certification practice test 1

Core Spring Certification practice test 2

ERROR- jmeter.threads.JMeterThread: Test failed! java.lang.OutOfMemoryError Java heap space

August 10th, 2010 Vinay No comments

We  had talked about Ramp up period in Jmeter and Load testing with JMeter in last posts

We get this error when testing with load of 1800 concurrent users.

Http request

Number of threads(users) = 1700
Ramp up period(in seconds) = 0
Loop Count = 1

In Jmeter logs , I found this error

ERROR – jmeter.threads.JMeterThread: Test failed! java.lang.OutOfMemoryError: Java heap space

When  load testing with Jmeter , the no of concurrent threads you can create is also dependent on your desktop or laptop. I have a 2GB laptop and had closed all the services , still 1700 was the a maximum number of users we could test.

Categories: Programming / tutorials Tags:
Get Adobe Flash playerPlugin by wpburn.com wordpress themes