Re: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager

2018-07-22 Thread Matthew Broadhead
rror (it works fine in 7.0.3) java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager which occurs when i run the following code for Apache FOP ClassLoader classLoader = Thread.currentThread().getCont extClassLoader(); URL filepath = classLoader.getResource(xslPat

Re: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager

2018-07-21 Thread Matthew Broadhead
to the error (it works fine in 7.0.3) java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager which occurs when i run the following code for Apache FOP ClassLoader classLoader = Thread.currentThread().getCont extClassLoader(); URL filepath = classLoader.

Re: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager

2018-07-21 Thread Matthew Broadhead
0.3 to 7.0.4 or 7.0.5 due to the error (it works fine in 7.0.3) java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager which occurs when i run the following code for Apache FOP ClassLoader classLoader = Thread.currentThread().

Re: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager

2018-07-19 Thread Jean-Louis Monteiro
;>>> classloaders which makes them different. >>>> In this scenario, I would check if you don't have duplicate xalan jars >>>> in >>>> tomee/lib and in the WEB-INF/lib of your application. >>>> >>>> Hope it helps >>>> &

Re: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager

2018-07-18 Thread Matthew Broadhead
hew Broadhead < matthew.broadh...@nbmlaw.co.uk.invalid> wrote: i have a couple of problems... i have not been able to upgrade from TomEE 7.0.3 to 7.0.4 or 7.0.5 due to the error (it works fine in 7.0.3) java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault canno

Re: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager

2018-07-18 Thread Matthew Broadhead
mEE 7.0.3 to 7.0.4 or 7.0.5 due to the error (it works fine in 7.0.3) java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager which occurs when i run the following code for Apache FOP ClassLoader classLoader = Thread.curr

Re: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager

2018-07-17 Thread Matthew Broadhead
adh...@nbmlaw.co.uk.invalid> wrote: i have a couple of problems... i have not been able to upgrade from TomEE 7.0.3 to 7.0.4 or 7.0.5 due to the error (it works fine in 7.0.3) java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager

Re: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager

2018-07-17 Thread Matthew Broadhead
, Matthew Broadhead < matthew.broadh...@nbmlaw.co.uk.invalid> wrote: i have a couple of problems... i have not been able to upgrade from TomEE 7.0.3 to 7.0.4 or 7.0.5 due to the error (it works fine in 7.0.3) java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot b

Re: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager

2018-07-17 Thread Jean-Louis Monteiro
orks fine in 7.0.3) > java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault > cannot be cast to org.apache.xml.dtm.DTMManager > > which occurs when i run the following code for Apache FOP > ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); > URL filepa

java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager

2018-07-16 Thread Matthew Broadhead
i have a couple of problems... i have not been able to upgrade from TomEE 7.0.3 to 7.0.4 or 7.0.5 due to the error (it works fine in 7.0.3) java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager which occurs when i run