Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:25 Go to next message
Marco  is currently offline Marco Friend
Messages: 216
Registered: August 2009
Senior Member
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 08:26 Go to previous messageGo to next message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
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 11:54 Go to previous messageGo to next message
Marco  is currently offline Marco Friend
Messages: 216
Registered: August 2009
Senior Member
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 22:08 Go to previous messageGo to next message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 762
Registered: July 2009
Location: Dortmund, Germany
Senior Member

Could it be that there are missing permissions on the output folder?

~Karsten


Need professional support for Xtext, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
Re: Workflow just terminates on Linux but works on Windows [message #511852 is a reply to message #511255] Wed, 03 February 2010 08:55 Go to previous message
Marco  is currently offline Marco Friend
Messages: 216
Registered: August 2009
Senior Member
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: Sun Dec 22 06:13:23 GMT 2024

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

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

Back to the top