Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gemini » Blueprint xml namespace issues, pt2(Blueprint xml namespace issues, pt2)
Blueprint xml namespace issues, pt2 [message #990024] Mon, 10 December 2012 14:32 Go to next message
eis - is currently offline eis -Friend
Messages: 16
Registered: September 2012
Junior Member
I am still getting

15:45:12,484 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-
host].[/petclinic-gemini]] (MSC service thread 1-15) Servlet /petclinic-gemini t
hrew load() exception: org.springframework.beans.factory.parsing.BeanDefinitionP
arsingException: Configuration problem: Unable to locate Spring NamespaceHandler
 for XML schema namespace [http://www.osgi.org/xmlns/blueprint/v1.0.0]
Offending resource: ServletContext resource [/WEB-INF/petclinic-servlet.xml]


with Gemini Blueprint 1.0.2 files. There was a similar discussion earlier, but that issue should've been already fixed with the latest version.

This is my blueprint config:
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd"
           >
     <bean id="FindOwnersForm"
        class="org.springframework.samples.petclinic.web.FindOwnersForm">
        <property name="service" ref="MessageService"/>
     </bean>
     <reference id="MessageService" interface="fi.eis.applications.jboss.poc.osgiservice.api.MessageService"/>
</blueprint>      


any ideas? I have the dependency in my manifest to gemini-blueprint-core, where the namespaces are, so they should be available, but apparently aren't. Using JBoss 7.1.

[Updated on: Mon, 10 December 2012 14:33]

Report message to a moderator

Re: Blueprint xml namespace issues, pt2 [message #990373 is a reply to message #990024] Wed, 12 December 2012 08:34 Go to previous messageGo to next message
eis - is currently offline eis -Friend
Messages: 16
Registered: September 2012
Junior Member
The problem might be due to fact that I'm trying to use blueprint for an existing Spring app, which contains spring libraries by itself. As Gemini Blueprint also has a reference to Spring artifacts, same classes get loaded from two different locations.

That might be the reason for the issue, but how should I go around it, assuming I can't rip off the spring libraries from the .war file in question?
Re: Blueprint xml namespace issues, pt2 [message #1234492 is a reply to message #990373] Wed, 22 January 2014 05:03 Go to previous message
Eclipse UserFriend
FWIW - I've just bumped into the same problem on Eclipse Kepler w/ Blueprint 2.0.0 M02. Problem disappeared when I followed the recommendation in the earlier discussion reference above: increase the start level of org.eclipse.gemini.blueprint.extender (I used 6).
Previous Topic:Gemini Naming and URL Context Factory
Next Topic:OSGI to access weblogic JNDI
Goto Forum:
  


Current Time: Fri Mar 29 14:27:47 GMT 2024

Powered by FUDForum. Page generated in 0.02418 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top