Note : this log appear only when I try to run the app, ie entering the
url in my web browser.
Vincent Massol a écrit :
Hi,
On Mar 3, 2008, at 3:16 PM, Cyril wrote:
I'm using version 1.2.6932 (found in
version.properties :)).
ok, it's hard to read your stack trace below.
Could you please paste the error on
http://rafb.net/paste or in a text
file that you attach to the mail in reply. Make sure to paste the
whole stack tracE.
Thanks
-Vincent
Vincent Massol a écrit :
> Hi,
>
> What version of XWiki are you using?
>
> Thanks
> -Vincent
>
> On Mar 3, 2008, at 11:32 AM, Cyril wrote:
>
>
>
>> Hi all,
>> I successfully deployed a XWiki war on a Geronimo 2.1 server
>> (without
>> warning), configured with a hsqldb database. When launching the
>> application, I get the following in the server logs :
>>
>> =========================
>> 11:23:20,411 WARN [RequestUtils] No FormBeanConfig found under
>> 'view'
>> 11:23:21,380 INFO [OSCacheService] Initializing OSCacheService
>> 11:23:21,380 INFO [OSCacheService] Loading cache properties:
>> oscache.properties
>> 11:23:21,380 INFO [OSCacheService] Properties loaded:
>> oscache.properties
>> 11:23:21,380 INFO [OSCacheService] Loading cache properties:
>> oscache-local.properties
>> 11:23:21,380 INFO [OSCacheService] Properties loaded:
>> oscache-local.properties
>> 11:23:21,380 INFO [OSCacheService] Initialized OSCacheService
>> 11:23:21,426 INFO [GeneralCacheAdministrator] Constructed
>> GeneralCacheAdministrator()
>> 11:23:21,426 INFO [GeneralCacheAdministrator] Creating new cache
>> 11:23:21,458 INFO [OSCacheService] Created Cache # 1 of size 100 at
>> lun., 3 mars 2008 11:23:21 +0100, current count is 1
>> 11:23:21,458 INFO [GeneralCacheAdministrator] Constructed
>> GeneralCacheAdministrator()
>> 11:23:21,458 INFO [GeneralCacheAdministrator] Creating new cache
>> 11:23:21,458 INFO [OSCacheService] Created Cache # 2 of size
>> 10000 at
>> lun., 3 mars 2008 11:23:21 +0100, current count is 2
>> 11:23:21,520 INFO [XWiki] Running storage migrations
>> 11:23:21,708 INFO [Environment] Hibernate 3.1.3
>> 11:23:21,817 INFO [Environment] hibernate.properties not found
>> 11:23:21,817 INFO [Environment] using CGLIB reflection optimizer
>> 11:23:21,817 INFO [Environment] using JDK 1.4 java.sql.Timestamp
>> handling
>> 11:23:22,192 INFO [Configuration] configuring from url:
>> jndi:/0.0.0.0/xwiki/WEB-INF/hibernate.cfg.xml
>> 11:23:22,567 INFO [Configuration] Reading mappings from resource:
>> xwiki.hbm.xml
>> 11:23:22,989 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.doc.XWikiDocument -> xwikidoc
>> 11:23:23,098 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo -> xwikircs
>> 11:23:23,098 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent -> xwikircs
>> 11:23:23,176 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.doc.XWikiDeletedDocument -> xwikirecyclebin
>> 11:23:23,192 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.doc.XWikiLock -> xwikilock
>> 11:23:23,192 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.doc.XWikiLink -> xwikilinks
>> 11:23:23,192 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.doc.XWikiAttachment -> xwikiattachment
>> 11:23:23,192 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.doc.XWikiAttachmentContent -> xwikiattachment_content
>> 11:23:23,192 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.doc.XWikiAttachmentArchive -> xwikiattachment_archive
>> 11:23:23,192 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.objects.classes.PropertyClass -> xwikiclassesprop
>> 11:23:23,317 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.classes.NumberClass -> xwikinumberclasses
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.classes.StringClass -> xwikistringclasses
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.classes.DateClass -> xwikidateclasses
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.classes.PasswordClass -> xwikistringclasses
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.classes.TextAreaClass -> xwikistringclasses
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.classes.BooleanClass -> xwikibooleanclasses
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.classes.StaticListClass -> xwikislistclasses
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.classes.DBListClass -> xwikidblistclasses
>> 11:23:23,333 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.objects.classes.BaseClass -> xwikiclasses
>> 11:23:23,333 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.objects.BaseProperty -> xwikiproperties
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.IntegerProperty -> xwikiintegers
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.LongProperty -> xwikilongs
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.FloatProperty -> xwikifloats
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.DoubleProperty -> xwikidoubles
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.StringProperty -> xwikistrings
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.DateProperty -> xwikidates
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.LargeStringProperty -> xwikilargestrings
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.StringListProperty -> xwikilargestrings
>> 11:23:23,333 INFO [HbmBinder] Mapping joined-subclass:
>> com.xpn.xwiki.objects.DBStringListProperty -> xwikilists
>> 11:23:23,348 INFO [HbmBinder] Mapping collection:
>> com.xpn.xwiki.objects.DBStringListProperty.list -> xwikilistitems
>> 11:23:23,348 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.objects.BaseObject -> xwikiobjects
>> 11:23:23,364 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.stats.impl.DocumentStats -> xwikistatsdoc
>> 11:23:23,364 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.stats.impl.RefererStats -> xwikistatsreferer
>> 11:23:23,364 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.stats.impl.VisitStats -> xwikistatsvisit
>> 11:23:23,364 INFO [HbmBinder] Mapping class: XWiki.XWikiPreferences
>> ->
>> xwikipreferences
>> 11:23:23,364 INFO [HbmBinder] Mapping class: XWiki.XWikiComments ->
>> xwikicomments
>> 11:23:23,364 INFO [HbmBinder] Mapping class:
>> com.xpn.xwiki.store.migration.XWikiDBVersion -> xwikidbversion
>> 11:23:23,364 INFO [Configuration] Reading mappings from resource:
>> feeds.hbm.xml
>> 11:23:23,489 INFO [HbmBinder] Mapping class:
>> XWiki.AggregatorURLClass
>> -> feeds_aggregatorurl
>> 11:23:23,489 INFO [HbmBinder] Mapping collection:
>> XWiki.AggregatorURLClass.group -> feeds_aggregatorurlgroups
>> 11:23:23,489 INFO [HbmBinder] Mapping class:
>> XWiki.AggregatorGroupClass
>> -> feeds_aggregatorgroup
>> 11:23:23,489 INFO [HbmBinder] Mapping class: XWiki.KeywordClass ->
>> feeds_keyword
>> 11:23:23,489 INFO [HbmBinder] Mapping class: XWiki.FeedEntryClass
>> ->
>> feeds_feedentry
>> 11:23:23,489 INFO [HbmBinder] Mapping collection:
>> XWiki.FeedEntryClass.tags -> feeds_feedentrytags
>> 11:23:23,489 INFO [Configuration] Configured SessionFactory: null
>> 11:23:24,317 WARN [RequestProcessor] Unhandled Exception thrown:
>> class
>> com.xpn.xwiki.XWikiException
>> 11:23:24,317 ERROR [[action]] Servlet.service() for servlet action
>> threw
>> exception
>> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
>> initialize
>> main XWiki context
>> Wrapped Exception: Error number 0 in 3: Exception while hibernate
>> execute
>> Wrapped Exception: java.util.HashSet cannot be cast to
>> java.lang.String
>> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:250)
>> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:439)
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
>> at
>> org
>> .apache
>> .struts
>> .action.RequestProcessor.processActionPerform(RequestProcessor.java:
>> 431)
>> at
>> org
>> .apache
>> .struts.action.RequestProcessor.process(RequestProcessor.java:
>> 236)
>> at
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:
>> 1196)
>> at
>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>> at
>> org
>> .apache
>> .catalina
>> .core
>> .ApplicationFilterChain
>> .internalDoFilter(ApplicationFilterChain.java:
>> 290)
>> at
>> org
>> .apache
>> .catalina
>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
>> 206)
>> at
>> com
>> .xpn
>> .xwiki
>> .web
>> .SetCharacterEncodingFilter
>> .doFilter(SetCharacterEncodingFilter.java:
>> 117)
>> at
>> org
>> .apache
>> .catalina
>> .core
>> .ApplicationFilterChain
>> .internalDoFilter(ApplicationFilterChain.java:
>> 235)
>> at
>> org
>> .apache
>> .catalina
>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
>> 206)
>> at
>> org
>> .apache
>> .catalina
>> .core.StandardWrapperValve.invoke(StandardWrapperValve.java:
>> 233)
>> at
>> org
>> .apache
>> .catalina
>> .core.StandardContextValve.invoke(StandardContextValve.java:
>> 175)
>> at
>> org
>> .apache
>> .geronimo
>> .tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:
>> 56)
>> at
>> org.apache.geronimo.tomcat.GeronimoStandardContext
>> $SystemMethodValve.invoke(GeronimoStandardContext.java:396)
>> at
>> org
>> .apache
>> .geronimo
>> .tomcat
>> .valve
>> .GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:
>> 47)
>> at
>> org
>> .apache
>> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>> at
>> org
>> .apache
>> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>> at
>> org
>> .apache
>> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
>> 109)
>> at
>> org
>> .apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
>> 563)
>> at
>> org
>> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
>> 263)
>> at
>> org
>> .apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>> 844)
>> at
>> org.apache.coyote.http11.Http11Protocol
>> $Http11ConnectionHandler.process(Http11Protocol.java:584)
>> at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
>> 447)
>> at java.lang.Thread.run(Thread.java:619)
>>
>>
>> (...)
>>
>> =========================
>> What can I do to make this work ? I already searched the archives,
>> but
>> did not find a solution.
>> Thanks in advance.
>>
>> --
>> Cyril Delmas - Développeur d'applications
>>
>> Compagnie Générale d'Imagerie Numérique
>> 55, route Jean Briaud
>> 33693 Mérignac Cedex
>> France
>>
>> Tél : +33 5 57 89 03 00 (standard)
>> Tél : +33 5 57 89 03 05 (direct)
>>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Cyril Delmas - Développeur d'applications
Compagnie Générale d'Imagerie Numérique
55, route Jean Briaud
33693 Mérignac Cedex
France
Tél : +33 5 57 89 03 00 (standard)
Tél : +33 5 57 89 03 05 (direct)