Thx for the pop3server.log.
The relevant bits are:
java.lang.NullPointerException
at
org.apache.jackrabbit.spi.commons.identifier.AbstractIdFactory.fromJcrIdentifier(AbstractIdFactory.java:104)
at
org.apache.jackrabbit.jcr2spi.SessionImpl.getNodeByIdentifier(SessionImpl.java:525)
at
org.apache.james.mailbox.jcr.mail.JCRMessageMapper.getMailboxPath(JCRMessageMapper.java:190)
which doesn't help much (prolly a null node).
Eric
On 07/20/2012 02:51 AM, 배세호 wrote:
> Hi Eric!
>
> I am grateful for all your resond.
>
> I know that james support jcr mailbox in beta4. ( I saw that note in
> spring-mailbox-jcr.xml file.)
>
> if James use embeded jackrabbit, james is not operating because of
> lucene library conflict.
>
> but if james use standalone jackrabbit server, james is operating
> well. so i modified spring-mailbox-jcr.xml file like below.
>
> I attached pop3server.log file for stack trace.
>
>
> Best regards.
>
> Seho.
>
>
> 2012/7/19 Eric Charles <[email protected]>:
>> Hi Seho,
>>
>> We don't ship jcr mailbox with beta4 (nor beta3 I think) due to
>> incompatibility between james mailbox-lucene and the lucene shipped by
>> jackrabbit (the version available at that time was using lucene 2.x).
>>
>> James uses lucene 3.1. Which version does jackrabbit 2.4.2 (or 2.5.0)?
>>
>> We could align if jackrabbit uses a version > 3.1, and ship again jcr
>> mailbox.
>>
>> Now, regarding your exception, it's strange it is working well with IMAP but
>> not with POP3 (I would have bet on the contrary).
>>
>> The end of the stack trace seems to have been mangled, so I can't help much
>> (please resend the stack trace).
>>
>> Thx, Eric
>>
>> On 07/19/2012 01:46 AM, 배세호 wrote:
>>>
>>> I tryed to use james 3.0-beta4. but I have a problem to use mailbox for
>>> JCR.
>>>
>>> I modified spring-mailbox-jcr.xml like below (
>>> jackrabbit-standalone-2.4.2.jar in classpath) and James connected to
>>> JackRabbit 2.4.2.
>>>
>>> <bean id="jcrRepository"
>>>
>>> class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
>>> <property
>>>
>>> name="targetClass"><value>org.apache.jackrabbit.commons.JcrUtils</value></property>
>>> <property
>>> name="targetMethod"><value>getRepository</value></property>
>>> <property name="arguments">
>>> <value>http://192.128.0.1:8080/jackrabbit/server</value>
>>> </property>
>>> </bean>
>>>
>>>
>>> IMAP is operating well, but POP3 is not, error message is below.
>>>
>>>
>>> INFO | jvm 1 | 2012/07/16 15:44:39 | ERROR 15:44:39,642 |
>>> james.pop3server | Id='27258747' User='[email protected]' Unable
>>> to access property jcr:uuid
>>> INFO | jvm 1 | 2012/07/16 15:44:39 |
>>> javax.jcr.RepositoryException: This session has been closed.
>>> INFO | jvm 1 | 2012/07/16 15:44:39 | at
>>>
>>> org.apache.jackrabbit.jcr2spi.SessionImpl.checkIsAlive(SessionImpl.java:924)
>>> INFO | jvm 1 | 2012/07/16 15:44:39 | at
>>> org.apache.jackrabbit.jcr2spi.ItemImpl.checkStatus(ItemImpl.java:436)
>>> INFO | jvm 1 | 2012/07/16 15:44:39 | at
>>> org.apache.jackrabbit.jcr2spi.NodeImpl.getIdentifier(NodeImpl.java:557)
>>> INFO | jvm 1 | 2012/07/16 15:44:39 | at
>>>
>>> org.apache.james.mailbox.jcr.mail.model.JCRMailbox.getMailboxId(JCRMailbox.java:208)
>>> INFO | jvm 1 | 2012/07/16 15:44:39 | at
>>>
>>> org.apache.james.mailbox.jcr.mail.model.JCRMailbox.getMailboxId(JCRMailbox.java:38)
>>> INFO | jvm 1 | 2012/07/16 15:44:39 | at
>>>
>>> org.apache.james.mailbox.jcr.mail.JCRMessageMapper.getMailboxPath(JCRMessageMapper.java:190)
>>> INFO | jvm 1 | 2012/07/16 15:44:39 | at
>>>
>>> org.apache.james.mailbox.jcr.mail.JCRMessageMapper.findMessagesInMailboxAfterUID(JCRMessageMapper.java:304)
>>> INFO | jvm 1 | 2012/07/16 15:44:39 | at
>>
>>
>>
>>
>> --
>> eric | http://about.echarles.net | @echarles
>>
--
eric | http://about.echarles.net | @echarles
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]