• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBOSS JPA problems

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

i am getting following exception. please help me

:

19:00:44,610 SEVERE [com.and.common.service.ctrl.BaseServiceController] [com.and.common.service.ctrl.BaseServiceController:run() ]: END SERVICE CONTROLLER : Exception while Processing the Service request Object ERROR:
Exception Description: An exception was thrown while searching for persistence archives with ClassLoader: BaseClassLoader@10b1ff{vfs:///C:/jboss-servers/1/jboss-6.0.0.Final/server/all/deploy/and-ear.ear}
Internal Exception: Exception [EclipseLink-30009] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while trying to load persistence unit at url: vfs:/C:/jboss-servers/1/jboss-6.0.0.Final/server/all/deploy/and-ear.ear/pt-adaptor.jar/
Internal Exception: Exception [EclipseLink-30004] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while processing persistence.xml from URL: vfs:/C:/jboss-servers/1/jboss-6.0.0.Final/server/all/deploy/and-ear.ear/pt-adaptor.jar/
Internal Exception: java.net.MalformedURLException










please help me

regards
Guru
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Eclipse JPA provider obviously doesn't like the vfs: protocol used by the JBoss virtual file system (vfs). One fix would be to switch to Hibernate.

I vaguely recall a discussion about this a while back, a search might yield the discussion and provide another answer.
reply
    Bookmark Topic Watch Topic
  • New Topic