Problem resolving blueprint.xsd [message #1121495] |
Mon, 30 September 2013 17:35 |
Thorsten Schlathölter Messages: 312 Registered: February 2012 Location: Düsseldorf |
Senior Member |
|
|
Hi all,
I have a problem in getting my gemini blueprint server application running. I know it worked before (a couple of month ago) and I did not touch the workspace or the launch configuration.
The problem is that the
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
cannot be resolved by the schema resolver. I get the following error:
2013-09-30 13:56:57,409 TRACE org.eclipse.gemini.blueprint.util.BundleDelegatingClassLoader ()- Looking for resource org/springframework/beans/factory/xml/spring-beans-2.5.xsd
2013-09-30 13:56:57,409 TRACE org.eclipse.gemini.blueprint.util.BundleDelegatingClassLoader ()- Found resource org/springframework/beans/factory/xml/spring-beans-2.5.xsd at bundleresource://72.fwk25463023/org/springframework/beans/factory/xml/spring-beans-2.5.xsd
2013-09-30 13:56:57,409 DEBUG org.springframework.beans.factory.xml.PluggableSchemaResolver ()- Found XML schema [http://www.springframework.org/schema/beans/spring-beans-2.5.xsd] in classpath: org/springframework/beans/factory/xml/spring-beans-2.5.xsd
2013-09-30 13:56:57,409 TRACE org.eclipse.gemini.blueprint.context.support.ChainedEntityResolver ()- Entity [null|http://www.springframework.org/schema/beans/spring-beans-2.5.xsd] was resolved through entity resolver LocalEntityResolver for bundle Web Bundle (com.portigon.server.web)
2013-09-30 13:56:57,409 TRACE org.eclipse.gemini.blueprint.context.support.ChainedEntityResolver ()- Trying to resolve entity [null|http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd] through resolver LocalEntityResolver for bundle Web Bundle (com.portigon.server.web)
2013-09-30 13:57:02,579 TRACE org.eclipse.gemini.blueprint.context.support.ChainedEntityResolver ()- Entity [null|http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd] was not resolved through entity resolver LocalEntityResolver for bundle Web Bundle (com.portigon.server.web)
2013-09-30 13:57:02,579 TRACE org.eclipse.gemini.blueprint.context.support.ChainedEntityResolver ()- Trying to resolve entity [null|http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd] through resolver OSGi Service resolver
2013-09-30 13:57:08,561 TRACE org.eclipse.gemini.blueprint.context.support.ChainedEntityResolver ()- Entity [null|http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd] was not resolved through entity resolver OSGi Service resolver
2013-09-30 14:00:17,801 DEBUG org.eclipse.virgo.web.dm.ServerOsgiBundleXmlWebApplicationContext ()- Refresh error
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 15 in XML document from URL [bundleentry://33.fwk25463023/WEB-INF/com.portigon.server.web-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
Since the blueprint.xsd cannot be resolved locally a socket connection is opened to gather the schema definition. The problem is that I am sitting behind a corporate firewall and access to web resources is only granted by a proxy. So the socket basically waits for the timeout and then the above exception is thrown. I know that the application was able to resolve that file locally before but I am not sure how it did accomplish this.
Any ideas?
Thanks in advance
Thorsten
|
|
|
|
Powered by
FUDForum. Page generated in 0.03358 seconds