[jboss-jira] [JBoss JIRA] (AS7-4840) OSGi subsystem does not call BundleActivator
Rico Neubauer (JIRA)
jira-events at lists.jboss.org
Mon May 21 03:29:17 EDT 2012
[ https://issues.jboss.org/browse/AS7-4840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rico Neubauer updated AS7-4840:
-------------------------------
Steps to Reproduce:
You can use attached simple OSGi bundle having an BundleActivator, or any other bundle with activator.
Deploy it via JBoss-web-console
was:You can use attached simple OSGi bundle having an BundleActivator, or any other bundle with activator.
Thanks Thomas for looking into this.
Unfortunately I have to reopen it. Seems it happens when deployed via JBoss-web-console (or when manually adding all the configuration to domain.xml). Here are my exact steps to reproduce:
1. Extracted Vanilla JBoss 7.1.2.Final
2. Added user via jboss/bin/add-user.bat
3. Started in domain mode: jboss/bin/domain.bat
4. Added bundle via http://localhost:9990/console/ with before created user.
5. Added and activated bundle to group "full".
Below is the log outcome:
{noformat}
[Host Controller] 09:24:12,086 INFO [org.jboss.as.repository] (HttpManagementService-threads - 1) JBAS014900: Content an Speicherort D:\test\jboss-as-7.1.2.Final\domain\data\content\99\86f537e51f000eed004b5d23a5bc5afb6b51c4\content hinzugefügt
[Server:server-one] 09:24:19,667 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "SimpleOSGi_1.0.0.201205181614.jar"
[Server:server-one] 09:24:19,778 INFO [org.jboss.osgi.framework] (MSC service thread 1-8) JBOSGI011006: OSGi Framework - 1.3.0.Final
[Server:server-one] 09:24:20,207 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011001: Bundle installed: jboss-osgi-logging:1.0.0
[Server:server-one] 09:24:20,220 INFO [org.jboss.osgi.framework] (MSC service thread 1-13) JBOSGI011001: Bundle installed: org.apache.felix.log:1.0.0
[Server:server-one] 09:24:20,264 INFO [org.jboss.osgi.framework] (MSC service thread 1-16) JBOSGI011001: Bundle installed: jboss-as-osgi-configadmin:7.1.2.Final
[Server:server-one] 09:24:20,320 INFO [org.jboss.osgi.framework] (MSC service thread 1-7) JBOSGI011001: Bundle installed: org.jboss.spec.javax.servlet.jboss-servlet-api_2.5_spec:1.0.1.Final
[Server:server-one] 09:24:20,354 INFO [org.jboss.osgi.framework] (MSC service thread 1-8) JBOSGI011001: Bundle installed: org.apache.felix.configadmin:1.2.8
[Server:server-one] 09:24:20,412 INFO [org.jboss.osgi.framework] (MSC service thread 1-15) JBOSGI011001: Bundle installed: osgi.enterprise:4.2.0.201003190513
[Server:server-one] 09:24:20,546 INFO [org.jboss.osgi.framework] (MSC service thread 1-10) JBOSGI011011: Starting bundles for start level: 1
[Server:server-one] 09:24:20,554 INFO [org.jboss.osgi.framework] (MSC service thread 1-10) JBOSGI011002: Bundle started: org.apache.felix.log:1.0.0
[Server:server-one] 09:24:20,585 INFO [org.jboss.osgi.framework] (MSC service thread 1-10) JBOSGI011002: Bundle started: org.apache.felix.configadmin:1.2.8
[Server:server-one] 09:24:20,591 INFO [org.jboss.osgi.framework] (MSC service thread 1-10) JBOSGI011002: Bundle started: jboss-osgi-logging:1.0.0
[Server:server-one] 09:24:20,594 INFO [org.jboss.osgi.framework] (MSC service thread 1-10) JBOSGI011002: Bundle started: jboss-as-osgi-configadmin:7.1.2.Final
[Server:server-one] 09:24:20,595 INFO [org.jboss.osgi.framework] (MSC service thread 1-10) JBOSGI011000: OSGi Framework started
[Server:server-one] 09:24:20,599 INFO [org.jboss.osgi.framework] (MSC service thread 1-5) JBOSGI011001: Bundle installed: SimpleOSGi:1.0.0.201205181614
[Server:server-one] 09:24:20,644 INFO [org.jboss.as.server] (host-controller-connection-threads - 1) JBAS018559: Deployed "SimpleOSGi_1.0.0.201205181614.jar"
{noformat}
> OSGi subsystem does not call BundleActivator
> --------------------------------------------
>
> Key: AS7-4840
> URL: https://issues.jboss.org/browse/AS7-4840
> Project: Application Server 7
> Issue Type: Bug
> Components: OSGi
> Affects Versions: 7.1.2.Final (EAP)
> Reporter: Rico Neubauer
> Assignee: Thomas Diesler
> Labels: osgi
> Attachments: SimpleOSGi_1.0.0.201205181614.jar
>
>
> Occurs with JBoss 7.1.2.Final (EAP) running with jbosgi-framework 1.3.0.Final
> OSGi activators do not get called after bundle starts. Instead nothing happens.
> Test bundle attached, but happens with any activator bundle.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list