Re: CVS snapshots

Michael Wechner <[email protected]> Wed, 04 Dec 2002 01:17:11 +0100
Newsgroups gmane.comp.cms.wyona.user
Message-ID <[email protected]>
Alex McLintock wrote:
> At 18:48 03/12/02, Michael Wechner wrote:
> 
>> Yes, nightly CVS snapshots:
>>
>>
>> http://cvs.wyona.org/nightly-builds/
> 
> 
> 
> I've got loads of problems with the current nightly build. I assume you 
> would like me to report problems here? or just wyonacms-dev ?


wyonacms-users is fine, pleasego ahead.

> 
> Problem One:
> 
> I'm getting log messages with this in them periodically....Note that I 
> don't have a /home/michiii directory on my machine :-)

Right. Well,this is the "Scheduler" in action. You can get rid of the
error messages by either deleting the file

wyona/cms/pubs/oscom/docs/publication/scheduler/jobs.xml

or modifying it (especially the servlet-context parameter)

The file jobs.xml is read initially by the Scheduler at startup and
written to it at shutdown.

The "feature" that the servlet-context parameter is hard-coded will be
changed within the near future, because it's not very nice as you 
already noticed ;-)

What other problems do you have?

Thanks

Michael

> 
> Am using Redhat Linux 7.2, Tomcat from March 2002 (4.0.3b1 I think)
> 
> 
> 
> 4931937 2002-12-03 22:11:30,233 [WorkerThread-0] ERROR 
> org.wyona.cms.task.TaskManager  - Cannot load task configuration!
> java.io.FileNotFoundException: 
> /home/michiii/build/jakarta-tomcat-4.0.4-b3/webapps/wyona-cms/wyona/cms/pubs/oscom/docs/publication/tasks.xconf 
> (No such file or directory)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(FileInputStream.java:64)
>         at 
> sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69) 
> 
>         at 
> sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:133) 
> 
>         at java.net.URL.openStream(URL.java:798)
>         at 
> org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:731) 
> 
>         at 
> org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:676) 
> 
>         at 
> org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:252) 
> 
>         at 
> org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:499) 
> 
>         at 
> org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581) 
> 
>         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
>         at 
> org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1096) 
> 
>         at 
> org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.buildFromFile(DefaultConfigurationBuilder.java:155) 
> 
>         at org.wyona.cms.task.TaskManager.<init>(TaskManager.java:54)
>         at org.wyona.cms.scheduler.TaskJob.execute(TaskJob.java:143)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:160)
>         at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:263) 
> 
> 4931940 2002-12-03 22:11:30,236 [WorkerThread-0] ERROR 
> scheduler.persistence  - Job (oscom.job_01037570742547 threw an exception.
> org.quartz.SchedulerException: Job threw an unhandled exception. [See 
> nested exception: java.lang.NullPointerException]
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:167)
>         at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:263) 
> 
> * Nested Exception (Underlying Cause) ---------------
> java.lang.NullPointerException
>         at org.wyona.cms.scheduler.TaskJob.execute(TaskJob.java:146)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:160)
>         at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:263) 
> 
>