You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@marmotta.apache.org by Rajika Kumarasiri <ra...@gmail.com> on 2014/02/23 08:06:49 UTC

viewing statistics

hello,

I built Marmotta distribution from source and ran it using the embedded
tomcat using the default configurations. I want to view the statistics.

I view them at System Overview->Statistics, but I can't see anything. When
I look at the source
of ./platform/marmotta-core/src/main/resources/web/admin/system.html it
seems it's just a dummy file.

How can I view statistics ? Do I have to configure additional stuffs ?

Thanks.

Re: viewing statistics

Posted by Rajika Kumarasiri <ra...@gmail.com>.
hello,

This happens because of the previously persisted configurations in file
system. Please see the jira for information.

Thank you.


On Thu, Feb 27, 2014 at 2:20 AM, Rajika Kumarasiri <
rajika.kumarasiri@gmail.com> wrote:

> hello Sergio,
>
> Thank you for your answers. I haven't installed Marmotta before. I cleared
> the browser cache. Still the issue is there. Below is the curl out put.
>
> [rajika@localhost marmotta-webapp]$ curl -I http://localhost:8080/
> HTTP/1.1 302 Found
> Server: Apache Marmotta/3.2.0-SNAPSHOT (build 2+)
> Set-Cookie: JSESSIONID=1E8A4E4AEC0D54C8ADBD56CB358380BE; Path=/; HttpOnly
> Location: http://localhost.localdomain:8080/marmotta/core/admin/about.html
> Content-Type: text/html;charset=ISO-8859-1
> Content-Length: 0
> Date: Thu, 27 Feb 2014 06:59:42 GMT
>
> As you can see there is a http re-direct returned by the server. I have
> created a jira for the issue
> https://issues.apache.org/jira/browse/MARMOTTA-447.
>
> Thank you.
>
>
>
>
> On Wed, Feb 26, 2014 at 6:38 AM, Sergio Fernández <
> sergio.fernandez@salzburgresearch.at> wrote:
>
>> Hi,
>>
>>
>> On 26/02/14 08:55, Rajika Kumarasiri wrote:
>>
>>> Actually I wanted to tell you, when I tried on Fedora(using Google
>>> Chrome)
>>> the context root http://localhost:8080/ was re-directed to
>>> http://localhost:8080/marmotta/core/admin/about.html page which I ended
>>> up
>>> with a 404. But when I built the war on Windows the embedded tomcat
>>> version
>>> works fine.
>>>
>>
>> That's strange, because Linux is one our main development/testing
>> environments; not Fedora, but Debian/Ubuntu.
>>
>> Have you installed and access Marmotta there before? Because recently I'm
>> seeing how browsers are heavily catching redirects. And it could be your
>> Chrome is behaving in that way.
>>
>> Try with something more basic, like:
>>
>> curl -I http://localhost:8080/
>>
>> By default the embedded tomcat should redirect to ;
>>
>> http://localhost:8080/core/admin/about.html
>>
>> You can see (and customize) those settings in the pom.xml properties.
>>
>>
>>  I built the war and deployed into a separate tomcat instance on Fedora
>>> and
>>> it works. I just wanted to tell you here because I am not sure if there
>>> is
>>> a possible bug.
>>>
>>
>> It should not make any different. Beside the caching issue I commented
>> above.
>>
>> Please, confirm it, and if not file a bug in jira, please.
>>
>>
>> Cheers,
>>
>> --
>> Sergio Fernández
>> Senior Researcher
>> Knowledge and Media Technologies
>> Salzburg Research Forschungsgesellschaft mbH
>> Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
>> T: +43 662 2288 318 | M: +43 660 2747 925
>> sergio.fernandez@salzburgresearch.at
>> http://www.salzburgresearch.at
>>
>
>

Re: viewing statistics

Posted by Rajika Kumarasiri <ra...@gmail.com>.
hello Sergio,

Thank you for your answers. I haven't installed Marmotta before. I cleared
the browser cache. Still the issue is there. Below is the curl out put.

[rajika@localhost marmotta-webapp]$ curl -I http://localhost:8080/
HTTP/1.1 302 Found
Server: Apache Marmotta/3.2.0-SNAPSHOT (build 2+)
Set-Cookie: JSESSIONID=1E8A4E4AEC0D54C8ADBD56CB358380BE; Path=/; HttpOnly
Location: http://localhost.localdomain:8080/marmotta/core/admin/about.html
Content-Type: text/html;charset=ISO-8859-1
Content-Length: 0
Date: Thu, 27 Feb 2014 06:59:42 GMT

As you can see there is a http re-direct returned by the server. I have
created a jira for the issue
https://issues.apache.org/jira/browse/MARMOTTA-447.

Thank you.




On Wed, Feb 26, 2014 at 6:38 AM, Sergio Fernández <
sergio.fernandez@salzburgresearch.at> wrote:

> Hi,
>
>
> On 26/02/14 08:55, Rajika Kumarasiri wrote:
>
>> Actually I wanted to tell you, when I tried on Fedora(using Google Chrome)
>> the context root http://localhost:8080/ was re-directed to
>> http://localhost:8080/marmotta/core/admin/about.html page which I ended
>> up
>> with a 404. But when I built the war on Windows the embedded tomcat
>> version
>> works fine.
>>
>
> That's strange, because Linux is one our main development/testing
> environments; not Fedora, but Debian/Ubuntu.
>
> Have you installed and access Marmotta there before? Because recently I'm
> seeing how browsers are heavily catching redirects. And it could be your
> Chrome is behaving in that way.
>
> Try with something more basic, like:
>
> curl -I http://localhost:8080/
>
> By default the embedded tomcat should redirect to ;
>
> http://localhost:8080/core/admin/about.html
>
> You can see (and customize) those settings in the pom.xml properties.
>
>
>  I built the war and deployed into a separate tomcat instance on Fedora and
>> it works. I just wanted to tell you here because I am not sure if there is
>> a possible bug.
>>
>
> It should not make any different. Beside the caching issue I commented
> above.
>
> Please, confirm it, and if not file a bug in jira, please.
>
>
> Cheers,
>
> --
> Sergio Fernández
> Senior Researcher
> Knowledge and Media Technologies
> Salzburg Research Forschungsgesellschaft mbH
> Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
> T: +43 662 2288 318 | M: +43 660 2747 925
> sergio.fernandez@salzburgresearch.at
> http://www.salzburgresearch.at
>

Re: viewing statistics

Posted by Sergio Fernández <se...@salzburgresearch.at>.
Hi,

On 26/02/14 08:55, Rajika Kumarasiri wrote:
> Actually I wanted to tell you, when I tried on Fedora(using Google Chrome)
> the context root http://localhost:8080/ was re-directed to
> http://localhost:8080/marmotta/core/admin/about.html page which I ended up
> with a 404. But when I built the war on Windows the embedded tomcat version
> works fine.

That's strange, because Linux is one our main development/testing 
environments; not Fedora, but Debian/Ubuntu.

Have you installed and access Marmotta there before? Because recently 
I'm seeing how browsers are heavily catching redirects. And it could be 
your Chrome is behaving in that way.

Try with something more basic, like:

curl -I http://localhost:8080/

By default the embedded tomcat should redirect to ;

http://localhost:8080/core/admin/about.html

You can see (and customize) those settings in the pom.xml properties.

> I built the war and deployed into a separate tomcat instance on Fedora and
> it works. I just wanted to tell you here because I am not sure if there is
> a possible bug.

It should not make any different. Beside the caching issue I commented 
above.

Please, confirm it, and if not file a bug in jira, please.

Cheers,

-- 
Sergio Fernández
Senior Researcher
Knowledge and Media Technologies
Salzburg Research Forschungsgesellschaft mbH
Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
T: +43 662 2288 318 | M: +43 660 2747 925
sergio.fernandez@salzburgresearch.at
http://www.salzburgresearch.at

Re: viewing statistics

Posted by Rajika Kumarasiri <ra...@gmail.com>.
Actually I wanted to tell you, when I tried on Fedora(using Google Chrome)
the context root http://localhost:8080/ was re-directed to
http://localhost:8080/marmotta/core/admin/about.html page which I ended up
with a 404. But when I built the war on Windows the embedded tomcat version
works fine.

I built the war and deployed into a separate tomcat instance on Fedora and
it works. I just wanted to tell you here because I am not sure if there is
a possible bug.

Thank you.


On Tue, Feb 25, 2014 at 3:07 PM, Rajika Kumarasiri <
rajika.kumarasiri@gmail.com> wrote:

> hello Sergio,
>
> It works now. I can view various statistics now.
>
> Thank you for your support.
>
>
> On Tue, Feb 25, 2014 at 9:55 AM, Sergio Fernández <
> sergio.fernandez@salzburgresearch.at> wrote:
>
>> try to request the root context: /
>> that's the default configuration for the embedded tomcat
>> not /marmotta
>>
>>
>> On 25/02/14 15:30, Rajika Kumarasiri wrote:
>>
>>> hello Sergio,
>>>
>>> I built the source from the repo you provided. Then started the embedded
>>> tomcat using;
>>>
>>> cd launchers/marmotta-webapp/;mvn tomcat7:run.
>>>
>>> Then tried to access the web app but it gave me a 404(please see the
>>> screenshot). Below is my log. And I am running 1.7.0_25 on Fedora.
>>>
>>> Thank you.
>>>
>>> INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
>>> 09:05:32.596 INFO  - WELD-000900: 2.1.2 (Final)
>>> 09:05:32.605 INFO  - JNDI: registering Apache Marmotta JNDI
>>> implementation
>>> ...
>>> 09:05:32.872 INFO  - JNDI: initialising Apache Marmotta Context Factory
>>> ...
>>> 09:05:32.873 INFO  - JNDI: creating Apache Marmotta Initial Context ...
>>> 09:05:32.967 INFO  - WELD-000101: Transactional services not available.
>>> Injection of @Inject UserTransaction not available. Transactional
>>> observers
>>> will be invoked synchronously.
>>> 09:05:34.118 INFO  - Tomcat 7+ detected, CDI injection will be available
>>> in
>>> Servlets and Filters. Injection into Listeners is not supported
>>> 09:05:34.439 WARN  - WELD-001700: Interceptor annotation class
>>> javax.ejb.PostActivate not found, interception based on it is not enabled
>>> 09:05:34.439 WARN  - WELD-001700: Interceptor annotation class
>>> javax.ejb.PrePassivate not found, interception based on it is not enabled
>>> 09:05:34.775 INFO  - Apache Marmotta Core Version 3.2.0-SNAPSHOT starting
>>> up ...
>>> 09:05:34.775 INFO  - Build Information:
>>> 09:05:34.775 INFO  -  - Build User: rajika
>>> 09:05:34.776 INFO  -  - Build Host: localhost.localdomain
>>> 09:05:34.776 INFO  -  - Build Time: Tue, 25 Feb 2014 08:46:41 EST
>>> 09:05:34.777 INFO  -  - Build OS:   Linux 3.7.3-101.fc17.x86_64/amd64
>>> 09:05:34.777 INFO  -  - Revision:   git:df99bd
>>> 09:05:34.781 INFO  - Configured working directory /tmp/marmotta from
>>> system
>>> property marmotta.home
>>> 09:05:34.782 INFO  - Apache Marmotta Configuration Service starting up
>>> ...
>>> 09:05:34.783 INFO  - Apache Marmotta running on Apache Tomcat 7.x
>>> 09:05:34.783 INFO  - reading system configuration from existing
>>> configuration file /tmp/marmotta/system-config.properties
>>> 09:05:34.793 INFO  - reading system configuration metadata from existing
>>> configuration file /tmp/marmotta/system-meta.properties
>>> 09:05:34.904 INFO  - configuration successfully saved to
>>> /tmp/marmotta/system-config.properties
>>> 09:05:34.905 INFO  - configuration successfully saved to
>>> /tmp/marmotta/system-meta.properties
>>> 09:05:34.908 INFO  - Apache Marmotta Logging Service starting up ...
>>> 09:05:35.067 INFO  - - configured logging modules: Caching, CDI/Weld,
>>> Configuration, KiWi Backend, KiWi Reasoner, LDCache, LDClient, LDPath,
>>> Linked Data, RestEasy, Security, Sesame, SPARQL, System, User
>>> 09:05:35.070 INFO  - - configured logging appenders: Syslog (LOCAL0),
>>> Marmotta Main Log, Marmotta Security Log, Marmotta Debug Log, Marmotta
>>> Console
>>> 09:05:35.070 WARN  - LOGGING: Switching to Apache Marmotta logging
>>> configuration; further output will be found in /tmp/marmotta/log/*.log
>>> 09:05:35.613 WARN  - Apache Marmotta Core Version 3.2.0-SNAPSHOT has
>>> started up successfully!
>>> 09:05:35.615 WARN  - You can access the system now at the URL
>>> http://localhost.localdomain:0/
>>> Feb 25, 2014 9:05:35 AM org.apache.coyote.AbstractProtocol start
>>> INFO: Starting ProtocolHandler ["http-bio-8080"]
>>>
>>>
>>>
>>> On Tue, Feb 25, 2014 at 8:24 AM, Rajika Kumarasiri <
>>> rajika.kumarasiri@gmail.com> wrote:
>>>
>>>  hello Sergio,
>>>>
>>>> Yeah, it helps. I will build the source from there and see how it goes.
>>>>
>>>> Thank you.
>>>>
>>>>
>>>> On Tue, Feb 25, 2014 at 6:19 AM, Sergio Fernández <
>>>> sergio.fernandez@salzburgresearch.at> wrote:
>>>>
>>>>  Hi Rajika,
>>>>>
>>>>>
>>>>> On 25/02/14 06:39, Rajika Kumarasiri wrote:
>>>>>
>>>>>  I cloned the source from here
>>>>>> https://git-wip-us.apache.org/repos/asf/marmotta.
>>>>>>
>>>>>> I assume it's the update source repo ?
>>>>>>
>>>>>>
>>>>> Yes, it is. But we hare using gitflow, so that the stable version,
>>>>> which
>>>>> should work anyway. But I'd recommend you to clone the develop branch
>>>>> to
>>>>> access the current development version:
>>>>>
>>>>> git clone -b develop https://git-wip-us.apache.org/
>>>>> repos/asf/marmotta.git
>>>>>
>>>>> Or directly fork our mirror at github:
>>>>>
>>>>> https://github.com/apache/marmotta/tree/develop
>>>>>
>>>>> Further details at
>>>>>
>>>>> http://marmotta.apache.org/development.html#Source_code
>>>>>
>>>>> Hope this helps.
>>>>>
>>>>>
>>>>> Cheers,
>>>>>
>>>>> --
>>>>> Sergio Fernández
>>>>> Senior Researcher
>>>>> Knowledge and Media Technologies
>>>>> Salzburg Research Forschungsgesellschaft mbH
>>>>> Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
>>>>> T: +43 662 2288 318 | M: +43 660 2747 925
>>>>> sergio.fernandez@salzburgresearch.at
>>>>> http://www.salzburgresearch.at
>>>>>
>>>>>
>>>>
>>>>
>>>
>> --
>> Sergio Fernández
>> Senior Researcher
>> Knowledge and Media Technologies
>> Salzburg Research Forschungsgesellschaft mbH
>> Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
>> T: +43 662 2288 318 | M: +43 660 2747 925
>> sergio.fernandez@salzburgresearch.at
>> http://www.salzburgresearch.at
>>
>
>

Re: viewing statistics

Posted by Rajika Kumarasiri <ra...@gmail.com>.
hello Sergio,

It works now. I can view various statistics now.

Thank you for your support.


On Tue, Feb 25, 2014 at 9:55 AM, Sergio Fernández <
sergio.fernandez@salzburgresearch.at> wrote:

> try to request the root context: /
> that's the default configuration for the embedded tomcat
> not /marmotta
>
>
> On 25/02/14 15:30, Rajika Kumarasiri wrote:
>
>> hello Sergio,
>>
>> I built the source from the repo you provided. Then started the embedded
>> tomcat using;
>>
>> cd launchers/marmotta-webapp/;mvn tomcat7:run.
>>
>> Then tried to access the web app but it gave me a 404(please see the
>> screenshot). Below is my log. And I am running 1.7.0_25 on Fedora.
>>
>> Thank you.
>>
>> INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
>> 09:05:32.596 INFO  - WELD-000900: 2.1.2 (Final)
>> 09:05:32.605 INFO  - JNDI: registering Apache Marmotta JNDI implementation
>> ...
>> 09:05:32.872 INFO  - JNDI: initialising Apache Marmotta Context Factory
>> ...
>> 09:05:32.873 INFO  - JNDI: creating Apache Marmotta Initial Context ...
>> 09:05:32.967 INFO  - WELD-000101: Transactional services not available.
>> Injection of @Inject UserTransaction not available. Transactional
>> observers
>> will be invoked synchronously.
>> 09:05:34.118 INFO  - Tomcat 7+ detected, CDI injection will be available
>> in
>> Servlets and Filters. Injection into Listeners is not supported
>> 09:05:34.439 WARN  - WELD-001700: Interceptor annotation class
>> javax.ejb.PostActivate not found, interception based on it is not enabled
>> 09:05:34.439 WARN  - WELD-001700: Interceptor annotation class
>> javax.ejb.PrePassivate not found, interception based on it is not enabled
>> 09:05:34.775 INFO  - Apache Marmotta Core Version 3.2.0-SNAPSHOT starting
>> up ...
>> 09:05:34.775 INFO  - Build Information:
>> 09:05:34.775 INFO  -  - Build User: rajika
>> 09:05:34.776 INFO  -  - Build Host: localhost.localdomain
>> 09:05:34.776 INFO  -  - Build Time: Tue, 25 Feb 2014 08:46:41 EST
>> 09:05:34.777 INFO  -  - Build OS:   Linux 3.7.3-101.fc17.x86_64/amd64
>> 09:05:34.777 INFO  -  - Revision:   git:df99bd
>> 09:05:34.781 INFO  - Configured working directory /tmp/marmotta from
>> system
>> property marmotta.home
>> 09:05:34.782 INFO  - Apache Marmotta Configuration Service starting up ...
>> 09:05:34.783 INFO  - Apache Marmotta running on Apache Tomcat 7.x
>> 09:05:34.783 INFO  - reading system configuration from existing
>> configuration file /tmp/marmotta/system-config.properties
>> 09:05:34.793 INFO  - reading system configuration metadata from existing
>> configuration file /tmp/marmotta/system-meta.properties
>> 09:05:34.904 INFO  - configuration successfully saved to
>> /tmp/marmotta/system-config.properties
>> 09:05:34.905 INFO  - configuration successfully saved to
>> /tmp/marmotta/system-meta.properties
>> 09:05:34.908 INFO  - Apache Marmotta Logging Service starting up ...
>> 09:05:35.067 INFO  - - configured logging modules: Caching, CDI/Weld,
>> Configuration, KiWi Backend, KiWi Reasoner, LDCache, LDClient, LDPath,
>> Linked Data, RestEasy, Security, Sesame, SPARQL, System, User
>> 09:05:35.070 INFO  - - configured logging appenders: Syslog (LOCAL0),
>> Marmotta Main Log, Marmotta Security Log, Marmotta Debug Log, Marmotta
>> Console
>> 09:05:35.070 WARN  - LOGGING: Switching to Apache Marmotta logging
>> configuration; further output will be found in /tmp/marmotta/log/*.log
>> 09:05:35.613 WARN  - Apache Marmotta Core Version 3.2.0-SNAPSHOT has
>> started up successfully!
>> 09:05:35.615 WARN  - You can access the system now at the URL
>> http://localhost.localdomain:0/
>> Feb 25, 2014 9:05:35 AM org.apache.coyote.AbstractProtocol start
>> INFO: Starting ProtocolHandler ["http-bio-8080"]
>>
>>
>>
>> On Tue, Feb 25, 2014 at 8:24 AM, Rajika Kumarasiri <
>> rajika.kumarasiri@gmail.com> wrote:
>>
>>  hello Sergio,
>>>
>>> Yeah, it helps. I will build the source from there and see how it goes.
>>>
>>> Thank you.
>>>
>>>
>>> On Tue, Feb 25, 2014 at 6:19 AM, Sergio Fernández <
>>> sergio.fernandez@salzburgresearch.at> wrote:
>>>
>>>  Hi Rajika,
>>>>
>>>>
>>>> On 25/02/14 06:39, Rajika Kumarasiri wrote:
>>>>
>>>>  I cloned the source from here
>>>>> https://git-wip-us.apache.org/repos/asf/marmotta.
>>>>>
>>>>> I assume it's the update source repo ?
>>>>>
>>>>>
>>>> Yes, it is. But we hare using gitflow, so that the stable version, which
>>>> should work anyway. But I'd recommend you to clone the develop branch to
>>>> access the current development version:
>>>>
>>>> git clone -b develop https://git-wip-us.apache.org/
>>>> repos/asf/marmotta.git
>>>>
>>>> Or directly fork our mirror at github:
>>>>
>>>> https://github.com/apache/marmotta/tree/develop
>>>>
>>>> Further details at
>>>>
>>>> http://marmotta.apache.org/development.html#Source_code
>>>>
>>>> Hope this helps.
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> --
>>>> Sergio Fernández
>>>> Senior Researcher
>>>> Knowledge and Media Technologies
>>>> Salzburg Research Forschungsgesellschaft mbH
>>>> Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
>>>> T: +43 662 2288 318 | M: +43 660 2747 925
>>>> sergio.fernandez@salzburgresearch.at
>>>> http://www.salzburgresearch.at
>>>>
>>>>
>>>
>>>
>>
> --
> Sergio Fernández
> Senior Researcher
> Knowledge and Media Technologies
> Salzburg Research Forschungsgesellschaft mbH
> Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
> T: +43 662 2288 318 | M: +43 660 2747 925
> sergio.fernandez@salzburgresearch.at
> http://www.salzburgresearch.at
>

Re: viewing statistics

Posted by Sergio Fernández <se...@salzburgresearch.at>.
try to request the root context: /
that's the default configuration for the embedded tomcat
not /marmotta

On 25/02/14 15:30, Rajika Kumarasiri wrote:
> hello Sergio,
>
> I built the source from the repo you provided. Then started the embedded
> tomcat using;
>
> cd launchers/marmotta-webapp/;mvn tomcat7:run.
>
> Then tried to access the web app but it gave me a 404(please see the
> screenshot). Below is my log. And I am running 1.7.0_25 on Fedora.
>
> Thank you.
>
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
> 09:05:32.596 INFO  - WELD-000900: 2.1.2 (Final)
> 09:05:32.605 INFO  - JNDI: registering Apache Marmotta JNDI implementation
> ...
> 09:05:32.872 INFO  - JNDI: initialising Apache Marmotta Context Factory ...
> 09:05:32.873 INFO  - JNDI: creating Apache Marmotta Initial Context ...
> 09:05:32.967 INFO  - WELD-000101: Transactional services not available.
> Injection of @Inject UserTransaction not available. Transactional observers
> will be invoked synchronously.
> 09:05:34.118 INFO  - Tomcat 7+ detected, CDI injection will be available in
> Servlets and Filters. Injection into Listeners is not supported
> 09:05:34.439 WARN  - WELD-001700: Interceptor annotation class
> javax.ejb.PostActivate not found, interception based on it is not enabled
> 09:05:34.439 WARN  - WELD-001700: Interceptor annotation class
> javax.ejb.PrePassivate not found, interception based on it is not enabled
> 09:05:34.775 INFO  - Apache Marmotta Core Version 3.2.0-SNAPSHOT starting
> up ...
> 09:05:34.775 INFO  - Build Information:
> 09:05:34.775 INFO  -  - Build User: rajika
> 09:05:34.776 INFO  -  - Build Host: localhost.localdomain
> 09:05:34.776 INFO  -  - Build Time: Tue, 25 Feb 2014 08:46:41 EST
> 09:05:34.777 INFO  -  - Build OS:   Linux 3.7.3-101.fc17.x86_64/amd64
> 09:05:34.777 INFO  -  - Revision:   git:df99bd
> 09:05:34.781 INFO  - Configured working directory /tmp/marmotta from system
> property marmotta.home
> 09:05:34.782 INFO  - Apache Marmotta Configuration Service starting up ...
> 09:05:34.783 INFO  - Apache Marmotta running on Apache Tomcat 7.x
> 09:05:34.783 INFO  - reading system configuration from existing
> configuration file /tmp/marmotta/system-config.properties
> 09:05:34.793 INFO  - reading system configuration metadata from existing
> configuration file /tmp/marmotta/system-meta.properties
> 09:05:34.904 INFO  - configuration successfully saved to
> /tmp/marmotta/system-config.properties
> 09:05:34.905 INFO  - configuration successfully saved to
> /tmp/marmotta/system-meta.properties
> 09:05:34.908 INFO  - Apache Marmotta Logging Service starting up ...
> 09:05:35.067 INFO  - - configured logging modules: Caching, CDI/Weld,
> Configuration, KiWi Backend, KiWi Reasoner, LDCache, LDClient, LDPath,
> Linked Data, RestEasy, Security, Sesame, SPARQL, System, User
> 09:05:35.070 INFO  - - configured logging appenders: Syslog (LOCAL0),
> Marmotta Main Log, Marmotta Security Log, Marmotta Debug Log, Marmotta
> Console
> 09:05:35.070 WARN  - LOGGING: Switching to Apache Marmotta logging
> configuration; further output will be found in /tmp/marmotta/log/*.log
> 09:05:35.613 WARN  - Apache Marmotta Core Version 3.2.0-SNAPSHOT has
> started up successfully!
> 09:05:35.615 WARN  - You can access the system now at the URL
> http://localhost.localdomain:0/
> Feb 25, 2014 9:05:35 AM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["http-bio-8080"]
>
>
>
> On Tue, Feb 25, 2014 at 8:24 AM, Rajika Kumarasiri <
> rajika.kumarasiri@gmail.com> wrote:
>
>> hello Sergio,
>>
>> Yeah, it helps. I will build the source from there and see how it goes.
>>
>> Thank you.
>>
>>
>> On Tue, Feb 25, 2014 at 6:19 AM, Sergio Fernández <
>> sergio.fernandez@salzburgresearch.at> wrote:
>>
>>> Hi Rajika,
>>>
>>>
>>> On 25/02/14 06:39, Rajika Kumarasiri wrote:
>>>
>>>> I cloned the source from here
>>>> https://git-wip-us.apache.org/repos/asf/marmotta.
>>>>
>>>> I assume it's the update source repo ?
>>>>
>>>
>>> Yes, it is. But we hare using gitflow, so that the stable version, which
>>> should work anyway. But I'd recommend you to clone the develop branch to
>>> access the current development version:
>>>
>>> git clone -b develop https://git-wip-us.apache.org/repos/asf/marmotta.git
>>>
>>> Or directly fork our mirror at github:
>>>
>>> https://github.com/apache/marmotta/tree/develop
>>>
>>> Further details at
>>>
>>> http://marmotta.apache.org/development.html#Source_code
>>>
>>> Hope this helps.
>>>
>>>
>>> Cheers,
>>>
>>> --
>>> Sergio Fernández
>>> Senior Researcher
>>> Knowledge and Media Technologies
>>> Salzburg Research Forschungsgesellschaft mbH
>>> Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
>>> T: +43 662 2288 318 | M: +43 660 2747 925
>>> sergio.fernandez@salzburgresearch.at
>>> http://www.salzburgresearch.at
>>>
>>
>>
>

-- 
Sergio Fernández
Senior Researcher
Knowledge and Media Technologies
Salzburg Research Forschungsgesellschaft mbH
Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
T: +43 662 2288 318 | M: +43 660 2747 925
sergio.fernandez@salzburgresearch.at
http://www.salzburgresearch.at

Re: viewing statistics

Posted by Rajika Kumarasiri <ra...@gmail.com>.
hello Sergio,

I built the source from the repo you provided. Then started the embedded
tomcat using;

cd launchers/marmotta-webapp/;mvn tomcat7:run.

Then tried to access the web app but it gave me a 404(please see the
screenshot). Below is my log. And I am running 1.7.0_25 on Fedora.

Thank you.

INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
09:05:32.596 INFO  - WELD-000900: 2.1.2 (Final)
09:05:32.605 INFO  - JNDI: registering Apache Marmotta JNDI implementation
...
09:05:32.872 INFO  - JNDI: initialising Apache Marmotta Context Factory ...
09:05:32.873 INFO  - JNDI: creating Apache Marmotta Initial Context ...
09:05:32.967 INFO  - WELD-000101: Transactional services not available.
Injection of @Inject UserTransaction not available. Transactional observers
will be invoked synchronously.
09:05:34.118 INFO  - Tomcat 7+ detected, CDI injection will be available in
Servlets and Filters. Injection into Listeners is not supported
09:05:34.439 WARN  - WELD-001700: Interceptor annotation class
javax.ejb.PostActivate not found, interception based on it is not enabled
09:05:34.439 WARN  - WELD-001700: Interceptor annotation class
javax.ejb.PrePassivate not found, interception based on it is not enabled
09:05:34.775 INFO  - Apache Marmotta Core Version 3.2.0-SNAPSHOT starting
up ...
09:05:34.775 INFO  - Build Information:
09:05:34.775 INFO  -  - Build User: rajika
09:05:34.776 INFO  -  - Build Host: localhost.localdomain
09:05:34.776 INFO  -  - Build Time: Tue, 25 Feb 2014 08:46:41 EST
09:05:34.777 INFO  -  - Build OS:   Linux 3.7.3-101.fc17.x86_64/amd64
09:05:34.777 INFO  -  - Revision:   git:df99bd
09:05:34.781 INFO  - Configured working directory /tmp/marmotta from system
property marmotta.home
09:05:34.782 INFO  - Apache Marmotta Configuration Service starting up ...
09:05:34.783 INFO  - Apache Marmotta running on Apache Tomcat 7.x
09:05:34.783 INFO  - reading system configuration from existing
configuration file /tmp/marmotta/system-config.properties
09:05:34.793 INFO  - reading system configuration metadata from existing
configuration file /tmp/marmotta/system-meta.properties
09:05:34.904 INFO  - configuration successfully saved to
/tmp/marmotta/system-config.properties
09:05:34.905 INFO  - configuration successfully saved to
/tmp/marmotta/system-meta.properties
09:05:34.908 INFO  - Apache Marmotta Logging Service starting up ...
09:05:35.067 INFO  - - configured logging modules: Caching, CDI/Weld,
Configuration, KiWi Backend, KiWi Reasoner, LDCache, LDClient, LDPath,
Linked Data, RestEasy, Security, Sesame, SPARQL, System, User
09:05:35.070 INFO  - - configured logging appenders: Syslog (LOCAL0),
Marmotta Main Log, Marmotta Security Log, Marmotta Debug Log, Marmotta
Console
09:05:35.070 WARN  - LOGGING: Switching to Apache Marmotta logging
configuration; further output will be found in /tmp/marmotta/log/*.log
09:05:35.613 WARN  - Apache Marmotta Core Version 3.2.0-SNAPSHOT has
started up successfully!
09:05:35.615 WARN  - You can access the system now at the URL
http://localhost.localdomain:0/
Feb 25, 2014 9:05:35 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]



On Tue, Feb 25, 2014 at 8:24 AM, Rajika Kumarasiri <
rajika.kumarasiri@gmail.com> wrote:

> hello Sergio,
>
> Yeah, it helps. I will build the source from there and see how it goes.
>
> Thank you.
>
>
> On Tue, Feb 25, 2014 at 6:19 AM, Sergio Fernández <
> sergio.fernandez@salzburgresearch.at> wrote:
>
>> Hi Rajika,
>>
>>
>> On 25/02/14 06:39, Rajika Kumarasiri wrote:
>>
>>> I cloned the source from here
>>> https://git-wip-us.apache.org/repos/asf/marmotta.
>>>
>>> I assume it's the update source repo ?
>>>
>>
>> Yes, it is. But we hare using gitflow, so that the stable version, which
>> should work anyway. But I'd recommend you to clone the develop branch to
>> access the current development version:
>>
>> git clone -b develop https://git-wip-us.apache.org/repos/asf/marmotta.git
>>
>> Or directly fork our mirror at github:
>>
>> https://github.com/apache/marmotta/tree/develop
>>
>> Further details at
>>
>> http://marmotta.apache.org/development.html#Source_code
>>
>> Hope this helps.
>>
>>
>> Cheers,
>>
>> --
>> Sergio Fernández
>> Senior Researcher
>> Knowledge and Media Technologies
>> Salzburg Research Forschungsgesellschaft mbH
>> Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
>> T: +43 662 2288 318 | M: +43 660 2747 925
>> sergio.fernandez@salzburgresearch.at
>> http://www.salzburgresearch.at
>>
>
>

Re: viewing statistics

Posted by Rajika Kumarasiri <ra...@gmail.com>.
hello Sergio,

Yeah, it helps. I will build the source from there and see how it goes.

Thank you.


On Tue, Feb 25, 2014 at 6:19 AM, Sergio Fernández <
sergio.fernandez@salzburgresearch.at> wrote:

> Hi Rajika,
>
>
> On 25/02/14 06:39, Rajika Kumarasiri wrote:
>
>> I cloned the source from here
>> https://git-wip-us.apache.org/repos/asf/marmotta.
>>
>> I assume it's the update source repo ?
>>
>
> Yes, it is. But we hare using gitflow, so that the stable version, which
> should work anyway. But I'd recommend you to clone the develop branch to
> access the current development version:
>
> git clone -b develop https://git-wip-us.apache.org/repos/asf/marmotta.git
>
> Or directly fork our mirror at github:
>
> https://github.com/apache/marmotta/tree/develop
>
> Further details at
>
> http://marmotta.apache.org/development.html#Source_code
>
> Hope this helps.
>
>
> Cheers,
>
> --
> Sergio Fernández
> Senior Researcher
> Knowledge and Media Technologies
> Salzburg Research Forschungsgesellschaft mbH
> Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
> T: +43 662 2288 318 | M: +43 660 2747 925
> sergio.fernandez@salzburgresearch.at
> http://www.salzburgresearch.at
>

Re: viewing statistics

Posted by Sergio Fernández <se...@salzburgresearch.at>.
Hi Rajika,

On 25/02/14 06:39, Rajika Kumarasiri wrote:
> I cloned the source from here
> https://git-wip-us.apache.org/repos/asf/marmotta.
>
> I assume it's the update source repo ?

Yes, it is. But we hare using gitflow, so that the stable version, which 
should work anyway. But I'd recommend you to clone the develop branch to 
access the current development version:

git clone -b develop https://git-wip-us.apache.org/repos/asf/marmotta.git

Or directly fork our mirror at github:

https://github.com/apache/marmotta/tree/develop

Further details at

http://marmotta.apache.org/development.html#Source_code

Hope this helps.

Cheers,

-- 
Sergio Fernández
Senior Researcher
Knowledge and Media Technologies
Salzburg Research Forschungsgesellschaft mbH
Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
T: +43 662 2288 318 | M: +43 660 2747 925
sergio.fernandez@salzburgresearch.at
http://www.salzburgresearch.at

Re: viewing statistics

Posted by Rajika Kumarasiri <ra...@gmail.com>.
hello,

I cloned the source from here
https://git-wip-us.apache.org/repos/asf/marmotta.

I assume it's the update source repo ?

Thank you.


On Mon, Feb 24, 2014 at 10:21 AM, Rajika Kumarasiri <
rajika.kumarasiri@gmail.com> wrote:

> hello Sergio,
>
> I actually built the svn trunk. I will try again and let you know.
>
> Thank you.
>
> Rajika
>
>
> On Mon, Feb 24, 2014 at 3:13 AM, Sergio Fernández <
> sergio.fernandez@salzburgresearch.at> wrote:
>
>> Hi Rajika,
>>
>>
>> On 23/02/14 08:06, Rajika Kumarasiri wrote:
>>
>>> I built Marmotta distribution from source and ran it using the embedded
>>> tomcat using the default configurations. I want to view the statistics.
>>>
>>> I view them at System Overview->Statistics, but I can't see anything.
>>> When
>>> I look at the source
>>> of ./platform/marmotta-core/src/main/resources/web/admin/system.html it
>>> seems it's just a dummy file.
>>>
>>> How can I view statistics ? Do I have to configure additional stuffs ?
>>>
>>
>> The Marmotta's admin interface is based on basic html skeletons, plus
>> javascript widgets for rendering data. That's why the local file seems to
>> have nothing, because the actual logic is coded in a javascript script.
>>
>> Which version are you trying? I've just quickly checked with the current
>> 3.2.0-SNAPSHOT at the develop branch, and for em the system console renders
>> all statistics there. Please, check if you have any error in the browser
>> console, because we may have a bug there.
>>
>> Cheers,
>>
>> --
>> Sergio Fernández
>> Senior Researcher
>> Knowledge and Media Technologies
>> Salzburg Research Forschungsgesellschaft mbH
>> Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
>> T: +43 662 2288 318 | M: +43 660 2747 925
>> sergio.fernandez@salzburgresearch.at
>> http://www.salzburgresearch.at
>>
>
>

Re: viewing statistics

Posted by Rajika Kumarasiri <ra...@gmail.com>.
hello Sergio,

I actually built the svn trunk. I will try again and let you know.

Thank you.

Rajika


On Mon, Feb 24, 2014 at 3:13 AM, Sergio Fernández <
sergio.fernandez@salzburgresearch.at> wrote:

> Hi Rajika,
>
>
> On 23/02/14 08:06, Rajika Kumarasiri wrote:
>
>> I built Marmotta distribution from source and ran it using the embedded
>> tomcat using the default configurations. I want to view the statistics.
>>
>> I view them at System Overview->Statistics, but I can't see anything. When
>> I look at the source
>> of ./platform/marmotta-core/src/main/resources/web/admin/system.html it
>> seems it's just a dummy file.
>>
>> How can I view statistics ? Do I have to configure additional stuffs ?
>>
>
> The Marmotta's admin interface is based on basic html skeletons, plus
> javascript widgets for rendering data. That's why the local file seems to
> have nothing, because the actual logic is coded in a javascript script.
>
> Which version are you trying? I've just quickly checked with the current
> 3.2.0-SNAPSHOT at the develop branch, and for em the system console renders
> all statistics there. Please, check if you have any error in the browser
> console, because we may have a bug there.
>
> Cheers,
>
> --
> Sergio Fernández
> Senior Researcher
> Knowledge and Media Technologies
> Salzburg Research Forschungsgesellschaft mbH
> Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
> T: +43 662 2288 318 | M: +43 660 2747 925
> sergio.fernandez@salzburgresearch.at
> http://www.salzburgresearch.at
>

Re: viewing statistics

Posted by Sergio Fernández <se...@salzburgresearch.at>.
Hi Rajika,

On 23/02/14 08:06, Rajika Kumarasiri wrote:
> I built Marmotta distribution from source and ran it using the embedded
> tomcat using the default configurations. I want to view the statistics.
>
> I view them at System Overview->Statistics, but I can't see anything. When
> I look at the source
> of ./platform/marmotta-core/src/main/resources/web/admin/system.html it
> seems it's just a dummy file.
>
> How can I view statistics ? Do I have to configure additional stuffs ?

The Marmotta's admin interface is based on basic html skeletons, plus 
javascript widgets for rendering data. That's why the local file seems 
to have nothing, because the actual logic is coded in a javascript script.

Which version are you trying? I've just quickly checked with the current 
3.2.0-SNAPSHOT at the develop branch, and for em the system console 
renders all statistics there. Please, check if you have any error in the 
browser console, because we may have a bug there.

Cheers,

-- 
Sergio Fernández
Senior Researcher
Knowledge and Media Technologies
Salzburg Research Forschungsgesellschaft mbH
Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria
T: +43 662 2288 318 | M: +43 660 2747 925
sergio.fernandez@salzburgresearch.at
http://www.salzburgresearch.at