I am trying to access the repository from a standalone java application using JcrUtils.
**repository = JcrUtils.getRepository("http://localhost:4502/crx/server"); this works**
**repository = JcrUtils.getRepository("https://localhost:4502/crx/server"); this doesn't work**
Exception in thread "main" javax.jcr.RepositoryException: Unable to access a repository with the following settings: org.apache.jackrabbit.repository.uri: https://localhost:4502/crx/server The following RepositoryFactory classes were consulted: org.apache.jackrabbit.commons.JndiRepositoryFactory: declined org.apache.jackrabbit.core.RepositoryFactoryImpl: declined org.apache.jackrabbit.jcr2dav.Jcr2davRepositoryFactory: declined org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory: declined Perhaps the repository you are trying to access is not available at the moment. at org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:223) at org.apache.jackrabbit.commons.JcrUtils.getRepository(JcrUtils.java:263) at com.hero.jcr.util.CqHelper.getSession(CqHelper.java:20) at com.hero.jcr.commandline.CheckConnection.getDamAssets(CheckConnection.java:36) at com.hero.jcr.commandline.CheckConnection.main(CheckConnection.java:29)
Thanks in advance