[jira] [Comment Edited] (UNOMI-80) Stopped in initializing

2017-02-15 Thread Serge Huber (JIRA)

[ 
https://issues.apache.org/jira/browse/UNOMI-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15869360#comment-15869360
 ] 

Serge Huber edited comment on UNOMI-80 at 2/16/17 7:00 AM:
---

Ok I think I know what the problem is. You need to first install ElasticSearch.

Unfortunately as you are using the master, the updated documentation is not yet 
available on the site, but you can find it here: 

1. Starting with version 1.2, Apache Unomi no longer embeds an ElasticSearch 
server as this is no longer supported by the developers of ElasticSearch. 
Therefore you will need to install a standalone ElasticSearch using the 
following steps:

2. Download an ElasticSearch 5.1.2 here: 
https://www.elastic.co/downloads/past-releases/elasticsearch-5-1-2

3. Uncompress the downloaded package into a directory 

4. In the config/elasticsearch.yml, change the following setting to the 
following value:

cluster.name: contextElasticSearch

5. Launch the server using

bin/elasticsearch (Mac, Linux) bin\elasticsearch.bat (Windows)

6. Check that the ElasticSearch is up and running by accessing the following 
URL :

http://localhost:9200

If I have some time I'll try to get the updated documentation published. 

Best regards,
  Serge Huber.


was (Author: shuber):
Ok I think I know what the problem is. You need to first install ElasticSearch.

Unfortunately as you are using the master, the updated documentation is not yet 
available on the site, but you can find it here: 

1. Starting with version 1.2, Apache Unomi no longer embeds an ElasticSearch 
server as this is no longer supported by the developers of ElasticSearch. 
Therefore you will need to install a standalone ElasticSearch using the 
following steps:

2. Download an ElasticSearch 5.1.2 here: 
https://www.elastic.co/downloads/past-releases/elasticsearch-5-1-2

3. Uncompress the downloaded package into a directory and launch the server 
using

bin/elasticsearch (Mac, Linux) bin\elasticsearch.bat (Windows)

4. Check that the ElasticSearch is up and running by accessing the following 
URL :

http://localhost:9200

If I have some time I'll try to get the updated documentation published. 

Best regards,
  Serge Huber.

> Stopped in initializing
> ---
>
> Key: UNOMI-80
> URL: https://issues.apache.org/jira/browse/UNOMI-80
> Project: Apache Unomi
>  Issue Type: Test
>Reporter: Kwang-in (Dennis) JUNG
>Priority: Trivial
>
> Hello~just joined!
> I'm following up instruction guide, but it stops while init when starting 
> with 'karaf start'.
> ```
> karaf@root()> Exception in thread "JMX Connector Thread 
> [service:jmx:rmi://0.0.0.0:4/jndi/rmi://0.0.0.0:1099/karaf-root]" 
> java.lang.RuntimeException: 
> Port already in use: 4; 
> You may have started two containers.  If you need to start a second container 
> or the default ports are already in use update the config file 
> etc/org.apache.karaf.management.cfg and change the Registry Port and Server 
> Port to unused ports
>   at 
> org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:278)
> Initializing Unomi...
> ```
> It does not go on as mentioned in getting started page.
> http://unomi.incubator.apache.org/getting-started.html
> Also, I've failed in integration test(others are all success). Is it related 
> with this?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Comment Edited] (UNOMI-80) Stopped in initializing

2017-02-15 Thread Kwang-in (Dennis) JUNG (JIRA)

[ 
https://issues.apache.org/jira/browse/UNOMI-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15869165#comment-15869165
 ] 

Kwang-in (Dennis) JUNG edited comment on UNOMI-80 at 2/16/17 4:44 AM:
--

[~shuber] Thanks for quick reply!
But I still failed after reboot my laptop and try karaf start.

$ ./bin/karaf start
__ __    
   / //_/ __ _/ __/  
  / ,<  / __ `/ ___/ __ `/ /_
 / /| |/ /_/ / /  / /_/ / __/
/_/ |_|\__,_/_/   \__,_/_/ 

  Apache Karaf (3.0.8)

Hit '' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '' or type 'system:shutdown' or 'logout' to shutdown Karaf.

karaf@root()> Initializing Unomi...

It does not go onward after this. By document, it looks like something more 
need to show like `initializing `



was (Author: djkooks):
[~shuber] Thanks for quick reply!
But I still failed after reboot my laptop and try karaf start.
```
__ __    
   / //_/ __ _/ __/  
  / ,<  / __ `/ ___/ __ `/ /_
 / /| |/ /_/ / /  / /_/ / __/
/_/ |_|\__,_/_/   \__,_/_/ 

  Apache Karaf (3.0.8)

Hit '' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '' or type 'system:shutdown' or 'logout' to shutdown Karaf.

karaf@root()> Initializing Unomi...
```
It does not go onward after this. By document, it looks like something more 
need to show like `initializing `


> Stopped in initializing
> ---
>
> Key: UNOMI-80
> URL: https://issues.apache.org/jira/browse/UNOMI-80
> Project: Apache Unomi
>  Issue Type: Test
>Reporter: Kwang-in (Dennis) JUNG
>Priority: Trivial
>
> Hello~just joined!
> I'm following up instruction guide, but it stops while init when starting 
> with 'karaf start'.
> ```
> karaf@root()> Exception in thread "JMX Connector Thread 
> [service:jmx:rmi://0.0.0.0:4/jndi/rmi://0.0.0.0:1099/karaf-root]" 
> java.lang.RuntimeException: 
> Port already in use: 4; 
> You may have started two containers.  If you need to start a second container 
> or the default ports are already in use update the config file 
> etc/org.apache.karaf.management.cfg and change the Registry Port and Server 
> Port to unused ports
>   at 
> org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:278)
> Initializing Unomi...
> ```
> It does not go on as mentioned in getting started page.
> http://unomi.incubator.apache.org/getting-started.html
> Also, I've failed in integration test(others are all success). Is it related 
> with this?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)