james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saibabu Vallurupalli <saibabu.vallurupa...@gmail.com>
Subject Re: Backup restore for windows
Date Fri, 05 Aug 2011 11:43:57 GMT
Hi Eric,

I am pasting last few lines of my build below:
**********
[INFO] Apache James Server ActiveMQ Queue ................ SUCCESS
[1:54.496s]
[INFO] Apache James Server LDAP Data Implementation ...... SUCCESS [10.733s]
[INFO] Apache James Server Client ........................ SUCCESS [9.597s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 13:13.631s
[INFO] Finished at: Fri Aug 05 07:30:19 EDT 2011
[INFO] Final Memory: 40M/133M
[INFO]
------------------------------------------------------------------------
C:\work\workspace\james\server\tags\james-server-3.0-beta2>
**********

After this I looked in folder :
C:\work\workspace\james\server\tags\james-server-3.0-beta2\container-spring\target\
There are bunch of folders and james-server-container-spring-3.0-beta2.jar
file.

I couldn't find the zip after doing mvn clean package from command prompt.

Looks like I am missing something.

Thanks,
Sai


On Fri, Aug 5, 2011 at 3:09 AM, Eric Charles <eric.charles@u-mangate.com>wrote:

> Hi,
>
> First, make sure you ave Built Successfull message after maven compile.
>
> Then, it's not only the james-server-*.jar you have to take, but all the
> jars in the lib folder (after unzipping container-spring/target/james.**..zip,
> or tar.gz).
>
> You are probably missing the jcr dependencies.
>
> Thx.
>
>
>
> On 05/08/11 04:06, Saibabu Vallurupalli wrote:
>
>> Hi Eric and Team,
>>
>> I tried this options and got hit again with the same error. After adding
>> the
>> below dependency to POM.XML of container-spring project, I compiled entire
>> 3.0Beta2 source and took the latest server files jame-server-*.jar files
>> and
>> deployed in my James/lib folder.
>> After restarting the server I tried copying from jpa-mailboxmanager to
>> jcr-mailboxmanager and got the below error in my jConsole.
>>
>> *********
>> Problem invoking copy : java.rmi.UnmarshalException: Error unmarshaling
>> return; nested exception is:
>> java.lang.**ClassNotFoundException:
>> org.apache.openjpa.**persistence.**InvalidStateException (no security
>> manager:
>> RMI class loader disabled)
>> *********
>>
>> Please advise.
>>
>> Thanks, Sai.
>>
>> On Thu, Aug 4, 2011 at 12:46 PM, Eric Charles<eric.charles@u-**
>> mangate.com <eric.charles@u-mangate.com>>wrote:
>>
>>  Hi,
>>>
>>> Sorry, you need to change pom.xml in container-spring [1] and add there
>>> in
>>> the<dependencies>  tag
>>>
>>>    <dependency>
>>>      <groupId>org.apache.james</****groupId>
>>>      <artifactId>apache-james-****mailbox-jcr</artifactId>
>>>    </dependency>
>>>
>>> The mailbox-lucene is not yet incorporated (I was wrong), so you don't
>>> have
>>> to remove anything.
>>>
>>> I hope you will find your way to build, and also the jcr is still
>>> operational (we didn't look too much on this the last time, although the
>>> build tests are fine).
>>>
>>> Thx.
>>>
>>> [1] https://svn.apache.org/repos/****asf/james/server/tags/james-****<https://svn.apache.org/repos/**asf/james/server/tags/james-**>
>>> server-3.0-beta2/container-****spring/pom.xml<https://svn.**
>>> apache.org/repos/asf/james/**server/tags/james-server-3.0-**
>>> beta2/container-spring/pom.xml<https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta2/container-spring/pom.xml>
>>> **>
>>>
>>>
>>>
>>> On 04/08/11 17:56, Eric Charles wrote:
>>>
>>>  Quick answer:
>>>> - Remove from root pom.xml mailbox-lucene and uncomment/add mailbox-jcr.
>>>> - Invoke mvn package.
>>>>
>>>> You should get in target folder the tar.gz.
>>>> thx.
>>>>
>>>> On 04/08/11 17:27, Saibabu Vallurupalli wrote:
>>>>
>>>>  Hi Eric,
>>>>>
>>>>> We have discussed on the 3 approaches you have recommended and found
>>>>> the 2nd
>>>>> option JCR looks simple and fast approach for us. I have 3.0Beta2
>>>>> source
>>>>> code.
>>>>>
>>>>> Can you suggest me where I need to modify (The source file name) and
>>>>> which
>>>>> JAR file gets impacted?
>>>>>
>>>>> We appreciate your help on this.
>>>>>
>>>>> Thank you, Sai.
>>>>>
>>>>>
>>>>> On Thu, Aug 4, 2011 at 9:37 AM, Eric Charles<eric@apache.org> 
wrote:
>>>>>
>>>>>  Hi,
>>>>>
>>>>>>
>>>>>> For MailDir, you can read http://en.wikipedia.org/wiki/******<http://en.wikipedia.org/wiki/****>
>>>>>> <http://en.wikipedia.org/**wiki/** <http://en.wikipedia.org/wiki/**>>
>>>>>>
>>>>>> Maildir#Windows_compatibility<****http://en.wikipedia.org/**wiki/**<http://en.wikipedia.org/wiki/**>
>>>>>> Maildir#Windows_compatibility<**http://en.wikipedia.org/wiki/**
>>>>>> Maildir#Windows_compatibility<http://en.wikipedia.org/wiki/Maildir#Windows_compatibility>
>>>>>> >
>>>>>>
>>>>>>> **,
>>>>>>>
>>>>>>
>>>>>> James can not do much on that...
>>>>>>
>>>>>> For JCR, it's possible to remove mailbox-lucene and readd
>>>>>> mailbox-jcr, but
>>>>>> this need a recompilation. Can you do this?
>>>>>>
>>>>>> Otherwise, there is also the option to make a SQL diff between the
2
>>>>>> database schemas, and see this delta can be implemented with SQL
>>>>>> scripts.
>>>>>>
>>>>>> Thx.
>>>>>>
>>>>>>
>>>>>> On 04/08/11 15:26, Saibabu Vallurupalli wrote:
>>>>>>
>>>>>>  Hi Eric,
>>>>>>
>>>>>>>
>>>>>>> I have initiated a new thread because the other thread is too
much
>>>>>>> crowded.
>>>>>>> Is there a possibility to have a fix for MailDir to work on Windows
>>>>>>> machine?
>>>>>>> I can contribute the fix if there is a possibility even for JCR
>>>>>>> Mailbox or
>>>>>>> any advise is greatly appreciated.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Sai
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>  --
>>>>>> Eric Charles
>>>>>> http://about.echarles.net
>>>>>>
>>>>>> ------------------------------******--------------------------**--**
>>>>>> --**---------
>>>>>>
>>>>>> To unsubscribe, e-mail:
>>>>>> server-dev-unsubscribe@james.******apache.org<server-dev-**
>>>>>> unsubscribe@james.apache.org<s**erver-dev-unsubscribe@james.**
>>>>>> apache.org <server-dev-unsubscribe@james.apache.org>>>
>>>>>>
>>>>>>
>>>>>> For additional commands, e-mail:
>>>>>> server-dev-help@james.apache.******org<server-dev-help@james.****
>>>>>> apache.org<server-dev-help@**james.apache.org<server-dev-help@james.apache.org>
>>>>>> >
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>> --
>>> Eric Charles
>>> http://about.echarles.net
>>>
>>> ------------------------------****----------------------------**
>>> --**---------
>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.****apache.org<
>>> server-dev-**unsubscribe@james.apache.org<server-dev-unsubscribe@james.apache.org>
>>> >
>>>
>>> For additional commands, e-mail: server-dev-help@james.apache.****org<
>>> server-dev-help@james.**apache.org <server-dev-help@james.apache.org>>
>>>
>>>
>>>
>>
>
> --
> Eric Charles
> http://about.echarles.net
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<server-dev-unsubscribe@james.apache.org>
> For additional commands, e-mail: server-dev-help@james.apache.**org<server-dev-help@james.apache.org>
>
>

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