Can someone please point me in the right direction ?

Megha Agarval wrote:
Hi Joerg,

Thanks for the reply.

I could solve the problem by copying all the jar files from

/james/trunk/spring-deployment/target/james-server-spring-deployment-3.0-SNAPSHOT/lib/*.jar

to

/james/trunk/dist/james-server-3.0-SNAPSHOT/downloads/bin/james-server-3.0-SNAPSHOT/lib


Now SMTP and POP are working fine with the default configurations.

For IMAP support I made the following changes to config.xml:

1. Commented the default inbox repository:
    <!--
    <inboxRepository>
<repository destinationURL="dbfile://maildb/inbox/" type="MAIL"/>
          </inboxRepository>
    -->

2. Uncommented the IMAP repository:

     <inboxRepository>
             <repository destinationURL="mailboxmanager://#mail/"
postfix=".INBOX" translateDelimiters="true" type="MAIL" />
          </inboxRepository>

Now on running James all services seem to start on the required ports.

But on trying to access mails through POP3 I get the following error in thunderbird:

"Sending of password did not succeed. Mailserver localhost responded Unexpected error Accessing Mailbox'

Accessing mail through IMAP the following error:

"The current command did not succeed. The mail server responded Select Processing Failed"

Any help will be appreciated.

Thanks,
Megha


 >Hi,
 >
 >this seems to be a bug in the current trunk.
>Since the last revision committed to James trunk to date is 699674, >updating your \
 >sources won't change anything.
 >
>I'd suggest reporting this as a bug, to make sure that james developers >get fast \
 >feedback and have a fair chance to fix this early.
 >
>The bug reporting page for James is here (select JAMES Server in the >project list) >https://issues.apache.org/jira/secure/CreateIssue!default.jspa
 >
 >If you don't have a bugtracker account yet, you can register here:
 >    https://issues.apache.org/jira/secure/Signup!default.jspa
 >
 >--Jörg



 >>
 >> Hello,
 >>
 >> I checked out the latest version of james from the repository >(version
 >> 700001). I have been able to build it but while running it I got the
 >> following error:
 >>
>> java.lang.NoClassDefFoundError: >org/apache/james/api/imap/ImapConstants
 >>
 >> I have checked the class ImapConstants. It is located in 2 jars:
 >>
 >> /james/trunk> grepzip ImapConstants.class
 >>
 >> org/apache/james/api/imap/ImapConstants.class
>> >../spring-deployment/target/james-server-spring-deployment-3.0-SNAPSHOT/lib/apache-j >\
 >> ames-imap-api-0.1-SNAPSHOT.jar
 >> org/apache/james/api/imap/ImapConstants.class
 >> ../stage/org.apache.james/jars/apache-james-imap-api-0.1-SNAPSHOT.jar
 >>
>> So I tried to start running James with the classpath set to these 2 >jars
 >> in phonix.sh:
 >>
 >> '/share/java/jdk/1.5.0_13/bin/java -classpath
>> >/home/megha/james_29th/trunk/stage/org.apache.james/jars/apache-james-imap-api-0.1-S >/ >> >NAPSHOT.jar;/home/megha/james_29th/trunk/spring-deployment/target/james-server-sprin >\ >> g-deployment-3.0-SNAPSHOT/lib/apache-james-imap-api-0.1-SNAPSHOT.jar >Â Â Â ... '
 >>
 >> But without luck, I still get the NoClassDefFoundException:
 >>
 >>
 >> There was an uncaught exception:
 >> ---------------------------------------------------------
 >> --- Message ---
 >> org/apache/james/api/imap/ImapConstants
 >> --- Stack Trace ---
>> java.lang.NoClassDefFoundError: >org/apache/james/api/imap/ImapConstants
 >> Â  Â  Â  Â  Â at java.lang.ClassLoader.defineClass1(Native Method)
>> Â Â Â Â Â at >java.lang.ClassLoader.defineClass(ClassLoader.java:620)
 >> Â  Â  Â  Â  Â at
>> >java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) >> Â Â Â Â Â at >java.net.URLClassLoader.defineClass(URLClassLoader.java:260) >> Â Â Â Â Â at >java.net.URLClassLoader.access$100(URLClassLoader.java:56) >> Â Â Â Â Â at >java.net.URLClassLoader$1.run(URLClassLoader.java:195)
 >>
 >>
 >> Can someone please help ?
 >>
 >> Regards,
 >> Megha

 >---------------------------------------------------------------------
 >To unsubscribe, e-mail: [EMAIL PROTECTED]
 >For additional commands, e-mail: [EMAIL PROTECTED]
 >--
 AdNovum Informatik AG
 Agarval Megha,
 Informatik Student EPFL

 Roentgenstrasse 22, CH-8005 Zurich
 mailto:[EMAIL PROTECTED]
 phone: +41 44 272 6111, fax: +41 44 272 6312
 http://www.adnovum.ch

 AdNovum Offices: Bern, Budapest, San Mateo, Zurich (HQ)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
 AdNovum Informatik AG
 Agarval Megha,
 Informatik Student EPFL

 Roentgenstrasse 22, CH-8005 Zurich
 mailto:[EMAIL PROTECTED]
 phone: +41 44 272 6111, fax: +41 44 272 6312
 http://www.adnovum.ch

 AdNovum Offices: Bern, Budapest, San Mateo, Zurich (HQ)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to