Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » Compilation errors found when running a transformation inside the jboss container
icon9.gif  Compilation errors found when running a transformation inside the jboss container [message #1578652] Thu, 22 January 2015 14:35 Go to next message
gustavo nery is currently offline gustavo neryFriend
Messages: 4
Registered: January 2015
Junior Member
Hello guys, i have a java class, with a main method, that runs a qvto transformation to transform my xmi in another model. Everything is working great! But i need to integrate the same code in a project web, so the user can click to call a action and download the new model. The problem here is that i have the same code running as a java application and running in the web server. The second one just fail without any precise information.

Following you can see the stack (but remember, theres no compilation error, because the transformation already works if i run as java application):

11:33:56,953 ERROR [STDERR] java.lang.Exception: Compilation errors found in unit 'file:/Users/buda/workspace/workspace_experimento/jboss-5.1.0.GA/server/default/tmp/5c4opy-rhrvsq-i588lxj3-1-i588mtsy-9p/workflow-ear.ear/QVTOTransformation.qvto'
11:33:56,954 ERROR [STDERR] at org.domain.dsl.JPDLDSLUtil.convertXMIToJPDL(JPDLDSLUtil.java:114)
11:33:56,954 ERROR [STDERR] at org.domain.workflow.session.WorkflowExecuter.deployWorkflows(WorkflowExecuter.java:78)
11:33:56,954 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11:33:56,954 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
11:33:56,954 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
11:33:56,954 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:606)
11:33:56,954 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
11:33:56,954 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
11:33:56,954 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
11:33:56,954 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
11:33:56,954 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
11:33:56,955 ERROR [STDERR] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
11:33:56,955 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
11:33:56,955 ERROR [STDERR] at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:65)
11:33:56,955 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
11:33:56,955 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
11:33:56,955 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
11:33:56,955 ERROR [STDERR] at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:163)
11:33:56,955 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
11:33:56,955 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
11:33:56,955 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
11:33:56,955 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
11:33:56,955 ERROR [STDERR] at org.domain.workflow.session.WorkflowExecuter_$$_javassist_seam_8.deployWorkflows(WorkflowExecuter_$$_javassist_seam_8.java)
11:33:56,956 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11:33:56,956 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
11:33:56,956 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
11:33:56,956 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:606)
11:33:56,956 ERROR [STDERR] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)
11:33:56,956 ERROR [STDERR] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:280)
11:33:56,956 ERROR [STDERR] at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
11:33:56,956 ERROR [STDERR] at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)
11:33:56,956 ERROR [STDERR] at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
11:33:56,956 ERROR [STDERR] at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
11:33:56,956 ERROR [STDERR] at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
11:33:56,956 ERROR [STDERR] at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
11:33:56,956 ERROR [STDERR] at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
11:33:56,956 ERROR [STDERR] at javax.faces.component.UICommand.broadcast(UICommand.java:387)
11:33:56,956 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:329)
11:33:56,956 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.broadcastEventsForPhase(AjaxViewRoot.java:304)
11:33:56,957 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:261)
11:33:56,957 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:474)
11:33:56,957 ERROR [STDERR] at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
11:33:56,957 ERROR [STDERR] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
11:33:56,957 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
11:33:56,957 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
11:33:56,957 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
11:33:56,957 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
11:33:56,957 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
11:33:56,957 ERROR [STDERR] at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
11:33:56,957 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
11:33:56,957 ERROR [STDERR] at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:86)
11:33:56,957 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
11:33:56,957 ERROR [STDERR] at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
11:33:56,957 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
11:33:56,957 ERROR [STDERR] at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
11:33:56,957 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
11:33:56,958 ERROR [STDERR] at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
11:33:56,958 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
11:33:56,958 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
11:33:56,958 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
11:33:56,958 ERROR [STDERR] at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
11:33:56,958 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
11:33:56,958 ERROR [STDERR] at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
11:33:56,958 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
11:33:56,958 ERROR [STDERR] at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
11:33:56,958 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
11:33:56,958 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
11:33:56,958 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
11:33:56,958 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
11:33:56,958 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
11:33:56,958 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
11:33:56,958 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
11:33:56,959 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
11:33:56,959 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
11:33:56,959 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
11:33:56,959 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
11:33:56,959 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
11:33:56,959 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
11:33:56,959 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
11:33:56,959 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
11:33:56,959 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
11:33:56,959 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
11:33:56,959 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
11:33:56,960 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
11:33:56,960 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
11:33:56,960 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
11:33:56,960 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
11:33:56,960 ERROR [STDERR] at java.lang.Thread.run(Thread.java:745)
Re: Compilation errors found when running a transformation inside the jboss container [message #1578851 is a reply to message #1578652] Thu, 22 January 2015 16:56 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

I can pretty much guarantee that there IS a compilation error.

Probably caused by a failure to configure the invocation context
appropriately.

Typically a model/metamodel will not be resolveable.

As a minimum I recommend that you start by providing a dialog in which
the compilation error is displayed with adequate detail.

Regards

Ed Willink



On 22/01/2015 15:35, gustavo nery wrote:
> Hello guys, i have a java class, with a main method, that runs a qvto
> transformation to transform my xmi in another model. Everything is
> working great! But i need to integrate the same code in a project web,
> so the user can click to call a action and download the new model. The
> problem here is that i have the same code running as a java application
> and running in the web server. The second one just fail without any
> precise information.
> Following you can see the stack (but remember, theres no compilation
> error, because the transformation already works if i run as java
> application):
>
> 11:33:56,953 ERROR [STDERR] java.lang.Exception: Compilation errors
> found in unit
> 'file:/Users/buda/workspace/workspace_experimento/jboss-5.1.0.GA/server/default/tmp/5c4opy-rhrvsq-i588lxj3-1-i588mtsy-9p/workflow-ear.ear/QVTOTransformation.qvto'
>
> 11:33:56,954 ERROR [STDERR] at
> org.domain.dsl.JPDLDSLUtil.convertXMIToJPDL(JPDLDSLUtil.java:114)
> 11:33:56,954 ERROR [STDERR] at
> org.domain.workflow.session.WorkflowExecuter.deployWorkflows(WorkflowExecuter.java:78)
>
> 11:33:56,954 ERROR [STDERR] at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 11:33:56,954 ERROR [STDERR] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> 11:33:56,954 ERROR [STDERR] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> 11:33:56,954 ERROR [STDERR] at
> java.lang.reflect.Method.invoke(Method.java:606)
> 11:33:56,954 ERROR [STDERR] at
> org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> 11:33:56,954 ERROR [STDERR] at
> org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
>
> 11:33:56,954 ERROR [STDERR] at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
>
> 11:33:56,954 ERROR [STDERR] at
> org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
>
> 11:33:56,954 ERROR [STDERR] at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
>
> 11:33:56,955 ERROR [STDERR] at
> org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
>
> 11:33:56,955 ERROR [STDERR] at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
>
> 11:33:56,955 ERROR [STDERR] at
> org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:65)
>
> 11:33:56,955 ERROR [STDERR] at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
>
> 11:33:56,955 ERROR [STDERR] at
> org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
>
> 11:33:56,955 ERROR [STDERR] at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
>
> 11:33:56,955 ERROR [STDERR] at
> org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:163)
>
> 11:33:56,955 ERROR [STDERR] at
> org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
>
> 11:33:56,955 ERROR [STDERR] at
> org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
> 11:33:56,955 ERROR [STDERR] at
> org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
>
> 11:33:56,955 ERROR [STDERR] at
> org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
>
> 11:33:56,955 ERROR [STDERR] at
> org.domain.workflow.session.WorkflowExecuter_$$_javassist_seam_8.deployWorkflows(WorkflowExecuter_$$_javassist_seam_8.java)
>
> 11:33:56,956 ERROR [STDERR] at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 11:33:56,956 ERROR [STDERR] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> 11:33:56,956 ERROR [STDERR] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> 11:33:56,956 ERROR [STDERR] at
> java.lang.reflect.Method.invoke(Method.java:606)
> 11:33:56,956 ERROR [STDERR] at
> org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)
> 11:33:56,956 ERROR [STDERR] at
> org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:280)
> 11:33:56,956 ERROR [STDERR] at
> org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
> 11:33:56,956 ERROR [STDERR] at
> org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)
> 11:33:56,956 ERROR [STDERR] at
> org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
> 11:33:56,956 ERROR [STDERR] at
> org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
> 11:33:56,956 ERROR [STDERR] at
> com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
> 11:33:56,956 ERROR [STDERR] at
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
>
> 11:33:56,956 ERROR [STDERR] at
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
>
> 11:33:56,956 ERROR [STDERR] at
> javax.faces.component.UICommand.broadcast(UICommand.java:387)
> 11:33:56,956 ERROR [STDERR] at
> org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:329)
> 11:33:56,956 ERROR [STDERR] at
> org.ajax4jsf.component.AjaxViewRoot.broadcastEventsForPhase(AjaxViewRoot.java:304)
>
> 11:33:56,957 ERROR [STDERR] at
> org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:261)
> 11:33:56,957 ERROR [STDERR] at
> org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:474)
>
> 11:33:56,957 ERROR [STDERR] at
> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
>
> 11:33:56,957 ERROR [STDERR] at
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
> 11:33:56,957 ERROR [STDERR] at
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
> 11:33:56,957 ERROR [STDERR] at
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
> 11:33:56,957 ERROR [STDERR] at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>
> 11:33:56,957 ERROR [STDERR] at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> 11:33:56,957 ERROR [STDERR] at
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
>
> 11:33:56,957 ERROR [STDERR] at
> org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
> 11:33:56,957 ERROR [STDERR] at
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
>
> 11:33:56,957 ERROR [STDERR] at
> org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:86)
> 11:33:56,957 ERROR [STDERR] at
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
>
> 11:33:56,957 ERROR [STDERR] at
> org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
> 11:33:56,957 ERROR [STDERR] at
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
>
> 11:33:56,957 ERROR [STDERR] at
> org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
> 11:33:56,957 ERROR [STDERR] at
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
>
> 11:33:56,958 ERROR [STDERR] at
> org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
> 11:33:56,958 ERROR [STDERR] at
> org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
> 11:33:56,958 ERROR [STDERR] at
> org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
>
> 11:33:56,958 ERROR [STDERR] at
> org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
> 11:33:56,958 ERROR [STDERR] at
> org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
> 11:33:56,958 ERROR [STDERR] at
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
>
> 11:33:56,958 ERROR [STDERR] at
> org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
> 11:33:56,958 ERROR [STDERR] at
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
>
> 11:33:56,958 ERROR [STDERR] at
> org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
> 11:33:56,958 ERROR [STDERR] at
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
>
> 11:33:56,958 ERROR [STDERR] at
> org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
> 11:33:56,958 ERROR [STDERR] at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
> 11:33:56,958 ERROR [STDERR] at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> 11:33:56,958 ERROR [STDERR] at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>
> 11:33:56,958 ERROR [STDERR] at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
> 11:33:56,958 ERROR [STDERR] at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> 11:33:56,959 ERROR [STDERR] at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
>
> 11:33:56,959 ERROR [STDERR] at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>
> 11:33:56,959 ERROR [STDERR] at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
>
> 11:33:56,959 ERROR [STDERR] at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
>
> 11:33:56,959 ERROR [STDERR] at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
>
> 11:33:56,959 ERROR [STDERR] at
> org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
>
> 11:33:56,959 ERROR [STDERR] at
> org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
>
> 11:33:56,959 ERROR [STDERR] at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>
> 11:33:56,959 ERROR [STDERR] at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>
> 11:33:56,959 ERROR [STDERR] at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
>
> 11:33:56,959 ERROR [STDERR] at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>
> 11:33:56,960 ERROR [STDERR] at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
> 11:33:56,960 ERROR [STDERR] at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
> 11:33:56,960 ERROR [STDERR] at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
>
> 11:33:56,960 ERROR [STDERR] at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 11:33:56,960 ERROR [STDERR] at java.lang.Thread.run(Thread.java:745)
Re: Compilation errors found when running a transformation inside the jboss container [message #1578871 is a reply to message #1578851] Thu, 22 January 2015 17:12 Go to previous messageGo to next message
gustavo nery is currently offline gustavo neryFriend
Messages: 4
Registered: January 2015
Junior Member
Theres no more detailed information... Im just printing the result.getMessage(). How i can print the full stack?

ExecutionDiagnostic result = executor.execute(context, input, output);

//check success
if(result.getSeverity() == Diagnostic.OK) {
// the output objects got captured in the output extent
List<EObject> outObjects = output.getContents();
// let's persist them using a resource
ResourceSet resourceSet2 = new ResourceSetImpl();
resourceSet2.getResourceFactoryRegistry().getExtensionToFactoryMap().put("*", new XMLResourceFactoryImpl());
Resource outResource = resourceSet2.createResource(URI.createFileURI(experimentJpdlPath));
outResource.getContents().addAll(outObjects);
outResource.save(Collections.emptyMap());
} else {
throw new Exception(result.getMessage());
}

[Updated on: Thu, 22 January 2015 17:13]

Report message to a moderator

Re: Compilation errors found when running a transformation inside the jboss container [message #1578903 is a reply to message #1578871] Thu, 22 January 2015 17:36 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

No idea. Try doing some debugging.

org.domain.dsl.JPDLDSLUtil.convertXMIToJPDL(JPDLDSLUtil.java:114)

is top of the stack so that looks to be where the problem should be
diagnosed.

You really can't expect help on non-QVTo code, especially when you
don;'t even provide that code,.

Regards

Ed Willink.


On 22/01/2015 17:12, gustavo nery wrote:
> Theres no more detailed information... Im just printing the
> result.getMessage(). How i can print the full stack?
Re: Compilation errors found when running a transformation inside the jboss container [message #1578925 is a reply to message #1578903] Thu, 22 January 2015 17:53 Go to previous messageGo to next message
gustavo nery is currently offline gustavo neryFriend
Messages: 4
Registered: January 2015
Junior Member
QVTOTransformation.qvto is the file that executes the transformation.
QVTOTransformationExecutor.java is a standalone class that execute the transformation using the qvto, is the one that works executing as java application
JPDLDSLUtil.java (on the method convertXMIToJPDL) executes the same thing of QVTOTransformationExecutor, but i got that error without detail...

Re: Compilation errors found when running a transformation inside the jboss container [message #1578994 is a reply to message #1578903] Thu, 22 January 2015 18:48 Go to previous messageGo to next message
gustavo nery is currently offline gustavo neryFriend
Messages: 4
Registered: January 2015
Junior Member
Hey, i have a new scenario that seems to be more easier to understand and seems to represent the exact same problem! The file attached is an example of transformation that i made, it runs perfect on eclipse but if i generate an Executable JAR file, i got the same problem with compilation.... So, it could help to understand?

Tnx for the help
Re: Compilation errors found when running a transformation inside the jboss container [message #1585742 is a reply to message #1578994] Mon, 26 January 2015 13:04 Go to previous message
Christopher Gerking is currently offline Christopher GerkingFriend
Messages: 115
Registered: April 2011
Senior Member
I wonder how you import your metamodels:

modeltype JPDL uses jpdl31Plus('urn:jbpm.org:jpdl-3.1Plus');

Is 'urn:jbpm.org:jpdl-3.1Plus' the nsURI of a package named 'jpdl31Plus' ? If yes, is that package actually registered under that nsURI in your standalone environment?

Previous Topic:handling of abstract types
Next Topic:determinism on QVTo execution
Goto Forum:
  


Current Time: Mon Apr 22 23:45:29 GMT 2024

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

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

Back to the top