[Building Sakai] MalformedURLException While Using CmSynchronizer

Stoufer,R M kc4uf at ufl.edu
Sat Dec 26 08:54:47 PST 2009


Hello from the University of Florida,

I have been working with the Course Management API and have had success in some modifications we need to
work with our Registrar data.  The digesting of the xml works fine from a selected directed in one instance of 
sakai but not from a different instance.  

The error I'm getting is:

2009-12-23 12:19:04,323 ERROR QuartzScheduler_Worker-0 org.sakaiproject.coursemanagement.impl.job.CmSynchronizer - Could not build a jdom document from the xml input stream... java.net. MalformedURLException
2009-12-23 12:19:04,327 ERROR QuartzScheduler_Worker-0 org.quartz.core.JobRunShell - Job DEFAULT.CM Synchronizer threw an unhandled Exception:
java.lang.RuntimeException: java.net.MalformedURLException
        at org.sakaiproject.coursemanagement.impl.job.CmSynchronizer.syncAllCmObjects(CmSynchronizer.java:90)
        at org.sakaiproject.coursemanagement.impl.job.ClassPathCMSyncJob.execute(ClassPathCMSyncJob.java:68)
        at org.sakaiproject.component.app.scheduler.jobs.SpringJobBeanWrapper.execute(SpringJobBeanWrapper.java:70)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)


Changing the path value in the components.xml from:

                <property name="classPathToXml">
                        <value>org/sakaiproject/coursemanagement/impl/job/sampleCMData.xml</value>
                </property>

to:

                <property name="classPathToXml">
                        <value>/home/acct/xml/sampleCMData.xml</value>
                </property>

causes the error to occur.

Has anyone seen this problem before?



Michael Stoufer
Office of Academic Technology
Instructional Computing Services
University of Florida


More information about the sakai-dev mailing list