[
https://issues.jboss.org/browse/JBOSGI-473?page=com.atlassian.jira.plugin...
]
Thomas Diesler commented on JBOSGI-473:
---------------------------------------
Neil says
Unfortunately I know nothing about JBoss AS 7, however if it is an OSGi R4.2 compliant
framework implementation then it should support the property
“org.osgi.framework.executionenvironment”, as the OSGi specification requires.
You could use that property to set the list of EEs supported by the JVM, which it seems
JBoss is setting incorrectly (any JVM that supports Java1.6 implicitly also supports 1.5,
1.4, 1.3, 1.2, 1.1 and 1.0, plus also OSGi Minimum 1.0, 1.1, 1.2 etc).
Unsupported execution environment [OSGi/Minimum-1.2,
CDC-1.1/Foundation-1.1, J2SE-1.4] we have [J2SE-1.5, , JavaSE-1.6]
-----------------------------------------------------------------------------------------------------------------------
Key: JBOSGI-473
URL:
https://issues.jboss.org/browse/JBOSGI-473
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Core Framework
Reporter: jlaskowski
Assignee: Thomas Diesler
While deploying a bundle with "Bundle-RequiredExecutionEnvironment:
OSGi/Minimum-1.2, CDC-1.1/Foundation-1.1, J2SE-1.4" (Equinox DS) onto JBAS7 CR1 the
following exception is thrown:
"Unsupported execution environment [OSGi/Minimum-1.2, CDC-1.1/Foundation-1.1,
J2SE-1.4] we have [J2SE-1.5, , JavaSE-1.6]"
I think jbosgi should register all EEs down to J2SE-1.4 and on, and thus the bundle
should not fail.
I described it at
http://blog.japila.pl/2011/07/help-needed-with-unsupported-execution-envi...
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira