IRC Archive for channel #xwiki on 02 February 2012

Last modified by Vincent Massol on 2012/10/18 19:22

00:10 <jvdrean> has quit
00:38 <helge> has joined #xwiki
01:03 <tekzilla> has quit
01:07 <tekzilla> has joined #xwiki
01:22 <SvenDowideit> has quit
01:23 <SvenDowideit> has joined #xwiki
01:24 <SvenDowideit> has quit
01:24 <SvenDowideit> has joined #xwiki
03:32 <helge> has quit
05:40 <border> has joined #xwiki
05:42 <border> hi, im having problem start start_xwiki.sh on linux server. I woud like to confirm that is becose the server use open-JDK and xwiki have been compiled with oracle java. coud it true ?
05:47 <border> *coud it be true ?
05:50 <@cjd> I think it is possible but unlikely.
05:57 <border> thx, this is my term: http://piratepad.net/FMKEC5hk7K
05:57 <border> in referance this founded forum http://forums.fedoraforum.org/archive/index.php/t-172818.html
05:58 <border> on posts of 20 and 21 november
06:00 <CIA-120> Sergiu Dumitriu master * rfe11351 / (12 files in 7 dirs): XWIKI-7484: Write a log line in the console instructing the user to open XWiki in a browser ...
06:00 <@sdumitriu> border: Depends on the version of openjdk you have
06:00 <Denis> has joined #xwiki
06:01 <border> java version "1.4.2" gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-51)
06:01 <@sdumitriu> Ah, right, that's gcj
06:01 <@sdumitriu> It won't work
06:01 <@sdumitriu> Do you have any other alternatives?
06:02 <@sdumitriu> XWiki requires a 1.6 compatible JDK
06:02 <@sdumitriu> If you can't / don't want to use the one from Oracle, it should work with IcedTea JDK
06:02 <border> no and its a shared server so i dont have root acces
06:03 <Denis1> has quit
06:03 <border> i coud look to install jdk in my home directory meaby i will find something about this
06:04 <@cjd> yes, java can be installed in your home directory
06:04 <border> even if it d'ont solve the problem its help ! big thx
06:04 <@sdumitriu> Yes, it should work
06:05 <@sdumitriu> We're doing that on some of our machines as well
06:17 <border> has quit
07:43 <vmassol> has joined #xwiki
08:56 <rrodriguez> has quit
08:57 <rrodriguez> has joined #xwiki
09:00 <rrodriguez> has quit
09:08 <evalica> has joined #xwiki
09:11 <CIA-120> Vincent Massol master * rb219526 / (3 files in 2 dirs): XWIKI-7484: Write a log line in the console instructing the user to open XWiki in a browser ...
09:59 <jvdrean> has joined #xwiki
10:00 <tmortagne> has joined #xwiki
10:14 <gdelhumeau> has joined #xwiki
10:27 <helge> has joined #xwiki
10:30 <@cjd> helge: sorry I missed you yesterday, I checked your problem with postgres 9.1 and was not able to reproduce it
10:30 <@cjd> I pasted some Asian text into the wiki and saved a few times to see if I could make something happen but everything seemed to work ok.
10:33 <sdumitriu> has quit
10:44 <helge> @cjd: ok, thank you for checking, I will try to find out what triggers the problem. It never happend with XE3.1 on Postgres 9.0.
10:44 <@cjd> very interesting
10:44 <@cjd> if you have any more data on it, please do share.
10:44 <CIA-120> Vincent Massol master * r7325276 / pom.xml : XCOMMONS-88: Upgrade Maven JAR plugin to version 2.4 ...
10:45 <helge> I will do.
11:09 <Enygma`> has joined #xwiki
11:12 <helge> can you explain in brief what Dumitriu's patch is doing and if you could recommend it in a production environment? I would than make a fresh install with this patch applied and test.
11:13 <vmassol> tmortagne: good morning
11:13 <+tmortagne> vmassol: hi
11:13 <vmassol> I've just rebuilt XE from master and I got this at startup:
11:13 <vmassol> http://pastebin.com/8utCMNms
11:13 <vmassol> any idea?
11:14 <helge> @cjd: it was: Extract xwiki.hbm.xml from WEB-INF/lib/xwiki-platform-legacy-oldcore-*.jar into WEB-INF/classes and change the "content" property of the "XWikiRCSNodeContent" class from "materialized_clob" to "text", then restart the server. It won't work for the existing history, but try to create a new document
11:15 <+tmortagne> vmassol: not really, according to the error ExtensionJobEventConverter is registred several times
11:15 <+tmortagne> do you have duplicated jars ?
11:15 <vmassol> probably
11:15 <vmassol> this is a master build
11:15 <vmassol> without change
11:15 <+tmortagne> looks at xwiki-platform-extension-cluster especailly
11:15 <vmassol> checking
11:15 <+tmortagne> downloading a jenkins build
11:16 <vmassol> only 1 cluster jar
11:17 <+tmortagne> that's weird then I don't see how you could have several time this class
11:17 <vmassol> I don't seem to have duplicate jars
11:17 <+tmortagne> waiting for the download to finish and will try to reproduce
11:17 <vmassol> ok
11:17 <+tmortagne> hmm
11:18 <+tmortagne> no nothing
11:18 <+tmortagne> I find only one ExtensionJobEventConverter class in the platform sources at least
11:20 <+tmortagne> I have it too with http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-jetty-hsqldb/3.5-SNAPSHOT/xwiki-enterprise-jetty-hsqldb-3.5-20120202.094801-43.zip
11:21 <+tmortagne> I found a mistake actually
11:21 <+tmortagne> I think I see why you there is the message but not why there is the message twice
11:21 <CIA-120> Vincent Massol master * r8c41476 / xwiki-platform-tools/xwiki-platform-tool-jetty-listener/src/main/java/org/xwiki/tools/jetty/listener/NotifyListener.java : XWIKI-7484: Write a log line in the console instructing the user to open XWiki in a browser ...
11:21 <+tmortagne> actually I know,that's because it implements two roles
11:22 <+tmortagne> fixing it
11:22 <vmassol> ok cool
11:22 <vmassol> we should probably have some functional tests to discover errors printed in the console when XE starts
11:22 <vmassol> ERROR or WARN
11:22 <vmassol> could be useful
11:23 <vmassol> hmm actually there might be tests we already have that will show this
11:23 <vmassol> the validation ones maybe
11:23 <vmassol> hmm test-ui is tuck
11:23 <vmassol> stuck
11:24 <vmassol> killing it
11:24 <vmassol> stuck on testPreserveUnsavedSourceAgainstRefresh
11:24 <vmassol> (in EditWYSIWYGTest
11:24 <vmassol> )
11:25 <CIA-120> tmortagne master * r51899b2 / xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-cluster/src/main/java/org/xwiki/extension/cluster/internal/ExtensionJobEventConverter.java : XWIKI-7367: Add clustering support for extensions ...
11:25 <vmassol> webstandards tests are passing it seems
11:25 <+tmortagne> always forget the @Named for components like that
11:25 <vmassol> so they're not discovering this issue
11:25 <vmassol> so we might need an additional func test for the startup
11:26 <+tmortagne> yep I don't think any test is validating the startup since they start to check after
11:29 <+tmortagne> vmassol: test-ui is blocking since some days but never in the same place, did not have time to debug it before
11:30 <+tmortagne> no even always related to WYSIWYG
11:30 <vmassol> yes someone needs to debug that...
11:31 <+tmortagne> was going to look at it
11:31 <vmassol> FYI I'm trying to automate creation of jenkins jobs ATM
11:31 <+tmortagne> ant good strategy to find something like that ? runing in the IDE and witing for it to block ?
11:32 <+tmortagne> s/ant/any/
11:32 <vmassol> I don't think it will block
11:32 <vmassol> the best is probably to run on the agent
11:32 <+tmortagne> harder to debug there
11:32 <vmassol> last time when Marius checked for something like this
11:32 <vmassol> the problem was that FF opened a dialog box
11:33 <+tmortagne> I have the last jenkins build, will give a a try locally first
11:33 <vmassol> for asking if FF could send data back to mozilla
11:33 <vmassol> or something like that
11:33 <+tmortagne> ok
11:33 <vmassol> getting a screenshot would help
11:34 <vmassol> we would need to understand why it doesn't time out though
11:34 <vmassol> if it 's possible to see the screen of the agent when it's stuck it would be great
11:34 <vmassol> we should be able to export the display to display locally I think
11:34 <+tmortagne> probably
11:35 <+tmortagne> but not always easy to know what the test was trying to do
11:35 <+tmortagne> since some test are big
11:35 <vmassol> you just have to wait till it's stuck
11:35 <vmassol> then check the screen to see what's blocking
11:35 <vmassol> IMO it's some dialog box
11:36 <vmassol> I have seen sel2 block on dialog box in the past
11:36 <+tmortagne> not sure you can know what the test is waiting for just by looking at the screen
11:37 <+tmortagne> unless the issue is a dialog box
11:37 <vmassol> on a different topic, this is so cool: http://evgeny-goldin.org/youtrack/wikiHelpWrapper
11:37 <vmassol> (it's youtrack's wiki markup help)
11:37 <vmassol> I like the sandbox part
11:38 <vmassol> where in the help you can try out the syntax
11:38 <vmassol> we should do something similar
11:38 <jvdrean> has quit
11:38 <vmassol> creating a jira issue
11:38 <+tmortagne> indded looks nice
11:38 <jvdrean> has joined #xwiki
11:41 <vmassol> evalica: you should like this I'm sure: http://jira.xwiki.org/browse/XE-1106 ;)
11:48 <+tmortagne> I get very often a popup asking me if I want to leave the page during tests and looks like selenium is stuck on it
11:48 <vmassol> ahah maybe that's something new in recent versions of FF
11:49 <vmassol> marius has upgraded to FF 9 I believe on agents
11:49 <+tmortagne> actually I run the test on 7.0.1
11:49 <+tmortagne> tryying with the current FF
11:50 <+tmortagne> onl conf I had in my mvn script
11:52 <+tmortagne> s/onl/old/
11:53 <+tmortagne> got a nullpointer in DBListClass during testws
11:53 <+tmortagne> tests
11:53 <+evalica> :)
11:57 <+tmortagne> FF 10 is out btw
11:57 <vmassol> yep sorin needs to test it
11:57 <vmassol> we need to remind him when he's logged
12:07 <+tmortagne> same thing on 9.0.1
12:07 <+tmortagne> tons of popups asking me if I want to leave the page
12:07 <+tmortagne> what really weird is that I get like 10 popup if I don't answer quickly enough
12:08 <+tmortagne> and the test is totally stuck
12:08 <vmassol> ok sounds like you found the culprit
12:09 <+tmortagne> looks like it happen when you are in a page with WYSIWYG in it for me
12:10 <vmassol> hmm I wonder if this is something we've added recently, marius would know
12:10 <+tmortagne> yep
12:10 <vmassol> ie the feature to warn the user when he leaves the page
12:10 <vmassol> (when he's editing content)
12:10 <+tmortagne> that's waht I was wondering too, looks like  something made on purpose when go go somewhere else without saving
12:11 <+tmortagne> but for some reason it produce popup in an infinite loop
12:12 <+tmortagne> trying to reproduce that
12:12 <+tmortagne> see if it's related to tests or not
12:13 <+tmortagne> hmm I don't get any popup
12:14 <+tmortagne> can't reproduce that if i'm not in a test
12:14 <+tmortagne> need to check exactly what the test is doing
12:17 <+tmortagne> actually the test is not stuck, the browser is
12:17 <+tmortagne> so its not that
12:23 <+tmortagne> it's pretty random as far as I can see in jenkins log, it can get stuck in very different test and it's never the same
12:23 <vmassol> always wysiwyg tests or not?
12:23 <+tmortagne> nop
12:23 <vmassol> always tests involving editing in the wysiwyg?
12:23 <+tmortagne> I see object editor and the last one is inline editor it seems
12:24 <+tmortagne> need to check
12:24 <+tmortagne> the last on is editing the user profile
12:25 <vmassol> that's wysiwyg AFAIR
12:25 <+tmortagne> yep checking but I think there is a WYSIWYG field in there
12:26 <+tmortagne> yep there is several WYSIWYGs
12:46 <gdelhumeau> has quit
12:50 <helge> has quit
12:50 <helge> has joined #xwiki
14:06 <vmassol> another option for doing xwiki reviews: http://www.sonarsource.org/sonar-2-13-in-screenshots/
14:08 <vmassol> they seem to have some features: http://nemo.sonarsource.org/dashboard/index/178313?did=1&period=3
14:25 <gdelhumeau> has joined #xwiki
15:34 <CIA-120> tmortagne master * rd70b395 / xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-api/src/main/java/org/xwiki/extension/internal/DefaultExtensionManagerConfiguration.java : XWIKI-7485: Extension manager should not have a hard dependency on ...
16:27 <CIA-120> tmortagne master * rbae2859 / (3 files in 2 dirs): XCOMMONS-90: Add a ConfigurationSource Provider which provide an empty ...
16:28 <CIA-120> tmortagne master * re28385e / xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-api/src/main/java/org/xwiki/extension/internal/DefaultExtensionManagerConfiguration.java : XWIKI-7485: Extension manager should not have a hard dependency on ...
16:28 <helge> has quit
16:54 <CIA-120> tmortagne master * rfdc1217 / xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-repositories/xwiki-platform-extension-repository-aether/src/main/java/org/xwiki/extension/repository/aether/internal/configuration/DefaultAetherConfiguration.java : XWIKI-7485: Extension manager should not have a hard dependency on ...
17:30 <CIA-120> Vincent Massol master * r1522d0a / (2 files): XCOMMONS-90: Add a ConfigurationSource Provider which provide an empty configuration when no ConfigurationSource can be found ...
17:32 <sdumitriu> has joined #xwiki
17:33 <gdelhumeau> has quit
17:46 <DrLou_> has quit
17:51 <abusenius> has joined #xwiki
17:51 <DrLou_> has joined #xwiki
17:53 <gdelhumeau> has joined #xwiki
17:58 <lucaa> has joined #xwiki
18:04 <vmassol> cjd: any idea why commit notifications don't have links anymore?
18:05 <@sdumitriu> Yeah, was wondering that as well
18:05 <@cjd> no idea, I didn't change anything
18:06 <@cjd> I'll look at the configuration on that bot
18:21 <@cjd> I just reordered the output so the link should come before the commit log and files.
19:00 <vmassol> has quit
19:26 <evalica> has quit
19:29 <gdelhumeau> has quit
19:30 <jvdrean> has quit
19:31 <lucaa> has quit
19:31 <tmortagne> has quit
20:09 <Enygma`> has quit
22:51 <abusenius> has quit
22:59 <rrodriguez> has joined #xwiki
23:37 <rrodriguez> has quit
23:39 <rrodriguez> has joined #xwiki

Get Connected