You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by tvogel <tv...@msn.com> on 2014/08/25 01:38:29 UTC

Karaf DB tutorial on 3.0.1 stuck on GracePeriod

I'm trying to run the DB/JPA tutorial from Christian Schneider.  After fixing
some deprecated imports and updating the pom.xml for recent plugins, I have 
a clean compile with no warnings or errors.

The JDBC classes work fine, although there are two warnings when deploying
the blueprint.xml.

karaf@root()> jdbc:create -t derby derbyds
karaf@root()> Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser:
Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is
not recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not
recognized.'

The JPA example does not work.  The Karaf console shows the bundle in
GracePeriod status.  The log shows 
INFO  | Local user karaf | BlueprintContainerImpl           | 19 -
org.apache.aries.blueprint.core - 1.4.0 | Bundle db-examplejpa is waiting
for namespace handlers [http://aries.apache.org/xmlns/transactions/v1.0.0]

I have the features installed that are detailed in the tutorial.
jndi       | 3.0.1 | x | enterprise-3.0.1 | OSGi Service Registry JNDI
access
jdbc       | 3.0.1 | x | enterprise-3.0.1 | JDBC service and commands
openjpa  | 2.2.2 |   | enterprise-3.0.1 | Apache OpenJPA 2.2.x persistence
engine support
openjpa  | 2.3.0 | x | enterprise-3.0.1 | Apache OpenJPA 2.3.x persistence
engine support


Any suggestions how to get the JPA example to run?




--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf DB tutorial on 3.0.1 stuck on GracePeriod

Posted by bane73 <br...@thegreshams.net>.
This was helpful.  I couldn't get JPA to work either and ended up just doing
standard SQL and figuring I'll circle back on it someday.  Of course,
"someday" never comes usually, but I'm more hopeful with a modular system
that it will be more likely.



--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891p4034905.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf DB tutorial on 3.0.1 stuck on GracePeriod

Posted by Achim Nierbeck <bc...@googlemail.com>.
yep, reading stack traces can be a challenge if not fully awake :)


2014-08-25 8:52 GMT+02:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:

> 3.0.1 I guess regarding the first e-mail ;)
>
>
> On 08/25/2014 08:47 AM, Achim Nierbeck wrote:
>
>> Hi,
>>
>> could you tell us the Karaf version you are using?
>>
>> regards, Achim
>>
>>
>> 2014-08-25 1:38 GMT+02:00 tvogel <tvogel@msn.com <mailto:tvogel@msn.com
>> >>:
>>
>>
>>     I'm trying to run the DB/JPA tutorial from Christian Schneider.
>>     After fixing
>>     some deprecated imports and updating the pom.xml for recent plugins,
>>     I have
>>     a clean compile with no warnings or errors.
>>
>>     The JDBC classes work fine, although there are two warnings when
>>     deploying
>>     the blueprint.xml.
>>
>>     karaf@root()> jdbc:create -t derby derbyds
>>     karaf@root()> Warning:
>>     org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser:
>>     Property
>>     'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is
>>     not recognized.
>>     Compiler warnings:
>>        WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property
>>     'http://javax.xml.XMLConstants/property/accessExternalDTD' is not
>>     recognized.'
>>
>>     The JPA example does not work.  The Karaf console shows the bundle in
>>     GracePeriod status.  The log shows
>>     INFO  | Local user karaf | BlueprintContainerImpl           | 19 -
>>     org.apache.aries.blueprint.core - 1.4.0 | Bundle db-examplejpa is
>>     waiting
>>     for namespace handlers
>>     [http://aries.apache.org/xmlns/transactions/v1.0.0]
>>
>>     I have the features installed that are detailed in the tutorial.
>>     jndi       | 3.0.1 | x | enterprise-3.0.1 | OSGi Service Registry JNDI
>>     access
>>     jdbc       | 3.0.1 | x | enterprise-3.0.1 | JDBC service and commands
>>     openjpa  | 2.2.2 |   | enterprise-3.0.1 | Apache OpenJPA 2.2.x
>>     persistence
>>     engine support
>>     openjpa  | 2.3.0 | x | enterprise-3.0.1 | Apache OpenJPA 2.3.x
>>     persistence
>>     engine support
>>
>>
>>     Any suggestions how to get the JPA example to run?
>>
>>
>>
>>
>>     --
>>     View this message in context:
>>     http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-
>> 1-stuck-on-GracePeriod-tp4034891.html
>>     Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>>
>>
>>
>> --
>>
>> Apache Member
>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
>> & Project Lead
>> blog <http://notizblog.nierbeck.de/>
>>
>> Software Architect / Project Manager / Scrum Master
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 

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

Software Architect / Project Manager / Scrum Master

Re: Karaf DB tutorial on 3.0.1 stuck on GracePeriod

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
3.0.1 I guess regarding the first e-mail ;)

On 08/25/2014 08:47 AM, Achim Nierbeck wrote:
> Hi,
>
> could you tell us the Karaf version you are using?
>
> regards, Achim
>
>
> 2014-08-25 1:38 GMT+02:00 tvogel <tvogel@msn.com <ma...@msn.com>>:
>
>     I'm trying to run the DB/JPA tutorial from Christian Schneider.
>     After fixing
>     some deprecated imports and updating the pom.xml for recent plugins,
>     I have
>     a clean compile with no warnings or errors.
>
>     The JDBC classes work fine, although there are two warnings when
>     deploying
>     the blueprint.xml.
>
>     karaf@root()> jdbc:create -t derby derbyds
>     karaf@root()> Warning:
>     org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser:
>     Property
>     'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is
>     not recognized.
>     Compiler warnings:
>        WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property
>     'http://javax.xml.XMLConstants/property/accessExternalDTD' is not
>     recognized.'
>
>     The JPA example does not work.  The Karaf console shows the bundle in
>     GracePeriod status.  The log shows
>     INFO  | Local user karaf | BlueprintContainerImpl           | 19 -
>     org.apache.aries.blueprint.core - 1.4.0 | Bundle db-examplejpa is
>     waiting
>     for namespace handlers
>     [http://aries.apache.org/xmlns/transactions/v1.0.0]
>
>     I have the features installed that are detailed in the tutorial.
>     jndi       | 3.0.1 | x | enterprise-3.0.1 | OSGi Service Registry JNDI
>     access
>     jdbc       | 3.0.1 | x | enterprise-3.0.1 | JDBC service and commands
>     openjpa  | 2.2.2 |   | enterprise-3.0.1 | Apache OpenJPA 2.2.x
>     persistence
>     engine support
>     openjpa  | 2.3.0 | x | enterprise-3.0.1 | Apache OpenJPA 2.3.x
>     persistence
>     engine support
>
>
>     Any suggestions how to get the JPA example to run?
>
>
>
>
>     --
>     View this message in context:
>     http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891.html
>     Sent from the Karaf - User mailing list archive at Nabble.com.
>
>
>
>
> --
>
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
> & Project Lead
> blog <http://notizblog.nierbeck.de/>
>
> Software Architect / Project Manager / Scrum Master
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Karaf DB tutorial on 3.0.1 stuck on GracePeriod

Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi,

could you tell us the Karaf version you are using?

regards, Achim


2014-08-25 1:38 GMT+02:00 tvogel <tv...@msn.com>:

> I'm trying to run the DB/JPA tutorial from Christian Schneider.  After
> fixing
> some deprecated imports and updating the pom.xml for recent plugins, I have
> a clean compile with no warnings or errors.
>
> The JDBC classes work fine, although there are two warnings when deploying
> the blueprint.xml.
>
> karaf@root()> jdbc:create -t derby derbyds
> karaf@root()> Warning:
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser:
> Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit'
> is
> not recognized.
> Compiler warnings:
>   WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property
> 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not
> recognized.'
>
> The JPA example does not work.  The Karaf console shows the bundle in
> GracePeriod status.  The log shows
> INFO  | Local user karaf | BlueprintContainerImpl           | 19 -
> org.apache.aries.blueprint.core - 1.4.0 | Bundle db-examplejpa is waiting
> for namespace handlers [http://aries.apache.org/xmlns/transactions/v1.0.0]
>
> I have the features installed that are detailed in the tutorial.
> jndi       | 3.0.1 | x | enterprise-3.0.1 | OSGi Service Registry JNDI
> access
> jdbc       | 3.0.1 | x | enterprise-3.0.1 | JDBC service and commands
> openjpa  | 2.2.2 |   | enterprise-3.0.1 | Apache OpenJPA 2.2.x persistence
> engine support
> openjpa  | 2.3.0 | x | enterprise-3.0.1 | Apache OpenJPA 2.3.x persistence
> engine support
>
>
> Any suggestions how to get the JPA example to run?
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

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

Software Architect / Project Manager / Scrum Master

Re: Karaf DB tutorial on 3.0.1 stuck on GracePeriod

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

you can find SNAPSHOT on the Apache Snapshot repository:

https://repository.apache.org/content/groups/snapshots/

The distribution is directly available:

http://repository.apache.org/content/groups/snapshots/org/apache/karaf/apache-karaf/3.0.2-SNAPSHOT/

By the way, I will deploy an updated SNAPSHOT very soon.

Regards
JB

On 08/25/2014 02:07 PM, tvogel wrote:
> Is there a pre-built distribution of the 3.0.2 snapshot that I can download?
>
> I cloned the repository from git://git.apache.org/karaf.git.  /mvn clean
> install/ is failing on the tooling build with the following error:
> Caused by: org.apache.maven.plugin.PluginContainerException: A required
> class was missing while executing
> org.apache.karaf.tooling:karaf-maven-plugin:4.0.0-SNAPSHOT:features-generate-descriptor:
> org/sonatype/aether/RepositorySystem
>
>
> I reran just the tooling build with /mvn -U clean install/ and have
> following warnings about downloading dependencies.  Note that I do not have
> any proxy setup in maven.  Both the maven and user settings.xml are
> unchanged from delivered.
>
> *setup information*
> D:\git\karaf\tooling>mvn -version
> Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4;
> 2014-08-11T16:58:10-04:00)
> Maven home: D:\dev\apache-maven-3.2.3
> Java version: 1.7.0_65, vendor: Oracle Corporation
> Java home: D:\dev\Java\jdk1.7.0_65\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"
>
> *warnings*
> [WARNING]
> /D:/git/karaf/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/MojoSupport.java:
> Recompile with -Xlint:deprecation for details.
> [WARNING]
> /D:/git/karaf/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/MojoSupport.java:
> Some input files use or override a deprecated API.
> [WARNING] Could not transfer metadata
> org.apache.karaf.deployer:org.apache.karaf.deployer.blueprint:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.blueprint/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf.deployer:org.apache.karaf.deployer.features:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.features/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf.deployer:org.apache.karaf.deployer.kar:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.kar/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf.deployer:org.apache.karaf.deployer.spring:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.spring/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf.features:features:4.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache-snapshots
> (http://repository.apache.org/content/groups/snapshots-group): Failed to
> transfer file:
> http://repository.apache.org/content/groups/snapshots-group/org/apache/karaf/features/features/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf.features:features:4.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/features/features/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf.features:org.apache.karaf.features.core:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/features/org.apache.karaf.features.core/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf.jaas:jaas:4.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/jaas/jaas/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf.jaas:org.apache.karaf.jaas.boot:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache-snapshots
> (http://repository.apache.org/content/groups/snapshots-group): Failed to
> transfer file:
> http://repository.apache.org/content/groups/snapshots-group/org/apache/karaf/jaas/org.apache.karaf.jaas.boot/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf.jaas:org.apache.karaf.jaas.config:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache-snapshots
> (http://repository.apache.org/content/groups/snapshots-group): Failed to
> transfer file:
> http://repository.apache.org/content/groups/snapshots-group/org/apache/karaf/jaas/org.apache.karaf.jaas.config/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf.jaas:org.apache.karaf.jaas.modules:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/jaas/org.apache.karaf.jaas.modules/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf.kar:org.apache.karaf.kar.core:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/kar/org.apache.karaf.kar.core/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf.shell:org.apache.karaf.shell.console:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/shell/org.apache.karaf.shell.console/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf.shell:org.apache.karaf.shell.core:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/shell/org.apache.karaf.shell.core/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf.shell:shell:4.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/shell/shell/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf:karaf:4.0.0-SNAPSHOT/maven-metadata.xml from/to
> apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/karaf/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Could not transfer metadata
> org.apache.karaf:org.apache.karaf.util:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/org.apache.karaf.util/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Failure to transfer
> org.apache.karaf.deployer:org.apache.karaf.deployer.blueprint:4.0.0-SNAPSHOT/maven-metadata.xml
> from http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced. Original error: Could
> not transfer metadata
> org.apache.karaf.deployer:org.apache.karaf.deployer.blueprint:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.blueprint/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Failure to transfer
> org.apache.karaf.deployer:org.apache.karaf.deployer.features:4.0.0-SNAPSHOT/maven-metadata.xml
> from http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced. Original error: Could
> not transfer metadata
> org.apache.karaf.deployer:org.apache.karaf.deployer.features:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.features/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Failure to transfer
> org.apache.karaf.deployer:org.apache.karaf.deployer.kar:4.0.0-SNAPSHOT/maven-metadata.xml
> from http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced. Original error: Could
> not transfer metadata
> org.apache.karaf.deployer:org.apache.karaf.deployer.kar:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.kar/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Failure to transfer
> org.apache.karaf.deployer:org.apache.karaf.deployer.spring:4.0.0-SNAPSHOT/maven-metadata.xml
> from http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced. Original error: Could
> not transfer metadata
> org.apache.karaf.deployer:org.apache.karaf.deployer.spring:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.spring/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Failure to transfer
> org.apache.karaf.features:org.apache.karaf.features.core:4.0.0-SNAPSHOT/maven-metadata.xml
> from http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced. Original error: Could
> not transfer metadata
> org.apache.karaf.features:org.apache.karaf.features.core:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/features/org.apache.karaf.features.core/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Failure to transfer
> org.apache.karaf.jaas:org.apache.karaf.jaas.boot:4.0.0-SNAPSHOT/maven-metadata.xml
> from http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced. Original error: Could
> not transfer metadata
> org.apache.karaf.jaas:org.apache.karaf.jaas.boot:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/jaas/org.apache.karaf.jaas.boot/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Failure to transfer
> org.apache.karaf.jaas:org.apache.karaf.jaas.config:4.0.0-SNAPSHOT/maven-metadata.xml
> from http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced. Original error: Could
> not transfer metadata
> org.apache.karaf.jaas:org.apache.karaf.jaas.config:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/jaas/org.apache.karaf.jaas.config/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Failure to transfer
> org.apache.karaf.jaas:org.apache.karaf.jaas.modules:4.0.0-SNAPSHOT/maven-metadata.xml
> from http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced. Original error: Could
> not transfer metadata
> org.apache.karaf.jaas:org.apache.karaf.jaas.modules:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/jaas/org.apache.karaf.jaas.modules/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Failure to transfer
> org.apache.karaf.kar:org.apache.karaf.kar.core:4.0.0-SNAPSHOT/maven-metadata.xml
> from http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced. Original error: Could
> not transfer metadata
> org.apache.karaf.kar:org.apache.karaf.kar.core:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/kar/org.apache.karaf.kar.core/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Failure to transfer
> org.apache.karaf.shell:org.apache.karaf.shell.console:4.0.0-SNAPSHOT/maven-metadata.xml
> from http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced. Original error: Could
> not transfer metadata
> org.apache.karaf.shell:org.apache.karaf.shell.console:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/shell/org.apache.karaf.shell.console/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Failure to transfer
> org.apache.karaf.shell:org.apache.karaf.shell.core:4.0.0-SNAPSHOT/maven-metadata.xml
> from http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced. Original error: Could
> not transfer metadata
> org.apache.karaf.shell:org.apache.karaf.shell.core:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/shell/org.apache.karaf.shell.core/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
> [WARNING] Failure to transfer
> org.apache.karaf:org.apache.karaf.util:4.0.0-SNAPSHOT/maven-metadata.xml
> from http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced. Original error: Could
> not transfer metadata
> org.apache.karaf:org.apache.karaf.util:4.0.0-SNAPSHOT/maven-metadata.xml
> from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
> transfer file:
> http://repository.apache.org/snapshots/org/apache/karaf/org.apache.karaf.util/4.0.0-SNAPSHOT/maven-metadata.xml.
> Return code is: 502 , ReasonPhrase:Proxy Error.
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891p4034900.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

RE: Karaf DB tutorial on 3.0.1 stuck on GracePeriod

Posted by tvogel <tv...@msn.com>.
Is there a pre-built distribution of the 3.0.2 snapshot that I can download?

I cloned the repository from git://git.apache.org/karaf.git.  /mvn clean
install/ is failing on the tooling build with the following error:
Caused by: org.apache.maven.plugin.PluginContainerException: A required
class was missing while executing
org.apache.karaf.tooling:karaf-maven-plugin:4.0.0-SNAPSHOT:features-generate-descriptor:
org/sonatype/aether/RepositorySystem


I reran just the tooling build with /mvn -U clean install/ and have
following warnings about downloading dependencies.  Note that I do not have
any proxy setup in maven.  Both the maven and user settings.xml are
unchanged from delivered.

*setup information*
D:\git\karaf\tooling>mvn -version
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4;
2014-08-11T16:58:10-04:00)
Maven home: D:\dev\apache-maven-3.2.3
Java version: 1.7.0_65, vendor: Oracle Corporation
Java home: D:\dev\Java\jdk1.7.0_65\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"

*warnings*           
[WARNING]
/D:/git/karaf/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/MojoSupport.java:
Recompile with -Xlint:deprecation for details.
[WARNING]
/D:/git/karaf/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/MojoSupport.java:
Some input files use or override a deprecated API.
[WARNING] Could not transfer metadata
org.apache.karaf.deployer:org.apache.karaf.deployer.blueprint:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.blueprint/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf.deployer:org.apache.karaf.deployer.features:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.features/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf.deployer:org.apache.karaf.deployer.kar:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.kar/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf.deployer:org.apache.karaf.deployer.spring:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.spring/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf.features:features:4.0.0-SNAPSHOT/maven-metadata.xml from/to
apache-snapshots
(http://repository.apache.org/content/groups/snapshots-group): Failed to
transfer file:
http://repository.apache.org/content/groups/snapshots-group/org/apache/karaf/features/features/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf.features:features:4.0.0-SNAPSHOT/maven-metadata.xml from/to
apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/features/features/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf.features:org.apache.karaf.features.core:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/features/org.apache.karaf.features.core/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf.jaas:jaas:4.0.0-SNAPSHOT/maven-metadata.xml from/to
apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/jaas/jaas/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf.jaas:org.apache.karaf.jaas.boot:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache-snapshots
(http://repository.apache.org/content/groups/snapshots-group): Failed to
transfer file:
http://repository.apache.org/content/groups/snapshots-group/org/apache/karaf/jaas/org.apache.karaf.jaas.boot/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf.jaas:org.apache.karaf.jaas.config:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache-snapshots
(http://repository.apache.org/content/groups/snapshots-group): Failed to
transfer file:
http://repository.apache.org/content/groups/snapshots-group/org/apache/karaf/jaas/org.apache.karaf.jaas.config/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf.jaas:org.apache.karaf.jaas.modules:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/jaas/org.apache.karaf.jaas.modules/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf.kar:org.apache.karaf.kar.core:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/kar/org.apache.karaf.kar.core/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf.shell:org.apache.karaf.shell.console:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/shell/org.apache.karaf.shell.console/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf.shell:org.apache.karaf.shell.core:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/shell/org.apache.karaf.shell.core/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf.shell:shell:4.0.0-SNAPSHOT/maven-metadata.xml from/to
apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/shell/shell/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf:karaf:4.0.0-SNAPSHOT/maven-metadata.xml from/to
apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/karaf/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Could not transfer metadata
org.apache.karaf:org.apache.karaf.util:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/org.apache.karaf.util/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Failure to transfer
org.apache.karaf.deployer:org.apache.karaf.deployer.blueprint:4.0.0-SNAPSHOT/maven-metadata.xml
from http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced. Original error: Could
not transfer metadata
org.apache.karaf.deployer:org.apache.karaf.deployer.blueprint:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.blueprint/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.            
[WARNING] Failure to transfer
org.apache.karaf.deployer:org.apache.karaf.deployer.features:4.0.0-SNAPSHOT/maven-metadata.xml
from http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced. Original error: Could
not transfer metadata
org.apache.karaf.deployer:org.apache.karaf.deployer.features:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.features/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Failure to transfer
org.apache.karaf.deployer:org.apache.karaf.deployer.kar:4.0.0-SNAPSHOT/maven-metadata.xml
from http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced. Original error: Could
not transfer metadata
org.apache.karaf.deployer:org.apache.karaf.deployer.kar:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.kar/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Failure to transfer
org.apache.karaf.deployer:org.apache.karaf.deployer.spring:4.0.0-SNAPSHOT/maven-metadata.xml
from http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced. Original error: Could
not transfer metadata
org.apache.karaf.deployer:org.apache.karaf.deployer.spring:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/deployer/org.apache.karaf.deployer.spring/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Failure to transfer
org.apache.karaf.features:org.apache.karaf.features.core:4.0.0-SNAPSHOT/maven-metadata.xml
from http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced. Original error: Could
not transfer metadata
org.apache.karaf.features:org.apache.karaf.features.core:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/features/org.apache.karaf.features.core/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Failure to transfer
org.apache.karaf.jaas:org.apache.karaf.jaas.boot:4.0.0-SNAPSHOT/maven-metadata.xml
from http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced. Original error: Could
not transfer metadata
org.apache.karaf.jaas:org.apache.karaf.jaas.boot:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/jaas/org.apache.karaf.jaas.boot/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Failure to transfer
org.apache.karaf.jaas:org.apache.karaf.jaas.config:4.0.0-SNAPSHOT/maven-metadata.xml
from http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced. Original error: Could
not transfer metadata
org.apache.karaf.jaas:org.apache.karaf.jaas.config:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/jaas/org.apache.karaf.jaas.config/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Failure to transfer
org.apache.karaf.jaas:org.apache.karaf.jaas.modules:4.0.0-SNAPSHOT/maven-metadata.xml
from http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced. Original error: Could
not transfer metadata
org.apache.karaf.jaas:org.apache.karaf.jaas.modules:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/jaas/org.apache.karaf.jaas.modules/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Failure to transfer
org.apache.karaf.kar:org.apache.karaf.kar.core:4.0.0-SNAPSHOT/maven-metadata.xml
from http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced. Original error: Could
not transfer metadata
org.apache.karaf.kar:org.apache.karaf.kar.core:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/kar/org.apache.karaf.kar.core/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Failure to transfer
org.apache.karaf.shell:org.apache.karaf.shell.console:4.0.0-SNAPSHOT/maven-metadata.xml
from http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced. Original error: Could
not transfer metadata
org.apache.karaf.shell:org.apache.karaf.shell.console:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/shell/org.apache.karaf.shell.console/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Failure to transfer
org.apache.karaf.shell:org.apache.karaf.shell.core:4.0.0-SNAPSHOT/maven-metadata.xml
from http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced. Original error: Could
not transfer metadata
org.apache.karaf.shell:org.apache.karaf.shell.core:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/shell/org.apache.karaf.shell.core/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.
[WARNING] Failure to transfer
org.apache.karaf:org.apache.karaf.util:4.0.0-SNAPSHOT/maven-metadata.xml
from http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced. Original error: Could
not transfer metadata
org.apache.karaf:org.apache.karaf.util:4.0.0-SNAPSHOT/maven-metadata.xml
from/to apache.snapshots (http://repository.apache.org/snapshots): Failed to
transfer file:
http://repository.apache.org/snapshots/org/apache/karaf/org.apache.karaf.util/4.0.0-SNAPSHOT/maven-metadata.xml.
Return code is: 502 , ReasonPhrase:Proxy Error.




--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891p4034900.html
Sent from the Karaf - User mailing list archive at Nabble.com.

RE: Karaf DB tutorial on 3.0.1 stuck on GracePeriod

Posted by tvogel <tv...@msn.com>.
Christian / JB,  Thanks I will check out the latest Karaf snapshot.
  Any experience / feedback on using EclipseLink with Karaf?
Tim

Date: Mon, 25 Aug 2014 01:47:12 -0700
From: ml-node+s922171n4034898h39@n3.nabble.com
To: tvogel@msn.com
Subject: Re: Karaf DB tutorial on 3.0.1 stuck on GracePeriod



	I agree with Christian.


FYI, Karaf 3.0.2-SNAPSHOT already ship the new Aries JPA version.


Regards

JB


On 08/25/2014 10:43 AM, Christian Schneider wrote:

> For jpa you should try the newest versions of aries jpa.

>

> http://search.maven.org/#search|ga|1|g%3A%22org.apache.aries.jpa%22

>

> The ones referenced in karaf 3.0.1 still have some severe bugs. With the

> newest versions it works nicely for me. Will retest this evening as I

> have to give a training about it tomorrow :-)

> I will update the tutorial codes once I have tested.

>

> Christian

>

> Am 25.08.2014 01:38, schrieb tvogel:

>> I'm trying to run the DB/JPA tutorial from Christian Schneider.  After

>> fixing

>> some deprecated imports and updating the pom.xml for recent plugins, I

>> have

>> a clean compile with no warnings or errors.

>>

>> The JDBC classes work fine, although there are two warnings when

>> deploying

>> the blueprint.xml.

>>

>> karaf@root()> jdbc:create -t derby derbyds

>> karaf@root()> Warning:

>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser:

>> Property

>> 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is

>> not recognized.

>> Compiler warnings:

>>    WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property

>> 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not

>> recognized.'

>>

>> The JPA example does not work.  The Karaf console shows the bundle in

>> GracePeriod status.  The log shows

>> INFO  | Local user karaf | BlueprintContainerImpl           | 19 -

>> org.apache.aries.blueprint.core - 1.4.0 | Bundle db-examplejpa is waiting

>> for namespace handlers

>> [http://aries.apache.org/xmlns/transactions/v1.0.0]

>>

>> I have the features installed that are detailed in the tutorial.

>> jndi       | 3.0.1 | x | enterprise-3.0.1 | OSGi Service Registry JNDI

>> access

>> jdbc       | 3.0.1 | x | enterprise-3.0.1 | JDBC service and commands

>> openjpa  | 2.2.2 |   | enterprise-3.0.1 | Apache OpenJPA 2.2.x

>> persistence

>> engine support

>> openjpa  | 2.3.0 | x | enterprise-3.0.1 | Apache OpenJPA 2.3.x

>> persistence

>> engine support

>>

>>

>> Any suggestions how to get the JPA example to run?

>>

>>

>>

>>

>> --

>> View this message in context:

>> http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891.html
>>

>> Sent from the Karaf - User mailing list archive at Nabble.com.

>

>

-- 

Jean-Baptiste Onofré

[hidden email]

http://blog.nanthrax.net
Talend - http://www.talend.com


	
	
	
	

	

	
	
		If you reply to this email, your message will be added to the discussion below:
		http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891p4034898.html
	
	
		
		To unsubscribe from Karaf DB tutorial on 3.0.1 stuck on GracePeriod, click here.

		NAML
	 		 	   		  



--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891p4034899.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf DB tutorial on 3.0.1 stuck on GracePeriod

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
I agree with Christian.

FYI, Karaf 3.0.2-SNAPSHOT already ship the new Aries JPA version.

Regards
JB

On 08/25/2014 10:43 AM, Christian Schneider wrote:
> For jpa you should try the newest versions of aries jpa.
>
> http://search.maven.org/#search|ga|1|g%3A%22org.apache.aries.jpa%22
>
> The ones referenced in karaf 3.0.1 still have some severe bugs. With the
> newest versions it works nicely for me. Will retest this evening as I
> have to give a training about it tomorrow :-)
> I will update the tutorial codes once I have tested.
>
> Christian
>
> Am 25.08.2014 01:38, schrieb tvogel:
>> I'm trying to run the DB/JPA tutorial from Christian Schneider.  After
>> fixing
>> some deprecated imports and updating the pom.xml for recent plugins, I
>> have
>> a clean compile with no warnings or errors.
>>
>> The JDBC classes work fine, although there are two warnings when
>> deploying
>> the blueprint.xml.
>>
>> karaf@root()> jdbc:create -t derby derbyds
>> karaf@root()> Warning:
>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser:
>> Property
>> 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is
>> not recognized.
>> Compiler warnings:
>>    WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property
>> 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not
>> recognized.'
>>
>> The JPA example does not work.  The Karaf console shows the bundle in
>> GracePeriod status.  The log shows
>> INFO  | Local user karaf | BlueprintContainerImpl           | 19 -
>> org.apache.aries.blueprint.core - 1.4.0 | Bundle db-examplejpa is waiting
>> for namespace handlers
>> [http://aries.apache.org/xmlns/transactions/v1.0.0]
>>
>> I have the features installed that are detailed in the tutorial.
>> jndi       | 3.0.1 | x | enterprise-3.0.1 | OSGi Service Registry JNDI
>> access
>> jdbc       | 3.0.1 | x | enterprise-3.0.1 | JDBC service and commands
>> openjpa  | 2.2.2 |   | enterprise-3.0.1 | Apache OpenJPA 2.2.x
>> persistence
>> engine support
>> openjpa  | 2.3.0 | x | enterprise-3.0.1 | Apache OpenJPA 2.3.x
>> persistence
>> engine support
>>
>>
>> Any suggestions how to get the JPA example to run?
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891.html
>>
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Karaf DB tutorial on 3.0.1 stuck on GracePeriod

Posted by Christian Schneider <ch...@die-schneider.net>.
I tested with my db-exmplajpa from my tutorial sources.
The versions I use in the current gibthub sources work nicely. These 
still have the aries jpa bugs though.

I then also tried by changing the aries.jpa modules to the recently 
released versions.
Unfortunately it did not work for me. I got an error related to the jpa 
spec version. So I am not sure the current aries jpa release is useable 
like this.
I will check with JB to confirm if there is a workaround. For example it 
might be possible to use the new release with a jpa 2.1 compliant 
provider like hibernate 4.3.x.

Will give some feedback here as soon I have more informations. I do not 
have the exact error as I only did a quick test before the training I gave.

Christian


Am 25.08.2014 10:43, schrieb Christian Schneider:
> For jpa you should try the newest versions of aries jpa.
>
> http://search.maven.org/#search|ga|1|g%3A%22org.apache.aries.jpa%22
>
> The ones referenced in karaf 3.0.1 still have some severe bugs. With 
> the newest versions it works nicely for me. Will retest this evening 
> as I have to give a training about it tomorrow :-)
> I will update the tutorial codes once I have tested.
>
> Christian
>
> Am 25.08.2014 01:38, schrieb tvogel:
>> I'm trying to run the DB/JPA tutorial from Christian Schneider.  
>> After fixing
>> some deprecated imports and updating the pom.xml for recent plugins, 
>> I have
>> a clean compile with no warnings or errors.
>>
>> The JDBC classes work fine, although there are two warnings when 
>> deploying
>> the blueprint.xml.
>>
>> karaf@root()> jdbc:create -t derby derbyds
>> karaf@root()> Warning: 
>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser:
>> Property 
>> 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is
>> not recognized.
>> Compiler warnings:
>>    WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property
>> 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not
>> recognized.'
>>
>> The JPA example does not work.  The Karaf console shows the bundle in
>> GracePeriod status.  The log shows
>> INFO  | Local user karaf | BlueprintContainerImpl           | 19 -
>> org.apache.aries.blueprint.core - 1.4.0 | Bundle db-examplejpa is 
>> waiting
>> for namespace handlers 
>> [http://aries.apache.org/xmlns/transactions/v1.0.0]
>>
>> I have the features installed that are detailed in the tutorial.
>> jndi       | 3.0.1 | x | enterprise-3.0.1 | OSGi Service Registry JNDI
>> access
>> jdbc       | 3.0.1 | x | enterprise-3.0.1 | JDBC service and commands
>> openjpa  | 2.2.2 |   | enterprise-3.0.1 | Apache OpenJPA 2.2.x 
>> persistence
>> engine support
>> openjpa  | 2.3.0 | x | enterprise-3.0.1 | Apache OpenJPA 2.3.x 
>> persistence
>> engine support
>>
>>
>> Any suggestions how to get the JPA example to run?
>>
>>
>>
>>
>> -- 
>> View this message in context: 
>> http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>
>


-- 
  
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com


Re: Karaf DB tutorial on 3.0.1 stuck on GracePeriod

Posted by Christian Schneider <ch...@die-schneider.net>.
For jpa you should try the newest versions of aries jpa.

http://search.maven.org/#search|ga|1|g%3A%22org.apache.aries.jpa%22

The ones referenced in karaf 3.0.1 still have some severe bugs. With the 
newest versions it works nicely for me. Will retest this evening as I 
have to give a training about it tomorrow :-)
I will update the tutorial codes once I have tested.

Christian

Am 25.08.2014 01:38, schrieb tvogel:
> I'm trying to run the DB/JPA tutorial from Christian Schneider.  After fixing
> some deprecated imports and updating the pom.xml for recent plugins, I have
> a clean compile with no warnings or errors.
>
> The JDBC classes work fine, although there are two warnings when deploying
> the blueprint.xml.
>
> karaf@root()> jdbc:create -t derby derbyds
> karaf@root()> Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser:
> Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is
> not recognized.
> Compiler warnings:
>    WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property
> 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not
> recognized.'
>
> The JPA example does not work.  The Karaf console shows the bundle in
> GracePeriod status.  The log shows
> INFO  | Local user karaf | BlueprintContainerImpl           | 19 -
> org.apache.aries.blueprint.core - 1.4.0 | Bundle db-examplejpa is waiting
> for namespace handlers [http://aries.apache.org/xmlns/transactions/v1.0.0]
>
> I have the features installed that are detailed in the tutorial.
> jndi       | 3.0.1 | x | enterprise-3.0.1 | OSGi Service Registry JNDI
> access
> jdbc       | 3.0.1 | x | enterprise-3.0.1 | JDBC service and commands
> openjpa  | 2.2.2 |   | enterprise-3.0.1 | Apache OpenJPA 2.2.x persistence
> engine support
> openjpa  | 2.3.0 | x | enterprise-3.0.1 | Apache OpenJPA 2.3.x persistence
> engine support
>
>
> Any suggestions how to get the JPA example to run?
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Karaf-DB-tutorial-on-3-0-1-stuck-on-GracePeriod-tp4034891.html
> Sent from the Karaf - User mailing list archive at Nabble.com.


-- 
  
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com