Has anyone tried to deploy the jackrabbit webapp in JBoss and registering the repository in JBoss's JNDI (i.e. the provider URL being jnp://localhost:1099 with the factory being org.jnp.interfaces.NamingContextFactory) as opposed to using the dummy JNDI provider that is configured by default (org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory)
I tried that but failed due to the repository impl. class not being serializable: javax.naming.CommunicationException [Root exception is java.io.NotSerializableException: org.apache.jackrabbit.core.RepositoryImpl]