Hi!
I'm trying to install XWiki Enterprise 2.3.1 on Tomcat 6.0.20 with
MySQL 5.0.32 (installing as WAR).
I've deployed WAR, set up the database but when I connect to XWiki I
get the following exception trace:
(sorry if the message is big, but I'd better post the full trace)
------------------------
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document xwiki:XWiki.XWikiGroupTemplate
Wrapped Exception: Failed to commit or rollback transaction. Root cause []
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:369)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:430)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document xwiki:XWiki.XWikiGroupTemplate
Wrapped Exception: Failed to commit or rollback transaction. Root cause []
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:643)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:182)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:175)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1320)
at com.xpn.xwiki.XWiki.getGroupClass(XWiki.java:3239)
at com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:824)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:792)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:713)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:350)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:430)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
org.hibernate.exception.GenericJDBCException: Could not execute JDBC
batch update
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:92)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:87)
at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:222)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2229)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2665)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:60)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:853)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:824)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:633)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:182)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:175)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1358)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1320)
at com.xpn.xwiki.XWiki.getGroupClass(XWiki.java:3239)
at com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:824)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:792)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:713)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:350)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:430)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.sql.BatchUpdateException: Incorrect string value:
'\xD0\xA1\xD0\xBE\xD0\xB7...' for column 'XWR_COMMENT' at row 1
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2007)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1443)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
at org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
... 62 more
---------------------
So, is there a known compatibility issue?
P.S.: I've tried MySQL connectors 3.0.17, 5.0.2, 5.1.8, 5.1.9 (the
last three I've downloaded directly from maven repository
http://repo1.maven.org/maven2/mysql/mysql-connector-java/ as it was
suggested somewhere in the MySQL troubleshooting section of
xwiki.org).
The last one does not produce an exception, but seems to "hang"
Tomcat. It consumes 100% CPU and when I stop the server I see a lot of
OutOfMemory exceptions in logs.
The XWiki development team is pleased to announce the release of XWiki
Enterprise and XWiki Enterprise Manager 2.3.2.
This is a bug fix release for the 2.3 branches.
Important Bugs fixed:
* [XWIKI-4566] - Users/groups from other wikis are not properly taken
into account when put in a local group
* [XWIKI-5228] - XWiki 2.0 renderer doesn't escape ~ in image reference
* [XWIKI-5277] - Velocity macro cache keeps growing leading to memory issues
* [XWIKI-5278] - Velocity Macros are considered global and not
isolated in XWiki Syntax 2.0
* [XWIKI-5282] - Wiki macros based on user or wiki are not unregistered
* [XWIKI-5302] - Query string is not properly escaped in tags add links
* [XWIKI-5332] - Velocity macro cache still keeps growing
* [XWIKI-5335] - Sometimes velocity macros defined in wiki pages are
not recognized
For more information see the Releases notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise232
and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM232
Thanks
-The XWiki dev team
Hi all,
First message here, so quick intro: my name is Christian, and I
started using XWiki recently, and I'm very happy with it.
Great job!
But the way, first steps come with first issues. When I click on a
tag, I expect to see a list of all the pages tagged with that tag. But
after a quick flickering, it disappears and shows the list of all
tags.
Same happens with the Web Search (not LuceneSearch). When I search a
term, a list of results appear but it flickr and disappear before
having any chance of watching the results.
Anyone has experienced the same problem, and can give me a hint of how
I could solve this problem?
I have a basic installation under JBoss 4.0.5, with Java 1.6.0_20. It
happens on Chrome 5.0.375.86 and Firefox 3.6.6
Thanks for your time!
--
Cheers,
Christian López Espínola <penyaskito AT computer DOT org>
http://twitter.com/penyaskito | http://penyaskitodice.wordpress.com
Hi,
I've installed xwiki, and found it a bit too rich in features, out of
the box, for a novice user. Maybe because I did not use it right?
I confess I am a wikidot fan. With all its limitations, it's intuitive
and mirrors the way people think. It has a very small set of features,
but that's probably its strength, as it's very easy to learn.
Unfortunately, its access control is too primitive to my (intranet)
needs; plus, as a programmer, the idea of programmable wiki surely
sounds sweet.
In a nutshell, I feel wikidot makes easy things simple. xwiki makes
complex things possible. Ideally, I'd love to find a wiki that does
both. A wiki that looks just like wikidot out of the box, then grows
on you as you learn advanced tricks. Not a system that shocks end
users with busy screens and code in the edit window. 90% of users
don't want to learn that; not until they are captivated by the
system's ease of use.
Is there such a thing?
Hi to all,
I'm using the LiveTable application on XWiki 2.2.12, using exactly the example posted on http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro for the user directory.
It works, but it shows the user lists only if I have administration rights on the XWiki space. If I don't have them, the list is empty.
Have XWikiUser objects special access rights?
I noticed a similar effect on the recent changes page where I can't see any modification to user pages if I'm a not administrator user.
Another question is about the translationPrefix param; where I has to put the mapping between the object field name and the column name?
Thank you in advance and congratulations for the 2.4 RC1 J
Best Regards,
Andrea
Hello,
Is there a way to configure SMTP Server (for email notifications) in
xwiki.cfg or xwiki.properties (or any core files) instead of in the
XWiki.XWikiPreferences page ? Indeed, like I use a farm, I'd prefer to set
up it once and not in all wikis. I know that I can use wiki template to make
it easier but I'd prefer to set up SMTP Server only once and not to use a
"trick".
Do you know if it's possible ?
Thanks,
Marine
Hello!
My experience with classes in XWiki is obtained after creating a Todo
application. The tutorial is published here:
http://www.theserverside.com/news/1363830/XWiki-A-Platform-for-Collaborativ…
It is obsoleted, but I've got the basics.
There is a class fabric at XWiki.XWikiClasses. It is straightforward to
create a Class, a Sheet and a Template using this fabric. Sheet is being
used to hold control over presentation of increasing number of class
instances and Template injects a reference to Sheet in new instances.
Everything is fine, but I don't understand how to hold control over page
titles. That is, if once in a blue moon I will want to change title
format from $doc.getObject('SomeSpace.SomeClass').get('SomeField') to
something different, every class instance must be affected (except those
ones which have their title edited manually).
My naive tries don't work as expected. Is it ever possible?
--
If you want to get to the top, you have to start at the bottom
Hi,
I've used the code snippet included in this thread to display a list of
sub-spaces and pages under a space and seems to work very well. However, if
Admin has created a page within s space then, normal users will not see the
Admin created pages (even though they have access rights to these pages and
can browse to them directly).
I am guessing that this might be the search documents query within the code
snippet not returning results of pages created by Admin? (I am new to all
things xwiki/velocity/etc so I am really guessing here!)
Is there any way to modify the code snippet to allow normal users to see all
children pages of a space for which they supposedly have access rights?
Thanks in advance for any help on this.
Regards,
PM
Does anybody had this idea before?
I'd like to establish the mapping as follows:
http://something.metrolace.ru/Page ->
http://metrolace.ru/bin/view/Something/Page/http://something.another.metrolace.ru/ ->
http://metrolace.ru/bin/view/SomethingAnother/WebHome/
That is, the whole domain is a collaborative wiki with
pretty short URLs. New domains are being created on demand
because they are essentially good old Spaces.
I'm going to use url_rewrite in Squid (in particular, because I
don't know why it's so difficult to get rid of /bin/) and custom
XWikiURLFactory implementation.
Any advices? Did somebody already write custom URLFactory before?
--
If you want to get to the top, you have to start at the bottom
Hello,
To understand how the creation of xwiki component works, I followed the
tutorial at
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents and I
previously read the Building XWiki from sources page (
http://dev.xwiki.org/xwiki/bin/view/Community/Building). My goal is to
integrate the HelloWorld component (the tutorial one) in my xwiki instance
and to be able to access it in page by velocity.
Here is what I did :
* install maven 3.0 beta and put the settings.xml files in the .m2
* download the xwiki-archetype-velocity-component-1.0-SNAPSHOT.jar<http://platform.xwiki.org/xwiki/bin/download/DevGuide/WritingComponents/xwi…>,
install it and generate the xwiki component from it
* in the pom.xml of the component, I replace the
<platform.core.version>1.8-SNAPSHOT</platform.core.version> by
<platform.core.version>2.3-SNAPSHOT</platform.core.version>
Then, I tried to install the component (with mvn install) in order to create
a jar I can put in my WEB-INF/lib directory. But, I had the following error
:
*[INFO] Scanning for projects...*
> *[INFO]*
> *[INFO]
> ------------------------------------------------------------------------*
> *[INFO] Building xwiki-essai-component 1.1-SNAPSHOT*
> *[INFO]
> ------------------------------------------------------------------------*
> *[WARNING] Missing POM for velocity-tools:velocity-tools:jar:1.4*
> *[INFO]
> ------------------------------------------------------------------------*
> *[INFO] BUILD FAILURE*
> *[INFO]
> ------------------------------------------------------------------------*
> *[INFO] Total time: 1.050s*
> *[INFO] Finished at: Tue Jul 06 13:25:45 CEST 2010*
> *[INFO] Final Memory: 2M/4M*
> *[INFO]
> ------------------------------------------------------------------------*
> *[ERROR] Failed to execute goal on project xwiki-essai-component: Missing:
> *
> *----------*
> *1) org.xwiki.platform:xwiki-core-component:jar:2.3-SNAPSHOT*
> * Try downloading the file manually from the project website.*
> * Then, install it using the command:*
> * mvn install:install-file -DgroupId=org.xwiki.platform
> -DartifactId=xwiki-c*
> *ore-component -Dversion=2.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> *
> * Alternatively, if you host your own repository you can deploy the file
> there:*
> * mvn deploy:deploy-file -DgroupId=org.xwiki.platform
> -DartifactId=xwiki-core-component -Dversion=2.3-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]*
> * Path to dependency:*
> * 1) com.xpn.xwiki.products:xwiki-essai-component:pom:1.1-SNAPSHOT*
> * 2) org.xwiki.platform:xwiki-core-component:jar:2.3-SNAPSHOT*
> *----------*
> *1 required artifact is missing.*
> *for artifact:*
> * com.xpn.xwiki.products:xwiki-essai-component:pom:1.1-SNAPSHOT*
> *from the specified remote repositories:*
> * xwiki-externals (http://maven.xwiki.org/externals, releases=true,
> snapshots=true),*
> * xwiki-releases (http://maven.xwiki.org/releases, releases=true,
> snapshots=false),*
> * xwiki-snapshots (http://maven.xwiki.org/snapshots, releases=false,
> snapshots=true),*
> * central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
> *
> *-> [Help 1]*
> *[ERROR]*
> *[ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.*
> *[ERROR] Re-run Maven using the -X switch to enable full debug logging.*
> *[ERROR]*
> *[ERROR] For more information about the errors and possible solutions,
> please read the following articles:*
> *[ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MultipleArtifactsNotFoundE…
> *
>
I'm new in Maven so i don't understand where is the problem. But I
dowloaded, as explained, the file
missing<http://maven.xwiki.org/snapshots/org/xwiki/platform/xwiki-core-component/2.…>and
install it with :
*mvn install:install-file -DgroupId=org.xwiki.platform
-DartifactId=xwiki-core-component -Dversion=2.3-20100702.153251-358
-Dpackaging=jar -Dfile=C:\Users\fnac\Desktop\May\testMVN\pom.xml*
This time, the build succeeded but I didn't have any jar file. And, when I
tried again "mvn install", I had the same error.
I also tried "mvn -nsu clean install" (I read that somewhere) and it was the
same.
Do I miss something ? Is "mvn install" the good way to have a jar ? (I tried
"mvn package" too)
Marine
Hello.
As you probably noticed some of the colibri menu icons recently modified,
especially the ones which have white as a base color, doesn`t look nice at
all on a white background. That`s why I added a light gray border in order
to make them look nice on white bg. Here you can see the result:
http://incubator.myxwiki.org/xwiki/bin/view/Ciprian/Icons
You will notice that their aspect is also changed a little, for darker
backgrounds but it shouldn`t be that visually disturbing. They are still
16x16 px.
If everyone agree I will make a patch with the new version.
Thanks.
--
Ciprian,
Designer
XWiki
All,
I am having issues on an upgraded and a clean install of XWiki
2.3.1. I attach a jar file (configBackup.jar) and try to use that in
my groovy script as follows:
{{groovy jars="attach:configBackup.jar"}}
import path.to.my.class;
...
...
{{/groovy}}
The thread which is processing the page crashes with a the following
stack trace visible in the catalina.out of Tomcat:
2010-07-06 11:08:34,014
[http://192.168.54.50:8080/xwiki/bin/view/TelnetBackup/BackUpAction]
DEBUG ternal.DefaultConverterManager - Failed to find a proper
Converter for type [java.lang.String]
org.xwiki.component.manager.ComponentLookupException: Can't find
descriptor for the component [role =
[org.xwiki.properties.converter.Converter] hint = [java.lang.String]]
at org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:356)
at org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:109)
at org.xwiki.component.internal.DefaultComponentManager.lookup(DefaultComponentManager.java:85)
at org.xwiki.properties.internal.DefaultConverterManager.lookupConverter(DefaultConverterManager.java:75)
at org.xwiki.properties.internal.DefaultConverterManager.convert(DefaultConverterManager.java:55)
at org.xwiki.properties.internal.DefaultBeanManager.populateBean(DefaultBeanManager.java:125)
at org.xwiki.properties.internal.DefaultBeanManager.populate(DefaultBeanManager.java:80)
at org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:160)
at org.xwiki.rendering.internal.transformation.MacroTransformation.transform(MacroTransformation.java:119)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7213)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7188)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:797)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:811)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:525)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1791)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1729)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:837)
at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1840)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1761)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
The page is never rendered and the browser just keeps showing busy
until it times out.
Any suggestions or help would be greatly appreciated.
Thanks,
Deven Phillips
Hi,
I was trying to use the DatePicker Application inside a Modal Box
Application. The problem is that the DatePicker pop-up appears behind the
modal box. I try to use the zindex property. But it doesn't work.
This is the code I am using:
afterLoad: function() { var dpicker = new DatePicker({relative :
'fieldName', language : 'us', zindex: '3000'});}
Regards,
Abel
Hello,
I notice that exportation in rtf format has some bad behaviors:
- Two things are not really important because, like it's rtf format, we
can modify the document. But the rendering is a little weird : the
importation doesn't create a cover page with the main title and puts the
beginning of the table of content at the bottom of the first page...
- As well (and it's the big point to me), tables are rendered in a
strange way: the column width is so thin that we cannot notice the
content of cells... We can thin "No matter, we can modify the larger in the
rtf document" but we can only do that cell by cell... For small tables, it's
okay but, for bigger ones, it's not very useful ! I put an example in
attachment of this table so that you can see the issue:
|=column 1|=column 2
|content 1|content 2
To finish, I just have one question about customizing exportation. I tried
to customize the PDF export Look & Feel by creating a PDFClass and a
PDFClassTemplate. The template has a textearea "style" property which
contains (just to test) :
h1{
color : red;
}
div{
color : red;
}
p{
color : red;
}
I added the "&template=XWiki.PDFClassTemplate" line to the exportation link
but the rendering is always the same... Did I forgot to do something ?
For your knowledge, I tried that because I would like to customize the table
look and feel. I don't like that they don't have borders...
Thank you in advance for your help.
Marine
The Export tool which output's XAR files includes the UUID in the XML
file. This would cause a conflict between unlinked XWiki
installations. As the import process will automatically generate a
UUID for XML files which do not have one, I would recommend changing
the export to exclude that property.
Thanks,
Deven Phillips
Hi everybody,
I've just configured a LDAP authentication in my XEM 2.3.1 and I have two
questions.
I would like you to confirm that LDAP authenticated users only appear in the
admin users menu at their first connection. Is it right ? In that case, how
can i put all authenticated users in a wiki group different to XWikiAllGroup
?
Besides, I would like that only one group of my LDAP can access to the admin
wiki and to wiki templates. Is there a way to do that ?
Thanks in advance for your help.
Marine
Festo AG & Co. KG
Lars Hermes
Abteilung IS-PB
BSP Development + User Services
Plieninger Stra?e 50
73760 Ostfildern-Scharnhausen
Deutschland
Telefon +49(711)347-4510
Telefax +49(711)34754-4510
http://www.festo.com
Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von Ihrem Computer zu loeschen.
This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this e-mail, please delete it and immediately notify the sender.
Rechtsform: Kommanditgesellschaft
Sitz: Esslingen a.N., Registergericht Stuttgart HRA 211583, Umsatzsteuerident-Nummer: DE 145339206
Pers?nlich haftende Gesellschafterin: Festo Management Aktiengesellschaft
Sitz: Wien/?sterreich, Firmenbuchgericht: Handelsgericht Wien, Firmenbuch Nr. FN 303027 d
Vorstand:
Dipl.-Kfm. Alfred Goll
Dr. Claus Jessen
Dr. Ansgar Kriwet
Dr. Eberhard Veit (Vorsitzender)
Dipl.- Kfm. Michael M?lleken
Aufsichtsratsvorsitzender:
Dr. Wilfried Stoll
Hello,
I have just upgraded to XWiki Enterprise 2.3.1.29118 and have a question regarding configuring WebDAV.
My XWiki is installed in Tomcat 5.5 as the 'ROOT' web app. Tomcat runs on port 8080 and I have an AJP connector with Apache proxying requests via SSL port 443, meaning that my wiki can be accessed at:
https://www.myhost.tld/bin/view/Main (etc.)
My question is regarding WebDAV login. I understand that the normal login URL for this would be:
http://www.myhost.tld:8080/xwiki/webdav
However, since I have deployed XWiki as the ROOT webapp, it seems that I am getting redirected to Tomcat's built-in WebDAV app when accessing this URL.
When I access:
http://www.myhost.tld:8080/webdav
or
https://www.myhost.tld/xwiki/webdav
I get the same list of three files - a generic HTML page listing information about Tomcat's WebDAV support, and a couple of GIF files with the Tomcat logo.
When I access:
http://www.myhost.tld:8080/xwiki/webdav
or
https://www.myhost.tld/xwiki/webdav
I get a 'Not Implemented' error.
Could someone advise on how to configure XWiki/Tomcat to pass me to XWiki's WebDAV implementation, rather than to Tomcat's default one? My xwiki.cfg has WebDAV enabled (as far as I know - it is pretty much set to defaults in all respects).
On another note: thank you for all your sterling work with XWiki. It's a tremendously flexible and useful application, and it has been a breeze to administer.
Regards,
Graeme West
Digital Repository Developer
Information Services
Glasgow Caledonian University
graeme.west(a)gcu.ac.uk
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,e…
Hi,
I'm testing the portuguese translation of Xwiki (both stable and milestone versions) and I'm facing some problems.
Starting at Main.WebHome, when I set "pt" as default language, some links do not translate, for example, the "Annotations" link right above the page content on the colibri skin. Clicking on the Annotations link, the box appears with the default message "To annotate a piece of text, select it and hit Crtl-M". I've checked on ApplicationsResources_pt.properties and added the translated field, from the default properties file, for the property in english:
annotations.action.create.helpmessage=To annotate a piece of text, select it and hit {0}.
There aren't any UTF-8 special chars on the translated message. I've restarted the xwiki tomcat instance , cleaned the browser cache, but the message is still in English. This problem occurs with all text I try to translate through the ApplicationResources_pt file, other than the ones that are already translated on _pt file (copying the original English text from the default properties file, translating it and pasting into the _pt file).
I've tried other languages, but the same problem: many links, panels text and others remain in English. Isn't that only translate ALL the default resources file into the desired language and replace it like explained in the admin guide?
How can I solve this?
I'm also interested to offer the brasilian Portuguese translation of the properties file.
Regards,
Ramon Gomes Brandão