Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Using Spring-DM without start levels... possible?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Neil Bartlett  
View profile  
 More options Mar 17 2011, 2:05 pm
From: Neil Bartlett <njbartl...@gmail.com>
Date: Thu, 17 Mar 2011 11:05:30 -0700 (PDT)
Local: Thurs, Mar 17 2011 2:05 pm
Subject: Using Spring-DM without start levels... possible?
Hi, I'd like to work out whether it is possible to use Spring-DM
without enforcing a start order. Specifically the spring-osgi-core
bundle must be started before the extender because of XML schema
handling.

If the extender starts before spring-osgi-core then the following
exception is thrown for ALL Spring-powered bundles:

org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
Line 3 in XML document from URL [bundleentry://33.fwk32380043/META-INF/
spring/spring-beans.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>.

However, if spring-osgi-core is started before the extender then
everything works fine.

It seems that the handler registrations from META-INF/spring.handlers
in spring-osgi-core must be processed before the extender can start,
why doesn't the extender just force spring-osgi-core to start before
it begins processing Spring-powered bundles?

Many thanks,
Neil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neil Bartlett  
View profile  
 More options Mar 17 2011, 2:08 pm
From: Neil Bartlett <njbartl...@gmail.com>
Date: Thu, 17 Mar 2011 11:08:59 -0700 (PDT)
Local: Thurs, Mar 17 2011 2:08 pm
Subject: Re: Using Spring-DM without start levels... possible?
Correction to last paragraph: I mean the *schema* registrations in
META-INF/spring.schemas.

Regards
Neil

On Mar 17, 6:05 pm, Neil Bartlett <njbartl...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »