aspose file tools*
The moose likes Websphere and the fly likes xerces.jar package difference bw WAS 4 and WAS 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "xerces.jar package difference bw WAS 4 and WAS 5" Watch "xerces.jar package difference bw WAS 4 and WAS 5" New topic
Author

xerces.jar package difference bw WAS 4 and WAS 5

gala tol
Greenhorn

Joined: Jul 16, 2004
Posts: 1
Hello

We have an application running in websphere 4.0.5 Packaging that into an ear file and bringing it into websphere 5.0.2. We are using xerces.jar that comes with WAS 4 "Xerces 1.4.2", now the xerces package on WAS 5 is "XML4J 4.0.12".

Here is the beginning of the error message. DataLoader is the first servlet that gets loaded and the error occurs on the line that tries to create and initiallize RespParser object. It doesn't even get to a constructor. RespParser class has "import org.apache.xerces.parsers.*;" which has org.apache.xerces.framework package that we are using that isn't in XML4J on WAS 5.

Or I think that's what our problem is. I know that that is not what the error message displays, but if someone knows or had similar problem with xerces versions between WAS 4 and WAS 5 please let me know.


SRVE0100E: Did not realize init() exception thrown by servlet DataLoader: javax.servlet.ServletException: (class: com/hsbc/cdm/reftable/RespParser, method: parse signature: (Ljava/util/Hashtable Ljava/util/Hashtable Incompatible object argument for method call
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:99)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java(Compiled Code))
at javax.servlet.GenericServlet.init(GenericServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java(Compiled Code))
at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java(Compiled Code))
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java(Compiled Code))
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:985)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xerces.jar package difference bw WAS 4 and WAS 5