Hi Krzysztof,

The port range is already managed for child instances.

But your proposal is interesting for "standalone" instances.
This offset can be define in etc/config.properties and used in the other cfg file (as system properties) to "define" the ports.

Regards
JB

On 07/14/2014 11:44 AM, Sobkowiak, Krzysztof wrote:
Hi

What do you think about a new feature adding a new parameter
***.port-offset (like in WildFly). The default value could be 0. If you
need another Karaf instance using another ports, you could start Karaf
with the offset set to any positive value increasing the value of the
default ports (instead of changing the ports in the configuration files)

Kindly regards
Krzysztof


On 14.07.2014 11:16, Jean-Baptiste Onofré wrote:
Hi,

./karaf starts an instance and ./client connects to this instance.

Cellar is supposed to work with Karaf instances on different machines.

On the same machine, to create/start a new Karaf instance, you have
two ways:
1/ you can create a child instance with admin:* commands
(admin:create, admin:start, admin:connect, etc). The instance will be
on the same machine.
2/ you copy the apache-karaf-2.3.5 folder in another folder, you
update the etc/* files to change the port numbers
(org.apache.karaf.shell.cfg, org.apache.karaf.management.cfg), and you
start this second instance.

Regards
JB

On 07/14/2014 10:58 AM, parker wrote:
Hi ,

I use Karaf with apache-karaf-2.3.5/bin$ ./karaf and
apache-karaf-2.3.5/bin$
./client


What do you mean by "start another Karaf instance " ?
How to do this ?





--
View this message in context:
http://karaf.922171.n3.nabble.com/how-create-a-node-using-apache-karaf-2-3-5-tp4034185p4034199.html
Sent from the Karaf - User mailing list archive at Nabble.com.



--
Krzysztof Sobkowiak

JEE & OSS Architect | Technical Architect @ Capgemini
Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center
<http://www.pl.capgemini-sdm.com/> | Wroclaw
e-mail: [email protected] <mailto:[email protected]> |
Twitter: @KSobkowiak
Calendar: http://goo.gl/yvsebC

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to