Hi Dileepa,

I will be mainly offline until next monday, so it might take until
next week until I have time to look into that, but maybe someone other
will have time to look into that

best
Rupert


On Tue, May 28, 2013 at 2:52 PM, Dileepa Jayakody
<[email protected]> wrote:
> Hi Rupert,
>
> Yes I'm working with trunk, and I have attached the error log segment for
> my last server startup, in the prev.mail.
> Please let me know if you need anything else.
>
> Thanks,
> Dileepa
>
>
> On Tue, May 28, 2013 at 6:12 PM, Rupert Westenthaler <
> [email protected]> wrote:
>
>> On Tue, May 28, 2013 at 2:34 PM, Dileepa Jayakody
>> <[email protected]> wrote:
>> > Thanks Alessandro.
>> >
>> > It worked and Stanbol startup was successful.
>> >
>> > But now I'm getting a http 500 at homepage (see attached) as below:
>> > I have also attached the error.log here.
>> >
>> > HTTP ERROR 500
>> >
>> > Problem accessing /. Reason:
>> >
>> >     Could not initialize class freemarker.template.Configuration
>> >
>> > Caused by:
>> >
>> > java.lang.NoClassDefFoundError: Could not initialize class
>> > freemarker.template.Configuration
>> >
>> > I think this is related to STANBOL-1024. Can someone please help me with
>> > this?
>> >
>>
>> Do you work with the trunk version [1] ? If so please attach the full
>> error log you are seeing to STANBOL-1024. I was hoping that [3] solved
>> this issue.
>>
>>
>> > On a side note:
>> >
>> > I'm using the Stanbol codebase at svn[1], I also see a Stanbol git repo
>> at
>> > github [2] and would like to know what is the active development
>> codebase I
>> > should be using.
>>
>> Stanbol uses SVN [1] ([2] is just a read only mirror)
>>
>> best
>> Rupert
>>
>> > [1] https://svn.apache.org/repos/asf/stanbol/trunk/
>> > [2] https://github.com/apache/stanbol.git
>> [3] http://svn.apache.org/r1466786
>>
>>
>>
>> >
>> > On Tue, May 28, 2013 at 5:27 PM, Alessandro Adamou <[email protected]>
>> > wrote:
>> >>
>> >> Hi Dileepa,
>> >>
>> >> You need to set a greater size for the permanent generation of your JVM.
>> >> This is the memory space reserved for the reflective objects of the
>> loaded
>> >> classes. It is non-heap so it will not increase automatically as you set
>> >> -Xmx=manyg
>> >>
>> >> The Stanbol full launcher typically requires quite a bit more than the
>> >> default permgen. Try to pass
>> >>
>> >> -XX:MaxPermSize=192m
>> >>
>> >> as an additional JVM argument when you start Stanbol.
>> >>
>> >> Best,
>> >> Alessandro
>> >>
>> >>
>> >>
>> >> On 28/05/2013 12:46, Dileepa Jayakody wrote:
>> >>>
>> >>> Hi All,
>> >>>
>> >>> I'm getting a java OOM error [1] when trying to start Stanbol with:
>> >>> java -Xmx1g -jar org.apache.stanbol.launchers.full-0.10.0-SNAPSHOT.jar
>> >>>
>> >>> I even tried with -Xmx2g, -Xmx3g but still got the same OOM error.
>> >>> Howeve I could run the stanbol stable launcher
>> >>> (org.apache.stanbol.launchers.stable-0.10.0-SNAPSHOT.jar) without this
>> >>> problem.
>> >>>
>> >>> Can somebody help me resolve this error with full launcher?
>> >>>
>> >>> Thanks,
>> >>> Dileepa
>> >>>
>> >>> [1] ERROR: Bundle org.apache.clerezza.permissiondescriptions [184]:
>> >>> EventDispatcher: Error during dispatch. (java.lang.OutOfMemoryError:
>> >>> PermGen space)
>> >>> java.lang.OutOfMemoryError: PermGen space
>> >>> at java.lang.ClassLoader.defineClass1(Native Method)
>> >>> at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
>> >>> at
>> >>>
>> >>>
>> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1907)
>> >>> at
>> >>>
>> >>>
>> org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:727)
>> >>> at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
>> >>> at
>> >>>
>> >>>
>> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)
>> >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>> >>> at
>> >>>
>> >>>
>> org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:645)
>> >>> at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1612)
>> >>> at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:904)
>> >>> at
>> >>>
>> >>>
>> org.apache.clerezza.permissiondescriptions.PermissionGatherer.registerPermissions(PermissionGatherer.java:203)
>> >>> at
>> >>>
>> >>>
>> org.apache.clerezza.permissiondescriptions.PermissionGatherer.bundleChanged(PermissionGatherer.java:172)
>> >>> at
>> >>>
>> >>>
>> org.apache.felix.framework.util.EventDispatcher$4.run(EventDispatcher.java:800)
>> >>> at java.security.AccessController.doPrivileged(Native Method)
>> >>> at
>> >>>
>> >>>
>> org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:797)
>> >>> at
>> >>>
>> >>>
>> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)
>> >>> at
>> >>>
>> >>>
>> org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949)
>> >>> at
>> >>>
>> >>>
>> org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)
>> >>> at
>> >>>
>> >>>
>> org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)
>> >>> at java.lang.Thread.run(Thread.java:722)
>> >>>
>> >>
>> >>
>> >> --
>> >> Alessandro Adamou, Ph.D.
>> >>
>> >> Knowledge Media Institute
>> >> The Open University
>> >> Walton Hall, Milton Keynes MK7 6AA
>> >> United Kingdom
>> >>
>> >> Alma Mater Studiorum - Università di Bologna
>> >> Department of Computer Science
>> >> Mura Anteo Zamboni 7, 40127 Bologna
>> >> Italy
>> >>
>> >>
>> >> "I will give you everything, just don't demand anything."
>> >> (Ettore Petrolini, 1917)
>> >>
>> >> Not sent from my iSnobTechDevice
>> >>
>> >
>>
>>
>>
>> --
>> | Rupert Westenthaler             [email protected]
>> | Bodenlehenstraße 11                             ++43-699-11108907
>> | A-5500 Bischofshofen
>>



-- 
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to