I tried to start up the marmotta built from the source code and surprisingly it started, and on the face of it everything looks fine.
Though I still observe the same error in the logs... Sorry for bother and thank you again! Max On Mon, Dec 9, 2013 at 2:28 PM, Maxim Kolchin <kolchin...@gmail.com> wrote: > Hi Sergio, > > Thank you for the response! > > I tried three scenarios, but in all cases I faced the same error: > (1) created a project from the archetype ("Installation (maven)" > section) and deploy the war on the Tomcat > (2) and also built the project from git on my laptop and uploaded the > war on the same Tomcat ("Installation (source)"). > (3) and built the project from git and run with mvn tomcat7:run on my laptop. > > Note: The Tomcat is running on the Ubuntu Server. The laptop runs > Fedora 18 x86_64. > > Max > > On Mon, Dec 9, 2013 at 1:00 PM, Sergio Fernández > <sergio.fernan...@salzburgresearch.at> wrote: >> Hi Maxim, >> >> looks there is a problem with CDI. How are you running Marmotta, from the >> installer or manually deploying the WAR in Tomcat? Just to figure out what >> could be the cause of such error... >> >> Cheers, >> >> >> On 06/12/13 20:57, Maxim Kolchin wrote: >>> >>> Hello, >>> >>> Could please help me to resolve a problem? I did not find anything >>> related on the issue tracker or the mailing list. >>> >>> I'm facing the following error during deployment of the war file on >>> Tomcat 7.0.26 (Ubuntu x86, Java 7): >>> >>> 23:15:08.345 ERROR - templating service could not be initialized: >>> Severe Error: admin template cannot be found: WELD-000049 Unable to >>> invoke public void >>> >>> org.apache.marmotta.platform.core.services.templating.TemplatingServiceImpl.initDataModel() >>> on >>> org.apache.marmotta.platform.core.services.templating.TemplatingServiceImpl@1e59880 >>> >>> The content of the setenv.sh is: >>> >>> export JAVA_HOME="/usr/lib/jvm/java-1.7.0-openjdk-i386/" >>> export JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Xmx1024m >>> -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC >>> -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC >>> -XX:+HeapDumpOnOutOfMemoryError" >>> export MARMOTTA_HOME="/home/user/installs/marmotta-home" >>> >>> The full log at the end. >>> >>> Thank you in advance! >>> Max >>> >>> Dec 06, 2013 11:15:02 PM org.apache.coyote.AbstractProtocol init >>> INFO: Initializing ProtocolHandler ["http-bio-8080"] >>> Dec 06, 2013 11:15:02 PM org.apache.catalina.startup.Catalina load >>> INFO: Initialization processed in 740 ms >>> Dec 06, 2013 11:15:02 PM org.apache.catalina.core.StandardService >>> startInternal >>> INFO: Starting service Catalina >>> Dec 06, 2013 11:15:02 PM org.apache.catalina.core.StandardEngine >>> startInternal >>> INFO: Starting Servlet Engine: Apache Tomcat/7.0.26 >>> Dec 06, 2013 11:15:03 PM org.apache.catalina.startup.HostConfig deployWAR >>> INFO: Deploying web application archive >>> /var/lib/tomcat7/webapps/marmotta.war >>> Dec 06, 2013 11:15:03 PM org.apache.catalina.loader.WebappClassLoader >>> validateJarFile >>> INFO: >>> validateJarFile(/var/lib/tomcat7/webapps/marmotta/WEB-INF/lib/jboss-el-api_3.0_spec-1.0.0.Alpha1.jar) >>> - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending >>> class: javax/el/Expression.class >>> SLF4J: Class path contains multiple SLF4J bindings. >>> SLF4J: Found binding in >>> >>> [jar:file:/var/lib/tomcat7/webapps/marmotta/WEB-INF/lib/logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class] >>> SLF4J: Found binding in >>> >>> [jar:file:/var/lib/tomcat7/webapps/marmotta/WEB-INF/lib/slf4j-simple-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class] >>> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an >>> explanation. >>> SLF4J: Actual binding is of type >>> [ch.qos.logback.classic.util.ContextSelectorStaticBinder] >>> 23:15:04.451 INFO - WELD-000900 2.0.4 (Final) >>> 23:15:04.474 INFO - JNDI: registering Apache Marmotta JNDI implementation >>> ... >>> 23:15:04.789 INFO - JNDI: initialising Apache Marmotta Context Factory >>> ... >>> 23:15:04.791 INFO - JNDI: creating Apache Marmotta Initial Context ... >>> 23:15:04.903 INFO - WELD-000101 Transactional services not available. >>> Injection of @Inject UserTransaction not available. Transactional >>> observers will be invoked synchronously. >>> 23:15:06.254 INFO - Tomcat 7 detected, CDI injection will be >>> available in Servlets and Filters. Injection into Listeners is not >>> supported >>> 23:15:06.808 WARN - Class 'javax.ejb.PostActivate' not found, >>> interception based on it is not enabled >>> 23:15:06.808 WARN - Class 'javax.ejb.PrePassivate' not found, >>> interception based on it is not enabled >>> 23:15:07.234 INFO - Apache Marmotta Core Version 3.1.0-incubating >>> starting up ... >>> 23:15:07.234 INFO - Build Information: >>> 23:15:07.235 INFO - - Build User: wastl >>> 23:15:07.235 INFO - - Build Host: finn >>> 23:15:07.236 INFO - - Build Time: Di, 24 Sep 2013 16:51:16 MESZ >>> 23:15:07.236 INFO - - Build OS: Linux 3.8.0-30-generic/amd64 >>> 23:15:07.236 INFO - - Revision: git:c66a4e >>> 23:15:07.241 INFO - Configured working directory >>> /home/user/installs/marmotta-home from environment variable >>> MARMOTTA_HOME >>> 23:15:07.242 INFO - Apache Marmotta Configuration Service starting up ... >>> 23:15:07.243 INFO - Apache Marmotta running on Apache Tomcat 7.x >>> 23:15:07.243 INFO - reading system configuration from existing >>> configuration file >>> /home/user/installs/marmotta-home/system-config.properties >>> 23:15:07.256 INFO - reading system configuration metadata from >>> existing configuration file >>> /home/user/installs/marmotta-home/system-meta.properties >>> 23:15:07.312 WARN - LOGGING: Switching to Apache Marmotta logging >>> configuration; further output will be found in >>> /home/user/installs/marmotta-home/log/*.log >>> 23:15:08.345 ERROR - templating service could not be initialized: >>> Severe Error: admin template cannot be found: WELD-000049 Unable to >>> invoke public void >>> >>> org.apache.marmotta.platform.core.services.templating.TemplatingServiceImpl.initDataModel() >>> on >>> org.apache.marmotta.platform.core.services.templating.TemplatingServiceImpl@1e59880 >>> 23:15:08.434 WARN - Apache Marmotta Core Version 3.1.0-incubating has >>> started up successfully! >>> 23:15:08.445 WARN - You can access the system now at the URL >>> http://ubuntu:8080/marmotta/ >>> Dec 06, 2013 11:15:08 PM org.apache.catalina.core.StandardContext >>> startInternal >>> SEVERE: Error filterStart >>> Dec 06, 2013 11:15:08 PM org.apache.catalina.core.StandardContext >>> startInternal >>> SEVERE: Context [/marmotta] startup failed due to previous errors >>> Dec 06, 2013 11:15:08 PM org.apache.catalina.startup.HostConfig >>> deployDirectory >>> INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT >>> Dec 06, 2013 11:15:09 PM org.apache.coyote.AbstractProtocol start >>> INFO: Starting ProtocolHandler ["http-bio-8080"] >>> Dec 06, 2013 11:15:09 PM org.apache.catalina.startup.Catalina start >>> INFO: Server startup in 6340 ms >>> >> >> -- >> 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