James2.1 运行run.bat提示下面的信息
出处:CN-JAVA 作者:wuhaixing 时间:2005-9-1 12:21:00
我从APACHE下载JAMES的二进制文件,解压缩到c:\james,然后运行run.bat提示下面的信息。 我想请教出什么问题了不能启动?能告诉我解决的方法吗?
Using PHOENIX_HOME: C:\james Using PHOENIX_TMPDIR: C:\james\temp Using JAVA_HOME: C:\j2sdk1.4.1_02
Phoenix 4.0.1
There was an uncaught exception: --------------------------------------------------------- --- Message --- Error building configuration from file:/C:/james/apps/james/SAR-INF/config.xml. --- Stack Trace --- org.apache.avalon.phoenix.interfaces.DeploymentException: Error building configu ration from file:/C:/james/apps/james/SAR-INF/config.xml. at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.getConf igurationFor(DefaultDeployer.java:499) at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy( DefaultDeployer.java:325) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployF ile(DefaultEmbeddor.java:498) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployF ile(DefaultEmbeddor.java:491) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployF iles(DefaultEmbeddor.java:476) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployD efaultApplications(DefaultEmbeddor.java:466) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute (DefaultEmbeddor.java:224) at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158) at org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:144)
at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:94) at org.apache.avalon.phoenix.launcher.Main.main(Main.java:46) Caused by: java.io.FileNotFoundException: ..\apps\james\conf\james-fetchmail.xml (系统找不到指定的路径。) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:103) at java.io.FileInputStream.(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection .java:69) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon nection.java:156) at java.net.URL.openStream(URL.java:960) at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager. java:796) at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager. java:725) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityRefer ence(XMLDocumentFragmentScannerImpl.java:1073) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1489) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM LDocumentFragmentScannerImpl.java:333) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav a:524) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav a:580) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j ava:1169) at org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.bu ild(ConfigurationBuilder.java:129) at org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.bu ild(ConfigurationBuilder.java:116) at org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.bu ild(ConfigurationBuilder.java:97) at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.getConf igurationFor(DefaultDeployer.java:493) ... 15 more rethrown from java.io.FileNotFoundException: ..\apps\james\conf\james-fetchmail.xml (系统找不 到指定的路径。) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:103) at java.io.FileInputStream.(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection .java:69) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon nection.java:156) at java.net.URL.openStream(URL.java:960) at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager. java:796) at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager. java:725) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityRefer ence(XMLDocumentFragmentScannerImpl.java:1073) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1489) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM LDocumentFragmentScannerImpl.java:333) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav a:524) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav a:580) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j ava:1169) at org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.bu ild(ConfigurationBuilder.java:129) at org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.bu ild(ConfigurationBuilder.java:116) at org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.bu ild(ConfigurationBuilder.java:97) at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.getConf igurationFor(DefaultDeployer.java:493) at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy( DefaultDeployer.java:325) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployF ile(DefaultEmbeddor.java:498) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployF ile(DefaultEmbeddor.java:491) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployF iles(DefaultEmbeddor.java:476) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployD efaultApplications(DefaultEmbeddor.java:466) at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute (DefaultEmbeddor.java:224) at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158) at org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:144)
at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:94) at org.apache.avalon.phoenix.launcher.Main.main(Main.java:46)
--------------------------------------------------------- The log file may contain further details of error. Please check the configuration files and restart Phoenix. If the problem persists, contact the Avalon project. See http://jakarta.apache.org/avalon for more information. Shutting down Phoenix. |
|
|
|
,