datanucleus REST service (2.0.1)을 HBASE (0.90.2)으로 실행하려고합니다.HBASE에 datanucleus-rest 사용
HTTP 오류/DN/접근 (503)
문제 : 서블릿에 액세스 할 때
그러나, 나는 503를 얻고있다 (작품 등록). 이유 :
org.datanucleus.exceptions.NucleusUserException: There is no available StoreManager of type "rdbms". Make sure that you have put the relevant DataNucleus store plugin in your CLASSPATH and if defining a connection via JNDI or DataSource you also need to provide persistence property "datanucleus.storeManagerType"
내의 persistence.xml은 다음과 같습니다
<persistence-unit name="test">
<provider>org.datanucleus.api.jdo.JDOPersistenceManagerFactory</provider>
<class>com.bla.MyClass</class>
<exclude-unlisted-classes />
<properties>
<property name="datanucleus.storeManagerType" value="hbase" />
<property name="datanucleus.ConnectionURL" value="hbase" />
<property name="datanucleus.ConnectionUserName" value="" />
<property name="datanucleus.ConnectionPassword" value="" />
<property name="datanucleus.autoCreateTables" value="true" />
<property name="datanucleus.autoCreateColumns" value="true" />
<property name="datanucleus.Multithreaded" value="true" />
</properties>
</persistence-unit>
내가
- 제공
- datanucleus.storeManagerType
누구나 내가 잘못 생각하거나 힌트를 줄 수 있습니까?
특히 모든 값에서의 값은 "org.datanucleus.api.jpa.PersistenceProviderImpl"인 것처럼 보입니다. –
Joscha
공급자는 org.datanucleus.api.jpa.PersistenceProviderImpl이고 datanucleus.storeManagerType은 필요하지 않습니다. 또한 persistence-unit name-attribute를 web.xml에 지정된 이름과 동일하게 만드는 것을 잊지 마십시오. – Joscha