Re: [xwiki-users] [xwiki-notifications] XWiki doesn't start anymore

2008-04-30 Thread Jean-Vincent Drean
Ok my bad I haven't looked at the stacktrace in the first place,
indeed Vincent is right it's an out of memory error.

On Wed, Apr 30, 2008 at 10:21 AM, Jean-Vincent Drean [EMAIL PROTECTED] wrote:
 Hello,

  Please don't use the notification mailing list to answer questions,
  I've cc-ed your message to the xwiki users list.
  About your problem the errors shows that xwiki is unable to connect to
  your database.



  On Wed, Apr 30, 2008 at 1:05 AM, Fabrizio Lamari (TeleJob - WebMaster)
  [EMAIL PROTECTED] wrote:
  
  
  
  
   Hello
  
  
  
   I was using the XWiki for our company and since yesterday evening it 
 doesn't
   work anymore.
  
   I haven't changed anything on the settings yesterday.
  
   When I want to go on the XWiki (www.telejob.ch/wiki.html) I get this error:
   HTTP ERROR: 500 Error number 3 in 0: Could not initialize main XWiki 
 context
   Wrapped Exception: Error number 3001 in 3: Cannot load class
   com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
   param xwiki.store.migration.manager.class
   Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
   Wrapped Exception: Could not create a DBCP pool
  
  
   RequestURI=/xwiki/bin/view/Main/WebHome
  
   Powered by Jetty://
  
   On the terminal side of the XWiki I have the outlines shown on the end of
   this message.
  
  
  
   I hope somebody can help me in adjusting the XWiki, cause we have already
   written many things in it.
  
   Perhaps somebody knows how to get the content of the wiki out, to import in
   a new one, manually.
  
  
  
   Thank you in advance for your help.
  
  
  
   With regards
  
  
  
   __
  
   Fabrizio Lamari
  
  
  
   TeleJob.ch - WebMaster
  
   [EMAIL PROTECTED]
  
  
  
  
  
  
  
  
  
   Outlines from the terminarl side:
  
  
  
   at
   
 org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
  
   at
   
 com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:175)
  
   at
   
 com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:516)
  
   at
   
 com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1031)
  
   at
   
 com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1074)
  
   at
   
 com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:62)
  
   at
   
 com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.init(AbstractXWikiMigrationManager.java:68)
  
   at
   
 com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.init(XWikiHibernateMigrationManager.java:49)
  
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
   Method)
  
   at
   
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  
   at
   
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  
   at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  
   at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:852)
  
   at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:791)
  
   at com.xpn.xwiki.XWiki.init(XWiki.java:733)
  
   at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:305)
  
   at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:503)
  
   at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:126)
  
   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:596)
  
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
  
   at
   org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
  
   at
   
 org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
  
   at
   
 com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
  
   at
   
 org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
  
   at
   
 org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
  
   at
   org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
  
   at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
  
   at
   
 

Re: [xwiki-users] [xwiki-notifications] XWiki doesn't start anymore

2008-04-30 Thread Jean-Vincent Drean
It looks like your using one of our jetty distribution. Assuming
you're using our startup script (start_xwiki.bat or .sh),
you can try to replace :

JAVA_OPTS=-Xmx300m (or : set JAVA_OPTS=-Xmx300m)
by
JAVA_OPTS=-Xmx512m (or : set JAVA_OPTS=-Xmx512m)

BTW I wonder how 300m can be not enough.

On Wed, Apr 30, 2008 at 11:23 AM, Lamari  Fabrizio
[EMAIL PROTECTED] wrote:
 Hello

  Thank you for your help.

  Can you help me solving the problem?
  I don't know how to check this.

  Thank you in advance.


  -Ursprüngliche Nachricht-
  Von: [EMAIL PROTECTED] im Auftrag von Jean-Vincent Drean
  Gesendet: Mi 30.04.2008 10:28
  An: XWiki Users; Lamari  Fabrizio
  Betreff: Re: [xwiki-notifications] XWiki doesn't start anymore



  Ok my bad I haven't looked at the stacktrace in the first place,
  indeed Vincent is right it's an out of memory error.

  On Wed, Apr 30, 2008 at 10:21 AM, Jean-Vincent Drean [EMAIL PROTECTED] 
 wrote:
   Hello,
  
Please don't use the notification mailing list to answer questions,
I've cc-ed your message to the xwiki users list.
About your problem the errors shows that xwiki is unable to connect to
your database.
  
  
  
On Wed, Apr 30, 2008 at 1:05 AM, Fabrizio Lamari (TeleJob - WebMaster)
[EMAIL PROTECTED] wrote:




 Hello



 I was using the XWiki for our company and since yesterday evening it 
 doesn't
 work anymore.

 I haven't changed anything on the settings yesterday.

 When I want to go on the XWiki (www.telejob.ch/wiki.html) I get this 
 error:
 HTTP ERROR: 500 Error number 3 in 0: Could not initialize main XWiki 
 context
 Wrapped Exception: Error number 3001 in 3: Cannot load class
 com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager 
 from
 param xwiki.store.migration.manager.class
 Wrapped Exception: Error number 0 in 3: Exception while hibernate 
 execute
 Wrapped Exception: Could not create a DBCP pool


 RequestURI=/xwiki/bin/view/Main/WebHome

 Powered by Jetty://

 On the terminal side of the XWiki I have the outlines shown on the end 
 of
 this message.



 I hope somebody can help me in adjusting the XWiki, cause we have 
 already
 written many things in it.

 Perhaps somebody knows how to get the content of the wiki out, to 
 import in
 a new one, manually.



 Thank you in advance for your help.



 With regards



 __

 Fabrizio Lamari



 TeleJob.ch - WebMaster

 [EMAIL PROTECTED]









 Outlines from the terminarl side:



 at
 
 org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)

 at
 
 com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:175)

 at
 
 com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:516)

 at
 
 com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1031)

 at
 
 com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1074)

 at
 
 com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:62)

 at
 
 com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.init(AbstractXWikiMigrationManager.java:68)

 at
 
 com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.init(XWikiHibernateMigrationManager.java:49)

 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)

 at
 
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

 at
 
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

 at 
 java.lang.reflect.Constructor.newInstance(Constructor.java:494)

 at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:852)

 at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:791)

 at com.xpn.xwiki.XWiki.init(XWiki.java:733)

 at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:305)

 at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:503)

 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:126)

 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