First of all, I’m glad to see you’re deploying under OSGi, wonder if that’s under CICS/Liberty?
We initially auto-started Q2, but then if I recall correctly Victor was trying it under Karaf and loading other modules so we changed it not start by default.
You can set that bundle-property in many ways:
Bundle-Properties: org.jpos.q2.autostart=true
)-Dorg.jpos.q2.autostart=true
when you start your JVM)start
jPOS’ bundleThe thing is you usually don’t just use a stand-alone jPOS, you probably have your own application that needs jPOS, so jPOS gets loaded and available, but not started until your own application (coming in another OSGi bundle) starts it.
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/28288188-58e4-4bf6-8fbd-dc4a9dfe325a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
First of all, I’m glad to see you’re deploying under OSGi, wonder if that’s
under CICS/Liberty?
We initially auto-started Q2, but then if I recall correctly Victor was trying it under Karaf and loading other modules so we changed it not start by default.
You can set that bundle-property in many ways:
- You can add it to your MANIFEST.MF file (
Bundle-Properties: org.jpos.q2.autostart=true
)- You can use your OSGi framework management console to add the property
- You can use a system property (
-Dorg.jpos.q2.autostart=true
when you start your JVM)
- You can use your OSGi framework to
start
jPOS’ bundle
The thing is you usually don’t just use a stand-alone jPOS, you probably have your own appliication that needs jPOS, so jPOS gets loaded and available, but not started until your own application (coming in another OSGi bundle) starts it.
Understood, I suspected there was some evolution - as a previous look I had seen the autostart happen, so was sad to find it didn't happen this try - it wasn't obvious why.