Ok, I fixed that.

Just for other people who can experience something like that in the future.

I had environment variable called $REPO which pointed to my SVN repository.
Which is totally wrong, but it was there, and that's why

we gave run.sh wrong path. So it explains why he couldn't load needed jars.

Thanks Norman for your help, James 3 looks awesome and I am really excited
about using it.

2010/4/9 Max Levinson <[email protected]>

> Hi Norman,
>
> Very weird problem, what I am thinking maybe there is a problem with
> environment variables,because I've set some of them manually when was
> installing Maven and Java,here is what I got in /etc/profile (couple of
> first important lines):
>
> # /etc/profile
> JAVA=""
> export JAVA="sun"
> export JPATH="/usr/java/jdk1.6.0_18/"
> export JAVA_HOME="$JPATH"
> export CLASSPATH="$JPATH/bin"
> export PATH="/home/james/apache-maven-2.2.1/bin:$PATH"
>
> Here is a content of run.sh
>
> #   Copyright (c) 2001-2002 The Apache Software Foundation.  All rights
> #   reserved.
>
> BASEDIR=`dirname $0`/..
> BASEDIR=`(cd "$BASEDIR"; pwd)`
>
> [ -f "$BASEDIR"/bin/setenv.sh ] && . "$BASEDIR"/bin/setenv.sh
>
> # OS specific support.  $var _must_ be set to either true or false.
> cygwin=false;
> darwin=false;
> case "`uname`" in
>   CYGWIN*) cygwin=true ;;
>   Darwin*) darwin=true
>            if [ -z "$JAVA_VERSION" ] ; then
>              JAVA_VERSION="CurrentJDK"
>            else
>              echo "Using Java version: $JAVA_VERSION"
>            fi
>            if [ -z "$JAVA_HOME" ] ; then
>
> JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
>            fi
>            ;;
> esac
>
> if [ -z "$JAVA_HOME" ] ; then
>   if [ -r /etc/gentoo-release ] ; then
>     JAVA_HOME=`java-config --jre-home`
>   fi
> fi
>
> # For Cygwin, ensure paths are in UNIX format before anything is touched
> if $cygwin ; then
>   [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
>   [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
> fi
>
> # If a specific java binary isn't specified search for the standard 'java'
> binary
> if [ -z "$JAVACMD" ] ; then
>   if [ -n "$JAVA_HOME"  ] ; then
>     if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
>       # IBM's JDK on AIX uses strange locations for the executables
>       JAVACMD="$JAVA_HOME/jre/sh/java"
>     else
>       JAVACMD="$JAVA_HOME/bin/java"
>     fi
>   else
>     JAVACMD=`which java`
>   fi
> fi
>
> if [ ! -x "$JAVACMD" ] ; then
>   echo "Error: JAVA_HOME is not defined correctly."
>   echo "  We cannot execute $JAVACMD"
>   exit 1
> fi
>
> if [ -z "$REPO" ]
> then
>   REPO="$BASEDIR"/lib
> fi
>
>
> CLASSPATH=$CLASSPATH_PREFIX:"$BASEDIR"/conf:"$REPO"/james-server-core-api-3.0-M1.jar:"$REPO"/apache-mailet-2.4.jar:"$REPO"/mail-1.4.3.jar:"$REPO"/activation-1.1.1.jar:"$REPO"/commons-configuration-1.6.jar:"$REPO"/commons-collections-3.1.jar:"$REPO"/commons-lang-2.4.jar:"$REPO"/commons-logging-1.1.jar:"$REPO"/spring-core-3.0.0.RELEASE.jar:"$REPO"/spring-asm-3.0.0.RELEASE.jar:"$REPO"/spring-beans-3.0.0.RELEASE.jar:"$REPO"/spring-context-3.0.0.RELEASE.jar:"$REPO"/spring-expression-3.0.0.RELEASE.jar:"$REPO"/camel-core-2.2.0.jar:"$REPO"/commons-logging-api-1.1.jar:"$REPO"/commons-management-1.0.jar:"$REPO"/camel-jms-2.2.0.jar:"$REPO"/camel-spring-2.2.0.jar:"$REPO"/spring-aop-3.0.0.RELEASE.jar:"$REPO"/aopalliance-1.0.jar:"$REPO"/spring-tx-3.0.0.RELEASE.jar:"$REPO"/spring-jms-3.0.0.RELEASE.jar:"$REPO"/geronimo-jms_1.1_spec-1.0.jar:"$REPO"/activemq-camel-5.3.1.jar:"$REPO"/activemq-core-5.3.1.jar:"$REPO"/activeio-core-3.1.2.jar:"$REPO"/geronimo-j2ee-management_1.1_spec-1.0.1.jar:"$REPO"/kahadb-5.3.1.jar:"$REPO"/activemq-protobuf-1.0.jar:"$REPO"/org.osgi.core-4.1.0.jar:"$REPO"/spring-osgi-core-1.2.1.jar:"$REPO"/spring-osgi-io-1.2.1.jar:"$REPO"/geronimo-j2ee-management_1.0_spec-1.0.jar:"$REPO"/oro-2.0.8.jar:"$REPO"/activemq-pool-5.3.1.jar:"$REPO"/geronimo-jta_1.0.1B_spec-1.0.1.jar:"$REPO"/commons-pool-1.2.jar:"$REPO"/xbean-spring-3.6.jar:"$REPO"/spring-orm-3.0.0.RELEASE.jar:"$REPO"/spring-jdbc-3.0.0.RELEASE.jar:"$REPO"/servlet-api-2.4.jar:"$REPO"/log4j-1.2.14.jar:"$REPO"/james-server-mina-socket-3.0-M1.jar:"$REPO"/mina-core-2.0.0-RC1.jar:"$REPO"/slf4j-api-1.5.8.jar:"$REPO"/james-server-domain-api-3.0-M1.jar:"$REPO"/protocols-api-1.0-SNAPSHOT.jar:"$REPO"/james-server-javamail-util-3.0-M1.jar:"$REPO"/james-server-common-util-3.0-M1.jar:"$REPO"/james-server-user-api-3.0-M1.jar:"$REPO"/james-server-core-library-3.0-M1.jar:"$REPO"/apache-mailet-base-1.0.jar:"$REPO"/james-server-management-3.0-M1.jar:"$REPO"/geronimo-annotation_1.0_spec-1.1.jar:"$REPO"/mstor-0.9.9.jar:"$REPO"/xstream-1.2.2.jar:"$REPO"/xpp3_min-1.1.3.4.O.jar:"$REPO"/mx4j-jmx-1.1.1.jar:"$REPO"/james-server-user-library-3.0-M1.jar:"$REPO"/james-server-user-function-3.0-M1.jar:"$REPO"/james-server-smtpserver-3.0-M1.jar:"$REPO"/protocols-smtp-1.0-20100407.113334-48.jar:"$REPO"/commons-codec-1.4.jar:"$REPO"/apache-jspf-0.9.5.jar:"$REPO"/slf4j-log4j12-1.5.8.jar:"$REPO"/james-server-imapserver-3.0-M1.jar:"$REPO"/apache-james-imap-api-0.1-M2-20100408.001704-79.jar:"$REPO"/apache-james-imap-decode-0.1-M2-20100408.001704-78.jar:"$REPO"/commons-io-1.4.jar:"$REPO"/apache-james-imap-message-0.1-M2-20100408.001704-78.jar:"$REPO"/apache-james-imap-mailbox-0.1-M2-20100408.001704-78.jar:"$REPO"/apache-james-imap-torque-0.1-M2-20100408.001704-78.jar:"$REPO"/apache-james-imap-store-0.1-M2-20100408.001704-78.jar:"$REPO"/apache-mime4j-0.6.jar:"$REPO"/torque-runtime-3.3.jar:"$REPO"/commons-beanutils-core-1.7.0.jar:"$REPO"/commons-dbcp-1.2.1.jar:"$REPO"/jcs-1.3.jar:"$REPO"/concurrent-1.3.4.jar:"$REPO"/village-3.3.jar:"$REPO"/xalan-2.7.0.jar:"$REPO"/apache-james-imap-seda-0.1-M2-20100408.001704-76.jar:"$REPO"/runtime-3.3-RC2.jar:"$REPO"/jcs-20030822.182132.jar:"$REPO"/james-server-core-function-3.0-M1.jar:"$REPO"/dnsjava-2.0.7.jar:"$REPO"/james-server-pop3server-3.0-M1.jar:"$REPO"/james-server-fetchmail-3.0-M1.jar:"$REPO"/james-server-spoolmanager-3.0-M1.jar:"$REPO"/apache-jsieve-mailet-0.4-20100408.013318-69.jar:"$REPO"/apache-jsieve-0.4-20100408.013318-69.jar:"$REPO"/james-server-mailets-3.0-M1.jar:"$REPO"/apache-standard-mailets-1.0-20100408.013126-34.jar:"$REPO"/james-server-remotemanager-3.0-M1.jar:"$REPO"/james-server-jcr-store-3.0-M1.jar:"$REPO"/jcr-2.0.jar:"$REPO"/jackrabbit-jcr-rmi-2.0.0.jar:"$REPO"/jackrabbit-jcr-commons-2.0.0.jar:"$REPO"/jackrabbit-core-2.0.0.jar:"$REPO"/jackrabbit-api-2.0.0.jar:"$REPO"/jackrabbit-spi-commons-2.0.0.jar:"$REPO"/jackrabbit-spi-2.0.0.jar:"$REPO"/tika-parsers-0.6.jar:"$REPO"/tika-core-0.6.jar:"$REPO"/commons-compress-1.0.jar:"$REPO"/geronimo-stax-api_1.0_spec-1.0.1.jar:"$REPO"/tagsoup-1.2.jar:"$REPO"/asm-3.1.jar:"$REPO"/metadata-extractor-2.4.0-beta-1.jar:"$REPO"/jcl-over-slf4j-1.5.8.jar:"$REPO"/lucene-core-2.4.1.jar:"$REPO"/derby-10.2.2.0.jar:"$REPO"/apache-james-imap-jpa-0.1-M2-20100408.001704-77.jar:"$REPO"/persistence-api-1.0.2.jar:"$REPO"/openjpa-1.2.1.jar:"$REPO"/serp-1.13.1.jar:"$REPO"/geronimo-jta_1.1_spec-1.1.jar:"$REPO"/geronimo-jpa_3.0_spec-1.0.jar:"$REPO"/apache-james-imap-jcr-0.1-M2-20100408.001704-61.jar:"$REPO"/apache-james-imap-processor-0.1-M2-20100408.001704-78.jar:"$REPO"/james-server-jpa-store-3.0-M1.jar:"$REPO"/james-server-spring-deployment-3.0-M1.jar
> EXTRA_JVM_ARGUMENTS="-Xms128m -Xmx512m"
>
> # For Cygwin, switch paths to Windows format before running java
> if $cygwin; then
>   [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
>   [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
>   [ -n "$HOME" ] && HOME=`cygpath --path --windows "$HOME"`
>   [ -n "$BASEDIR" ] && BASEDIR=`cygpath --path --windows "$BASEDIR"`
>   [ -n "$REPO" ] && REPO=`cygpath --path --windows "$REPO"`
> fi
>
> exec "$JAVACMD" $JAVA_OPTS \
>   $EXTRA_JVM_ARGUMENTS \
>   -classpath "$CLASSPATH" \
>   -Dapp.name="run.sh" \
>
>   -Dapp.pid="$$" \
>   -Dapp.repo="$REPO" \
>   -Dbasedir="$BASEDIR" \
>   org.apache.james.container.spring.Main \
>   "$@"
>
>
> 2010/4/9 Norman Maurer <[email protected]>
>
> Hi Max,
>>
>> whatever I try I can't reproduce your problem. Could you poste your
>> content of the run.sh script ?
>>
>> Thx,
>> Norman
>>
>>
>> 2010/4/8 Max Levinson <[email protected]>:
>> > Hi Norman,
>> >
>> > Yes of course, I was starting run.sh from
>> >
>> >
>> /home/james/trunk/spring-deployment/target/james-server-spring-deployment-3.0-M1/bin
>> >
>> > Here is what I have
>> > in
>> /home/james/trunk/spring-deployment/target/james-server-spring-deployment-3.0-M1/lib/
>> >
>> > activation-1.1.1.jar
>> > activeio-core-3.1.2.jar
>> > activemq-camel-5.3.1.jar
>> > activemq-core-5.3.1.jar
>> > activemq-pool-5.3.1.jar
>> > activemq-protobuf-1.0.jar
>> > aopalliance-1.0.jar
>> > apache-james-imap-api-0.1-M2-20100408.001704-79.jar
>> > apache-james-imap-decode-0.1-M2-20100408.001704-78.jar
>> > apache-james-imap-jcr-0.1-M2-20100408.001704-61.jar
>> > apache-james-imap-jpa-0.1-M2-20100408.001704-77.jar
>> > apache-james-imap-mailbox-0.1-M2-20100408.001704-78.jar
>> > apache-james-imap-message-0.1-M2-20100408.001704-78.jar
>> > apache-james-imap-processor-0.1-M2-20100408.001704-78.jar
>> > apache-james-imap-seda-0.1-M2-20100408.001704-76.jar
>> > apache-james-imap-store-0.1-M2-20100408.001704-78.jar
>> > apache-james-imap-torque-0.1-M2-20100408.001704-78.jar
>> > apache-jsieve-0.4-20100408.013318-69.jar
>> > apache-jsieve-mailet-0.4-20100408.013318-69.jar
>> > apache-jspf-0.9.5.jar
>> > apache-mailet-2.4.jar
>> > apache-mailet-base-1.0.jar
>> > apache-mime4j-0.6.jar
>> > apache-standard-mailets-1.0-20100408.013126-34.jar
>> > asm-3.1.jar
>> > camel-core-2.2.0.jar
>> > camel-jms-2.2.0.jar
>> > camel-spring-2.2.0.jar
>> > commons-beanutils-core-1.7.0.jar
>> > commons-codec-1.4.jar
>> > commons-collections-3.1.jar
>> > commons-compress-1.0.jar
>> > commons-configuration-1.6.jar
>> > commons-dbcp-1.2.1.jar
>> > commons-io-1.4.jar
>> > commons-lang-2.4.jar
>> > commons-logging-1.1.jar
>> > commons-logging-api-1.1.jar
>> > commons-management-1.0.jar
>> > commons-pool-1.2.jar
>> > concurrent-1.3.4.jar
>> > derby-10.2.2.0.jar
>> > dnsjava-2.0.7.jar
>> > geronimo-annotation_1.0_spec-1.1.jar
>> > geronimo-j2ee-management_1.0_spec-1.0.jar
>> > geronimo-j2ee-management_1.1_spec-1.0.1.jar
>> > geronimo-jms_1.1_spec-1.0.jar
>> > geronimo-jpa_3.0_spec-1.0.jar
>> > geronimo-jta_1.0.1B_spec-1.0.1.jar
>> > geronimo-jta_1.1_spec-1.1.jar
>> > geronimo-stax-api_1.0_spec-1.0.1.jar
>> > jackrabbit-api-2.0.0.jar
>> > jackrabbit-core-2.0.0.jar
>> > jackrabbit-jcr-commons-2.0.0.jar
>> > jackrabbit-jcr-rmi-2.0.0.jar
>> > jackrabbit-spi-2.0.0.jar
>> > jackrabbit-spi-commons-2.0.0.jar
>> > james-server-common-util-3.0-M1.jar
>> > james-server-core-api-3.0-M1.jar
>> > james-server-core-function-3.0-M1.jar
>> > james-server-core-library-3.0-M1.jar
>> > james-server-domain-api-3.0-M1.jar
>> > james-server-fetchmail-3.0-M1.jar
>> > james-server-imapserver-3.0-M1.jar
>> > james-server-javamail-util-3.0-M1.jar
>> > james-server-jcr-store-3.0-M1.jar
>> > james-server-jpa-store-3.0-M1.jar
>> > james-server-mailets-3.0-M1.jar
>> > james-server-management-3.0-M1.jar
>> > james-server-mina-socket-3.0-M1.jar
>> > james-server-pop3server-3.0-M1.jar
>> > james-server-remotemanager-3.0-M1.jar
>> > james-server-smtpserver-3.0-M1.jar
>> > james-server-spoolmanager-3.0-M1.jar
>> > james-server-spring-deployment-3.0-M1.jar
>> > james-server-user-api-3.0-M1.jar
>> > james-server-user-function-3.0-M1.jar
>> > james-server-user-library-3.0-M1.jar
>> > jcl-over-slf4j-1.5.8.jar
>> > jcr-2.0.jar
>> > jcs-1.3.jar
>> > jcs-20030822.182132.jar
>> > kahadb-5.3.1.jar
>> > log4j-1.2.14.jar
>> > lucene-core-2.4.1.jar
>> > mail-1.4.3.jar
>> > metadata-extractor-2.4.0-beta-1.jar
>> > mina-core-2.0.0-RC1.jar
>> > mstor-0.9.9.jar
>> > mx4j-jmx-1.1.1.jar
>> > openjpa-1.2.1.jar
>> > org.osgi.core-4.1.0.jar
>> > oro-2.0.8.jar
>> > persistence-api-1.0.2.jar
>> > protocols-api-1.0-SNAPSHOT.jar
>> > protocols-smtp-1.0-20100407.113334-48.jar
>> > runtime-3.3-RC2.jar
>> > serp-1.13.1.jar
>> > servlet-api-2.4.jar
>> > slf4j-api-1.5.8.jar
>> > slf4j-log4j12-1.5.8.jar
>> > spring-aop-3.0.0.RELEASE.jar
>> > spring-asm-3.0.0.RELEASE.jar
>> > spring-beans-3.0.0.RELEASE.jar
>> > spring-context-3.0.0.RELEASE.jar
>> > spring-core-3.0.0.RELEASE.jar
>> > spring-expression-3.0.0.RELEASE.jar
>> > spring-jdbc-3.0.0.RELEASE.jar
>> > spring-jms-3.0.0.RELEASE.jar
>> > spring-orm-3.0.0.RELEASE.jar
>> > spring-osgi-core-1.2.1.jar
>> > spring-osgi-io-1.2.1.jar
>> > spring-tx-3.0.0.RELEASE.jar
>> > tagsoup-1.2.jar
>> > tika-core-0.6.jar
>> > tika-parsers-0.6.jar
>> > torque-runtime-3.3.jar
>> > village-3.3.jar
>> > xalan-2.7.0.jar
>> > xbean-spring-3.6.jar
>> > xpp3_min-1.1.3.4.O.jar
>> > xstream-1.2.2.jar
>> >
>> > 2010/4/8 Norman Maurer <[email protected]>
>> >
>> >> Hi Max,
>> >>
>> >> did you change to dir
>> >>
>> >>
>> /home/james/trunk/spring-deployment/target/james-server-spring-deployment-3.0-M1/bin
>> >> first ?
>> >>
>> >> Could you show me the output of "ls -1
>> >>
>> >>
>> /home/james/trunk/spring-deployment/target/james-server-spring-deployment-3.0-M1/lib/*"
>> >> ?
>> >>
>> >> Thx,
>> >> Norman
>> >>
>> >> 2010/4/8 Max Levinson <[email protected]>:
>> >> > Hi guys, I am still struggling with this.
>> >> >
>> >> > Checked out again, and still getting the same error.
>> >> >
>> >> > 2010/4/8 Max Levinson <[email protected]>
>> >> >
>> >> >> Hi Norman,
>> >> >>
>> >> >> Thanks for your help, I did exactly what you've said.
>> >> >>
>> >> >> Untar the Gzip file with James binary
>> >> >>
>> >> >> and was trying to execute run.sh here:
>> >> >>
>> >> >>
>> >> >>
>> >>
>> /home/james/trunk/spring-deployment/target/james-server-spring-deployment-3.0-M1/bin
>> >> >>
>> >> >> But getting the same error:
>> >> >>
>> >> >> Exception in thread "main" java.lang.NoClassDefFoundError:
>> >> >> org/apache/james/container/spring/Main
>> >> >> Caused by: java.lang.ClassNotFoundException:
>> >> >> org.apache.james.container.spring.Main
>> >> >>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>> >> >>         at java.security.AccessController.doPrivileged(Native
>> Method)
>> >> >>         at
>> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>> >> >>         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> >> >>         at
>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>> >> >>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>> >> >> Could not find the main class:
>> org.apache.james.container.spring.Main.
>> >> >>  Program will exit.
>> >> >>
>> >> >> I thought that maybe something got cached during the first
>> start(when I
>> >> >> started run.sh from wrong place), so what I've done, I wiped out all
>> >> files,
>> >> >> checked out from trunk again, done everything from scratch, untar
>> >> everything
>> >> >> and tried to execute it from the same place which you recommended,
>> same
>> >> >> error for some reason.
>> >> >>
>> >> >> Any thoughts?
>> >> >>
>> >> >>
>> >> >>
>> >> >> 2010/4/7 Norman Maurer <[email protected]>
>> >> >>
>> >> >>> Hi Max,
>> >> >>>
>> >> >>> tthe files in appassembler are just a "left-over" of the build. You
>> >> >>> need to unpack the tar.gz. So just do:
>> >> >>>
>> >> >>> # tar xfvz
>> >> >>>
>> >>
>> path/to/james-src/spring-deployment/target/james-server-spring-deployment-3.0-M1-bin.tar.gz
>> >> >>> # cd /james-server-spring-deployment-3.0-M1/bin
>> >> >>> # ./run.sh
>> >> >>>
>> >> >>> Bye,
>> >> >>> Nomrna
>> >> >>>
>> >> >>> 2010/4/7 Max Levinson <[email protected]>:
>> >> >>> > It seems it went well.
>> >> >>> >
>> >> >>> > After that I went to spring-deployment/target/appassembler/bin
>> >> >>> >
>> >> >>> > and tried to run run.sh
>> >> >>> >
>> >> >>> > Here is what I've got:
>> >> >>> >
>> >> >>> > Exception in thread "main" java.lang.NoClassDefFoundError:
>> >> >>> > org/apache/james/container/spring/Main
>> >> >>> > Caused by: java.lang.ClassNotFoundException:
>> >> >>> > org.apache.james.container.spring.Main
>> >> >>> >        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>> >> >>> >        at java.security.AccessController.doPrivileged(Native
>> Method)
>> >> >>> >        at
>> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>> >> >>> >        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> >> >>> >        at
>> >> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>> >> >>> >        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>> >> >>> > Could not find the main class:
>> >> org.apache.james.container.spring.Main.
>> >> >>> >  Program will exit.
>> >> >>> >
>> >> >>> > Thanks for fixing first issue.
>> >> >>> >
>> >> >>> > 2010/4/7 Norman Maurer <[email protected]>
>> >> >>> >
>> >> >>> >> Hi Max,
>> >> >>> >>
>> >> >>> >> this should be fixed some hours ago. Could you do an "svn up"
>> and
>> >> try
>> >> >>> again
>> >> >>> >> ?
>> >> >>> >>
>> >> >>> >> Thx,
>> >> >>> >> Norman
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> 2010/4/7 Max Levinson <[email protected]>:
>> >> >>> >> > Hi guys,
>> >> >>> >> >
>> >> >>> >> > I am trying to build James trunk on CentOS:
>> >> >>> >> >
>> >> >>> >> > I just checked out from SVN as was recommended:
>> >> >>> >> >
>> >> >>> >> > *svn co http://svn.apache.org/repos/asf/james/server/trunk*
>> >> >>> >> >
>> >> >>> >> > *mvn clean package*
>> >> >>> >> >
>> >> >>> >> > As you can see at the bottom, build failed. Can anyone help?
>> What
>> >> >>> went
>> >> >>> >> > wrong?
>> >> >>> >> >
>> >> >>> >> > Here is info about my system and tools used:
>> >> >>> >> >
>> >> >>> >> > *uname -a*
>> >> >>> >> > Linux fleetwood 2.6.18-53.el5 #1 SMP Mon Nov 12 02:22:48 EST
>> 2007
>> >> >>> i686
>> >> >>> >> i686
>> >> >>> >> > i386 GNU/Linux
>> >> >>> >> > *java -version*
>> >> >>> >> > java version "1.6.0_18"
>> >> >>> >> > Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
>> >> >>> >> > Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)
>> >> >>> >> >
>> >> >>> >> > *mvn -version*
>> >> >>> >> > Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100)
>> >> >>> >> > Java version: 1.6.0_18
>> >> >>> >> > Java home: /usr/java/jdk1.6.0_18/jre
>> >> >>> >> > Default locale: ru_RU, platform encoding: UTF-8
>> >> >>> >> > OS name: "linux" version: "2.6.18-53.el5" arch: "i386" Family:
>> >> "unix"
>> >> >>> >> >
>> >> >>> >> > ERROR LOG:
>> >> >>> >> >
>> >> >>> >> > Tests run: 63, Failures: 0, Errors: 0, Skipped: 0
>> >> >>> >> >
>> >> >>> >> > [INFO] [jar:jar {execution: default-jar}]
>> >> >>> >> > [INFO] Building jar:
>> >> >>> >> >
>> >> >>>
>> /home/james/trunk/smtpserver/target/james-server-smtpserver-3.0-M1.jar
>> >> >>> >> > [INFO] [jar:test-jar {execution: default}]
>> >> >>> >> > [INFO] Building jar:
>> >> >>> >> >
>> >> >>> >>
>> >> >>>
>> >>
>> /home/james/trunk/smtpserver/target/james-server-smtpserver-3.0-M1-tests.jar
>> >> >>> >> > [INFO]
>> >> >>> >> >
>> >> >>>
>> >>
>> ------------------------------------------------------------------------
>> >> >>> >> > [INFO] Building Apache JAMES Server POP3
>> >> >>> >> > [INFO]    task-segment: [clean, package]
>> >> >>> >> > [INFO]
>> >> >>> >> >
>> >> >>>
>> >>
>> ------------------------------------------------------------------------
>> >> >>> >> > [INFO] [clean:clean {execution: default-clean}]
>> >> >>> >> > [INFO] [remote-resources:process {execution: default}]
>> >> >>> >> > [INFO] snapshot
>> >> >>> >> org.apache.james:apache-james-imap-memory:0.1-M2-SNAPSHOT:
>> >> >>> >> > checking for updates from module-local
>> >> >>> >> > [INFO] snapshot
>> >> >>> >> org.apache.james:apache-james-imap-memory:0.1-M2-SNAPSHOT:
>> >> >>> >> > checking for updates from maven2-repository.dev.java.net
>> >> >>> >> > [INFO] snapshot
>> >> >>> >> org.apache.james:apache-james-imap-memory:0.1-M2-SNAPSHOT:
>> >> >>> >> > checking for updates from maven1-repository.dev.java.net
>> >> >>> >> > [INFO] snapshot
>> >> >>> >> org.apache.james:apache-james-imap-memory:0.1-M2-SNAPSHOT:
>> >> >>> >> > checking for updates from apache.snapshots
>> >> >>> >> > Downloading:
>> >> >>> >> >
>> >> >>> >>
>> >> >>>
>> >>
>> http://repository.apache.org/snapshots/org/apache/james/apache-james-imap-memory/0.1-M2-SNAPSHOT/apache-james-imap-memory-0.1-M2-20100407.003228-74.pom
>> >> >>> >> > 2K downloaded
>> >> >>>  (apache-james-imap-memory-0.1-M2-20100407.003228-74.pom)
>> >> >>> >> > Downloading:
>> >> >>> >> >
>> >> >>> >>
>> >> >>>
>> >>
>> http://repository.apache.org/snapshots/org/apache/james/apache-james-imap-memory/0.1-M2-SNAPSHOT/apache-james-imap-memory-0.1-M2-20100407.003228-74.jar
>> >> >>> >> > 23K downloaded
>> >> >>>  (apache-james-imap-memory-0.1-M2-20100407.003228-74.jar)
>> >> >>> >> > [INFO] [resources:resources {execution: default-resources}]
>> >> >>> >> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> >> >>> >> > [INFO] Copying 0 resource
>> >> >>> >> > [INFO] Copying 3 resources
>> >> >>> >> > [INFO] [compiler:compile {execution: default-compile}]
>> >> >>> >> > [INFO] Compiling 27 source files to
>> >> >>> >> > /home/james/trunk/pop3server/target/classes
>> >> >>> >> > [INFO] [resources:testResources {execution:
>> >> default-testResources}]
>> >> >>> >> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> >> >>> >> > [INFO] Copying 0 resource
>> >> >>> >> > [INFO] Copying 3 resources
>> >> >>> >> > [INFO] [compiler:testCompile {execution: default-testCompile}]
>> >> >>> >> > [INFO] Compiling 2 source files to
>> >> >>> >> > /home/james/trunk/pop3server/target/test-classes
>> >> >>> >> > [INFO]
>> >> >>> >> >
>> >> >>>
>> >>
>> ------------------------------------------------------------------------
>> >> >>> >> > [ERROR] BUILD FAILURE
>> >> >>> >> > [INFO]
>> >> >>> >> >
>> >> >>>
>> >>
>> ------------------------------------------------------------------------
>> >> >>> >> > [INFO] Compilation failure
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >>
>> >> >>>
>> >>
>> /home/james/trunk/pop3server/src/test/java/org/apache/james/pop3server/AsyncPOP3ServerTest.java:[425,15]
>> >> >>> >> >
>> >> >>> >>
>> >> >>>
>> >>
>> appendMessage(java.io.InputStream,java.util.Date,org.apache.james.imap.mailbox.MailboxSession,boolean,javax.mail.Flags)
>> >> >>> >> > in org.apache.james.imap.mailbox.Mailbox cannot be applied to
>> >> >>> >> >
>> >> >>> >>
>> >> >>>
>> >>
>> (byte[],java.util.Date,org.apache.james.imap.mailbox.MailboxSession,boolean,javax.mail.Flags)
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >>
>> >> >>>
>> >>
>> /home/james/trunk/pop3server/src/test/java/org/apache/james/pop3server/AsyncPOP3ServerTest.java:[427,15]
>> >> >>> >> >
>> >> >>> >>
>> >> >>>
>> >>
>> appendMessage(java.io.InputStream,java.util.Date,org.apache.james.imap.mailbox.MailboxSession,boolean,javax.mail.Flags)
>> >> >>> >> > in org.apache.james.imap.mailbox.Mailbox cannot be applied to
>> >> >>> >> >
>> >> >>> >>
>> >> >>>
>> >>
>> (byte[],java.util.Date,org.apache.james.imap.mailbox.MailboxSession,boolean,javax.mail.Flags)
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >> > [INFO]
>> >> >>> >> >
>> >> >>>
>> >>
>> ------------------------------------------------------------------------
>> >> >>> >> > [INFO] For more information, run Maven with the -e switch
>> >> >>> >> > [INFO]
>> >> >>> >> >
>> >> >>>
>> >>
>> ------------------------------------------------------------------------
>> >> >>> >> > [INFO] Total time: 4 minutes 11 seconds
>> >> >>> >> > [INFO] Finished at: Wed Apr 07 16:54:09 BST 2010
>> >> >>> >> > [INFO] Final Memory: 98M/263M
>> >> >>> >> > [INFO]
>> >> >>> >> >
>> >> >>>
>> >>
>> ------------------------------------------------------------------------
>> >> >>> >> >
>> >> >>> >>
>> >> >>> >>
>> >> ---------------------------------------------------------------------
>> >> >>> >> To unsubscribe, e-mail:
>> [email protected]
>> >> >>> >> For additional commands, e-mail:
>> [email protected]
>> >> >>> >>
>> >> >>> >>
>> >> >>> >
>> >> >>>
>> >> >>>
>> ---------------------------------------------------------------------
>> >> >>> To unsubscribe, e-mail: [email protected]
>> >> >>> For additional commands, e-mail: [email protected]
>> >> >>>
>> >> >>>
>> >> >>
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [email protected]
>> >> For additional commands, e-mail: [email protected]
>> >>
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>

Reply via email to