users@glassfish.java.net

Re: Glassfishv3 eclipselink oracle spatial problem...

From: Sanjeeb Sahoo <sahoo_at_sun.com>
Date: Thu, 26 Aug 2010 21:47:51 +0530

I think Felix is correct in reporting those missing packages. You just
added a driver in lib folder, but that's not making packages available
to OSGi runtime. What you need to do is the following:

1. Drop your driver into lib/ext.
2. Open glassfish/osgi/felix/conf/config.properties, add the missing
packages to the system bundle export package list. Alternatively, you
can add a framework extension bundle which exports the missing packages.
See [1].

Sahoo

[1]
http://weblogs.java.net/blog/2009/05/29/use-framework-extension-bundles-glassfish-v3

On Thursday 26 August 2010 09:44 PM, glassfish_at_javadesktop.org wrote:
> Hi, all
>
> i have installed glassfishv3 and because of missing bundles of eclipselink, i cannot use oracle spatial db ability of eclipselink...it always throws exceptions due to not finding classes in classpath...I think felix cannot load necessary bundles or some bundles are missing...Thus this tutorial is useless---->http://wiki.eclipse.org/Introduction_to_EclipseLink_Support_for_Oracle_Spatial_(ELUG).
> What might problem be? I can connect to relational db easily but whenever i add oracle.spatial.geometry to felix as osgi bundle and try to run my application, it always throws classnotfoundexceptions(oracle.sql,oracle.jdbc,....they all missing packages for felix)....
> Thanks for your replies in advance...
> P.S. i have put ojdbc14.jar into --->${glassfish-home}/glassfish/lib folder and my connectionpool works perfectly...
> [Message sent by forum member 'ilitheblack']
>
> http://forums.java.net/jive/thread.jspa?messageID=481082
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>