Re: Problem running James

2013-06-11 Thread Emma Sesmero
Hi Manolo,

I have run what you said, and this is the output I obtained:

emma@emma-K55A:~/apache-james-3.0-beta4/bin$ ldd
/home/emma/apache-james-3.0-beta4/bin/./wrapper-linux-x86-32
linux-gate.so.1 =>  (0xf7727000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76f2000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7549000)
/lib/ld-linux.so.2 (0xf7728000)


Is anything missing?


2013/6/11 Manuel Carrasco Moñino 

> Emma, try to execute this:
>
> # bash -x james start
>
> The last line is the final command the script runs, copy the
> executable execute the ldd command to know whether you have the
> necessary .so libs.
> In may case:
>
> # ldd /msoft/james/apache-james-3.0-beta4/bin/./wrapper-linux-x86-32
> linux-gate.so.1 =>  (0xf77dc000)
> libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf779a000)
> libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf75e7000)
> /lib/ld-linux.so.2 (0xf77dd000)
>
> maybe you don't have a valid libc.so.6
>
>
> - Manolo
>
> On Tue, Jun 11, 2013 at 8:46 PM, Emma Sesmero 
> wrote:
> > Hi,
> >
> > I need help running James. I am working on ubuntu 12.04 and I think I
> have
> > followed the steps in the documentation:
> >
> > 1) I have downloaded the binary code.
> > 2) I have unzip it.
> > 3) I have get into the bin folder, became root and run the following:
> >
> > root@emma-K55A:/home/emma/apache-james-3.0-beta4/bin# ./james start
> > Starting Apache James Server App...
> > root@emma-K55A:/home/emma/apache-james-3.0-beta4/bin# ps -feaww | grep
> james
> > root 11086 10998  0 13:05 pts/300:00:00 grep --color=auto james
> >
> >
> > It does not give me any errors, but it is not running.
> > I have checked the logs and all of them are empty but james-server.log
> that
> > shows this:
> >
> >
> > INFO  12:32:54,420 |
> > org.apache.james.container.spring.context.JamesServerApplicationContext |
> > Refreshing
> >
> org.apache.james.container.spring.context.JamesServerApplicationContext@611353a7
> :
> > startup date [Tue Jun 11 12:32:54 CEST 2013]; root of context hierarchy
> > INFO  12:56:42,758 |
> > org.apache.james.container.spring.context.JamesServerApplicationContext |
> > Refreshing
> >
> org.apache.james.container.spring.context.JamesServerApplicationContext@3bd92abb
> :
> > startup date [Tue Jun 11 12:56:42 CEST 2013]; root of context hierarchy
> > INFO  13:04:58,488 |
> > org.apache.james.container.spring.context.JamesServerApplicationContext |
> > Refreshing
> >
> org.apache.james.container.spring.context.JamesServerApplicationContext@3bd92abb
> :
> > startup date [Tue Jun 11 13:04:58 CEST 2013]; root of context hierarchy
> > INFO  13:16:36,938 |
> > org.apache.james.container.spring.context.JamesServerApplicationContext |
> > Refreshing
> >
> org.apache.james.container.spring.context.JamesServerApplicationContext@3bd92abb
> :
> > startup date [Tue Jun 11 13:16:36 CEST 2013]; root of context hierarchy
> > INFO  13:16:41,630 |
> > org.apache.james.container.spring.context.JamesServerApplicationContext |
> > Refreshing
> >
> org.apache.james.container.spring.context.JamesServerApplicationContext@611353a7
> :
> > startup date [Tue Jun 11 13:16:41 CEST 2013]; root of context hierarchy
> >
> > I have not changed the default configuration, is that the reason? Do I
> need
> > to edit any configuration file to be able to run the server?
> >
> > Thanks in advance.
>
> -
> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
> For additional commands, e-mail: server-dev-h...@james.apache.org
>
>


Re: Problem running James

2013-06-11 Thread Manuel Carrasco Moñino
Emma, try to execute this:

# bash -x james start

The last line is the final command the script runs, copy the
executable execute the ldd command to know whether you have the
necessary .so libs.
In may case:

# ldd /msoft/james/apache-james-3.0-beta4/bin/./wrapper-linux-x86-32
linux-gate.so.1 =>  (0xf77dc000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf779a000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf75e7000)
/lib/ld-linux.so.2 (0xf77dd000)

maybe you don't have a valid libc.so.6


- Manolo

On Tue, Jun 11, 2013 at 8:46 PM, Emma Sesmero  wrote:
> Hi,
>
> I need help running James. I am working on ubuntu 12.04 and I think I have
> followed the steps in the documentation:
>
> 1) I have downloaded the binary code.
> 2) I have unzip it.
> 3) I have get into the bin folder, became root and run the following:
>
> root@emma-K55A:/home/emma/apache-james-3.0-beta4/bin# ./james start
> Starting Apache James Server App...
> root@emma-K55A:/home/emma/apache-james-3.0-beta4/bin# ps -feaww | grep james
> root 11086 10998  0 13:05 pts/300:00:00 grep --color=auto james
>
>
> It does not give me any errors, but it is not running.
> I have checked the logs and all of them are empty but james-server.log that
> shows this:
>
>
> INFO  12:32:54,420 |
> org.apache.james.container.spring.context.JamesServerApplicationContext |
> Refreshing
> org.apache.james.container.spring.context.JamesServerApplicationContext@611353a7:
> startup date [Tue Jun 11 12:32:54 CEST 2013]; root of context hierarchy
> INFO  12:56:42,758 |
> org.apache.james.container.spring.context.JamesServerApplicationContext |
> Refreshing
> org.apache.james.container.spring.context.JamesServerApplicationContext@3bd92abb:
> startup date [Tue Jun 11 12:56:42 CEST 2013]; root of context hierarchy
> INFO  13:04:58,488 |
> org.apache.james.container.spring.context.JamesServerApplicationContext |
> Refreshing
> org.apache.james.container.spring.context.JamesServerApplicationContext@3bd92abb:
> startup date [Tue Jun 11 13:04:58 CEST 2013]; root of context hierarchy
> INFO  13:16:36,938 |
> org.apache.james.container.spring.context.JamesServerApplicationContext |
> Refreshing
> org.apache.james.container.spring.context.JamesServerApplicationContext@3bd92abb:
> startup date [Tue Jun 11 13:16:36 CEST 2013]; root of context hierarchy
> INFO  13:16:41,630 |
> org.apache.james.container.spring.context.JamesServerApplicationContext |
> Refreshing
> org.apache.james.container.spring.context.JamesServerApplicationContext@611353a7:
> startup date [Tue Jun 11 13:16:41 CEST 2013]; root of context hierarchy
>
> I have not changed the default configuration, is that the reason? Do I need
> to edit any configuration file to be able to run the server?
>
> Thanks in advance.

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



Problem running James

2013-06-11 Thread Emma Sesmero
Hi,

I need help running James. I am working on ubuntu 12.04 and I think I have
followed the steps in the documentation:

1) I have downloaded the binary code.
2) I have unzip it.
3) I have get into the bin folder, became root and run the following:

root@emma-K55A:/home/emma/apache-james-3.0-beta4/bin# ./james start
Starting Apache James Server App...
root@emma-K55A:/home/emma/apache-james-3.0-beta4/bin# ps -feaww | grep james
root 11086 10998  0 13:05 pts/300:00:00 grep --color=auto james


It does not give me any errors, but it is not running.
I have checked the logs and all of them are empty but james-server.log that
shows this:


INFO  12:32:54,420 |
org.apache.james.container.spring.context.JamesServerApplicationContext |
Refreshing
org.apache.james.container.spring.context.JamesServerApplicationContext@611353a7:
startup date [Tue Jun 11 12:32:54 CEST 2013]; root of context hierarchy
INFO  12:56:42,758 |
org.apache.james.container.spring.context.JamesServerApplicationContext |
Refreshing
org.apache.james.container.spring.context.JamesServerApplicationContext@3bd92abb:
startup date [Tue Jun 11 12:56:42 CEST 2013]; root of context hierarchy
INFO  13:04:58,488 |
org.apache.james.container.spring.context.JamesServerApplicationContext |
Refreshing
org.apache.james.container.spring.context.JamesServerApplicationContext@3bd92abb:
startup date [Tue Jun 11 13:04:58 CEST 2013]; root of context hierarchy
INFO  13:16:36,938 |
org.apache.james.container.spring.context.JamesServerApplicationContext |
Refreshing
org.apache.james.container.spring.context.JamesServerApplicationContext@3bd92abb:
startup date [Tue Jun 11 13:16:36 CEST 2013]; root of context hierarchy
INFO  13:16:41,630 |
org.apache.james.container.spring.context.JamesServerApplicationContext |
Refreshing
org.apache.james.container.spring.context.JamesServerApplicationContext@611353a7:
startup date [Tue Jun 11 13:16:41 CEST 2013]; root of context hierarchy

I have not changed the default configuration, is that the reason? Do I need
to edit any configuration file to be able to run the server?

Thanks in advance.


Re: Browser reloading related issues in GWT

2013-06-11 Thread Manuel Carrasco Moñino
Before bringing the user to login-activity or any other place, you should
check credentials: make a void request to the server asking for something
(use RF), if the user's session in server-side is correct return ok and in
onSuccess start the activity manager so as it handles the history hash-tag
, otherwise throw an exception so as in client side onFailure is called and
you can bring the user to the login page.

- Manolo


On Tue, Jun 11, 2013 at 11:06 AM, dongxu  wrote:

>  Hi Manolo,
> An issue 
> #46[1]
> email cc-ed you. Also ccing this thread to james-list since, I guess, the
> issue might be useful/helpful/returnable to others who are using GWT.
> I agree with tbroyer's point about how to update the state of Activity
> without coupling both of activities and their places 
> here[2],
> but it seems not working if I reload the browser totally rather than just
> goTo another place. For example, if I push the F5 or Reload button of
> browser, the messages list should perform like Gmail's one that it will
> show loading progress bar then go to the right state what you were looking
> just now.
> May I know how are you coping with such case, that is go to or reload one
> place with one or more STATEs.(seems Hupa is using EventBus, but in Evo the
> main panel's state can not bind to eventBus until the main Activity, which
> forwarded from Login Activity, get started).
>
> Thanks in advance,
> -echo
>
>
>
> [1]
> https://code.google.com/a/apache-extras.org/p/hupa-evo/issues/detail?id=46#c1
> [2]
> http://stackoverflow.com/questions/12073123/gwt-mvp-updating-activity-state-on-place-change/12074549#12074549
>


Re: James administration console - namespace

2013-06-11 Thread Manuel Carrasco Moñino
I like bond because of both: its English definition (something that binds,
fastens, or holds together) and the film.

- Manolo


On Tue, Jun 11, 2013 at 2:12 PM, Emma Sesmero  wrote:

> Great!
> Thanks for your answer.
>
>
> 2013/6/11 Ioan Eugen Stan 
>
> > Hello Emma,
> >
> > When in doubt, look at what was done already and start from there. You
> > have [1] for groupId's and artifactId's. As for packages they should
> > be like:
> >
> > org.apache.james. > conflict with other packages> . I'm going for webadmin, webcli,
> > webgui, gwtadmin, etc. Pick something that has meaning for you. Go
> > wild here :).
> >
> > When I was considering developing an Admin console for James I thought
> > Bond  was a good name (as in James Bond :D) a bit of name humor.
> >
> > Cheers,
> >
> > [1]
> http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.james%22
> >
> > -
> > To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
> > For additional commands, e-mail: server-dev-h...@james.apache.org
> >
> >
>


Re: James administration console - namespace

2013-06-11 Thread Emma Sesmero
Great!
Thanks for your answer.


2013/6/11 Ioan Eugen Stan 

> Hello Emma,
>
> When in doubt, look at what was done already and start from there. You
> have [1] for groupId's and artifactId's. As for packages they should
> be like:
>
> org.apache.james. conflict with other packages> . I'm going for webadmin, webcli,
> webgui, gwtadmin, etc. Pick something that has meaning for you. Go
> wild here :).
>
> When I was considering developing an Admin console for James I thought
> Bond  was a good name (as in James Bond :D) a bit of name humor.
>
> Cheers,
>
> [1] http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.james%22
>
> -
> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
> For additional commands, e-mail: server-dev-h...@james.apache.org
>
>


Re: James administration console - namespace

2013-06-11 Thread Ioan Eugen Stan
Hello Emma,

When in doubt, look at what was done already and start from there. You
have [1] for groupId's and artifactId's. As for packages they should
be like:

org.apache.james. . I'm going for webadmin, webcli,
webgui, gwtadmin, etc. Pick something that has meaning for you. Go
wild here :).

When I was considering developing an Admin console for James I thought
Bond  was a good name (as in James Bond :D) a bit of name humor.

Cheers,

[1] http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.james%22

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



James administration console - namespace

2013-06-11 Thread Emma Sesmero
Hi all,

I am creating the GWT project for the James Administration Console and I
was wondering which might be the namespace I should use for the packages.
Do you have any suggestions?


Build failed in Jenkins: james-server-trunk #3895

2013-06-11 Thread Apache Jenkins Server
See 

--
[...truncated 56 lines...]
[INFO] Apache James :: Karaf :: Features
[INFO] Apache James :: Karaf :: James Server
[INFO] Apache James :: Karaf :: Integration tests
[INFO] 
[INFO] 
[INFO] Building Apache James :: Server 3.0.0-beta5-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ james-server ---
[INFO] Deleting 

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.4:process (default) @ james-server 
---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (jar) @ james-server ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: 

[INFO] [WARNING] JAR will be empty - no content was marked for inclusion!

[INFO] --- maven-jar-plugin:2.4:test-jar (test-jar) @ james-server ---
[INFO] Building jar: 

Jun 11, 2013 10:08:07 AM hudson.maven.ExecutedMojo 
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ james-server ---
Jun 11, 2013 10:08:07 AM hudson.maven.ExecutedMojo 
WARNING: Failed to getClass for org.apache.maven.plugin.source.TestSourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:test-jar (attach-sources) @ james-server 
---
[INFO] 
[INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ 
james-server ---
[INFO] 
[INFO] Installing 
 to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/james/james-server/3.0.0-beta5-SNAPSHOT/james-server-3.0.0-beta5-SNAPSHOT.pom
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ james-server 
---
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/james/james-server/3.0.0-beta5-SNAPSHOT/james-server-3.0.0-beta5-SNAPSHOT-tests.jar
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/james/james-server/3.0.0-beta5-SNAPSHOT/james-server-3.0.0-beta5-SNAPSHOT-site.xml
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.4:process (default) @ james-server 
---
[INFO] [WARNING] JAR will be empty - no content was marked for inclusion!

[INFO] --- maven-jar-plugin:2.4:jar (jar) @ james-server ---
[INFO] [WARNING] JAR will be empty - no content was marked for inclusion!

[INFO] --- maven-jar-plugin:2.4:test-jar (test-jar) @ james-server ---
[WARNING] Artifact 
org.apache.james:james-server:test-jar:tests:3.0.0-beta5-SNAPSHOT already 
attached to project, ignoring duplicate
Jun 11, 2013 10:08:10 AM hudson.maven.ExecutedMojo 
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ james-server ---
Jun 11, 2013 10:08:10 AM hudson.maven.ExecutedMojo 
WARNING: Failed to getClass for org.apache.maven.plugin.source.TestSourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:test-jar (attach-sources) @ james-server 
---
[INFO] [WARNING] Artifact 
org.apache.james:james-server:xml:site:3.0.0-beta5-SNAPSHOT already attached to 
project, ignoring duplicate

[INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ 
james-server ---
[INFO] [INFO] Installing 
 to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/james/james-server/3.0.0-beta5-SNAPSHOT/james-server-3.0.0-beta5-SNAPSHOT.pom

[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ james-server 
---
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/james/james-server/3.0.0-beta5-SNAPSHOT/james-server-3.0.0-beta5-SNAPSHOT-tests.jar
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/james/james-server/3.0.0-beta5-SNAPSHOT/james-server-3.0.0-beta5-SNAPSHOT-site.xml
[INFO] 
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ james-server ---
Downloading: 
https://repository.apache.org/content/repositories/snapshots/org/a

Build failed in Jenkins: james-server-trunk » Apache James :: Server :: Data :: API #3895

2013-06-11 Thread Apache Jenkins Server
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache James :: Server :: Data  :: API 3.0.0-beta5-SNAPSHOT
[INFO] 
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet-api/2.5.1-SNAPSHOT/maven-metadata.xml
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet-api/2.5.1-SNAPSHOT/maven-metadata.xml
 (789 B at 0.9 KB/sec)
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet-api/2.5.1-SNAPSHOT/apache-mailet-api-2.5.1-20130611.040526-152.pom
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet-api/2.5.1-SNAPSHOT/apache-mailet-api-2.5.1-20130611.040526-152.pom
 (2 KB at 3.2 KB/sec)
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet/2.5.1-SNAPSHOT/maven-metadata.xml
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet/2.5.1-SNAPSHOT/maven-metadata.xml
 (823 B at 1.8 KB/sec)
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet/2.5.1-SNAPSHOT/apache-mailet-2.5.1-20130611.040508-153.pom
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet/2.5.1-SNAPSHOT/apache-mailet-2.5.1-20130611.040508-153.pom
 (12 KB at 47.9 KB/sec)
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet-api/2.5.1-SNAPSHOT/apache-mailet-api-2.5.1-20130611.040526-152.jar
Downloaded: 
http://repository.apache.org/snapshots/org/apache/james/apache-mailet-api/2.5.1-SNAPSHOT/apache-mailet-api-2.5.1-20130611.040526-152.jar
 (20 KB at 94.0 KB/sec)
[INFO] [INFO] Deleting 


[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ james-server-data-api 
---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.4:process (default) @ 
james-server-data-api ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
james-server-data-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ 
james-server-data-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to 

[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] No compiler is provided in this environment. Perhaps you are running on 
a JRE rather than a JDK?
[INFO] 1 error
[INFO] -

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



Browser reloading related issues in GWT

2013-06-11 Thread dongxu

Hi Manolo,
An issue #46 
[1] 
email cc-ed you. Also ccing this thread to james-list since, I guess, 
the issue might be useful/helpful/returnable to others who are using GWT.
I agree with tbroyer's point about how to update the state of Activity 
without coupling both of activities and their places here 
[2], 
but it seems not working if I reload the browser totally rather than 
just goTo another place. For example, if I push the F5 or Reload button 
of browser, the messages list should perform like Gmail's one that it 
will show loading progress bar then go to the right state what you were 
looking just now.
May I know how are you coping with such case, that is go to or reload 
one place with one or more STATEs.(seems Hupa is using EventBus, but in 
Evo the main panel's state can not bind to eventBus until the main 
Activity, which forwarded from Login Activity, get started).


Thanks in advance,
-echo



[1] 
https://code.google.com/a/apache-extras.org/p/hupa-evo/issues/detail?id=46#c1
[2] 
http://stackoverflow.com/questions/12073123/gwt-mvp-updating-activity-state-on-place-change/12074549#12074549