[Logo] Forums for GrailsFlow, Weceem, XSLfast
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: batzo
Forum Index » Profile for batzo » Messages posted by batzo
Author Message
Hi marcpalmer

I am sorry. After I have deleted weceem and reinstall, it is allright.
Now, it is ok.
Hi marcpalmer

I have installed successfully, but it has runtime error (java.lang.OutOfMemoryError).
Please see below:

Grails Runtime Exception

Error Details

Message: There is an error in widget at [widgets/common-head], please see the logs. Error was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.weceem.tags.WeceemTagLib': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.weceem.tags.WeceemTagLib]: Constructor threw exception; nested exception is java.lang.OutOfMemoryError: PermGen space at WcmContent_templates_default-template:4
Caused by: There is an error in widget at [widgets/common-head], please see the logs. Error was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.weceem.tags.WeceemTagLib': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.weceem.tags.WeceemTagLib]: Constructor threw exception; nested exception is java.lang.OutOfMemoryError: PermGen space at WcmContent_templates_default-template:4
Class: WcmContentController
At Line: [4]
Code Snippet:

Stack Trace

org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: There is an error in widget at [widgets/common-head], please see the logs. Error was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.weceem.tags.WeceemTagLib': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.weceem.tags.WeceemTagLib]: Constructor threw exception; nested exception is java.lang.OutOfMemoryError: PermGen space at WcmContent_templates_default-template:4 at WcmContent_templates_default_template$_run_closure1.doCall(WcmContent_templates_default_template:20) at WcmContent_templates_default_template$_run_closure1.doCall(WcmContent_templates_default_template) at WcmContent_templates_default_template.run(WcmContent_templates_default_template:23) at org.weceem.controllers.WcmContentController.renderGSPContent(WcmContentController.groovy:260) at org.weceem.controllers.WcmContentController$renderGSPContent.call(Unknown Source) at org.weceem.controllers.WcmContentController.renderGSPContent(WcmContentController.groovy:190) at org.weceem.controllers.WcmContentController.renderGSPContent(WcmContentController.groovy) at org.weceem.html.WcmHTMLContent$__clinit__closure3.doCall(WcmHTMLContent.groovy:72) at org.weceem.controllers.WcmContentController$_closure1.doCall(WcmContentController.groovy:106) at org.weceem.controllers.WcmContentController$_closure1.doCall(WcmContentController.groovy) at java.lang.Thread.run(Thread.java:619)
Hi marcpalmer

I have installed successfully by your advice.
I edited JAVA_OPTS of catalina.bat.

Thank you very much, marcpalmer!
supplemet:

I also tried such as following:
startup.bat -Dweceem.config.location=file:///c:\weceem\weceem.properties
But, result is same.
Hi marcpalmer

I tried to put weceem-0.9.1.war in webapps directory of the tomcat and
execute following command:

startup.bat -Dweceem.config.location=file:///c:/weceem/weceem.properties

This is error message on tomcat's console.

java.io.FileNotFoundException: .\weceem.properties (指定されたファイルが見つかり
ません。)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at Config$_run_closure2_closure7_closure10.doCall(Config.groovy:116)
at Config$_run_closure2_closure7.doCall(Config.groovy:112)
at Config$_run_closure2_closure7.doCall(Config.groovy)
at Config$_run_closure2.doCall(Config.groovy:82)
at Config$_run_closure2.doCall(Config.groovy)
at Config.run(Config.groovy:52)
Hello

I am using Tomcat on windows. I followed the Installing Standalone Weceem applications in http://www.weceem.org/weceem/documentation/Installation.

1. I created a file named weceem.properties in c:\weceem.
2. I created the folder named search-indexes in c:\weceem.
3. I added the system environment variable named weceem.config.location(weceem.config.location=c:\weceem\weceem.properties).
4. I launched tomcat. But, it occured the exception (FileNotFoundException .\weceem.properties).
5. I also tried to calling startup.bat with following argument: -Dweceem.config.location=file:/c:/weceem/weceem.properties(startup -Dweceem.config.location=file:/c:/weceem/weceem.properties). But, it occured same error.
6. I also tried to locate weceem.properties in %tomcat_home%\webapps\weceem-0.9.1\WEB-INF\classes. But it is same as above mentioned.

What is wrong I did? Please, help me.









 
Forum Index » Profile for batzo » Messages posted by batzo
Go to:   
Powered by JForum 2.1.8 © JForum Team