openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2316) Trying to deploy openCRX - Enterprise Class CRM
Date Fri, 04 Jan 2013 15:20:12 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543945#comment-13543945
] 

Rick Curtis commented on OPENJPA-2316:
--------------------------------------

> Caused by: java.lang.IllegalStateException: Found multiple properties with different
valid prefixes. Properties: Log, openjpa.Log. 
The exception seems to indicate a problem.... What do you have set for persistent properties
?
                
> Trying to deploy  openCRX - Enterprise Class CRM 
> -------------------------------------------------
>
>                 Key: OPENJPA-2316
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2316
>             Project: OpenJPA
>          Issue Type: Bug
>            Reporter: Lalit Prasad Shah
>
> C:\CR3\opencrxServer-2.10.0\apache-tomee-webprofile-1.0.0\apps\opencrx-core-CRX
> org.apache.openejb.OpenEJBException: Creating application failed: C:\CR3\opencrxServer-2.10.0\apache-tomee-webprofile-1.0.0\apps\opencrx-core-CRX:
java.util.concurrent.ExecutionException: <openjpa-2.1.1-r422266:1148538 fatal general error>
org.apache.openjpa.persistence.PersistenceException: There was an error when invoking the
static newInstance method on the named factory class "org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory".
 See the nested exception for details.: <openjpa-2.1.1-r422266:1148538 fatal general error>
org.apache.openjpa.persistence.PersistenceException: There was an error when invoking the
static newInstance method on the named factory class "org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory".
 See the nested exception for details.
> 	at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:909)
> 	at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:506)
> 	at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:411)
> 	at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:325)
> 	at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:144)
> 	at org.apache.openejb.OpenEJB.init(OpenEJB.java:290)
> 	at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:209)
> 	at org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:127)
> 	at org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:104)
> 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> 	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
> 	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:343)
> 	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:323)
> 	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
> 	at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
> 	at org.apache.catalina.startup.Catalina.load(Catalina.java:575)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:262)
> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:430)
> Caused by: org.apache.openejb.OpenEJBException: java.util.concurrent.ExecutionException:
<openjpa-2.1.1-r422266:1148538 fatal general error> org.apache.openjpa.persistence.PersistenceException:
There was an error when invoking the static newInstance method on the named factory class
"org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory".  See the nested exception for details.:
<openjpa-2.1.1-r422266:1148538 fatal general error> org.apache.openjpa.persistence.PersistenceException:
There was an error when invoking the static newInstance method on the named factory class
"org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory".  See the nested exception for details.
> 	at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:635)
> 	... 21 more
> Caused by: java.util.concurrent.ExecutionException: <openjpa-2.1.1-r422266:1148538
fatal general error> org.apache.openjpa.persistence.PersistenceException: There was an
error when invoking the static newInstance method on the named factory class "org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory".
 See the nested exception for details.
> 	at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
> 	at java.util.concurrent.FutureTask.get(Unknown Source)
> 	at org.apache.openejb.assembler.classic.PersistenceBuilder.createEmf(PersistenceBuilder.java:169)
> 	at org.apache.openejb.assembler.classic.PersistenceBuilder.createEntityManagerFactory(PersistenceBuilder.java:150)
> 	at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:629)
> 	... 21 more
> Caused by: <openjpa-2.1.1-r422266:1148538 fatal general error> org.apache.openjpa.persistence.PersistenceException:
There was an error when invoking the static newInstance method on the named factory class
"org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory".  See the nested exception for details.
> 	at org.apache.openjpa.kernel.Bootstrap.newBrokerFactory(Bootstrap.java:73)
> 	at org.apache.openjpa.persistence.PersistenceProviderImpl.getBrokerFactory(PersistenceProviderImpl.java:151)
> 	at org.apache.openjpa.persistence.PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceProviderImpl.java:191)
> 	at org.apache.openjpa.persistence.PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceProviderImpl.java:66)
> 	at org.apache.openejb.assembler.classic.EntityManagerFactoryCallable.call(EntityManagerFactoryCallable.java:45)
> 	at org.apache.openejb.assembler.classic.EntityManagerFactoryCallable.call(EntityManagerFactoryCallable.java:27)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
> 	at java.util.concurrent.FutureTask.run(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> 	at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.IllegalStateException: Found multiple properties with different
valid prefixes. Properties: Log, openjpa.Log.
> 	at org.apache.openjpa.lib.conf.ProductDerivations.getConfigurationKey(ProductDerivations.java:168)
> 	at org.apache.openjpa.lib.conf.ConfigurationImpl.findValue(ConfigurationImpl.java:765)
> 	at org.apache.openjpa.lib.conf.ConfigurationImpl.fromProperties(ConfigurationImpl.java:649)
> 	at org.apache.openjpa.lib.conf.MapConfigurationProvider.setInto(MapConfigurationProvider.java:85)
> 	at org.apache.openjpa.persistence.PersistenceProductDerivation$ConfigurationProviderImpl.setInto(PersistenceProductDerivation.java:698)
> 	at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newInstance(JDBCBrokerFactory.java:60)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:131)
> 	at org.apache.openjpa.kernel.Bootstrap.newBrokerFactory(Bootstrap.java:65)
> 	... 10 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message