You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Kurt T Stam (JIRA)" <ju...@ws.apache.org> on 2009/07/01 04:08:47 UTC

[jira] Commented: (JUDDI-257) Unexpected exception parsing XML document from Servlet Context resource [/WEB-INF/beans.xml]; nested exception is java.lang.StackOverflowError

    [ https://issues.apache.org/jira/browse/JUDDI-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725895#action_12725895 ] 

Kurt T Stam commented on JUDDI-257:
-----------------------------------

Hi Henry,

I think you get a wider audience using the juddi mailing list before using jira. Did you add the hibernate jars to the juddi.war? By default 3.0.0.beta is using openjpa. You can try building from source.

--Kurt

> Unexpected exception parsing XML document from Servlet Context resource [/WEB-INF/beans.xml]; nested exception is java.lang.StackOverflowError
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JUDDI-257
>                 URL: https://issues.apache.org/jira/browse/JUDDI-257
>             Project: jUDDI
>          Issue Type: Bug
>          Components: juddi-tomcat
>    Affects Versions: 3.0beta
>         Environment: Solaris - SunOS xxx 5.9 Generic_118558-27 sun4u sparc SUNW,Sun-Fire-V440
> java version "1.6.0_01"
> Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
> Java HotSpot(TM) Server VM (build 1.6.0_01-b06, mixed mode)
>            Reporter: Henri van den bulk
>            Assignee: Kurt T Stam
>         Attachments: context.xml, persistence.xml
>
>
> Downloaded the tomcat version configured to run with hibernate and Derby using config files that are in SVN. When starting up the following message is provided in the juddi.log
> {panel}
> 2009-06-30 18:15:11,212 INFO [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/juddi]] - Initializing S
> pring root WebApplicationContext
> 2009-06-30 18:15:11,212 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initializat
> ion started
> 2009-06-30 18:15:11,292 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing org.sprin
> gframework.web.context.support.XmlWebApplicationContext@186f247: display name [Root WebApplicationContext]; startup da
> te [Tue Jun 30 18:15:11 CDT 2009]; root of context hierarchy
> 2009-06-30 18:15:11,480 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean defini
> tions from ServletContext resource [/WEB-INF/beans.xml]
> 2009-06-30 18:15:11,959 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean defini
> tions from class path resource [META-INF/cxf/cxf.xml]
> 2009-06-30 18:15:12,092 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean defini
> tions from class path resource [META-INF/cxf/cxf-extension-soap.xml]
> 2009-06-30 18:15:12,156 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean defini
> tions from class path resource [META-INF/cxf/cxf-servlet.xml]
> 2009-06-30 18:15:12,263 INFO [org.apache.juddi.Registry] - Creating new jUDDI registry...
> 2009-06-30 18:15:26,754 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
> org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from Servlet
> Context resource [/WEB-INF/beans.xml]; nested exception is java.lang.StackOverflowError
> Caused by:
> java.lang.StackOverflowError
>         at java.lang.ClassLoader.findBootstrapClass(Native Method)
>         at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:154)
>         at org.apache.log4j.Category.forcedLog(Category.java:388)
>         at org.apache.log4j.Category.error(Category.java:319)
>         at org.apache.juddi.config.PersistenceManager.initializeEntityManagerFactory(PersistenceManager.java:59)
>         at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:87)
>         at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:64)
>         at org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:175)
>         at org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:38)
>         at org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:102)
>         at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:88)
>         at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:64)
>         at org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:175)
>         at org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:38)
>         at org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:102)
>         at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:88)
>         at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:64)
>         at org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:175)
>         at org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:38)
>         at org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:102)
>         at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:88)
>         at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:64)
> {panel}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.