james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hyysguyang@gmail.com" <hyysguy...@gmail.com>
Subject Re: Need help with build / deployment
Date Tue, 12 Jul 2011 01:50:20 GMT
How do you start your james server?
1. You need to update the classpath of  run.sh if you start it with 
run.sh script.
2. You need to update the wrapper.conf/wrapper.conf if you start it with 
james script.

However, the simplest solution is just put the jar to directory 
conf/lib, but this maybe not make sense if you change some james-related 
java source files .

Please be free to contact with me for any question or suggestion.
Thanks & Best Regards .

Young Gu | Software Engineer | http://www.infor.com

On 7/12/2011 5:09 AM, Saibabu Vallurupalli wrote:
> Hi All,
> I am kind of stuck with build and deployment please help me with this.
> To achieve Encryption/Decryption functionality I have to modify 
> JPAMessage.java file and add another file CustomJPAMessage.java. The 
> fix I made uses JASYPT Library as well.
> The steps I followed are below:
> In Eclipse I have checked-out the JPA project: 
> http://svn.apache.org/repos/asf/james/mailbox/trunk/jpa
> Opened JPA project in Eclipse as a JAVA project
> Completed the modifications.
> Opened command-prompt and ran the package command mvn clean package
> Artifacts got generated with name: 
> apache-james-mailbox-jpa-0.4-SNAPSHOT.jar & 
> apache-james-mailbox-jpa-0.4-SNAPSHOT-tests.jar
> I took the back-up of existing 
> "apache-james-mailbox-jpa-0.2-M2-20110401.040755-51.jar" file and 
> place the "apache-james-mailbox-jpa-0.4-SNAPSHOT.jar" in my Apache 
> James server library path.
> When i am trying to start James server it complains about missing 
> classes. "Caused by: java.lang.ClassNotFoundException: 
> org.apache.james.mailbox.jpa.mail.JPACachingUidProvider".
> I compared the JAR file size and found the new one (67KB) is less than 
> the original one (74KB).
> Any suggestions on making build and deployments? I have attached the 
> modified java files and pom.xml including JASYPT library to this email.
> Thanks,
> Sai
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message