Hi Maze,
This means you haven't installed it properly I think since it's
missing the cglib jar...
java.lang.NoClassDefFoundError:
net.sf.cglib.core.DebuggingClassWriter$1
-Vincent
On Jan 24, 2008, at 12:51 PM, maze wrote:
>
> Bonjour,
>
> After installing the jar file xwiki 1.2 on linux fedora 8 without
> any problem,
> everything, except WARNING message, seem to be fine when double-
> click on "start xwiki" icone,
> as you can see below:
>
> **************************************
> Starting Jetty on port 8080 ...
> Logs are in the /usr/local/XWiki Enterprise/xwiki.log file
> 17:30:45.877 INFO [main] org.mortbay.log.LogImpl.add(LogImpl.java:
> 109) >14> added org.mortbay.log.OutputStreamLogSink@36522ee1
> 17:30:45.837 INFO [main] org.mortbay.util.FileResource.
> (FileResource.java:60) >09> Checking Resource aliases
> 17:30:45.946 WARN!! [main] org.mortbay.xml.XmlParser.(XmlParser.java:
> 81) >10> Schema validation may not be supported
> 17:30:46.180 INFO [main]
> org.mortbay.http.HttpServer.doStart(HttpServer.java:729) >07>
> Version Jetty/5.1.5
> 17:30:46.194 INFO [main]
> org.mortbay.util.Container.start(Container.java:74) >11> Started
> org.mortbay.jetty.servlet.ServletHandler@59dc0
> 17:30:46.196 INFO [main]
> org.mortbay.util.Container.start(Container.java:74) >08> Started
> ServletHttpContext[/,/]
> 17:30:46.199 INFO [main]
> org.mortbay.http.SocketListener.start(SocketListener.java:204) >08>
> Started SocketListener on 127.0.0.1:8081
> 17:30:46.200 INFO [main]
> org.mortbay.util.Container.start(Container.java:74) >06> Started
> org.mortbay.jetty.Server@372bdf01
> 17:30:46.311 INFO [main]
> org.mortbay.http.HttpServer.setStatsOn(HttpServer.java:1133) >12>
> Statistics on = false for org.mortbay.jetty.Server@372bdd81
> 17:30:46.313 INFO [main]
> org.mortbay.http.HttpServer.doStart(HttpServer.java:729) >07>
> Version Jetty/5.1.5
> 17:30:46.340 WARN!! [main] org.mortbay.xml.XmlParser.(XmlParser.java:
> 81) >14> Schema validation may not be supported
> 17:30:47.200 INFO [main]
> org.mortbay.util.Container.start(Container.java:74) >12> Started
> org.mortbay.jetty.servlet.WebApplicationHandler@35890f81
> 17:30:48.546 INFO [main] org.mortbay.jetty.servlet.ServletHandler
> $Context.log(ServletHandler.java:1134) >14> Loading plexus context
> properties from: '/WEB-INF/plexus.properties'
> 17:30:48.550 INFO [main] org.mortbay.jetty.servlet.ServletHandler
> $Context.log(ServletHandler.java:1134) >13> Initializing Plexus.
> 17:30:48.553 INFO [main] org.mortbay.jetty.servlet.ServletHandler
> $Context.log(ServletHandler.java:1134) >14> resource = file:/usr/
> local/XWiki%20Enterprise/webapps/xwiki/WEB-INF/plexus.xml
> 17:30:49.004 INFO [main] org.mortbay.jetty.servlet.ServletHandler
> $Context.log(ServletHandler.java:1134) >13> Plexus initialized.
> 17:30:50.042 INFO [main]
> org.mortbay.util.Container.start(Container.java:74) >08> Started
> WebApplicationContext[/xwiki,xwiki]
> 17:30:50.046 INFO [main]
> org.mortbay.http.SocketListener.start(SocketListener.java:204) >08>
> Started SocketListener on 0.0.0.0:8080
> 17:30:50.047 INFO [main]
> org.mortbay.util.Container.start(Container.java:74) >06> Started
> org.mortbay.jetty.Server@372bdd81
> ***************************************************
>
> Then, when I go to the link
>
http://localhost:8080/xwiki/bin/view/Main/WebHome I have no response
> from the browser
>
> Here is an extract of the log file:
>
> *******************************************
> # more xwiki.log
> 17:36:13,878 [
http://localhost:8080/xwiki/bin/view/Main/WebHome]
> [P1-19] ERROR proxy.BasicLazy
> Initializer - CGLIB Enhancement failed:
> com.xpn.xwiki.objects.classes.StringClass
java.lang.NoClassDefFoundError:
net.sf.cglib.core.DebuggingClassWriter$1
> at
java.lang.Class.initializeClass(libgcj.so.8rh)
> at
> net
> .sf
> .cglib
> .core.DebuggingClassWriter.toByteArray(DebuggingClassWriter.java:73)
> at
> net
> .sf
> .cglib
> .core
> .DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:26)
> at
> net
> .sf
> .cglib
> .core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
> at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:
> 145)
> at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
> at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
> at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
> at net.sf.cglib.proxy.Enhancer.(Enhancer.java:69)
> at java.lang.Class.initializeClass(libgcj.so.8rh)
> at
> org
> .hibernate
> .proxy
> .CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
> at
> org
> .hibernate
> .proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
> at
> org
> .hibernate
> .tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:
> 161)
> at org.hibernate.tuple.AbstractEntityTuplizer.
> (AbstractEntityTuplizer.java:131)
> at org.hibernate.tuple.PojoEntityTuplizer.(PojoEntityTuplizer.java:
> 55)
> at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
> at org.hibernate.tuple.EntityMetamodel.(EntityMetamodel.java:257)
> at org.hibernate.persister.entity.AbstractEntityPersister.
> (AbstractEntityPersister.ja
> va:412)
> at org.hibernate.persister.entity.JoinedSubclassEntityPersister.
> (JoinedSubclassEntity
> Persister.java:90)
> at
> org
> .hibernate
> .persister
> .PersisterFactory.createClassPersister(PersisterFactory.java:58)
> at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:
> 216)
> at
> org
> .hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:
> 1176)
> at
> com
> .xpn
> .xwiki
> .store
> .XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:1
> 43)
> at
> com
> .xpn
> .xwiki
> .store
> .XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:
> 466)
> at
> com
> .xpn
> .xwiki
> .store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:
> 914)
> at
> com
> .xpn
> .xwiki
> .store
> .XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:947
> ******************************************
>
> I need help?
>
> thank you
> FD
>
>
>
>
>
>
>
> Créez votre adresse électronique prénom.nom(a)laposte.net
> 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
>
> Créez votre adresse électronique prénom.nom(a)laposte.net
> 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
> _______________________________________________
> users mailing list
> users(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/users