Re: Persistence.xml problem

2010-04-26 Thread Nico Guba
I can assure you that there are no apparent problems/conflicts in using 
EclipseLink alongside Wicket.  I'm doing it constantly :)

It is likely that there is an issue with how your IDE is setup or packages the 
files.  Some tools write their own META-INF directory in a war instead of using 
the one designated in your sources.   That may need some tweaking but it's a 
stab in the dark since my setup is a Maven/Eclipse combo, so I cannot help on 
IDE specific issues.  The principle remains the same though.

It may be worth looking at the actual war archive and see whether the 
persistence.xml file is actually included at the right spot.

Try changing the persistence unit's name and see whether the new name is 
recognised when you instantiate your PersistenceManagerFactory.

Hope this helps

On 25 Apr 2010, at 16:43, Matias Pansa wrote:

 
 No , is ant .
 
 Subject: Re: Persistence.xml problem
 From: ng...@mac.com
 Date: Sun, 25 Apr 2010 15:41:07 +0100
 To: users@wicket.apache.org
 
 Is maven your build system?
 
 On 25 Apr 2010, at 14:46, Matias Pansa wrote:
 
 
 I try clean and build many times with the same result , i try deleting all 
 files manually to , a clean tomcat install and manually deploy the 
 app.Thanks.
 
 
 
 Date: Sun, 25 Apr 2010 13:34:28 +
 From: andre.prase...@gmail.com
 Subject: RE: Persistence.xml problem
 To: users@wicket.apache.org
 
 Try clean and build, you might break your application.
 
 Sent from my Nokia phone
 -Original Message-
 From: Igor Vaynberg
 Sent:  24/04/2010 23:10:15
 Subject:  Re: Persistence.xml problem
 
 wicket has nothing to do with it. maybe your IDE is not updating your
 persistence.xml in the target directory.
 
 -igor
 
 On Sat, Apr 24, 2010 at 7:02 AM, Matias Pansa matute...@hotmail.com 
 wrote:
 
 
 Hi , i'm developing an app under netbeans + wicket + tomcat + 
 wicket-contrib-javaee +eclipselink .
 The problem is that i run the app the first time and everything works 
 fine , but i change the data source in persistence.xml and the app stop 
 working , i change again to the original source and nothing ,  not 
 working , there is no error ,exception , nothing , the app runs on tomcat 
 like everything is ok , but there's no connection to the database , any 
 data is persisted .I just delete persistence.xml and app stil working! 
 ... clean tomcat install and still working without persistence.xml! , i 
 deployed the app war file within netbeans and manually on tomcat's web 
 manager without any persistence and the same result.So i want to know if 
 maybe wicket has something to do with this problem because i try almost 
 everything else , even running the app locally and in the server but 
 nothing happens , i apreciate any help on this.
 
 _
 Organizá una reunión con Hotmail: podés enviar un email a tus amigos y 
 con el Calendario agendar la fecha. Descubrí más.
 http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
   
 _
 Con Hotmail y Calendario organizar reuniones es muy fácil: enviá 
 invitaciones y recibí confirmaciones de asistencia.
 http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx
 
 -- 
  npg
 
 
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 _
 Con Hotmail y Calendario organizar reuniones es muy fácil: enviá invitaciones 
 y recibí confirmaciones de asistencia.
 http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx

-- 
npg





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Persistence.xml problem

2010-04-25 Thread andre.prase...@gmail.com
Try clean and build, you might break your application.

Sent from my Nokia phone
-Original Message-
From: Igor Vaynberg
Sent:  24/04/2010 23:10:15
Subject:  Re: Persistence.xml problem

wicket has nothing to do with it. maybe your IDE is not updating your
persistence.xml in the target directory.

-igor

On Sat, Apr 24, 2010 at 7:02 AM, Matias Pansa matute...@hotmail.com wrote:


 Hi , i'm developing an app under netbeans + wicket + tomcat + 
 wicket-contrib-javaee +eclipselink .
 The problem is that i run the app the first time and everything works fine , 
 but i change the data source in persistence.xml and the app stop working , i 
 change again to the original source and nothing ,  not working , there is no 
 error ,exception , nothing , the app runs on tomcat like everything is ok , 
 but there's no connection to the database , any data is persisted .I just 
 delete persistence.xml and app stil working! ... clean tomcat install and 
 still working without persistence.xml! , i deployed the app war file within 
 netbeans and manually on tomcat's web manager without any persistence and the 
 same result.So i want to know if maybe wicket has something to do with this 
 problem because i try almost everything else , even running the app locally 
 and in the server but nothing happens , i apreciate any help on this.

 _
 Organizá una reunión con Hotmail: podés enviar un email a tus amigos y con el 
 Calendario agendar la fecha. Descubrí más.
 http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Persistence.xml problem

2010-04-25 Thread Matias Pansa

No , is ant .

 Subject: Re: Persistence.xml problem
 From: ng...@mac.com
 Date: Sun, 25 Apr 2010 15:41:07 +0100
 To: users@wicket.apache.org
 
 Is maven your build system?
 
 On 25 Apr 2010, at 14:46, Matias Pansa wrote:
 
  
  I try clean and build many times with the same result , i try deleting all 
  files manually to , a clean tomcat install and manually deploy the 
  app.Thanks.
  
  
  
  Date: Sun, 25 Apr 2010 13:34:28 +
  From: andre.prase...@gmail.com
  Subject: RE: Persistence.xml problem
  To: users@wicket.apache.org
  
  Try clean and build, you might break your application.
  
  Sent from my Nokia phone
  -Original Message-
  From: Igor Vaynberg
  Sent:  24/04/2010 23:10:15
  Subject:  Re: Persistence.xml problem
  
  wicket has nothing to do with it. maybe your IDE is not updating your
  persistence.xml in the target directory.
  
  -igor
  
  On Sat, Apr 24, 2010 at 7:02 AM, Matias Pansa matute...@hotmail.com 
  wrote:
  
  
  Hi , i'm developing an app under netbeans + wicket + tomcat + 
  wicket-contrib-javaee +eclipselink .
  The problem is that i run the app the first time and everything works 
  fine , but i change the data source in persistence.xml and the app stop 
  working , i change again to the original source and nothing ,  not 
  working , there is no error ,exception , nothing , the app runs on tomcat 
  like everything is ok , but there's no connection to the database , any 
  data is persisted .I just delete persistence.xml and app stil working! 
  ... clean tomcat install and still working without persistence.xml! , i 
  deployed the app war file within netbeans and manually on tomcat's web 
  manager without any persistence and the same result.So i want to know if 
  maybe wicket has something to do with this problem because i try almost 
  everything else , even running the app locally and in the server but 
  nothing happens , i apreciate any help on this.
  
  _
  Organizá una reunión con Hotmail: podés enviar un email a tus amigos y 
  con el Calendario agendar la fecha. Descubrí más.
  http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx
  
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
  
  
  
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
  

  _
  Con Hotmail y Calendario organizar reuniones es muy fácil: enviá 
  invitaciones y recibí confirmaciones de asistencia.
  http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx
 
 -- 
   npg
 
 
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
  
_
Con Hotmail y Calendario organizar reuniones es muy fácil: enviá invitaciones y 
recibí confirmaciones de asistencia.
http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx

Re: Persistence.xml problem

2010-04-24 Thread Igor Vaynberg
wicket has nothing to do with it. maybe your IDE is not updating your
persistence.xml in the target directory.

-igor

On Sat, Apr 24, 2010 at 7:02 AM, Matias Pansa matute...@hotmail.com wrote:


 Hi , i'm developing an app under netbeans + wicket + tomcat + 
 wicket-contrib-javaee +eclipselink .
 The problem is that i run the app the first time and everything works fine , 
 but i change the data source in persistence.xml and the app stop working , i 
 change again to the original source and nothing ,  not working , there is no 
 error ,exception , nothing , the app runs on tomcat like everything is ok , 
 but there's no connection to the database , any data is persisted .I just 
 delete persistence.xml and app stil working! ... clean tomcat install and 
 still working without persistence.xml! , i deployed the app war file within 
 netbeans and manually on tomcat's web manager without any persistence and the 
 same result.So i want to know if maybe wicket has something to do with this 
 problem because i try almost everything else , even running the app locally 
 and in the server but nothing happens , i apreciate any help on this.

 _
 Organizá una reunión con Hotmail: podés enviar un email a tus amigos y con el 
 Calendario agendar la fecha. Descubrí más.
 http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Persistence.xml problem

2010-04-24 Thread Matias Pansa

Ok thanks , i'm still searching.

 From: igor.vaynb...@gmail.com
 Date: Sat, 24 Apr 2010 09:10:15 -0700
 Subject: Re: Persistence.xml problem
 To: users@wicket.apache.org
 
 wicket has nothing to do with it. maybe your IDE is not updating your
 persistence.xml in the target directory.
 
 -igor
 
 On Sat, Apr 24, 2010 at 7:02 AM, Matias Pansa matute...@hotmail.com wrote:
 
 
  Hi , i'm developing an app under netbeans + wicket + tomcat + 
  wicket-contrib-javaee +eclipselink .
  The problem is that i run the app the first time and everything works fine 
  , but i change the data source in persistence.xml and the app stop working 
  , i change again to the original source and nothing ,  not working , there 
  is no error ,exception , nothing , the app runs on tomcat like everything 
  is ok , but there's no connection to the database , any data is persisted 
  .I just delete persistence.xml and app stil working! ... clean tomcat 
  install and still working without persistence.xml! , i deployed the app war 
  file within netbeans and manually on tomcat's web manager without any 
  persistence and the same result.So i want to know if maybe wicket has 
  something to do with this problem because i try almost everything else , 
  even running the app locally and in the server but nothing happens , i 
  apreciate any help on this.
 
  _
  Organizá una reunión con Hotmail: podés enviar un email a tus amigos y con 
  el Calendario agendar la fecha. Descubrí más.
  http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
  
_
Con Hotmail y Calendario organizar reuniones es muy fácil: enviá invitaciones y 
recibí confirmaciones de asistencia.
http://www.microsoft.com/latam/windows/windowslive/products/calendar.aspx