You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Dmitry Sklyut (JIRA)" <ji...@apache.org> on 2009/05/15 19:53:45 UTC
[jira] Created: (FELIX-1161) Stange classloading issues when using
compendium services
Stange classloading issues when using compendium services
---------------------------------------------------------
Key: FELIX-1161
URL: https://issues.apache.org/jira/browse/FELIX-1161
Project: Felix
Issue Type: Bug
Components: Karaf
Environment: karaf-1.2.0-SNAPSHOT, OSX, Java5
Reporter: Dmitry Sklyut
Problem is discussed here: http://www.nabble.com/-karaf--Equinox-integration-problem---and-possible-solution-to23559788.html
Looks like an issues comes up when using compendium services with springDM and equinox.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-1161) Stange classloading issues when using
compendium services
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved FELIX-1161.
------------------------------------
Resolution: Fixed
Fix Version/s: karaf-1.0.0
Assignee: Guillaume Nodet
The compendium jar has been removed from the karaf distribution, so I think it should solve the problems.
Please reopen if needed.
> Stange classloading issues when using compendium services
> ---------------------------------------------------------
>
> Key: FELIX-1161
> URL: https://issues.apache.org/jira/browse/FELIX-1161
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Environment: karaf-1.2.0-SNAPSHOT, OSX, Java5
> Reporter: Dmitry Sklyut
> Assignee: Guillaume Nodet
> Fix For: karaf-1.0.0
>
> Attachments: karaf.issue.tgz
>
>
> Problem is discussed here: http://www.nabble.com/-karaf--Equinox-integration-problem---and-possible-solution-to23559788.html
> Looks like an issues comes up when using compendium services with springDM and equinox.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-1161) Stange classloading issues when using
compendium services
Posted by "Dmitry Sklyut (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Sklyut updated FELIX-1161:
---------------------------------
Attachment: karaf.issue.tgz
Attached is a maven project to reproduce a problem.
There are number of profiles in that project:
1. with-compendium - generates a bundle that uses springdm compendium extensions
2. without-compendium - opposite of #1
3. spring-new - pulls in extra springframework jars with new (org.springframework.*) artifact format. see FELIX-1150 for patches. By default it builds with old artifact name (i.e. spring-*).
5. karaf - profile to generate a zip file for deployment into $karaf_home/deploy
For testing:
1. Build karaf from trunk ( I haven't tried existing builds)
2. Build an attached karaf.issue maven project
mvn clean install -Pkaraf,with-compendium
3. start karaf
4. unzip ${karaf.issue.home}/provision/target/deploy.zip to $karaf_home/deploy
Should see:
Exception in thread "SpringOsgiExtenderThread-32" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in URL [bundleentry://75.fwk5663340/META-INF/spring/applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/JDBCException
and Spring AppContext for Hibernate bundle (look for Hibernate (1.0.0-SNAPSHOT) in osgi/list) will not be started.
To test without compendium services:
1. Build karaf from trunk ( I haven't tried existing builds)
2. Build an attached karaf.issue maven project
mvn clean install -Pkaraf,without-compendium
3. start karaf
4. unzip ${karaf.issue.home}/provision/target/deploy.zip to $karaf_home/deploy
Deploys fine and all springcontexts are started and services are published.
Note: I have FELIX-1150 incorporated. If that is true for you or you have to test with 2.5.6.SEC01 run above maven with spring-new profile.
> Stange classloading issues when using compendium services
> ---------------------------------------------------------
>
> Key: FELIX-1161
> URL: https://issues.apache.org/jira/browse/FELIX-1161
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Environment: karaf-1.2.0-SNAPSHOT, OSX, Java5
> Reporter: Dmitry Sklyut
> Attachments: karaf.issue.tgz
>
>
> Problem is discussed here: http://www.nabble.com/-karaf--Equinox-integration-problem---and-possible-solution-to23559788.html
> Looks like an issues comes up when using compendium services with springDM and equinox.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.