Sunday, August 31, 2008

YouTube API does not work through Resin

I have run into a strange issue with the youtube api. I am able to upload videos through the browser and verify them in my youtube acocunt. However, when I try to retrieve the videos, I do not get them. I am able to retrieve correctly through a junit test case.

After a lot of digging on the forum, I found this post:
Different behaviour under Tomcat and Resin

The client api documentation does not suggest any supported environments or versions. GData Doc

Labels: , , ,

Thursday, August 30, 2007

Embedded Tomcat

My previous article on Tweaking Tomcat did not mention the use of Embedded Tomcat, which was necessary to run Tomcat programmatically in the same JVM. More information on this feature can be found in the following links:

http://www.vsj.co.uk/articles/display.asp?id=319
http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html

Labels: ,