[xwiki-users] Problem installing xWiki
Hi all, I'm I'm trying to install /xwiki-enterprise-2.7.1 on Tomcat 6. And I have the following Java error: [...] SEVERE: The web application [/xwiki-enterprise-2.7.1] created a ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap] (value [org.apache.log4j.helpers.ThreadLocalMap@15ef45a]) and a value of type [java.util.Hashtable] (value [{url=http://localhost:8888/xwiki-enterprise-2.7.1/bin/view/Main/}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. log4j:ERROR Error occured while converting date. java.lang.NullPointerException at java.lang.System.arraycopy(Native Method) at java.lang.AbstractStringBuilder.getChars(AbstractStringBuilder.java:345) at java.lang.StringBuffer.getChars(StringBuffer.java:218) at org.apache.log4j.helpers.ISO8601DateFormat.format(ISO8601DateFormat.java:130) at java.text.DateFormat.format(DateFormat.java:333) [...] I didn't have the 'common' dir hanging on $TOMCAT_HOME dir, so I copied from another tomcat instance which is working OK. I created log4j.properties according xwiki web, but I have the same error. Database connection is Oracle, and I don't know what to do. Any ideas? Regards,
I encountered exactly the same issue 2 month ago but I don't remember exactly how I fixed it. It's a Tomcat6 problem. Try to set to *false *the java property org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES I hope this help. Maxime 2011/3/18 Lunita <hoshi.utsuku@gmail.com>
Hi all,
I'm I'm trying to install /xwiki-enterprise-2.7.1 on Tomcat 6. And I have the following Java error:
[...]
SEVERE: The web application [/xwiki-enterprise-2.7.1] created a ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap] (value [org.apache.log4j.helpers.ThreadLocalMap@15ef45a]) and a value of type [java.util.Hashtable] (value [{url=http://localhost:8888/xwiki-enterprise-2.7.1/bin/view/Main/}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
log4j:ERROR Error occured while converting date. java.lang.NullPointerException at java.lang.System.arraycopy(Native Method) at java.lang.AbstractStringBuilder.getChars(AbstractStringBuilder.java:345) at java.lang.StringBuffer.getChars(StringBuffer.java:218) at org.apache.log4j.helpers.ISO8601DateFormat.format(ISO8601DateFormat.java:130) at java.text.DateFormat.format(DateFormat.java:333)
[...]
I didn't have the 'common' dir hanging on $TOMCAT_HOME dir, so I copied from another tomcat instance which is working OK. I created log4j.properties according xwiki web, but I have the same error. Database connection is Oracle, and I don't know what to do.
Any ideas?
Regards, _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Hi Maxime, Do you configure this parameter in server.xml? I have read that this feature if it is not set, it's true by default. Do youy have the whole line syntax to set this off? Thanxxx!! 2011/3/18 Le Génie <le.genie.logiciel@gmail.com>:
I encountered exactly the same issue 2 month ago but I don't remember exactly how I fixed it. It's a Tomcat6 problem. Try to set to *false *the java property org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES
I hope this help.
Maxime
2011/3/18 Lunita <hoshi.utsuku@gmail.com>
Hi all,
I'm I'm trying to install /xwiki-enterprise-2.7.1 on Tomcat 6. And I have the following Java error:
[...]
SEVERE: The web application [/xwiki-enterprise-2.7.1] created a ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap] (value [org.apache.log4j.helpers.ThreadLocalMap@15ef45a]) and a value of type [java.util.Hashtable] (value [{url=http://localhost:8888/xwiki-enterprise-2.7.1/bin/view/Main/}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
log4j:ERROR Error occured while converting date. java.lang.NullPointerException at java.lang.System.arraycopy(Native Method) at java.lang.AbstractStringBuilder.getChars(AbstractStringBuilder.java:345) at java.lang.StringBuffer.getChars(StringBuffer.java:218) at org.apache.log4j.helpers.ISO8601DateFormat.format(ISO8601DateFormat.java:130) at java.text.DateFormat.format(DateFormat.java:333)
[...]
I didn't have the 'common' dir hanging on $TOMCAT_HOME dir, so I copied from another tomcat instance which is working OK. I created log4j.properties according xwiki web, but I have the same error. Database connection is Oracle, and I don't know what to do.
Any ideas?
Regards, _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
It'a a java system property, you have to set it in the java command line with the syntax: -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false -D is the java option to add a property to the execution environment. An alternative way to define the property is to add the line in the conf/catalina.properties file: org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false 2011/3/18 Lunita <hoshi.utsuku@gmail.com>
Hi Maxime,
Do you configure this parameter in server.xml? I have read that this feature if it is not set, it's true by default. Do youy have the whole line syntax to set this off?
Thanxxx!!
2011/3/18 Le Génie <le.genie.logiciel@gmail.com>:
I encountered exactly the same issue 2 month ago but I don't remember exactly how I fixed it. It's a Tomcat6 problem. Try to set to *false *the java property org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES
I hope this help.
Maxime
2011/3/18 Lunita <hoshi.utsuku@gmail.com>
Hi all,
I'm I'm trying to install /xwiki-enterprise-2.7.1 on Tomcat 6. And I have the following Java error:
[...]
SEVERE: The web application [/xwiki-enterprise-2.7.1] created a ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap] (value [org.apache.log4j.helpers.ThreadLocalMap@15ef45a]) and a value of type [java.util.Hashtable] (value [{url=http://localhost:8888/xwiki-enterprise-2.7.1/bin/view/Main/}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
log4j:ERROR Error occured while converting date. java.lang.NullPointerException at java.lang.System.arraycopy(Native Method) at java.lang.AbstractStringBuilder.getChars(AbstractStringBuilder.java:345) at java.lang.StringBuffer.getChars(StringBuffer.java:218) at
org.apache.log4j.helpers.ISO8601DateFormat.format(ISO8601DateFormat.java:130)
at java.text.DateFormat.format(DateFormat.java:333)
[...]
I didn't have the 'common' dir hanging on $TOMCAT_HOME dir, so I copied from another tomcat instance which is working OK. I created log4j.properties according xwiki web, but I have the same error. Database connection is Oracle, and I don't know what to do.
Any ideas?
Regards, _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Thanks a lot! =D 2011/3/18 Le Génie <le.genie.logiciel@gmail.com>:
It'a a java system property, you have to set it in the java command line with the syntax: -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
-D is the java option to add a property to the execution environment.
An alternative way to define the property is to add the line in the conf/catalina.properties file: org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
2011/3/18 Lunita <hoshi.utsuku@gmail.com>
Hi Maxime,
Do you configure this parameter in server.xml? I have read that this feature if it is not set, it's true by default. Do youy have the whole line syntax to set this off?
Thanxxx!!
2011/3/18 Le Génie <le.genie.logiciel@gmail.com>:
I encountered exactly the same issue 2 month ago but I don't remember exactly how I fixed it. It's a Tomcat6 problem. Try to set to *false *the java property org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES
I hope this help.
Maxime
2011/3/18 Lunita <hoshi.utsuku@gmail.com>
Hi all,
I'm I'm trying to install /xwiki-enterprise-2.7.1 on Tomcat 6. And I have the following Java error:
[...]
SEVERE: The web application [/xwiki-enterprise-2.7.1] created a ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap] (value [org.apache.log4j.helpers.ThreadLocalMap@15ef45a]) and a value of type [java.util.Hashtable] (value [{url=http://localhost:8888/xwiki-enterprise-2.7.1/bin/view/Main/}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
log4j:ERROR Error occured while converting date. java.lang.NullPointerException at java.lang.System.arraycopy(Native Method) at java.lang.AbstractStringBuilder.getChars(AbstractStringBuilder.java:345) at java.lang.StringBuffer.getChars(StringBuffer.java:218) at
org.apache.log4j.helpers.ISO8601DateFormat.format(ISO8601DateFormat.java:130)
at java.text.DateFormat.format(DateFormat.java:333)
[...]
I didn't have the 'common' dir hanging on $TOMCAT_HOME dir, so I copied from another tomcat instance which is working OK. I created log4j.properties according xwiki web, but I have the same error. Database connection is Oracle, and I don't know what to do.
Any ideas?
Regards, _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Le Génie -
Lunita