Results 1 to 10 of 10

Thread: Network error on the web client

  1. #1
    rsousa is offline Junior Member
    Join Date
    Oct 2007
    Location
    Portugal
    Posts
    6
    Rep Power
    7

    Default Network error on the web client

    So I have been fooling around with the Instant Messaging options
    Unfortunatly, some time afterwards any access to the webmail resulted in a error like:
    msg - system failure: java.lang.NullPointerException
    code - service.FAILURE
    method - ZmCsfeCommand.prototype.invoke
    detail - soap:Receiver

    Looking at mailbox.log I can see:
    2007-10-03 08:42:59,570 WARN [http-443-Processor4] [name=rsousa@servismart.net;ip=89.181.48.29;ua=Zimb raWebClient - FF2.0 (Win)/4.5.7_GA_1319.UBUNTU6;] SoapE
    ngine - handler exception
    java.lang.NullPointerException
    at com.zimbra.cs.im.IMPersona.init(IMPersona.java:99)
    at com.zimbra.cs.im.IMRouter.findPersona(IMRouter.jav a:110)
    at com.zimbra.cs.session.Session.<init>(Session.java: 78)
    at com.zimbra.cs.session.SoapSession.<init>(SoapSessi on.java:76)
    at com.zimbra.cs.session.SessionCache.getNewSession(S essionCache.java:86)
    at com.zimbra.soap.ZimbraSoapContext.getSession(Zimbr aSoapContext.java:450)
    at com.zimbra.soap.DocumentHandler.getSession(Documen tHandler.java:199)
    at com.zimbra.soap.DocumentHandler.getSession(Documen tHandler.java:182)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:269)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:173)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:95)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:221)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:709)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:162)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:541)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:619)


    If I look at the user's profile the IMFeature looks disabled

    Any clues?

    Thanks in advance...
    ricardo

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,486
    Rep Power
    56

    Default

    Welcome to the forums.

    The IM feature is not in any fit state to use in the version of Zimbra you have, it will be in Zimbra 5 - I'd wait for that to test it.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    rsousa is offline Junior Member
    Join Date
    Oct 2007
    Location
    Portugal
    Posts
    6
    Rep Power
    7

    Default

    Quote Originally Posted by phoenix View Post
    Welcome to the forums.

    The IM feature is not in any fit state to use in the version of Zimbra you have, it will be in Zimbra 5 - I'd wait for that to test it.
    Thank you Phoenix!

    The thing is I tested, it didn't work as expected, and I re-set it to FALSE, both on the account and on the CoS. I just think it is related because of the name of the class on the top of the stack trace (IMPersona).

    Anyway, right now, I'd be rather happy to get the web mail running again!
    I assume that some setting was left on the engine (tomcat?) or something that zmprov doesn't change or manage.

    thanks

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,486
    Rep Power
    56

    Default

    Have you restarted Zimbra, if not try that and see if the message goes away.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    rsousa is offline Junior Member
    Join Date
    Oct 2007
    Location
    Portugal
    Posts
    6
    Rep Power
    7

    Default

    Quote Originally Posted by phoenix View Post
    Have you restarted Zimbra, if not try that and see if the message goes away.
    Well, of course! restarted, rebooted and many other «re-»'s

    Doing it now I noticed something much more interesting:

    Code:
    java.util.MissingResourceException: Can't find bundle for base name wildfire_i18n, locale en
    2007-10-03 15:13:27,560 ERROR [main] [] im - Database could not be accessed
    com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'zimbra.jiveID' doesn't exist
    
    Query being executed when exception was thrown:
    
    SELECT count(*) FROM jiveID
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
            at com.mysql.jdbc.Connection.execSQL(Connection.java:3124)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1149)
            at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1262)
            at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:205)
            at org.jivesoftware.wildfire.XMPPServer.verifyDataSource(XMPPServer.java:631)
            at org.jivesoftware.wildfire.XMPPServer.start(XMPPServer.java:388)
            at org.jivesoftware.wildfire.XMPPServer.<init>(XMPPServer.java:157)
            at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:137)
            at com.zimbra.soap.SoapServlet.init(SoapServlet.java:115)
            at javax.servlet.GenericServlet.init(GenericServlet.java:211)
            at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
            at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
            at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
            at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:910)
            at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:873)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
            at org.apache.catalina.core.StandardService.start(StandardService.java:450)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
            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:275)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:406)
            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 com.zimbra.cs.launcher.TomcatLauncher.start(TomcatLauncher.java:52)
            at com.zimbra.cs.launcher.TomcatLauncher.main(TomcatLauncher.java:74)
    2007-10-03 15:13:27,563 ERROR [main] [] im -java.lang.IllegalArgumentException: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'zimbra.jiveID' doesn't exist
    
    Query being executed when exception was thrown:
    
    SELECT count(*) FROM jiveID
    2007-10-03 15:13:27,564 WARN  [main] [] system - Could not start XMPP server: java.util.MissingResourceException: Can't find bundle for base name wildfire_i18n, locale en
    So it seems I must switch of the IM stuff somewhere else... Or is the only way to upgrade to ZCS 5?

    Thanks

  6. #6
    tim brennan is offline Zimbra Employee
    Join Date
    Sep 2005
    Posts
    93
    Rep Power
    9

    Default

    Did you remember to turn off the global IM-enable setting?

    % zmprov -l -v mcf zimbraXMPPEnabled FALSE

    ...then restart your server.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  7. #7
    rsousa is offline Junior Member
    Join Date
    Oct 2007
    Location
    Portugal
    Posts
    6
    Rep Power
    7

    Default

    Hello Tim!

    Quote Originally Posted by tim brennan View Post
    Did you remember to turn off the global IM-enable setting?

    % zmprov -l -v mcf zimbraXMPPEnabled FALSE

    ...then restart your server.
    Code:
    zimbra@zcs:~$ zmprov -l -v mcf zimbraXMPPEnabled FALSE
    zimbra@zcs:~$ zmprov gacf | grep XMPP
    zimbraXMPPEnabled: FALSE
    Still have those interesting errors both on start up and on accessing the webmail.
    (Edit: Still have = after doing a zmcontrol stop && zmcontrol start )
    thanks
    Last edited by rsousa; 10-03-2007 at 08:56 AM. Reason: clarification

  8. #8
    tim brennan is offline Zimbra Employee
    Join Date
    Sep 2005
    Posts
    93
    Rep Power
    9

    Default

    Are you sure you're seeing the startup exception still? I'm not sure what to tell you then -- the code is really pretty straightforward and there's not really any way you should get the error on startup if you've got the zimbraXMPPEnabled provisioning setting set correctly:

    Code:
                if (server.getBooleanAttr(Provisioning.A_zimbraXMPPEnabled, false)) {
    .... 
                       XMPPServer srv = new XMPPServer();
                }
    Bugzilla - Wiki - Downloads - Before posting... Search!

  9. #9
    tim brennan is offline Zimbra Employee
    Join Date
    Sep 2005
    Posts
    93
    Rep Power
    9

    Default

    The login path has similar checks:

    Code:
                if (Provisioning.getInstance().getLocalServer().getBooleanAttr(Provisioning.A_zimbraXMPPEnabled, false)) {
                    mXMPPSession = new ClientSession(Provisioning.getInstance().getLocalServer().getName(), new FakeClientConnection(this), XMPPServer.getInstance().getSessionManager().nextStreamID());
    so I can't see how it is failing to follow the zmprov settings here either.

    You might want to try restarting LDAP as well just to make sure settings aren't cached somewhere, or looking to make sure you're pointing at the right LDAP server.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  10. #10
    rsousa is offline Junior Member
    Join Date
    Oct 2007
    Location
    Portugal
    Posts
    6
    Rep Power
    7

    Default

    So, on the LDAP (and it is the only ldap we have!) we can see:
    Code:
    # extended LDIF
    #
    # LDAPv3
    # base <cn=config,cn=zimbra> with scope subtree
    # filter: (cn=config)
    # requesting: zimbraXMPPEnabled
    #
    
    # config, zimbra
    dn: cn=config,cn=zimbra
    zimbraXMPPEnabled: FALSE
    
    # search result
    search: 2
    result: 0 Success
    
    # numResponses: 2
    # numEntries: 1
    Now we stop it: sudo /etc/init.d/zimbra stop
    and start it: sudo /etc/init.d/zimbra start

    Looking at the logs we can see:
    Code:
    2007-10-03 17:35:15,724 INFO  [main] [] RedoPlayer - No uncommitted transactions to redo
    2007-10-03 17:35:15,744 INFO  [main] [] RedoLogManager - Finished pre-startup crash recovery
    2007-10-03 17:35:15,763 INFO  [main] [] im - Setting default XMPP domain to: servismart.net
    2007-10-03 17:35:15,780 INFO  [NOTIFY-7035-Server] [] misc - starting server loop
    2007-10-03 17:35:15,993 ERROR [main] [] im - java.util.MissingResourceException: Can't find bundle for base name wildfire_i18n, locale en
    2007-10-03 17:35:16,003 ERROR [main] [] im - Database could not be accessed
    com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'zimbra.jiveID' doesn't exist
    
    Query being executed when exception was thrown:
    
    SELECT count(*) FROM jiveID
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
            at com.mysql.jdbc.Connection.execSQL(Connection.java:3124)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1149)
            at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1262)
            at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:205)
            at org.jivesoftware.wildfire.XMPPServer.verifyDataSource(XMPPServer.java:631)
            at org.jivesoftware.wildfire.XMPPServer.start(XMPPServer.java:388)
            at org.jivesoftware.wildfire.XMPPServer.<init>(XMPPServer.java:157)
            at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:137)
            at com.zimbra.soap.SoapServlet.init(SoapServlet.java:115)
            at javax.servlet.GenericServlet.init(GenericServlet.java:211)
            at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
            at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
            at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
            at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:910)
            at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:873)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
            at org.apache.catalina.core.StandardService.start(StandardService.java:450)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
    :
            at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
            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:275)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:406)
            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 com.zimbra.cs.launcher.TomcatLauncher.start(TomcatLauncher.java:52)
            at com.zimbra.cs.launcher.TomcatLauncher.main(TomcatLauncher.java:74)
    2007-10-03 17:35:16,006 ERROR [main] [] im - java.lang.IllegalArgumentException: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'zimbra.jiveID' do
    esn't exist
    
    Query being executed when exception was thrown:
    
    SELECT count(*) FROM jiveID
    2007-10-03 17:35:16,007 WARN  [main] [] system - Could not start XMPP server: java.util.MissingResourceException: Can't find bundle for base name wildfire_i18
    n, locale en
    2007-10-03 17:35:16,026 INFO  [LmtpServer] [] TcpServer/7025 - starting accept loop
    So I'm a bit at a loss here

    clues anyone?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 12
    Last Post: 08-25-2010, 02:37 AM
  2. Problem after change the Web mail client port number
    By eugeneewe in forum Installation
    Replies: 2
    Last Post: 07-19-2007, 06:27 PM
  3. Need Help Troubleshooting Web Client Issues
    By soxfan in forum Administrators
    Replies: 2
    Last Post: 03-23-2007, 05:27 AM
  4. Using Ajax Web client on Windows 2000!
    By celeron in forum Administrators
    Replies: 1
    Last Post: 03-09-2007, 11:09 PM
  5. Moving Zimbra Web Client from one port to another.
    By oopstu in forum Administrators
    Replies: 2
    Last Post: 01-20-2007, 02:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •