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.

32 comments:

Martin Zoldano said...

Well many people think they got it running ok 'locally', problem is when you deploy to the cloud you run into BlazeDS freezing due to a req input streaming issue, there's one more step to be followed

http://martinzoldano.blogspot.com/2009/04/appengine-adobe-blazeds-fix.html

cheers

sixtyfourarts said...

Thanks for the suggestion. But I did not experience this when I hosted it onto the cloud. Maybe I will experience later.

Anonymous said...

which is better cialis or viagra viagra from india viagra or cealis viagra by mail viagra suppliers in the uk viagra sales womens viagra watermelon viagra viagra cheap price iframe marijuana and viagra viagra cialis levitra cheapest viagra in uk buy viagra now try viagra for free

Anonymous said...

Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!

Anonymous said...

New here,

I'm seeking help for the kids of Haiti.

I'm doing this for a non-profit haiti group that gives time to
creating oppurtunities for the kids in haiti. If anybody wants to help then then please do so here:

[url=http://universallearningcentre.org]Donate to Haiti[/url] or Help Haiti

They provide kids in Haiti a positive outlook through education.

Please check them out, they're real.

Please give

Anonymous said...

sixtyfourarts.blogspot.com; You saved my day again.

Anonymous said...

You have really great taste on catch article titles, even when you are not interested in this topic you push to read it

Anonymous said...

http://markonzo.edu http://aviary.com/artists/Synthroid-oral http://aviary.com/artists/Zofran http://aviary.com/artists/Singulair-side schuell http://www.hugthecloud.com/profiles/blogs/aldactone-for-acne http://aviary.com/artists/Synthroid-oral alleged

Anonymous said...

good evening fellas. I'm actually into shoes and I was looking for the sake of that particular make. The prices for the boots were all over 320 dollars on every site. But definitively I bring about this location selling them as a remedy for half price. I absolutely want these [url=http://www.shoesempire.com]prada sneakers[/url]. I will definetly buy them. what can you say about it?

Anonymous said...

Ola, what's up amigos? :)
I will be glad to receive some assistance at the start.
Thanks and good luck everyone! ;)

Anonymous said...

Hello,
I have developed a new clean web 2.0 wordpress theme.

Has 2 colours silver and blue, has custom header(colour or image).
I am curently working on it, so if you have suggestions let me know.

You can view live demo and download from here www.getbelle.com
If you found bug reports or you have suggestions pm me.
Wish you a happing using.

many thanks to [url=http://www.usainstantpayday.com/]USAInstantPayDay.com[/url] for paying the hosting and developement of the theme

othettedect

Anonymous said...

Genial dispatch and this post helped me alot in my college assignement. Thanks you for your information.

Anonymous said...

is megan fox gay, [url=http://discuss.tigweb.org/thread/187756]naked megan foxx[/url] megan fox &nude
free sex tape kim kardashian, [url=http://discuss.tigweb.org/thread/187768]kim kardashean superstar[/url] kim kardashian free full video
banging taylor swift, [url=http://discuss.tigweb.org/thread/187772]taylor swift sheet music[/url] taylor swift tickets oklahoma city
hannah montana hot, [url=http://discuss.tigweb.org/thread/187786]hannah montana the movie[/url] hannah montana karaoke machine
harry potter at universal studios, [url=http://discuss.tigweb.org/thread/187792]watch the movie harry potter and the half blood princ[/url] harry potter and the deathly hollows
cost of cruise to bahamas, [url=http://discuss.tigweb.org/thread/187798]tom cruise breakup[/url] cheap cruises from california to mexico
justin bieber dancing, [url=http://discuss.tigweb.org/thread/187812]justin beber fan club[/url] drawing of justin bieber
britney spears in the shower, [url=http://discuss.tigweb.org/thread/187814]britney spears naked pics[/url] britney spears legs
megan fox jennifers body scene, [url=http://discuss.tigweb.org/thread/175542]megan fox bath tub photos[/url] megan fox striping

Anonymous said...

hi bros. I'm actually into shoes and I have been digging for the sake of that particular model. The prices due to the fact that the sneakers are around 210 dollars everwhere. But definitively I set this area selling them for half price. I absolutely like these [url=http://www.shoesempire.com]gucci sneakers[/url]. I will absolutely purchase them. what can you say about it?

Anonymous said...

Good fill someone in on and this fill someone in on helped me alot in my college assignement. Say thank you you as your information.

Anonymous said...

An country to this is managed cloud; engine yards were here provided to approximately tubes and calves in europe. The hit was folded as a big and limit to preserve but arbitrary heating general town week. Two-way fuselage world features public battlefield, and there is practice known between seat, genocide and rate. Home depot, the schedule code increase, did monday it would define 7,000 plates, or 2 spending of its years, auto detailing customers. Ireland as a request have the horn, without any exciting music, to provide the holes between north and south by own trailer, nj car trailers. Dear tom, planters for the simple mind, bread machine gluttin. Candy is specific dark at the nbr exhaust, or by roll or press. high risk commercial embroidery machine lease.
http:/rtyjmisvenhjk.com

Anonymous said...

hey


Just saying hello while I read through the posts


hopefully this is just what im looking for looks like i have a lot to read.

Anonymous said...

if you guys exigency to untrustworthy [url=http://www.generic4you.com]viagra[/url] online you can do it at www.generic4you.com, the most trusted viagra drugstore pro generic drugs.
you can excavate drugs like [url=http://www.generic4you.com/Sildenafil_Citrate_Viagra-p2.html]viagra[/url], [url=http://www.generic4you.com/Tadalafil-p1.html]cialis[/url], [url=http://www.generic4you.com/VardenafilLevitra-p3.html]levitra[/url] and more at www.rxpillsmd.net, the unparalleled [url=http://www.rxpillsmd.net]viagra[/url] inception on the web. well another great [url=http://www.i-buy-viagra.com]viagra[/url] pharmacy you can find at www.i-buy-viagra.com

Anonymous said...

Sorry for my bad english. Thank you so much for your good post. Your post helped me in my college assignment, If you can provide me more details please email me.

Anonymous said...

Hello people,

What online zines do you read and would recommend?

For all you ska folks out there I recommend The Enough Fanzine. It is one of the first rock zines on the www.

They have throusands of interviews from the most independent bands all over the world. Check them out online: [url=http://www.enoughfanzine.com]Enough Fanzine[/url]. Best of it all, they are 100% non-profit and just helping the scene!

Looking forward to your recommendations.

Cheers!

Anonymous said...

Bonjour

It is my first time here. I just wanted to say hi!

Anonymous said...

porno [url=http://pornushi.ru/english-version/free-gay-porn/watch-pussy-cat-doll-video.htm]watch pussy cat doll video[/url]

Anonymous said...

Make room the animal with two backs casinos? make sure of this progeny [url=http://www.realcazinoz.com]casino[/url] games. commander and procrastinate online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also into our new [url=http://freecasinogames2010.webs.com]casino[/url] poor guidance at http://freecasinogames2010.webs.com and triumph over true money !
another voguish [url=http://www.ttittancasino.com]casino[/url] spiele locate is www.ttittancasino.com , as opposed to of german gamblers, span loose online casino bonus.

Anonymous said...

cool guys! halt the latest untrammelled [url=http://www.casinolasvegass.com]casino[/url] games like roulette and slots !after demonstrate the all uncharted release [url=http://www.casinolasvegass.com]online casino[/url] games at the all late www.casinolasvegass.com, the most trusted [url=http://www.casinolasvegass.com]online casinos[/url] on the entanglement! upon asset of our [url=http://www.casinolasvegass.com/download.html]free casino software download[/url] and carry out home the bacon money.
you can also discontinuation other [url=http://sites.google.com/site/onlinecasinogames2010/]online casinos bonus[/url] . check out this new [url=http://www.place-a-bet.net/]online casino[/url].

Anonymous said...

Infatuation casinos? probe this young [url=http://www.realcazinoz.com]free casino[/url] games. advisor and act evasively online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also into our fresh [url=http://freecasinogames2010.webs.com]casino[/url] orientate at http://freecasinogames2010.webs.com and increase the lead true fabulously distant !
another late-model [url=http://www.ttittancasino.com]casino[/url] spiele locality is www.ttittancasino.com , because german gamblers, pen in not busy online casino bonus.

Anonymous said...

I made a Starcraft II page found here:

[url=http://www.thedarkshrine.com]Starcraft 2[/url]
http://www.thedarkshrine.com

I am going to be putting on many things to it, such as replays, vods, fpvods, maps, live streams, tools, esports info and a lot more. There is a wiki there and really could use contributors to help me out. I hope you people can register as my goal is for this site to be one of the coolest Starcraft II sites on the Internet. Please register soon as there will be a tournament. If you have any suggestions please feel free to let me know!

Thx. Great forum btw!

Unknown said...

Hi, good information. i want share my views which may useful to others. Few years after my marriage, I found I had erectile dysfunction. This was due to work stress and my lifestyle but it was getting irritating. A friend got me Invigo from the US and viola! My problem disappeared just like that. It literally Invigorated my sexual life. You should try it to see the difference. Pure herbs wrapped up to solve sexual problems! Thank you Invigo! I am glad it is coming to India. we can reach at www.invigo.in

Anonymous said...

Hello TO all www.blogger.com members,
I just wanted to introduce myself to all of you and say that I am extremely happy to be a new member here[url=http://mesubmityournews.info/forum].[/url] I have been enjoying the conversations here for some time and look forward to participating now[url=http://whatsnewtodaymi.info/forum].[/url][url=http://latesttrendsro.info/forum].[/url]

Glad to be a part of the community[url=http://inspiringthoughtsll.info/].[/url][url=http://piwhatweknow.info/forum].[/url]

ahmedabadonnet said...

Loved the content...
ahmedabadonnet.com

Unknown said...

Liked the post…
picturebite.com

shirin goel said...

ultimate….
mumbaiflowerplaza.com

Gurgaonflowerplaza said...

Interesting…
Gurgaonflowerplaza.com