You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by th zhao <nw...@gmail.com> on 2009/07/12 10:00:28 UTC

an error when runing Juddi server in eclipse

hi, all

   I want to run juddi server in eclipse, but some error showed in
juddi.logs,  "A JDBC Driver or DataSource class name must be specified in
the ConnectionDriverName property" . so I modified the persistence.xml and
removed the comments. There are still error when I run the project again.
   I have another question.  Where and when is the class
"org.apache.juddi.Registry" initialized and invoked.  Is it loaded by
org.springframework.web.context.ContextLoaderListener, but i cant find the
config in beans.xml.


2009-07-12 15:45:01,078 INFO
[org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/juddi3]] -
Initializing Spring root WebApplicationContext
2009-07-12 15:45:01,078 INFO [org.springframework.web.context.ContextLoader]
- Root WebApplicationContext: initialization started
2009-07-12 15:45:01,125 INFO
[org.springframework.web.context.support.XmlWebApplicationContext] -
Refreshing
org.springframework.web.context.support.XmlWebApplicationContext@43da1b:
display name [Root WebApplicationContext]; startup date [Sun Jul 12 15:45:01
CST 2009]; root of context hierarchy
2009-07-12 15:45:01,250 INFO
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading
XML bean definitions from ServletContext resource [/WEB-INF/beans.xml]
2009-07-12 15:45:01,484 INFO
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading
XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
2009-07-12 15:45:01,593 INFO
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading
XML bean definitions from class path resource
[META-INF/cxf/cxf-extension-soap.xml]
2009-07-12 15:45:01,625 INFO
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading
XML bean definitions from class path resource [META-INF/cxf/cxf-servlet.xml]
2009-07-12 15:45:01,703 INFO [org.apache.juddi.Registry] - Creating new
jUDDI registry...
2009-07-12 15:45:02,640 ERROR
[org.springframework.web.context.ContextLoader] - Context initialization
failed
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
exception parsing XML document from ServletContext resource
[/WEB-INF/beans.xml]; nested exception is
org.springframework.beans.FatalBeanException: Could not load class:
org.apache.juddi.api.impl.UDDIInquiryImpl; nested exception is
<openjpa-1.2.0-r422266:683325 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: There were errors
initializing your configuration: <openjpa-1.2.0-r422266:683325 fatal user
error> org.apache.openjpa.util.UserException: A connection could not be
obtained for driver class "org.apache.derby.jdbc.EmbeddedDriver" and URL
"jdbc:derby:target/juddi-derby-test-db;create=true".  You may have specified
an invalid URL.
 at
org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:256)
 at
org.apache.openjpa.jdbc.schema.DataSourceFactory.newDataSource(DataSourceFactory.java:125)
 at
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(JDBCConfigurationImpl.java:784)
 at
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:691)
 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:585)
 at
org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:288)
 at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1432)
 at
org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
 at
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:183)
 at
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:142)
 at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:192)
 at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:145)
 at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:56)
 at
org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:45)
 at
org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:103)
 at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:89)
 at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:65)
 at org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:176)
 at org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:198)
 at
org.apache.juddi.subscription.SubscriptionNotifier.<init>(SubscriptionNotifier.java:62)
 at org.apache.juddi.Registry.start(Registry.java:39)
 at org.apache.juddi.api.impl.BaseService.<init>(BaseService.java:35)
 at
org.apache.juddi.api.impl.AuthenticatedService.<init>(AuthenticatedService.java:34)
 at
org.apache.juddi.api.impl.UDDIInquiryImpl.<init>(UDDIInquiryImpl.java:65)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
 at java.lang.Class.newInstance0(Class.java:350)
 at java.lang.Class.newInstance(Class.java:303)
 at
org.apache.cxf.jaxws.spring.EndpointDefinitionParser.loadImplementor(EndpointDefinitionParser.java:135)
 at
org.apache.cxf.jaxws.spring.EndpointDefinitionParser.doParse(EndpointDefinitionParser.java:89)
 at
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:81)
 at
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:56)
 at
org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
 at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1123)
 at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1113)
 at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:133)
 at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:90)
 at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:468)
 at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:363)
 at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:313)
 at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:290)
 at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
 at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
 at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
 at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
 at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
 at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:394)
 at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
 at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
 at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
 at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
 at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
 at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:927)
 at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:890)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at org.apache.catalina.core.StandardService.start(StandardService.java:448)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
 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:585)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.ClassNotFoundException:
org.apache.derby.jdbc.EmbeddedDriver
 at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
 at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:164)
 at
org.apache.openjpa.jdbc.schema.DataSourceFactory.newDataSource(DataSourceFactory.java:87)
 ... 78 more
Caused by:
org.springframework.beans.FatalBeanException: Could not load class:
org.apache.juddi.api.impl.UDDIInquiryImpl; nested exception is
<openjpa-1.2.0-r422266:683325 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: There were errors
initializing your configuration: <openjpa-1.2.0-r422266:683325 fatal user
error> org.apache.openjpa.util.UserException: A connection could not be
obtained for driver class "org.apache.derby.jdbc.EmbeddedDriver" and URL
"jdbc:derby:target/juddi-derby-test-db;create=true".  You may have specified
an invalid URL.
 at
org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:256)
 at
org.apache.openjpa.jdbc.schema.DataSourceFactory.newDataSource(DataSourceFactory.java:125)
 at
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(JDBCConfigurationImpl.java:784)
 at
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:691)
 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:585)
 at
org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:288)
 at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1432)
 at
org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
 at
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:183)
 at
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:142)
 at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.ja

Serviceless Business causes Error

Posted by Jeremi Thebeau <j....@xceptance.de>.
Hi all,

when I register a business without registering any services under it, 
find_business returns a fault.

Save_Business (inbound message):

Soap Message:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header />
    <soap:Body>
        <businessDetail xmlns="urn:uddi-org:api_v3" 
xmlns:ns10="urn:uddi-org:vs_v3" 
xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" 
xmlns:ns3="urn:uddi-org:sub_v3" xmlns:ns4="urn:uddi-org:subr_v3" 
xmlns:ns5="urn:uddi-org:repl_v3" xmlns:ns6="urn:uddi-org:custody_v3" 
xmlns:ns7="urn:uddi-org:vscache_v3" xmlns:ns8="urn:uddi-org:policy_v3" 
xmlns:ns9="urn:uddi-org:policy_v3_instanceParms">
            <businessEntity 
businessKey="uddi:juddi.apache.org:3b99dc3c-ac76-4e83-bbb5-a7eb7f1bde03">
                <name xml:lang="en">
                    Xceptance - Sample Business
                </name>
            </businessEntity>
        </businessDetail>
    </soap:Body>
</soap:Envelope>

Find_Business (outbound message):

Soap Message:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
        <find_business maxRows="5" xmlns="urn:uddi-org:api_v3" 
xmlns:ns10="urn:uddi-org:policy_v3_instanceParms" 
xmlns:ns2="urn:uddi-org:custody_v3" xmlns:ns3="urn:uddi-org:repl_v3" 
xmlns:ns4="http://www.w3.org/2000/09/xmldsig#" 
xmlns:ns5="urn:uddi-org:sub_v3" xmlns:ns6="urn:uddi-org:subr_v3" 
xmlns:ns7="urn:uddi-org:vscache_v3" xmlns:ns8="urn:uddi-org:policy_v3" 
xmlns:ns9="urn:uddi-org:vs_v3">
            <authInfo>
                authtoken:23f3ffae-2169-4066-b46f-3cecba87f5f2
            </authInfo>
            <findQualifiers>
                <findQualifier>
                    sortByNameDesc
                </findQualifier>
                <findQualifier>
                    approximateMatch
                </findQualifier>
            </findQualifiers>
            <name xml:lang="en">
                %
            </name>
        </find_business>
    </S:Body>
</S:Envelope>

Find_Business (inbound message):

Soap Message:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header />
    <soap:Body>
        <soap:Fault>
            <faultcode>
                soap:Server
            </faultcode>
            <faultstring>
                Marshalling Error: cvc-complex-type.2.4.b: The content 
of element 'serviceInfos' is not complete. One of 
'{"urn:uddi-org:api_v3":serviceInfo}' is expected.
            </faultstring>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

This also prevents me from seeing the businesses that have registered 
services. However, If I then register a service under the new business, 
the same find_business query works fine.

Find_Business (inbound message):

Soap Message:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header />
    <soap:Body>
        <businessList xmlns="urn:uddi-org:api_v3" 
xmlns:ns10="urn:uddi-org:vs_v3" 
xmlns:ns2="http://www.w3.org/2000/09/xmldsig#" 
xmlns:ns3="urn:uddi-org:sub_v3" xmlns:ns4="urn:uddi-org:subr_v3" 
xmlns:ns5="urn:uddi-org:repl_v3" xmlns:ns6="urn:uddi-org:custody_v3" 
xmlns:ns7="urn:uddi-org:vscache_v3" xmlns:ns8="urn:uddi-org:policy_v3" 
xmlns:ns9="urn:uddi-org:policy_v3_instanceParms">
            <listDescription>
                <includeCount>
                    2
                </includeCount>
                <actualCount>
                    2
                </actualCount>
                <listHead>
                    1
                </listHead>
            </listDescription>
            <businessInfos>
                <businessInfo 
businessKey="uddi:juddi.apache.org:3b99dc3c-ac76-4e83-bbb5-a7eb7f1bde03">
                    <name xml:lang="en">
                        Xceptance - Sample Business
                    </name>
                    <serviceInfos>
                        <serviceInfo 
businessKey="uddi:juddi.apache.org:3b99dc3c-ac76-4e83-bbb5-a7eb7f1bde03" 
serviceKey="uddi:juddi.apache.org:f5455ea9-5c21-40ce-b0a1-9dc9b1dcbd6a">
                            <name xml:lang="en">
                                Xceptance XLT UDDI - Sample Service
                            </name>
                        </serviceInfo>
                    </serviceInfos>
                </businessInfo>
                <businessInfo 
businessKey="uddi:juddi.apache.org:2a18dfed-1aae-4451-84e6-e84a84698734">
                    <name xml:lang="en">
                        An Apache jUDDI Node
                    </name>
                    <description xml:lang="en">
                        This is a UDDI v3 registry node as implemented 
by Apache jUDDI.
                    </description>
                    <serviceInfos>
                        <serviceInfo 
businessKey="uddi:juddi.apache.org:2a18dfed-1aae-4451-84e6-e84a84698734" 
serviceKey="uddi:juddi.apache.org:32706335-4a21-4e67-a824-a2f10d24c32b">
                            <name xml:lang="en">
                                UDDI Publish Service
                            </name>
                        </serviceInfo>
                        <serviceInfo 
businessKey="uddi:juddi.apache.org:2a18dfed-1aae-4451-84e6-e84a84698734" 
serviceKey="uddi:juddi.apache.org:38d8e9e1-b5a6-4d9a-8064-623b2fbeff9b">
                            <name xml:lang="en">
                                UDDI Custody and Ownership Transfer Service
                            </name>
                        </serviceInfo>
                        <serviceInfo 
businessKey="uddi:juddi.apache.org:2a18dfed-1aae-4451-84e6-e84a84698734" 
serviceKey="uddi:juddi.apache.org:3c166879-be40-4df1-81ac-a4513803b018">
                            <name xml:lang="en">
                                UDDI Subscription Service
                            </name>
                        </serviceInfo>
                        <serviceInfo 
businessKey="uddi:juddi.apache.org:2a18dfed-1aae-4451-84e6-e84a84698734" 
serviceKey="uddi:juddi.apache.org:45c6fe9a-1a7d-4557-a415-2aa1f1d347a1">
                            <name xml:lang="en">
                                UDDI Subscription Listener Service
                            </name>
                        </serviceInfo>
                        <serviceInfo 
businessKey="uddi:juddi.apache.org:2a18dfed-1aae-4451-84e6-e84a84698734" 
serviceKey="uddi:juddi.apache.org:77004ccd-4a7c-46bd-9ebd-a45eb164b8f6">
                            <name xml:lang="en">
                                UDDI Inquiry Service
                            </name>
                        </serviceInfo>
                        <serviceInfo 
businessKey="uddi:juddi.apache.org:2a18dfed-1aae-4451-84e6-e84a84698734" 
serviceKey="uddi:juddi.apache.org:fb79ad83-06a3-450c-899a-1ce6daffcb3c">
                            <name xml:lang="en">
                                UDDI Security Service
                            </name>
                        </serviceInfo>
                    </serviceInfos>
                </businessInfo>
            </businessInfos>
        </businessList>
    </soap:Body>
</soap:Envelope>

Note: Furthermore, once a second business is registered (with or without 
services), I can no longer see the "An Apache jUDDI Node" business or 
anything else in the UDDIBrowser Portlet.

Details:
I'm running the juddi-portal-bundle-3.0.0.beta package downloadable from 
the website on Vista SP1.

Jeremi Thebeau

Re: an error when runing Juddi server in eclipse

Posted by Kurt T Stam <ku...@gmail.com>.
With the latest code on the  trunk it gets initialized by the 
RegistryServlet (OnStartup)

If you want to embed jUDDI you will have to call Registry.start(), 
before using the registry.

Cheers,

--Kurt




th zhao wrote:
> hi, all
>  
>    I want to run juddi server in eclipse, but some error showed in 
> juddi.logs,  "A JDBC Driver or DataSource class name must be specified 
> in the ConnectionDriverName property" . so I modified the 
> persistence.xml and removed the comments. There are still error when I 
> run the project again. 
>    I have another question.  Where and when is the class 
> "org.apache.juddi.Registry" initialized and invoked.  Is it loaded by 
> org.springframework.web.context.ContextLoaderListener, but i cant 
> find the config in beans.xml. 
>  
>  
> 2009-07-12 15:45:01,078 INFO 
> [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/juddi3]] 
> - Initializing Spring root WebApplicationContext
> 2009-07-12 15:45:01,078 INFO 
> [org.springframework.web.context.ContextLoader] - Root 
> WebApplicationContext: initialization started
> 2009-07-12 15:45:01,125 INFO 
> [org.springframework.web.context.support.XmlWebApplicationContext] - 
> Refreshing 
> org.springframework.web.context.support.XmlWebApplicationContext@43da1b 
> <ma...@43da1b>: 
> display name [Root WebApplicationContext]; startup date [Sun Jul 12 
> 15:45:01 CST 2009]; root of context hierarchy
> 2009-07-12 15:45:01,250 INFO 
> [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - 
> Loading XML bean definitions from ServletContext resource 
> [/WEB-INF/beans.xml]
> 2009-07-12 15:45:01,484 INFO 
> [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - 
> Loading XML bean definitions from class path resource 
> [META-INF/cxf/cxf.xml]
> 2009-07-12 15:45:01,593 INFO 
> [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - 
> Loading XML bean definitions from class path resource 
> [META-INF/cxf/cxf-extension-soap.xml]
> 2009-07-12 15:45:01,625 INFO 
> [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - 
> Loading XML bean definitions from class path resource 
> [META-INF/cxf/cxf-servlet.xml]
> 2009-07-12 15:45:01,703 INFO [org.apache.juddi.Registry] - Creating 
> new jUDDI registry...
> 2009-07-12 15:45:02,640 ERROR 
> [org.springframework.web.context.ContextLoader] - Context 
> initialization failed
> org.springframework.beans.factory.BeanDefinitionStoreException: 
> Unexpected exception parsing XML document from ServletContext resource 
> [/WEB-INF/beans.xml]; nested exception is 
> org.springframework.beans.FatalBeanException: Could not load class: 
> org.apache.juddi.api.impl.UDDIInquiryImpl; nested exception is 
> <openjpa-1.2.0-r422266:683325 nonfatal general error> 
> org.apache.openjpa.persistence.PersistenceException: There were errors 
> initializing your configuration: <openjpa-1.2.0-r422266:683325 fatal 
> user error> org.apache.openjpa.util.UserException: A connection could 
> not be obtained for driver class 
> "org.apache.derby.jdbc.EmbeddedDriver" and URL 
> "jdbc:derby:target/juddi-derby-test-db;create=true".  You may have 
> specified an invalid URL.
>  at 
> org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:256)
>  at 
> org.apache.openjpa.jdbc.schema.DataSourceFactory.newDataSource(DataSourceFactory.java:125)
>  at 
> org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(JDBCConfigurationImpl.java:784)
>  at 
> org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:691)
>  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:585)
>  at 
> org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:288)
>  at 
> org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1432)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:183)
>  at 
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:142)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:192)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:145)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:56)
>  at 
> org.apache.juddi.config.PersistenceManager.getEntityManager(PersistenceManager.java:45)
>  at 
> org.apache.juddi.config.AppConfig.getPersistentConfiguration(AppConfig.java:103)
>  at org.apache.juddi.config.AppConfig.loadConfiguration(AppConfig.java:89)
>  at org.apache.juddi.config.AppConfig.<init>(AppConfig.java:65)
>  at org.apache.juddi.config.AppConfig.getInstance(AppConfig.java:176)
>  at org.apache.juddi.config.AppConfig.getConfiguration(AppConfig.java:198)
>  at 
> org.apache.juddi.subscription.SubscriptionNotifier.<init>(SubscriptionNotifier.java:62)
>  at org.apache.juddi.Registry.start(Registry.java:39)
>  at org.apache.juddi.api.impl.BaseService.<init>(BaseService.java:35)
>  at 
> org.apache.juddi.api.impl.AuthenticatedService.<init>(AuthenticatedService.java:34)
>  at 
> org.apache.juddi.api.impl.UDDIInquiryImpl.<init>(UDDIInquiryImpl.java:65)
>  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>  at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>  at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>  at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>  at java.lang.Class.newInstance0(Class.java:350)
>  at java.lang.Class.newInstance(Class.java:303)
>  at 
> org.apache.cxf.jaxws.spring.EndpointDefinitionParser.loadImplementor(EndpointDefinitionParser.java:135)
>  at 
> org.apache.cxf.jaxws.spring.EndpointDefinitionParser.doParse(EndpointDefinitionParser.java:89)
>  at 
> org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:81)
>  at 
> org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:56)
>  at 
> org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
>  at 
> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1123)
>  at 
> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1113)
>  at 
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:133)
>  at 
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:90)
>  at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:468)
>  at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:363)
>  at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:313)
>  at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:290)
>  at 
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
>  at 
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
>  at 
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
>  at 
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
>  at 
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
>  at 
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:394)
>  at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
>  at 
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
>  at 
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
>  at 
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
>  at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
>  at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
>  at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
>  at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
>  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
>  at 
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:927)
>  at 
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:890)
>  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
>  at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
>  at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>  at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
>  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
>  at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
>  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
>  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>  at 
> org.apache.catalina.core.StandardService.start(StandardService.java:448)
>  at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
>  at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
>  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:585)
>  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
>  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.derby.jdbc.EmbeddedDriver
>  at 
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
>  at 
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
>  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>  at java.lang.Class.forName0(Native Method)
>  at java.lang.Class.forName(Class.java:164)
>  at 
> org.apache.openjpa.jdbc.schema.DataSourceFactory.newDataSource(DataSourceFactory.java:87)
>  ... 78 more
> Caused by:
> org.springframework.beans.FatalBeanException: Could not load class: 
> org.apache.juddi.api.impl.UDDIInquiryImpl; nested exception is 
> <openjpa-1.2.0-r422266:683325 nonfatal general error> 
> org.apache.openjpa.persistence.PersistenceException: There were errors 
> initializing your configuration: <openjpa-1.2.0-r422266:683325 fatal 
> user error> org.apache.openjpa.util.UserException: A connection could 
> not be obtained for driver class 
> "org.apache.derby.jdbc.EmbeddedDriver" and URL 
> "jdbc:derby:target/juddi-derby-test-db;create=true".  You may have 
> specified an invalid URL.
>  at 
> org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:256)
>  at 
> org.apache.openjpa.jdbc.schema.DataSourceFactory.newDataSource(DataSourceFactory.java:125)
>  at 
> org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(JDBCConfigurationImpl.java:784)
>  at 
> org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:691)
>  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:585)
>  at 
> org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:288)
>  at 
> org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1432)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
>  at 
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:183)
>  at 
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:142)
>  at 
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.ja