[xwiki-1.0-beta-3] Install - Wrapped Exception
Hi everyone, I installed the xwiki-1.0-beta-3 with the standalone distribution (tar.gz package) on my Unix (Sun OS) server but I get some issues trying to access it. The server starts without any problem, but when I try to access to "http://localhost:8080/xwiki/bin/view/Main/WebHome" url, I get an "HTTP ERROR: 500" on my browser and this error in my main log : com.xpn.xwiki.XWikiException: Error number 3001 in 3: Cannot load store class com.xpn.xwiki.store.XWikiHibernateStore Wrapped Exception: java/util/concurrent/ConcurrentHashMap Followed by several other stack traces. I checked and forced my classpath by modifying the "start_server.sh" that way: CLASSPATH=$CLASSPATH:\ $JETTY_HOME/lib/org.mortbay.jetty-jdk1.2.jar:\ $JETTY_HOME/lib/javax.servlet.jar:\ $JETTY_HOME/ext/jasper-runtime.jar:\ $JETTY_HOME/ext/jasper-compiler.jar:\ $JETTY_HOME/ext/xercesImpl.jar:\ $JETTY_HOME/ext/xml-apis.jar:\ $JETTY_HOME/ext/xmlParserAPIs.jar $JAVA_HOME/java $JAVA_OPTS -cp $CLASSPATH -Dfile.encoding=iso-8859-1 -Djetty.port=$JETTY_PORT -Djetty.home=$JETTY_HOME -jar $JETTY_HOME/start.jar My java version: java version "1.4.1_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_05-b01) I encounter the same problem with this standalone installation on my Windows PC. I would like to know what is my mistake. Thanks in advance. Regards, Vincent. -- View this message in context: http://www.nabble.com/-xwiki-1.0-beta-3--Install---Wrapped-Exception-tf31495... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Vincent, XWiki 1.0 beta 1 and above require Java 5. It seems we've introduced some dependencies on Java 5. We're still discussing how to retrofit this for Java 1.4. Is it possible for you to use Java 5? If so that would be the easiest. Thanks -Vincent On Jan 31, 2007, at 4:53 PM, vlaviole wrote:
Hi everyone,
I installed the xwiki-1.0-beta-3 with the standalone distribution (tar.gz package) on my Unix (Sun OS) server but I get some issues trying to access it. The server starts without any problem, but when I try to access to "http://localhost:8080/xwiki/bin/view/Main/WebHome" url, I get an "HTTP ERROR: 500" on my browser and this error in my main log :
com.xpn.xwiki.XWikiException: Error number 3001 in 3: Cannot load store class com.xpn.xwiki.store.XWikiHibernateStore Wrapped Exception: java/util/concurrent/ConcurrentHashMap
Followed by several other stack traces. I checked and forced my classpath by modifying the "start_server.sh" that way: CLASSPATH=$CLASSPATH:\ $JETTY_HOME/lib/org.mortbay.jetty-jdk1.2.jar:\ $JETTY_HOME/lib/javax.servlet.jar:\ $JETTY_HOME/ext/jasper-runtime.jar:\ $JETTY_HOME/ext/jasper-compiler.jar:\ $JETTY_HOME/ext/xercesImpl.jar:\ $JETTY_HOME/ext/xml-apis.jar:\ $JETTY_HOME/ext/xmlParserAPIs.jar
$JAVA_HOME/java $JAVA_OPTS -cp $CLASSPATH -Dfile.encoding=iso-8859-1 -Djetty.port=$JETTY_PORT -Djetty.home=$JETTY_HOME -jar $JETTY_HOME/ start.jar
My java version: java version "1.4.1_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_05-b01)
I encounter the same problem with this standalone installation on my Windows PC. I would like to know what is my mistake.
Thanks in advance.
Regards,
Vincent. -- View this message in context: http://www.nabble.com/-xwiki-1.0- beta-3--Install---Wrapped-Exception-tf3149500.html#a8731682 Sent from the XWiki- Users mailing list archive at Nabble.com.
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
___________________________________________________________________________ Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire. http://fr.mail.yahoo.com
Thank you for your answers. I installed Java 5 and modified my start script and it works fine from now. Thanks again. Vincent. vmassol wrote:
Hi Vincent,
XWiki 1.0 beta 1 and above require Java 5. It seems we've introduced some dependencies on Java 5. We're still discussing how to retrofit this for Java 1.4.
Is it possible for you to use Java 5? If so that would be the easiest.
Thanks -Vincent
-- View this message in context: http://www.nabble.com/-xwiki-1.0-beta-3--Install---Wrapped-Exception-tf31495... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, You need jvm 1.5, since the 1.4 version does not provide ConcurrentHashMap. Sergiu On 1/31/07, vlaviole <[email protected]> wrote:
Hi everyone,
I installed the xwiki-1.0-beta-3 with the standalone distribution (tar.gz package) on my Unix (Sun OS) server but I get some issues trying to access it. The server starts without any problem, but when I try to access to "http://localhost:8080/xwiki/bin/view/Main/WebHome" url, I get an "HTTP ERROR: 500" on my browser and this error in my main log :
com.xpn.xwiki.XWikiException: Error number 3001 in 3: Cannot load store class com.xpn.xwiki.store.XWikiHibernateStore Wrapped Exception: java/util/concurrent/ConcurrentHashMap
Followed by several other stack traces. I checked and forced my classpath by modifying the "start_server.sh" that way: CLASSPATH=$CLASSPATH:\ $JETTY_HOME/lib/org.mortbay.jetty-jdk1.2.jar:\ $JETTY_HOME/lib/javax.servlet.jar:\ $JETTY_HOME/ext/jasper-runtime.jar:\ $JETTY_HOME/ext/jasper-compiler.jar:\ $JETTY_HOME/ext/xercesImpl.jar:\ $JETTY_HOME/ext/xml-apis.jar:\ $JETTY_HOME/ext/xmlParserAPIs.jar
$JAVA_HOME/java $JAVA_OPTS -cp $CLASSPATH -Dfile.encoding=iso-8859-1 -Djetty.port=$JETTY_PORT -Djetty.home=$JETTY_HOME -jar $JETTY_HOME/start.jar
My java version: java version "1.4.1_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_05-b01)
I encounter the same problem with this standalone installation on my Windows PC. I would like to know what is my mistake.
Thanks in advance.
Regards,
Vincent. -- View this message in context: http://www.nabble.com/-xwiki-1.0-beta-3--Install---Wrapped-Exception-tf31495... Sent from the XWiki- Users mailing list archive at Nabble.com.
This is a very weak reason to drop compatibility with Java 1.4. A backport of JSR 166 (java.util.concurrent) to Java 1.4 exists and can be used for ConcurrentHashMap: http://dcl.mathcs.emory.edu/util/backport-util-concurrent/ Catalin On 1/31/07, Sergiu Dumitriu <[email protected]> wrote:
Hi,
You need jvm 1.5, since the 1.4 version does not provide ConcurrentHashMap.
Sergiu
On 1/31/07, vlaviole < [email protected]> wrote:
Hi everyone,
I installed the xwiki-1.0-beta-3 with the standalone distribution (tar.gz package) on my Unix (Sun OS) server but I get some issues trying to access it. The server starts without any problem, but when I try to access to " http://localhost:8080/xwiki/bin/view/Main/WebHome" url,
I get an "HTTP
ERROR: 500" on my browser and this error in my main log :
com.xpn.xwiki.XWikiException: Error number 3001 in 3: Cannot load store class com.xpn.xwiki.store.XWikiHibernateStore Wrapped Exception: java/util/concurrent/ConcurrentHashMap
Followed by several other stack traces. I checked and forced my classpath by modifying the "start_server.sh" that way: CLASSPATH=$CLASSPATH:\ $JETTY_HOME/lib/org.mortbay.jetty-jdk1.2.jar:\ $JETTY_HOME/lib/javax.servlet.jar:\ $JETTY_HOME/ext/jasper-runtime.jar:\ $JETTY_HOME/ext/jasper-compiler.jar:\ $JETTY_HOME/ext/xercesImpl.jar:\ $JETTY_HOME/ext/xml-apis.jar:\ $JETTY_HOME/ext/xmlParserAPIs.jar
$JAVA_HOME/java $JAVA_OPTS -cp $CLASSPATH -Dfile.encoding=iso-8859-1 -Djetty.port=$JETTY_PORT -Djetty.home=$JETTY_HOME -jar $JETTY_HOME/start.jar
My java version: java version "1.4.1_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_05-b01)
I encounter the same problem with this standalone installation on my Windows PC. I would like to know what is my mistake.
Thanks in advance.
Regards,
Vincent. -- View this message in context: http://www.nabble.com/-xwiki-1.0-beta-3--Install---Wrapped-Exception-tf31495... Sent from the XWiki- Users mailing list archive at Nabble.com.
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
This is not the only compatibility issue. The eXo module also requires java 1.5, and in the current packaging it is bundled. There's more than a ConcurrentHashMap to fix in order to have 1.4 (and 1.6) compatibility. On 1/31/07, Catalin Hritcu <[email protected]> wrote:
This is a very weak reason to drop compatibility with Java 1.4. A backport of JSR 166 (java.util.concurrent) to Java 1.4 exists and can be used for ConcurrentHashMap:
http://dcl.mathcs.emory.edu/util/backport-util-concurrent/
Catalin
On 1/31/07, Sergiu Dumitriu <[email protected]> wrote:
Hi,
You need jvm 1.5, since the 1.4 version does not provide ConcurrentHashMap.
Sergiu
On 1/31/07, vlaviole < [email protected]> wrote:
Hi everyone,
I installed the xwiki-1.0-beta-3 with the standalone distribution (
tar.gz
package) on my Unix (Sun OS) server but I get some issues trying to access it. The server starts without any problem, but when I try to access to " http://localhost:8080/xwiki/bin/view/Main/WebHome" url, I get an "HTTP ERROR: 500" on my browser and this error in my main log :
com.xpn.xwiki.XWikiException: Error number 3001 in 3: Cannot load store class com.xpn.xwiki.store.XWikiHibernateStore Wrapped Exception: java/util/concurrent/ConcurrentHashMap
Followed by several other stack traces. I checked and forced my classpath by modifying the "start_server.sh" that way: CLASSPATH=$CLASSPATH:\ $JETTY_HOME/lib/org.mortbay.jetty-jdk1.2.jar:\ $JETTY_HOME/lib/javax.servlet.jar:\ $JETTY_HOME/ext/jasper-runtime.jar:\ $JETTY_HOME/ext/jasper-compiler.jar:\ $JETTY_HOME/ext/xercesImpl.jar:\ $JETTY_HOME/ext/xml-apis.jar:\ $JETTY_HOME/ext/xmlParserAPIs.jar
$JAVA_HOME/java $JAVA_OPTS -cp $CLASSPATH -Dfile.encoding=iso-8859-1 -Djetty.port=$JETTY_PORT -Djetty.home=$JETTY_HOME -jar $JETTY_HOME/start.jar
My java version: java version "1.4.1_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_05-b01)
I encounter the same problem with this standalone installation on my Windows PC. I would like to know what is my mistake.
Thanks in advance.
Regards,
Vincent. -- View this message in context:
http://www.nabble.com/-xwiki-1.0-beta-3--Install---Wrapped-Exception-tf31495...
Sent from the XWiki- Users mailing list archive at Nabble.com.
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- You receive this message as a subscriber of the [email protected] list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
participants (4)
-
Catalin Hritcu -
Sergiu Dumitriu -
Vincent Massol -
vlaviole