You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Titas Lapinskas <t....@baltic-amadeus.lt> on 2010/02/23 15:00:18 UTC

ServiceMix 4.1 SNAPSHOT not working

Hi to all,

 I grabbed apache-servicemix-4.1.0-SNAPSHOT.zip  from
http://hudson.zones.apache.org/hudson/job/ServiceMix-Features/org.apache.servicemix$apache-servicemix/lastSuccessfulBuild/artifact/org.apache.servicemix/apache-servicemix/4.1.0-SNAPSHOT/
After checking fingerprint I saw Introduced 2 days 15 hr ago, so I decided
it should quite reliable snapshot to try.
 We are pondering upgrade from 3.3.1 to SMX 4 and I read 4.2 Stable release
should be released soon, that's why I skipped SMX 4.0 and decided to check
4.1 which as far as I know is candidate for 4.2 release.

 After getting zip and unzipping and launching karaf, I got prompt, but
otherwise software was not working:
 features:install spring-dm  (as written in start section of PDF) is giving
error:

  Apache ServiceMix (4.1.0-SNAPSHOT)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.

karaf@root> features:install spring-dm
Error executing command: URL
[mvn:org.apache.felix.karaf/apache-felix-karaf/1.1.
0-SNAPSHOT/xml/features] could not be resolved. :
mvn:org.apache.felix.karaf/apa
che-felix-karaf/1.1.0-SNAPSHOT/xml/features
karaf@root>

After browsing forums, I tried to move all content of local system directory
(which contains jars) to my local maven repository. Haven't helped.
I checked even more "osgi:list" -> only 33 packages active, basically karaf
core, neither of features listed in 'org.apache.felix.karaf.features.cfg'
were started. Dropping packages to deploy directory made nothing, all log
file contained only info about getting lock and releasing lock.

Tried some remote management things with 'java -jar lib/karaf-client.jar
osgi:list' - error - authentication failed. Tried providing -u and -p, then
socket couldn't be acquired.

After playing with those issues for 5 hours, decided to check 4.0 version -
unzipped, started, checked - features running, deployment goes.
Downloaded 4.2.0.FUSE-01-00 (which seems more or less the same as SMX 4.1) -
all goes smoothly, dropped packages successfully deploy and tests run.

So the only conclusion that 4.1.0-SNAPSHOT is faulty. Could someone check it
and rebuild it? As it was released for 2d 15h in this state.

As side effect. I haven't had much experience with trying many snapshots, so
wondering is it common situation? If so then I guess the only option for
feeling 4.2 would be left playing with FUSE release of SMX4.2

Sincerely,
Titas
-- 
View this message in context: http://old.nabble.com/ServiceMix-4.1-SNAPSHOT-not-working-tp27703705p27703705.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: ServiceMix 4.1 SNAPSHOT not working

Posted by Titas Lapinskas <t....@baltic-amadeus.lt>.
Hi,

thank you for your tip, that indeed helped. I know that direct http
connection is not working for us, thus I had my default settings.xml proxy
configured and that worked fine for all mvn compilations done on SMX 3.3.1
so far.
And even worked for FUSE 4.2 and SMX4.0 without any issues.

After your post I set up variable $maven.home (as written in help in config
file). That didn't helped.
Then I set 'org.ops4j.pax.url.mvn.settings" variable to have explicit link
to my settings.xml file (which is the only file in my whole file system) and
then things started to work.

I am using Microsoft Vista Business SP 1. While this maven settings reading
is still a mystery at least I can work with testing main features and
functionality now.

Titas


cmoulliard wrote:
> 
> I think that you have an issue with your internet connection or your maven
> /
> proxy setup. This is why you see in the log 'could not be resolved'.
> 
> If you have changed how maven is connected to internet though the maven
> setting file and this file is not located in the default maven folder,
> then
> you must adapt the ops4j mvn config file under /etc to point to this maven
> setting file.
> 
> Kind regards,
> 
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
> 
> *****************************
> blog : http://cmoulliard.blogspot.com
> twitter : http://twitter.com/cmoulliard
> Linkedlin : http://www.linkedin.com/in/charlesmoulliard
> 
> Apache Camel Group :
> http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
> 
> 
> On Tue, Feb 23, 2010 at 3:00 PM, Titas Lapinskas <
> t.lapinskas@baltic-amadeus.lt> wrote:
> 
>>
>> Hi to all,
>>
>>  I grabbed apache-servicemix-4.1.0-SNAPSHOT.zip  from
>>
>> http://hudson.zones.apache.org/hudson/job/ServiceMix-Features/org.apache.servicemix$apache-servicemix/lastSuccessfulBuild/artifact/org.apache.servicemix/apache-servicemix/4.1.0-SNAPSHOT/
>> After checking fingerprint I saw Introduced 2 days 15 hr ago, so I
>> decided
>> it should quite reliable snapshot to try.
>>
>>
>> Hit '<tab>' for a list of available commands
>> and '[cmd] --help' for help on a specific command.
>>
>> karaf@root> features:install spring-dm
>> Error executing command: URL
>> [mvn:org.apache.felix.karaf/apache-felix-karaf/1.1.
>> 0-SNAPSHOT/xml/features] could not be resolved. :
>> mvn:org.apache.felix.karaf/apa
>> che-felix-karaf/1.1.0-SNAPSHOT/xml/features
>> 
> 
> 
> -----
> Charles Moulliard
> SOA Architect
> 
> My Blog : http://cmoulliard.blogspot.com/  
> 

-- 
View this message in context: http://old.nabble.com/ServiceMix-4.1-SNAPSHOT-not-working-tp27703705p27714122.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: ServiceMix 4.1 SNAPSHOT not working

Posted by Charles Moulliard <cm...@gmail.com>.
I think that you have an issue with your internet connection or your maven /
proxy setup. This is why you see in the log 'could not be resolved'.

If you have changed how maven is connected to internet though the maven
setting file and this file is not located in the default maven folder, then
you must adapt the ops4j mvn config file under /etc to point to this maven
setting file.

Kind regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard

Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm


On Tue, Feb 23, 2010 at 3:00 PM, Titas Lapinskas <
t.lapinskas@baltic-amadeus.lt> wrote:

>
> Hi to all,
>
>  I grabbed apache-servicemix-4.1.0-SNAPSHOT.zip  from
>
> http://hudson.zones.apache.org/hudson/job/ServiceMix-Features/org.apache.servicemix$apache-servicemix/lastSuccessfulBuild/artifact/org.apache.servicemix/apache-servicemix/4.1.0-SNAPSHOT/
> After checking fingerprint I saw Introduced 2 days 15 hr ago, so I decided
> it should quite reliable snapshot to try.
>  We are pondering upgrade from 3.3.1 to SMX 4 and I read 4.2 Stable release
> should be released soon, that's why I skipped SMX 4.0 and decided to check
> 4.1 which as far as I know is candidate for 4.2 release.
>
>  After getting zip and unzipping and launching karaf, I got prompt, but
> otherwise software was not working:
>  features:install spring-dm  (as written in start section of PDF) is giving
> error:
>
>  Apache ServiceMix (4.1.0-SNAPSHOT)
>
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
>
> karaf@root> features:install spring-dm
> Error executing command: URL
> [mvn:org.apache.felix.karaf/apache-felix-karaf/1.1.
> 0-SNAPSHOT/xml/features] could not be resolved. :
> mvn:org.apache.felix.karaf/apa
> che-felix-karaf/1.1.0-SNAPSHOT/xml/features
> karaf@root>
>
> After browsing forums, I tried to move all content of local system
> directory
> (which contains jars) to my local maven repository. Haven't helped.
> I checked even more "osgi:list" -> only 33 packages active, basically karaf
> core, neither of features listed in 'org.apache.felix.karaf.features.cfg'
> were started. Dropping packages to deploy directory made nothing, all log
> file contained only info about getting lock and releasing lock.
>
> Tried some remote management things with 'java -jar lib/karaf-client.jar
> osgi:list' - error - authentication failed. Tried providing -u and -p, then
> socket couldn't be acquired.
>
> After playing with those issues for 5 hours, decided to check 4.0 version -
> unzipped, started, checked - features running, deployment goes.
> Downloaded 4.2.0.FUSE-01-00 (which seems more or less the same as SMX 4.1)
> -
> all goes smoothly, dropped packages successfully deploy and tests run.
>
> So the only conclusion that 4.1.0-SNAPSHOT is faulty. Could someone check
> it
> and rebuild it? As it was released for 2d 15h in this state.
>
> As side effect. I haven't had much experience with trying many snapshots,
> so
> wondering is it common situation? If so then I guess the only option for
> feeling 4.2 would be left playing with FUSE release of SMX4.2
>
> Sincerely,
> Titas
> --
> View this message in context:
> http://old.nabble.com/ServiceMix-4.1-SNAPSHOT-not-working-tp27703705p27703705.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: ServiceMix 4.1 SNAPSHOT not working

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

I have just tested it locally (with the latest trunk update) and it works.

We will launch a new SMX 4.1.0-SNAPSHOT build.

Regards
JB

Titas Lapinskas wrote:
> Hi to all,
> 
>  I grabbed apache-servicemix-4.1.0-SNAPSHOT.zip  from
> http://hudson.zones.apache.org/hudson/job/ServiceMix-Features/org.apache.servicemix$apache-servicemix/lastSuccessfulBuild/artifact/org.apache.servicemix/apache-servicemix/4.1.0-SNAPSHOT/
> After checking fingerprint I saw Introduced 2 days 15 hr ago, so I decided
> it should quite reliable snapshot to try.
>  We are pondering upgrade from 3.3.1 to SMX 4 and I read 4.2 Stable release
> should be released soon, that's why I skipped SMX 4.0 and decided to check
> 4.1 which as far as I know is candidate for 4.2 release.
> 
>  After getting zip and unzipping and launching karaf, I got prompt, but
> otherwise software was not working:
>  features:install spring-dm  (as written in start section of PDF) is giving
> error:
> 
>   Apache ServiceMix (4.1.0-SNAPSHOT)
> 
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> 
> karaf@root> features:install spring-dm
> Error executing command: URL
> [mvn:org.apache.felix.karaf/apache-felix-karaf/1.1.
> 0-SNAPSHOT/xml/features] could not be resolved. :
> mvn:org.apache.felix.karaf/apa
> che-felix-karaf/1.1.0-SNAPSHOT/xml/features
> karaf@root>
> 
> After browsing forums, I tried to move all content of local system directory
> (which contains jars) to my local maven repository. Haven't helped.
> I checked even more "osgi:list" -> only 33 packages active, basically karaf
> core, neither of features listed in 'org.apache.felix.karaf.features.cfg'
> were started. Dropping packages to deploy directory made nothing, all log
> file contained only info about getting lock and releasing lock.
> 
> Tried some remote management things with 'java -jar lib/karaf-client.jar
> osgi:list' - error - authentication failed. Tried providing -u and -p, then
> socket couldn't be acquired.
> 
> After playing with those issues for 5 hours, decided to check 4.0 version -
> unzipped, started, checked - features running, deployment goes.
> Downloaded 4.2.0.FUSE-01-00 (which seems more or less the same as SMX 4.1) -
> all goes smoothly, dropped packages successfully deploy and tests run.
> 
> So the only conclusion that 4.1.0-SNAPSHOT is faulty. Could someone check it
> and rebuild it? As it was released for 2d 15h in this state.
> 
> As side effect. I haven't had much experience with trying many snapshots, so
> wondering is it common situation? If so then I guess the only option for
> feeling 4.2 would be left playing with FUSE release of SMX4.2
> 
> Sincerely,
> Titas