Thanks.
It looks good.
Type: Posts; User: polosatiy; Keyword(s):
Thanks.
It looks good.
Hello!
Is "mybatis-spring-1.0.0.jar" deployed? What is it status?
Could you provide yours bundle manifest and manifest from mybatis-spring-1.0.0.jar?
Hello.
Yes, it's possible, but you must use one of OSGi frameworks (Felix, Equinox, Knopplerfish) to get it work.
Only one J2EE AS can deploy bindles - Glassfish.
It's very important...
Hello!
Let me join to your question. I had the similar problem, but with JMS transport.
I have jms topics and queues and I have a broker. I use spring jms support to simplify development and it...
No, I use Jetty instead of Tomcat, but it's very simple to switch between them.
Also, I didn't use plain OSGi implementation with spring. I use Karaf. It has a lot of useful things and web support...
Maybe org.osgi.framework.ServiceFactory?
Hi!
Try to change
<osgi:service id="userSessionService" ref="userSessionBean"
interface="de.idarewest.backend.service.transaction.IUserSessionLifecycle" />
to
I didn't work with FUSE ESB 4, but I have an idea.
OSGi framework usually have a framework properties folder. And usually it's folder called "etc".
To check it, just put in "etc" folder any file...
Hello!
Could you show the full stacktrace when you have got IllegalArgumentException?
I think you can use:
1. BundleContext to get service manually.
2. Use Service registration and unregistration listener
see (7.1.7. Service Registration And Unregistration Lifecycle)
Try to...
I had an application with > 100 users in the simplest scenario. But it's not the users like human. Mostly, users are defferent applications. I don't see any problems with performance.
About the...
Spring DM doesn't use BundleActivator at all. It scans "META-INF/spring" folder or "Spring-Context" attribute in bundle manifest.
So, if you need to use BundleActivator, you can use it in common...
Hello.
Post the list of deployed bundles and manifest of your bundle here.
I think It's a bug and I've posted a bug to tracker
https://jira.springsource.org/browse/OSGI-818
If you need to use a file, I can suggest you to copy InputSteam from URL to a temp file like...
Show the list of deployed bundles.
Yes, you could do this.
Just make your bundle with contextA.xml as a fragment bundle. Fragment bundle attaches to parent bundle Classloader so yours <import resource="classpath*:contextA.xml"/>...
I've just checked "getFile()" method and I've found an error.
The problem with this line:
ResourceUtils.getFile(getURI(), getDescription());
URI starts from "bundle", but ResourceUtils...
I use URL.
URL url = settings.getURL();
url.openStream();
Can you post debug information about databaseFile? What is it value? It seems that OsgiResourceUtils#getSearchType method...
Yes, you could attach OsgiBundleApplicationContextListener in you bundle activator, which gets an event about your context state.
Or you could implement BundleContextAware interface in your bean...
Show your final manifest file and maven message about "not resolving dependencies in import-package"
What version of Spring are you using?
Show the list of bundles, which are deployed in your app.
Does your bundle contains "repo/test.db4o" in jar file?
That's very strange behavior. Here is my example:
<bean id="settingsBean" class="ru.test.MyBean">
<property name="settings"...
Show manifest of your bundle.
Try to write:
<property name="databaseFile" value="classpath:repo/test.db4o" />
Can you post the felix log?
It seems that you have wrong MANIFEST in your bundle.
Try to add in your manifest:
Import-Package: org.springframework.beans;version="3.0"