Error - install webmail in Windows apache

2007-09-06
2013-04-22
  • Sathishkumar
    Sathishkumar
    2007-09-06

    I am getting the following error in the tomcat error log while trying to deploy webmail.war file in apache tomcat version 6.0. Please help me to resolve.

    ================================================
    Init
    webmail.default.locale.language: en
    webmail.plugins: About:AdminPlugin:ChallengeHandler:Composer:ErrorHandler:FileAttacher:FolderList:FolderSetup:NavBar:ImageHandler:LogoutSession:MailboxList:PassThroughPlugin:SendMessage:ShowMessage:ShowMIME:UserSetup:WebMailHelp:WebMailTitle
    webmail.imagebase: /webmail/lib/templates
    webmail.storage: net.wastl.webmail.storage.simple.SimpleStorage
    webmail.default.theme: bibop
    webmail.log.facility: net.wastl.webmail.logger.ServletLogger
    webmail.default.locale.country: US
    webmail.basepath: /webmail/WebMail
    webmail.authenticators: IMAPAuthenticator:POPAuthenticator:OTPAuthenticator:SimpleAuthenticator:UnixAuthenticator

    WebMail/Java Server v0.7.10 going up...

    Initalizing...
    - Checking Java Virtual Machine ...
      * Version: 1.5.0_07 ... ok.
      * Operating System: Windows 2003/x86 5.2 ... warning. WebMail was only tested
       on Solaris, HP-UX and Linux and may cause problems on your platform.
      * User name: SYSTEM ... ok.
      * WebMail System Properties: ok!
      * Setting DTD-path in webmail.xml ... done!
    - Configuration Scheme Handler ... done!
    - Default Locale: English (United States)
    - Default Theme: bibop
    - Initializing WebMail Authenticator Plugins ...
      * registered authenticator plugin "IMAPAuthenticator"
      * registered authenticator plugin "POPAuthenticator"
      * registered authenticator plugin "OTPAuthenticator"
      * registered authenticator plugin "SimpleAuthenticator"
      * registered authenticator plugin "UnixAuthenticator"
      done!
    - Storage API (null) and Configuration ...
      * Configuration ... LOG(1): SimpleStorage: Failed to load WebMail configuration file. Reason: C
    java.net.UnknownHostException: C
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.NetworkClient.openServer(Unknown Source)
        at sun.net.ftp.FtpClient.openServer(Unknown Source)
        at sun.net.ftp.FtpClient.openServer(Unknown Source)
        at sun.net.www.protocol.ftp.FtpURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(Unknown Source)
        at java.net.URL.openStream(Unknown Source)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:807)
        at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:753)
        at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:260)
        at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:499)
        at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
        at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
        at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:253)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
        at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
        at net.wastl.webmail.storage.simple.SimpleStorage.loadXMLSysData(SimpleStorage.java:94)
        at net.wastl.webmail.storage.simple.SimpleStorage.initConfig(SimpleStorage.java:80)
        at net.wastl.webmail.storage.FileStorage.<init>(FileStorage.java:81)
        at net.wastl.webmail.storage.simple.SimpleStorage.<init>(SimpleStorage.java:73)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at net.wastl.webmail.server.WebMailServer.initStorage(WebMailServer.java:203)
        at net.wastl.webmail.server.WebMailServer.doInit(WebMailServer.java:161)
        at net.wastl.webmail.server.WebMailServlet.init(WebMailServlet.java:124)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
        at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:133)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
        at java.lang.Thread.run(Unknown Source)

    ================================================

    Advance thanks,
    Sathishkumar. R