Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » IllegalArgumentException: eclipselink.profiler
IllegalArgumentException: eclipselink.profiler [message #756955] Tue, 15 November 2011 12:22 Go to next message
Eclipse UserFriend
I'm getting an exception I can't seem to get past when trying to deploy Eclipselink as a JPA provider with Spring 3.04 in Tomcat 7 on JDK 6.

I see what "eclipselink.profiler" is, but I don't care about it for the moment, and didn't supply a value for it in the persistence.xml file.

Ideas, anyone? Thanks!

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/config/abis-web.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 1.1.0.r3634): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [abis-web-abisWebDS] failed.
Internal Exception: java.lang.IllegalArgumentException: eclipselink.profiler
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4681)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5184)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5179)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 1.1.0.r3634): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [abis-web-abisWebDS] failed.
Internal Exception: java.lang.IllegalArgumentException: eclipselink.profiler
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:870)
at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:189)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:225)
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
... 20 more
Caused by: Exception [EclipseLink-28018] (Eclipse Persistence Services - 1.1.0.r3634): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [abis-web-abisWebDS] failed.
Internal Exception: java.lang.IllegalArgumentException: eclipselink.profiler
at org.eclipse.persistence.exceptions.EntityManagerSetupException.predeployFailed(EntityManagerSetupException.java:210)
... 26 more
Caused by: java.lang.IllegalArgumentException: eclipselink.profiler
at org.eclipse.persistence.internal.sessions.PropertiesHandler$Prop.getPropertyValueToApply(PropertiesHandler.java:253)
at org.eclipse.persistence.internal.sessions.PropertiesHandler.getPropertyValueLogDebug(PropertiesHandler.java:97)
at org.eclipse.persistence.internal.sessions.PropertiesHandler.getPropertyValueLogDebug(PropertiesHandler.java:89)
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.updateProfiler(EntityManagerSetupImpl.java:474)
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:743)
... 25 more
Re: IllegalArgumentException: eclipselink.profiler [message #756990 is a reply to message #756955] Tue, 15 November 2011 16:25 Go to previous messageGo to next message
Eclipse UserFriend
Looks like you are using EclipseLink 1.1. The code involved changed drastically and seems like it may have been fixed in 1.2, can you try a later version?

Regards,
Chris
Re: IllegalArgumentException: eclipselink.profiler [message #757993 is a reply to message #756955] Tue, 15 November 2011 16:25 Go to previous message
Eclipse UserFriend
Looks like you are using EclipseLink 1.1. The code involved changed drastically and seems like it may have been fixed in 1.2, can you try a later version?

Regards,
Chris
Previous Topic:Descriptor Events on Entities which have not been modified during a Transaction
Next Topic:How can I check PersistenceContexts for equality
Goto Forum:
  


Current Time: Fri Jul 25 08:49:50 EDT 2025

Powered by FUDForum. Page generated in 0.05765 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top