You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2013/04/10 14:58:16 UTC

[jira] [Commented] (STANBOL-1024) Error on starting (o.a.stanbol.commons.freemarker)

    [ https://issues.apache.org/jira/browse/STANBOL-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627751#comment-13627751 ] 

Rupert Westenthaler commented on STANBOL-1024:
----------------------------------------------

Hi Maxim,

Are those the whole stack traces you are seeing? As the attached logs does not include those exceptions it would be important to know the whole trace.

In addition are you sure that the part of the log in the end that includes those warnings

    WARNING: The following warnings have been detected with resource and/or provider classes: 
      WARNING: A HTTP GET method, public void org.apache.clerezza.platform.security.permissioncheck.PermissionCheck.checkPermission(java.lang.String), MUST return a non-void 

is from starting the stable launcher (as stated in the beginning). Because those messages are not expected when starting the stable launcher - as this launcher does not include the modules generating those.
                
> Error on starting (o.a.stanbol.commons.freemarker)
> --------------------------------------------------
>
>                 Key: STANBOL-1024
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1024
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Web
>            Reporter: Maxim Filippovich
>         Attachments: error.log
>
>
> I'm downloaded sources from github, build it on MacOs,
> ➜  repo git:(trunk) ✗ java -version
> java version "1.7.0_17"
> Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
> Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
> Run stanbol
> java -Xmx1G -XX:MaxPermSize=256m -jar launchers/stable/target/org.apache.stanbol.launchers.stable-0.10.0-SNAPSHOT.jar
> 10.04.2013 10:14:40.489 *INFO * [main] Setting sling.home=/Users/maxfilipovich/Projects/github/stanbol/repo/stanbol (system property sling.home)
> 10.04.2013 10:14:40.490 *INFO * [main] Starting Apache Sling in /Users/maxfilipovich/Projects/github/stanbol/repo/stanbol
> 10.04.2013 10:14:40.504 *INFO * [main] Checking launcher JAR in folder /Users/maxfilipovich/Projects/github/stanbol/repo/stanbol
> 10.04.2013 10:14:40.551 *INFO * [main] Existing launcher is up to date, using it: 2.4.0 (org.apache.sling.launchpad.base.jar)
> 10.04.2013 10:14:40.554 *INFO * [main] Loading launcher class org.apache.sling.launchpad.base.app.MainDelegate from org.apache.sling.launchpad.base.jar
> 10.04.2013 10:14:40.572 *INFO * [main] Setting sling.launchpad=/Users/maxfilipovich/Projects/github/stanbol/repo/stanbol
> 10.04.2013 10:14:40.572 *INFO * [main] Starting launcher ...
> 10.04.2013 10:14:40.575 *INFO * [main] HTTP server port: 8080
> But, at localhost:8080/ i saw first error:
> java.lang.ExceptionInInitializerError
> 	at freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:147)
> 	at freemarker.template.ObjectWrapper.<clinit>(ObjectWrapper.java:69)
> 	at freemarker.core.Configurable.<init>(Configurable.java:139)
> 	at freemarker.template.Configuration.<init>(Configuration.java:142)
> 	at freemarker.template.Configuration.<clinit>(Configuration.java:127)
> and after:
> java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.Configuration
> 	at org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.renderPojo(ViewableWriter.java:82)
> 	at org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.writeTo(ViewableWriter.java:74)
> 	at org.apache.stanbol.commons.viewable.writer.impl.ViewableWriter.writeTo(ViewableWriter.java:43)
> After running jar i encountered on warnings:
> INFO: Initiating Jersey application, version 'Jersey: 1.15 10/30/2012 02:40 PM'
> Apr 10, 2013 10:15:05 AM com.sun.jersey.spi.inject.Errors processErrorMessages
> WARNING: The following warnings have been detected with resource and/or provider classes:
>   WARNING: A HTTP GET method, public void org.apache.clerezza.platform.security.permissioncheck.PermissionCheck.checkPermission(java.lang.String), MUST return a non-void type.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira