Most likely there is something wrong with your peristence config, and the error is hidden (I think this is fixed since), are you
sure you are using the tomcat bundle as is? (Using OpenJPA)

Henri van den Bulk wrote:
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. Any ideas as to what's causing this?

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 <http://web.context.ContextLoader>] - Root WebApplicationContext: initializat ion started 2009-06-30 18:15:11,292 INFO [org.springframework.web.context.support.XmlWebApplicationContext <http://web.context.support.XmlWebApplicationContext>] - Refreshing org.sprin gframework.web.context.support.xmlwebapplicationcont...@186f247 <mailto:gframework.web.context.support.xmlwebapplicationcont...@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 <http://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) Logged this issue as https://issues.apache.org/jira/browse/JUDDI-257 as well


Reply via email to