Discussion:
Newbie on ServiceMix 7.0.0
FLH
2016-06-14 15:31:02 UTC
Permalink
Hello everyone :)

I'm a newbie on Apache ServiceMix.
I just downloaded the apache-servicemix-7.0.0.M1 release, and I try to use
it as explained in documentation (but this is the 4.3 documentation ...).

So I start the bin/servicemix.bat , and then I only have this screen :
<Loading Image...>

I've searched for hours over the net, but I can't find what to do next....
I would like to install and access an admin console for example, but I can't
use the "karaf" functions ...

What did I do wrong ?

Thanks for your answers.

Regards



--
View this message in context: http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Jean-Baptiste MARTIN
2016-06-14 15:33:55 UTC
Permalink
Hello,

Only 10 bundles active. Does your servicemix have access to Internet ? Just
an idea.
Post by FLH
Hello everyone :)
I'm a newbie on Apache ServiceMix.
I just downloaded the apache-servicemix-7.0.0.M1 release, and I try to use
it as explained in documentation (but this is the 4.3 documentation ...).
<http://servicemix.396122.n5.nabble.com/file/n5723778/Karaf.jpg>
I've searched for hours over the net, but I can't find what to do next....
I would like to install and access an admin console for example, but I can't
use the "karaf" functions ...
What did I do wrong ?
Thanks for your answers.
Regards
--
http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
FLH
2016-06-14 15:36:38 UTC
Permalink
Hello Jean Baptiste,

I don't know ... how can I check ?

PS : I guess you are french ? So am I. So we can continue this discussion in
french ;)



--
View this message in context: http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778p5723780.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Jean-Baptiste MARTIN
2016-06-14 15:51:12 UTC
Permalink
Oué, salut :)

Normalement, ServiceMix va chercher ses bundles/features sur un dépÎt
Maven. Tu en as un ?
Post by FLH
Hello Jean Baptiste,
I don't know ... how can I check ?
PS : I guess you are french ? So am I. So we can continue this discussion in
french ;)
--
http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778p5723780.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
FLH
2016-06-14 16:04:04 UTC
Permalink
Salut ^^

Oui on a bien un dépôt, mais comment je peux configurer ça du coup stp ? :)



--
View this message in context: http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778p5723782.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Achim Nierbeck
2016-06-14 18:26:18 UTC
Permalink
Hi Guys,

as not all people are French and are far from understanding it :-)
it's still best to ask in english especially since some other people might
be able to learn from your issues and how you got around of it ;)

thanks and regards, Achim
Post by FLH
Salut ^^
Oui on a bien un dépÎt, mais comment je peux configurer ça du coup stp ? :)
--
http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778p5723782.html
Sent from the ServiceMix - 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/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master
Krzysztof Sobkowiak
2016-06-14 18:34:11 UTC
Permalink
Hi

The 10 active bundles are the startup bundles. Something was changed in Karaf 4 and at the first start only the startup bundles are mentioned in this message.
The other bundles (e.g. from the boot features) are installed after the message is displayed. At the next ServiceMix start the message show the number of all bundles.

When ServiceMix hangs after the message is displayed, probably there is a problem with downloading of some other bundles which are part of boot features but are not
provided in the system repository (the system subdirectory). Probably you try to start ServiceMix behind a proxy or without internet connection.

Theoretically it should start without internet connection, because all bundles from boot features should be available under system repository. But 7.0.0.M1 has one issue.
Please try to remove 3 last lines from etc/overrides.properties.

mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/2.6.3;range="[2,3)"
mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/2.6.3;range="[2,3)"
mvn:com.fasterxml.jackson.module/jackson-module-scala_2.11/2.6.3;range="[2,3)"

Explanation: the 3 bundles are not referenced by any boot feature and are not available in system repository. But ServiceMix/Karaf tries to download them at startup. If ServiceMix
cannot download them from any reason, you can get the effect you have described.

Please check the above first with removing the 3 bundles from overrides.properties. If it works it solves only your problem with startup. You will probably have still problem with installing
of other bundles (e.g. using command feature:install) what means your ServiceMix has problem with retrieving bundles from internet.

Which documentation do you use?

Regards
Krzysztof
Post by Jean-Baptiste MARTIN
Hello,
Only 10 bundles active. Does your servicemix have access to Internet ? Just
an idea.
Post by FLH
Hello everyone :)
I'm a newbie on Apache ServiceMix.
I just downloaded the apache-servicemix-7.0.0.M1 release, and I try to use
it as explained in documentation (but this is the 4.3 documentation ...).
<http://servicemix.396122.n5.nabble.com/file/n5723778/Karaf.jpg>
I've searched for hours over the net, but I can't find what to do next....
I would like to install and access an admin console for example, but I can't
use the "karaf" functions ...
What did I do wrong ?
Thanks for your answers.
Regards
--
http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Krzysztof Sobkowiak (@ksobkowiak)

JEE & OSS Architect, Integration Architect
Apache Software Foundation Member (http://apache.org/)
Apache ServiceMix Committer & PMC Member (http://servicemix.apache.org/)
Senior Solution Architect @ Capgemini SSC (http://www.capgeminisoftware.pl/)
FLH
2016-06-15 07:13:45 UTC
Permalink
Hi ksobkowiak,

Your answer allows ServiceMix to start, as you said (thanks about that).

I am on a professional network, with a proxy. I would like to replace the
URL of the Maven directory (we have our own), because I have a
"ConnectionTimeOut" error, but I can't find where to change it ...

Thank you for your answer

Regards



--
View this message in context: http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778p5723786.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Sobkowiak Krzysztof
2016-06-15 07:37:13 UTC
Permalink
Hi

You can configure additional repositories in etc/org.ops4j.pax.url.mvn.cfg

Regards
Krzysztof
Post by FLH
Hi ksobkowiak,
Your answer allows ServiceMix to start, as you said (thanks about that).
I am on a professional network, with a proxy. I would like to replace the
URL of the Maven directory (we have our own), because I have a
"ConnectionTimeOut" error, but I can't find where to change it ...
Thank you for your answer
Regards
--
View this message in context: http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778p5723786.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Krzysztof Sobkowiak

JEE & OSS Architect, Integration Architect
Apache Software Foundation Member (http://apache.org/)
Apache ServiceMix Committer & PMC Member (http://servicemix.apache.org/)
Senior Solution Architect @ Capgemini SSC (http://www.capgeminisoftware.pl/)
FLH
2016-06-15 08:31:58 UTC
Permalink
Hi,

It works well now ! Thank you a lot.
I just add my repo in the etc/org.ops4j.pax.url.mvn.cfg file and I now have
219 bundles (much better).

I use the "7.x" documentation :
http://servicemix.apache.org/docs/7.x/index.html.

There are mistakes on command lines in example ("log:display-exception" =>
"log:exception-display", "features:xxx" => "feature:xxx")

Thanks again for your answers



--
View this message in context: http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778p5723788.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Sobkowiak Krzysztof
2016-06-15 08:37:08 UTC
Permalink
Nice to hear it works for you.

Yes, the documentation is a bit outdated in some areas. We plan to migrate it to asciidoc format and update the content.
When you need the actual documentation about the core (Karaf) part, you can use the Karaf documentation directly
http://karaf.apache.org/manual/latest/

Regards
Krzysztof
Post by FLH
Hi,
It works well now ! Thank you a lot.
I just add my repo in the etc/org.ops4j.pax.url.mvn.cfg file and I now have
219 bundles (much better).
http://servicemix.apache.org/docs/7.x/index.html.
There are mistakes on command lines in example ("log:display-exception" =>
"log:exception-display", "features:xxx" => "feature:xxx")
Thanks again for your answers
--
View this message in context: http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778p5723788.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Krzysztof Sobkowiak

JEE & OSS Architect, Integration Architect
Apache Software Foundation Member (http://apache.org/)
Apache ServiceMix Committer & PMC Member (http://servicemix.apache.org/)
Senior Solution Architect @ Capgemini SSC (http://www.capgeminisoftware.pl/)
FLH
2016-06-15 08:39:01 UTC
Permalink
Ok, I keep it preciously

Thanks again



--
View this message in context: http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778p5723790.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Sobkowiak Krzysztof
2016-06-15 08:42:28 UTC
Permalink
Btw, we have released 7.0.0.M2 yesterday. I haven't updated the web site yet (I'm going to do this in the evening),
but it is already available on mirrors and maven central repo. You can download it here
http://www.apache.org/dyn/closer.lua/servicemix/servicemix-7/7.0.0.M2/apache-servicemix-7.0.0.M2.zip

Regards
Krzysztof
Post by FLH
Ok, I keep it preciously
Thanks again
--
View this message in context: http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778p5723790.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Krzysztof Sobkowiak

JEE & OSS Architect, Integration Architect
Apache Software Foundation Member (http://apache.org/)
Apache ServiceMix Committer & PMC Member (http://servicemix.apache.org/)
Senior Solution Architect @ Capgemini SSC (http://www.capgeminisoftware.pl/)
FLH
2016-06-15 09:05:18 UTC
Permalink
I download it now ;)

Btw, I try to install the webconsole, but I have an issue :

<Loading Image...>

Our repo needs identification (login / pw). Can you tell me where I can put
these information please ?



--
View this message in context: http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778p5723792.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Sobkowiak Krzysztof
2016-06-15 09:39:52 UTC
Permalink
You should define the credentials for your repository in ${user.home}/.m2/settings.xml.
Please look at this thread http://karaf.922171.n3.nabble.com/How-to-configure-a-password-protected-mirror-Maven-repository-for-Karaf-3-0-2-td4036218.html
I think, it should be already supported

Regards
Krzysztof
Post by FLH
I download it now ;)
<http://servicemix.396122.n5.nabble.com/file/n5723792/webconsole.jpg>
Our repo needs identification (login / pw). Can you tell me where I can put
these information please ?
--
View this message in context: http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778p5723792.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Krzysztof Sobkowiak

JEE & OSS Architect, Integration Architect
Apache Software Foundation Member (http://apache.org/)
Apache ServiceMix Committer & PMC Member (http://servicemix.apache.org/)
Senior Solution Architect @ Capgemini SSC (http://www.capgeminisoftware.pl/)
FLH
2016-06-15 12:49:37 UTC
Permalink
I linked my settings.xml to the "org.ops4j.pax.url.mvn.settings" parameter,
with my repo ID in my settings.xml file (example : "myRepoId")
Then I used this ID in :
org.ops4j.pax.url.mvn.repositories= \
http://myMavenServ/artifactory/***@id=*myRepoId*, \ ...

I now have my webconsole :)

Thanks again for support



--
View this message in context: http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778p5723797.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Krzysztof Sobkowiak
2016-06-15 15:10:22 UTC
Permalink
Super :) Have a fun using ServiceMix!!
Post by FLH
I linked my settings.xml to the "org.ops4j.pax.url.mvn.settings" parameter,
with my repo ID in my settings.xml file (example : "myRepoId")
org.ops4j.pax.url.mvn.repositories= \
I now have my webconsole :)
Thanks again for support
--
View this message in context: http://servicemix.396122.n5.nabble.com/Newbie-on-ServiceMix-7-0-0-tp5723778p5723797.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Krzysztof Sobkowiak (@ksobkowiak)

JEE & OSS Architect, Integration Architect
Apache Software Foundation Member (http://apache.org/)
Apache ServiceMix Committer & PMC Member (http://servicemix.apache.org/)
Senior Solution Architect @ Capgemini SSC (http://www.capgeminisoftware.pl/)
Loading...