Thursday, February 13, 2014

Running Hupa in Development Mode

In my attempt to run hupa in Development  mode I receive the following
error. 

The application was stuck in loading, although it can get into the Mail page
(I can see the number of mails in INBOX and Trash...But the loading message showing in the middle)
 

Could anyone provide some direction as to what may be going on here?


//// log start here
Loading modules
   org.apache.hupa.HupaProd
      Validating <servlet> tags for module 'hupa'
         [WARN] Module declares a servlet class 'com.google.gwt.gen2.logging.server.RemoteLoggingService', but the web.xml has no corresponding declaration; please add the following lines to your web.xml:
<servlet>
  <servlet-name>remoteLoggingService</servlet-name>
  <servlet-class>com.google.gwt.gen2.logging.server.RemoteLoggingService</servlet-class>
</servlet>
<servlet-mapping>
  <servlet-name>remoteLoggingService</servlet-name>
  <url-pattern>/hupa/logging</url-pattern>
</servlet-mapping>
   org.apache.hupa.Hupa
      Validating <servlet> tags for module 'hupa'
         [WARN] Module declares a servlet class 'com.google.gwt.gen2.logging.server.RemoteLoggingService', but the web.xml has no corresponding declaration; please add the following lines to your web.xml:
<servlet>
  <servlet-name>remoteLoggingService</servlet-name>
  <servlet-class>com.google.gwt.gen2.logging.server.RemoteLoggingService</servlet-class>
</servlet>
<servlet-mapping>
  <servlet-name>remoteLoggingService</servlet-name>
  <url-pattern>/hupa/logging</url-pattern>
</servlet-mapping>
[WARN] Server class 'org.apache.hupa.server.mock.MockConstants' could not be found in the web app, but was found on the system classpath
   [WARN] Adding classpath entry 'file:/D:/Harry.Lin/java/workspace/hupa-parent-0.0.2/mock/target/classes/' to the web app classpath for this session
0    [main] INFO  HupaLogger  - >> Started HUPA with configuration -> {IMAPS=true, SMTPAuth=true, IMAPServerPort=993, IMAPServerAddress=imap.gmail.com, TrustStore=, SMTPServerPort=465, DefaultTrashFolder=[Gmail]/Trash, SMTPServerAddress=smtp.gmail.com, DefaultInboxFolder=INBOX, SMTPS=true, DefaultDraftsFolder=[Gmail]/Drafts, PostFetchMessageCount=0, DefaultSentFolder=[Gmail]/Sent, IMAPConnectionPoolSize=4, IMAPConnectionPoolTimeout=300000, TrustStorePassword=, SessionDebug=true}
60   [main] INFO  gwtupload.server.UploadServlet  - UPLOAD-SERVLET init: maxSize=10485760, slowUploads=null, isAppEngine=false
61   [main] INFO  gwtupload.server.UploadServlet  - UPLOAD-ACTION init: removeSessionFiles=false, removeData=false
[WARN] Server class 'junit.framework.AssertionFailedError' could not be found in the web app, but was found on the system classpath
   [WARN] Adding classpath entry 'file:/C:/Users/kirin/.m2/repository/junit/junit/4.9/junit-4.9.jar' to the web app classpath for this session
111461 [btpool0-3] INFO  HupaLogger  - HupaDispatchServlet: executing: CheckSession
111475 [btpool0-3] INFO  HupaLogger  - HupaDispatchServlet: finished: CheckSession
133238 [btpool0-3] INFO  HupaLogger  - HupaDispatchServlet: executing: LoginUser
136221 [btpool0-3] INFO  HupaLogger  - HupaDispatchServlet: finished: LoginUser
java.lang.RuntimeException
    at org.apache.hupa.client.CachingDispatchAsync.executeOneRequestPerAction(CachingDispatchAsync.java:87)
    at org.apache.hupa.client.CachingDispatchAsync.execute(CachingDispatchAsync.java:67)
    at org.apache.hupa.client.mvp.MessageTableModel.requestRows(MessageTableModel.java:120)
    at com.google.gwt.gen2.table.client.CachedTableModel.requestRows(CachedTableModel.java:321)
    at com.google.gwt.gen2.table.client.PagingScrollTable.gotoPage(PagingScrollTable.java:732)
    at org.apache.hupa.client.mvp.IMAPMessageListView.reset(IMAPMessageListView.java:477)
    at org.apache.hupa.client.mvp.IMAPMessageListPresenter.revealDisplay(IMAPMessageListPresenter.java:421)
    at org.apache.hupa.client.mvp.MainPresenter.showMessageTable(MainPresenter.java:233)
    at org.apache.hupa.client.mvp.MainPresenter.access$5(MainPresenter.java:227)
    at org.apache.hupa.client.mvp.MainPresenter$23.onLogin(MainPresenter.java:484)
    at org.apache.hupa.shared.events.LoginEvent.dispatch(LoginEvent.java:46)
    at org.apache.hupa.shared.events.LoginEvent.dispatch(LoginEvent.java:1)
    at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
    at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
    at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
    at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
    at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127)
    at org.apache.hupa.client.mvp.LoginPresenter$1.callback(LoginPresenter.java:84)
    at org.apache.hupa.client.mvp.LoginPresenter$1.callback(LoginPresenter.java:1)
    at org.apache.hupa.client.HupaCallback.onSuccess(HupaCallback.java:103)
    at org.apache.hupa.client.CachingDispatchAsync$1.onSuccess(CachingDispatchAsync.java:96)
    at org.apache.hupa.client.CachingDispatchAsync$1.onSuccess(CachingDispatchAsync.java:1)
    at net.customware.gwt.dispatch.client.AbstractDispatchAsync.onSuccess(AbstractDispatchAsync.java:31)
    at net.customware.gwt.dispatch.client.standard.StandardDispatchAsync.access$1(StandardDispatchAsync.java:1)
    at net.customware.gwt.dispatch.client.standard.StandardDispatchAsync$1.onSuccess(StandardDispatchAsync.java:34)
    at net.customware.gwt.dispatch.client.standard.StandardDispatchAsync$1.onSuccess(StandardDispatchAsync.java:1)
    at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232)
    at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
    at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
    at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
    at java.lang.Thread.run(Unknown Source)
ATTENTION: avoiding a parallel execution of the action: org.apache.hupa.shared.rpc.FetchMessages
java.lang.RuntimeException
    at org.apache.hupa.client.CachingDispatchAsync.executeOneRequestPerAction(CachingDispatchAsync.java:81)
    at org.apache.hupa.client.CachingDispatchAsync.execute(CachingDispatchAsync.java:67)
    at org.apache.hupa.client.mvp.MessageTableModel.requestRows(MessageTableModel.java:120)
    at com.google.gwt.gen2.table.client.CachedTableModel.requestRows(CachedTableModel.java:321)
    at com.google.gwt.gen2.table.client.PagingScrollTable.gotoPage(PagingScrollTable.java:732)
    at com.google.gwt.gen2.table.client.PagingScrollTable.reloadPage(PagingScrollTable.java:815)
    at org.apache.hupa.client.mvp.IMAPMessageListView.reloadData(IMAPMessageListView.java:466)
    at org.apache.hupa.client.mvp.IMAPMessageListPresenter.onRevealDisplay(IMAPMessageListPresenter.java:408)
    at net.customware.gwt.presenter.client.BasicPresenter.revealDisplay(BasicPresenter.java:118)
    at org.apache.hupa.client.mvp.IMAPMessageListPresenter.revealDisplay(IMAPMessageListPresenter.java:429)
    at org.apache.hupa.client.mvp.MainPresenter.showMessageTable(MainPresenter.java:233)
    at org.apache.hupa.client.mvp.MainPresenter.access$5(MainPresenter.java:227)
    at org.apache.hupa.client.mvp.MainPresenter$23.onLogin(MainPresenter.java:484)
    at org.apache.hupa.shared.events.LoginEvent.dispatch(LoginEvent.java:46)
    at org.apache.hupa.shared.events.LoginEvent.dispatch(LoginEvent.java:1)
    at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
    at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
    at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
    at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
    at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127)
    at org.apache.hupa.client.mvp.LoginPresenter$1.callback(LoginPresenter.java:84)
    at org.apache.hupa.client.mvp.LoginPresenter$1.callback(LoginPresenter.java:1)
    at org.apache.hupa.client.HupaCallback.onSuccess(HupaCallback.java:103)
    at org.apache.hupa.client.CachingDispatchAsync$1.onSuccess(CachingDispatchAsync.java:96)
    at org.apache.hupa.client.CachingDispatchAsync$1.onSuccess(CachingDispatchAsync.java:1)
    at net.customware.gwt.dispatch.client.AbstractDispatchAsync.onSuccess(AbstractDispatchAsync.java:31)
    at net.customware.gwt.dispatch.client.standard.StandardDispatchAsync.access$1(StandardDispatchAsync.java:1)
    at net.customware.gwt.dispatch.client.standard.StandardDispatchAsync$1.onSuccess(StandardDispatchAsync.java:34)
    at net.customware.gwt.dispatch.client.standard.StandardDispatchAsync$1.onSuccess(StandardDispatchAsync.java:1)
    at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232)
    at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
    at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
    at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
    at java.lang.Thread.run(Unknown Source)
136459 [btpool0-4] INFO  HupaLogger  - HupaDispatchServlet: executing: FetchFolders
136488 [btpool0-3] INFO  HupaLogger  - HupaDispatchServlet: executing: FetchMessages
148608 [btpool0-3] INFO  HupaLogger  - Returning user preferences of type Hupa-Contacts from imap folder + [Gmail]/Drafts for user linch0520@gmail.com
149378 [btpool0-3] INFO  HupaLogger  - HupaDispatchServlet: finished: FetchMessages
149803 [btpool0-3] INFO  HupaLogger  - HupaDispatchServlet: executing: Contacts
149804 [btpool0-3] INFO  HupaLogger  - HupaDispatchServlet: finished: Contacts
154435 [btpool0-4] INFO  HupaLogger  - HupaDispatchServlet: finished: FetchFolders
286433 [btpool0-2] INFO  HupaLogger  - HupaDispatchServlet: executing: Idle



--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment