Error after installing petals-bc-soap-4.0.10 component

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Error after installing petals-bc-soap-4.0.10 component

bg_ghassen
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

Vincent Zurczak
Hi,

This is an error in the Talend job. I guess it runs well in TOS or TIS.
When deployed in Petals, a same job can run concurrently. Maybe it is the problem with your job. One of the libraries it uses does not support concurrent invocations. This is in general hard to say because it depends on the jobs and on the libraries they use.

Can you check in the source code of the Talend job to see if there is a "reset" invocation on a transformer? If so, you will have to force the use of another transformer than "oracle.xml.jaxp.JXTransformer". And in that case, it will not be due to the interaction between the job and Petals but to your environment and the choice of your transformer (or to the generated job).
« Petals M.D. »
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

bg_ghassen
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

Vincent Zurczak
I believe you.
But honestly, it does not make sense to me. I do not see how an error that occurs inside a job can be related to the SOAP BC's deployement. In particular such an error. Time will tell us. ;)
« Petals M.D. »
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

bg_ghassen
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

bg_ghassen
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

Christophe DENEUX
Administrator
I think that PETALSBCSOAP-100 can explain that you have.
Christophe DENEUX
Petals ESB Architect
Linagora
Twitter: @ChrisDENEUX
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

bg_ghassen
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

Christophe DENEUX
Administrator
The problem fixed by PETALSBCSOAP-100was that the XSLT provided by the JVM is forced in the classloader of the BC SOAP.
With last version, the XSLT is no more forced.

Can you start Petals in debug mode and set a breakpoint on the exception that you have (in Eclipse: Run/Add Java Exception Breakpoint) and join us the call stack
Christophe DENEUX
Petals ESB Architect
Linagora
Twitter: @ChrisDENEUX
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

bg_ghassen
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

Christophe DENEUX
Administrator
To put the breakpoint and launch Petals in debug mode:
  1/ Inside Eclipse, create a new debug configuration for a remote java application using "Run/Debug Configuration ..."
  2/ Put the breakpoint on exception instanciation using "Run/Add Java Exception Breakpoint ..."
  3/ launch Petals using the script "debug.sh" available in $PETALS_HOME/bin. The Petals start will continue when connecting the Eclipse debugger
  4/ launch the debug configuration that you have just created
Christophe DENEUX
Petals ESB Architect
Linagora
Twitter: @ChrisDENEUX
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

Vincent Zurczak
In reply to this post by bg_ghassen
Seen this way, I also assume the SOAP BC sets an environment property and that it impacts the Talend SE.
Which versions are you using exactly? I mean all the components and the Petals version (3.1 is different than 3.1.3).
« Petals M.D. »
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

bg_ghassen
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

Christophe DENEUX
Administrator
The main goal is not to debug your job but to know how the XSL transformer to use is loaded. To do this we debug Petals and the SE Talend using Eclipse.
Otherwise, can you provide us your Talend service assembly to reproduce and investigate your problem.
Christophe DENEUX
Petals ESB Architect
Linagora
Twitter: @ChrisDENEUX
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

bg_ghassen
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

bg_ghassen
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

Christophe DENEUX
Administrator
It's very strange.

I didn't see anything wrong in your call stack. Can you provide us your service assemblies to investigate the problem, and explain it ?

Thanks
Christophe DENEUX
Petals ESB Architect
Linagora
Twitter: @ChrisDENEUX
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

bg_ghassen
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

Christophe DENEUX
Administrator
Thanks a lot for your help and your contribution !!
Christophe DENEUX
Petals ESB Architect
Linagora
Twitter: @ChrisDENEUX
Reply | Threaded
Open this post in threaded view
|

Re: Error after installing petals-bc-soap-4.0.10 component

Vincent Zurczak
Hi,

I have thought about this, but I did not find time to go further.
Here is what I think. The error occurs when the Talend SE receives a request to process. It has to analyze the request and to prepare a document for the answer. And for some reason, the transformer implementation that is taken is oracle.xml.jaxp.JXTransformer.

The best solution should be to force the use of a transformer that can be reset, such as Xerces.
This could either be done in the implementation (check that the transformer supports the reset operation), or maybe in the environement.

See this thread.
I guess that somehow, the SOAP BC force the use of a specific transformer and that it is reused then by the Talend SE (from memory, a Java process keeps on using the same implementation class by default then, unless we force one).
« Petals M.D. »
12