?
Solved

Exception in Weblogic 10.3.0

Posted on 2012-08-16
6
Medium Priority
?
857 Views
Last Modified: 2012-11-13
Hi Experts,

I have written code to transform an xml to excel using XLSTransformer. My code is working fine on Weblogic 10.3.3.0 version  but giving below error on Weblogic 10.3.0.0 version.
Please help.

net.sf.jxls.transformer.SheetTransformer transformSheet
INFO: Processing sheet: Sheet1
17/08/2012 15:46:26 org.apache.commons.digester.Digester getParser
SEVERE: Digester.getParser:
java.lang.UnsupportedOperationException: This parser does not support specificat
ion "null" version "null"
        at javax.xml.parsers.SAXParserFactory.setXIncludeAware(SAXParserFactory.
java:448)
        at org.apache.commons.digester.Digester.getFactory(Digester.java:539)
        at org.apache.commons.digester.Digester.getParser(Digester.java:791)
        at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1068)

        at org.apache.commons.digester.Digester.parse(Digester.java:1940)
        at net.sf.jxls.parser.CellParser.parseTag(CellParser.java:288)
        at net.sf.jxls.parser.CellParser.parseCellValue(CellParser.java:196)
        at net.sf.jxls.parser.CellParser.parseCell(CellParser.java:58)
        at net.sf.jxls.transformer.SheetTransformer.parseCells(SheetTransformer.
java:186)
        at net.sf.jxls.transformer.SheetTransformer.parseRow(SheetTransformer.ja
va:256)
        at net.sf.jxls.transformer.SheetTransformer.transformSheet(SheetTransfor
mer.java:88)
        at net.sf.jxls.transformer.XLSTransformer.transformWorkbook(XLSTransform
er.java:255)
        at net.sf.jxls.transformer.XLSTransformer.transformXLS(XLSTransformer.ja
va:234)
        at net.sf.jxls.transformer.XLSTransformer.transformXLS(XLSTransformer.ja
va:213)

Thanks,
Ravi
0
Comment
  • 4
6 Comments
 
LVL 10
ID: 38304879
upgrade just the Xerces.jar to the latest version, the jar is called XercesImpl.jar
0
 

Author Comment

by:Ravi Kiran Reddy Katkuri
ID: 38310505
Hi Mel,

I have done what you said. But it dint fix the issue. Any other thoughts?
 
Thanks,
Ravi
0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 38366806
http://www.jroller.com/navanee/entry/unsupportedoperationexception_this_parser_does_not
Look for the files mentioned in the provided URL in all directories of weblogic and replace them
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:Ravi Kiran Reddy Katkuri
ID: 38488843
Dint solve the problem. Any more ideas?
0
 

Accepted Solution

by:
Ravi Kiran Reddy Katkuri earned 0 total points
ID: 38582117
I have removed new version of jxls library and used jxls 0.9.6 version along with below dependents libraries
commons-beanutils-1.7.0.jar
commons-digester-1.8.jar

The real culprit is commons digester of course but this solved the problem.
0
 

Author Closing Comment

by:Ravi Kiran Reddy Katkuri
ID: 38593902
This is only way i have over come this problem.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses
Course of the Month16 days, 19 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question