[opencms-dev] Issue with scheduled job
Jonathan Woods
jonathan.woods at scintillance.com
Fri Jan 19 16:39:07 CET 2007
Are you 'in' the same project in both cases?
Jon
-----Original Message-----
From: sfdbfoui at host2.scintillance.com
[mailto:sfdbfoui at host2.scintillance.com] On Behalf Of Jan.Hegewald at sdm.de
Sent: 19 January 2007 14:32
To: opencms-dev at opencms.org
Subject: [opencms-dev] Issue with scheduled job
Dear list,
I've implemented a functionality that reads a file from the vfs. This
functionality can be invoked in two ways. You either open a special JSP that
contains a form which calls a special class doing the work.
The other way should work automatically with a class implementing
I_CmsScheduledJob. This class does all the same things as the JSP, namely
calling that special class for doing the work.
Invocation from the jsp works fine, but when I schedule the job class its
execution fails with the following error message:
"org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource
from path ..."
Obviously, the scheduled job is not able to read the file although I
specified the same user for execution that I used for invoking the class via
the JSP.
What am I doing wrong?
Kind regards,
Jan Hegewald
_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list