Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quicktime for Java movie export and appserver user



Thanks for posting your solution back!  Glad you're up and running again.
 
--Alex

Fabrice Pipart <email@hidden> wrote:
Hi list !

I finally found the solution.
I found what was missing for "appserver" to be able to export via QT4J !

The user "appserver" needs to write an empty preference file (~/
Library/Preferences/Quicktime Preferences if my memory is good) to be
able to export.
But, "appserver" has obviously no home.
So I went to NetInfo Manager and assigned a home where appserver can
write... and it works.
You can even prevent appserver from writing there as soon as one
export has succeeded.

I hope that will help someone in the same case !

Fabrice Pipart

www.icconsulting.mc

International Corporate Consulting
25, Boulevard de Belgique
MC - 98000 Monaco

Skype: fabrice.pipart
Tel. +377 97982104 (direct)
Fax. +377 97708807


On Oct 6, 2005, at 4:57 PM, Fabrice Pipart wrote:

> We are curr! ently experiencing a problem we can't find out how to
> solve...
> We are using QuickTime for Java behing WebObjects.
>
> WebObjects is usually launched as "appserver" user. This user has
> no home (ie /var/empty is his home).
> I know that to be able to make the QTSession.open() call, I have to
> use -Djava.awt.headless=true. This one works.
>
> But the goal of my code is to export a movie with a set of given
> parameters. And as soon as I try to export the movie, the
> application blocks.
> Nothing happens but no exception is raised.
> I have tried to export with all the versions of
> Movie.convertToFile, also MovieExporter.toFile... nothing works.
>
> But if I launch the application with a "normal" user by changing
> the /System/Library/StartupItems/WebObjects/WebObjects file (I am
> under 10.3) it works.
>
> What is missing to that "appserver" user t! o be able to export
> movies ???
> If someone could help, I would really appreciate.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden

This email sent to email@hidden


Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden

This email sent to email@hidden

References: 
 >Re: Quicktime for Java movie export and appserver user (From: Fabrice Pipart <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.