[xwiki-users] Translations field length

2012-03-02 Thread jerem
Hello xwiki community,

I'm playing with the new (and wonderful) xwiki 3.5, and as I'm playing I'm
adding extensions ... and values in the internationalization bundles list.

Problem is, I reached the limit, and can't add new bundles anymore because
of :

Caused by: java.sql.BatchUpdateException: Data truncation: Data too long for
column 'XWP_DOCUMENT_BUNDLES' at row 1

It seems that (MySql) this field is varchar(255). Problem is that this limit
is easily reached when you add applications (and I use it also for my own
apps ...).

Would it be possible to extend this limitation ? can I alter this

BR,
Jeremie

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Translations-field-length-tp7336167p7336167.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Cascading livetables

2012-03-02 Thread jerem
Hello,

I'd like to do that :
In a page, have 2 livetables on 2 different wiki classes. A column in first
livetable shows a clickable link. If user clicks this link, I would like to
have second livetable updated depending on the row that was clicked in the
first.
In fact on click, an event should be fired to the second livetable to
refresh itself, with a parameter depending on the link.
What I don't know is how to trigger ajax refresh on second livetable and how
to parameterize it from the first link.

Any help welcome on how to do that - I believe it's possible but need a
little help to know how to start...

thanks,
Jeremie

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Cascading-livetables-tp7337034p7337034.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration

2012-03-02 Thread Richard Rafalski
Hi Thomas,

thank you for the last modifications on the deb packages.

I've installed the package xwiki-enterprise-tomcat7-pgsql. The
installation ran without probelms.
Great!

But I'am sorry to inform you that after pointing the webbrowser to
http://xwikipg:8080/xwiki/ I got the well known
Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration
message.

A quik look into /etc/xwiki showed
-rw-r- 1 root root 8.1K Mar  2 16:08 hibernate.cfg.xml

Changing group from root to tomcat7 and restarting the tomcat7 service
solved the problem.

Maybe there is still a problem with setting group/rights on
hibernate.cfg.xml. I'am not shure.

Richard

Am 29.02.2012 18:02, schrieb Thomas Mortagne:
 On Wed, Feb 29, 2012 at 10:35 AM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Wed, Feb 29, 2012 at 9:24 AM, Richard Rafalski
 m...@richard-rafalski.de wrote:

 Am 28.02.2012 20:10, schrieb Thomas Mortagne:
 On Tue, Feb 28, 2012 at 7:43 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:
 Hi,

 i have installed xwiki form the deb package
 xwiki-enterprise-tomcat-pgsql version 3.5.  Then tried to contact the
 new wiki through the URL http://xwikipg:8080/xwiki (xwikipg is the
 hostname where xwiki is running). No page came up. I got this error:

 Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration

 What to do now?

 Looks like there is something wrong with the potgre packages actually,
 xwiki-enterprise-tomcat-pgsql should not even exist for 3.5 (it's
 supposed to contain the version of tomcat now). But that's not
 related;

 Do you mean something like xwiki-enterprise-tomcat6-pgsql,
 xwiki-enterprise-tomcat7-pgsql ? That would be nice.

 Yes, see you can see how it's done for mysql but for postgre they are
 all there but with the same xwiki-enterprise-tomcat-pgsql name... I
 forgot to change it during the refactoring and I mostly test mysql.
 Sorry about that.



 Do you have the /usr/share/xwiki/templates/pgsql/hibernate.cfg.xml
 template file ? I think there is an issue with the generation of the
 /etc/xwiki/hibernate.cfg.xml file in some condition, I'm looking at
 it.

 I tried a new install on a completely fresh debian system. The problem
 does not appear now. I think my old system was broken due to old failed
 installations. Or did you change something meanwhile?

 Nop I did not change anything but I actually suspect that the issue is
 not fresh install but that the purge is wrong. That's what I plan to
 look at, thanks for the confirmation.
 
 Should be OK now.
 
 The issue was indeed in the purge script. This mean that you might
 still have an issue with install, in that case you will need to do
 install/remove --purge/install to cleanup everything.
 


 Richard



 Thanks for help

 Here is the full error text:

 HTTP Status 500 -

 type Exception report

 message

 description The server encountered an internal error () that prevented
 it from fulfilling this request.

 exception

 javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
 number 3 in 0: Could not initialize main XWiki context
 Wrapped Exception: Error number 3202 in 3: Exception while reading
 document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name =
 [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent
 = [null
 Wrapped Exception: Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate
 configuration

 org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)

 org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)

 org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)

 org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

 org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)

 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)

 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)

 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)

 org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
 root cause

 com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
 main XWiki context
 Wrapped Exception: Error number 3202 in 3: Exception while reading
 document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name =
 [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent
 = [null
 Wrapped Exception: Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate
 configuration
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:418)

Re: [xwiki-users] Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration

2012-03-02 Thread Thomas Mortagne
On Fri, Mar 2, 2012 at 5:33 PM, Richard Rafalski
m...@richard-rafalski.de wrote:
 Hi Thomas,

 thank you for the last modifications on the deb packages.

 I've installed the package xwiki-enterprise-tomcat7-pgsql. The
 installation ran without probelms.
 Great!

 But I'am sorry to inform you that after pointing the webbrowser to
 http://xwikipg:8080/xwiki/ I got the well known
 Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration
 message.

 A quik look into /etc/xwiki showed
 -rw-r- 1 root root 8.1K Mar  2 16:08 hibernate.cfg.xml

 Changing group from root to tomcat7 and restarting the tomcat7 service
 solved the problem.

 Maybe there is still a problem with setting group/rights on
 hibernate.cfg.xml. I'am not shure.

That's weird I was sure I changed the right for it to be 644, will
checking this, maybe I modified it only in the mysql package. Should
be quickly fixed.


 Richard

 Am 29.02.2012 18:02, schrieb Thomas Mortagne:
 On Wed, Feb 29, 2012 at 10:35 AM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Wed, Feb 29, 2012 at 9:24 AM, Richard Rafalski
 m...@richard-rafalski.de wrote:

 Am 28.02.2012 20:10, schrieb Thomas Mortagne:
 On Tue, Feb 28, 2012 at 7:43 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:
 Hi,

 i have installed xwiki form the deb package
 xwiki-enterprise-tomcat-pgsql version 3.5.  Then tried to contact the
 new wiki through the URL http://xwikipg:8080/xwiki (xwikipg is the
 hostname where xwiki is running). No page came up. I got this error:

 Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration

 What to do now?

 Looks like there is something wrong with the potgre packages actually,
 xwiki-enterprise-tomcat-pgsql should not even exist for 3.5 (it's
 supposed to contain the version of tomcat now). But that's not
 related;

 Do you mean something like xwiki-enterprise-tomcat6-pgsql,
 xwiki-enterprise-tomcat7-pgsql ? That would be nice.

 Yes, see you can see how it's done for mysql but for postgre they are
 all there but with the same xwiki-enterprise-tomcat-pgsql name... I
 forgot to change it during the refactoring and I mostly test mysql.
 Sorry about that.



 Do you have the /usr/share/xwiki/templates/pgsql/hibernate.cfg.xml
 template file ? I think there is an issue with the generation of the
 /etc/xwiki/hibernate.cfg.xml file in some condition, I'm looking at
 it.

 I tried a new install on a completely fresh debian system. The problem
 does not appear now. I think my old system was broken due to old failed
 installations. Or did you change something meanwhile?

 Nop I did not change anything but I actually suspect that the issue is
 not fresh install but that the purge is wrong. That's what I plan to
 look at, thanks for the confirmation.

 Should be OK now.

 The issue was indeed in the purge script. This mean that you might
 still have an issue with install, in that case you will need to do
 install/remove --purge/install to cleanup everything.



 Richard



 Thanks for help

 Here is the full error text:

 HTTP Status 500 -

 type Exception report

 message

 description The server encountered an internal error () that prevented
 it from fulfilling this request.

 exception

 javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
 number 3 in 0: Could not initialize main XWiki context
 Wrapped Exception: Error number 3202 in 3: Exception while reading
 document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name =
 [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent
 = [null
 Wrapped Exception: Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate
 configuration
        
 org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
        
 org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
        
 org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        
 org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        
 org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
        
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
        
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
        
 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
        
 org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
 root cause

 com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
 main XWiki context
 Wrapped Exception: Error number 3202 in 3: Exception while reading
 document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name =
 

Re: [xwiki-users] Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration

2012-03-02 Thread Thomas Mortagne
On Fri, Mar 2, 2012 at 7:34 PM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:
 On Fri, Mar 2, 2012 at 5:33 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:
 Hi Thomas,

 thank you for the last modifications on the deb packages.

 I've installed the package xwiki-enterprise-tomcat7-pgsql. The
 installation ran without probelms.
 Great!

 But I'am sorry to inform you that after pointing the webbrowser to
 http://xwikipg:8080/xwiki/ I got the well known
 Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration
 message.

 A quik look into /etc/xwiki showed
 -rw-r- 1 root root 8.1K Mar  2 16:08 hibernate.cfg.xml

 Changing group from root to tomcat7 and restarting the tomcat7 service
 solved the problem.

 Maybe there is still a problem with setting group/rights on
 hibernate.cfg.xml. I'am not shure.

 That's weird I was sure I changed the right for it to be 644, will
 checking this, maybe I modified it only in the mysql package. Should
 be quickly fixed.

I did fixed it but forgot to backport it on 3.5 actually...



 Richard

 Am 29.02.2012 18:02, schrieb Thomas Mortagne:
 On Wed, Feb 29, 2012 at 10:35 AM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Wed, Feb 29, 2012 at 9:24 AM, Richard Rafalski
 m...@richard-rafalski.de wrote:

 Am 28.02.2012 20:10, schrieb Thomas Mortagne:
 On Tue, Feb 28, 2012 at 7:43 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:
 Hi,

 i have installed xwiki form the deb package
 xwiki-enterprise-tomcat-pgsql version 3.5.  Then tried to contact the
 new wiki through the URL http://xwikipg:8080/xwiki (xwikipg is the
 hostname where xwiki is running). No page came up. I got this error:

 Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration

 What to do now?

 Looks like there is something wrong with the potgre packages actually,
 xwiki-enterprise-tomcat-pgsql should not even exist for 3.5 (it's
 supposed to contain the version of tomcat now). But that's not
 related;

 Do you mean something like xwiki-enterprise-tomcat6-pgsql,
 xwiki-enterprise-tomcat7-pgsql ? That would be nice.

 Yes, see you can see how it's done for mysql but for postgre they are
 all there but with the same xwiki-enterprise-tomcat-pgsql name... I
 forgot to change it during the refactoring and I mostly test mysql.
 Sorry about that.



 Do you have the /usr/share/xwiki/templates/pgsql/hibernate.cfg.xml
 template file ? I think there is an issue with the generation of the
 /etc/xwiki/hibernate.cfg.xml file in some condition, I'm looking at
 it.

 I tried a new install on a completely fresh debian system. The problem
 does not appear now. I think my old system was broken due to old failed
 installations. Or did you change something meanwhile?

 Nop I did not change anything but I actually suspect that the issue is
 not fresh install but that the purge is wrong. That's what I plan to
 look at, thanks for the confirmation.

 Should be OK now.

 The issue was indeed in the purge script. This mean that you might
 still have an issue with install, in that case you will need to do
 install/remove --purge/install to cleanup everything.



 Richard



 Thanks for help

 Here is the full error text:

 HTTP Status 500 -

 type Exception report

 message

 description The server encountered an internal error () that prevented
 it from fulfilling this request.

 exception

 javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
 number 3 in 0: Could not initialize main XWiki context
 Wrapped Exception: Error number 3202 in 3: Exception while reading
 document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name =
 [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent
 = [null
 Wrapped Exception: Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate
 configuration
        
 org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
        
 org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
        
 org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        
 org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        
 org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
        
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
        
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
        
 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
        
 org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
 root cause

 com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
 main XWiki 

Re: [xwiki-users] Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration

2012-03-02 Thread Thomas Mortagne
On Fri, Mar 2, 2012 at 7:36 PM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:
 On Fri, Mar 2, 2012 at 7:34 PM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Fri, Mar 2, 2012 at 5:33 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:
 Hi Thomas,

 thank you for the last modifications on the deb packages.

 I've installed the package xwiki-enterprise-tomcat7-pgsql. The
 installation ran without probelms.
 Great!

 But I'am sorry to inform you that after pointing the webbrowser to
 http://xwikipg:8080/xwiki/ I got the well known
 Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration
 message.

 A quik look into /etc/xwiki showed
 -rw-r- 1 root root 8.1K Mar  2 16:08 hibernate.cfg.xml

 Changing group from root to tomcat7 and restarting the tomcat7 service
 solved the problem.

 Maybe there is still a problem with setting group/rights on
 hibernate.cfg.xml. I'am not shure.

 That's weird I was sure I changed the right for it to be 644, will
 checking this, maybe I modified it only in the mysql package. Should
 be quickly fixed.

 I did fixed it but forgot to backport it on 3.5 actually...

Should be better now. Thanks for the report !




 Richard

 Am 29.02.2012 18:02, schrieb Thomas Mortagne:
 On Wed, Feb 29, 2012 at 10:35 AM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Wed, Feb 29, 2012 at 9:24 AM, Richard Rafalski
 m...@richard-rafalski.de wrote:

 Am 28.02.2012 20:10, schrieb Thomas Mortagne:
 On Tue, Feb 28, 2012 at 7:43 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:
 Hi,

 i have installed xwiki form the deb package
 xwiki-enterprise-tomcat-pgsql version 3.5.  Then tried to contact the
 new wiki through the URL http://xwikipg:8080/xwiki (xwikipg is the
 hostname where xwiki is running). No page came up. I got this error:

 Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration

 What to do now?

 Looks like there is something wrong with the potgre packages actually,
 xwiki-enterprise-tomcat-pgsql should not even exist for 3.5 (it's
 supposed to contain the version of tomcat now). But that's not
 related;

 Do you mean something like xwiki-enterprise-tomcat6-pgsql,
 xwiki-enterprise-tomcat7-pgsql ? That would be nice.

 Yes, see you can see how it's done for mysql but for postgre they are
 all there but with the same xwiki-enterprise-tomcat-pgsql name... I
 forgot to change it during the refactoring and I mostly test mysql.
 Sorry about that.



 Do you have the /usr/share/xwiki/templates/pgsql/hibernate.cfg.xml
 template file ? I think there is an issue with the generation of the
 /etc/xwiki/hibernate.cfg.xml file in some condition, I'm looking at
 it.

 I tried a new install on a completely fresh debian system. The problem
 does not appear now. I think my old system was broken due to old failed
 installations. Or did you change something meanwhile?

 Nop I did not change anything but I actually suspect that the issue is
 not fresh install but that the purge is wrong. That's what I plan to
 look at, thanks for the confirmation.

 Should be OK now.

 The issue was indeed in the purge script. This mean that you might
 still have an issue with install, in that case you will need to do
 install/remove --purge/install to cleanup everything.



 Richard



 Thanks for help

 Here is the full error text:

 HTTP Status 500 -

 type Exception report

 message

 description The server encountered an internal error () that prevented
 it from fulfilling this request.

 exception

 javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
 number 3 in 0: Could not initialize main XWiki context
 Wrapped Exception: Error number 3202 in 3: Exception while reading
 document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name 
 =
 [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], 
 parent
 = [null
 Wrapped Exception: Can't find [/WEB-INF/hibernate.cfg.xml] for 
 hibernate
 configuration
        
 org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
        
 org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
        
 org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        
 org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        
 org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
        
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
        
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
        
 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
        
 

Re: [xwiki-users] Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration

2012-03-02 Thread Richard Rafalski


Am 02.03.2012 19:47, schrieb Thomas Mortagne:
 On Fri, Mar 2, 2012 at 7:36 PM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Fri, Mar 2, 2012 at 7:34 PM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Fri, Mar 2, 2012 at 5:33 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:
 Hi Thomas,

 thank you for the last modifications on the deb packages.

 I've installed the package xwiki-enterprise-tomcat7-pgsql. The
 installation ran without probelms.
 Great!

 But I'am sorry to inform you that after pointing the webbrowser to
 http://xwikipg:8080/xwiki/ I got the well known
 Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration
 message.

 A quik look into /etc/xwiki showed
 -rw-r- 1 root root 8.1K Mar  2 16:08 hibernate.cfg.xml

 Changing group from root to tomcat7 and restarting the tomcat7 service
 solved the problem.

 Maybe there is still a problem with setting group/rights on
 hibernate.cfg.xml. I'am not shure.

 That's weird I was sure I changed the right for it to be 644, will
 checking this, maybe I modified it only in the mysql package. Should
 be quickly fixed.

 I did fixed it but forgot to backport it on 3.5 actually...
 
 Should be better now. Thanks for the report !
I think it is very dangerous to make hibernate.cfg.xml readable for
evryone. If you can not avoid it you should mention this fact in the
installation documentation.

Richard

 



 Richard

 Am 29.02.2012 18:02, schrieb Thomas Mortagne:
 On Wed, Feb 29, 2012 at 10:35 AM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Wed, Feb 29, 2012 at 9:24 AM, Richard Rafalski
 m...@richard-rafalski.de wrote:

 Am 28.02.2012 20:10, schrieb Thomas Mortagne:
 On Tue, Feb 28, 2012 at 7:43 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:
 Hi,

 i have installed xwiki form the deb package
 xwiki-enterprise-tomcat-pgsql version 3.5.  Then tried to contact the
 new wiki through the URL http://xwikipg:8080/xwiki (xwikipg is the
 hostname where xwiki is running). No page came up. I got this error:

 Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration

 What to do now?

 Looks like there is something wrong with the potgre packages actually,
 xwiki-enterprise-tomcat-pgsql should not even exist for 3.5 (it's
 supposed to contain the version of tomcat now). But that's not
 related;

 Do you mean something like xwiki-enterprise-tomcat6-pgsql,
 xwiki-enterprise-tomcat7-pgsql ? That would be nice.

 Yes, see you can see how it's done for mysql but for postgre they are
 all there but with the same xwiki-enterprise-tomcat-pgsql name... I
 forgot to change it during the refactoring and I mostly test mysql.
 Sorry about that.



 Do you have the /usr/share/xwiki/templates/pgsql/hibernate.cfg.xml
 template file ? I think there is an issue with the generation of the
 /etc/xwiki/hibernate.cfg.xml file in some condition, I'm looking at
 it.

 I tried a new install on a completely fresh debian system. The problem
 does not appear now. I think my old system was broken due to old failed
 installations. Or did you change something meanwhile?

 Nop I did not change anything but I actually suspect that the issue is
 not fresh install but that the purge is wrong. That's what I plan to
 look at, thanks for the confirmation.

 Should be OK now.

 The issue was indeed in the purge script. This mean that you might
 still have an issue with install, in that case you will need to do
 install/remove --purge/install to cleanup everything.



 Richard



 Thanks for help

 Here is the full error text:

 HTTP Status 500 -

 type Exception report

 message

 description The server encountered an internal error () that prevented
 it from fulfilling this request.

 exception

 javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
 number 3 in 0: Could not initialize main XWiki context
 Wrapped Exception: Error number 3202 in 3: Exception while reading
 document [name = [XWikiPreferences], type = [DOCUMENT], parent = 
 [name =
 [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], 
 parent
 = [null
 Wrapped Exception: Can't find [/WEB-INF/hibernate.cfg.xml] for 
 hibernate
 configuration

 org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)

 org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)

 org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)

 org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

 org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)

 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)