TomEE 1.7 + JSF 2.2 + Flows = UnmarshalException

2015-02-26 Thread DonatasCiuksys
I was hapilly using MyFaces 2.2.x with TomEE 1.7 Plus until I tried to use FlowScope. As soon as faces-config.xml started containing: navigation-case ... to-flow-document-id / /navigation-case TomEE crashed during start-up with: Caused by: javax.xml.bind.UnmarshalException: Unexpected

How to upgrade CXF to 2.7?

2014-12-17 Thread DonatasCiuksys
I'm currently on TomEE 1.7.1 PLUS (CXF 2.6.14). CXF has a bug - it cannot handle File attachments if file name contains single quote symbol (): --- java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Re: How to upgrade CXF to 2.7?

2014-12-17 Thread DonatasCiuksys
CXF 2.6.16 source is the same (org.apache.cxf.attachment.AttachmentUtil.java): if (!StringUtils.isEmpty(fileName)) { if (fileName.indexOf(\) 0) { fileName = fileName.substring(fileName.indexOf(\) + 1, fileName.lastIndexOf(\));

Re: How to upgrade CXF to 2.7?

2014-12-17 Thread DonatasCiuksys
I see, thanks for info. I guess I'll just patch CXF AttachmentUtil class. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/How-to-upgrade-CXF-to-2-7-tp4673228p4673232.html Sent from the TomEE Users mailing list archive at Nabble.com.

AmbiguousResolutionException having producers with multiple qualifiers

2014-09-20 Thread DonatasCiuksys
Tomee 1.7.1 PLUS This code (all four producers have different set of qualifiers): gives: -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/AmbiguousResolutionException-having-producers-with-multiple-qualifiers-tp4671886.html Sent from the TomEE Users mailing list

BeanManager injection returns null

2014-09-01 Thread DonatasCiuksys
I'm randomly getting NullPointerExceptions in my production environment (stack trace below); most of the time the code is working, yet time-to-time I'm getting the NullPointerException. That is how ELResolverProducer.getELResolver(ELResolverProducer.java:53) looks like: It seems that producer

Re: BeanManager injection returns null

2014-09-01 Thread DonatasCiuksys
I made a breakpoint, and during debug both this.getClass().getClassLoader() and Thread.currentThread().getContextClassLoader() return this (yet in this case beanManager was not null): org.apache.tomee.catalina.LazyStopWebappClassLoader context: /tar delegate: false repositories: