Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] javax packages not available

BTW, you can use Pax Runner to start up equinox and you will have the
"javax.naming" package" already exported by system bundle by default.

Alin Dreghiciu

On Wed, Apr 30, 2008 at 2:38 PM, Alin Dreghiciu <adreghiciu@xxxxxxxxx> wrote:
> In Pax Runner we are using the "org.osgi.framework.system.packages"
>  but as a system property not as part of config.ini. I cannot say for
>  sure but as much as I recall we are using the system property because
>  it does not work in config.ini.
>
>  Alin
>
>
>
>  On Wed, Apr 30, 2008 at 2:14 PM, Srijith Kochunni <ksrijith@xxxxxxxxxx> wrote:
>  >
>  >
>  >
>  >  Hi All,
>  >
>  >
>  >
>  >                  I am starting a bundle in which I use the JNDI packages and
>  > I get an exception which says
>  >
>  >                  java.lang.NoClassDefFoundError: javax/naming/InitialContext
>  >
>  >
>  >                 I found in some of the discussion forums that this happens
>  > because the javax packages are not part of the OSGi Java runtime and thus
>  > the error. I found this information here
>  > http://docs.codehaus.org/display/JETTY/OSGi+Tips which says that you must
>  > specify the javax packages in comma separated list as part of
>  > org.osgi.framework.system.packages property in the config.ini. I tried this,
>  > but I still get the same error.?
>  >
>  >
>  >                Can someone please tell me how I must make javax packages
>  > available within the OSGi runtime. ? Any help in this regard would be much
>  > appreciated.
>  >
>  >
>  >  Thanks,
>  >
>  >  Srijith.
>  >
>  >
>  >
>  > _______________________________________________
>  >  equinox-dev mailing list
>  >  equinox-dev@xxxxxxxxxxx
>  >  https://dev.eclipse.org/mailman/listinfo/equinox-dev
>  >
>  >
>


Back to the top