karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: Problem resolving package javax.annotation
Date Mon, 08 Apr 2013 05:08:26 GMT
Hmm, ok misread that.
Gould you Open a Jira issue for that? So we dont Loose Track of it

Regards, Achim

Am Sonntag, 7. April 2013 schrieb Christian Müller :

> But as I wrote, this is not necessary by installing the features in Karaf.
> It's only necessary to make the validation goal of the
> features-maven-plugin happy.
>
> Best,
> Christian
>
>
> On Sat, Apr 6, 2013 at 8:34 PM, Achim Nierbeck <bcanhome@googlemail.com<javascript:;>
> >wrote:
>
> > I don't think it's a good idea to temper with the are properties in that
> > this way, you need to install a working activation bundle like from
> > geronimo. Pax-Web does use one for the servlet 3.0 stuff starting with
> > version 2.x
> >
> > Regards, Achim
> >
> > sent from mobile device
> > Am 06.04.2013 15:46 schrieb "Christian Müller" <
> > christian.mueller@gmail.com
> > >:
> >
> > > The same or similar issue with the export/import of javax.transaction.
> > The
> > > camel-ibatis features didn't validate withe the Karaf 2.3.1
> > jre.properties:
> > >
> > > [WARNING] Failed to validate feature camel-ibatis
> > > [WARNING] No export found to match javax.transaction (imported by
> > >
> > >
> >
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/1.4_3)
> > > [WARNING] No export found to match javax.transaction (imported by
> > >
> > >
> >
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ibatis-sqlmap/2.3.4.726_4)
> > >
> > > We use the following configurations:
> > >
> > >
> >
> org.osgi.framework.bootdelegation=org.apache.karaf.jaas.boot,sun.*,com.sun.*,javax.transaction,javax.transaction.*
> > >
> > > jre-1.6= \
> > >  ....
> > >  javax.transaction; javax.transaction.xa; partial=true;
> > mandatory:=partial,
> > > \
> > >  ....
> > >
> > >
> > > After changing the jre.properties to
> > > jre-1.6= \
> > >  ....
> > >  javax.transaction, \
> > >  javax.transaction.xa, \
> > >  ....
> > >
> > > it works.
> > >
> > >
> > > Than I tried to install camel-ibatis in Karaf 2.3.1:
> > > cmueller$ ./karaf clean
> > >         __ __                  ____
> > >        / //_/____ __________ _/ __/
> > >       / ,<  / __ `/ ___/ __ `/ /_
> > >      / /| |/ /_/ / /  / /_/ / __/
> > >     /_/ |_|\__,_/_/   \__,_/_/
> > >
> > >   Apache Karaf (2.3.1)
> > >
> > > Hit '<tab>' for a list of available commands
> > > and '[cmd] --help' for help on a specific command.
> > > Hit '<ctrl-d>' or type 'osgi:shutdown' or 'logout' to shutdown Karaf.
> > >
> > > karaf@root> features:chooseurl camel 2.11-SNAPSHOT
> > > adding feature url
> > > mvn:org.apache.camel.karaf/apache-camel/2.11-SNAPSHOT/xml/features
> > > karaf@root> features:install camel-ibatis
> > >
> > > and the console got frozen... :-(
> > > No log entry in the log file.
> > >
> > > I repeated the feature installation with the -v option and got the
> > > following error message in my console:
> > >
> > > karaf@root> features:install -v camel-ibatis
> > > Installing feature camel-ibatis 2.11-SNAPSHOT
> > > Installing feature camel-core 2.11-SNAPSHOT
> > > Installing feature xml-specs-api 2.2.0
> > > Installing bundle
> > >
> > >
> >
> mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.2.0
> > > Installing bundle
> > >
> > >
> >
> mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/2.2.0
> > > Installing bundle
> > >
> > >
> >
> mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.2/2.2.0
> > > Installing bundle mvn:org.codehaus.woodstox/stax2-api/3.1.1
> > > Installing bundle mvn:org.codehaus.woodstox/woodstox-core-asl/4.2.0
> > > Installing bundle
> > >
> > >
> >
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.1.1_2
> > > Installing bundle mvn:org.apache.camel/camel-core/2.11-SNAPSHOT
> > > Installing bundle
> > > mvn:org.apache.camel.karaf/camel-karaf-commands/2.11-SNAPSHOT
> > > Installing bundle mvn:commons-pool/commons-pool/1.6
> > > Installing bundle
> > > mvn:org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.2
> > > Installing bundle
> > >
> > >
> > mvn:org.apache.servicemix.b



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message