Results 1 to 4 of 4

Thread: ToolSuite server failing

  1. #1
    Join Date
    Dec 2007
    Posts
    5

    Default ToolSuite server failing

    I'm able to start the dm server absolutely fine from the command line but when I create a dm server instance in SpringSource Tool Suite and try to start the server (No project added yet) I receive the following error:

    --------------------------------------------------------------------------------
    |
    | SpringSource dm Server
    |
    --------------------------------------------------------------------------------
    [2009-02-26 16:24:56.451] main <SPKB0001I> Server starting.
    [2009-02-26 16:24:57.592] main <SPOF0001I> OSGi telnet console available on port 2401.
    [2009-02-26 16:24:59.436] main <SPKB0002E> Start failed:
    org.osgi.framework.BundleException: Exception in org.springframework.osgi.extender.internal.activat or.ContextLoaderListener.start() of bundle org.springframework.osgi.extender.
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:102 8)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:984)
    at org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:346)
    at org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:265)
    at org.eclipse.osgi.framework.internal.core.AbstractB undle.start(AbstractBundle.java:257)
    at com.springsource.server.kernel.bootstrap.KernelBoo tstrap.start(KernelBootstrap.java:76)
    at com.springsource.server.kernel.bootstrap.Bootstrap .main(Bootstrap.java:73)
    Caused by: org.springframework.beans.factory.BeanDefinitionSt oreException: Unexpected exception parsing XML document from OSGi resource[bundleentry://7/META-INF/spring/extender/kernel-dm-context.xml|bnd.id=6|bnd.sym=org.springframework.o sgi.extender]; nested exception is javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBeanDefinitio nReader.java:420)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR eader.java:342)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR eader.java:310)
    at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinitions(AbstractB eanDefinitionReader.java:143)
    at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinitions(AbstractB eanDefinitionReader.java:178)
    at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinitions(AbstractB eanDefinitionReader.java:149)
    at org.springframework.osgi.context.support.OsgiBundl eXmlApplicationContext.loadBeanDefinitions(OsgiBun dleXmlApplicationContext.java:166)
    at org.springframework.osgi.context.support.OsgiBundl eXmlApplicationContext.loadBeanDefinitions(OsgiBun dleXmlApplicationContext.java:132)
    at org.springframework.context.support.AbstractRefres hableApplicationContext.refreshBeanFactory(Abstrac tRefreshableApplicationContext.java:123)
    at org.springframework.context.support.AbstractApplic ationContext.obtainFreshBeanFactory(AbstractApplic ationContext.java:423)
    at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:353)
    at org.springframework.osgi.context.support.AbstractD elegatedExecutionApplicationContext.normalRefresh( AbstractDelegatedExecutionApplicationContext.java: 148)
    at org.springframework.osgi.context.support.AbstractD elegatedExecutionApplicationContext$NoDependencies WaitRefreshExecutor.refresh(AbstractDelegatedExecu tionApplicationContext.java:73)
    at org.springframework.osgi.context.support.AbstractD elegatedExecutionApplicationContext.refresh(Abstra ctDelegatedExecutionApplicationContext.java:136)
    at org.springframework.osgi.extender.internal.support .ExtenderConfiguration.<init>(ExtenderConfiguratio n.java:150)
    at org.springframework.osgi.extender.internal.activat or.ContextLoaderListener.start(ContextLoaderListen er.java:388)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl$2.run(BundleContextImpl.java:1009)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:100 3)
    ... 6 more
    Caused by: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
    at javax.xml.parsers.DocumentBuilderFactory.newInstan ce(Unknown Source)
    at org.springframework.beans.factory.xml.DefaultDocum entLoader.createDocumentBuilderFactory(DefaultDocu mentLoader.java:89)
    at org.springframework.beans.factory.xml.DefaultDocum entLoader.loadDocument(DefaultDocumentLoader.java: 70)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBeanDefinitio nReader.java:396)
    ... 24 more

  2. #2
    Join Date
    Dec 2007
    Posts
    5

    Default

    The error is pretty clear "org.apache.xerces.jaxp.DocumentBuilderFactory Impl not found", I just don't understand why it runs fine from the command line but using the Tool Suite (springsource-tool-suite-1.1.1-e3.4-pue-win32) with dm server 1.0.0 it bombs out.

  3. #3
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    Try to update dmSErver tooling from http://static.springsource.com/proje...ver/sts-update. This should fix the problem, otherwise let us know

  4. #4
    Join Date
    Dec 2007
    Posts
    5

    Default

    Thank you Oleg, turns out it was a prereq on my part, I was on an older version of java 5 and once I changed to java 6 in Eclipse my server came up just fine without the xml parsing errors.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •