Re: Embedded Felix giving NumberFormatException

2007-04-26 Thread Richard S. Hall
After yet even more poking around, I am not sure what is going on... I am definitely seeing some errors from Spring...looks like some class loading issues...I am not sure. However, am I supposed to be seeing bundle 32 offering a service? If so, I am seeing that: -> services 32 Simple-Servic

Re: Embedded Felix giving NumberFormatException

2007-04-26 Thread Richard S. Hall
Well, I sort of take back what I said below...since you are not launching with the standard launcher, property substitution does not happen in the roland.properties file, so you have to overwrite that value with a "real" value. I will keep playing with it... -> richard Richard S. Hall wrote:

Re: Embedded Felix giving NumberFormatException

2007-04-26 Thread Richard S. Hall
After a quick look at your code, I noticed one thing that looks somewhat strange...I don't know if it is the root of your issues, but it is something to look at... Below you appear to read Felix' configuration properties from the roland.properties, which sets the org.osgi.framework.system.pack

Re: Embedded Felix giving NumberFormatException

2007-04-26 Thread Richard S. Hall
Ultimately, I am at a loss to explain what is going on... Perhaps, you could package the minimal set of pieces to reproduce the issue and I can try to look at it locally. Basically, I would need your launcher source with any necessary bundles to install and start. Send it to me off list. ->

Re: Embedded Felix giving NumberFormatException

2007-04-26 Thread Sameera Withanage
Today I took the latest of Felix and Spring-OSGi and built. WARNING: META-INF/services/org.apache.commons.logging.LogFactory ( org.apache.felix.moduleloader.ResourceNotFoundException: META-INF/services/org.apache.commons.logging.LogFactory) WARNING: *** Class 'org.apache.commons.logging.impl.Log4

Re: Embedded Felix giving NumberFormatException

2007-04-26 Thread Richard S. Hall
Sameera Withanage wrote: Firstly thank you for all the help. I checked out the latest code and able to run it without that numberformat exception. I think I've done something wrong. But the spring service registration issue is still there. When I launched Felix from command line I can see the

Re: Embedded Felix giving NumberFormatException

2007-04-26 Thread Sameera Withanage
Hi, This is the debug message I get when my service starts. DEBUG: WIRE: 31.0 -> org.springframework.osgi.samples.simpleservice -> 0 WARNING: META-INF/spring.handlers ( org.apache.felix.moduleloader.ResourceNotFoundException: META-INF/spring.handlers) WARNING: META-INF/spring.schemas ( org.a

Re: Embedded Felix giving NumberFormatException

2007-04-26 Thread Stuart McCulloch
Here's a thought - Spring-OSGi uses a bundle event listener to detect spring powered bundles (listener is registered by the spring-osgi-extender bundle). If this bundle is not started when your client bundle starts then it won't get the STARTED event and so won't wire up the necessary Spring serv

Re: Embedded Felix giving NumberFormatException

2007-04-26 Thread Sameera Withanage
Firstly thank you for all the help. I checked out the latest code and able to run it without that numberformat exception. I think I've done something wrong. But the spring service registration issue is still there. When I launched Felix from command line I can see the registered services of my s