Forum LAMS for Tech-Heads - General Forum: Re: Exporting bug (?)


 
Search: 

2: Re: Exporting bug (?)
In response to 1 03/14/11 12:11 PM
[ Reply | Forward ]
I can confirm an exporting bug. One of my students reported it. I then tried with 2 random sequences and also got it. The error message we get seems to be different

Important: I applied the patch
http://lamscommunity.org/2.3/stable/patches/lams-tool-laasse10.zip

Can't tell if export worked before that. It definitely did a year ago :)

Some trace attached.

Posted by Daniel Schneider

Attachments:
5: Re: Re: Exporting bug (?)
In response to 2 03/14/11 01:53 PM
[ Reply | Forward ]
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
[ Reply | Forward ]
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

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum