Monday, March 3, 2014

Re: Running Hupa in Development Mode

It seems a warning error due to the IDE xml validator. It shouldn't prevent the project to be compiled, so ignore it.

Anyway, I've committed many changes to the trunk, could you see if it compiles for you in command line?

mvn clean package -DskipTests

If so this should lauch the devel mode: 
mvn -am -pl hupa gwt:run


On Fri, Feb 21, 2014 at 2:19 AM, Harry Lin <linch0520@gmail.com> wrote:
I'm working on the trunk :)

By the way, I got a error with the the version i used and this trunk.

In Hupa.gwt.xml file

With <module rename-to='hupa'> tag

it says :
The content of element type "module" must match "(inherits|source|public|super-source|entry-point|
 stylesheet|script|servlet|replace-with|generate-with|define-property|extend-property|set-property|set-
 configuration-property|property-provider|define-linker|add-linker)*".

How can i solve it ?




2014-02-21 6:25 GMT+08:00 Manuel Carrasco Moñino <manolo@apache.org>:
I have  compiled that version without problem.

Anyway we are developing a new version of hupa which a lot of changes,  try to check out last stuff from github and compile it


- Manolo





On Wed, Feb 19, 2014 at 5:15 AM, Harry Lin <linch0520@gmail.com> wrote:

Hi Manuel,
I download Hupa from http://james.apache.org/hupa/ ,
The version is 0.0.2.


Manuel Carrasco於 2014年2月17日星期一UTC+8上午3時58分55秒寫道:
Which version have you checked out?


On Thu, Feb 13, 2014 at 11:43 AM, Harry Lin <linc...@gmail.com> wrote:
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 linc...@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-we...@googlegroups.com.

--
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.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/4JvczZIWeQM/unsubscribe.
To unsubscribe from this group and all its topics, 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.

--
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.

--
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