Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » Workflow just terminates on Linux but works on Windows
icon5.gif  Workflow just terminates on Linux but works on Windows [message #508191] Sun, 17 January 2010 08:25 Go to next message
Eclipse UserFriend
Hi,

I have a workflow that uses 2 xsd and 1 ecore meta model and generates 2 text files from a xml each (with XPAND). This project works fine on windows. But the same workflow just terminates at the generation of the first file without touching the output file. There is no message on the console. The status just changes to terminated.

Any ideas to track down the problem?

br
Marco
Re: Workflow just terminates on Linux but works on Windows [message #508268 is a reply to message #508191] Mon, 18 January 2010 03:26 Go to previous messageGo to next message
Eclipse UserFriend
I've had similar problem on a mac, where the java process spawned a new
thread to execute the main method. Unfortunately it didn't log any
exceptions.
Starting the workflow programmatically with a try {}catch (Throwable t)
{} helped me.

Sven

Marco schrieb:
> Hi,
>
> I have a workflow that uses 2 xsd and 1 ecore meta model and generates 2
> text files from a xml each (with XPAND). This project works fine on
> windows. But the same workflow just terminates at the generation of the
> first file without touching the output file. There is no message on the
> console. The status just changes to terminated.
>
> Any ideas to track down the problem?
>
> br
> Marco


--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Re: Workflow just terminates on Linux but works on Windows [message #508316 is a reply to message #508268] Mon, 18 January 2010 06:54 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sven,

Thanks for the suggestion.

I have too little experience with eclipse. Could you post a sample code?

br
m
Re: Workflow just terminates on Linux but works on Windows [message #511255 is a reply to message #508191] Sun, 31 January 2010 17:08 Go to previous messageGo to next message
Eclipse UserFriend
Could it be that there are missing permissions on the output folder?

~Karsten
Re: Workflow just terminates on Linux but works on Windows [message #511852 is a reply to message #511255] Wed, 03 February 2010 03:55 Go to previous message
Eclipse UserFriend
Hi,

It was just lack of memory for the VM. The solution was to change the memory parameters for the VM in the run config.

br
m
Previous Topic:[Announce] M2T XPAND 0.8.0M5 is available
Next Topic:[Xpand]: FeatureNotFoundException in workflow when metamodel references Ecore metamodel
Goto Forum:
  


Current Time: Wed Jul 23 11:36:19 EDT 2025

Powered by FUDForum. Page generated in 0.08065 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top