|
|
5:
Re: Re: Exporting bug (?)
|
In response to 2
|
03/14/11 01:53 PM |
|
Hi Daniel,
The error you've got looks like weirdos to me o_O
2 possible explanations:
1. One of libraries that Lams uses just got broken (i.e. batik-1.7.jar).
It's almost impossible but just in case can you please check that theory?
Please, unzip the file attached and compare it with the batik-1.7.jar within lams.ear (${Lams_EAR_Directory}\batik-1.7.jar)
they should be identical
2. application.xml got corrupted.
go to ${Lams_EAR_Directory}\META-INF\application.xml
and try to search for batik-1.7.jar in that .xml file.
it should be listed inside
thanks,
Posted by Andrey Balan
|
Attachments:
|
|
|
6:
Re: Re: Re: Exporting bug (?)
|
In response to 5
|
03/14/11 02:34 PM |
|
Hi Andrey,
Export works again.
your hypothesis were wrong
(1) application.xml is ok
grep batik /usr/local/jboss-4.0.2/server/default/deploy/lams.ear/META-INF/application.xml
_java_ batik-1.7.jar_/java_
(java tag modified "_" to pass your filter here)
(2) batik-1.7.jar is ok
diff /usr/local/jboss-4.0.2/server/default/deploy/lams.ear/batik-1.7.jar ~schneide/tmp/batik-1.7.jar
.... no difference ....
And now MAGIC. I did the Microsoft Windows trick, i.e. Stopping/starting LAMS.
Exporting works now ... sorry for the trouble. I actually thought of restarting the server first, but then I have seen Spyros' message and forgot to do it :(
Nevertheless I hate when it computers just decay. IMHO nothing was changed in the system and the machine doesn't complain about anything I could see... but I'll ask tomorrow.
Posted by Daniel Schneider
|
|
|
|
7:
Re: Re: Exporting bug (?)
|
In response to 3
|
03/14/11 04:02 PM |
|
Hi Ernie,
You are able to preview and repeat these errors by yourself.
You will find the details in my e-mail.
Thanks
Spyros
Posted by Spyros Papadakis
|
|
|
4:
Re: Exporting bug (?)
|
In response to 1
|
03/14/11 01:33 PM |
|
Hey guys,
It looks like 2 different issues (based on exceptions being thrown: org.springframework.transaction.UnexpectedRollbackException in 1st case and java.lang.NoClassDefFoundError in 2nd one).
But I coudn't replicate any of them.
Can you please describe sequence of actions how to get the errors?
Thank you,
Posted by Andrey Balan
|
|
|
8:
Re: Re: Exporting bug (?)
|
In response to 4
|
03/14/11 05:06 PM |
|
I received also an error message
java.lang.NullPointerException: Unknown runtime exception!
when I am trying to open an Image Gallery Activity from monitor - learner.
Posted by Spyros Papadakis
|
|
|
10:
Re: Re: Re: Exporting bug (?)
|
In response to 8
|
03/15/11 06:34 AM |
|
Hi Spyros,
I think I know where the problem might be, at least with the Pikis-Pika-1 sequence.
It seems that some of the content uploaded to the sequences can't be found in the disk. So when I open the Share Resource activity, I can see that there's an IMS Content Package but when I try to test it, it doesn't seem that LAMS can find the resources/files that were meant to be imported with it.
This is what is affecting the export.
So what I did was open the pikis-pika1 sequence and then saved it as pikas2. Then went to the Share Resources activity and removed the IMS Content Package, save the activity, save the sequence and I was able to export the sequences no problems:
So just add the IMS CP again to the Share resources activity and that should do.
Thanks,
Ernie
Posted by Ernie Ghiglione
|
|
|
11:
Re: Re: Re: Re: Exporting bug (?)
|
In response to 10
|
03/15/11 06:49 AM |
|
Hi Ernie,
That's true.
If I remeber correct beacause I helped this teacher one year ago we have import an imc-cp (from eXe Editor) packages there.
The questions is why LAMS server looses it and if we are able to recover it.
Please try and the other sequence to see a similar problem there.
Thanks
Spyros
Posted by Spyros Papadakis
|
|
|
12:
Re: Re: Re: Re: Re: Exporting bug (?)
|
In response to 11
|
03/15/11 06:58 AM |
|
Hi Spyros,
Can you login as sysadmin in your server, go to the sysadmin menu, Edit configuration settings and in there, can you check the "Content Repository Directory" variable? What does it say?
Thanks,
Ernie
Posted by Ernie Ghiglione
|
|
|
9:
Re: Re: Exporting bug (?)
|
In response to 4
|
03/14/11 11:23 PM |
|
LAMS 2.3.5 Windows server (updated from 2.1, 2.2. 2.3, 2.3.1, 2.3.2, 2.3.3, 2.3.4)
Mozila Firefox or IE
Author - File - Open
Save - Export
org.springframework.transaction.UnexpectedRollbackException in 1st case and java.lang.NoClassDefFoundError
Posted by Spyros Papadakis
|
|