You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Carl Hall <ca...@hallwaytech.com> on 2010/08/02 20:30:21 UTC

ClassNotFound: Exported but attributes do not match

I'm baffled by the message below.  This was working a little while back but
have no explanation as to what changed to bring this about.

We're exporting the Oracle JDBC driver from a bundle as noted below.  We
have 'DynamicImport-Package: *' set on the bundle giving the message.
What attributes are mismatched?  How can I get around this?

Caused by: java.lang.ClassNotFoundException: *** Class
'oracle.jdbc.driver.OracleDriver' was not found, but this is likely normal
since package 'oracle.jdbc.driver' is dynamically imported by bundle
org.apache.sling.jcr.jackrabbit.server [26]. However, bundle
org.sakaiproject.nakamura.ojdbc [117] does export this package with
attributes that do not match. ***

Re: ClassNotFound: Exported but attributes do not match

Posted by Carl Hall <ca...@hallwaytech.com>.
I wish I had answers to your questions.  This crept up a little while back
as we continue to follow Apache Sling's trunk but we have so much volatility
in our project it's hard to say what change caused this.  We're hoping to go
back through the source using git-bisect and eventually find a broken
commit.  Thanks for your help!


On Mon, Aug 2, 2010 at 4:33 PM, Richard S. Hall <he...@ungoverned.org>wrote:

>  I can't see what would be going wrong at a glance...
>
> You say this was working and recently stopped working. Do you have any idea
> what changed in the environment (e.g., did you add new bundles, upgrade some
> bundles, upgrade the framework)?
>
> If you resolve the bundle below, what wires are generated for it by the
> framework?
>
> At worst, is there some way to boil it down to a reproducible example?
>
> -> richard
>
>
> On 8/2/10 16:19, Carl Hall wrote:
>
>> I apologize for the verbose bits below.  :-)
>>
>> Manifest-Version: 1.0
>> Bundle-DocURL: http://groups.google.com/group/sakai-nakamura
>> Built-By: chall
>> Bundle-SymbolicName: org.sakaiproject.nakamura.ojdbc
>> Bundle-Category: sakai-nakamura
>> Export-Package: oracle.security.o3logon,oracle.jdbc.connector;uses:="j
>>  avax.naming,oracle.jdbc.internal,javax.resource.spi,javax.resource,ja
>>  vax.resource.spi.security,oracle.jdbc.driver,oracle.jdbc.xa,javax.tra
>>  nsaction.xa,javax.sql,javax.security.auth,javax.resource.spi.endpoint
>>  ",oracle.jdbc.driver;uses:="oracle.security.o3logon,oracle.jdbc.xa,or
>>  acle.sql.converter,oracle.security.pki,javax.transaction.xa,oracle.jd
>>  bc.oci,oracle.sql,oracle.jdbc.internal,oracle.jdbc.util,oracle.net.ns
>>  ,oracle.jdbc,oracle.jdbc.xa.client,javax.sql,oracle.core.lmx,oracle.j
>>  dbc.oracore,oracle.jdbc.pool",oracle.jdbc.xa;uses:="oracle.jdbc.inter
>>  nal,javax.transaction.xa,javax.sql,oracle.jdbc.driver,oracle.jdbc.poo
>>  l",oracle.net.mesg,oracle.sql.converter;uses:="oracle.jdbc.driver,ora
>>  cle.i18n.text,oracle.sql,oracle.i18n.text.converter",oracle.jdbc.oci;
>>  uses:="oracle.jdbc.driver",oracle.net.nl.mesg,oracle.sql;uses:="oracl
>>  e.jdbc.internal,oracle.jdbc.util,oracle.jdbc,oracle.jdbc.driver,oracl
>>  e.sql.converter,oracle.core.lmx,oracle.jdbc.oracore",oracle.net.nl,or
>>  acle.jdbc.internal;uses:="javax.transaction.xa,oracle.jdbc.oracore,or
>>  acle.jdbc,oracle.sql,oracle.jdbc.pool",oracle.net.ano;uses:="oracle.n
>>  et.ns,oracle.net.aso",oracle.sql.converter_xcharset,oracle.jdbc.util,
>>  oracle.net.ns;uses:="oracle.net.ano,oracle.net.resolver,oracle.net.nt
>>  ,oracle.net.nl",oracle.net.resolver;uses:="oracle.net.ns,oracle.net.n
>>  t,oracle.net.jndi,oracle.net.TNSAddress,oracle.net.nl",oracle.net.nt;
>>  uses:="javax.net.ssl,oracle.net.ns,javax.security.cert,oracle.net.nl"
>>  ,oracle.net.jndi;uses:="javax.naming,javax.net.ssl,javax.net,oracle.n
>>  et.ns,javax.naming.directory",oracle.jdbc;uses:="oracle.jdbc.internal
>>  ,oracle.jdbc.driver,oracle.sql,oracle.jdbc.pool",oracle.jdbc.rowset;u
>>  ses:="org.xml.sax.helpers,javax.sql.rowset,javax.naming,javax.xml.par
>>  sers,org.xml.sax,oracle.jdbc.driver,oracle.jdbc,org.w3c.dom,javax.sql
>>  ,oracle.sql,javax.sql.rowset.spi",oracle.jpub.runtime;uses:="oracle.j
>>  dbc.internal,oracle.jdbc.driver,oracle.jdbc,oracle.sql",oracle.jdbc.x
>>  a.client;uses:="oracle.jdbc.internal,javax.transaction.xa,javax.sql,o
>>  racle.jdbc.oracore,oracle.jdbc.driver,oracle.jdbc.xa",oracle.core.lmx
>>  ,oracle.jdbc.oracore;uses:="oracle.jdbc.internal,oracle.jdbc.driver,o
>>  racle.jdbc,oracle.sql",oracle.net.TNSAddress;uses:="oracle.net.nl",or
>>  acle.net.aso,oracle.core.lvf,oracle.jdbc.pool;uses:="oracle.jdbc.inte
>>  rnal,javax.naming,oracle.ons,oracle.jdbc,oracle.jdbc.driver,oracle.jd
>>  bc.xa,oracle.jdbc.xa.client,javax.transaction.xa,oracle.jdbc.oci,java
>>  x.sql,javax.naming.spi"
>> Bundle-Version: 0.7.0.SNAPSHOT
>> Bundle-Description: This bundle wraps ojdbc14.jar.
>> Build-Jdk: 1.6.0
>> Bundle-Vendor: The Sakai Foundation
>> Bnd-LastModified: 1280772445409
>> Bundle-Name: Sakai Nakamura :: Oracle JDBC Bundle
>> Tool: Bnd-0.0.238
>> Created-By: Apache Maven Bundle Plugin
>> Bundle-ManifestVersion: 2
>> Import-Package: javax.naming,javax.naming.directory,javax.naming.spi,j
>>  avax.net,javax.net.ssl,javax.resource,javax.resource.spi,javax.resour
>>  ce.spi.endpoint,javax.resource.spi.security,javax.security.auth,javax
>>  .security.cert,javax.sql,javax.sql.rowset,javax.sql.rowset.spi,javax.
>>  transaction.xa,javax.xml.parsers,oracle.core.lmx,oracle.core.lvf,orac
>>  le.i18n.text;resolution:=optional,oracle.i18n.text.converter;resoluti
>>  on:=optional,oracle.jdbc,oracle.jdbc.connector,oracle.jdbc.driver,ora
>>  cle.jdbc.internal,oracle.jdbc.oci,oracle.jdbc.oracore,oracle.jdbc.poo
>>  l,oracle.jdbc.rowset,oracle.jdbc.util,oracle.jdbc.xa,oracle.jdbc.xa.c
>>  lient,oracle.jpub.runtime,oracle.net.TNSAddress,oracle.net.ano,oracle
>>  .net.aso,oracle.net.jndi,oracle.net.mesg,oracle.net.nl,oracle.net.nl.
>>  mesg,oracle.net.ns,oracle.net.nt,oracle.net.resolver,oracle.ons;resol
>>  ution:=optional,oracle.security.o3logon,oracle.security.pki;resolutio
>>  n:=optional,oracle.sql,oracle.sql.converter,oracle.sql.converter_xcha
>>  rset,org.w3c.dom,org.xml.sax,org.xml.sax.helpers
>> Embed-Dependency: oracle.jdbc;inline=true
>>
>>
>> On Mon, Aug 2, 2010 at 4:03 PM, Richard S. Hall<heavy@ungoverned.org
>> >wrote:
>>
>>   On 8/2/10 15:21, Carl Hall wrote:
>>>
>>>  The manifest from our oracle ojdbc bundle is attached.  To my knowledge,
>>>> we don't use any mandatory attributes.
>>>> There are no other errors in the log.  Just this CNFE over and over
>>>> (every
>>>> ~5 secs).
>>>>
>>>>  You might have to copy it into the message since the attachment appears
>>> to
>>> have been stripped.
>>>
>>> ->  richard
>>>
>>>
>>>  On Mon, Aug 2, 2010 at 2:38 PM, Richard S. Hall<heavy@ungoverned.org
>>>> <mailto:
>>>> heavy@ungoverned.org>>  wrote:
>>>>
>>>>     On 8/2/10 14:30, Carl Hall wrote:
>>>>
>>>>        I'm baffled by the message below.  This was working a little
>>>>        while back but
>>>>        have no explanation as to what changed to bring this about.
>>>>
>>>>        We're exporting the Oracle JDBC driver from a bundle as noted
>>>>        below.  We
>>>>        have 'DynamicImport-Package: *' set on the bundle giving the
>>>>        message.
>>>>        What attributes are mismatched?  How can I get around this?
>>>>
>>>>        Caused by: java.lang.ClassNotFoundException: *** Class
>>>>        'oracle.jdbc.driver.OracleDriver' was not found, but this is
>>>>        likely normal
>>>>        since package 'oracle.jdbc.driver' is dynamically imported by
>>>>        bundle
>>>>        org.apache.sling.jcr.jackrabbit.server [26]. However, bundle
>>>>        org.sakaiproject.nakamura.ojdbc [117] does export this package
>>>>        with
>>>>        attributes that do not match. ***
>>>>
>>>>
>>>>    It is possible it is exported with mandatory attributes? Perhaps
>>>>    you can show the manifest from the providing bundle. Are there any
>>>>    other messages being logged by the framework?
>>>>
>>>>    ->  richard
>>>>
>>>>    ---------------------------------------------------------------------
>>>>    To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>    <ma...@felix.apache.org>
>>>>
>>>>    For additional commands, e-mail: users-help@felix.apache.org
>>>>    <ma...@felix.apache.org>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>>  ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>

Re: ClassNotFound: Exported but attributes do not match

Posted by "Richard S. Hall" <he...@ungoverned.org>.
  I can't see what would be going wrong at a glance...

You say this was working and recently stopped working. Do you have any 
idea what changed in the environment (e.g., did you add new bundles, 
upgrade some bundles, upgrade the framework)?

If you resolve the bundle below, what wires are generated for it by the 
framework?

At worst, is there some way to boil it down to a reproducible example?

-> richard

On 8/2/10 16:19, Carl Hall wrote:
> I apologize for the verbose bits below.  :-)
>
> Manifest-Version: 1.0
> Bundle-DocURL: http://groups.google.com/group/sakai-nakamura
> Built-By: chall
> Bundle-SymbolicName: org.sakaiproject.nakamura.ojdbc
> Bundle-Category: sakai-nakamura
> Export-Package: oracle.security.o3logon,oracle.jdbc.connector;uses:="j
>   avax.naming,oracle.jdbc.internal,javax.resource.spi,javax.resource,ja
>   vax.resource.spi.security,oracle.jdbc.driver,oracle.jdbc.xa,javax.tra
>   nsaction.xa,javax.sql,javax.security.auth,javax.resource.spi.endpoint
>   ",oracle.jdbc.driver;uses:="oracle.security.o3logon,oracle.jdbc.xa,or
>   acle.sql.converter,oracle.security.pki,javax.transaction.xa,oracle.jd
>   bc.oci,oracle.sql,oracle.jdbc.internal,oracle.jdbc.util,oracle.net.ns
>   ,oracle.jdbc,oracle.jdbc.xa.client,javax.sql,oracle.core.lmx,oracle.j
>   dbc.oracore,oracle.jdbc.pool",oracle.jdbc.xa;uses:="oracle.jdbc.inter
>   nal,javax.transaction.xa,javax.sql,oracle.jdbc.driver,oracle.jdbc.poo
>   l",oracle.net.mesg,oracle.sql.converter;uses:="oracle.jdbc.driver,ora
>   cle.i18n.text,oracle.sql,oracle.i18n.text.converter",oracle.jdbc.oci;
>   uses:="oracle.jdbc.driver",oracle.net.nl.mesg,oracle.sql;uses:="oracl
>   e.jdbc.internal,oracle.jdbc.util,oracle.jdbc,oracle.jdbc.driver,oracl
>   e.sql.converter,oracle.core.lmx,oracle.jdbc.oracore",oracle.net.nl,or
>   acle.jdbc.internal;uses:="javax.transaction.xa,oracle.jdbc.oracore,or
>   acle.jdbc,oracle.sql,oracle.jdbc.pool",oracle.net.ano;uses:="oracle.n
>   et.ns,oracle.net.aso",oracle.sql.converter_xcharset,oracle.jdbc.util,
>   oracle.net.ns;uses:="oracle.net.ano,oracle.net.resolver,oracle.net.nt
>   ,oracle.net.nl",oracle.net.resolver;uses:="oracle.net.ns,oracle.net.n
>   t,oracle.net.jndi,oracle.net.TNSAddress,oracle.net.nl",oracle.net.nt;
>   uses:="javax.net.ssl,oracle.net.ns,javax.security.cert,oracle.net.nl"
>   ,oracle.net.jndi;uses:="javax.naming,javax.net.ssl,javax.net,oracle.n
>   et.ns,javax.naming.directory",oracle.jdbc;uses:="oracle.jdbc.internal
>   ,oracle.jdbc.driver,oracle.sql,oracle.jdbc.pool",oracle.jdbc.rowset;u
>   ses:="org.xml.sax.helpers,javax.sql.rowset,javax.naming,javax.xml.par
>   sers,org.xml.sax,oracle.jdbc.driver,oracle.jdbc,org.w3c.dom,javax.sql
>   ,oracle.sql,javax.sql.rowset.spi",oracle.jpub.runtime;uses:="oracle.j
>   dbc.internal,oracle.jdbc.driver,oracle.jdbc,oracle.sql",oracle.jdbc.x
>   a.client;uses:="oracle.jdbc.internal,javax.transaction.xa,javax.sql,o
>   racle.jdbc.oracore,oracle.jdbc.driver,oracle.jdbc.xa",oracle.core.lmx
>   ,oracle.jdbc.oracore;uses:="oracle.jdbc.internal,oracle.jdbc.driver,o
>   racle.jdbc,oracle.sql",oracle.net.TNSAddress;uses:="oracle.net.nl",or
>   acle.net.aso,oracle.core.lvf,oracle.jdbc.pool;uses:="oracle.jdbc.inte
>   rnal,javax.naming,oracle.ons,oracle.jdbc,oracle.jdbc.driver,oracle.jd
>   bc.xa,oracle.jdbc.xa.client,javax.transaction.xa,oracle.jdbc.oci,java
>   x.sql,javax.naming.spi"
> Bundle-Version: 0.7.0.SNAPSHOT
> Bundle-Description: This bundle wraps ojdbc14.jar.
> Build-Jdk: 1.6.0
> Bundle-Vendor: The Sakai Foundation
> Bnd-LastModified: 1280772445409
> Bundle-Name: Sakai Nakamura :: Oracle JDBC Bundle
> Tool: Bnd-0.0.238
> Created-By: Apache Maven Bundle Plugin
> Bundle-ManifestVersion: 2
> Import-Package: javax.naming,javax.naming.directory,javax.naming.spi,j
>   avax.net,javax.net.ssl,javax.resource,javax.resource.spi,javax.resour
>   ce.spi.endpoint,javax.resource.spi.security,javax.security.auth,javax
>   .security.cert,javax.sql,javax.sql.rowset,javax.sql.rowset.spi,javax.
>   transaction.xa,javax.xml.parsers,oracle.core.lmx,oracle.core.lvf,orac
>   le.i18n.text;resolution:=optional,oracle.i18n.text.converter;resoluti
>   on:=optional,oracle.jdbc,oracle.jdbc.connector,oracle.jdbc.driver,ora
>   cle.jdbc.internal,oracle.jdbc.oci,oracle.jdbc.oracore,oracle.jdbc.poo
>   l,oracle.jdbc.rowset,oracle.jdbc.util,oracle.jdbc.xa,oracle.jdbc.xa.c
>   lient,oracle.jpub.runtime,oracle.net.TNSAddress,oracle.net.ano,oracle
>   .net.aso,oracle.net.jndi,oracle.net.mesg,oracle.net.nl,oracle.net.nl.
>   mesg,oracle.net.ns,oracle.net.nt,oracle.net.resolver,oracle.ons;resol
>   ution:=optional,oracle.security.o3logon,oracle.security.pki;resolutio
>   n:=optional,oracle.sql,oracle.sql.converter,oracle.sql.converter_xcha
>   rset,org.w3c.dom,org.xml.sax,org.xml.sax.helpers
> Embed-Dependency: oracle.jdbc;inline=true
>
>
> On Mon, Aug 2, 2010 at 4:03 PM, Richard S. Hall<he...@ungoverned.org>wrote:
>
>>   On 8/2/10 15:21, Carl Hall wrote:
>>
>>> The manifest from our oracle ojdbc bundle is attached.  To my knowledge,
>>> we don't use any mandatory attributes.
>>> There are no other errors in the log.  Just this CNFE over and over (every
>>> ~5 secs).
>>>
>> You might have to copy it into the message since the attachment appears to
>> have been stripped.
>>
>> ->  richard
>>
>>
>>> On Mon, Aug 2, 2010 at 2:38 PM, Richard S. Hall<heavy@ungoverned.org<mailto:
>>> heavy@ungoverned.org>>  wrote:
>>>
>>>      On 8/2/10 14:30, Carl Hall wrote:
>>>
>>>         I'm baffled by the message below.  This was working a little
>>>         while back but
>>>         have no explanation as to what changed to bring this about.
>>>
>>>         We're exporting the Oracle JDBC driver from a bundle as noted
>>>         below.  We
>>>         have 'DynamicImport-Package: *' set on the bundle giving the
>>>         message.
>>>         What attributes are mismatched?  How can I get around this?
>>>
>>>         Caused by: java.lang.ClassNotFoundException: *** Class
>>>         'oracle.jdbc.driver.OracleDriver' was not found, but this is
>>>         likely normal
>>>         since package 'oracle.jdbc.driver' is dynamically imported by
>>>         bundle
>>>         org.apache.sling.jcr.jackrabbit.server [26]. However, bundle
>>>         org.sakaiproject.nakamura.ojdbc [117] does export this package
>>>         with
>>>         attributes that do not match. ***
>>>
>>>
>>>     It is possible it is exported with mandatory attributes? Perhaps
>>>     you can show the manifest from the providing bundle. Are there any
>>>     other messages being logged by the framework?
>>>
>>>     ->  richard
>>>
>>>     ---------------------------------------------------------------------
>>>     To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>     <ma...@felix.apache.org>
>>>
>>>     For additional commands, e-mail: users-help@felix.apache.org
>>>     <ma...@felix.apache.org>
>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: ClassNotFound: Exported but attributes do not match

Posted by Carl Hall <ca...@hallwaytech.com>.
I apologize for the verbose bits below.  :-)

Manifest-Version: 1.0
Bundle-DocURL: http://groups.google.com/group/sakai-nakamura
Built-By: chall
Bundle-SymbolicName: org.sakaiproject.nakamura.ojdbc
Bundle-Category: sakai-nakamura
Export-Package: oracle.security.o3logon,oracle.jdbc.connector;uses:="j
 avax.naming,oracle.jdbc.internal,javax.resource.spi,javax.resource,ja
 vax.resource.spi.security,oracle.jdbc.driver,oracle.jdbc.xa,javax.tra
 nsaction.xa,javax.sql,javax.security.auth,javax.resource.spi.endpoint
 ",oracle.jdbc.driver;uses:="oracle.security.o3logon,oracle.jdbc.xa,or
 acle.sql.converter,oracle.security.pki,javax.transaction.xa,oracle.jd
 bc.oci,oracle.sql,oracle.jdbc.internal,oracle.jdbc.util,oracle.net.ns
 ,oracle.jdbc,oracle.jdbc.xa.client,javax.sql,oracle.core.lmx,oracle.j
 dbc.oracore,oracle.jdbc.pool",oracle.jdbc.xa;uses:="oracle.jdbc.inter
 nal,javax.transaction.xa,javax.sql,oracle.jdbc.driver,oracle.jdbc.poo
 l",oracle.net.mesg,oracle.sql.converter;uses:="oracle.jdbc.driver,ora
 cle.i18n.text,oracle.sql,oracle.i18n.text.converter",oracle.jdbc.oci;
 uses:="oracle.jdbc.driver",oracle.net.nl.mesg,oracle.sql;uses:="oracl
 e.jdbc.internal,oracle.jdbc.util,oracle.jdbc,oracle.jdbc.driver,oracl
 e.sql.converter,oracle.core.lmx,oracle.jdbc.oracore",oracle.net.nl,or
 acle.jdbc.internal;uses:="javax.transaction.xa,oracle.jdbc.oracore,or
 acle.jdbc,oracle.sql,oracle.jdbc.pool",oracle.net.ano;uses:="oracle.n
 et.ns,oracle.net.aso",oracle.sql.converter_xcharset,oracle.jdbc.util,
 oracle.net.ns;uses:="oracle.net.ano,oracle.net.resolver,oracle.net.nt
 ,oracle.net.nl",oracle.net.resolver;uses:="oracle.net.ns,oracle.net.n
 t,oracle.net.jndi,oracle.net.TNSAddress,oracle.net.nl",oracle.net.nt;
 uses:="javax.net.ssl,oracle.net.ns,javax.security.cert,oracle.net.nl"
 ,oracle.net.jndi;uses:="javax.naming,javax.net.ssl,javax.net,oracle.n
 et.ns,javax.naming.directory",oracle.jdbc;uses:="oracle.jdbc.internal
 ,oracle.jdbc.driver,oracle.sql,oracle.jdbc.pool",oracle.jdbc.rowset;u
 ses:="org.xml.sax.helpers,javax.sql.rowset,javax.naming,javax.xml.par
 sers,org.xml.sax,oracle.jdbc.driver,oracle.jdbc,org.w3c.dom,javax.sql
 ,oracle.sql,javax.sql.rowset.spi",oracle.jpub.runtime;uses:="oracle.j
 dbc.internal,oracle.jdbc.driver,oracle.jdbc,oracle.sql",oracle.jdbc.x
 a.client;uses:="oracle.jdbc.internal,javax.transaction.xa,javax.sql,o
 racle.jdbc.oracore,oracle.jdbc.driver,oracle.jdbc.xa",oracle.core.lmx
 ,oracle.jdbc.oracore;uses:="oracle.jdbc.internal,oracle.jdbc.driver,o
 racle.jdbc,oracle.sql",oracle.net.TNSAddress;uses:="oracle.net.nl",or
 acle.net.aso,oracle.core.lvf,oracle.jdbc.pool;uses:="oracle.jdbc.inte
 rnal,javax.naming,oracle.ons,oracle.jdbc,oracle.jdbc.driver,oracle.jd
 bc.xa,oracle.jdbc.xa.client,javax.transaction.xa,oracle.jdbc.oci,java
 x.sql,javax.naming.spi"
Bundle-Version: 0.7.0.SNAPSHOT
Bundle-Description: This bundle wraps ojdbc14.jar.
Build-Jdk: 1.6.0
Bundle-Vendor: The Sakai Foundation
Bnd-LastModified: 1280772445409
Bundle-Name: Sakai Nakamura :: Oracle JDBC Bundle
Tool: Bnd-0.0.238
Created-By: Apache Maven Bundle Plugin
Bundle-ManifestVersion: 2
Import-Package: javax.naming,javax.naming.directory,javax.naming.spi,j
 avax.net,javax.net.ssl,javax.resource,javax.resource.spi,javax.resour
 ce.spi.endpoint,javax.resource.spi.security,javax.security.auth,javax
 .security.cert,javax.sql,javax.sql.rowset,javax.sql.rowset.spi,javax.
 transaction.xa,javax.xml.parsers,oracle.core.lmx,oracle.core.lvf,orac
 le.i18n.text;resolution:=optional,oracle.i18n.text.converter;resoluti
 on:=optional,oracle.jdbc,oracle.jdbc.connector,oracle.jdbc.driver,ora
 cle.jdbc.internal,oracle.jdbc.oci,oracle.jdbc.oracore,oracle.jdbc.poo
 l,oracle.jdbc.rowset,oracle.jdbc.util,oracle.jdbc.xa,oracle.jdbc.xa.c
 lient,oracle.jpub.runtime,oracle.net.TNSAddress,oracle.net.ano,oracle
 .net.aso,oracle.net.jndi,oracle.net.mesg,oracle.net.nl,oracle.net.nl.
 mesg,oracle.net.ns,oracle.net.nt,oracle.net.resolver,oracle.ons;resol
 ution:=optional,oracle.security.o3logon,oracle.security.pki;resolutio
 n:=optional,oracle.sql,oracle.sql.converter,oracle.sql.converter_xcha
 rset,org.w3c.dom,org.xml.sax,org.xml.sax.helpers
Embed-Dependency: oracle.jdbc;inline=true


On Mon, Aug 2, 2010 at 4:03 PM, Richard S. Hall <he...@ungoverned.org>wrote:

>  On 8/2/10 15:21, Carl Hall wrote:
>
>> The manifest from our oracle ojdbc bundle is attached.  To my knowledge,
>> we don't use any mandatory attributes.
>> There are no other errors in the log.  Just this CNFE over and over (every
>> ~5 secs).
>>
>
> You might have to copy it into the message since the attachment appears to
> have been stripped.
>
> -> richard
>
>
>>
>> On Mon, Aug 2, 2010 at 2:38 PM, Richard S. Hall <heavy@ungoverned.org<mailto:
>> heavy@ungoverned.org>> wrote:
>>
>>     On 8/2/10 14:30, Carl Hall wrote:
>>
>>        I'm baffled by the message below.  This was working a little
>>        while back but
>>        have no explanation as to what changed to bring this about.
>>
>>        We're exporting the Oracle JDBC driver from a bundle as noted
>>        below.  We
>>        have 'DynamicImport-Package: *' set on the bundle giving the
>>        message.
>>        What attributes are mismatched?  How can I get around this?
>>
>>        Caused by: java.lang.ClassNotFoundException: *** Class
>>        'oracle.jdbc.driver.OracleDriver' was not found, but this is
>>        likely normal
>>        since package 'oracle.jdbc.driver' is dynamically imported by
>>        bundle
>>        org.apache.sling.jcr.jackrabbit.server [26]. However, bundle
>>        org.sakaiproject.nakamura.ojdbc [117] does export this package
>>        with
>>        attributes that do not match. ***
>>
>>
>>    It is possible it is exported with mandatory attributes? Perhaps
>>    you can show the manifest from the providing bundle. Are there any
>>    other messages being logged by the framework?
>>
>>    -> richard
>>
>>    ---------------------------------------------------------------------
>>    To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>    <ma...@felix.apache.org>
>>
>>    For additional commands, e-mail: users-help@felix.apache.org
>>    <ma...@felix.apache.org>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>

Re: ClassNotFound: Exported but attributes do not match

Posted by "Richard S. Hall" <he...@ungoverned.org>.
  On 8/2/10 15:21, Carl Hall wrote:
> The manifest from our oracle ojdbc bundle is attached.  To my 
> knowledge, we don't use any mandatory attributes.
> There are no other errors in the log.  Just this CNFE over and over 
> (every ~5 secs).

You might have to copy it into the message since the attachment appears 
to have been stripped.

-> richard

>
>
> On Mon, Aug 2, 2010 at 2:38 PM, Richard S. Hall <heavy@ungoverned.org 
> <ma...@ungoverned.org>> wrote:
>
>      On 8/2/10 14:30, Carl Hall wrote:
>
>         I'm baffled by the message below.  This was working a little
>         while back but
>         have no explanation as to what changed to bring this about.
>
>         We're exporting the Oracle JDBC driver from a bundle as noted
>         below.  We
>         have 'DynamicImport-Package: *' set on the bundle giving the
>         message.
>         What attributes are mismatched?  How can I get around this?
>
>         Caused by: java.lang.ClassNotFoundException: *** Class
>         'oracle.jdbc.driver.OracleDriver' was not found, but this is
>         likely normal
>         since package 'oracle.jdbc.driver' is dynamically imported by
>         bundle
>         org.apache.sling.jcr.jackrabbit.server [26]. However, bundle
>         org.sakaiproject.nakamura.ojdbc [117] does export this package
>         with
>         attributes that do not match. ***
>
>
>     It is possible it is exported with mandatory attributes? Perhaps
>     you can show the manifest from the providing bundle. Are there any
>     other messages being logged by the framework?
>
>     -> richard
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>     <ma...@felix.apache.org>
>     For additional commands, e-mail: users-help@felix.apache.org
>     <ma...@felix.apache.org>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: ClassNotFound: Exported but attributes do not match

Posted by Carl Hall <ca...@hallwaytech.com>.
The manifest from our oracle ojdbc bundle is attached.  To my knowledge, we
don't use any mandatory attributes.
There are no other errors in the log.  Just this CNFE over and over (every
~5 secs).


On Mon, Aug 2, 2010 at 2:38 PM, Richard S. Hall <he...@ungoverned.org>wrote:

>  On 8/2/10 14:30, Carl Hall wrote:
>
>> I'm baffled by the message below.  This was working a little while back
>> but
>> have no explanation as to what changed to bring this about.
>>
>> We're exporting the Oracle JDBC driver from a bundle as noted below.  We
>> have 'DynamicImport-Package: *' set on the bundle giving the message.
>> What attributes are mismatched?  How can I get around this?
>>
>> Caused by: java.lang.ClassNotFoundException: *** Class
>> 'oracle.jdbc.driver.OracleDriver' was not found, but this is likely normal
>> since package 'oracle.jdbc.driver' is dynamically imported by bundle
>> org.apache.sling.jcr.jackrabbit.server [26]. However, bundle
>> org.sakaiproject.nakamura.ojdbc [117] does export this package with
>> attributes that do not match. ***
>>
>
> It is possible it is exported with mandatory attributes? Perhaps you can
> show the manifest from the providing bundle. Are there any other messages
> being logged by the framework?
>
> -> richard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>

Re: ClassNotFound: Exported but attributes do not match

Posted by "Richard S. Hall" <he...@ungoverned.org>.
  On 8/2/10 14:30, Carl Hall wrote:
> I'm baffled by the message below.  This was working a little while back but
> have no explanation as to what changed to bring this about.
>
> We're exporting the Oracle JDBC driver from a bundle as noted below.  We
> have 'DynamicImport-Package: *' set on the bundle giving the message.
> What attributes are mismatched?  How can I get around this?
>
> Caused by: java.lang.ClassNotFoundException: *** Class
> 'oracle.jdbc.driver.OracleDriver' was not found, but this is likely normal
> since package 'oracle.jdbc.driver' is dynamically imported by bundle
> org.apache.sling.jcr.jackrabbit.server [26]. However, bundle
> org.sakaiproject.nakamura.ojdbc [117] does export this package with
> attributes that do not match. ***

It is possible it is exported with mandatory attributes? Perhaps you can 
show the manifest from the providing bundle. Are there any other 
messages being logged by the framework?

-> richard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org