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.kumaras...@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.fernan...@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.fernan...@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.fernan...@salzburgresearch.at
http://www.salzburgresearch.at