Results 1 to 2 of 2

Thread: "can't initialize class" while running zmtozmig

  1. #1
    Join Date
    Oct 2009
    Posts
    22
    Rep Power
    5

    Default "can't initialize class" while running zmtozmig

    Hi,

    I am trying to migrate account from a server running Zimbra 7.2 to a server running Zimbra 8.0, both OSE. I tried a few accounts, some working flawlessly, other failing with this message:

    Response Message: Could not initialize class com.zimbra.cs.service.formatter.FormatterFactory

    (some other failed due to an upload size too large, which I modified already).

    What does this error mean?

    Regards,

  2. #2
    Join Date
    Oct 2009
    Posts
    22
    Rep Power
    5

    Default

    Very few elements after checking more thoroughly: nothing specific in the logs on the target servers. Everything seems fine on the source server.

    Here is the complete ztozmig.log :

    *****[INFO|ZTOZThread1:12| 11/22/2012 13:22:20]: ************************************************** ********
    *****[INFO|ZTOZThread1:12| 11/22/2012 13:22:20]: Start Logging:
    *****[INFO|ZTOZThread1:12| 11/22/2012 13:22:20]: ************************************************** ********
    *****[INFO|ZTOZThread1:12| 11/22/2012 13:22:20]: Request URL: https://x.y.z:7071/service/admin/soap
    *****[INFO|ZTOZThread1:12| 11/22/2012 13:22:20]: ZIMBRA-ID: 8d54e38c-aea6-4883-bf46-f64db1b9990b
    *****[INFO|ZTOZThread1:12| 11/22/2012 13:22:20]: Starting mailbox (mail@domain.net) download...
    *****[INFO|ZTOZThread1:12| 11/22/2012 13:22:20]: Download URL: https://x.y.z:7071/service/home/mail...7a696d6272613b
    *****[SEVERE|ZTOZThread1:12| 11/22/2012 13:32:50]: Download Finished(/var/zimbra-code/mail@domain.net.tgz): Total KBytes downloaded: 1014466.947
    *****[INFO|ZTOZThread1:12| 11/22/2012 13:32:50]: Finished mailbox (mail@domain.net) download.
    *****[INFO|ZTOZThread1:12| 11/22/2012 13:32:50]: Starting upload (/var/zimbra-code/mail@domain.net.tgz)
    *****[INFO|ZTOZThread1:12| 11/22/2012 13:32:50]: File Upload URL: https://x.y.z:7071/service/home/mail...resolve=modify
    *****[INFO|ZTOZThread1:12| 11/22/2012 13:32:50]: File Path: /var/zimbra-code/mail@domain.net.tgz
    *****[INFO|ZTOZThread1:12| 11/22/2012 13:33:56]: Response Message: Could not initialize class com.zimbra.cs.service.formatter.FormatterFactory
    *****[INFO|ZTOZThread1:12| 11/22/2012 13:33:56]: Upload Error (/var/zimbra-code/mail@domain.net.tgz)
    *****[INFO|ZTOZThread1:12| 11/22/2012 13:33:56]: Total Time Taken (in seconds): 696.327

    And on the target server:

    2012-11-22 13:32:10.869:WARNejs.ServletHandler:Error for /service/home/name@domain.net
    java.lang.NoClassDefFoundError: Could not initialize class com.zimbra.cs.service.formatter.FormatterFactory
    at com.zimbra.cs.service.UserServlet.getFormatter(Use rServlet.java:257)
    at com.zimbra.cs.service.UserServletContext.parsePara ms(UserServletContext.java:202)
    at com.zimbra.cs.service.UserServletContext.<init>(Us erServletContext.java:160)
    at com.zimbra.cs.service.UserServlet.doPost(UserServl et.java:532)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:208)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
    at org.eclipse.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:565)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1361)
    at com.zimbra.common.filters.Base64Filter.doFilter(Ba se64Filter.java:60)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1332)
    at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(Set HeaderFilter.java:57)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1332)
    at org.eclipse.jetty.servlets.UserAgentFilter.doFilte r(UserAgentFilter.java:77)
    at org.eclipse.jetty.servlets.GzipFilter.doFilter(Gzi pFilter.java:218)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1332)
    at org.eclipse.jetty.servlets.DoSFilter.doFilterChain (DoSFilter.java:464)
    at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSF ilter.java:327)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1332)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle( ServletHandler.java:477)
    at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:119)
    at org.eclipse.jetty.security.SecurityHandler.handle( SecurityHandler.java:524)
    at org.eclipse.jetty.server.session.SessionHandler.do Handle(SessionHandler.java:227)
    at org.eclipse.jetty.server.handler.ContextHandler.do Handle(ContextHandler.java:1031)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(S ervletHandler.java:406)
    at org.eclipse.jetty.server.session.SessionHandler.do Scope(SessionHandler.java:186)
    at org.eclipse.jetty.server.handler.ContextHandler.do Scope(ContextHandler.java:965)
    at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:117)
    at org.eclipse.jetty.server.handler.ContextHandlerCol lection.handle(ContextHandlerCollection.java:250)
    at org.eclipse.jetty.server.handler.HandlerCollection .handle(HandlerCollection.java:149)
    at org.eclipse.jetty.server.handler.HandlerWrapper.ha ndle(HandlerWrapper.java:111)
    at org.eclipse.jetty.rewrite.handler.RewriteHandler.h andle(RewriteHandler.java:312)
    at org.eclipse.jetty.server.handler.DebugHandler.hand le(DebugHandler.java:77)
    at org.eclipse.jetty.server.handler.HandlerWrapper.ha ndle(HandlerWrapper.java:111)
    at org.eclipse.jetty.server.Server.handle(Server.java :349)
    at org.eclipse.jetty.server.AbstractHttpConnection.ha ndleRequest(AbstractHttpConnection.java:452)
    at org.eclipse.jetty.server.AbstractHttpConnection.co ntent(AbstractHttpConnection.java:894)
    at org.eclipse.jetty.server.AbstractHttpConnection$Re questHandler.content(AbstractHttpConnection.java:9 48)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpPa rser.java:952)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(H ttpParser.java:230)
    2012-11-22 13:32:10.869:WARNejs.ServletHandler:Error for /service/home/mail@domain.net
    java.lang.NoClassDefFoundError: Could not initialize class com.zimbra.cs.service.formatter.FormatterFactory
    at com.zimbra.cs.service.UserServlet.getFormatter(Use rServlet.java:257)
    at com.zimbra.cs.service.UserServletContext.parsePara ms(UserServletContext.java:202)
    at com.zimbra.cs.service.UserServletContext.<init>(Us erServletContext.java:160)
    at com.zimbra.cs.service.UserServlet.doPost(UserServl et.java:532)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:208)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
    at org.eclipse.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:565)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1361)
    at com.zimbra.common.filters.Base64Filter.doFilter(Ba se64Filter.java:60)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1332)
    at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(Set HeaderFilter.java:57)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1332)
    at org.eclipse.jetty.servlets.UserAgentFilter.doFilte r(UserAgentFilter.java:77)
    at org.eclipse.jetty.servlets.GzipFilter.doFilter(Gzi pFilter.java:218)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1332)
    at org.eclipse.jetty.servlets.DoSFilter.doFilterChain (DoSFilter.java:464)
    at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSF ilter.java:327)
    at org.eclipse.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1332)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle( ServletHandler.java:477)
    at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:119)
    at org.eclipse.jetty.security.SecurityHandler.handle( SecurityHandler.java:524)
    at org.eclipse.jetty.server.session.SessionHandler.do Handle(SessionHandler.java:227)
    at org.eclipse.jetty.server.handler.ContextHandler.do Handle(ContextHandler.java:1031)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(S ervletHandler.java:406)
    at org.eclipse.jetty.server.session.SessionHandler.do Scope(SessionHandler.java:186)
    at org.eclipse.jetty.server.handler.ContextHandler.do Scope(ContextHandler.java:965)
    at org.eclipse.jetty.server.handler.ScopedHandler.han dle(ScopedHandler.java:117)
    at org.eclipse.jetty.server.handler.ContextHandlerCol lection.handle(ContextHandlerCollection.java:250)
    at org.eclipse.jetty.server.handler.HandlerCollection .handle(HandlerCollection.java:149)
    at org.eclipse.jetty.server.handler.HandlerWrapper.ha ndle(HandlerWrapper.java:111)
    at org.eclipse.jetty.rewrite.handler.RewriteHandler.h andle(RewriteHandler.java:312)
    at org.eclipse.jetty.server.handler.DebugHandler.hand le(DebugHandler.java:77)
    at org.eclipse.jetty.server.handler.HandlerWrapper.ha ndle(HandlerWrapper.java:111)
    at org.eclipse.jetty.server.Server.handle(Server.java :349)
    at org.eclipse.jetty.server.AbstractHttpConnection.ha ndleRequest(AbstractHttpConnection.java:452)
    at org.eclipse.jetty.server.AbstractHttpConnection.co ntent(AbstractHttpConnection.java:894)
    at org.eclipse.jetty.server.AbstractHttpConnection$Re questHandler.content(AbstractHttpConnection.java:9 48)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpPa rser.java:952)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(H ttpParser.java:230)
    Last edited by Richelieu; 11-22-2012 at 06:48 AM.

Similar Threads

  1. Replies: 30
    Last Post: 12-09-2010, 04:25 AM
  2. Replies: 2
    Last Post: 08-26-2010, 09:19 AM
  3. Replies: 0
    Last Post: 06-09-2009, 09:53 AM
  4. Replies: 3
    Last Post: 07-07-2008, 12:35 PM
  5. Replies: 0
    Last Post: 01-20-2008, 12:42 PM

Posting Permissions

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