Uploaded image for project: 'Marmotta'
  1. Marmotta
  2. MARMOTTA-447

Marmotta web app doesn't load properly on Fedora(17)/Google Chrome(29.0.1547.57 beta)



    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.0
    • Component/s: None
    • Labels:
    • Environment:

      Fedora 17, Google Chrome 29.0.1547.57 beta, JRE 1.7.0_25.


      I built the Marmotta web app from the git source repo(head), and started using;

      cd launchers/marmotta-webapp/;mvn tomcat7:run and the start-up log is below.

      [INFO] Running war on http://localhost:8080/
      [INFO] Using existing Tomcat server configuration at /home/rajika/project/apache/marmotta/launchers/marmotta-webapp/target/tomcat
      [INFO] setting SystemProperties:
      [INFO] marmotta.home=/tmp/marmotta
      [INFO] create webapp with contextPath:
      Feb 27, 2014 1:59:13 AM org.apache.coyote.AbstractProtocol init
      INFO: Initializing ProtocolHandler ["http-bio-8080"]
      Feb 27, 2014 1:59:13 AM org.apache.catalina.core.StandardService startInternal
      INFO: Starting service Tomcat
      Feb 27, 2014 1:59:13 AM org.apache.catalina.core.StandardEngine startInternal
      INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
      01:59:19.986 INFO - WELD-000900: 2.1.2 (Final)
      01:59:20.000 INFO - JNDI: registering Apache Marmotta JNDI implementation ...
      01:59:20.361 INFO - JNDI: initialising Apache Marmotta Context Factory ...
      01:59:20.363 INFO - JNDI: creating Apache Marmotta Initial Context ...
      01:59:20.431 INFO - WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
      01:59:21.631 INFO - Tomcat 7+ detected, CDI injection will be available in Servlets and Filters. Injection into Listeners is not supported
      01:59:21.919 WARN - WELD-001700: Interceptor annotation class javax.ejb.PostActivate not found, interception based on it is not enabled
      01:59:21.920 WARN - WELD-001700: Interceptor annotation class javax.ejb.PrePassivate not found, interception based on it is not enabled
      01:59:22.246 INFO - Apache Marmotta Core Version 3.2.0-SNAPSHOT starting up ...
      01:59:22.246 INFO - Build Information:
      01:59:22.246 INFO - - Build User: sergio
      01:59:22.246 INFO - - Build Host: wolfcastle
      01:59:22.247 INFO - - Build Time: Wed, 26 Feb 2014 17:20:17 CET
      01:59:22.247 INFO - - Build OS: Linux 3.10-3-amd64/amd64
      01:59:22.248 INFO - - Revision: hg:982f791d77de+
      01:59:22.252 INFO - Configured working directory /tmp/marmotta from system property marmotta.home
      01:59:22.253 INFO - Apache Marmotta Configuration Service starting up ...
      01:59:22.253 INFO - Apache Marmotta running on Apache Tomcat 7.x
      01:59:22.254 INFO - reading system configuration from existing configuration file /tmp/marmotta/system-config.properties
      01:59:22.277 INFO - reading system configuration metadata from existing configuration file /tmp/marmotta/system-meta.properties
      01:59:22.338 INFO - configuration successfully saved to /tmp/marmotta/system-config.properties
      01:59:22.338 INFO - configuration successfully saved to /tmp/marmotta/system-meta.properties
      01:59:22.341 INFO - Apache Marmotta Logging Service starting up ...
      01:59:22.490 INFO - - configured logging modules: Caching, CDI/Weld, Configuration, KiWi Backend, KiWi Reasoner, LDCache, LDClient, LDPath, Linked Data, RestEasy, Security, Sesame, SPARQL, System, User
      01:59:22.492 INFO - - configured logging appenders: Syslog (LOCAL0), Marmotta Main Log, Marmotta Security Log, Marmotta Debug Log, Marmotta Console
      01:59:22.492 WARN - LOGGING: Switching to Apache Marmotta logging configuration; further output will be found in /tmp/marmotta/log/*.log
      01:59:23.043 WARN - Apache Marmotta Core Version 3.2.0-SNAPSHOT has started up successfully!
      01:59:23.044 WARN - You can access the system now at the URL http://localhost.localdomain:0/
      Feb 27, 2014 1:59:23 AM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["http-bio-8080"]

      When I tried to load the web app using http://localhost:8080, it re-directs me to http://localhost.localdomain:8080/marmotta/core/admin/about.html and ended up with a 404. localhost.localdomain is the host name and it's correct.

      Then curl was used and here 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 the server has returned a http re-direct.

      If you need any more information let me know.




            • Assignee:
              jakob Jakob Frank
              rajika Rajika Kumarasiri
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: