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-instance>"4: 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.1">5: **<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