I'm hitting the Spring Roo / Oracle OSGi driver issue that plenty of others have hit and seem to have solved.
"Springsource currently can't host an OSGi wrapped Oracle driver" so it appears you need to take you existing non-OSGi one a wrap it.
I've been following the steps <a href="http://nidget.wordpress.com/2011/07/21/how-to-osgify-an-oracle-jdbc-driver-with-spring-roo/" rel="nofollow noreferrer">here</a> with the driver for Oracle 11g, version 2's driver.
Got completely stuck with step 11,
<ol start="11">
<li>Remove the faulty OSGI driver from the Felix repository:
<ul>
<li>Use “osgi ps” to retrieve the ID of the OSGI bundle to remove.</li>
<li>Use “osgi headers” to get the Bundle-SymbolicName of the corresponding OSGI bundle. Probably
or
.</li>
<li>Use
</li>
</ul></li>
</ol>
I've no background with osgi at all and despite getting the
missing dependency indicated when you run:
can't progress with the osgi phases to uninstall these dependencies from OSGi.
Could anyone console dump the commands to do this, however noddy.
Much appreciated - Roo allows a basic app to be build real fast, but roo-oracle is a drop of a cliff, compared to the ease and speed of everything else.
"Springsource currently can't host an OSGi wrapped Oracle driver" so it appears you need to take you existing non-OSGi one a wrap it.
I've been following the steps <a href="http://nidget.wordpress.com/2011/07/21/how-to-osgify-an-oracle-jdbc-driver-with-spring-roo/" rel="nofollow noreferrer">here</a> with the driver for Oracle 11g, version 2's driver.
Got completely stuck with step 11,
<ol start="11">
<li>Remove the faulty OSGI driver from the Felix repository:
<ul>
<li>Use “osgi ps” to retrieve the ID of the OSGI bundle to remove.</li>
<li>Use “osgi headers” to get the Bundle-SymbolicName of the corresponding OSGI bundle. Probably
Code:
com.oracle.roo.jdbc.ojdbc5
Code:
com.oracle.roo.jdbc.ojdbc6
<li>Use
Code:
osgi uninstall –bundleSymbolicName com.oracle.roo.jdbc.ojdbcx
</ul></li>
</ol>
I've no background with osgi at all and despite getting the
Code:
com.sun.security.auth.module
Code:
roo> database reverse engineer --shema xxx
can't progress with the osgi phases to uninstall these dependencies from OSGi.
Could anyone console dump the commands to do this, however noddy.
Much appreciated - Roo allows a basic app to be build real fast, but roo-oracle is a drop of a cliff, compared to the ease and speed of everything else.