浏览 2203 次
锁定老帖子 主题:报表工具
该帖已经被评为隐藏帖
|
|
---|---|
作者 | 正文 |
发表时间:2008-07-24
Report System initing...... [2008-07-24 20:39:30] runqianReportLogger : [ERROR] - Name business is not bound in this Context javax.naming.NameNotFoundException: Name business is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:770) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.runqian.report4.dataset.JNDIConnectionFactory.<init>(Unknown Source:13) at com.runqian.report4.view.ReportServlet._$1(Unknown Source:416) at com.runqian.report4.view.ReportServlet._$1(Unknown Source:370) at com.runqian.report4.view.ReportServlet.loadConfig(Unknown Source:188) at com.runqian.report4.view.ReportServlet.init(Unknown Source:70) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) [2008-07-24 20:39:30] runqianReportLogger : [DEBUG] - : InputStream cannot be null 错误来源:InputStream cannot be null : InputStream cannot be null 错误来源:InputStream cannot be null at com.runqian.report4.semantics.SemanticsManager.readXMLStream(Unknown Source:175) at com.runqian.report4.view.ReportServlet.loadConfig(Unknown Source:344) at com.runqian.report4.view.ReportServlet.init(Unknown Source:70) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.IllegalArgumentException: InputStream cannot be null at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:120) at com.runqian.report4.semantics.SemanticsManager.readXMLStream(Unknown Source:172) ... 29 more Report System initialized...... web.xml文件的相关部分如下: <servlet> <servlet-name>reportServlet</servlet-name> <servlet-class>com.runqian.report4.view.ReportServlet</servlet-class> <init-param> <param-name>configFile</param-name> <param-value>/WEB-INF/reportConfig.xml</param-value> </init-param> <load-on-startup>2</load-on-startup> </servlet> <servlet-mapping> <servlet-name>reportServlet</servlet-name> <url-pattern>/reportServlet</url-pattern> </servlet-mapping> reportConfig.xml文件的相关部分如下: <?xml version="1.0" encoding="UTF-8"?> <reportConfig> <config> <name>logConfig</name> <value>/WEB-INF/runqianReportLog.properties</value> </config> <config> <name>license</name> <value>/WEB-INF/quieeWindowServer.lic</value> </config> <config> <name>reportFileHome</name> <value>/reportFiles</value> </config> <config> <name>semanticsFile</name> <value>/WEB-INF/demo.xml</value> </config> <config> <name>JNDIPrefix</name> <value>java:comp/env</value> </config> <config> <name>dataSource</name> <value> business,GBK;</value> </config> <config> <name>cachedToDiskOnly</name> <value>no</value> </config> <config> <name>jspCharset</name> <value>GBK</value> </config> <config> <name>alwaysReloadDefine</name> <value>yes</value> </config> <config> <name>cachedParamsTimeout</name> <value>120</value> </config> <config> <name>cachedReportDir</name> <value>E:\work\report\cached</value> </config> <config> <name>cachedIdPrefix</name> <value>A</value> </config> <config> <name>cachedReportTimeout</name> <value>120</value> </config> <config> <name>maxCellNum</name> <value /> </config> <config> <name>maxConcurrentForReport</name> <value>9999</value> </config> <config> <name>maxWaitForReport</name> <value>9999</value> </config> <config> <name>maxWaitTimeForReport</name> <value>9999</value> </config> <config> <name>appUrlPrefix</name> <value /> </config> <config> <name>errorPage</name> <value>/myErrorPage.jsp</value> </config> </reportConfig> 求各位大虾给我推荐一个解决方案,也请大家帮忙解决这个问题。 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |