This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes JBOSS JPA problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBOSS JPA problems" Watch "JBOSS JPA problems" New topic
Author

JBOSS JPA problems

Guru Bojja
Greenhorn

Joined: Nov 21, 2011
Posts: 14
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

Joined: May 14, 2008
Posts: 5812
    
    7

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.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBOSS JPA problems
 
Similar Threads
SEVERE: Exception while preparing the app : Exception [EclipseLink-28018]
Problem in composite key mapping in eclipselink
no error but entity is not persisted
Jboss 6.0 Context Manager Problem
Please tell me I have a typo in my Persistence.xml