logs/catalina*.log

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/5/13 Patel, Sanjay <[email protected]>

> What do you mean by tomee logs?
>
> -----Original Message-----
> From: Romain Manni-Bucau [mailto:[email protected]]
> Sent: Monday, May 13, 2013 10:00 AM
> To: [email protected]
> Subject: Re: eclipselink in tomee
>
> can you pastebin your tomee logs please?
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/5/13 Patel, Sanjay <[email protected]>
>
> > No. I see below in log.
> >
> > [EL Info]: 2013-05-13
> > 09:55:00.033--ServerSession(1871102220)--Thread(Thread[http-bio-8080-e
> > xec-1,5,main])--EclipseLink,
> > version: Eclipse Persistence Services - 2.4.0.v20120608-r11652 [EL
> > Fine]: 2013-05-13
> > 09:55:01.052--Thread(Thread[http-bio-8080-exec-1,5,main])--Detected
> > database platform:
> > org.eclipse.persistence.platform.database.HSQLPlatform
> > [EL Config]: 2013-05-13
> >
> 09:55:01.108--ServerSession(1871102220)--Connection(1599937263)--Thread(Thread[http-bio-8080-exec-1,5,main])--connecting(DatabaseLogin(
> >         platform=>DatabasePlatform
> >         user name=> ""
> >         connector=>JNDIConnector datasource name=>null
> > ))
> > [EL Config]: 2013-05-13
> >
> 09:55:01.112--ServerSession(1871102220)--Connection(1595260911)--Thread(Thread[http-bio-8080-exec-1,5,main])--Connected:
> > jdbc:hsqldb:file:data/hsqldb/hsqldb
> >         User: SA
> >         Database: HSQL Database Engine  Version: 2.2.8
> >         Driver: HSQL Database Engine Driver  Version: 2.2.8 [EL
> > Config]: 2013-05-13
> >
> 09:55:01.114--ServerSession(1871102220)--Connection(216798382)--Thread(Thread[http-bio-8080-exec-1,5,main])--connecting(DatabaseLogin(
> >         platform=>HSQLPlatform
> >         user name=> ""
> >         connector=>JNDIConnector datasource name=>null
> > ))
> > [EL Config]: 2013-05-13
> >
> 09:55:01.124--ServerSession(1871102220)--Connection(725140745)--Thread(Thread[http-bio-8080-exec-1,5,main])--Connected:
> > jdbc:hsqldb:file:data/hsqldb/hsqldb
> >         User: SA
> >         Database: HSQL Database Engine  Version: 2.2.8
> >         Driver: HSQL Database Engine Driver  Version: 2.2.8 [EL Info]:
> > 2013-05-13
> > 09:55:01.537--ServerSession(1871102220)--Thread(Thread[http-bio-8080-e
> > xec-1,5,main])--file:/C:/Tomcat/apache-tomee-plus-1.5.1/webapps/myapp/
> > WEB-INF/lib/myapp-service-1.0.jar_MyAppPU
> > login successful
> >
> >
> > -----Original Message-----
> > From: Jean-Louis MONTEIRO [mailto:[email protected]]
> > Sent: Monday, May 13, 2013 9:45 AM
> > To: [email protected]
> > Subject: Re: eclipselink in tomee
> >
> > Did you see any "ADJUSTING ...." message in logs?
> >
> > JLouis
> >
> >
> > 2013/5/13 Patel, Sanjay <[email protected]>
> >
> > > Here is my persistence.xml and I have resource defined in my tomee.xml.
> > >
> > > <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0"
> > >         xmlns="http://java.sun.com/xml/ns/persistence"; xmlns:xsi="
> > > http://www.w3.org/2001/XMLSchema-instance";
> > >         xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
> > > http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd";>
> > >         <persistence-unit name="MyApplicationPU"
> > > transaction-type="JTA">
> > >
> > > <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
> > >
> > > <jta-data-source>${jpa.jta.datasource.managed}</jta-data-source>
> > >
> > >
> > <non-jta-data-source>${jpa.jta.datasource.unmanaged}</non-jta-data-sou
> > rce>
> > >                 <class>myClass1</class>
> > >                 <class>myClass2</class>
> > >                  <properties>
> > >                         <property name="eclipselink.logging.level"
> > > value="FINE" />
> > >                         <property name="eclipselink.logging.exceptions"
> > > value="true"/>
> > >          </properties>
> > >         </persistence-unit>
> > > </persistence>
> > >
> > > -----Original Message-----
> > > From: Romain Manni-Bucau [mailto:[email protected]]
> > > Sent: Monday, May 13, 2013 9:33 AM
> > > To: [email protected]
> > > Subject: Re: eclipselink in tomee
> > >
> > > Hi
> > >
> > > it works ;) (i know it doesn't help that much)
> > >
> > > basically how did you configure it in your persistence.xml?
> > >
> > > *Romain Manni-Bucau*
> > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > http://rmannibucau.wordpress.com/>
> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > *Github: https://github.com/rmannibucau*
> > >
> > >
> > >
> > > 2013/5/13 Patel, Sanjay <[email protected]>
> > >
> > > > We have used OpenJPA in all our previous projects without any issue.
> > > > Very simple to setup. We are trying to use eclipselink in our new
> > > > project and it does not seem to work.
> > > >
> > > > Looks like eclipselink does not read the resource in tomee.xml. It
> > > > connects to HSQLDB and then complains about not finding table in
> > > database.
> > > >
> > > > I saw many people are having same issue but did not find any
> > > > answer for that. Is this still an issue or something needs to be
> > > > configured properly for eclipselink to work in tomee?
> > > >
> > >
> >
> >
> >
> > --
> > Jean-Louis
> >
>

Reply via email to