Re: [xwiki-users] feedback: debian install

2012-03-13 Thread Richard Rafalski


Am 13.03.2012 12:29, schrieb Marius Dumitru Florea:
 On Mon, Mar 12, 2012 at 4:56 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:


 Am 12.03.2012 14:01, schrieb Marius Dumitru Florea:
 On Mon, Mar 12, 2012 at 12:18 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:
 Am 12.03.2012 08:16, schrieb Marius Dumitru Florea:
 On Sun, Mar 11, 2012 at 9:16 PM, rh rhierlme...@googlemail.com wrote:
 Am 11.03.2012 11:40, schrieb Richard Rafalski:

 Am 02.02.2012 10:17, schrieb Richard Rafalski:

 Hi Thoms, hi Guillaume,

 Am 31.01.2012 15:05, schrieb Guillaume Fenollar:

 Hi,

 ...

 About 'Server returned TRANSPORT_ERROR with no error message', can you
 tell
 us more details? When does that happen? It's a red box in the bottom 
 of
 the
 screen, right?

 No. It is the common message box of the webbrowser. It happened maybe
 two or three times yet. I do not remember in which situation. Is it
 possible to search in a log file for this mesage text to get more
 information?

 The error massage started to apear again. It was not the common massage
 box of the browser as i thought the last time. You can view a screen
 shot here http://www.richard-rafalski.de/xwiki/TRANSPORT_ERROR.jpg.

 Any sugestion how to find out more about this problem?


 Hi Richard,

 this is a typical error message of Smartclient. It indicates a problem 
 with
 an Web Service call. XWiki uses on several place smartclient as client 
 side
 javascript framework.

 Ok thank you. Now i have a start point for my search if the problem 
 reapear.


 This should have been fixed by
 https://github.com/xwiki/xwiki-platform/commit/4de07a2bfa3dfc41ef3cfab4a38d2c70f9f286fb#xwiki-platform-core/xwiki-platform-web/src/main/webapp/resources/js/xwiki/xwikiexplorer/xwikiexplorer.js
 .

 I read here http://jira.xwiki.org/browse/XWIKI-7299 that the fix went
 into 3.4-milestone-1. So it should not apear in the version 3.5 (this is
 the version i am using). Do i misunderstand something or have i found a
 new problem?

 It should be fixed in 3.5. I haven't seen this message again since I
 fixed the problem. There might be a regression, but without the steps
 to reproduce the problem I can't do anything..

 Sure. I will try to find out how to reproduce it.

 You should check if you
 have the committed changes

 
 How can i do this check? I've installed from the deb packages.
 
 I'm not sure where the war is deployed when you install the deb
 package but you should look for
 resources/js/xwiki/xwikiexplorer/xwikiexplorer.js file inside the
 folder where XWiki was deployed and check if it contains this string:
 willHandleError.

This string is located in
/usr/lib/xwiki/resources/js/xwiki/xwikiexplorer/xwikiexplorer.js

At a next step i will try to find a relation between the occurrance of
this error message and warnings in the log file of tomcat.

Thnak you
 

 and make sure to clear the browser cache.
 Done.

 Thanks
 Richard R.


 Hope this helps,
 Marius


 A short explanation would be very helpfull. I am new in XWiki and not
 familiar with the development process.

 Thank you
 Richard R.


 Thanks,
 Marius

 Please have a look into your server log files. You may
 find there the real cause of the problem.

 Richard H.


 Thank you

 Richard
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] feedback: debian install

2012-03-12 Thread Richard Rafalski
Am 12.03.2012 08:16, schrieb Marius Dumitru Florea:
 On Sun, Mar 11, 2012 at 9:16 PM, rh rhierlme...@googlemail.com wrote:
 Am 11.03.2012 11:40, schrieb Richard Rafalski:

 Am 02.02.2012 10:17, schrieb Richard Rafalski:

 Hi Thoms, hi Guillaume,

 Am 31.01.2012 15:05, schrieb Guillaume Fenollar:

 Hi,

 ...

 About 'Server returned TRANSPORT_ERROR with no error message', can you
 tell
 us more details? When does that happen? It's a red box in the bottom of
 the
 screen, right?

 No. It is the common message box of the webbrowser. It happened maybe
 two or three times yet. I do not remember in which situation. Is it
 possible to search in a log file for this mesage text to get more
 information?

 The error massage started to apear again. It was not the common massage
 box of the browser as i thought the last time. You can view a screen
 shot here http://www.richard-rafalski.de/xwiki/TRANSPORT_ERROR.jpg.

 Any sugestion how to find out more about this problem?


 Hi Richard,

 this is a typical error message of Smartclient. It indicates a problem with
 an Web Service call. XWiki uses on several place smartclient as client side
 javascript framework.

Ok thank you. Now i have a start point for my search if the problem reapear.

 
 This should have been fixed by
 https://github.com/xwiki/xwiki-platform/commit/4de07a2bfa3dfc41ef3cfab4a38d2c70f9f286fb#xwiki-platform-core/xwiki-platform-web/src/main/webapp/resources/js/xwiki/xwikiexplorer/xwikiexplorer.js
 .

I read here http://jira.xwiki.org/browse/XWIKI-7299 that the fix went
into 3.4-milestone-1. So it should not apear in the version 3.5 (this is
the version i am using). Do i misunderstand something or have i found a
new problem?

A short explanation would be very helpfull. I am new in XWiki and not
familiar with the development process.

Thank you
Richard R.

 
 Thanks,
 Marius
 
 Please have a look into your server log files. You may
 find there the real cause of the problem.

 Richard H.


 Thank you

 Richard
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] feedback: debian install

2012-03-12 Thread Richard Rafalski


Am 12.03.2012 14:01, schrieb Marius Dumitru Florea:
 On Mon, Mar 12, 2012 at 12:18 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:
 Am 12.03.2012 08:16, schrieb Marius Dumitru Florea:
 On Sun, Mar 11, 2012 at 9:16 PM, rh rhierlme...@googlemail.com wrote:
 Am 11.03.2012 11:40, schrieb Richard Rafalski:

 Am 02.02.2012 10:17, schrieb Richard Rafalski:

 Hi Thoms, hi Guillaume,

 Am 31.01.2012 15:05, schrieb Guillaume Fenollar:

 Hi,

 ...

 About 'Server returned TRANSPORT_ERROR with no error message', can you
 tell
 us more details? When does that happen? It's a red box in the bottom of
 the
 screen, right?

 No. It is the common message box of the webbrowser. It happened maybe
 two or three times yet. I do not remember in which situation. Is it
 possible to search in a log file for this mesage text to get more
 information?

 The error massage started to apear again. It was not the common massage
 box of the browser as i thought the last time. You can view a screen
 shot here http://www.richard-rafalski.de/xwiki/TRANSPORT_ERROR.jpg.

 Any sugestion how to find out more about this problem?


 Hi Richard,

 this is a typical error message of Smartclient. It indicates a problem with
 an Web Service call. XWiki uses on several place smartclient as client side
 javascript framework.

 Ok thank you. Now i have a start point for my search if the problem reapear.


 This should have been fixed by
 https://github.com/xwiki/xwiki-platform/commit/4de07a2bfa3dfc41ef3cfab4a38d2c70f9f286fb#xwiki-platform-core/xwiki-platform-web/src/main/webapp/resources/js/xwiki/xwikiexplorer/xwikiexplorer.js
 .

 I read here http://jira.xwiki.org/browse/XWIKI-7299 that the fix went
 into 3.4-milestone-1. So it should not apear in the version 3.5 (this is
 the version i am using). Do i misunderstand something or have i found a
 new problem?
 
 It should be fixed in 3.5. I haven't seen this message again since I
 fixed the problem. There might be a regression, but without the steps
 to reproduce the problem I can't do anything.. 

Sure. I will try to find out how to reproduce it.

 You should check if you
 have the committed changes 

How can i do this check? I've installed from the deb packages.

 and make sure to clear the browser cache.
Done.

Thanks
Richard R.

 
 Hope this helps,
 Marius
 

 A short explanation would be very helpfull. I am new in XWiki and not
 familiar with the development process.

 Thank you
 Richard R.


 Thanks,
 Marius

 Please have a look into your server log files. You may
 find there the real cause of the problem.

 Richard H.


 Thank you

 Richard
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] feedback: debian install

2012-03-11 Thread Richard Rafalski
Am 02.02.2012 10:17, schrieb Richard Rafalski:
 Hi Thoms, hi Guillaume,
 
 Am 31.01.2012 15:05, schrieb Guillaume Fenollar:
 Hi,

...
 About 'Server returned TRANSPORT_ERROR with no error message', can you tell
 us more details? When does that happen? It's a red box in the bottom of the
 screen, right?
 No. It is the common message box of the webbrowser. It happened maybe
 two or three times yet. I do not remember in which situation. Is it
 possible to search in a log file for this mesage text to get more
 information?
 
The error massage started to apear again. It was not the common massage
box of the browser as i thought the last time. You can view a screen
shot here http://www.richard-rafalski.de/xwiki/TRANSPORT_ERROR.jpg.

Any sugestion how to find out more about this problem?

Thank you

Richard
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Tagging a page in structured mode

2012-03-07 Thread Richard Rafalski
Hallo,

i followed this instruction
http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application to
define some tags for tagging in structured mode.

Because of the statment Bundled With XWiki Enterprise, XWiki Enterprise
Manager, XWiki Watch i did not download and install the XAR file.

Evrything seemed to went well. But if i klicked on the plus sign near
the label 'tags' on a page no tags were suggested. I am expected to get
a list of the predefined tags. Also no tags were showed in the document
information box in the edit mode of a page.

XWiki version is 3.5.
Any ideas what went wrong? Or is maybe the tagging in structured mode in
3.5 broken?

Maybe somone can help. Thanks in advance.

Richard
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] space explorer and enumeration

2012-03-06 Thread Richard Rafalski
Hi,

i want to use the space explorer extension to show the pages of a
workspace enumerated.

Such as:

1. Begin
1.1 Subchapter

2. Middle
2.1 Another Subchapter
...

Does the space explorer support something like enumeration?

The try to include the numbers into the page name (calling first page
1. Begin, sacond page 1.1 Subchapter, ...) failed because the space
explorer does not show subtrees of pages that contains a dot in their name.

Is this a bug?
Or maybe a feature??

Richard
___
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-05 Thread Richard Rafalski
Hey Thomas,

regression on xwiki-enterprise-tomcat-common:

dpkg: error processing
/var/cache/apt/archives/xwiki-enterprise-tomcat-common_3.5_all.deb
(--unpack):
 name of conffile (starting `/etc/xwiki/xwiki-tomcat.xml') is too long
(1000 characters)

Richard

Am 05.03.2012 12:09, schrieb Thomas Mortagne:
 On Mon, Mar 5, 2012 at 11:23 AM, Richard Rafalski
 m...@richard-rafalski.de wrote:


 Am 05.03.2012 08:41, schrieb Thomas Mortagne:
 On Mon, Mar 5, 2012 at 8:36 AM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Sun, Mar 4, 2012 at 2:08 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:

 Am 03.03.2012 13:07, schrieb Thomas Mortagne:
 On Sat, Mar 3, 2012 at 11:56 AM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Sat, Mar 3, 2012 at 12:46 AM, Richard Rafalski
 m...@richard-rafalski.de wrote:


 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.

 I can probably change the owner to tomcat and remove the readright for
 all in the xwiki-enterprise-tomcat*-pgsql and
 xwiki-enterprise-tomcat*-mysql (my problem was that the install script
 does not know the aplication server in xwiki-enterprise-pgsql-common
 and xwiki-enterprise-mysql-common).

 Yes I see.


 Done, the right of the hibernate conf file is now 640 and the whole
 /etc/xwiki folder has the proper tomcat5/tomcat6/tomcat7 user as
 owner.


 While installing the new package xwiki-enterprise-tomcat7-pgsql I ran
 into this regression bug

 dpkg: error processing
 /var/cache/apt/archives/xwiki-enterprise-common_3.5_all.deb (--unpack):
  name of conffile (starting `/etc/xwiki/web.xml') is too long (1000
 characters)
 ...
 dpkg: error processing
 /var/cache/apt/archives/xwiki-enterprise-tomcat-common_3.5_all.deb
 (--unpack):
  name of conffile (starting `/etc/xwiki/xwiki-tomcat.xml') is too long
 (1000 characters)

 I probably forgot to re-apply the ending new line (restarted from the
 tag). Checking.

 Should ok now.

 Get the following errer during installation

 E: Failed to fetch
 http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-installer-debian-common/3.5/xwiki-enterprise-installer-debian-common-3.5.deb:
 Size mismatch
 
 I think the cron did not updated the debian repository index yet. I
 will force it.
 




 Does this sounds right to you ?

 From a technical point of view this should work.

 But what are you thinking about the idea to introduce a user and group
 xwiki, set the needed rights for the user xwiki and group xwiki in the
 packages xwiki-enterprise-common and xwiki-enterprise-data base-common
 (so the install script does not to have to know the application server)
 and let the package xwiki-enterprise-application server-common add the
 user of the application server to the group xwiki (e.g. addgroup tomcat7
 xwiki).

 Adding and removing users to or form the group xwiki instead of
 fiddleling around with file permissions will make the live of the system
 administrator more convenient (e.g. if one want to try out a different
 application server).

 But i think more important is the fact that a group based right
 management will lead to more flexibility and so to fewer future preblems.

 Your opinion?

 Sounds like a good idea. Could you create a jira issue for it ? I will
 not have time to work on it right now.

 Done. You have allready seen it :)

 Richard

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 
 
___
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-05 Thread Richard Rafalski


Am 05.03.2012 13:55, schrieb Thomas Mortagne:
 On Mon, Mar 5, 2012 at 12:46 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:
 Hey Thomas,

 regression on xwiki-enterprise-tomcat-common:

 dpkg: error processing
 /var/cache/apt/archives/xwiki-enterprise-tomcat-common_3.5_all.deb
 (--unpack):
  name of conffile (starting `/etc/xwiki/xwiki-tomcat.xml') is too long
 (1000 characters)
 
 Missing backport again, or why it's bad to modify already released packages...
 
 Should be ok now.
 

Could install xwiki-enterprise-tomcat7-pgsql from deb packages. Puuh ...

Thank you for the support.


 Richard

 Am 05.03.2012 12:09, schrieb Thomas Mortagne:
 On Mon, Mar 5, 2012 at 11:23 AM, Richard Rafalski
 m...@richard-rafalski.de wrote:


 Am 05.03.2012 08:41, schrieb Thomas Mortagne:
 On Mon, Mar 5, 2012 at 8:36 AM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Sun, Mar 4, 2012 at 2:08 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:

 Am 03.03.2012 13:07, schrieb Thomas Mortagne:
 On Sat, Mar 3, 2012 at 11:56 AM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Sat, Mar 3, 2012 at 12:46 AM, Richard Rafalski
 m...@richard-rafalski.de wrote:


 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.

 I can probably change the owner to tomcat and remove the readright for
 all in the xwiki-enterprise-tomcat*-pgsql and
 xwiki-enterprise-tomcat*-mysql (my problem was that the install script
 does not know the aplication server in xwiki-enterprise-pgsql-common
 and xwiki-enterprise-mysql-common).

 Yes I see.


 Done, the right of the hibernate conf file is now 640 and the whole
 /etc/xwiki folder has the proper tomcat5/tomcat6/tomcat7 user as
 owner.


 While installing the new package xwiki-enterprise-tomcat7-pgsql I ran
 into this regression bug

 dpkg: error processing
 /var/cache/apt/archives/xwiki-enterprise-common_3.5_all.deb (--unpack):
  name of conffile (starting `/etc/xwiki/web.xml') is too long (1000
 characters)
 ...
 dpkg: error processing
 /var/cache/apt/archives/xwiki-enterprise-tomcat-common_3.5_all.deb
 (--unpack):
  name of conffile (starting `/etc/xwiki/xwiki-tomcat.xml') is too long
 (1000 characters)

 I probably forgot to re-apply the ending new line (restarted from the
 tag). Checking.

 Should ok now.

 Get the following errer during installation

 E: Failed to fetch
 http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-installer-debian-common/3.5/xwiki-enterprise-installer-debian-common-3.5.deb:
 Size mismatch

 I think the cron did not updated the debian repository index yet. I
 will force it.





 Does this sounds right to you ?

 From a technical point of view this should work.

 But what are you thinking about the idea to introduce a user and group
 xwiki, set the needed rights for the user xwiki and group xwiki in the
 packages xwiki-enterprise-common and xwiki-enterprise-data base-common
 (so the install script does not to have to know the application server)
 and let the package xwiki-enterprise-application server-common add the
 user of the application server to the group xwiki (e.g. addgroup tomcat7
 xwiki).

 Adding and removing users to or form the group xwiki instead of
 fiddleling around with file permissions will make the live of the system
 administrator more convenient (e.g. if one want to try out a different
 application server).

 But i think more important is the fact that a group based right
 management will lead to more flexibility and so to fewer future 
 preblems.

 Your opinion?

 Sounds like a good idea. Could you create a jira issue for it ? I will
 not have time to work on it right now.

 Done. You have

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

2012-03-04 Thread Richard Rafalski

Am 03.03.2012 13:07, schrieb Thomas Mortagne:
 On Sat, Mar 3, 2012 at 11:56 AM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Sat, Mar 3, 2012 at 12:46 AM, Richard Rafalski
 m...@richard-rafalski.de wrote:


 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.

 I can probably change the owner to tomcat and remove the readright for
 all in the xwiki-enterprise-tomcat*-pgsql and
 xwiki-enterprise-tomcat*-mysql (my problem was that the install script
 does not know the aplication server in xwiki-enterprise-pgsql-common
 and xwiki-enterprise-mysql-common).

Yes I see.

 
 Done, the right of the hibernate conf file is now 640 and the whole
 /etc/xwiki folder has the proper tomcat5/tomcat6/tomcat7 user as
 owner.
 

While installing the new package xwiki-enterprise-tomcat7-pgsql I ran
into this regression bug

dpkg: error processing
/var/cache/apt/archives/xwiki-enterprise-common_3.5_all.deb (--unpack):
 name of conffile (starting `/etc/xwiki/web.xml') is too long (1000
characters)
...
dpkg: error processing
/var/cache/apt/archives/xwiki-enterprise-tomcat-common_3.5_all.deb
(--unpack):
 name of conffile (starting `/etc/xwiki/xwiki-tomcat.xml') is too long
(1000 characters)

 Does this sounds right to you ?

From a technical point of view this should work.

But what are you thinking about the idea to introduce a user and group
xwiki, set the needed rights for the user xwiki and group xwiki in the
packages xwiki-enterprise-common and xwiki-enterprise-data base-common
(so the install script does not to have to know the application server)
and let the package xwiki-enterprise-application server-common add the
user of the application server to the group xwiki (e.g. addgroup tomcat7
xwiki).

Adding and removing users to or form the group xwiki instead of
fiddleling around with file permissions will make the live of the system
administrator more convenient (e.g. if one want to try out a different
application server).

But i think more important is the fact that a group based right
management will lead to more flexibility and so to fewer future preblems.

Your opinion?

 


 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

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 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)

 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter

Re: [xwiki-users] Install of xwiki-enterprise-common_3.5_all.deb failed

2012-02-28 Thread Richard Rafalski
Thank you
The installation of the 3.5 packages causes no errors now

Am 27.02.2012 17:53, schrieb Thomas Mortagne:
 Done
 
 On Mon, Feb 27, 2012 at 1:13 PM, Richard Rafalski
 m...@richard-rafalski.de wrote:

 Am 26.02.2012 12:41, schrieb Thomas Mortagne:
 I just fixed it on 4.0 and 3.5 branch (so for 4.0-milestone-1 and 3.5.1).

 Will try to find some time to fix the 3.5 packages (probably tomorrow).

 Would you please send a massage to the list when the 3.5 packages are
 uploaded into the archive

 Thank you
 Ritchi
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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

2012-02-28 Thread Richard Rafalski
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?

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)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)

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

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 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.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:856)

com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:283)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1427)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1470)
com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:3104)
com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:821)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:796)
com.xpn.xwiki.XWiki.init(XWiki.java:739)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:401)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)

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


Re: [xwiki-users] Install of xwiki-enterprise-common_3.5_all.deb failed

2012-02-27 Thread Richard Rafalski

Am 26.02.2012 12:41, schrieb Thomas Mortagne:
 I just fixed it on 4.0 and 3.5 branch (so for 4.0-milestone-1 and 3.5.1).
 
 Will try to find some time to fix the 3.5 packages (probably tomorrow).
 
Would you please send a massage to the list when the 3.5 packages are
uploaded into the archive

Thank you
Ritchi
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Install of xwiki-enterprise-common_3.5_all.deb failed

2012-02-25 Thread Richard Rafalski
Hi,

a similar problem as has been described here

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=108196

and indeed the files 'conffiles' and 'postinst' of the xwiki deb archive
do not own a trailing newline character.

I do not have the time now to build a new corrected package. But if the
xwiki team or some else can do that i could test if the missing newline
caused the problem

Thank you

Richard

Am 24.02.2012 21:39, schrieb Kleydson Wilbert:
 Richard Rafalski mail@... writes:
 

 Hi,

 installing the debian package xwiki-enterprise-common_3.5_all on squeeze
 and on wheezy failed.

 Selecting previously deselected package xwiki-enterprise-common.
 (Reading database ... 25065 files and directories currently installed.)
 Unpacking xwiki-enterprise-common (from
 .../xwiki-enterprise-common_3.5_all.deb) ...
 dpkg: error processing
 /var/cache/apt/archives/xwiki-enterprise-common_3.5_all.deb (--unpack):
  name of conffile (starting `/etc/xwiki/web.xml') is too long (1000
 characters)
 configured to not write apport reports
   Errors were encountered while
 processing:
  /var/cache/apt/archives/xwiki-enterprise-common_3.5_all.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 A package failed to install.  Trying to recover:

 The installation of version 3.4 works fine on squeeze and wheezy.

 Does anyone run into the same problem?

 Regards
 Richard

 
 Hello,
 
 i´m having the same problem with these two package:
 
  /var/cache/apt/archives/xwiki-enterprise-common_3.5_all.deb
  /var/cache/apt/archives/xwiki-enterprise-tomcat-common_3.5_all.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 Someone to help??
 
 Thanks,
 Kleydson
 
 
 
 
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Install of xwiki-enterprise-common_3.5_all.deb failed

2012-02-24 Thread Richard Rafalski
Hi,

installing the debian package xwiki-enterprise-common_3.5_all on squeeze
and on wheezy failed.

Selecting previously deselected package xwiki-enterprise-common.
(Reading database ... 25065 files and directories currently installed.)
Unpacking xwiki-enterprise-common (from
.../xwiki-enterprise-common_3.5_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/xwiki-enterprise-common_3.5_all.deb (--unpack):
 name of conffile (starting `/etc/xwiki/web.xml') is too long (1000
characters)
configured to not write apport reports
  Errors were encountered while
processing:
 /var/cache/apt/archives/xwiki-enterprise-common_3.5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:

The installation of version 3.4 works fine on squeeze and wheezy.

Does anyone run into the same problem?

Regards
Richard
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] feedback: debian install

2012-02-02 Thread Richard Rafalski
Hi Thoms, hi Guillaume,

Am 31.01.2012 15:05, schrieb Guillaume Fenollar:
 Hi,
 
 Concerning Wheezy, I can find this package on debian.org website, that's
 strange you don't have it on your side.
 http://packages.debian.org/en/wheezy/libpg-java
 It's done by installing the non-virtual package
 libpostgresql-jdbc-javahttp://packages.debian.org/en/wheezy/libpostgresql-jdbc-java,
 can you try installing manually?

The installation of libpostgresql-jdbc-java does not help.

Because libpg-java package is virtual I searched for virtual packages in
the debian policy and I think I found the solution.

The dependency of a virtual packages should not take a version nummber.
If a dependency have got a version number the package manager searchs
for a real package to satisfy the dependency.

So omitting the version number of libpg-java in the dependency of
xwiki-enterprise-tomcat-pgsql should solve the problem.

 
 And concerning the others error, it would be good to have more details. For
 example, a screenshot of what the Administration : Rights provides.
This problem is not realy reproduceable. Evrything works in most cases.
Sometimes a reload of the page helps. Anyway you can see a screenshot
here http://www.richard-rafalski.de/xwiki/Administration_Rights.jpg

 About 'Server returned TRANSPORT_ERROR with no error message', can you tell
 us more details? When does that happen? It's a red box in the bottom of the
 screen, right?
No. It is the common message box of the webbrowser. It happened maybe
two or three times yet. I do not remember in which situation. Is it
possible to search in a log file for this mesage text to get more
information?

Ritchi


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] feedback: debian install

2012-02-02 Thread Richard Rafalski


Am 02.02.2012 10:37, schrieb Sergiu Dumitriu:
...
 This problem is not realy reproduceable. Evrything works in most cases.
 Sometimes a reload of the page helps. Anyway you can see a screenshot
 here http://www.richard-rafalski.de/xwiki/Administration_Rights.jpg
 
 Looks like you're hitting http://jira.xwiki.org/browse/XE-844
 
You are right. Thanks for the pointer. I attached a comment there.

Ritchi
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] feedback: debian install

2012-01-31 Thread Richard Rafalski
Hi,

i played a litle bit with the new release 3.4 and debian on virtual
machines.

First i tried out the standalone installation on the testing
distribution wheezy. The installation works well. But the page
'Administration: Rights' does not show the users and the groups. Did not
investigate the situation further.

Instead tried to install form the debian package
xwiki-enterprise-tomcat-pgsql. Here got the error 'depends on libpg-java
(= 8.4) [UNAVAILABLE]'.

Should XWiki run on wheezy at all?

So I changed to the stable distribution squeeze. The installation of the
deb package xwiki-enterprise-tomcat-pgsql works well here (did not try
the standalone installation anymore). The Wiki is also runing well, with
one exception: The browser shows a message box with the text 'Server
returned TRANSPORT_ERROR with no error message' somtimes. But all seems
to be ok.

So far my feedback.

The issues with the testing distribution are no problem for me. Feel
confortable enough with the stable distribution but would like to get
rid of the above-mentioned errer messages. Any ideas how to solve this.

Thanks
Ritchi




___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users