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

Reply via email to