Course getting corrupted when logged in on different system.

51 views
Skip to first unread message

decider...@gmail.com

unread,
May 21, 2014, 7:59:13 AM5/21/14
to open...@googlegroups.com
Hi Openolat Team,
 
My question :
==========
I get a corrupt file error when I try to access the course from a different system.What can be the probable reason?Can you please suggest that where exactly I should make the change in filesystem or database configuration so that the output would be properly populated in the logfile and also I can see the course clearly.
 
Thanks,
Anish

Florian Gnägi

unread,
May 22, 2014, 10:23:28 AM5/22/14
to open...@googlegroups.com
Hi Anish

What does it say in the logfile?

Cheers
Florian

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org

---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--------------------------------------------------------------------
professional services for the e-learning system OpenOLAT and OLATpro
 hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------

frentix  GmbH
Florian Gnägi, Geschäftsführer
Hardturmstrasse 76
CH-8005 Zürich, Switzerland

skype:gnaegi  twitter:gnaegi  xing:Florian_Gnaegi 
--------------------------------------------------------------------















abdulkh...@gmail.com

unread,
May 23, 2014, 5:30:23 AM5/23/14
to open...@googlegroups.com, decider...@gmail.com, "decid...@gmail.com
Please find the log ...
 
 
2014-05-23 14:52:01,480 [http-9006-exec-6] ERROR RepositoryDetailsController  - Corrupted course: key:515178496=org.olat.repository.RepositoryEntry@1eb50000 [resourcename=-, version=4, description=Test_SOAP] ^%^ >>>stack of 1.cause::org.olat.course.CorruptedCourseException: Cannot resolve file: runstructure.xml course=Course:[89652574324700,null], org.olat.course.PersistingCourseImpl@1dca2b6 ->  at org.olat.course.PersistingCourseImpl.readObject(PersistingCourseImpl.java:432) at org.olat.course.PersistingCourseImpl.load(PersistingCourseImpl.java:391) at org.olat.course.CourseFactory$1.execute(CourseFactory.java:292) at org.olat.course.CourseFactory$1.execute(CourseFactory.java:1) at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:98) at org.olat.course.CourseFactory.loadCourse(CourseFactory.java:283) at org.olat.course.CourseFactory.loadCourse(CourseFactory.java:315) at org.olat.course.CourseFactory.createLaunchController(CourseFactory.java:193) at org.olat.repository.handlers.CourseHandler.createLaunchController(CourseHandler.java:146) at org.olat.repository.RepositoyUIFactory.createLaunchController(RepositoyUIFactory.java:92) at org.olat.course.site.CourseSiteContextEntryControllerCreator.createController(CourseSiteContextEntryControllerCreator.java:68)>>>stack of 2.cause::java.lang.Exception: assertionstackgenerator ->  at org.olat.course.CorruptedCourseException.<init>(CorruptedCourseException.java:47) at org.olat.course.PersistingCourseImpl.readObject(PersistingCourseImpl.java:432) at org.olat.course.PersistingCourseImpl.load(PersistingCourseImpl.java:391) at org.olat.course.CourseFactory$1.execute(CourseFactory.java:292) at org.olat.course.CourseFactory$1.execute(CourseFactory.java:1) at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:98) at org.olat.course.CourseFactory.loadCourse(CourseFactory.java:283) at org.olat.course.CourseFactory.loadCourse(CourseFactory.java:315) at org.olat.course.CourseFactory.createLaunchController(CourseFactory.java:193) at org.olat.repository.handlers.CourseHandler.createLaunchController(CourseHandler.java:146) at org.olat.repository.RepositoyUIFactory.createLaunchController(RepositoyUIFactory.java:92)
2014-05-23 14:52:03,362 [http-9006-exec-6] ERROR RepositoryDetailsController  -  ^%^ >>>stack of 1.cause::org.olat.course.CorruptedCourseException: Cannot resolve file: runstructure.xml course=Course:[89652574324700,null], org.olat.course.PersistingCourseImpl@117c889 ->  at org.olat.course.PersistingCourseImpl.readObject(PersistingCourseImpl.java:432) at org.olat.course.PersistingCourseImpl.load(PersistingCourseImpl.java:391) at org.olat.course.CourseFactory$1.execute(CourseFactory.java:292) at org.olat.course.CourseFactory$1.execute(CourseFactory.java:1) at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:98) at org.olat.course.CourseFactory.loadCourse(CourseFactory.java:283) at org.olat.course.CourseFactory.loadCourse(CourseFactory.java:315) at org.olat.repository.controllers.RepositoryDetailsController.updateRepositoryEntryView(RepositoryDetailsController.java:407) at org.olat.repository.controllers.RepositoryDetailsController.updateView(RepositoryDetailsController.java:485) at org.olat.repository.controllers.RepositoryDetailsController.setEntry(RepositoryDetailsController.java:635) at org.olat.repository.controllers.RepositoryMainController.event(RepositoryMainController.java:636)>>>stack of 2.cause::java.lang.Exception: assertionstackgenerator ->  at org.olat.course.CorruptedCourseException.<init>(CorruptedCourseException.java:47) at org.olat.course.PersistingCourseImpl.readObject(PersistingCourseImpl.java:432) at org.olat.course.PersistingCourseImpl.load(PersistingCourseImpl.java:391) at org.olat.course.CourseFactory$1.execute(CourseFactory.java:292) at org.olat.course.CourseFactory$1.execute(CourseFactory.java:1) at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:98) at org.olat.course.CourseFactory.loadCourse(CourseFactory.java:283) at org.olat.course.CourseFactory.loadCourse(CourseFactory.java:315) at org.olat.repository.controllers.RepositoryDetailsController.updateRepositoryEntryView(RepositoryDetailsController.java:407) at org.olat.repository.controllers.RepositoryDetailsController.updateView(RepositoryDetailsController.java:485) at org.olat.repository.controllers.RepositoryDetailsController.setEntry(RepositoryDetailsController.java:635)

Florian Gnägi

unread,
May 23, 2014, 7:55:00 AM5/23/14
to open...@googlegroups.com
Hi Anish

Your file system is corrupt or your tomcat user has no read/write permissions to the file system. Check the tomcat permissions (e.g. check user read/write permission, tomcat security manager etc). If it is still not working check if your filesystem is corrupt. 

How did you move the course from one to the other system? 

Cheers
Florian

abdulkh...@gmail.com

unread,
May 24, 2014, 2:41:41 AM5/24/14
to open...@googlegroups.com
Hi Flarian.
 
File system Corrupt means what exactly it is .cCan you please elaborate. The other functionality is working fine.
As you told that to check Tomacat Permissions . Please provide the
CATALINA CODE PERMISSIONS file so that i will look onto this what chnages i need.
 
As you said move the course from one to the other system --means i had deployed in server . i had created course in one system , if i open this course on other sytem . It's shows corrupted. 
And viceversa ...
 
Please guide how to rectify this probelm....
 
Re
--------------------------------------------------------------------
<div style="fon
...

Florian Gnägi

unread,
May 27, 2014, 2:04:59 AM5/27/14
to open...@googlegroups.com
Hi

Use your operating system disk tool to check if you have a corrupt file system. I can’t help you with that. 

Regarding tomcat: just make sure that your security manager is disabled. Read the tomcat manual how to do that or read the manual of your operating system if you use a bundled tomcat version. Normally this is not a problem, I experienced this only on older systems. If it is not a general problem and you can work fine with other courses this won’t be the problem anyway. 

Please explain how you transferred the course. Did you use the export / import workflow in the OpenOLAT GUI or did you use some other method to transfer the course? Do both OpenOLAT system have the same version installed?

Try to export and import the course again.

Cheers
Florian


--------------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages