Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBOSS JPA problems

 
Guru Bojja
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • 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
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic