Re: [Resin-interest] Hibernate and JPA (was Resin 4 and Java 8)
Hi I tried both this and the servlet-hack solution But resin(4.0.40) complains *xxx.jar!/META-INF/persistence.xml:4: persistence xmlns=http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence is an unexpected top-level tag. **2: persistence xmlns=http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence* *3: xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance4: xsi:schemaLocation=http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd version=2.15: **persistence xmlns=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence is expected.* *Syntax: persistence* It seems resin mandates persistence.xml with the old namespace. Defined in *com/caucho/amber/cfg/persistence-30.rnc and persistence-31.rnc* , and verify by *com/caucho/relaxng/VerifierHandlerImpl* . Is it possible to turn it off ? 2015-03-27 8:35 GMT+08:00 Nam Nguyen n...@caucho.com: Thanks for the suggestion, I went ahead and added it for the upcoming 4.0.44 release. -- Nam On 3/26/15 10:00 AM, resin-interest-requ...@caucho.com wrote: It would also be nice if you could put: jvm-classpath${jvm_classpath}/jvm-classpath In the cluster-default.xml file, so that the only change necessary is to the resin.properties file. (*Chris*) ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Hibernate and JPA (was Resin 4 and Java 8)
My JPA is implemented by hibernate , managed by spring. Is it possible to disable amber ? 2015-04-07 17:23 GMT+08:00 smallufo small...@gmail.com: Hi I tried both this and the servlet-hack solution But resin(4.0.40) complains *xxx.jar!/META-INF/persistence.xml:4: persistence xmlns=http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence is an unexpected top-level tag. **2: persistence xmlns=http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence* *3: xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance4: xsi:schemaLocation=http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd version=2.15: **persistence xmlns=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence is expected.* *Syntax: persistence* It seems resin mandates persistence.xml with the old namespace. Defined in *com/caucho/amber/cfg/persistence-30.rnc and persistence-31.rnc* , and verify by *com/caucho/relaxng/VerifierHandlerImpl* . Is it possible to turn it off ? 2015-03-27 8:35 GMT+08:00 Nam Nguyen n...@caucho.com: Thanks for the suggestion, I went ahead and added it for the upcoming 4.0.44 release. -- Nam On 3/26/15 10:00 AM, resin-interest-requ...@caucho.com wrote: It would also be nice if you could put: jvm-classpath${jvm_classpath}/jvm-classpath In the cluster-default.xml file, so that the only change necessary is to the resin.properties file. (*Chris*) ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Hibernate and JPA (was Resin 4 and Java 8)
Thanks for the suggestion, I went ahead and added it for the upcoming 4.0.44 release. -- Nam On 3/26/15 10:00 AM, resin-interest-requ...@caucho.com wrote: It would also be nice if you could put: jvm-classpath${jvm_classpath}/jvm-classpath In the cluster-default.xml file, so that the only change necessary is to the resin.properties file. (*Chris*) ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest