You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by yhofri <Ye...@comverse.com> on 2007/03/09 16:03:35 UTC

BPE using xerces - how can i change that ?

Hi,
i've been benchmarking the servicemix bpe, and got poor results, a profile
showed that lots of cpu is consumed by the xerces
org.apache.xerces.parsers.SecuritySupport.

shown by the quotation ( bottom to top ) :

java.util.zip.ZipFile.getEntry(ZipFile.java:250)
....
org.apache.xerces.parsers.SecuritySupport$6.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
org.apache.xerces.parsers.SecuritySupport.getResourceAsStream(Unknown
Source)
...
org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
...
org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMSourceFromStream
...
org.apache.servicemix.bpe.external.JbiInvokeAction.execute(JbiInvokeAction.java:243)


How can i disable xerces security policy ?
How can i avoid xerces from getting the file ?
How can i change it from usign xerces, into using sax ???

10x
-- 
View this message in context: http://www.nabble.com/BPE-using-xerces---how-can-i-change-that---tf3376153s12049.html#a9395934
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.


Re: [jira] correction ODE bpel using xerces - how can i change that ?

Posted by Guillaume Nodet <gn...@gmail.com>.
>From the stack trace, you are actually using servicemix-bpe ...

On 3/10/07, yhofri <Ye...@comverse.com> wrote:
>
>
> Hi,
> i meant using ode and not the bpe...
>
>
>
> gnodet wrote:
> >
> > I have really no idea.
> > One of the problem is that the bpel engine used by servicemix-bpe
> > is not supported anymore, that's why this component has been
> > deprecated (see
> > http://incubator.apache.org/servicemix/servicemix-bpe.html).
> > I would advise you to switch to Apache Ode JBI component.
> > See http://incubator.apache.org/ode/
> >
> > On 3/9/07, yhofri <Ye...@comverse.com> wrote:
> >>
> >>
> >> Hi,
> >> i've been benchmarking the servicemix bpe, and got poor results, a
> >> profile
> >> showed that lots of cpu is consumed by the xerces
> >> org.apache.xerces.parsers.SecuritySupport.
> >>
> >> shown by the quotation ( bottom to top ) :
> >>
> >> java.util.zip.ZipFile.getEntry(ZipFile.java:250)
> >> ....
> >> org.apache.xerces.parsers.SecuritySupport$6.run(Unknown Source)
> >> java.security.AccessController.doPrivileged(Native Method)
> >> org.apache.xerces.parsers.SecuritySupport.getResourceAsStream(Unknown
> >> Source)
> >> ...
> >> org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
> >> ...
> >> org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMSourceFromStream
> >> ...
> >> org.apache.servicemix.bpe.external.JbiInvokeAction.execute(
> >> JbiInvokeAction.java:243)
> >>
> >>
> >> How can i disable xerces security policy ?
> >> How can i avoid xerces from getting the file ?
> >> How can i change it from usign xerces, into using sax ???
> >>
> >> 10x
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/BPE-using-xerces---how-can-i-change-that---tf3376153s12049.html#a9395934
> >> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Architect, LogicBlaze (http://www.logicblaze.com/)
> > Blog: http://gnodet.blogspot.com/
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/BPE-using-xerces---how-can-i-change-that---tf3376153s12049.html#a9412597
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/

Re: [jira] correction ODE bpel using xerces - how can i change that ?

Posted by yhofri <Ye...@comverse.com>.
Hi,
i meant using ode and not the bpe...



gnodet wrote:
> 
> I have really no idea.
> One of the problem is that the bpel engine used by servicemix-bpe
> is not supported anymore, that's why this component has been
> deprecated (see
> http://incubator.apache.org/servicemix/servicemix-bpe.html).
> I would advise you to switch to Apache Ode JBI component.
> See http://incubator.apache.org/ode/
> 
> On 3/9/07, yhofri <Ye...@comverse.com> wrote:
>>
>>
>> Hi,
>> i've been benchmarking the servicemix bpe, and got poor results, a
>> profile
>> showed that lots of cpu is consumed by the xerces
>> org.apache.xerces.parsers.SecuritySupport.
>>
>> shown by the quotation ( bottom to top ) :
>>
>> java.util.zip.ZipFile.getEntry(ZipFile.java:250)
>> ....
>> org.apache.xerces.parsers.SecuritySupport$6.run(Unknown Source)
>> java.security.AccessController.doPrivileged(Native Method)
>> org.apache.xerces.parsers.SecuritySupport.getResourceAsStream(Unknown
>> Source)
>> ...
>> org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
>> ...
>> org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMSourceFromStream
>> ...
>> org.apache.servicemix.bpe.external.JbiInvokeAction.execute(
>> JbiInvokeAction.java:243)
>>
>>
>> How can i disable xerces security policy ?
>> How can i avoid xerces from getting the file ?
>> How can i change it from usign xerces, into using sax ???
>>
>> 10x
>> --
>> View this message in context:
>> http://www.nabble.com/BPE-using-xerces---how-can-i-change-that---tf3376153s12049.html#a9395934
>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/
> 
> 

-- 
View this message in context: http://www.nabble.com/BPE-using-xerces---how-can-i-change-that---tf3376153s12049.html#a9412597
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.


Re: BPE using xerces - how can i change that ?

Posted by Guillaume Nodet <gn...@gmail.com>.
I have really no idea.
One of the problem is that the bpel engine used by servicemix-bpe
is not supported anymore, that's why this component has been
deprecated (see http://incubator.apache.org/servicemix/servicemix-bpe.html).
I would advise you to switch to Apache Ode JBI component.
See http://incubator.apache.org/ode/

On 3/9/07, yhofri <Ye...@comverse.com> wrote:
>
>
> Hi,
> i've been benchmarking the servicemix bpe, and got poor results, a profile
> showed that lots of cpu is consumed by the xerces
> org.apache.xerces.parsers.SecuritySupport.
>
> shown by the quotation ( bottom to top ) :
>
> java.util.zip.ZipFile.getEntry(ZipFile.java:250)
> ....
> org.apache.xerces.parsers.SecuritySupport$6.run(Unknown Source)
> java.security.AccessController.doPrivileged(Native Method)
> org.apache.xerces.parsers.SecuritySupport.getResourceAsStream(Unknown
> Source)
> ...
> org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
> ...
> org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMSourceFromStream
> ...
> org.apache.servicemix.bpe.external.JbiInvokeAction.execute(
> JbiInvokeAction.java:243)
>
>
> How can i disable xerces security policy ?
> How can i avoid xerces from getting the file ?
> How can i change it from usign xerces, into using sax ???
>
> 10x
> --
> View this message in context:
> http://www.nabble.com/BPE-using-xerces---how-can-i-change-that---tf3376153s12049.html#a9395934
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/