Forum LAMS for Tech-Heads - General Forum: Error importing sequence from lamscommunity.org


 
You may request notification for Error importing sequence from lamscommunity.org.
Search: 

1: Error importing sequence from lamscommunity.org
04/08/09 03:23 PM
[ Reply | Forward ]
http://lamscommunity.org/lamscentral/sequence?seq_id=733610

This one here. When its downloaded and I try to upload it, I get

"org.springframework.transaction.UnexpectedRollbackException JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Already marked for rollback TransactionImpl:XidImpl[FormatId=257, GlobalId=zone42/48287, BranchQual=, localId=48287]"

when I grab the sequence with the download link.

What could be going wrong?
The zip file looks ok.

Lams 2.2.

Posted by Dave Bauer

2: Re: Error importing sequence from lamscommunity.org
In response to 1 04/08/09 03:38 PM
[ Reply | Forward ]
Hi Dave,

This sequence uses the pixlr tool which is not included in LAMS v2.2.

However, when importing sequences with tools that you don't have, LAMS graciously should import all other activities but the ones that are missing (and give you a nice message).

However, there's a small catch with this tool as it uses image files (jpgs) for editing as you see in the preview of the sequence. To fix this, just go to the following folder:

{path-to-jboss}/jboss-4.0.2/server/default/deploy/lams.ear/lams-www.war/images/

and in there create a directory called "pixlr" (all lowercase)

Import it again and it should import the rest of the sequence but the pixlr activity will be missing.

In LAMS v2.3, when the pixlr tool is deploy then the folder is created so you won't encounter this problem at all

Thanks,

Ernie

Posted by Ernie Ghiglione

3: Re: Re: Error importing sequence from lamscommunity.org
In response to 2 04/08/09 04:09 PM
[ Reply | Forward ]
Thanks!
Does this mean there should be a 2.3 version on the download? It says 2.2.0.

Posted by Dave Bauer

4: Re: Re: Re: Error importing sequence from lamscommunity.org
In response to 3 04/08/09 04:13 PM
[ Reply | Forward ]
These guys (education students at the University of Technology Sydney) are using version 2.2 but with the pixlr tool compiled from source.

Ernie

Posted by Ernie Ghiglione

5: Re: Re: Error importing sequence from lamscommunity.org
In response to 2 04/08/09 04:22 PM
[ Reply | Forward ]
Hmmm, same error after I added the pixlr directory.

I'll turn on debugging and import again to see if I can get more info.

Posted by Dave Bauer

6: Re: Re: Re: Error importing sequence from lamscommunity.org
In response to 5 04/08/09 04:25 PM
[ Reply | Forward ]
Hmmm... Let me try importing it in a LAMSv2.2 server though (I tried before in a 2.3 without pixlr).

You are using LAMS 2.2, right?

Posted by Ernie Ghiglione

7: Re: Re: Re: Re: Error importing sequence from lamscommunity.org
In response to 6 04/08/09 04:36 PM
[ Reply | Forward ]
Yes, not a big deal if it doesn't work on 2.2 that is a good explanation :)

Let me know if you want an account on our lams server.

Posted by Dave Bauer

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