My layout for the non-working:

_ear
  --META-INF
   --persistence.xml
   --application.xml

Working layout
_ear
   --META-INF
     --application.xml
   ..project.jar
     --META-INF
       --persistence.xml


In the working layout, the jar file was referenced from my 
application.xml file.

Matt

Emil Ong wrote:
> On Thu, Feb 21, 2008 at 07:11:45PM -0800, majohnst wrote:
>> I found a work around for this problem. In my setup, I had an exploded ear
>> file and my persistence.xml was in my META-INF folder. I found that if I put
>> my persistence.xml file inside a jar file, then it worked correctly and I
>> was able to get hibernate to work.
> 
> Hi Matt,
> 
> Can you give me an idea of the layout that you had with both the working
> and non-working setups?  It should really work even if the ear is
> exploded.
> 
> Thanks,
> Emil
> 
>> Scott Ferguson wrote:
>>>
>>> On Feb 13, 2008, at 10:31 AM, Matt Johnston wrote:
>>>
>>>> I just tried this with the 2/11 snapshot, and the same error occurs.  
>>>> The
>>>> persistence.xml is never read, or at least there is no logging to say
>>>> otherwise.
>>> Thanks for checking, Matt.
>>>
>>> I've filed it as http://bugs.caucho.com/view.php?id=2435.  It's  
>>> something that needs to be fixed before we release 3.1.5.
> 
> ============================================================
> 
> Emil Ong
> Chief Evangelist
> Caucho Technology, Inc.
> Tel. (858) 456-0300
> mailto:[EMAIL PROTECTED]
> 
> Caucho: Reliable Open Source
> --> Resin: application server
> --> Quercus: PHP in Java
> --> Hessian Web Services
> 
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 
> 


-- 

Matt Johnston
http://www.lattaoutdoors.com
http://www.gearapalooza.com


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to