[ 
https://issues.apache.org/jira/browse/IGNITE-11351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Bryan updated IGNITE-11351:
-----------------------------------
    Comment: was deleted

(was: Fix looks good, and is necessary for clustering in Karaf.  Please merge 
to master.)

> Basic "Starting Ignite inside an OSGi container" doesn't work
> -------------------------------------------------------------
>
>                 Key: IGNITE-11351
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11351
>             Project: Ignite
>          Issue Type: Bug
>          Components: osgi
>    Affects Versions: 2.7
>         Environment: Apache Felix, JDK 1.8
>            Reporter: Xander Uiterlinden
>            Priority: Major
>         Attachments: ignite-osgi-patch.diff
>
>
> When running the example from 
> [https://apacheignite.readme.io/v1.5/docs/osgi-starting-inside-a-container] 
> you're getting the following error.
> Failed to start Ignite via OSGi Activator [errMsg=Failed to find empty 
> constructor for class: 
> o.a.i.i.processors.platform.websession.PlatformDotNetSessionLockResult]class 
> Looking at the codebase this class does indeed not have an empty constructor. 
> When adding that, you'll be running into the next issue which is a 
> classloader issue. Ignite needs to be started with the correct context 
> classloader for it to start successfully.
> Please find the attached patch that resolves both problems.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to