Mantis - Resin
Viewing Issue Advanced Details
3574 minor always 06-22-09 11:39 09-11-09 09:19
nam  
ferg  
normal  
closed 3.1.8  
fixed  
none    
none 4.0.2  
0003574: persistence.xml can't be found if war path contains spaces (Windows)
(rep by N. Shannon)

I checked out a branch of one of my projects to a path similar to ?C:\Documents and Settings\MyUserName\etc\? and modified Resin.conf to load an exploded webapp on that path. Deployment failed with a ServletException and the message [?test? is an unknown @PersistenceContext].

I found that moving my project to a path without spaces allowed the application to deploy normally. This was tested on Windows XP Pro, Resin 3.1.8 Pro.

Notes
(0004241)
ferg   
09-11-09 09:19   
jpa/0g0s