TransformerException when running mediation route from runtime

Highlighted
Six Stars

TransformerException when running mediation route from runtime

Hi,

I am using Tlaend Open Studio for ESB 6.1.0. I have a mediation route which does xsl transformations. When I run that from studio, it runs fine but when it is deployed in runtime, it throws error as "javax.xml.transform.TransformerException: "abc" attribute is not allowed on the "Operation" element!"

It seems related to allowing foreign attributes but how it makes difference from studio and runtime. Also how to fix this ?

Thanks in advance!

 

javax.xml.transform.TransformerException: "abc" attribute is not allowed on the Operation element!
at org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java:904)[:]
at org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java:947)[:]
at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:347)[:]
at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:267)[:]
at org.apache.xalan.processor.ProcessorLRE.startElement(ProcessorLRE.java:283)[:]
at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:623)[:]
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)[:]
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)[:]
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)[:]
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)[:]
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)[:]
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)[:]
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)[:]
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)[:]
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)[:]
at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:917)[:]
at org.apache.camel.builder.xml.XsltBuilder.setTransformerSource(XsltBuilder.java:360)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.component.xslt.XsltEndpoint.loadResource(XsltEndpoint.java:342)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.component.xslt.XsltEndpoint.doStart(XsltEndpoint.java:396)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:2869)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:1097)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1058)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1054)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:574)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:79)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:200)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:107)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:113)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:62)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:56)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.ProcessorDefinition.createProcessor(ProcessorDefinition.java:465)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.ProcessorDefinition.createOutputsProcessor(ProcessorDefinition.java:434)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.ProcessorDefinition.createOutputsProcessor(ProcessorDefinition.java:163)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.ProcessorDefinition.createChildProcessor(ProcessorDefinition.java:182)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.AggregateDefinition.createAggregator(AggregateDefinition.java:163)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.AggregateDefinition.createProcessor(AggregateDefinition.java:159)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.ProcessorDefinition.createProcessor(ProcessorDefinition.java:465)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.ProcessorDefinition.createOutputsProcessor(ProcessorDefinition.java:434)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.ProcessorDefinition.createOutputsProcessor(ProcessorDefinition.java:163)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.ProcessorDefinition.createChildProcessor(ProcessorDefinition.java:182)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.SplitDefinition.createProcessor(SplitDefinition.java:99)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:505)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:217)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1025)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:185)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:841)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:2895)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:2618)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:167)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2467)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2463)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2486)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2463)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2432)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.main.Main.doStart(Main.java:124)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at org.apache.camel.main.MainSupport.run(MainSupport.java:150)[40Smiley Surprisedrg.apache.camel.camel-core:2.15.2]
at vialis.inforln_dataset_0_1.InforLN_Dataset.run(InforLN_Dataset.java:693)[233:vialis.InforLN_Dataset:0.1.0]
at vialis.inforln_dataset_0_1.InforLN_Dataset.runJobInTOS(InforLN_Dataset.java:981)[233:vialis.InforLN_Dataset:0.1.0]
at org.talend.esb.job.controller.internal.RouteAdapter.run(RouteAdapter.java:78)[217Smiley Surprisedrg.talend.esb.job.controller:6.1.0.SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_75]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_75]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_75]

Moderator

Re: TransformerException when running mediation route from runtime

Hi,

Is your runtime installed on local or server? Are you using the same version talend ESB 6.1.0 for runtime?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

APIs for Dummies

View this on-demand webinar about APIs....

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now