Re: [Resin-interest] [Resin] Resin 4 and Java 8
My bad, I had it set up wrong. But, for anyone trying to get it working, this worked: 1. Download the Hibernate JPA 2.1 API jar file from MavenCentral ( http://mvnrepository.com/artifact/org.hibernate.javax.persistence/hibernate-jpa-2.1-api/1.0.0.Final) and copy it into the ext-lib directory 2. Edit cluster-default.xml and add ${jvm_classpath} on line 55 (inside the element, right after just to keep like things together) 3. Edit resin.properties and add jvm_classpath: ext-lib/hibernate-jpa-2.1-api-1.0.0.Final.jar on line 92 (again, right after jvm_mode) 4. Start it up and it should work On Tue, Mar 24, 2015 at 12:44 PM Chris Pratt wrote: > I'm basically having the same problem that is outlined in the previous > resin-interest pose ( > https://www.mail-archive.com/resin-interest@caucho.com/msg06062.html) and > on Stack Overflow ( > http://stackoverflow.com/questions/26352912/jpa-2-1-not-loaded-in-resin-3-1-9), > but I'm using the latest Resin (4.0.43). I've tried following the > instructions in the sited caucho bug report ( > http://bugs.caucho.com/view.php?id=5678), but I still get the same > exception. Any pointers would definitely be appreciated. > (*Chris*) > > On Tue, Mar 24, 2015 at 11:37 AM, Nam Nguyen wrote: > >> > Message: 2 >> > Date: Tue, 24 Mar 2015 16:40:20 + >> > From: Chris Pratt >> > Subject: Re: [Resin-interest] [Resin] Resin 4 and Java 8 >> > To: General Discussion for the Resin application server >> > >> > Message-ID: >> > > r3riz_xjxv4...@mail.gmail.com> >> > Content-Type: text/plain; charset="utf-8" >> > >> > Yes, I have it working just fine on Java 8. But, I can't seem to get it >> > working with the new JPA 2.1 (from Hibernate 4.3). >> >(*Chris*) >> >> Resin works with Java8. Chris, can you elaborate on the issue you are >> having with JAP 2.1? >> >> Thanks, >> -- Nam >> >> ___ >> 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] [Resin] Resin 4 and Java 8
Nope just tried it out and it worked just fine. (*Chris*) On Tue, Mar 24, 2015 at 2:14 PM Maria Elena wrote: > On Tue, Mar 24, 2015 at 5:40 PM, Chris Pratt > wrote: > >> Yes, I have it working just fine on Java 8. But, I can't seem to get it >> working with the new JPA 2.1 (from Hibernate 4.3). >> (*Chris*) >> >> On Tue, Mar 24, 2015, 8:28 AM Maria Elena >> wrote: >> >>> Hello, >>> >>> has anyone tried using Resin 4 on Java 8? >>> I only found documentation about Java 6 (Oracle site) and Java 7 (Caucho >>> site). >>> >>> Thanks and regards >>> Maria Elena >>> >>> -- >>> PGP Public key: >>> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x34977A00 >>> ___ >>> 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 >> >> > Hi Chris, > > many thanks for your reply! > Did you find any resource (e.g. link, wiki page) about Resin 4 experience > with Java 8 or you installed just from scratch? > > > Thanks and regards > Maria Elena > > -- > PGP Public key: > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x34977A00 > ___ > 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] [Resin] Resin 4 and Java 8
On Tue, Mar 24, 2015 at 5:40 PM, Chris Pratt wrote: > Yes, I have it working just fine on Java 8. But, I can't seem to get it > working with the new JPA 2.1 (from Hibernate 4.3). > (*Chris*) > > On Tue, Mar 24, 2015, 8:28 AM Maria Elena wrote: > >> Hello, >> >> has anyone tried using Resin 4 on Java 8? >> I only found documentation about Java 6 (Oracle site) and Java 7 (Caucho >> site). >> >> Thanks and regards >> Maria Elena >> >> -- >> PGP Public key: >> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x34977A00 >> ___ >> 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 > > Hi Chris, many thanks for your reply! Did you find any resource (e.g. link, wiki page) about Resin 4 experience with Java 8 or you installed just from scratch? Thanks and regards Maria Elena -- PGP Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x34977A00 ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] [Resin] Resin 4 and Java 8
I'm basically having the same problem that is outlined in the previous resin-interest pose ( https://www.mail-archive.com/resin-interest@caucho.com/msg06062.html) and on Stack Overflow ( http://stackoverflow.com/questions/26352912/jpa-2-1-not-loaded-in-resin-3-1-9), but I'm using the latest Resin (4.0.43). I've tried following the instructions in the sited caucho bug report ( http://bugs.caucho.com/view.php?id=5678), but I still get the same exception. Any pointers would definitely be appreciated. (*Chris*) On Tue, Mar 24, 2015 at 11:37 AM, Nam Nguyen wrote: > > Message: 2 > > Date: Tue, 24 Mar 2015 16:40:20 + > > From: Chris Pratt > > Subject: Re: [Resin-interest] [Resin] Resin 4 and Java 8 > > To: General Discussion for the Resin application server > > > > Message-ID: > >r3riz_xjxv4...@mail.gmail.com> > > Content-Type: text/plain; charset="utf-8" > > > > Yes, I have it working just fine on Java 8. But, I can't seem to get it > > working with the new JPA 2.1 (from Hibernate 4.3). > >(*Chris*) > > Resin works with Java8. Chris, can you elaborate on the issue you are > having with JAP 2.1? > > Thanks, > -- Nam > > ___ > 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] [Resin] Resin 4 and Java 8
Yes, I have it working just fine on Java 8. But, I can't seem to get it working with the new JPA 2.1 (from Hibernate 4.3). (*Chris*) On Tue, Mar 24, 2015, 8:28 AM Maria Elena wrote: > Hello, > > has anyone tried using Resin 4 on Java 8? > I only found documentation about Java 6 (Oracle site) and Java 7 (Caucho > site). > > Thanks and regards > Maria Elena > > -- > PGP Public key: > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x34977A00 > ___ > 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