Tuesday, May 19, 2009

GAE integration with BlazeDS in Eclipse

Let me write down the steps for integrating BlazeDS with Google App Engine in Eclipse. Before that here is the list of things you will need.

1)Eclipse 3.3(I use this one, any other version should also be fine provided you have other plugins)
2)Flex Builder 3 plugin for eclipse
3)BlazeDS files(JARs and XMLs)
4)Google App Engine plugin for eclipse

Ok lets get started...
Create a Google App Engine Project. Enable Flex Nature for it.
Put project_name/war folder for Root Folder in Flex Builder configuration for the project.
Root URL : The URL where the Google App is running.
Root Context : Leave it blank.

Make sure you are running the server and validate the configuration.


Copy the XMLs from BlazeDS Project into WEB-INF/flex folder, heres the list of them

services-config.xml
proxy-config.xml
remoting-config.xml
messaging-config.xml

Copy the JARs into WEB-INF/lib folder, heres the list.
backport-util-concurrent.jar
commons-httpclient-3.0.1.jar
commons-logging-1.1.jar
concurrent.jar
commons-codec-1.3.jar
flex-messaging-common.jar
flex-messaging-core.jar
flex-messaging-opt.jar
flex-messaging-proxy.jar
flex-messaging-remoting.jar

Add xalan.jar also as I had faced the servlet initialisation problem without it.
MessageBrokerServlet failed to initialize due to runtime exception: Exception: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model:

Add


to the appengine-web.xml

Add AMF Servlet to the web.xml



Make sure you have war/classes/META-INF/jdo-config.xml

Disable JMX by making the value false in services-config.xml



Disable the system redeploy by making the value 'false' in services-config.xml
Enabling this creates a thread when you redeploy the application, which is not allowed by GAE



These steps are enough to have the Application running.

Labels: , , , , , , , ,

Monday, September 22, 2008

Vegetarian Food in Malaysia

I just wanted to document the availability of vegetarian food in Malaysia. Its not at all difficult to find vegetarian food in Malaysia as 10% of Malaysians are of Indian origin.

KUALA LUMPUR

In Kuala Lumpur, there are lots of vegetarian restaurants(mostly Indian, rarely Chinese), which are 100 % vegetarian.There are lots of other Indian restaurants providing both non-veg and veg. They are predominantly south indian restaurants.
What is interesting to note is that,some vegetarian restaurants have mushroom also in their menu, some even have Vegetarian Chicken,Mutton etc...which are made out of soya.
The most prominent places where you will find these veg restaurants are Masjid India,Lebuh Ampang(both near Masjid Jamek LRT station) and Brickfields(near KL Sentral). Prominent ones being Sangeetha and Saravana Bhavan(Hotel chains from chennai).
Maggi noodles available here contain chicken fat, so that option is ruled out. Some other instant noodles(100%veg) are available but they contain MSG,not a healthy option unless you are starving.It is easy to get provisions for indian cooking easily here.
Milk is available in cartons in all Seven-Eleven Shops. You can also buy it from the restaurants.

Melaka, Seremban, Penang and all the big cities should have vegetarian restaurants usually near the Little Indias. There is WoodLands and Ananda Bahwan(The spelling is correct) in Georgetown.

I did not find any pure veg restaurants in Sungai Petani.
There is none in Pulau Redang(Redang Island). I survived by eating bread and jam, which I had carried along from KL.
You may find some Indian restaurants in Kuala Terengganu but serves both veg and non-veg.
There is one Indian restuarant in Genting HighLands which serves both veg and non-veg.

There is not much option when you go out of Kuala Lumpur. McDonald outlets are everywhere and you can survive eating just french fries.

Note: Found out after writing this post that you can get lot more information in this website http://www.happycow.net/

Labels: , , , , , , , , , , , , ,

sandyabcd

whats your blog called?whats the link?

Labels: , , , , , , , ,

Saturday, September 15, 2007

Thorapalli




Thorapalli, 10 km from Hosur in Krishnagiri district is a small village but has great importance in the indian history. It is the birthplace of India's first and last Governor General C. RajaGoplachari.

Rajaji was born and brought up here in this village. The house where he lived is still there and is mainatained by the Govt of TamilNadu.The house has been turned into a memorial.A bust of the leader has been installed. The memorial houses a library and a gallery of pictures, capturing interesting moments in Rajaji's life.
There is also a temple besides the memorial. The village is situated on the banks of river South Pinakini(Palar).

It can be reached from the town of hosur.Take NH-7 towards krishnagiri from hosur, till you reach perandapalli. Turn right here, you will find a big welcome arch with letters in Tamil, welcoming you to the birthplace of Rajaji. It is 3 kms from here.



View of River Dakshina Pinakini from the village

Saturday, July 14, 2007

Medicinal Plants

Here is a list of medicinal plants of India with their Sanskrit and Botanical Names and the remedies. Hope it helps somebody.

Sanskrit

Botanical Name

Remedies

Vaasa

Adhatoda zeylanica

Cough,Fever

Madayantika

Lawsonia inumis

Cracks in the foot,heat

Japa Pushpa

Hibiscus Rosa Senensis

Irregular menstruation

Ashwagandha

Withania Somnifera

General Weakness

Upodika

Basella alba

Mouth Ulcer, Heat

Nimba

Azardichta indica

Scabies,worms in stomach

Tulasi

Ocimum tensiflorum

Common cold

Kumari

Aloe barbadensis

Cuts,sore eye,excess menstrual bleeding, white discharge

Guduchi

Tinospora Cordifolia

Fever, lack of immunity

Dadima

Punica granatum

Dysentry

Jambira

Citrus limon

Stomach ache

Perala

Psidium gujava

Tooth ache

Shatavari

Asparagus racemosus

Increasing lactation

Brahmi

Bacopa monnieri

Memory improvement

Bhringaraja

Eclipta prostrata

Hair growth

Labels: , , , , , , ,

Sunday, December 31, 2006

y the name sixty four arts???

THE part of the Kama Shastra, which treats of sexual
union, is also called `Sixty-four' (Chatushshashti). Some
old authors say that it is called so, because it contains
sixty-four chapters. Others are of opinion that the author
of this part being a person named Panchala, and the
person who recited the part of the Rig Veda called
Dashatapa, which contains sixty-four verses, being also
called Panchala, the name `sixty-four' has been given to
the part of the work in honour of the Rig Vedas. The
followers of Babhravya say on the other hand that this
part contains eight subjects, viz. the embrace, kissing,
scratching with the nails or fingers, biting, lying down,
making various sounds, playing the part of a man, and the
Auparishtaka, or mouth congress. Each of these subjects
being of eight kinds, and eight multiplied by eight being
sixty-four, this part is therefore named `sixty-four'. But
Vatsyayana affirms that as this part contains also the
following subjects, viz. striking, crying, the acts of a man
during congress, the various kinds of congress, and other
subjects, the name `sixty-four' is given to it only
accidentally. As, for instance, we say this tree is
`Saptaparna', or seven-leaved, this offering of rice is
`Panchavarna', or five-coloured, but the tree has not seven
leaves, neither has the rice five colours.

Friday, November 24, 2006

BMIC


Here is a glimpse of Kanakapura road- Bannerghatta road section of peripheral ring road which is a part of Bangalore Mysore Infrastructure Corridor project.





Tuesday, April 25, 2006

My Dear Fellow Bloggers

I think I have found out a new use of blogs.(maybe somebody else is doing it already)
Instead of writing on to a CD write it here..
The two new posts below are such writings..
the first one my project and the next one seminar...

This was just a trailer...the full report is going to be published soon...keep waiting

Extended Abstract

Extended Abstract

Squeeze Film Dampers (SFDs) are commonly used to effectively enhance the damping force to the rotating shaft supported by rolling element bearings. Thus, the dynamic behavior of such a rotor system depends strongly upon the dynamic characteristics of the SFD in service. In the past, many researchers put much effort in either experimental determination or analytical prediction of the dynamic properties of SFD in service. However, few research results are found completely satisfactory yet, due to the complexity of the SFD analysis and the difficulty in experimentations.

Squeeze film dampers (SFDs) are essential components of high-speed turbomachinery since they offer the unique advantages of dissipation of vibration energy and isolation of structural components, as well as the capability to improve the dynamic stability characteristics of inherently unstable rotor-bearing systems. SFDs are used primarily in aircraft jet engines to provide viscous damping to rolling element bearings which themselves have little or no damping. One other important application is related to high performance compressor units where SFDs are installed in series with tilting pad bearings to reduce (soften) bearing support stiffness while providing additional damping as a safety mechanism to prevent rotordynamic instabilities.

In spite of the many successful applications, industry often recognizes that the design of SFDs is based on overly simplified theoretical models that either fail to incorporate or simply neglect unique features (structural and fluidic) that affect the damper dynamic force performance. Actual damper performance can range from erratic to non-functioning depending on the operating conditions. The lack of adequate understanding of the mechanics of squeeze film flows is essentially due to the near absence of fundamental experimental evidence and sound rationale that directly addresses the issues and problems of interest.

The earliest application of a SFD in an industrial machine is credited to Sir Charles Parsons who invented in 1889 the radial flow steam turbine; 32 kW in size and running at 6,000 rpm. Arthur Bill from Rolls Royce, Ltd. claimed the first patent describing a SFD. The specification stated an advantageous means of damping vibrations in bearings is to provide a hydrodynamic fluid film, sometimes referred to as a "squeeze film” between the bearing and its supporting structure. One of the specific embodiments of the invention was described as an application to axial flow compressor bearings as used in aircraft engines.


A squeeze film damper (SFD) consists of an inner non-rotating journal and a stationary outer bearing, both of nearly identical diameters. Figure 1 shows an idealized schematic of this type of fluid film bearing. A journal is mounted on the external race of a rolling element bearing and prevented from spinning with loose pins or a squirrel cage that provides a centering elastic mechanism. The annular thin film, typically less than 0.250 mm, between the journal and housing is filled with a lubricant provided as a splash from the rolling bearing elements lubrication system or by a dedicated pressurized delivery. In operation, as the journal moves due to dynamic forces acting on the system, the fluid is displaced to accommodate these motions. As a result, hydrodynamic squeeze film pressures exert reaction forces on the journal and provide for a mechanism to attenuate transmitted forces and to reduce the rotor amplitude of motion.

Abstract

Abstract:
Welding is an indispensable manufacturing process used and its effectiveness may be measured by its ability to produce joints of acceptable quality at the lowest possible cost. Unacceptable joint quality may arise from a failure to comply with the specified design or from the incidence of weld defects. These problems are, however, preventable if their causes are understood and the correct operating procedures are followed.
The most common welding problems include:
• Spatter, molten weld metal ejected from the weld.
• Cracking, there are different mechanisms which can lead to the problem, such as solidification cracking, HAZ liquation cracking, reheat cracking and cold cracking.
• Porosity, holes formed in the weld metal from entrapped gases.
• Shape defects, such as overfill, root convexity, root concavity, undercut, lack of penetration and lack of fusion.
• Distortion, the buckling and bending of the component due to stress applied by the heating and cooling of the material.