[xwiki-devs] XEclipse - problem connecting to local XWiki

Enygma enygma2002_ro at yahoo.com
Tue Apr 1 01:23:13 CEST 2008


Hello XWiki users and developers.

My name is Eduard Moraru and I'm going to apply this year for Google Summer of Code at XWiki on the project XWiki Offline.
I am planning on embedding this project in the already existing XEclipse on which I've understood there is already some work done.

My problem is that I tried out XEclipse (xwiki-eclipse-rcp-linux-gtk-x86-1.1.zip and xwiki-eclipse-1.1.zip) on a local installation of XWiki (xwiki-enterprise-installer-generic-1.3.jar) using both user Admin and a new test user and did not manage to connect to the wiki.
I then tried to connect to xwiki.org using a newly registered account and it worked perfectly.

On the local installation, XEclipse pops an exception which I can't get past:

org.xwiki.eclipse.model.XWikiConnectionException:org.xwiki.eclipse.model.impl.XWikiDAOException:org.codehaus.swizzle.confluence.SwizzleConversionException:java.text.ParseException: Unparseable date: "mer. juil. 11 18:57:54EEST 2007"
        at org.xwiki.eclipse.model.impl.XWikiPlainConnection.connect(Unknown Source)
        at org.xwiki.eclipse.wizards.NewConnectionWizard$1.run(Unknown Source)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: org.xwiki.eclipse.model.impl.XWikiDAOException:org.codehaus.swizzle.confluence.SwizzleConversionException:java.text.ParseException: Unparseable date: "mer. juil. 11 18:57:54EEST 2007"
        at org.xwiki.eclipse.model.impl.XWikiRemoteDAO.<init>(Unknown Source)
        ... 3 more
Caused by: org.codehaus.swizzle.confluence.SwizzleConversionException:java.text.ParseException: Unparseable date: "mer. juil. 11 18:57:54EEST 2007"
        at org.codehaus.swizzle.confluence.ConfluenceObjectConvertor.revert(ConfluenceObjectConvertor.java:56)
        at org.codehaus.swizzle.confluence.MapConvertor.revert(MapConvertor.java:39)
        at org.codehaus.swizzle.confluence.Confluence.revert(Confluence.java:791)
        at org.codehaus.swizzle.confluence.Confluence.getPage(Confluence.java:127)
        ... 4 more
Caused by: java.text.ParseException: Unparseable date: "mer. juil. 11 18:57:54 EEST 2007"
        at java.text.DateFormat.parse(DateFormat.java:355)
        at org.codehaus.swizzle.confluence.ConfluenceObjectConvertor.revert(ConfluenceObjectConvertor.java:53)
        ... 7 more

I also posted a bug on JIRA at http://jira.xwiki.org/jira/browse/XECLIPSE-100 regarding this issue but I figured on the mailing list I'd get faster feedback.

My question is: Am I doing something wrong with my local installation? Are there some other privileges to give that I left out?

At a first look, I`d say It`s a hardcoded date "mer. juil. 11 18:57:54 EEST 2007"(it's always the same), left there during development, but I`m not sure if it`s on the XEclipse side or the XWiki side.

Thank you very much for your time and I await your suggestions.




      ____________________________________________________________________________________
No Cost - Get a month of Blockbuster Total Access now. Sweet deal for Yahoo! users and friends. 
http://tc.deals.yahoo.com/tc/blockbuster/text1.com


More information about the devs mailing list