Menu

Configuration parameters

Help
2010-11-08
2013-04-22
  • John Miller

    John Miller - 2010-11-08

    Good work based on servlet tech/front-end.

    can someone tell me where and what are the configuration params (in .java files)
    that we can tweak?

    Even on linux, it is kinda eluding me on the java exceptions thrown just because a configuration file is not found.

    Thanks in advance!

     
  • Blaine Simpson

    Blaine Simpson - 2010-11-08

    In any Java program other than a trivial example, configuration params are not set in .java files.  That would require recompilation, which should not be required for runtime configuration.

    Use a UNIX or IDE search function to look for whatever you want to look for.  You can easily find all properties or XML files in the source or in the war, and you can search source code for where any (or all) such files are read.

     
  • John Miller

    John Miller - 2010-11-08

    unsaved:  Thanks for your reply! 

    Would really appreciate what are the configuration (xml) files that 'need to look at to get it going?
    I have both Windows Vista and Linux OS that 'was trying and to a break from retrying.

    Again, thanks a million

     
  • Blaine Simpson

    Blaine Simpson - 2010-11-09

    Try working forwards from web.xml.  Use the API spec to find out what specific components like listeners and servlets are for.

     
  • John Miller

    John Miller - 2010-11-09

    Thanks again for your reply!

    Finally, I was able to get the login screen (hurray!, out of three webmail apps (other two: webmail, yawebmail), Jwebmail was the first to work :)

    However, after authenticating a user to gmail (imap.gmail.com), I dont get any folder on the gmail account

    Here is the stack trace
    tack Trace

    net.wastl.webmail.exceptions.DocumentNotFoundException: Could not find folder 4c7b853b7c763e1084ec3825113bee25! at net.wastl.webmail.plugins.FolderList.handleURL(Unknown Source) at net.wastl.webmail.server.ToplevelURLHandler.handleURL(Unknown Source) at net.wastl.webmail.server.WebMailServlet.service(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at net.wastl.webmail.config.ContextPathValidator.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619)

    Can someone give me any pointers on how to solve this issue?
    Many thanks in advance.

     
  • Blaine Simpson

    Blaine Simpson - 2010-11-11

    Could have to do with assumptions about how the Inbox is accessed.  The different IMAP servers have different and conflicting conventions about where to look for the user's main Inbox.

    I recommend that you rebuild JWebmail with the Ant property javac.debug set to true (I'm not positive about the property name, but it will be laid out clearly enough in the build.xml file).  Then you will get line numbers for those lines in the stack trace and you can look at the code and find out exactly what is being sought and not found.

     
  • hitesh shah

    hitesh shah - 2010-12-09

    How did u get the loginn screen? what did u do? Can you tell me in detail?

     
  • Blaine Simpson

    Blaine Simpson - 2011-03-23

    pintushahk:  Stop hijacking other people's threads and make your own.  And RTFM.  http://jwebmail.sourceforge.net/jwebmail-guide.html#install

     

Log in to post a comment.