Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Xuggler using Tomcat on windows

Ranch Hand
Posts: 83
MS IE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone , I am developing a video sharing website , i have to achieve something like this.. an user uploads a video and a thumbnail image of that video would be generated. I am doing this on Netbeans 6.9.1 , using Tomcat and also have studied some Xuggler since a few days and so tried of using Xuggler. But my question is where should i install Xuggler ?? Inside Tomcat ??
I have installed Xuggler in 'lib' folder of my Tomcat. I have added the following environment variables---->>

CLASSPATH = .;.;C:\Program Files (x86)\Apache Software Foundation\Apache Tomcat 6.0.26\lib\share\java\jars\commons-cli.jar;C:\Program Files (x86)\Apache Software Foundation\Apache Tomcat 6.0.26\lib\share\java\jars\logback-classic.jar;C:\Program Files (x86)\Apache Software Foundation\Apache Tomcat 6.0.26\lib\share\java\jars\logback-core.jar;C:\Program Files (x86)\Apache Software Foundation\Apache Tomcat 6.0.26\lib\share\java\jars\slf4j-api.jar;C:\Program Files (x86)\Apache Software Foundation\Apache Tomcat 6.0.26\lib\share\java\jars\xuggle-xuggler.jar;C:\Program Files (x86)\Apache Software Foundation\Apache Tomcat 6.0.26\lib\share\java\jars\xuggle-xuggler-test.jar;

XUGGLE_HOME = C:\Program Files (x86)\Apache Software Foundation\Apache Tomcat 6.0.26\lib

Path = C:\Program Files (x86)\Apache Software Foundation\Apache Tomcat 6.0.26\lib\bin;

and I have included the 6 jar files of Xuggler which remains in lib>share>java under my Projects Libraries...

what i have done is the following..

index.jsp ( user uploads a video file from this page ) ( this is the servlet to which the user posts the file ) ( this is the java class where the creation of thumbnails must take place )

Now , when i run my application and upload a video file , it gets uploaded in my Project directory but the Thumbnail images are not created and it gives the following errors:

what am i doing wrong ??? why are the images not generating ??? when i apply the same code for generating thumbnail images in a Java Application ( not Web Application ) , it creates the images , but when i do it a Web Application like above , I get errors..
Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic