See my other mail... You meed to replace all mailbox* jars. bye norman
Am Dienstag, 12. Juli 2011 schrieb Saibabu Vallurupalli <[email protected]>: > Okay Eric. I will try to follow the steps given in the previous email keep > you posted. > > Thanks so much for all the support. > > Thanks, Sai. > > On Mon, Jul 11, 2011 at 11:35 PM, Eric Charles <[email protected]> wrote: > >> On 12/07/11 03:50, [email protected] wrote: >> >>> 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 . >>> >>> >> jar in conf/lib can work because conf/lib is first on the classpath, but >> you would still have the same/old classes/package in /lib (can be >> error-prone/confusing?). >> >> >> 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<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<[email protected]> >>>> For additional commands, e-mail: >>>> [email protected].**org<[email protected]> >>>> >>> >>> >> >> -- >> Eric >> >> >> ------------------------------**------------------------------**--------- >> To unsubscribe, e-mail: >> server-dev-unsubscribe@james.**apache.org<[email protected]> >> For additional commands, e-mail: >> [email protected].**org<[email protected]> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
