seam - org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException when deployed in JBoss6 -
i have upload excel file in jbossseam application. using poi3.6 jar. excel upload successful in application server jboss5.1. got exception when used jboss6. how resolve problem? please me solve issue?
the stacktrace follows :
2011-02-09 10:20:00,247 error [stderr] (http-10.120.10.19-8086-1) org.apache.poi.poixmlexception: java.lang.reflect.invocationtargetexception
2011-02-09 10:20:00,247 error [stderr] (http-10.120.10.19-8086-1) @ org.apache.poi.xssf.usermodel.xssffactory.createdocumentpart(xssffactory.java:61)
2011-02-09 10:20:00,263 error [stderr] (http-10.120.10.19-8086-1) @ org.apache.poi.poixmldocumentpart.read(poixmldocumentpart.java:256)
2011-02-09 10:20:00,263 error [stderr] (http-10.120.10.19-8086-1) @ org.apache.poi.poixmldocument.load(poixmldocument.java:196)
2011-02-09 10:20:00,263 error [stderr] (http-10.120.10.19-8086-1) @ org.apache.poi.xssf.usermodel.xssfworkbook.(xssfworkbook.java:179)
2011-02-09 10:20:00,263 error [stderr] (http-10.120.10.19-8086-1) @ com.ey.skilltracker.parseutility.employeeuploadexcel.parsexlfile(employeeuploadexcel.java:113)
2011-02-09 10:20:00,263 error [stderr] (http-10.120.10.19-8086-1) @ com.ey.skilltracker.bean.administration.employeebean.importemployeedetails(employeebean.java:902)
2011-02-09 10:20:00,263 error [stderr] (http-10.120.10.19-8086-1) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)
2011-02-09 10:20:00,278 error [stderr] (http-10.120.10.19-8086-1) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
2011-02-09 10:20:00,278 error [stderr] (http-10.120.10.19-8086-1) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
2011-02-09 10:20:00,278 error [stderr] (http-10.120.10.19-8086-1) @ java.lang.reflect.method.invoke(method.java:597)
2011-02-09 10:20:00,278 error [stderr] (http-10.120.10.19-8086-1) @ org.jboss.seam.util.reflections.invoke(reflections.java:22)
2011-02-09 10:20:00,278 error [stderr] (http-10.120.10.19-8086-1) @ org.jboss.seam.intercept.rootinvocationcontext.proceed(rootinvocationcontext.java:32)
2011-02-09 10:20:00,294 error [stderr] (http-10.120.10.19-8086-1) @ org.jboss.seam.intercept.seaminvocationcontext.proceed(seaminvocationcontext.java:56)
2011-02-09 10:20:00,294 error [stderr] (http-10.120.10.19-8086-1) @ org.jboss.seam.transaction.rollbackinterceptor.aroundinvoke(rollbackinterceptor.java:28)
2011-02-09 10:20:00,294 error [stderr] (http-10.120.10.19-8086-1) @ org.jboss.seam.intercept.seaminvocationcontext.proceed(seaminvocationcontext.java:68)
2011-02-09 10:20:00,294 error [stderr] (http-10.120.10.19-8086-1) @ org.jboss.seam.core.bijectioninterceptor.aroundinvoke(bijectioninterceptor.java:77)
2011-02-09 10:20:00,294 error [stderr] (http-10.120.10.19-8086-1) @ org.jboss.seam.intercept.seaminvocationcontext.proceed(seaminvocationcontext.java:68)
2011-02-09 10:20:00,294 error [stderr] (http-10.120.10.19-8086-1) @ org.jboss.seam.core.methodcontextinterceptor.aroundinvoke(methodcontextinterceptor.java:44)
2011-02-09 10:20:00,309 error [stderr] (http-10.120.10.19-8086-1) @ org.jboss.seam.intercept.seaminvocationcontext.proceed(seaminvocationcontext.java:68)
2011-02-09 10:20:00,309 error [stderr] (http-10.120.10.19-8086-1) @ org.jboss.seam.core.synchronizationinterceptor.aroundinvoke(synchronizationinterceptor.java:32)
2011-02-09 10:20:00,309 error [stderr] (http-10.120.10.19-8086-1) @ org.jboss.seam.intercept.seaminvocationcontext.proceed(seaminvocationcontext.java:68)
2011-02-09 10:20:00,309 error [stderr] (http-10.120.10.19-8086-1) @ org.jboss.seam.intercept.rootinterceptor.invoke(rootinterceptor.java:107)
2011-02-09 10:20:00,309 error [stderr] (http-10.120.10.19-8086-1) @ org.jboss.seam.intercept.javabeaninterceptor.interceptinvocation(javabeaninterceptor.java:185)
2011-02-09 10:20:00,325 error [stderr] (http-10.120.10.19-8086-1) @ org.jboss.seam.intercept.javabeaninterceptor.invoke(javabeaninterceptor.java:103)
2011-02-09 10:20:00,325 error [stderr] (http-10.120.10.19-8086-1) @ com.ey.skilltracker.bean.administration.employeebean_$$_javassist_seam_18.importemployeedetails(employeebean_$$_javassist_seam_18.java)
i got same issue. used poi 3.8 , jboss6.0. root cause classloading conflict between poi lib , jboss lib of xmlbeans
Comments
Post a Comment