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 <catalin.hritcu(a)gmail.com> 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 <sergiu.dumitriu(a)gmail.com> wrote:
  Hi,
 You need jvm 1.5, since the 1.4 version does not provide 
 ConcurrentHashMap.
 Sergiu
 On 1/31/07, vlaviole < vincent.laviole(a)sncf.fr> 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-tf3149…
   Sent from
the XWiki- Users mailing list archive at 
Nabble.com.
 
 --
 
http://purl.org/net/sergiu
 --
 You receive this message as a subscriber of the 
  xwiki-users(a)objectweb.org
  mailing list.
 To unsubscribe:
 mailto:xwiki-users-unsubscribe@objectweb.org
 For general help: mailto:sympa@objectweb.org?subject=help
 ObjectWeb mailing lists service home page: 
http://www.objectweb.org/wws
 
 --
 You receive this message as a subscriber of the xwiki-users(a)objectweb.orgmailing list.
 To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
 For general help: mailto:sympa@objectweb.org?subject=help
 ObjectWeb mailing lists service home page: 
http://www.objectweb.org/wws