Hello Jackie, On Thu, Nov 24, 2005 at 04:53:46PM +0800, jackie_juju wrote: > Hi all, > I got an AccessControlException when trying to lanuch flow described in > Vamsee's guide. > The full text is here: > Error : java.security.AccessControlException: access denied [LaunchPermission > name="mainEngine::http://localhost:7079/docflow__1.0.xml" /]
1st question, have you granted the right to your user to launch this flow ? (it seems so, but, controlling is good). > I checked the worklist.log and found one supicious line: > 2005-11-24 16:30:13,430 [RMI TCP Connection(8)-10.56.132.127] WARN > openwfe.org.worklist.auth.LaunchPermission - Couldn't parse document > http://localhost:7079/docflow__1.0.xml because of > org.jdom.input.JDOMParseException: Error on line 1 of document > http://localhost:7079/docflow__1.0.xml: ?????????????? (chinese: means "lack > of root component")?? > > Then I checked the xml, but it doesn't contain any error. The full xml is > here: > <?xml version="1.0" encoding="UTF-8"?> > <process-definition > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation="http://www.openwfe.org/flowdef_r1.5.0.xsd" > name="docflow" > revision="1.0"> > > <description language="default"> > This just the complete flow definition of docflow process. > </description> > > <sequence> > <participant ref="developer"/> > <participant ref="project-leader"/> > </sequence> > > </process-definition> Are you sure there aren't any 'hidden' chars on the first line of your XML document ? Is it really saved as UTF-8 as advertised, not as BIG-5 or something else ? Best regards, -- john.mettraux @ openwfe.org -///- http://www.openwfe.org ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ OpenWFE - Open source WorkFlow Engine OpenWFE-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openwfe-users
