Community
Participate
Working Groups
Build Identifier: 3.0.0.M2 I noticed that since the 3.0.0.M1 release, com.springsource.javax.transaction-1.1.0.jar is no longer in /lib. This in turn caused a missing dependency for one of my bundles in /repository/usr (org.springframework.orm-3.0.5.RELEASE.jar in my case). The only way to rectify this is to copy com.springsource.javax.transaction-1.1.0.jar into /lib. For some reason dropping it in /repository/usr has no effect. Was there a reason it was dropped? Trying to determine if this was an oversight, or if I'll need to modify my build script to copy in this jar. Reproducible: Always Steps to Reproduce: 1. Set up fresh copy of Virgo 3.0.0.M2. 2. Install org.springframework.orm-3.0.5.RELEASE.jar plus its dependencies into /repository/usr 3. Try to start a bundle that uses org.springframework.orm.hibernate3.LocalSessionFactoryBean (I can provide a sample if needed) 4. Observe bundle's failure to start (see attached stack trace)
Created attachment 190010 [details] stack trace of exception
Can you please also provide an example.
This change first surfaced in 2.2.0.M01, so I have set the version to that. The file is not present in the lib directory in either 3.0.0.M01 or 3.0.0.M02. Investigation required as to whether this is a bug or not.
Created attachment 190060 [details] sample bundle to load into /pickup. just tries to build a hibernate session factory
Created attachment 190061 [details] source code (maven project) for sample bundle
Created attachment 190062 [details] bundles to unzip into repository/usr
(In reply to comment #2) > Can you please also provide an example. Test case pieces attached. Here's how to use them: 1. Unpack fresh copy of Virgo Kernel 3.0.0.M2 2. cd to /repository/usr and unzip [1] 3. copy [2] to /pickup 4. Start Virgo. Observe stack trace. Stop Virgo. 5. Copy com.springsource.javax.transaction-1.1.0.jar to /lib 6. Start Virgo. Observe clean start of sample bundle. [1] https://bugs.eclipse.org/bugs/attachment.cgi?id=190062 [2] https://bugs.eclipse.org/bugs/attachment.cgi?id=190060 p.s. if you're having trouble downloading [1], here's the list of bundles to go into /repository/usr com.springsource.antlr-2.7.7.jar com.springsource.javassist-3.9.0.GA.jar com.springsource.javax.xml.stream-1.0.1.jar com.springsource.net.sf.cglib-2.2.0.jar com.springsource.org.apache.commons.collections-3.2.1.jar com.springsource.org.dom4j-1.6.1.jar com.springsource.org.hibernate-3.3.2.GA.jar com.springsource.org.objectweb.asm-1.5.3.jar org.springframework.aop-3.0.5.RELEASE.jar org.springframework.asm-3.0.5.RELEASE.jar org.springframework.beans-3.0.5.RELEASE.jar org.springframework.context-3.0.5.RELEASE.jar org.springframework.core-3.0.5.RELEASE.jar org.springframework.expression-3.0.5.RELEASE.jar org.springframework.jdbc-3.0.5.RELEASE.jar org.springframework.orm-3.0.5.RELEASE.jar org.springframework.transaction-3.0.5.RELEASE.jar
(In reply to comment #0) javax.transaction* is in the "org.osgi.framework.system.packages" (see lib/java6-server.profile). javax.transaction,\ javax.transaction;version="1.0.1",\ javax.transaction;version="1.1.0",\ javax.transaction.xa,\ javax.transaction.xa;version="1.0.1",\ javax.transaction.xa;version="1.1.0",\ I think that is the reason why dropping the jar in repository makes no difference.
This jar was reinstated on the 2.1.x line but never on the master line, this was an error and I have added it back in.
(In reply to comment #9) > This jar was reinstated on the 2.1.x line but never on the master line, this > was an error and I have added it back in. Great. Thank you!