Stephanp wrote
> 
> java.lang.ClassCastException:
> org.apache.jackrabbit.rmi.client.ClientXASession cannot be cast to
> org.apache.jackrabbit.jcr2spi.SessionImpl
> 

That's because when connecting via RMI, you are actually using a
ClientXASession instead of a native session.  What are you trying to
accomplish?  You may be looking for ClientSession, but it is not recommended
to cast to JR specific objects unless necessary.

--
View this message in context: 
http://jackrabbit.510166.n4.nabble.com/Session-cannot-be-cast-to-JackRabbitSession-tp4260623p4261169.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to