openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fabian (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-1695) OutOfMemoryError from CacheMarshallerImpl.setInputUrlFromResourceLocation.
Date Fri, 18 Nov 2011 11:00:52 GMT

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

fabian commented on OPENJPA-1695:
---------------------------------

Hi,
I getting the below error "Caused By: <openjpa-1.1.1-SNAPSHOT-r422266:930378 fatal internal
error>
org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance
method on the named factory class"

I understood this is a bug..But how should i fix it??Please help..Im facing this problem on
production server (after i installed fusion middleware 11g on solaris Sparc)

Regards
Fabian
                
> OutOfMemoryError from CacheMarshallerImpl.setInputUrlFromResourceLocation.
> --------------------------------------------------------------------------
>
>                 Key: OPENJPA-1695
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1695
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 1.1.1, 2.0.0, 2.1.0
>            Reporter: Ravi P Palacherla
>            Assignee: Ravi P Palacherla
>            Priority: Minor
>             Fix For: 1.1.1, 2.1.0
>
>         Attachments: OPENJPA-1695-11x.patch, OPENJPA-1695-trunk.patch
>
>
> Caused By: <openjpa-1.1.1-SNAPSHOT-r422266:930378 fatal internal error> 
> org.apache.openjpa.util.InternalException: There was an error when invoking the static
getInstance method on the named factory class 
> "org.apache.openjpa.abstractstore.AbstractStoreBrokerFactory".  See the nested exception
for details. 
>     at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:95) 
>     at kodo.jdo.PersistenceManagerFactoryImpl.getPersistenceManagerFactory(PersistenceManagerFactoryImpl.java:41)

>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

>     at java.lang.reflect.Method.invoke(Method.java:597) 
>     at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:534) 
> caused by 
> java.lang.OutOfMemoryError: Java heap space 
>     at java.util.Arrays.copyOf(Arrays.java:2760) 
>     at java.util.Arrays.copyOf(Arrays.java:2734) 
>     at java.util.ArrayList.ensureCapacity(ArrayList.java:167) 
>     at java.util.ArrayList.add(ArrayList.java:351) 
>     at org.apache.openjpa.conf.CacheMarshallerImpl.setInputUrlFromResourceLocation(CacheMarshallerImpl.java:226)

>     at org.apache.openjpa.conf.CacheMarshallerImpl.endConfiguration(CacheMarshallerImpl.java:207)

>     at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:505)

>     at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:430)

>     at org.apache.openjpa.lib.conf.PluginListValue.instantiate(PluginListValue.java:93)

>     at org.apache.openjpa.conf.CacheMarshallersValue.instantiate(CacheMarshallersValue.java:60)

>     at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83) 
>     at org.apache.openjpa.conf.CacheMarshallersValue.initialize(CacheMarshallersValue.java:117)

>     at org.apache.openjpa.conf.CacheMarshallersValue.getMarshallerById(CacheMarshallersValue.java:81)

>     at org.apache.openjpa.conf.CacheMarshallersValue.getMarshallerById(CacheMarshallersValue.java:108)

>     at org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataRepositoryValue.java:54)

>     at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83) 
>     at org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:843)

>     at org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:834)

>     at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:638)

>     at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:131)

>     at org.apache.openjpa.abstractstore.AbstractStoreBrokerFactory.getInstance(AbstractStoreBrokerFactory.java:83)

>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

>     at java.lang.reflect.Method.invoke(Method.java:597) 
>     at org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:124) 
>     at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:90) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message