[ http://issues.apache.org/jira/browse/IBATIS-276?page=all ] Sven Boden closed IBATIS-276: -----------------------------
Resolution: Invalid Assign To: Sven Boden Probably you made error in your iBATIS configuration files. As this is more a support question than a bug report, I would suggest to continue on the user mailing list. Can you post your configuration files there and we can have a look at them. JIRA closed. > ibatis parse xml error in IBm Websphere Application server > ---------------------------------------------------------- > > Key: IBATIS-276 > URL: http://issues.apache.org/jira/browse/IBATIS-276 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.1.7 > Environment: IBM Websphere server 5.1 > Reporter: zhangbo > Assignee: Sven Boden > > [06-3-16 14:13:40:062 CST] 6fdbbb6a GalaxyContext E > com.smartdot.galaxy.portal.struts.plugin.GalaxyContextLoaderPlugIn > TRAS0014I: ??????? org.springframework.beans.factory.BeanCreationException: > Error creating bean with name 'sqlMapClient' defined in class path resource > [spring/base_context.xml]: Initialization of bean failed; nested exception is > com.ibatis.common.exception.NestedRuntimeException: Error occurred. Cause: > com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: > com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath > '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error > parsing XML. Cause: sun.io.MalformedInputException > Caused by: sun.io.MalformedInputException > Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: > sun.io.MalformedInputException > Caused by: sun.io.MalformedInputException > Caused by: com.ibatis.common.exception.NestedRuntimeException: Error parsing > XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: > Error parsing XML. Cause: sun.io.MalformedInputException > Caused by: sun.io.MalformedInputException > Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: > sun.io.MalformedInputException > Caused by: sun.io.MalformedInputException > com.ibatis.common.exception.NestedRuntimeException: Error occurred. Cause: > com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: > com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath > '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error > parsing XML. Cause: sun.io.MalformedInputException > Caused by: sun.io.MalformedInputException > Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: > sun.io.MalformedInputException > Caused by: sun.io.MalformedInputException > Caused by: com.ibatis.common.exception.NestedRuntimeException: Error parsing > XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: > Error parsing XML. Cause: sun.io.MalformedInputException > Caused by: sun.io.MalformedInputException > Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: > sun.io.MalformedInputException > Caused by: sun.io.MalformedInputException > Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: > com.ibatis.common.exception.NestedRuntimeException: Error parsing XPath > '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error > parsing XML. Cause: sun.io.MalformedInputException > Caused by: sun.io.MalformedInputException > Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: > sun.io.MalformedInputException > Caused by: sun.io.MalformedInputException > Caused by: com.ibatis.common.exception.NestedRuntimeException: Error parsing > XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: > Error parsing XML. Cause: sun.io.MalformedInputException > Caused by: sun.io.MalformedInputException > Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: > sun.io.MalformedInputException > Caused by: sun.io.MalformedInputException > at > com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java:81) > at > com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.java:62) > at > org.springframework.orm.ibatis.SqlMapClientFactoryBean.afterPropertiesSet(SqlMapClientFactoryBean.java:258) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145) > at > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:277) > at > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313) > at > org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:87) > at > org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:72) > at > org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:63) > at com.smartdot.util.SpringUtils.getContext(SpringUtils.java:32) > at > com.smartdot.galaxy.portal.struts.plugin.GalaxyContextLoaderPlugIn.initWebApplicationContext(GalaxyContextLoaderPlugIn.java:46) > at > org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225) > at > org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869) > at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336) > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > at > com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82) > 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:113) > at > com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189) > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > at > com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:876) > at > com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224) > at > com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServletReference(WebAppServletManager.java:455) > at > com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(WebApp.java:652) > at > com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebAppRequestDispatcherInfo.java:187) > at > com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.<init>(WebAppRequestDispatcherInfo.java:68) > at > com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1464) > at > com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1423) > at > com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276) > at > com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71) > at > com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182) > at > com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334) > at > com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56) > at > com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615) > at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:449) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira