Hi maybe give more inputs on the config you want to use (where do you set this path for instance)
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-07-19 11:06 GMT-07:00 Rohan Beckles <[email protected]>: > Hello -- > > I've been trying to deploy either the JackRabbit 2.10.x or ModeShape 4.3.x > Resource Adapters under > TomEE Plus 1.7.1 (OpenJDK 1.7.0_79, running on Ubuntu Linux), without much > success. The RARs are > dropped into the apps directory, and unpack correctly but there is an > issue with the loading. > > With JackRabbit, the error I get in the log is: > > WARNING: Unexpected exception resolving reference > java.lang.NullPointerException > at java.io.File.<init>(File.java:277) > at > org.apache.jackrabbit.jca.JCARepositoryManager.createNonTransientRepository(JCARepositoryManager.java:122) > at > org.apache.jackrabbit.jca.JCARepositoryManager.createRepository(JCARepositoryManager.java:79) > at > org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createRepository(JCAManagedConnectionFactory.java:216) > at > org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createConnectionFactory(JCAManagedConnectionFactory.java:153) > > With ModeShape, the error I get in the log is: > > Caused by: javax.resource.ResourceException: > javax.resource.ResourceException: java.lang.NullPointerException > at > org.modeshape.jca.JcrRepositoryHandle.<init>(JcrRepositoryHandle.java:59) > at > org.modeshape.jca.JcrManagedConnectionFactory.createConnectionFactory(JcrManagedConnectionFactory.java:155) > at > org.apache.openejb.core.ConnectorReference.getObject(ConnectorReference.java:50) > ... 27 more > Caused by: javax.resource.ResourceException: java.lang.NullPointerException > at > org.modeshape.jca.JcrManagedConnectionFactory.deployRepository(JcrManagedConnectionFactory.java:97) > at > org.modeshape.jca.JcrManagedConnectionFactory.getRepository(JcrManagedConnectionFactory.java:141) > at > org.modeshape.jca.JcrRepositoryHandle.<init>(JcrRepositoryHandle.java:57) > ... 29 more > Caused by: java.lang.NullPointerException > at > org.modeshape.jca.JcrManagedConnectionFactory.isAbsolutePath(JcrManagedConnectionFactory.java:80) > at > org.modeshape.jca.JcrManagedConnectionFactory.deployRepository(JcrManagedConnectionFactory.java:94) > ... 31 more > > TomEE then complains with: > > SEVERE: Exception processing Global JNDI Resources > > I suspect that the root cause is the same in both cases: the path where > the repository is to be > created is being passed as a NULL value. The obvious question is: why? > > Any help with this will be greatly appreciated. > > Many thanks, > -- > Rohan Beckles > [email protected] >
