Thanks for pointing me to the JIRA issue Marius...
I hope there is consensus among devs to create a new action for "docextra"
views.
Message: 5
Date: Tue, 02 Feb 2010 09:19:04 +0200
From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
Subject: Re: [xwiki-users] Single Page Visit/View Count through Groovy
Snippet
To: XWiki Users <users(a)xwiki.org>
Message-ID: <4B67D1E8.7030902(a)xwiki.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Dilipkumar Jadhav wrote:
> Hello folks,
>
> I was trying to get the visit count for a single Page through the
following
> Groovy Code in Syntax 2.0:
>
>
>
> {{groovy}}
>
> println "Total No. Of Visits:
> ${doc.getCurrentMonthPageStats("view").getVisits()}";
>
> {{/groovy}}
>
>
>
> It looks like it is returning some data for the Page from the start of the
> month. However, the concern is every time I view the Page, the count
> increases by +2 rather than +1.
>
> The same is saved in the database in xwikistatsdoc as well.
>
> Is there a logic that probably I missed out on. My understanding was that
> the counter should have increased by +1.
I think this is a known issue, see
http://jira.xwiki.org/jira/browse/XWIKI-4590 .
Hope this helps,
Marius
>
> Also, is the code snippet that I wrote correct to get this kind of
> data...Any help would as always be greatly appreciated.
>
> Thank you.
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
------------------------------
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
End of users Digest, Vol 31, Issue 3
************************************
Hello folks,
I was trying to get the visit count for a single Page through the following
Groovy Code in Syntax 2.0:
{{groovy}}
println "Total No. Of Visits:
${doc.getCurrentMonthPageStats("view").getVisits()}";
{{/groovy}}
It looks like it is returning some data for the Page from the start of the
month. However, the concern is every time I view the Page, the count
increases by +2 rather than +1.
The same is saved in the database in xwikistatsdoc as well.
Is there a logic that probably I missed out on. My understanding was that
the counter should have increased by +1.
Also, is the code snippet that I wrote correct to get this kind of
data...Any help would as always be greatly appreciated.
Thank you.
Hello Fabio & friends,
Previously I had emailed a possible work around to make sure that
XWiki.Guest user does not have access to the list of Spaces in a completely
private wiki instance. In the meantime, I was working on a possible
resolution to the issue of Tags being publicly accessible to XWiki.Guest in
a private wiki.
Submitting my code change for your kind consideration:
I modified the file TagsResource.java in package
org.xwiki.rest.resources.tags.
I replaced the method :
private List<String> getAllTags() throws QueryException
{
String query =
"select distinct elements(prop.list) from BaseObject as obj, "
+ "DBStringListProperty as prop where
obj.className='XWiki.TagClass' "
+ "and obj.id=prop.id.id and prop.id.name='tags'";
List<String> tags = queryManager.createQuery(query,
Query.HQL).execute();
Collections.sort(tags, String.CASE_INSENSITIVE_ORDER);
return tags;
}
With the following code:
private List<String> getAllTags() throws QueryException
{
List<String> tags=null;
if(!Utils.getXWikiUser(componentManager).equalsIgnoreCase("XWiki.Guest")){
String query =
"select distinct elements(prop.list) from BaseObject as obj, "
+ "DBStringListProperty as prop where
obj.className='XWiki.TagClass' "
+ "and obj.id=prop.id.id and prop.id.name='tags'";
tags = queryManager.createQuery(query, Query.HQL).execute();
Collections.sort(tags, String.CASE_INSENSITIVE_ORDER);
}
return tags;
}
}
I am unable to throw a "authentication required" in the browser.
However, I am able to block the anonymous/Xwiki.Guest user from accessing
the list of tags :)
Next, I need to investigate if the anomaly exists with Classes, Objects,
etc.
Thank you folks...
------------------------------
Message: 3
Date: Wed, 27 Jan 2010 17:57:02 +0530
From: "Dilipkumar Jadhav" <jadhav.dilipkumar(a)gmail.com>
Subject: Re: [xwiki-users] REST services access to spaces & tags
To: <users(a)xwiki.org>
Message-ID: <4b60313f.5644f10a.7b9c.4011(a)mx.google.com>
Content-Type: text/plain; charset="us-ascii"
Hello friends,
I had enquired on the mailing list about the access to Spaces & Tags on a
strictly private wiki.
I believe I might have a resolution:
Possible Resolution:
1. I checked out the XWiki Platform - Core -REST module for XWiki 2.1.1.
2. As per the original issue, the Pages were not accessible but Spaces were
accessible in a private wiki even without authentication.
Hence, I found the two class files & compared them, viz.
a. SpacesResource.java in package org.xwiki.rest.resources.spaces
b. PagesResource.java in package org.xwiki.rest.resources.pages
3. In SpacesResource.java replaced the following code:
if (Utils.getXWikiApi(componentManager).exists(homeId)) {
home =
Utils.getXWikiApi(componentManager).getDocument(homeId);
}
spaces.getSpaces().add(
DomainObjectFactory.createSpace(objectFactory,
uriInfo.getBaseUri(), wikiName, spaceName, home));
With the following code:
if (Utils.getXWikiApi(componentManager).exists(homeId)) {
home =
Utils.getXWikiApi(componentManager).getDocument(homeId);
if (home != null) {
spaces.getSpaces().add(
DomainObjectFactory.createSpace(objectFactory,
uriInfo.getBaseUri(), wikiName, spaceName, home));
4. Compiled the module jar & deployed it on the XWiki instance.
5. Now, the spaces show up only when the user has been authenticated through
the browser. When there is no authentication, all that is displayed is an
empty </spaces> tag. So things do look partly the way I wanted them to work.
I have following two questions at this point of time:
1. Is this the right way to do it. Did I end up breaking something else that
was working?
2. If this is the correct resolution, how could I add a Status.UNAUTHORIZED
when there is no authentication?
Any help will be greatly appreciated. Thank you for your time &
consideration folks.
2. REST services access to spaces & tags (Dilipkumar Jadhav)
Message: 2
Date: Mon, 25 Jan 2010 17:45:27 +0530
From: "Dilipkumar Jadhav" <jadhav.dilipkumar(a)gmail.com>
Subject: [xwiki-users] REST services access to spaces & tags
To: <users(a)xwiki.org>
Message-ID: <4b5d8b69.0404c00a.65db.ffffafa7(a)mx.google.com>
Content-Type: text/plain; charset="us-ascii"
Hello friends,
I am facing some unexpected behavior with RESTful services in private wiki
instance:
Issue: Spaces, Tags entities can be accessed publicly through REST URL,
eventhough XWiki is run in private wiki mode.
Description: One of the XWiki 2.1.1 instance is setup in a private wiki
mode. Guests are not allowed to register or view any page on this instance.
I am also making use of authenticated services (RESTful services & XMLRPC
services) for connecting 3rd party applications to this xwiki instance.
However, when I access REST URLs for spaces, tags, etc there is no
authentication check from XWiki. This data is publicly available. When I
access a page URL, I am blocked off for authentication.
Couldn't find a JIRA for this one. Could we consider this as an
non-consistent behavior in terms of xwiki REST authentication where one
resource is blocked while others are not.
Has anyone else faced this before or has a work-around to this issue.
Thank you for your time & consideration friends.
Environment:
XWiki : 2.1.1 stable
Tomcat: 6.0.20
MySql: 5.0.45 community
JDK: 1.5 (Apparently, REST services do not work for me through JDK 1.6. This
could be just me facing this issue though J)
------------------------------
Message: 4
Date: Wed, 27 Jan 2010 14:44:30 +0100
From: Fabio Mancinelli <fabio.mancinelli(a)xwiki.com>
Subject: Re: [xwiki-users] REST services access to spaces & tags
To: XWiki Users <users(a)xwiki.org>
Message-ID: <82E246C5-ED52-405B-86D0-6B50BBB50DBA(a)xwiki.com>
Content-Type: text/plain; charset=us-ascii
On Jan 27, 2010, at 1:27 PM, Dilipkumar Jadhav wrote:
> Hello friends,
> I had enquired on the mailing list about the access to Spaces & Tags on a
> strictly private wiki.
> I believe I might have a resolution:
> ...
Hi Dilipkumar,
thanks for your mail. It seems that there is actually a problem or, at
least, an inconsistency.
Though, I need some time to investigate the problem and check your solution
(thanks for prividing a quick patch!)
I'll come back to you as soon as I'm done.
Regards,
Fabio
Thanks for the prompt answer.
It is actually a binary field in .jpg format stored in the field...
I guess some custom development has to be done to import the picture and put it in the db, and then reference it...
Juan
----- Original Message -----
From: Thomas Mortagne [thomas.mortagne(a)xwiki.com]
Sent: 01/02/2010 17:40 CET
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] LDAP (Active Directory ) integration.
Hi,
On Mon, Feb 1, 2010 at 17:04, <jarjona(a)technip.com> wrote:
> Hello:
>
> Thanks for XWiki. I think is great software!.
>
> I am trying to import the pictures of the users from LDAP. They are
> currently stored in the AD field named thumbnailPhoto. I cannot find on
> the XWikiUsers class the field that contains it.
>
> Is it somewhere else ? How can I get that picture in ?
I depends what you mean by "import the pictures of the users from
LDAP". If it's an URL I think you can synchronize it with the XWiki
user field called "avatar".
>
> Thanks,
>
> Juan
>
>
> This email and any attached files ("Message") may contain confidential and/or privileged information. It is intended solely for the addressee(s). If you receive this Message in error, inform the sender by reply email, delete the Message and destroy any printed copy.
> Any unauthorized use, distribution, or copying of this Message or any part thereof is prohibited. Emails are susceptible to alteration. Neither Technip nor any of its affiliates shall be liable for the Message if altered or falsified nor shall they be liable for any damage caused by any virus that might be transmitted with this Message.
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
This email and any attached files ("Message") may contain confidential and/or privileged information. It is intended solely for the addressee(s). If you receive this Message in error, inform the sender by reply email, delete the Message and destroy any printed copy.
Any unauthorized use, distribution, or copying of this Message or any part thereof is prohibited. Emails are susceptible to alteration. Neither Technip nor any of its affiliates shall be liable for the Message if altered or falsified nor shall they be liable for any damage caused by any virus that might be transmitted with this Message.
Hi
Just updated to latest milestone from 2.04. Overall, it looks nice! A couple
of things I noticed:
1. User profile page has a stray {/pre} tag at the end of the page.
2. Our profile pictures are not shown as avatars anymore in places like
recent changes in dashboard.
3. When I imported the default pages I wanted the recent change history
seemed to get reset?
Thank you
Daniel
--
View this message in context: http://n2.nabble.com/Wiki-2-2-milestone-2-tp4495259p4495259.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello:
Thanks for XWiki. I think is great software!.
I am trying to import the pictures of the users from LDAP. They are
currently stored in the AD field named thumbnailPhoto. I cannot find on
the XWikiUsers class the field that contains it.
Is it somewhere else ? How can I get that picture in ?
Thanks,
Juan
This email and any attached files ("Message") may contain confidential and/or privileged information. It is intended solely for the addressee(s). If you receive this Message in error, inform the sender by reply email, delete the Message and destroy any printed copy.
Any unauthorized use, distribution, or copying of this Message or any part thereof is prohibited. Emails are susceptible to alteration. Neither Technip nor any of its affiliates shall be liable for the Message if altered or falsified nor shall they be liable for any damage caused by any virus that might be transmitted with this Message.
Hello there,
If you would simply like to display an image in your panel background follow
these simple steps:
1. Create the Panel from the Panels.WebHome Page (Let's say, the Panel is
called "test image")
2. Attach an image/logo of your choice to this Page. (Assume, the image is
called "img.jpg")
3. Edit the Panel in "inline" mode. For XWiki syntax 1.0 edit the Panel code
so that it looks something like this:
#panelheader('test image')
{image:img.jpg|document=Panels.test image}
#panelfooter()
The reason we mention the document attribute is that by default "image:"
would look for image files on the Page that you are viewing. By specifying
the Document attribute we make sure that no matter what Page you are
viewing, the panel will always display the "img.jpg" attached to the
Document called "Panels.test image".
You can also lookup the Syntax guide to specify other attributes such as
default size of the image in the Panel.
Hope this helps...
>Hello All,
>I want just to display my logos in panels background.
>
>Thanks,
------------------------------
Hi,
I was playing with XWiki 1.8.1. I was told that users in a wiki is represented as a page with a certain object - XWikiUsers. I copied one user page from one xwiki instance and then saved it to another xwiki instance so as to "register" that user to that instance. The user was "registered" but, it seems that the user doesn't have any rights at all. So, I tried modifying the rights. I registered as Admin then included that user to the XWikiAll group. That solved the problem.
Any comments?
Any ideas on how to completely "register" a user from one instance to another by copying the user page.. using code?
Thanks,
Allen
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
In IE 6 Panels and footpage are not visible for the whole wiki and all users. It works proprely with Firefox.
I'm using XWIKI 1.4.1 (I know that's old) hosting in JUG farm.
There is a plan to upgrade version of XE in JUG FRAM ?
Any help,
Thanks,
Hello everyone,
I posted the following question around a week ago, but it still hasn't been answered, so I thought I'd give it another try.
Basically, I have been having problems with the automatic updating feature on the access rights page. The Ajax automatic updating mechanism inadvertently locks me out of the access rights page when I try to change the rights by cycling through them. The cycle of rights is
Blank (Default) -> Allow -> Deny -> back to Default, etc. Because of the automatic access control updating feature, when I cycle through Deny in order to get to "Default", I am automatically denied
viewing rights, and thus locked out of my own page. This problem becomes burdensome as countless users will regularly have to contact Admins to get them to unlock the pages.
Are there any good
ways of getting around this problem? Are there ways of implementing dropdown menus instead of square checkboxes, or having a longer delay when you cycle through access control options?
Regards,
Felix Wu
We cannot generate PDFs and RTFs running XE 2.1.1 on JBoss Application
server. 5.1.0 GA
On Tomcat the same PDF/RTF export works fine despite the warning that some
fonts are missing (impl.PdfExportImpl - Starting with 1.5, XWiki uses the
WEB-INF/fonts/ directory as the font directory, and it should contain the
FreeFont (http://savannah.gnu.org/projects/freefont/) fonts. FOP cannot
access this directory. ...)
The difference in the xwiki configuration between JBoss and Tomcat
deployment is:
we have to delete some libraries from xwiki WEB-INF/lib directory ( see
http://n2.nabble.com/XWIKI-installation-error-on-JBOSS-5-0-1-PLEASE-HELP-td…)
xercesImpl-2.8.1.jar,
xml-apis-1.3.04.jar
xml-apis-ext-1.3.04.jar
xmlParserAPIs-2.0.2.jar
otherwise we could not started JBoss.
Has someone similar troubles? How can I work around?
server.log and xwiki.log attached.
Best Regards,
Alla
----------
2010-01-29 12:17:16,562 INFO [STDOUT]
(http://localhost:8080/javawiki/bin/export/Anwendung/WebHome?format=pdf)
2010-01-29 12:17:16,562
[http://localhost:8080/javawiki/bin/export/Anwendung/WebHome?format=pdf]
WARN impl.PdfExportImpl - Starting with 1.5, XWiki uses the
WEB-INF/fonts/ directory as the font directory, and it should contain the
FreeFont (http://savannah.gnu.org/projects/freefont/) fonts. FOP cannot
access this directory. If this is an upgrade from a previous version, make
sure you also copy the WEB-INF/fonts directory from the new distribution
package.
2010-01-29 12:17:16,906 INFO [STDOUT]
(http://localhost:8080/javawiki/bin/export/Anwendung/WebHome?format=pdf)
2010-01-29 12:17:16,906
[http://localhost:8080/javawiki/bin/export/Anwendung/WebHome?format=pdf]
WARN web.XWikiAction - Uncaught exception: Error number 0
in 11: Uncaught exception
Wrapped Exception: org/w3c/css/sac/CSSException
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: org/w3c/css/sac/CSSException
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:238)
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.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.web.ActionFilter.doFilter(ActionFilter.java:117)
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:295)
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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:235)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
......
http://n2.nabble.com/file/n4479693/server.log server.log
http://n2.nabble.com/file/n4479693/xwiki.log xwiki.log
--
View this message in context: http://n2.nabble.com/Problem-with-PDF-and-RTF-export-on-JBOSS-AS-tp4479693p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Is there anyway to get email notifications when new users register? I figured I would put a watch on the preferences, but that didn't seem to help.
Any help would be appreciated.
Jared Parrish
Network Administrator
Travelhost, Inc.
972-556-0541 ext 152
Hi Thomas,
Thanks for providing the LDAP authentication reference. I will read
through this & find out what is the best way to implement the same for
db authentication.
I have made the changes proposed by Anca Luca, but the RSS feed does not
update itself!
If I subscribe to the feed I see the latest changes, but the next changes
never appear.
It is as if the feed works only the one time that it is imported in the
reader (and I have tried two readers) and not afterwards ...
Any idea?
Without RSS notification, my whole project goes down the drain!
Xavier
Hello friends,
Has database authentication been tried for XWiki by anyone before...
We've a big user base over the intranet & we would like to use the
existing authentication mechanism (database storage) to be used by XWiki as
well.
Would implementing the
<http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/
java/com/xpn/xwiki/user/api/XWikiAuthService.java> XWikiAuthService
interface be helpful in achieving a db based authentication.
Some pointers in this direction would be appreciated.
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.2 Milestone 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Changes from 2.2 Milestone 1:
* New improved registration page
* New UI for edit mode
* Support for color theme in HTML export
* Improved speed and responsiveness of the WYSIWYG editor
* Comments UI improvements
* Upgraded to GWT 2.0.0
* Lots of bugs fixes
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise22M1
Thanks
-The XWiki dev team
Hi all,
I have an XE 2.1.1 instance installed, developed a custom skin, applied it
in XWikiPreferences, it works on registered users but doesn't for
unregistered users.
The skin is in a custom space, I tried to set view rights on that skin
document to XWikiAllGroup but still doesn't work.
Can anyone help me enable the custom skin for unregistered users too?
Thanks
--
Flavius Olaru
Hello everybody.
I am modifyin the todo app, for making dinamic lists in my wiki. But what I would link, is that the links are to the edit page, not the view page. How can I do it.
Now I have:
<td>[$todoObj.Resumen>$todo]</td>
And i would like to have something that links to the todo edit link.
Thanks,
Francisco
--
Francisco Hernández Cuchí
Jefe de Servicios Sistemas de Información
OFICINA ESPAÑOLA DE PATENTES Y MARCAS
C\ Paseo de la Castella 75
tlf: 913496844
mail: francisco.hernandez(a)oepm.es <mailto:francisco.hernandez@oepm.es>
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
Hello friends,
I had enquired on the mailing list about the access to Spaces & Tags on a
strictly private wiki.
I believe I might have a resolution:
Possible Resolution:
1. I checked out the XWiki Platform - Core -REST module for XWiki 2.1.1.
2. As per the original issue, the Pages were not accessible but Spaces were
accessible in a private wiki even without authentication.
Hence, I found the two class files & compared them, viz.
a. SpacesResource.java in package org.xwiki.rest.resources.spaces
b. PagesResource.java in package org.xwiki.rest.resources.pages
3. In SpacesResource.java replaced the following code:
if (Utils.getXWikiApi(componentManager).exists(homeId)) {
home =
Utils.getXWikiApi(componentManager).getDocument(homeId);
}
spaces.getSpaces().add(
DomainObjectFactory.createSpace(objectFactory,
uriInfo.getBaseUri(), wikiName, spaceName, home));
With the following code:
if (Utils.getXWikiApi(componentManager).exists(homeId)) {
home =
Utils.getXWikiApi(componentManager).getDocument(homeId);
if (home != null) {
spaces.getSpaces().add(
DomainObjectFactory.createSpace(objectFactory,
uriInfo.getBaseUri(), wikiName, spaceName, home));
4. Compiled the module jar & deployed it on the XWiki instance.
5. Now, the spaces show up only when the user has been authenticated through
the browser. When there is no authentication, all that is displayed is an
empty </spaces> tag. So things do look partly the way I wanted them to work.
I have following two questions at this point of time:
1. Is this the right way to do it. Did I end up breaking something else that
was working?
2. If this is the correct resolution, how could I add a Status.UNAUTHORIZED
when there is no authentication?
Any help will be greatly appreciated. Thank you for your time &
consideration folks.
2. REST services access to spaces & tags (Dilipkumar Jadhav)
Message: 2
Date: Mon, 25 Jan 2010 17:45:27 +0530
From: "Dilipkumar Jadhav" <jadhav.dilipkumar(a)gmail.com>
Subject: [xwiki-users] REST services access to spaces & tags
To: <users(a)xwiki.org>
Message-ID: <4b5d8b69.0404c00a.65db.ffffafa7(a)mx.google.com>
Content-Type: text/plain; charset="us-ascii"
Hello friends,
I am facing some unexpected behavior with RESTful services in private wiki
instance:
Issue: Spaces, Tags entities can be accessed publicly through REST URL,
eventhough XWiki is run in private wiki mode.
Description: One of the XWiki 2.1.1 instance is setup in a private wiki
mode. Guests are not allowed to register or view any page on this instance.
I am also making use of authenticated services (RESTful services & XMLRPC
services) for connecting 3rd party applications to this xwiki instance.
However, when I access REST URLs for spaces, tags, etc there is no
authentication check from XWiki. This data is publicly available. When I
access a page URL, I am blocked off for authentication.
Couldn't find a JIRA for this one. Could we consider this as an
non-consistent behavior in terms of xwiki REST authentication where one
resource is blocked while others are not.
Has anyone else faced this before or has a work-around to this issue.
Thank you for your time & consideration friends.
Environment:
XWiki : 2.1.1 stable
Tomcat: 6.0.20
MySql: 5.0.45 community
JDK: 1.5 (Apparently, REST services do not work for me through JDK 1.6. This
could be just me facing this issue though J)
Hello, XWiki guys!
i saw this topic:
http://www.xwiki.org/xwiki/bin/view/FAQ/Whenuploadtheaccessoriesatthexwiki13
versionallChinesewillbedeletedinfilename
and i have the same problem, but with russian characters.
When i'm adding the file with name, like "russian_word123.txt" - it is adds
like "123.txt". All russian symbols are truncated. With english and numbers
- all fine.
Please help asap...
All encoding are sets t oUTF-8 and hole Xwiki don't have problem with
russian characters, except attachment thing.
I'm really need russian characters in file names, how I can get this, or
disable the truncation function???
BTW - my environment are:
XWiki Enterprise 2.1.25683
Oracle 10gR2
Thanks!
I have posted a few questions here and I really appreciated your replies. I
just received the 1,000,001 error from this XWiki program when I was trying
to switch editor from WYSIWYG to WIKI. This error must be a result of some
old version libs. I have excluded beanutil.jar and xercesImpl.jar.
Again the error info:
Jan 24, 2010 10:46:38 PM org.apache.tomcat.util.http.Parameters
processParameters
WARNING: Parameters: Invalid chunk ignored.
2010-01-24 22:46:38,351 []
[http://secure10.olemiss.edu/xwiki/bin/edit/Main/WebHome?editor=wiki&&$param]
ERROR [/xwiki].[action] - Servlet.service() for servlet action
threw exception
java.lang.NoSuchFieldError: fFeatures
at
org.apache.xerces.parsers.XML11NonValidatingConfiguration.<init>(Unknown
Source)
at
org.apache.xerces.parsers.XML11NonValidatingConfiguration.<init>(Unknown
Source)
at sun.reflect.GeneratedConstructorAccessor116.newInstance(Unknown
Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
org.xwiki.xml.internal.DefaultXMLReaderFactory.createXMLReader(DefaultXMLReaderFactory.java:81)
at
org.xwiki.rendering.internal.util.XWikiXMLReaderFactory.createXMLReader(XWikiXMLReaderFactory.java:50)
at
org.xwiki.rendering.internal.parser.WikiModelXHTMLParser.createWikiModelParser(WikiModelXHTMLParser.java:154)
at
org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:86)
at
org.xwiki.rendering.internal.parser.WikiModelXHTMLParser.parse(WikiModelXHTMLParser.java:111)
at
com.xpn.xwiki.wysiwyg.server.converter.internal.DefaultHTMLConverter.fromHTML(DefaultHTMLConverter.java:100)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
--
View this message in context: http://n2.nabble.com/wiki-editor-doesn-t-work-tp4452240p4452240.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I would like to include a list of recent blog entries (say, 5 most
recent) in my Dashboard page. Does anyone have working code in 2.0
syntax that I could adapt?
Best wishes,
Alex
--
Alexander Voss
SICSA Advanced Research Fellow
School of Computer Science
University of St Andrews
http://www.cs.st-andrews.ac.uk/~avoss
The University of St Andrews is a charity registered in Scotland : No
SC013532
Hi Valdis,
On Tue, Jan 26, 2010 at 3:20 PM, Valdis Vītoliņš <valdis.vitolins(a)odo.lv>wrote:
> Thanks Guillaume,
> I'll use added custom object then.
>
Ok. Let us know how it goes.
Guillaume
PS: btw, you should always reply the list and not the individual sender
otherwise answers don't get logged ;-)
Valdis
>
> Hi Valdis,
>
> On Tue, Jan 26, 2010 at 12:52 PM, Valdis Vītoliņš <valdis.vitolins(a)odo.lv>
> wrote:
>
> For custom application I need to add more properties
> for ../xwiki/bin/edit/XWiki/XWikiUsers?editor=class
> Is it acceptable/recommended way or other (more complicated?) approach
> would be better?
> Do you have any experience?
>
>
>
> It would work. However I'd recommend an alternative approach:
>
>
> - Create a XWiki.ExtendUserClass holding your properties
> - Add an object from this class to your user profiles
> - Use it to store information
>
> This way you can upgrade the XWikiUsers class when needed.
>
>
>
> Guillaume
>
>
>
> Thanks in advance,
> Valdis
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
>
> --
> Guillaume Lerouge
> Product Manager - XWiki SAS
> Skype: wikibc
> Twitter: glerouge
> http://guillaumelerouge.com/
>
>
>
--
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
I asked how to set up the RSS feed the other day and was quickly pointed to
Anca Luca's answer (
http://lists.xwiki.org/pipermail/users/2010-January/018932.html), which I
was able to implement.
The RSS feed did work ... on that day, but not any more ... ?
Can anyone help me?
Thanks,
Xavier
I'm getting this after installing the RssAggregator macro XAR and using it in a page:
>
> Failed to execute macro: groovy
>
> org.xwiki.rendering.macro.MacroExecutionException: You don't have the right to execute this script
> at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:134)
> at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:50)
> at org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:175)
> etc...
>
Ideas?
Rick
Hi.
If I get it right, nowadays, development of Java plugins/add-ons for
XWiki is done through Plexus components.
Is there a way ATM to setup easily a HelloWorld component development
project in Eclipse, in order to be able to learn and test such component
development ?
It seems that the maven archetype is quite outdated, and I couldn't find
examples on what needs to be configured in such a Java+Maven project to
make it work.
Annotations support for instance doesn't seem trivial to activate for me
(Java and Eclipse beginner).
Also, as the Plexus archetype on codehaus is in no better shape (can't
even be installed with maven), it doesn't help a lot.
Thanks in advance.
Best regards,
--
Olivier BERGER <olivier.berger(a)it-sudparis.eu>
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 1024D/6B829EEC
Ingénieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)
The XWiki development team is pleased to announce the release of XWiki
Office 1.1 Milestone 1.
Go grab it at:
http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiOffice
Summary of changes:
- support for on page style extensions
- more powerful text formatting
- fixed encoding issues
Updating:
- active instances of 1.1 snapshots are automatically updated
- the 1.1 new features updates will be pushed when version 1.1 final
will be available
- the 1.0 bugfixes will be pushed during the 1.1 development cycle.
View detailed release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXOffice11M1
For more information about XOffice visit:
http://xoffice.xwiki.org/xwiki/bin/view/Main/WebHome
Thanks,
-The XWiki dev team
Hello friends,
I am facing some unexpected behavior with RESTful services in private wiki
instance:
Issue: Spaces, Tags entities can be accessed publicly through REST URL,
eventhough XWiki is run in private wiki mode.
Description: One of the XWiki 2.1.1 instance is setup in a private wiki
mode. Guests are not allowed to register or view any page on this instance.
I am also making use of authenticated services (RESTful services & XMLRPC
services) for connecting 3rd party applications to this xwiki instance.
However, when I access REST URLs for spaces, tags, etc there is no
authentication check from XWiki. This data is publicly available. When I
access a page URL, I am blocked off for authentication.
Couldn't find a JIRA for this one. Could we consider this as an
non-consistent behavior in terms of xwiki REST authentication where one
resource is blocked while others are not.
Has anyone else faced this before or has a work-around to this issue.
Thank you for your time & consideration friends.
Environment:
XWiki : 2.1.1 stable
Tomcat: 6.0.20
MySql: 5.0.45 community
JDK: 1.5 (Apparently, REST services do not work for me through JDK 1.6. This
could be just me facing this issue though J)
Hi,
my friend and I are stuying in science teaching and we have to build a wiki for a school project. For this project, I will like to have a wiki name : lamaisonverte.
My username is p0825828.
Thanks,
Maxim
Hi,
I'm new to XWiki but know Confluence pretty well. I'd like to be able to do
something similar to what Confluence does with their blog macro - be able to
show 1..n recent blog posts on a page, either just showing the titles (which
we can do with Velocity as per the default Dashboard), or showing a "teaser"
that shows the title, date posted, poster, and a small intro snippet of the
post...
Format would be like:
TITLE
snippet...
...
...
Posted by user at datetime (possibly comment stats etc)
Is there a way to do this in XWiki?
Hi,
I am trying to change the values for a static list field in a wiki class programatically but so far I have only figured out how to display them. Is it possible to set class property values for static list fields programatically through velocity or groovy code?
The code that I'm using to display the values is pasted below:
#set($classdocname = "Test.TestClass")
#set($classdoc = $xwiki.getDocument($classdocname))
#foreach($field in $classdoc.getxWikiClass().properties)
* $field.prettyName
$doc.displayEdit($field.xWikiClass.get("values"), "${field.name}_" , $field)
#end
Thanks,
Radek
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.2 Milestone 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is first milestone of the XWiki Enterprise 2.2 version. This
release mainly introduces new Model, the possibility to register wiki
macros for any user or wiki and many improvements of xar import.
Main changes from 2.1.1:
* Contextual wikimacros
* New Model module with Reference implementation
* XAR Import improvements
* Allow set to null in velocity
* Upgraded to Groovy 1.7
* Lots of accessibility fixes
* Lots of bugs fixes
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise22M1
Thanks
-The XWiki dev team
I've installed XWiki Enterprise Manager 2.1.1 and have created a new
XWiki Enterprise instance. I can access the WikiManager through
localhost but not through the domain; it always redirects to the
ThisIsNotAWiki page. I would like to manage the creation/deletion of
Wiki installations through the domain and not have to VPN into the
server to use localhost.
Works
http://localhost:8081/xwiki/
Doesn't Work
http://domain:8081/xwiki/
BTW, I'm able to access the wiki created through the WikiManager
through the domain.
Works
http://localhost:8081/xwiki/wiki/mywikihttp://domain:8081/xwiki/wiki/mywiki
Any help would be great.
Oops. Sorry for sending what was meant to be a private communication to the entire mailing list.
________________________________
From: Milind Kamble <mbkads(a)yahoo.com>
To: XWiki Users <users(a)xwiki.org>
Sent: Thu, January 21, 2010 10:48:34 PM
Subject: Re: [xwiki-users] Access Rights Automatic Update
Very well written email, Felix. Hopefully we should have an answer by tomorrow :)
Milind
________________________________
From: Meng Wu <mengxwu(a)yahoo.com>
To: Xwiki Users <users(a)xwiki.org>
Sent: Thu, January 21, 2010 5:55:28 PM
Subject: [xwiki-users] Access Rights Automatic Update
Hello everyone,
I first want to thank the development team for including Ajax dynamic features onto XWiki. XWiki's simplicity and dynamics are some of the reasons why my team is so interested in implementing XWiki.
The only problem I've been having to deal with is the automatic access rights update. The cycle of rights is Blank (Default) -> Allow -> Deny -> back to Default, etc. The drawback of dynamic updates though, is that if I want to change my own right to view a certain page from "Allow" to "Default", I have to cycle through "Deny". Because of the automatic access control updating feature, when I cycle through Deny, I am automatically denied viewing rights, and thus locked out of my own page. Are there any good ways of getting around this problem? Or are there ways of implementing dropdown menus instead of square checkboxes, or having a longer delay when you cycle through access control options?
Felix
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello everyone,
I first want to thank the development team for including Ajax dynamic features onto XWiki. XWiki's simplicity and dynamics are some of the reasons why my team is so interested in implementing XWiki.
The only problem I've been having to deal with is the automatic access rights update. The cycle of rights is Blank (Default) -> Allow -> Deny -> back to Default, etc. The drawback of dynamic updates though, is that if I want to change my own right to view a certain page from "Allow" to "Default", I have to cycle through "Deny". Because of the automatic access control updating feature, when I cycle through Deny, I am automatically denied viewing rights, and thus locked out of my own page. Are there any good ways of getting around this problem? Or are there ways of implementing dropdown menus instead of square checkboxes, or having a longer delay when you cycle through access control options?
Felix
Here what we did is that we installed Xwiki from the pack jetty/HSQL.
Once it work, we modified the hibernate configuration file to connect to Oracle DB.
Here is our config file (if it helps ...) :
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<property name="connection.url">jdbc:oracle:thin:@IP.IP.IP.IP:1521:od46</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">*********</property>
<property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
<property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<property name="hibernate.connection.SetBigStringTryClob">true</property>
<property name="hibernate.jdbc.batch_size">0</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
</session-factory>
</hibernate-configuration>
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Oskar Marek Rzepinski
> Envoyé : mardi 19 janvier 2010 08:13
> À : XWiki Users
> Objet : Re: [xwiki-users] Problem with getting Xwiki to work
> with Oracle10g
>
> Yes, I forgot to mention it, we copied it from the oracle
> folder, we copied
> this files:
>
> ojdbc14.jar
> orai18n.jar
>
> And we also tried it with ojdbc5.jar
>
> It getting us really crazy on this.
>
>
>
> 2010/1/19 PERINAUD Christophe <Christophe.PERINAUD(a)kbl-bank.com>
>
> > Hi,
> >
> > Maybe stupid but did you install Oracle JDBC drivers in the
> WEB-INF/lib
> > xwiki's folder ?
> >
> > Christophe Périnaud
> > Windows Server 2003 SP2 in a VMWare instance
> > Oracle 10g
> > Java 1.6.0_12
> > Xwiki 2.0.3 from the pack Jetty/HSQL
> >
> >
> > > -----Message d'origine-----
> > > De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> > > De la part de Oskar Marek Rzepinski
> > > Envoyé : mardi 19 janvier 2010 07:58
> > > À : users(a)xwiki.org
> > > Objet : [xwiki-users] Problem with getting Xwiki to work with
> > > Oracle10g
> > >
> > > Hello everybody,
> > >
> > >
> > > we just stuck on installing xwiki on our devserver. We tried
> > > almost 10 times
> > > to get it work by ourselves but I didn't work. We still
> want to get it
> > > working. Here are the steps we did already:
> > > 1. we created a user xwiki on our DB server with the
> > > instructions from the
> > > official site
> > > 2. then we deployed xwiki on our server with the geronimo console
> > > 3. we made some changes to the hibernate configuration file,
> > > as you can see:
> > > <?xml version='1.0' encoding='utf-8'?>
> > > <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
> > > Configuration DTD//EN"
> > >
> "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> > > <hibernate-configuration>
> > > <session-factory>
> > >
> > > <!-- Please refer to the installation guide on
> > >
> > >
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
> > > configuring your
> > > database. You'll need to do 2 things:
> > > 1) Copy your database driver JAR in WEB-INF/lib or in
> > > some shared
> > > lib directory
> > > 2) Uncomment the properties below for your specific
> > > DB (and comment
> > > the default
> > > database configuration if it doesn't match your DB)
> > > -->
> > >
> > > <!-- Generic parameters common to all Databases -->
> > >
> > > <property name="show_sql">false</
> > > property>
> > > <property name="use_outer_join">true</property>
> > >
> > > <property name="dbcp.defaultAutoCommit">false</property>
> > > <property name="dbcp.maxActive">50</property>
> > > <property name="dbcp.maxIdle">5</property>
> > > <property name="dbcp.maxWait">30000</property>
> > > <property name="dbcp.whenExhaustedAction">1</property>
> > > <property name="dbcp.ps.whenExhaustedAction">1</property>
> > > <property name="dbcp.ps.maxActive">20</property>
> > > <property name="dbcp.ps.maxWait">120000</property>
> > > <property name="dbcp.ps.maxIdle">20</property>
> > > <!-- Without it, some queries fail in MS SQL. XWiki
> doesn't need
> > > scrollable result sets, anyway. -->
> > > <property name="jdbc.use_scrollable_resultset">false</property>
> > >
> > > <!-- Oracle configuration.
> > > Uncomment if you want to use Oracle and comment out
> > > other database
> > > configurations.
> > > Note: the 2 properties named
> > > "hibernate.connection.SetBigStringTryClob" and
> > > "hibernate.jdbc.batch_size". They are required to
> > > tell Oracle to
> > > allow CLOBs larger than
> > > 32K.
> > > -->
> > > <property
> > > name="connection.url">jdbc:oracle:thin:@10.233.106.132:1521
> > > :devORA</property>
> > > <property name="connection.username">xwiki</property>
> > > <property name="connection.password">xwiki</property>
> > > <property
> > > name="connection.driver_class">oracle.jdbc.driver.OracleDriver
> > > </property>
> > > <property
> > > name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
> > > <property
> > > name="connection.provider_class">com.xpn.xwiki.store.DBCPConne
> > > ctionProvider</property>
> > > <property name="connection.pool_size">2</property>
> > > <property name="statement_cache.size">2</property>
> > > <property
> > > name="hibernate.connection.SetBigStringTryClob">true</property>
> > > <property name="hibernate.jdbc.batch_size">0</property>
> > > <mapping resource="xwiki.oracle.hbm.xml"/>
> > > <mapping resource="feeds.oracle.hbm.xml"/>
> > > <mapping resource="activitystream.hbm.xml"/>
> > >
> > > <property
> > > name="hibernate.query.factory_class">org.hibernate.hql.classic
> > > .ClassicQueryTranslatorFactory</property>
> > >
> > > </session-factory>
> > > </hibernate-configuration>
> > >
> > > 4. We still get this error. We can simply connect to the
> > > xwiki users on the
> > > solaris console with sqlplus, but we cannot get it work. The
> > > user for the
> > > xwiki has all privileges to work the database. We cannot
> > > understand what
> > > goes wrong. Is there a simple how to how to really xwiki
> > > working on oracle
> > > 10g? Thank you very much.
> > >
> > >
> > >
> > > 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 3001 in 3: Cannot load class
> > > com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigratio
> > > nManager from
> > > param xwiki.store.migration.manager.class
> > > Wrapped Exception: Error number 0 in 3: Exception while
> > > hibernate execute
> > > Wrapped Exception: invalid configuration
> > >
> > >
> > > org.apache.struts.action.RequestProcessor.processException(Req
> > > uestProcessor.java:535)
> > >
> > >
> > > org.apache.struts.action.RequestProcessor.processActionPerform
> > > (RequestProcessor.java:433)
> > >
> > >
> > > org.apache.struts.action.RequestProcessor.process(RequestProce
> > > ssor.java:236)
> > >
> > >
> > > org.apache.struts.action.ActionServlet.process(ActionServlet.j
> > > ava:1196)
> > >
> > >
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> > >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> > >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> > >
> > >
> > > com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> > > ConversionFilter.java:152)
> > >
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> > >
> > >
> > > com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> > > lter.java:68)
> > >
> > >
> > > com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> > > uestRestorerFilter.java:295)
> > >
> > >
> > > com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> > > cterEncodingFilter.java:112)
> > >
> > > root cause
> > >
> > > com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
> > > initialize main
> > > XWiki context
> > > Wrapped Exception: Error number 3001 in 3: Cannot load class
> > > com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigratio
> > > nManager from
> > > param xwiki.store.migration.manager.class
> > > Wrapped Exception: Error number 0 in 3: Exception while
> > > hibernate execute
> > > Wrapped Exception: invalid configuration
> > > com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:341)
> > > com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
> > > com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
> > > com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> > >
> > >
> > > org.apache.struts.action.RequestProcessor.processActionPerform
> > > (RequestProcessor.java:431)
> > >
> > >
> > > org.apache.struts.action.RequestProcessor.process(RequestProce
> > > ssor.java:236)
> > >
> > >
> > > org.apache.struts.action.ActionServlet.process(ActionServlet.j
> > > ava:1196)
> > >
> > >
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> > >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> > >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> > >
> > >
> > > com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> > > ConversionFilter.java:152)
> > >
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> > >
> > >
> > > com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> > > lter.java:68)
> > >
> > >
> > > com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> > > uestRestorerFilter.java:295)
> > >
> > >
> > > com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> > > cterEncodingFilter.java:112)
> > >
> > > note The full stack trace of the root cause is available
> in the Apache
> > > Tomcat/6.0.18 logs.
> > >
> > > _____
> > >
> > >
> > > Apache Tomcat/6.0.18
> > >
> > >
> > >
> > >
> > > sincerely Oskar
> > > _______________________________________________
> > > users mailing list
> > > users(a)xwiki.org
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> >
> >
> --------------------------------------------------------------
> ------------------
> >
> > This e-mail is intended only for the addressee named above.
> It does not
> > bind the sender, except in the case of an existing written
> convention with
> > the addressee. This e-mail may contain material that is
> confidential and
> > privileged for the sole use of the intended recipient. Any
> review, reliance
> > or distribution by others or forwarding without express
> permission is
> > strictly prohibited and may be unlawful. If you are not the intended
> > recipient, please contact the sender and delete all copies.
> >
> > While reasonable precautions have been taken to ensure that
> this e-mail and
> > any attachments are free from any computer virus or similar
> defect, no
> > liability will be accepted in that respect. Anyone
> accessing this e-mail
> > must take their own precautions as to security and virus protection.
> >
> > KBL European Private Bankers S.A., 43 boulevard Royal
> L-2955 Luxembourg,
> > R.C.S. Luxembourg B 6395, T (352) 47 97 1
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hello,
I encountered an annoying situation and am wondering what I should do...
As I wanted to enable email notifications of page updates, I entered our
SMTP server information in the wiki preferences page. As it's needed by our
server, I also entered my personal account credentials to be able to connect
to the smtp server.
The password field not being a "password" type field, it means everyone with
admin rights in the wiki can have my password, but I can live with that for
now. To see if it works, I now watch the whole wiki.
I changed my password, so I updated the page, and gracefully received my old
and new password in the notification email, in the page diff ... As well as
the other admin. My question is : does notification process check for pages
rights, meaning that if anyone registered to watch the whole wiki, did he
receive my password through his notification emails as I did, or does he
only receive notifications for updates on page he has rights on ?
Thanks,
Jeremie
Vincent,
I thought the '+' would be an issue, but my problem is not solved yet I'm
afraid
I changed the code to
* [$msg.get("xe.panels.quicklinks.infos utiles")>Infos utiles.WebHome]
And while it does send me to the correct space, the text in the panel is
still xe.panels.quicklinks.infos
utiles<http://192.168.5.165:8080/xwiki/bin/view/Infos+utiles/>instead
of Infos
Utiles ...
I would tend to believe that the $msg.get("xe.panels.quicklinks.infos
utiles") instruction does not find the information it needs, and just shows
itself instead ... which means that an information is missing somewhere in
the space paramaters ...
But I have no idea what or where it should be filled in ... !
Hello everybody,
we just stuck on installing xwiki on our devserver. We tried almost 10 times
to get it work by ourselves but I didn't work. We still want to get it
working. Here are the steps we did already:
1. we created a user xwiki on our DB server with the instructions from the
official site
2. then we deployed xwiki on our server with the geronimo console
3. we made some changes to the hibernate configuration file, as you can see:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<!-- Please refer to the installation guide on
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
configuring your
database. You'll need to do 2 things:
1) Copy your database driver JAR in WEB-INF/lib or in some shared
lib directory
2) Uncomment the properties below for your specific DB (and comment
the default
database configuration if it doesn't match your DB)
-->
<!-- Generic parameters common to all Databases -->
<property name="show_sql">false</
property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<!-- Without it, some queries fail in MS SQL. XWiki doesn't need
scrollable result sets, anyway. -->
<property name="jdbc.use_scrollable_resultset">false</property>
<!-- Oracle configuration.
Uncomment if you want to use Oracle and comment out other database
configurations.
Note: the 2 properties named
"hibernate.connection.SetBigStringTryClob" and
"hibernate.jdbc.batch_size". They are required to tell Oracle to
allow CLOBs larger than
32K.
-->
<property name="connection.url">jdbc:oracle:thin:@10.233.106.132:1521
:devORA</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property
name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<property name="hibernate.connection.SetBigStringTryClob">true</property>
<property name="hibernate.jdbc.batch_size">0</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<property
name="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property>
</session-factory>
</hibernate-configuration>
4. We still get this error. We can simply connect to the xwiki users on the
solaris console with sqlplus, but we cannot get it work. The user for the
xwiki has all privileges to work the database. We cannot understand what
goes wrong. Is there a simple how to how to really xwiki working on oracle
10g? Thank you very much.
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 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: invalid 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:693)
javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: invalid configuration
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:341)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:693)
javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.18 logs.
_____
Apache Tomcat/6.0.18
sincerely Oskar
Hi Sergiu,
Thanks for filing this issue as a bug & your prompt response.
> The JS code will have to be fixed, I'll work on it, see
> http://jira.xwiki.org/jira/browse/XWIKI-4773
Hi Sergiu,
Sorry about the delay in response. I checked the httpheader.
It is exactly what you had stated. It accesses the rest api & is in
the "${request.contextPath}/rest/wikis/${context.database}/search?scope=name&number=10&media=json&"
format.
Even though I am in the child wiki the ${context.database} still says
"xwiki"...It should say "draft" where draft is the name of the child
wiki.
Since, the wikis I use are path based wikis, do I need to make any
change somewhere to make the auto suggest to work. Or would I have to
go to url based wikis (with different domain names). At the same time,
I've an application which uses XWiki RESTful api without any
modifications at all despite the XEM being path based.
Please help...thanks.
>
> Message: 1
> Date: Wed, 20 Jan 2010 12:17:58 -0500
> From: Dilipkumar Jadhav <jadhav.dilipkumar(a)gmail.com>
> Subject: Re: [xwiki-users] Meta+G feature on XEM
> To: users(a)xwiki.org
> Message-ID:
> <a5b160b51001200917q6f4e7116oee4e4e59c5a4ef46(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Thanks for your quick response Sergiu. The wiki is a path-based wiki.
>
>
>>
>> That is strange, it should work perfectly well in a virtual wiki, and
>> you can try to see that it works on the *.xwiki.org farm, and on
>> incubator.myxwiki.org.
>>
>> You can check with Firebug or HttpHeaders to check where does the
>> suggest request go to, maybe there's something weird in the URL setup.
>>
>> Normally, the request goes to something like:
>>
>> "${request.contextPath}/rest/wikis/${context.database}/search?scope=name&number=10&media=json&"
>>
>> Here, ${request.contextPath} is usually /xwiki, and ${context.database}
>> is the name of the virtual wiki.
>>
>> Could it be that you're using a path-based virtual wiki?
>>
>> --
>> Sergiu Dumitriu
>> http://purl.org/net/sergiu/
>>
>
>
Thanks for your quick response Sergiu. The wiki is a path-based wiki.
>
> That is strange, it should work perfectly well in a virtual wiki, and
> you can try to see that it works on the *.xwiki.org farm, and on
> incubator.myxwiki.org.
>
> You can check with Firebug or HttpHeaders to check where does the
> suggest request go to, maybe there's something weird in the URL setup.
>
> Normally, the request goes to something like:
>
> "${request.contextPath}/rest/wikis/${context.database}/search?scope=name&number=10&media=json&"
>
> Here, ${request.contextPath} is usually /xwiki, and ${context.database}
> is the name of the virtual wiki.
>
> Could it be that you're using a path-based virtual wiki?
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
Hello folks,
The Meta+G feature is one of the coolest & widely used feature at my
organization.
I am trying to use the Meta+G/Jump To Page feature over XEM 2.1.1 "wikis".
The feature works fine over the "Main" XWiki instance. However, when I
use this from a child wiki in a wiki farm, it still picks it's pages
from the main XEM instance. It does not pickup any documents from the
child farm.
I checked the JIRA for the Meta+G feature but couldn't find any
documentation in this regard.
Can we change something in the ajaxSuggest.js so it will pick pages
from the child wikis?
Is there a page called XWiki.JumpToPage such as mentioned on
http://jira.xwiki.org/jira/browse/XWIKI-1485 where we could probably
point the ajax suggest to the appropriate child wiki. I looked up my
XWiki instance but could not find this JumpToPage.
Any help will be appreciated. Thank you.
Now i remember that we cancelled the use of the war because of identical problems (and running out of time and mainly budget)
I think that the Architecture Dept created a new war based on the Jetty distribution
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Oskar Marek Rzepinski
> Envoyé : mardi 19 janvier 2010 11:48
> À : XWiki Users
> Objet : Re: [xwiki-users] Problem with getting Xwiki to work
> with Oracle10g
>
> So, we started our installation once again and it still does not work.
> Step-by-step:
> 1. We created a user xwiki on oracle with all privileges. We
> use oracle
> 10.2.0.40
> 2. We deployed the war file with the geronimo console. We use tomcat 6
> javaee5 2.1.4
> 3. We than changed the configuration file, as already mentioned
> 4. We copied the ojdbc5.jar from oracle 11.1.0.7 and tried it
> also with
> ojdbc14.jar.
> 5. Then we restarted geronimo and started the xwiki container
>
> We use the oracle installtion and the geronimo server on a sun solaris
> server and solaris as the operating system. We still don't
> get the xwiki
> installed, and don't understand why.
>
>
> Thank you all for the pleasent help.
>
>
> 2010/1/19 Oskar Marek Rzepinski <rzepinski(a)gmail.com>
>
> > We have now some meetings, after them we will try once
> again with the jetty
> > pack.
> >
> > @Caleb James DeLisle
> > The steps I mentioned already we have done with the war
> file. We deployed
> > it with the geronimo console.
> >
> > I will get back to this after we have tried the jetty pack
> and than I will
> > answer and report if we were successful or not.
> >
> >
> > 2010/1/19 Caleb James DeLisle <calebdelisle(a)lavabit.com>
> >
> > XWiki is built differently for the war installation than
> the jetty/HSQL
> >> pack
> >> I think If you download the war file and install that way
> it will work.
> >>
> >> Caleb
> >>
> >> PERINAUD Christophe wrote:
> >> > Here what we did is that we installed Xwiki from the
> pack jetty/HSQL.
> >> > Once it work, we modified the hibernate configuration
> file to connect to
> >> Oracle DB.
> >> >
> >> > Here is our config file (if it helps ...) :
> >> > <?xml version='1.0' encoding='utf-8'?>
> >> > <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
> >> Configuration DTD//EN"
> >> > "
> >> http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> >> > <hibernate-configuration>
> >> > <session-factory>
> >> > <property name="show_sql">false</property>
> >> > <property name="use_outer_join">true</property>
> >> > <property name="dbcp.defaultAutoCommit">false</property>
> >> > <property name="dbcp.maxActive">50</property>
> >> > <property name="dbcp.maxIdle">5</property>
> >> > <property name="dbcp.maxWait">30000</property>
> >> > <property name="dbcp.whenExhaustedAction">1</property>
> >> > <property name="dbcp.ps.whenExhaustedAction">1</property>
> >> > <property name="dbcp.ps.maxActive">20</property>
> >> > <property name="dbcp.ps.maxWait">120000</property>
> >> > <property name="dbcp.ps.maxIdle">20</property>
> >> > <property
> name="connection.url">jdbc:oracle:thin:@IP.IP.IP.IP
> >> :1521:od46</property>
> >> > <property name="connection.username">xwiki</property>
> >> > <property name="connection.password">*********</property>
> >> > <property
> >>
> name="connection.driver_class">oracle.jdbc.driver.OracleDriver
> </property>
> >> > <property
> >> name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
> >> > <property
> >>
> name="connection.provider_class">com.xpn.xwiki.store.DBCPConne
> ctionProvider</property>
> >> > <property name="connection.pool_size">2</property>
> >> > <property name="statement_cache.size">2</property>
> >> > <property
> >> name="hibernate.connection.SetBigStringTryClob">true</property>
> >> > <property name="hibernate.jdbc.batch_size">0</property>
> >> > <mapping resource="xwiki.oracle.hbm.xml"/>
> >> > <mapping resource="feeds.oracle.hbm.xml"/>
> >> > </session-factory>
> >> > </hibernate-configuration>
> >> >
> >> >
> >> >> -----Message d'origine-----
> >> >> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> >> >> De la part de Oskar Marek Rzepinski
> >> >> Envoyé : mardi 19 janvier 2010 08:13
> >> >> À : XWiki Users
> >> >> Objet : Re: [xwiki-users] Problem with getting Xwiki to work
> >> >> with Oracle10g
> >> >>
> >> >> Yes, I forgot to mention it, we copied it from the oracle
> >> >> folder, we copied
> >> >> this files:
> >> >>
> >> >> ojdbc14.jar
> >> >> orai18n.jar
> >> >>
> >> >> And we also tried it with ojdbc5.jar
> >> >>
> >> >> It getting us really crazy on this.
> >> >>
> >> >>
> >> >>
> >> >> 2010/1/19 PERINAUD Christophe <Christophe.PERINAUD(a)kbl-bank.com>
> >> >>
> >> >>> Hi,
> >> >>>
> >> >>> Maybe stupid but did you install Oracle JDBC drivers in the
> >> >> WEB-INF/lib
> >> >>> xwiki's folder ?
> >> >>>
> >> >>> Christophe Périnaud
> >> >>> Windows Server 2003 SP2 in a VMWare instance
> >> >>> Oracle 10g
> >> >>> Java 1.6.0_12
> >> >>> Xwiki 2.0.3 from the pack Jetty/HSQL
> >> >>>
> >> >>>
> >> >>>> -----Message d'origine-----
> >> >>>> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> >> >>>> De la part de Oskar Marek Rzepinski
> >> >>>> Envoyé : mardi 19 janvier 2010 07:58
> >> >>>> À : users(a)xwiki.org
> >> >>>> Objet : [xwiki-users] Problem with getting Xwiki to work with
> >> >>>> Oracle10g
> >> >>>>
> >> >>>> Hello everybody,
> >> >>>>
> >> >>>>
> >> >>>> we just stuck on installing xwiki on our devserver. We tried
> >> >>>> almost 10 times
> >> >>>> to get it work by ourselves but I didn't work. We still
> >> >> want to get it
> >> >>>> working. Here are the steps we did already:
> >> >>>> 1. we created a user xwiki on our DB server with the
> >> >>>> instructions from the
> >> >>>> official site
> >> >>>> 2. then we deployed xwiki on our server with the
> geronimo console
> >> >>>> 3. we made some changes to the hibernate configuration file,
> >> >>>> as you can see:
> >> >>>> <?xml version='1.0' encoding='utf-8'?>
> >> >>>> <!DOCTYPE hibernate-configuration PUBLIC
> "-//Hibernate/Hibernate
> >> >>>> Configuration DTD//EN"
> >> >>>>
> >> >>
> "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> >> >>>> <hibernate-configuration>
> >> >>>> <session-factory>
> >> >>>>
> >> >>>> <!-- Please refer to the installation guide on
> >> >>>>
> >> >>>>
> >> >>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
> >> >>>> configuring your
> >> >>>> database. You'll need to do 2 things:
> >> >>>> 1) Copy your database driver JAR in WEB-INF/lib or in
> >> >>>> some shared
> >> >>>> lib directory
> >> >>>> 2) Uncomment the properties below for your specific
> >> >>>> DB (and comment
> >> >>>> the default
> >> >>>> database configuration if it doesn't match your DB)
> >> >>>> -->
> >> >>>>
> >> >>>> <!-- Generic parameters common to all Databases -->
> >> >>>>
> >> >>>> <property name="show_sql">false</
> >> >>>> property>
> >> >>>> <property name="use_outer_join">true</property>
> >> >>>>
> >> >>>> <property name="dbcp.defaultAutoCommit">false</property>
> >> >>>> <property name="dbcp.maxActive">50</property>
> >> >>>> <property name="dbcp.maxIdle">5</property>
> >> >>>> <property name="dbcp.maxWait">30000</property>
> >> >>>> <property name="dbcp.whenExhaustedAction">1</property>
> >> >>>> <property name="dbcp.ps.whenExhaustedAction">1</property>
> >> >>>> <property name="dbcp.ps.maxActive">20</property>
> >> >>>> <property name="dbcp.ps.maxWait">120000</property>
> >> >>>> <property name="dbcp.ps.maxIdle">20</property>
> >> >>>> <!-- Without it, some queries fail in MS SQL. XWiki
> >> >> doesn't need
> >> >>>> scrollable result sets, anyway. -->
> >> >>>> <property
> name="jdbc.use_scrollable_resultset">false</property>
> >> >>>>
> >> >>>> <!-- Oracle configuration.
> >> >>>> Uncomment if you want to use Oracle and comment out
> >> >>>> other database
> >> >>>> configurations.
> >> >>>> Note: the 2 properties named
> >> >>>> "hibernate.connection.SetBigStringTryClob" and
> >> >>>> "hibernate.jdbc.batch_size". They are required to
> >> >>>> tell Oracle to
> >> >>>> allow CLOBs larger than
> >> >>>> 32K.
> >> >>>> -->
> >> >>>> <property
> >> >>>> name="connection.url">jdbc:oracle:thin:@10.233.106.132:1521
> >> >>>> :devORA</property>
> >> >>>> <property name="connection.username">xwiki</property>
> >> >>>> <property name="connection.password">xwiki</property>
> >> >>>> <property
> >> >>>> name="connection.driver_class">oracle.jdbc.driver.OracleDriver
> >> >>>> </property>
> >> >>>> <property
> >> >>>>
> name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
> >> >>>> <property
> >> >>>> name="connection.provider_class">com.xpn.xwiki.store.DBCPConne
> >> >>>> ctionProvider</property>
> >> >>>> <property name="connection.pool_size">2</property>
> >> >>>> <property name="statement_cache.size">2</property>
> >> >>>> <property
> >> >>>>
> name="hibernate.connection.SetBigStringTryClob">true</property>
> >> >>>> <property name="hibernate.jdbc.batch_size">0</property>
> >> >>>> <mapping resource="xwiki.oracle.hbm.xml"/>
> >> >>>> <mapping resource="feeds.oracle.hbm.xml"/>
> >> >>>> <mapping resource="activitystream.hbm.xml"/>
> >> >>>>
> >> >>>> <property
> >> >>>> name="hibernate.query.factory_class">org.hibernate.hql.classic
> >> >>>> .ClassicQueryTranslatorFactory</property>
> >> >>>>
> >> >>>> </session-factory>
> >> >>>> </hibernate-configuration>
> >> >>>>
> >> >>>> 4. We still get this error. We can simply connect to the
> >> >>>> xwiki users on the
> >> >>>> solaris console with sqlplus, but we cannot get it work. The
> >> >>>> user for the
> >> >>>> xwiki has all privileges to work the database. We cannot
> >> >>>> understand what
> >> >>>> goes wrong. Is there a simple how to how to really xwiki
> >> >>>> working on oracle
> >> >>>> 10g? Thank you very much.
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> 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 3001 in 3: Cannot load class
> >> >>>> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigratio
> >> >>>> nManager from
> >> >>>> param xwiki.store.migration.manager.class
> >> >>>> Wrapped Exception: Error number 0 in 3: Exception while
> >> >>>> hibernate execute
> >> >>>> Wrapped Exception: invalid configuration
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.processException(Req
> >> >>>> uestProcessor.java:535)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.processActionPerform
> >> >>>> (RequestProcessor.java:433)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.process(RequestProce
> >> >>>> ssor.java:236)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> >> >>>> ava:1196)
> >> >>>>
> >> >>>>
> >> >>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >> >>>>
> >> >>>> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> >> >>>> ConversionFilter.java:152)
> >> >>>>
> >> >> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> >> >>>>
> >> >>>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> >> >>>> lter.java:68)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> >> >>>> uestRestorerFilter.java:295)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> >> >>>> cterEncodingFilter.java:112)
> >> >>>>
> >> >>>> root cause
> >> >>>>
> >> >>>> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
> >> >>>> initialize main
> >> >>>> XWiki context
> >> >>>> Wrapped Exception: Error number 3001 in 3: Cannot load class
> >> >>>> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigratio
> >> >>>> nManager from
> >> >>>> param xwiki.store.migration.manager.class
> >> >>>> Wrapped Exception: Error number 0 in 3: Exception while
> >> >>>> hibernate execute
> >> >>>> Wrapped Exception: invalid configuration
> >> >>>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:341)
> >> >>>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
> >> >>>>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
> >> >>>>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.processActionPerform
> >> >>>> (RequestProcessor.java:431)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.process(RequestProce
> >> >>>> ssor.java:236)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> >> >>>> ava:1196)
> >> >>>>
> >> >>>>
> >> >>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >> >>>>
> >> >>>> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> >> >>>> ConversionFilter.java:152)
> >> >>>>
> >> >> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> >> >>>>
> >> >>>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> >> >>>> lter.java:68)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> >> >>>> uestRestorerFilter.java:295)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> >> >>>> cterEncodingFilter.java:112)
> >> >>>>
> >> >>>> note The full stack trace of the root cause is available
> >> >> in the Apache
> >> >>>> Tomcat/6.0.18 logs.
> >> >>>>
> >> >>>> _____
> >> >>>>
> >> >>>>
> >> >>>> Apache Tomcat/6.0.18
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> sincerely Oskar
> >> >>>> _______________________________________________
> >> >>>> users mailing list
> >> >>>> users(a)xwiki.org
> >> >>>> http://lists.xwiki.org/mailman/listinfo/users
> >> >>>>
> >> >>>
> >> >> --------------------------------------------------------------
> >> >> ------------------
> >> >>> This e-mail is intended only for the addressee named above.
> >> >> It does not
> >> >>> bind the sender, except in the case of an existing written
> >> >> convention with
> >> >>> the addressee. This e-mail may contain material that is
> >> >> confidential and
> >> >>> privileged for the sole use of the intended recipient. Any
> >> >> review, reliance
> >> >>> or distribution by others or forwarding without express
> >> >> permission is
> >> >>> strictly prohibited and may be unlawful. If you are
> not the intended
> >> >>> recipient, please contact the sender and delete all copies.
> >> >>>
> >> >>> While reasonable precautions have been taken to ensure that
> >> >> this e-mail and
> >> >>> any attachments are free from any computer virus or similar
> >> >> defect, no
> >> >>> liability will be accepted in that respect. Anyone
> >> >> accessing this e-mail
> >> >>> must take their own precautions as to security and
> virus protection.
> >> >>>
> >> >>> KBL European Private Bankers S.A., 43 boulevard Royal
> >> >> L-2955 Luxembourg,
> >> >>> R.C.S. Luxembourg B 6395, T (352) 47 97 1
> >> >>> _______________________________________________
> >> >>> users mailing list
> >> >>> users(a)xwiki.org
> >> >>> http://lists.xwiki.org/mailman/listinfo/users
> >> >>>
> >> >> _______________________________________________
> >> >> users mailing list
> >> >> users(a)xwiki.org
> >> >> http://lists.xwiki.org/mailman/listinfo/users
> >> >>
> >> >
> >>
> --------------------------------------------------------------
> ------------------
> >> >
> >> > This e-mail is intended only for the addressee named
> above. It does not
> >> bind the sender, except in the case of an existing written
> convention with
> >> the addressee. This e-mail may contain material that is
> confidential and
> >> privileged for the sole use of the intended recipient. Any
> review, reliance
> >> or distribution by others or forwarding without express
> permission is
> >> strictly prohibited and may be unlawful. If you are not
> the intended
> >> recipient, please contact the sender and delete all copies.
> >> >
> >> > While reasonable precautions have been taken to ensure
> that this e-mail
> >> and any attachments are free from any computer virus or
> similar defect, no
> >> liability will be accepted in that respect. Anyone
> accessing this e-mail
> >> must take their own precautions as to security and virus
> protection.
> >> >
> >> > KBL European Private Bankers S.A., 43 boulevard Royal
> L-2955 Luxembourg,
> >> R.C.S. Luxembourg B 6395, T (352) 47 97 1
> >> > _______________________________________________
> >> > users mailing list
> >> > users(a)xwiki.org
> >> > http://lists.xwiki.org/mailman/listinfo/users
> >> >
> >>
> >> _______________________________________________
> >> users mailing list
> >> users(a)xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> >
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Do shemas have been created in the DB ?
Can you ask your DBA to see what is the last login date of the user ?
It could help to know if the problem comes from the DB or if there is something wrong before trying to connect
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Oskar Marek Rzepinski
> Envoyé : mardi 19 janvier 2010 11:48
> À : XWiki Users
> Objet : Re: [xwiki-users] Problem with getting Xwiki to work
> with Oracle10g
>
> So, we started our installation once again and it still does not work.
> Step-by-step:
> 1. We created a user xwiki on oracle with all privileges. We
> use oracle
> 10.2.0.40
> 2. We deployed the war file with the geronimo console. We use tomcat 6
> javaee5 2.1.4
> 3. We than changed the configuration file, as already mentioned
> 4. We copied the ojdbc5.jar from oracle 11.1.0.7 and tried it
> also with
> ojdbc14.jar.
> 5. Then we restarted geronimo and started the xwiki container
>
> We use the oracle installtion and the geronimo server on a sun solaris
> server and solaris as the operating system. We still don't
> get the xwiki
> installed, and don't understand why.
>
>
> Thank you all for the pleasent help.
>
>
> 2010/1/19 Oskar Marek Rzepinski <rzepinski(a)gmail.com>
>
> > We have now some meetings, after them we will try once
> again with the jetty
> > pack.
> >
> > @Caleb James DeLisle
> > The steps I mentioned already we have done with the war
> file. We deployed
> > it with the geronimo console.
> >
> > I will get back to this after we have tried the jetty pack
> and than I will
> > answer and report if we were successful or not.
> >
> >
> > 2010/1/19 Caleb James DeLisle <calebdelisle(a)lavabit.com>
> >
> > XWiki is built differently for the war installation than
> the jetty/HSQL
> >> pack
> >> I think If you download the war file and install that way
> it will work.
> >>
> >> Caleb
> >>
> >> PERINAUD Christophe wrote:
> >> > Here what we did is that we installed Xwiki from the
> pack jetty/HSQL.
> >> > Once it work, we modified the hibernate configuration
> file to connect to
> >> Oracle DB.
> >> >
> >> > Here is our config file (if it helps ...) :
> >> > <?xml version='1.0' encoding='utf-8'?>
> >> > <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
> >> Configuration DTD//EN"
> >> > "
> >> http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> >> > <hibernate-configuration>
> >> > <session-factory>
> >> > <property name="show_sql">false</property>
> >> > <property name="use_outer_join">true</property>
> >> > <property name="dbcp.defaultAutoCommit">false</property>
> >> > <property name="dbcp.maxActive">50</property>
> >> > <property name="dbcp.maxIdle">5</property>
> >> > <property name="dbcp.maxWait">30000</property>
> >> > <property name="dbcp.whenExhaustedAction">1</property>
> >> > <property name="dbcp.ps.whenExhaustedAction">1</property>
> >> > <property name="dbcp.ps.maxActive">20</property>
> >> > <property name="dbcp.ps.maxWait">120000</property>
> >> > <property name="dbcp.ps.maxIdle">20</property>
> >> > <property
> name="connection.url">jdbc:oracle:thin:@IP.IP.IP.IP
> >> :1521:od46</property>
> >> > <property name="connection.username">xwiki</property>
> >> > <property name="connection.password">*********</property>
> >> > <property
> >>
> name="connection.driver_class">oracle.jdbc.driver.OracleDriver
</property>
> >> > <property
> >> name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
> >> > <property
> >>
> name="connection.provider_class">com.xpn.xwiki.store.DBCPConne
ctionProvider</property>
> >> > <property name="connection.pool_size">2</property>
> >> > <property name="statement_cache.size">2</property>
> >> > <property
> >> name="hibernate.connection.SetBigStringTryClob">true</property>
> >> > <property name="hibernate.jdbc.batch_size">0</property>
> >> > <mapping resource="xwiki.oracle.hbm.xml"/>
> >> > <mapping resource="feeds.oracle.hbm.xml"/>
> >> > </session-factory>
> >> > </hibernate-configuration>
> >> >
> >> >
> >> >> -----Message d'origine-----
> >> >> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> >> >> De la part de Oskar Marek Rzepinski
> >> >> Envoyé : mardi 19 janvier 2010 08:13
> >> >> À : XWiki Users
> >> >> Objet : Re: [xwiki-users] Problem with getting Xwiki to work
> >> >> with Oracle10g
> >> >>
> >> >> Yes, I forgot to mention it, we copied it from the oracle
> >> >> folder, we copied
> >> >> this files:
> >> >>
> >> >> ojdbc14.jar
> >> >> orai18n.jar
> >> >>
> >> >> And we also tried it with ojdbc5.jar
> >> >>
> >> >> It getting us really crazy on this.
> >> >>
> >> >>
> >> >>
> >> >> 2010/1/19 PERINAUD Christophe <Christophe.PERINAUD(a)kbl-bank.com>
> >> >>
> >> >>> Hi,
> >> >>>
> >> >>> Maybe stupid but did you install Oracle JDBC drivers in the
> >> >> WEB-INF/lib
> >> >>> xwiki's folder ?
> >> >>>
> >> >>> Christophe Périnaud
> >> >>> Windows Server 2003 SP2 in a VMWare instance
> >> >>> Oracle 10g
> >> >>> Java 1.6.0_12
> >> >>> Xwiki 2.0.3 from the pack Jetty/HSQL
> >> >>>
> >> >>>
> >> >>>> -----Message d'origine-----
> >> >>>> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> >> >>>> De la part de Oskar Marek Rzepinski
> >> >>>> Envoyé : mardi 19 janvier 2010 07:58
> >> >>>> À : users(a)xwiki.org
> >> >>>> Objet : [xwiki-users] Problem with getting Xwiki to work with
> >> >>>> Oracle10g
> >> >>>>
> >> >>>> Hello everybody,
> >> >>>>
> >> >>>>
> >> >>>> we just stuck on installing xwiki on our devserver. We tried
> >> >>>> almost 10 times
> >> >>>> to get it work by ourselves but I didn't work. We still
> >> >> want to get it
> >> >>>> working. Here are the steps we did already:
> >> >>>> 1. we created a user xwiki on our DB server with the
> >> >>>> instructions from the
> >> >>>> official site
> >> >>>> 2. then we deployed xwiki on our server with the
> geronimo console
> >> >>>> 3. we made some changes to the hibernate configuration file,
> >> >>>> as you can see:
> >> >>>> <?xml version='1.0' encoding='utf-8'?>
> >> >>>> <!DOCTYPE hibernate-configuration PUBLIC
> "-//Hibernate/Hibernate
> >> >>>> Configuration DTD//EN"
> >> >>>>
> >> >>
> "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> >> >>>> <hibernate-configuration>
> >> >>>> <session-factory>
> >> >>>>
> >> >>>> <!-- Please refer to the installation guide on
> >> >>>>
> >> >>>>
> >> >>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
> >> >>>> configuring your
> >> >>>> database. You'll need to do 2 things:
> >> >>>> 1) Copy your database driver JAR in WEB-INF/lib or in
> >> >>>> some shared
> >> >>>> lib directory
> >> >>>> 2) Uncomment the properties below for your specific
> >> >>>> DB (and comment
> >> >>>> the default
> >> >>>> database configuration if it doesn't match your DB)
> >> >>>> -->
> >> >>>>
> >> >>>> <!-- Generic parameters common to all Databases -->
> >> >>>>
> >> >>>> <property name="show_sql">false</
> >> >>>> property>
> >> >>>> <property name="use_outer_join">true</property>
> >> >>>>
> >> >>>> <property name="dbcp.defaultAutoCommit">false</property>
> >> >>>> <property name="dbcp.maxActive">50</property>
> >> >>>> <property name="dbcp.maxIdle">5</property>
> >> >>>> <property name="dbcp.maxWait">30000</property>
> >> >>>> <property name="dbcp.whenExhaustedAction">1</property>
> >> >>>> <property name="dbcp.ps.whenExhaustedAction">1</property>
> >> >>>> <property name="dbcp.ps.maxActive">20</property>
> >> >>>> <property name="dbcp.ps.maxWait">120000</property>
> >> >>>> <property name="dbcp.ps.maxIdle">20</property>
> >> >>>> <!-- Without it, some queries fail in MS SQL. XWiki
> >> >> doesn't need
> >> >>>> scrollable result sets, anyway. -->
> >> >>>> <property
> name="jdbc.use_scrollable_resultset">false</property>
> >> >>>>
> >> >>>> <!-- Oracle configuration.
> >> >>>> Uncomment if you want to use Oracle and comment out
> >> >>>> other database
> >> >>>> configurations.
> >> >>>> Note: the 2 properties named
> >> >>>> "hibernate.connection.SetBigStringTryClob" and
> >> >>>> "hibernate.jdbc.batch_size". They are required to
> >> >>>> tell Oracle to
> >> >>>> allow CLOBs larger than
> >> >>>> 32K.
> >> >>>> -->
> >> >>>> <property
> >> >>>> name="connection.url">jdbc:oracle:thin:@10.233.106.132:1521
> >> >>>> :devORA</property>
> >> >>>> <property name="connection.username">xwiki</property>
> >> >>>> <property name="connection.password">xwiki</property>
> >> >>>> <property
> >> >>>> name="connection.driver_class">oracle.jdbc.driver.OracleDriver
> >> >>>> </property>
> >> >>>> <property
> >> >>>>
> name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
> >> >>>> <property
> >> >>>> name="connection.provider_class">com.xpn.xwiki.store.DBCPConne
> >> >>>> ctionProvider</property>
> >> >>>> <property name="connection.pool_size">2</property>
> >> >>>> <property name="statement_cache.size">2</property>
> >> >>>> <property
> >> >>>>
> name="hibernate.connection.SetBigStringTryClob">true</property>
> >> >>>> <property name="hibernate.jdbc.batch_size">0</property>
> >> >>>> <mapping resource="xwiki.oracle.hbm.xml"/>
> >> >>>> <mapping resource="feeds.oracle.hbm.xml"/>
> >> >>>> <mapping resource="activitystream.hbm.xml"/>
> >> >>>>
> >> >>>> <property
> >> >>>> name="hibernate.query.factory_class">org.hibernate.hql.classic
> >> >>>> .ClassicQueryTranslatorFactory</property>
> >> >>>>
> >> >>>> </session-factory>
> >> >>>> </hibernate-configuration>
> >> >>>>
> >> >>>> 4. We still get this error. We can simply connect to the
> >> >>>> xwiki users on the
> >> >>>> solaris console with sqlplus, but we cannot get it work. The
> >> >>>> user for the
> >> >>>> xwiki has all privileges to work the database. We cannot
> >> >>>> understand what
> >> >>>> goes wrong. Is there a simple how to how to really xwiki
> >> >>>> working on oracle
> >> >>>> 10g? Thank you very much.
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> 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 3001 in 3: Cannot load class
> >> >>>> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigratio
> >> >>>> nManager from
> >> >>>> param xwiki.store.migration.manager.class
> >> >>>> Wrapped Exception: Error number 0 in 3: Exception while
> >> >>>> hibernate execute
> >> >>>> Wrapped Exception: invalid configuration
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.processException(Req
> >> >>>> uestProcessor.java:535)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.processActionPerform
> >> >>>> (RequestProcessor.java:433)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.process(RequestProce
> >> >>>> ssor.java:236)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> >> >>>> ava:1196)
> >> >>>>
> >> >>>>
> >> >>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >> >>>>
> >> >>>> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> >> >>>> ConversionFilter.java:152)
> >> >>>>
> >> >> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> >> >>>>
> >> >>>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> >> >>>> lter.java:68)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> >> >>>> uestRestorerFilter.java:295)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> >> >>>> cterEncodingFilter.java:112)
> >> >>>>
> >> >>>> root cause
> >> >>>>
> >> >>>> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
> >> >>>> initialize main
> >> >>>> XWiki context
> >> >>>> Wrapped Exception: Error number 3001 in 3: Cannot load class
> >> >>>> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigratio
> >> >>>> nManager from
> >> >>>> param xwiki.store.migration.manager.class
> >> >>>> Wrapped Exception: Error number 0 in 3: Exception while
> >> >>>> hibernate execute
> >> >>>> Wrapped Exception: invalid configuration
> >> >>>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:341)
> >> >>>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
> >> >>>>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
> >> >>>>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.processActionPerform
> >> >>>> (RequestProcessor.java:431)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.process(RequestProce
> >> >>>> ssor.java:236)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> >> >>>> ava:1196)
> >> >>>>
> >> >>>>
> >> >>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >> >>>>
> >> >>>> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> >> >>>> ConversionFilter.java:152)
> >> >>>>
> >> >> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> >> >>>>
> >> >>>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> >> >>>> lter.java:68)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> >> >>>> uestRestorerFilter.java:295)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> >> >>>> cterEncodingFilter.java:112)
> >> >>>>
> >> >>>> note The full stack trace of the root cause is available
> >> >> in the Apache
> >> >>>> Tomcat/6.0.18 logs.
> >> >>>>
> >> >>>> _____
> >> >>>>
> >> >>>>
> >> >>>> Apache Tomcat/6.0.18
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> sincerely Oskar
> >> >>>> _______________________________________________
> >> >>>> users mailing list
> >> >>>> users(a)xwiki.org
> >> >>>> http://lists.xwiki.org/mailman/listinfo/users
> >> >>>>
> >> >>>
> >> >> --------------------------------------------------------------
> >> >> ------------------
> >> >>> This e-mail is intended only for the addressee named above.
> >> >> It does not
> >> >>> bind the sender, except in the case of an existing written
> >> >> convention with
> >> >>> the addressee. This e-mail may contain material that is
> >> >> confidential and
> >> >>> privileged for the sole use of the intended recipient. Any
> >> >> review, reliance
> >> >>> or distribution by others or forwarding without express
> >> >> permission is
> >> >>> strictly prohibited and may be unlawful. If you are
> not the intended
> >> >>> recipient, please contact the sender and delete all copies.
> >> >>>
> >> >>> While reasonable precautions have been taken to ensure that
> >> >> this e-mail and
> >> >>> any attachments are free from any computer virus or similar
> >> >> defect, no
> >> >>> liability will be accepted in that respect. Anyone
> >> >> accessing this e-mail
> >> >>> must take their own precautions as to security and
> virus protection.
> >> >>>
> >> >>> KBL European Private Bankers S.A., 43 boulevard Royal
> >> >> L-2955 Luxembourg,
> >> >>> R.C.S. Luxembourg B 6395, T (352) 47 97 1
> >> >>> _______________________________________________
> >> >>> users mailing list
> >> >>> users(a)xwiki.org
> >> >>> http://lists.xwiki.org/mailman/listinfo/users
> >> >>>
> >> >> _______________________________________________
> >> >> users mailing list
> >> >> users(a)xwiki.org
> >> >> http://lists.xwiki.org/mailman/listinfo/users
> >> >>
> >> >
> >>
> --------------------------------------------------------------
> ------------------
> >> >
> >> > This e-mail is intended only for the addressee named
> above. It does not
> >> bind the sender, except in the case of an existing written
> convention with
> >> the addressee. This e-mail may contain material that is
> confidential and
> >> privileged for the sole use of the intended recipient. Any
> review, reliance
> >> or distribution by others or forwarding without express
> permission is
> >> strictly prohibited and may be unlawful. If you are not
> the intended
> >> recipient, please contact the sender and delete all copies.
> >> >
> >> > While reasonable precautions have been taken to ensure
> that this e-mail
> >> and any attachments are free from any computer virus or
> similar defect, no
> >> liability will be accepted in that respect. Anyone
> accessing this e-mail
> >> must take their own precautions as to security and virus
> protection.
> >> >
> >> > KBL European Private Bankers S.A., 43 boulevard Royal
> L-2955 Luxembourg,
> >> R.C.S. Luxembourg B 6395, T (352) 47 97 1
> >> > _______________________________________________
> >> > users mailing list
> >> > users(a)xwiki.org
> >> > http://lists.xwiki.org/mailman/listinfo/users
> >> >
> >>
> >> _______________________________________________
> >> users mailing list
> >> users(a)xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> >
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi,
Maybe stupid but did you install Oracle JDBC drivers in the WEB-INF/lib xwiki's folder ?
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 2.0.3 from the pack Jetty/HSQL
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Oskar Marek Rzepinski
> Envoyé : mardi 19 janvier 2010 07:58
> À : users(a)xwiki.org
> Objet : [xwiki-users] Problem with getting Xwiki to work with
> Oracle10g
>
> Hello everybody,
>
>
> we just stuck on installing xwiki on our devserver. We tried
> almost 10 times
> to get it work by ourselves but I didn't work. We still want to get it
> working. Here are the steps we did already:
> 1. we created a user xwiki on our DB server with the
> instructions from the
> official site
> 2. then we deployed xwiki on our server with the geronimo console
> 3. we made some changes to the hibernate configuration file,
> as you can see:
> <?xml version='1.0' encoding='utf-8'?>
> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
> Configuration DTD//EN"
> "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> <hibernate-configuration>
> <session-factory>
>
> <!-- Please refer to the installation guide on
>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
> configuring your
> database. You'll need to do 2 things:
> 1) Copy your database driver JAR in WEB-INF/lib or in
> some shared
> lib directory
> 2) Uncomment the properties below for your specific
> DB (and comment
> the default
> database configuration if it doesn't match your DB)
> -->
>
> <!-- Generic parameters common to all Databases -->
>
> <property name="show_sql">false</
> property>
> <property name="use_outer_join">true</property>
>
> <property name="dbcp.defaultAutoCommit">false</property>
> <property name="dbcp.maxActive">50</property>
> <property name="dbcp.maxIdle">5</property>
> <property name="dbcp.maxWait">30000</property>
> <property name="dbcp.whenExhaustedAction">1</property>
> <property name="dbcp.ps.whenExhaustedAction">1</property>
> <property name="dbcp.ps.maxActive">20</property>
> <property name="dbcp.ps.maxWait">120000</property>
> <property name="dbcp.ps.maxIdle">20</property>
> <!-- Without it, some queries fail in MS SQL. XWiki doesn't need
> scrollable result sets, anyway. -->
> <property name="jdbc.use_scrollable_resultset">false</property>
>
> <!-- Oracle configuration.
> Uncomment if you want to use Oracle and comment out
> other database
> configurations.
> Note: the 2 properties named
> "hibernate.connection.SetBigStringTryClob" and
> "hibernate.jdbc.batch_size". They are required to
> tell Oracle to
> allow CLOBs larger than
> 32K.
> -->
> <property
> name="connection.url">jdbc:oracle:thin:@10.233.106.132:1521
> :devORA</property>
> <property name="connection.username">xwiki</property>
> <property name="connection.password">xwiki</property>
> <property
> name="connection.driver_class">oracle.jdbc.driver.OracleDriver
> </property>
> <property
> name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
> <property
> name="connection.provider_class">com.xpn.xwiki.store.DBCPConne
> ctionProvider</property>
> <property name="connection.pool_size">2</property>
> <property name="statement_cache.size">2</property>
> <property
> name="hibernate.connection.SetBigStringTryClob">true</property>
> <property name="hibernate.jdbc.batch_size">0</property>
> <mapping resource="xwiki.oracle.hbm.xml"/>
> <mapping resource="feeds.oracle.hbm.xml"/>
> <mapping resource="activitystream.hbm.xml"/>
>
> <property
> name="hibernate.query.factory_class">org.hibernate.hql.classic
> .ClassicQueryTranslatorFactory</property>
>
> </session-factory>
> </hibernate-configuration>
>
> 4. We still get this error. We can simply connect to the
> xwiki users on the
> solaris console with sqlplus, but we cannot get it work. The
> user for the
> xwiki has all privileges to work the database. We cannot
> understand what
> goes wrong. Is there a simple how to how to really xwiki
> working on oracle
> 10g? Thank you very much.
>
>
>
> 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 3001 in 3: Cannot load class
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigratio
> nManager from
> param xwiki.store.migration.manager.class
> Wrapped Exception: Error number 0 in 3: Exception while
> hibernate execute
> Wrapped Exception: invalid configuration
>
>
> org.apache.struts.action.RequestProcessor.processException(Req
> uestProcessor.java:535)
>
>
> org.apache.struts.action.RequestProcessor.processActionPerform
> (RequestProcessor.java:433)
>
>
> org.apache.struts.action.RequestProcessor.process(RequestProce
> ssor.java:236)
>
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> ava:1196)
>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>
>
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> ConversionFilter.java:152)
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>
>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> lter.java:68)
>
>
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> uestRestorerFilter.java:295)
>
>
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> cterEncodingFilter.java:112)
>
> root cause
>
> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
> initialize main
> XWiki context
> Wrapped Exception: Error number 3001 in 3: Cannot load class
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigratio
> nManager from
> param xwiki.store.migration.manager.class
> Wrapped Exception: Error number 0 in 3: Exception while
> hibernate execute
> Wrapped Exception: invalid configuration
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:341)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
>
>
> org.apache.struts.action.RequestProcessor.processActionPerform
> (RequestProcessor.java:431)
>
>
> org.apache.struts.action.RequestProcessor.process(RequestProce
> ssor.java:236)
>
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> ava:1196)
>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>
>
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> ConversionFilter.java:152)
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>
>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> lter.java:68)
>
>
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> uestRestorerFilter.java:295)
>
>
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> cterEncodingFilter.java:112)
>
> note The full stack trace of the root cause is available in the Apache
> Tomcat/6.0.18 logs.
>
> _____
>
>
> Apache Tomcat/6.0.18
>
>
>
>
> sincerely Oskar
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Im running a wiki farm and when i log on as the admin user on the wiki farm
main page the "Tags auto suggest" feature does work. But when i log on as a
normal user on one of the wikis, the auto suggest feature does not suggest
any tags even though there are about 10 tags already in place.
Does anyone know why this happens?
I am out of the office until 01/19/2010.
MLK holiday
Note: This is an automated response to your message "users Digest, Vol 30,
Issue 65" sent on 1/17/10 6:00:10.
This is the only notification you will receive while this person is away.
Tomcat + Mysql + XE2.0.5
LDAP connection is working since everything is fine when a user logs in for
the first time. But if you log out and try to log in again, it gives an
error "Wrong password".
I appreciate any reply. Thank you in advance!
--
View this message in context: http://n2.nabble.com/LDAP-Auth-Only-Works-for-the-first-time-log-in-tp43721…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I am trying out the TaskManager Application but cant get it to work. I
imported the xar file and have added the panel on one of my pages. I
imported the xar using the Admin user.
When i click on new task i get the following exception
Error number 4001 in 4: Error while parsing velocity page
workresource:TasksCode.NewTask Wrapped Exception: Failed to evaluate content
with id
<http://workresource.btwebtop.com:8080/xwiki/bin/view/TasksCode/NewTask?page…>New
Task<http://workresource.btwebtop.com:8080/xwiki/bin/view/TasksCode/NewTask>
Error number 4001 in 4: Error while parsing velocity page
workresource:TasksCode.NewTask
Wrapped Exception: Failed to evaluate content with id New Task
<http://workresource.btwebtop.com:8080/xwiki/bin/view/TasksCode/NewTask>
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page workresource:TasksCode.NewTask
Wrapped Exception: Failed to evaluate content with id New Task
<http://workresource.btwebtop.com:8080/xwiki/bin/view/TasksCode/NewTask>
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:122)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:566)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:583)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.GeneratedMethodAccessor349.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.parseTemplate(XWiki.java:1710)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1631)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor195.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:1710)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1631)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:123)
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.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.web.ActionFilter.doFilter(ActionFilter.java:117)
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:295)
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.apache.velocity.exception.MethodInvocationException: Invocation of
method 'get' in class java.util.Collections$EmptyList threw exception
java.lang.IndexOutOfBoundsException: Index: 0 at
workresource:TasksCode.NewTaskline 2, column 32?
<http://workresource.btwebtop.com:8080/xwiki/bin/edit/TasksCode/line+2%2C+co…>
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
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.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.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:566)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:583)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.GeneratedMethodAccessor349.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.parseTemplate(XWiki.java:1710)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1631)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor195.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:1710)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1631)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:123)
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.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.web.ActionFilter.doFilter(ActionFilter.java:117)
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:295)
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.lang.IndexOutOfBoundsException: Index: 0
at java.util.Collections$EmptyList.get(Collections.java:2970)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)
… 95 more
Any clues what i am doing wrong?
Thanks
Hi,
Can Xwiki be used for project management of the development of a web based
software product? if so, could you point me to the relevant urls.
Thanks
Hi,
When i create a new wiki, its default url is http://<wikiname>.
localdomain.com:8080/xwiki/bin/view/Main/
I am currently testing this on a local machine so the Enterprise manager is
running on localhost. How can i change it so that the default domain that is
used is localhost so that every wiki's url is http://
<wikiname>.localhost:8080/xwiki/bin/view/Main/
If the above is not possible, is it possible to change it to anything other
than localdomain.com?
Thanks
When i click on the blog link on the "Quick links" panel, it loads the blog.
On this a summary of the blog is shown for each date. If the text on the
blog is past a number of characters, "..." is appended to the text and the
rest of the text is not shown. To view the full blog you have to click the
entry to view the full page.
This is fine but what i found is that when i create a new blog and start
typing on the content box with e.g. a hyphen, the "blog" page does not
display the summary (or the first two lines of the blogs).
It works fine if you use the summary box(which is optional) but if you dont
use the summary boz and just type on the main content box, the main blog
page will not display a summary.
To recreate this, create a new blog entry and add the following text (with
the hyphen as the first character on the blog)
- Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1
- Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1-
Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1-
Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1
- Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1
Save the blog and then click on "blog" on the "quick link" panel. The blog
page will only show "..." for the entry you just created.
If you update the blog you just created to the following (With T as the
first character)
Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1
- Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1-
Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1-
Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1
- Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1Test1
Then the correct summary is displayed on the blog page.
Is it the case that maybe the hyphen character is treated as a special
character?
I am running XWiki Enterprise 2.1.1.25901 on Windows XP.
Thanks
--
View this message in context: http://n2.nabble.com/Is-this-a-bug-on-the-blog-tp4408763p4408763.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Thanks for pointing me to the JIRA issue Thomas.
> About templatexe standard wiki issue: yes this is known and fixed, it
> will be part of XEM 2.1.2. See
> http://jira.xwiki.org/jira/browse/XAWM-110
> Note that this wiki is not absolutely needed, you can create a empty
> virtual wiki (without any template) and import the xar you want for it
> like you would do for any XE installation. The template is just an
> help when you want to create a wiki which is a XE of the same version
> as XEM bout you could want to create something else like Workspaces
> instead of XE.
Hi,
I have an instance of XWiki Enterprise v2.1.1 deployed using a MySQL
database. I've noticed that the engine used in MySQL is MyISAM and was
wondering if there was a particular reason why InnoDB was not the
engine of choice.
Won't the use of MyISAM prove troublesome if lots of attachments are
added to the Wiki? MyISAM uses a single file for all data in a table,
and thus all attachements being stored in the same table, this MyISAM
file might grow huge, which is usually not something suitable.
Any past experience with attachement heavy Wiki instances using MySQL
for storage? Any plan of using InnoDB in the near future?
Thanks,
Mathias.
Hi. I searched this mailing list and xwiki docs for this information but didn't find anything.
Is there any plan to extend the authentication mechanism in WebDAV component to support LDAP? I felt that having access to page content and attachment folders via shared drive (using NetDrive) would be immensely attractive for end users because of the ability to use enhanced editors to directly edit page content and the ability to upload/manage multiple attachments.
Thanks,
Milind
M
Hi all,
This problem is driving me nuts...
I try to retrieve some HTML content from a field of a specific object, and
display it in a page (rendered, not as code).
I wrote this kind of code, and it's the unique content of my page :
{{velocity filter="none"}}
{{html clean="false" wiki="false"}}
#set ($obj = $doc.getObject("MyClass"))
#set ($htmlbody = $obj.bodyhtml)
#set ($htmlbody = $htmlbody.replaceAll(" ", "
").replaceAll("<","<").replaceAll(">",">").replaceAll("<br/>","").replaceAll("&",
"&").replaceAll(""", '"'))
<div class="mail_body_html">
$htmlbody
</div>
{{/html}}
{{/velocity}}
The replacements are here because, for any reason, I could not manage to
store my HTML in the field without having many characters substituted in the
process (like "<" and such), and line break tags are inserted randomly, but
the resulting string looks like regular HTML content (I debugged it in
server logs).
Problem is that, when rendered, this page shows the following :
{{html clean="false" wiki="false"}}
[... html content rendered ...]
So there are 2 problems IMO, and I really don't see from where they come :
- my {{html}} macro is not understood by the wiki engine
- even if not understood, the page understands the $htmlbody is html and
renders it like that. But it assumes wiki="true", and so, for example, all
links are broken (replaced by bunches of "<span class="xwikilink""), and the
result is not clean
Thanks,
Jeremie
Hello there,
Thanks for suggesting these options in detail. I was already using the max
heap size option.
However, I was not aware of replacing the dll in the jvm. Now, I'm eager to
try this one and see what are the results.
Once again, thank you so much....
Hi Dilipkumar,
I've done some tomcat monitoring too (tomcat 6.0.20 (64bit), java 1.6.0_17
and now 1.6.0_18).
- I've never seen more than 96MB memory used for MaxPermGen - and I
understood, that this memory is not used / counted for the heap size.
- For the production system I am using -server -Xms1024m -Xmx2048m
-XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
- It sounds, that you are using the tomcat service (me too) - please note,
that the "-server" option should be replaced by selecting the java server
dll.
Kind regards
mb
Hi Thomas,
I think I might have figured out how to get this working. Had to create the
XWiki.XWikiServerTemplatexe file manually.
Although, I have just tested this over my intranet and not over the internet
for now.
1. I did a fresh install of the latest xwiki 2.2 ML1
2. Followed steps for XEM install (used XEM 2.1.1 xar file +
wikimanager/applicationmanager plugins). Configured virtual wiki server for
main wiki instance
3. Tried installing the template-xe.xar file. Got the following error:
XWiki Enterprise Manager installation failed (Error number 50040 in 5:
com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin: Fail to install package
xar?).
4. Checked that though the above install fails, it does create a
'templatexe' database in MySql. The database is big enough in size. So I had
to assume that this database was an equivalent of a fresh xwiki install.
Also, this cleared my suspicion with something being wrong on the database
side.
5. Went back to the install page again. The page said - no further action
needed.
6. Checked the stdout logs for tomcat. Got a stacktrace that said :
2010-01-15 18:51:07,597
[http://localhost:8080/xwiki/bin/view/XemManager/Install?confirm=1] ERROR
wikimanager.WikiManagerPluginApi - Wiki
[XWiki.XWikiServerTemplatexe,templatexe.template.local,XWiki.Admin] creation
failed
com.xpn.xwiki.plugin.wikimanager.WikiManagerException: Error number 50040 in
5: com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin: Fail to install
package [template-xe.xar]
7. Realised that the file that XWiki was trying to create was
XWiki.XWikiServerTemplatexe. templatexe.template.local was probably the
domain/alias & XWiki.Admin was the default owner for the templatexe wiki
instance.
8. Manually created a XWiki.XWikiServerTemplatexe and filled all the details
as stated in the stacktrace.
9. Created a new wiki using this template as the template. Everything worked
out just fine. Imported the default .xar files & the new wiki works perfect.
I am yet to test this using internet domains. Hopefully, everything works
out just fine.
As always thanks a ton for your help & guidance. Have a great weekend... :)
P.S. The stacktrace in case this is of any use to the XWiki developers:
2010-01-15 18:51:07,597
[http://localhost:8080/xwiki/bin/view/XemManager/Install?confirm=1] ERROR
wikimanager.WikiManagerPluginApi - Wiki
[XWiki.XWikiServerTemplatexe,templatexe.template.local,XWiki.Admin] creation
failed
com.xpn.xwiki.plugin.wikimanager.WikiManagerException: Error number 50040 in
5: com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin: Fail to install
package [template-xe.xar]
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.importPackage(WikiManager.java:
700)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.java:
541)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWikiFromPackage(WikiMa
nager.java:404)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createWikiTemplate(WikiManager.
java:877)
at
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createWikiTemplate(Wik
iManagerPluginApi.java:655)
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(Ub
erspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java
:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.ja
va:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirecti
ve.java:142)
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.ASTIfStatement.render(ASTIfStatement
.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:116)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java
:93)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWiki
RenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:697)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:714)
at
com.xpn.xwiki.api.Document.getRenderedContent(Document.java:492)
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(Ub
erspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java
:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.ja
va:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirecti
ve.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:33
6)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1797)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1718)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:740)
at sun.reflect.GeneratedMethodAccessor118.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(Ub
erspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroPro
xy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:
247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
a: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:33
6)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEn
gine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1797)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1718)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:148)
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(RequestProces
sor.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:690)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilt
er.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:118)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFi
lter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:175)
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:263)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http
11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
2010-01-15 18:56:23,378
[http://localhost:8080/xwiki/bin/edit/XWiki/XWikiServerTemplatexe?template=&
parent=XWiki.XWikiServerXwiki&title=XWiki.XWikiServerTemplatexe] ERROR
web.XWikiAction - Connection aborted
Hi Mathias,
I've a fresh new XWiki 2.1.1 installed on a win 2008 server. This is hosted
on 4Gb RAM & 3 GHz processor VM.
Tomcat is 6.0.20 & MySql is 5.0.37. The memory usage is on the higher side
even though the wiki is practically empty (nothing except the default
pages). What concerns me is that the CPU usage spikes to 100% every once in
a while. Checked the process list & find tomcat eating 98% of CPU usage.
This is definitely scary since this is my production machine. The test
machine which has a similar config (except the OS which is win 2003 server)
works just fine. The tomcat CPU usage doesn't exceed 20% CPU usage ever. And
yes, both machine have same version mysql installed and do not run any other
application or servers.
For the memory part, Tomcat was not satiated with 512 Mb RAM MaxPermGen and
kept throwing OOM almost every day. Had to ramp it to 1024 Mb. That seems to
have taken care of the memory issue for now.
I am still investigating....thanks.
Hi Thomas,
> This error is pretty weird.
> How are you creating the wiki exactly ? Are you using a template ?
No, I am using the main wiki. I was not able to import the template
due to an error while importing the template. However, when I went
back to the installation page, it said - no further action required.
My assumption was everything got installed ok despite the error.
> If i understand well the error it seems like you are creating a wiki using main the main wiki as template. Note that even if it does not seems a very good idea i think It should technically work so i don't know what is the really issue here.
> What database engine are you using ? MySQL ?
I am using MySql community version. Is there a specific version that
you would recommend or a specific methodology to install XEM e.g.
installing XE version x.x.x and then upgrading to XEM version x.x.x.
Or directly install a particular XEM x.x.x. Thanks.
Hi Thomas,
The complete stack trace is as follows:
Error number 4001 in 4: Error while parsing velocity page
WikiManager.CreateNewWiki Wrapped Exception: Failed to evaluate
content with id Create New Wiki
Error number 4001 in 4: Error while parsing velocity page
WikiManager.CreateNewWiki
Wrapped Exception: Failed to evaluate content with id Create New Wiki
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page WikiManager.CreateNewWiki
Wrapped Exception: Failed to evaluate content with id Create New Wiki
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:547)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:564)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.GeneratedMethodAccessor285.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1694)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1694)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
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.ActionFilter.doFilter(ActionFilter.java:117)
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:295)
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:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'createNewWiki' in class
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi threw exception
com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while
saving attachment xwiki-enterprise-manager-application-xem-2.0.5.zip
of document XWiki.Import
Wrapped Exception: Could not execute JDBC batch update at
WikiManager.CreateNewWikiline 157, column 32?
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
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.ASTIfStatement.render(ASTIfStatement.java:87)
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:108)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:547)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:564)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.GeneratedMethodAccessor285.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1694)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1694)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
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.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
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.ActionFilter.doFilter(ActionFilter.java:117)
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:295)
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:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.xpn.xwiki.XWikiException: Error number 3232 in 3:
Exception while saving attachment
xwiki-enterprise-manager-application-xem-2.0.5.zip of document
XWiki.Import
Wrapped Exception: Could not execute JDBC batch update
at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHibernateAttachmentStore.java:122)
at com.xpn.xwiki.XWiki.copyDocument(XWiki.java:4148)
at com.xpn.xwiki.XWiki.copyDocument(XWiki.java:4062)
at com.xpn.xwiki.XWiki.copyDocument(XWiki.java:4056)
at com.xpn.xwiki.XWiki.copyDocument(XWiki.java:4050)
at com.xpn.xwiki.XWiki.copyWikiWeb(XWiki.java:4319)
at com.xpn.xwiki.plugin.wikimanager.WikiManager.copyWiki(WikiManager.java:343)
at com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.java:536)
at com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createNewWiki(WikiManagerPluginApi.java:222)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
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)
… 97 more
Hi,
I am currently running XWiki enterprise v2.1.1 in a Tomcat 6.0.20 on a
dev box. I run into memory consumption problems, jconsole reports hops
of 50Mb when rendering a small page (with no attachements) making use
of the code macro (a single user rendering this page). The same
jconsole also shows roughly 14000 classes loaded! I had to push
MaxPermGen to 128Mb, otherwise I hit OOM.
Any other experience of such a high memory consumption?
Mathias.
Hi Thomas,
Thanks for taking the time to reply to my email. I went through the
link that you provided and was able to get my wiki up and running. I
had to go through my domain name setup for the main instance with my
IT and got it working.
However, after all the imports and setup when i went to create a new
wiki I keep getting errors. I checked the mailing list, online docs &
even googled it and found that the mailing lists suggested using a
different version of XEM.
I tried converting XE 2.0.2 to XEM 2.1.1. I also tried XEM 2.1.1
direct installation. Everything went fine except for the creating of
the wiki. Following is the stack trace which I have shortened so I
could fit it into the email. I believe it is somewhere in my server
environment that there is an issue. All the errors point to execute
JDBC batch update. Please help. Thank you.
Error number 4001 in 4: Error while parsing velocity page
WikiManager.CreateNewWiki Wrapped Exception: Failed to evaluate
content with id Create New Wiki
Error number 4001 in 4: Error while parsing velocity page
WikiManager.CreateNewWiki
Wrapped Exception: Failed to evaluate content with id Create New Wiki
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page WikiManager.CreateNewWiki
Wrapped Exception: Failed to evaluate content with id Create New Wiki
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
...............
org.apache.velocity.exception.MethodInvocationException: Invocation
of method 'createNewWiki' in class
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi threw exception
com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while
saving attachment xwiki-enterprise-manager-application-xem-2.0.5.zip
of document XWiki.Import
Wrapped Exception: Could not execute JDBC batch update at
WikiManager.CreateNewWikiline 157, column 32?
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
.................
at java.lang.Thread.run(Thread.java:595)
Caused by: com.xpn.xwiki.XWikiException: Error number 3232 in 3:
Exception while saving attachment
xwiki-enterprise-manager-application-xem-2.0.5.zip of document
XWiki.Import
Wrapped Exception: Could not execute JDBC batch update
at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHibernateAttachmentStore.java:122)
at com.xpn.xwiki.XWiki.copyDocument(XWiki.java:4148)
> Message: 7
> Date: Fri, 15 Jan 2010 11:08:33 +0100
> From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
> Subject: Re: [xwiki-users] XEM Setup over internet
> To: XWiki Users <users(a)xwiki.org>
> Message-ID:
> <a8e97d9c1001150208w56d0ed31kec3c2ec10c807aad(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Thu, Jan 14, 2010 at 22:03, Dilipkumar Jadhav
> <jadhav.dilipkumar(a)gmail.com> wrote:
>> Hello guys,
>> I ran into some difficulties with setting up a wiki farm again.
>> The website address of the main wiki is (assume):
>> http://internal.ext.com:8080/xwiki
>> In the XWiki.XWikiServerClass the default value is localhost.
>> The moment I restart the tomcat server after switching
>> xwiki.virtual=1, I can no longer access the main wiki from
>> http://internal.ext.com:8080/xwiki over the internet. But I can access
>> it on server as http://localhost:8080/xwiki.
>> I?ve gone through the documents for XEM setup & also setup the
>> ?property? in XWiki.XWikiServerClass as internal.ext.com, ext.com,
>> internal.ext.com:8080, etc. But none of the values seem to help. The
>
> As you can see in the documentation you have to set up the complete
> domain names used to access the wiki (here "internal.ext.com") as
> alias. Are you sure your domain even access the wiki server ?
>
>> localhost value just allows me to access the wiki on localhost only.
>> The setup worked for me over intranet (It was an internal IP address
>> and not a domain name) and the xwiki farm worked fine. But on the
>> internet it just doesn?t work.
>> I am also planning to use URL path based xwiki access and have set
>> xwiki.virtual.usepath to 1.
>> Could someone please guide me in the right direction.
>
> See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki for
> details on both multiwiki modes.
>
>> Thank you for your time and consideration guys.
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
>
>
Hi Thomas,
Thanks for taking the time to reply to me email. I went through the
link that you provided and was able to get my wiki up and running. I
had to go through my domain name setup for the main instance with my
IT and got it working.
However, after all the imports and setup when i went to create a new
wiki I keep getting errors. I checked the mailing list, online docs &
even googled it but found that the mailing lists suggested using a
different version of XEM.
I tried XEM 2.1.1
> Message: 7
> Date: Fri, 15 Jan 2010 11:08:33 +0100
> From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
> Subject: Re: [xwiki-users] XEM Setup over internet
> To: XWiki Users <users(a)xwiki.org>
> Message-ID:
> <a8e97d9c1001150208w56d0ed31kec3c2ec10c807aad(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Thu, Jan 14, 2010 at 22:03, Dilipkumar Jadhav
> <jadhav.dilipkumar(a)gmail.com> wrote:
>> Hello guys,
>> I ran into some difficulties with setting up a wiki farm again.
>> The website address of the main wiki is (assume):
>> http://internal.ext.com:8080/xwiki
>> In the XWiki.XWikiServerClass the default value is localhost.
>> The moment I restart the tomcat server after switching
>> xwiki.virtual=1, I can no longer access the main wiki from
>> http://internal.ext.com:8080/xwiki over the internet. But I can access
>> it on server as http://localhost:8080/xwiki.
>> I?ve gone through the documents for XEM setup & also setup the
>> ?property? in XWiki.XWikiServerClass as internal.ext.com, ext.com,
>> internal.ext.com:8080, etc. But none of the values seem to help. The
>
> As you can see in the documentation you have to set up the complete
> domain names used to access the wiki (here "internal.ext.com") as
> alias. Are you sure your domain even access the wiki server ?
>
>> localhost value just allows me to access the wiki on localhost only.
>> The setup worked for me over intranet (It was an internal IP address
>> and not a domain name) and the xwiki farm worked fine. But on the
>> internet it just doesn?t work.
>> I am also planning to use URL path based xwiki access and have set
>> xwiki.virtual.usepath to 1.
>> Could someone please guide me in the right direction.
>
> See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki for
> details on both multiwiki modes.
>
>> Thank you for your time and consideration guys.
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
>
>
Hi,
I need to understand the differences between some of the modules in XWIKI.
What exactly are the differences between Xwiki Enterprise, Xwiki Enterprise
Manager and Workspaces.
I downloaded Xwiki Enterprise + the the XAR file that came with it. When i
installed it i found that it already had the ability to create new spaces.
Does that mean that workspaces are already included in the Xwiki Enterprise
distribution?
Is the Enterprise manager just a way of managing multiple Xwiki enterprise
instance? I seem to be a bit confused. When i looked at the manuals it says
that enterprise manager allows you to manage multiple wikis but i thought
that this was already possible using spaces in the "Xwiki Enterprise"
installation that i tried.
Thanks
Hi,
Following this page<http://code.xwiki.org/xwiki/bin/view/Applications/SearchApplicationLuceneSe…>,
I was interested in using lucene to search for pages containing specific
objects using, for example, syntax like "object:XWiki.XWikiUsers AND
jbousque".
I did not manage to have any results, with different classes. I also tested
using only "object:XWiki.XWikiUsers", expecting to retrieve the list of
users, but again no result at all.
Am I missing something ?
Thanks,
Jeremie
Hi,
I just migrated my instance from 2.0.3 to 2.1.1, and imported new xar,
including all Blog pages.
My instance is available either directly, or through a reverse proxy for
larger scope:
Reverse Proxy (Apache) <-> Proxy (Apache) <-> Wiki (tomcat)
Viewing, editing and posting new blog entries when using url of proxy or
directly tomcat works perfectly.
Posting, when using url of reverse proxy, does not work because when
clicking "create" button, the following url is used :
http://r-wiki.company.com/test/bin/view/Blog/<span
class=?entrySpace=Blog&entryTitle=jbtests
Browsing the wiki and editing pages through our reverse proxy always worked
perfectly, and posting blogs was not an issue since now. I think it's linked
to urls replacement in syntax 2.0, and the fact that it considers urls local
or external, but I'm not sure.
Any help appreciated,
Thanks,
Jeremie
our server doesn't have the latest lib/package installed. For example, we
still use Tomcat5. This situation has likely caused 2 errors. Each error is
time-consuming since it didn't give me clear information.
So I am looking for a list of libs/packages that are used by XE. Is there
such a list?
--
View this message in context: http://n2.nabble.com/How-to-Find-XE-Environment-Requests-tp4393659p4393659.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Guys,
What is the wiki syntax for display code in a page. Here is an example of
what i would like to do.
Look at this page http://15black.bluedepot.com/styles/tiddlypedia.htm , Look
at the TiddlyPediaPackage section half way through the page. The syntax to
achieve that is as simple as typing this
{{{
HTML Structure
var sidebar = document.getElementbyId('sidebar')
}}}
I tried to do the same for xwiki pages but it dont work. I think it is
possible to do it using the "code" macro but this only works when you use
the WYSIWYG editor. It doesnt work in WIKI edit mode. Is there a simple
syntax that i can use to achieve this?
Thanks
Hello guys,
I ran into some difficulties with setting up a wiki farm again.
The website address of the main wiki is (assume):
http://internal.ext.com:8080/xwiki
In the XWiki.XWikiServerClass the default value is localhost.
The moment I restart the tomcat server after switching
xwiki.virtual=1, I can no longer access the main wiki from
http://internal.ext.com:8080/xwiki over the internet. But I can access
it on server as http://localhost:8080/xwiki.
I’ve gone through the documents for XEM setup & also setup the
“property” in XWiki.XWikiServerClass as internal.ext.com, ext.com,
internal.ext.com:8080, etc. But none of the values seem to help. The
localhost value just allows me to access the wiki on localhost only.
The setup worked for me over intranet (It was an internal IP address
and not a domain name) and the xwiki farm worked fine. But on the
internet it just doesn’t work.
I am also planning to use URL path based xwiki access and have set
xwiki.virtual.usepath to 1.
Could someone please guide me in the right direction.
Thank you for your time and consideration guys.
Hi Anne,
There are 2 options:
1) import the document into the wiki. We have an office importer.
2) preview the document's content directly in the page
1) exists and works.
2) is in development and should be ready for XE 2.3 M1 (possibly earlier if we can but hard to commit to it). FYI 2.3M1 should be early March.
All that said the code is already available in svn. Thus if you're technical you can build it and install it in your wiki. It's in the sandbox right now:
http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-officepreview/
Thanks
-Vincent
PS: Please answer the FAQ entry you've created and the comment you've left too on xwiki.org, now that you know the answer! :)
On Jan 15, 2010, at 9:02 AM, Anne Hoffmann wrote:
> Hi,
>
>
>
> can I somehow make the content of an attached document available on the
> page?
>
> I would like to view this content directly on the page, not just link to it,
> e.g. a Office or PDF file.
>
>
>
> Thanks!
Hi,
can I somehow make the content of an attached document available on the
page?
I would like to view this content directly on the page, not just link to it,
e.g. a Office or PDF file.
Thanks!
Anne Hoffmann
------------------------------
Technical Writer
parson communication
Need your help bady! I just finished installation of XE 2.1.1.
Mysql5.x + tomcat5.x + linux(unknown, may be unix)
Error info:
javax.servlet.ServletException: Servlet execution threw an exception
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
root cause
java.lang.NoSuchFieldError: fFeatures
org.apache.xerces.parsers.XML11NonValidatingConfiguration.<init>(Unknown
Source)
org.apache.xerces.parsers.XML11NonValidatingConfiguration.<init>(Unknown
Source)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
java.lang.Class.newInstance0(Class.java:350)
java.lang.Class.newInstance(Class.java:303)
org.xwiki.xml.internal.DefaultXMLReaderFactory.createXMLReader(DefaultXMLReaderFactory.java:81)
org.xwiki.rendering.internal.parser.wikimodel.xhtml.XWikiXMLReaderFactory.createXMLReader(XWikiXMLReaderFactory.java:49)
org.xwiki.rendering.internal.parser.WikiModelXHTMLParser.createWikiModelParser(WikiModelXHTMLParser.java:143)
org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:132)
org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:97)
org.xwiki.rendering.internal.parser.WikiModelHTMLParser.parse(WikiModelHTMLParser.java:67)
com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5738)
com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:843)
com.xpn.xwiki.plugin.lucene.IndexData.<init>(IndexData.java:72)
com.xpn.xwiki.plugin.lucene.DocumentData.<init>(DocumentData.java:52)
com.xpn.xwiki.plugin.lucene.IndexUpdater.add(IndexUpdater.java:320)
com.xpn.xwiki.plugin.lucene.IndexUpdater.onEvent(IndexUpdater.java:408)
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:243)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1346)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1287)
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282)
com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:3062)
com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:790)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:761)
com.xpn.xwiki.XWiki.<init>(XWiki.java:684)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:321)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
This is my page:
http://secure10.olemiss.edu/xwiki-enterprise-web-2.1.1/bin/view/Main/
Before I installed it on our web server, I made a local installation. It
worked well. Environment is different though.
--
View this message in context: http://n2.nabble.com/error-on-First-time-run-Need-your-help-badly-tp4291746…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello dear all,
I've contributed a {{column}} macro for syntax 2.0 on code.xwiki.org.
You can check it out at
http://code.xwiki.org/xwiki/bin/view/Macros/Column20Macro
Please report any issue you would have with it as well as feature
requests on http://jira.xwiki.org/jira/browse/XCONTRIB under the "Column
Macro 2.0" component. (Doing this will help making the macro better and
possibly integrating it later as a bundled macro with XE).
Thanks and Regards,
Jerome.
Guys I'm very sorry to bother you again. I hope you don't feel annoyed.
I call this part, right above page title, something like " XWiki: Welcome
to your wiki » XWiki Space » Data types » XWiki Group Class » XWikiAllGroup
", "Your Position".
I use Tomcat5.x + MySQL5.x + XE2.0.5
Now there is an error, instead of the right position. Error is very scary:
Error number 4001 in 4: Error while parsing velocity page Main.WebHome
Wrapped Exception: Failed to evaluate content with id [Main.WebHome]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page Main.WebHome
Wrapped Exception: Failed to evaluate content with id [Main.WebHome]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.interpret(XWikiVelocityRenderer.java:52)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:269)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:175)
at com.xpn.xwiki.XWiki.parseContent(XWiki.java:1603)
at com.xpn.xwiki.api.XWiki.parseContent(XWiki.java:607)
at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1648)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1648)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
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:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getRenderedTitle' in class com.xpn.xwiki.api.Document threw
exception java.lang.NoSuchFieldError: fFeatures at Main.WebHome[line 2,
column 62]
at
org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:351)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
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.ASTMethod.execute(ASTMethod.java:155)
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.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:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.interpret(XWikiVelocityRenderer.java:52)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:269)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:175)
at com.xpn.xwiki.XWiki.parseContent(XWiki.java:1603)
at com.xpn.xwiki.api.XWiki.parseContent(XWiki.java:607)
at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1648)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1648)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
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:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchFieldError: fFeatures
at org.apache.xerces.parsers.XML11NonValidatingConfiguration.<init>(Unknown
Source)
at org.apache.xerces.parsers.XML11NonValidatingConfiguration.<init>(Unknown
Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
org.xwiki.xml.internal.DefaultXMLReaderFactory.createXMLReader(DefaultXMLReaderFactory.java:81)
at
org.xwiki.rendering.internal.util.XWikiXMLReaderFactory.createXMLReader(XWikiXMLReaderFactory.java:50)
at
org.xwiki.rendering.internal.parser.WikiModelXHTMLParser.createWikiModelParser(WikiModelXHTMLParser.java:154)
at
org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:86)
at
org.xwiki.rendering.internal.parser.WikiModelXHTMLParser.parse(WikiModelXHTMLParser.java:111)
at
org.xwiki.rendering.internal.parser.WikiModelHTMLParser.parse(WikiModelHTMLParser.java:67)
at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5628)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:823)
at com.xpn.xwiki.api.Document.getRenderedTitle(Document.java:263)
at sun.reflect.GeneratedMethodAccessor176.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)
... 109 more
--
View this message in context: http://n2.nabble.com/Your-Position-gives-error-tp4375071p4375071.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi.
I am creating a "per Space" panels derived from QuickLinks. I would like to create a link in it that points to AllDocs but would like to limit the search results initially to only the space of the current document being viewed. I have been unable to figure out if it is possible to add a parameter to the URL for the view action on Main.AllDocs. Can someone give me a clue?
Thanks,
Milind
v :: LDRize::view
Hi,
I just tried to install XE 2.1.1 from the war file. The tables were created,
but trying to call the administration section (to download xar-archive) I
got the following error:
----------------
Error number 4001 in 4: Error while parsing velocity page
Wrapped Exception: Failed to evaluate content with id []
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page
Wrapped Exception: Failed to evaluate content with id []
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:122)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1710)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1622)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:123)
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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
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.web.ActionFilter.doFilter(ActionFilter.java:117)
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:295)
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:175)
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:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getDocument' in class com.xpn.xwiki.api.XWiki threw exception
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document XWiki.AdminSheet
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.XWikiDocument#-259212042] at <unknown template>[line 79,
column 12]
at
org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
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.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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
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.web.ActionFilter.doFilter(ActionFilter.java:117)
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:295)
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:175)
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:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception
while reading document XWiki.AdminSheet
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.XWikiDocument#-259212042]
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:769)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:288)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1368)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1408)
at com.xpn.xwiki.api.XWiki.getDocument(XWiki.java:122)
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)
Environment:
Windows XP SP2 + Tomcat6 + Oracle 10g
I could successfully deploy XE v.1.8.3 (and I had positive experience with
earlier versions 1.2 and 1.6 as well) with the same environment, therefore I
can not understand what I am doing wrong now. Cookies and cache were deleted
and the browser was restarted (tried in both – Firefox and IE). There is no
entry with xwd_id = -259212042 in the xwikidoc table.
I know I can just try to upgrade 1.8.3 to 2.1.1, but for some reason I need
the new installation of XE 2.1.1.
Thanks in advance,
Alla
--
View this message in context: http://n2.nabble.com/Error-on-Attempt-to-install-XE-2-1-tp4392576p4392576.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello again,
the RSS feeds of the wiki do not seem to be working.
I tried subscribing to them using once my regular GReader, and also in
Outlook, to no avail ...
Is there something specific to be parametered in the Wiki or on the Server?
Thanks,
Xavier
I am sorry to bother you guys again. Please help give me some tips.
I have created a space for each department at this university and a group
for each space Say groupHR is for spaceHR and spaceHR is for the HR
Department.
Now I want every employee in HR Department to be assigned to groupHR
everytime he logs in. How can I do it?
I'm very new to XWiki. Any reply is high appreciated.
Thank you in advance!
--
View this message in context: http://n2.nabble.com/Assign-LDAP-Group-to-XWiki-Group-tp4351008p4351008.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello everybody,
instad of displaying the event calendar only the following code is
displayed:
$cparams.put("categories", $rqcategories)
$cview.getHTMLCalendar($cparams, "")
I was surprised as I googled the code, most of the calendar pages didn't
work properly. Is it a general problem, because as I used the calendar
within the standalone version it was working fine! That's why I'm sure I did
everything right...
I appreciate any help! Thank you yery much!
Cheers,
Fabian
--
View this message in context: http://n2.nabble.com/Event-Calendar-tp4348913p4348913.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I'm investigating how to use curl or ~like this to create custom object
for application integration (it should be authenticated, which seems no
problem).
I'm studying
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI
It is possible to retrieve custom object, but I couldn't find how to add
them.
How it could be done?
Thanks in advance,
Valdis
Tomcat 5.x + MySQL 5.x + XE2.0.5 + LDAP
There is no 'Add new user' under Group Admin page!
Also there is an error:
Error number 4001 in 4: Error while parsing velocity page Wrapped Exception:
Failed to evaluate content with id []
Error number 4001 in 4: Error while parsing velocity page
Wrapped Exception: Failed to evaluate content with id []
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page
Wrapped Exception: Failed to evaluate content with id []
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1624)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1624)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
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:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getRenderedTitle' in class com.xpn.xwiki.api.Document threw
exception java.lang.NoSuchFieldError: fFeatures at <unknown template>[line
9, column 69]
at
org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:351)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
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.ASTMethod.execute(ASTMethod.java:155)
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.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTStringLiteral.value(ASTStringLiteral.java:290)
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.ASTIfStatement.render(ASTIfStatement.java:87)
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.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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1624)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.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:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1624)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
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:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchFieldError: fFeatures
at org.apache.xerces.parsers.XML11NonValidatingConfiguration.<init>(Unknown
Source)
at org.apache.xerces.parsers.XML11NonValidatingConfiguration.<init>(Unknown
Source)
at sun.reflect.GeneratedConstructorAccessor100.newInstance(Unknown Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
org.xwiki.xml.internal.DefaultXMLReaderFactory.createXMLReader(DefaultXMLReaderFactory.java:81)
at
org.xwiki.rendering.internal.util.XWikiXMLReaderFactory.createXMLReader(XWikiXMLReaderFactory.java:50)
at
org.xwiki.rendering.internal.parser.WikiModelXHTMLParser.createWikiModelParser(WikiModelXHTMLParser.java:154)
at
org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:86)
at
org.xwiki.rendering.internal.parser.WikiModelXHTMLParser.parse(WikiModelXHTMLParser.java:111)
at
org.xwiki.rendering.internal.parser.WikiModelHTMLParser.parse(WikiModelHTMLParser.java:67)
at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5628)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:823)
at com.xpn.xwiki.api.Document.getRenderedTitle(Document.java:263)
at sun.reflect.GeneratedMethodAccessor224.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)
... 84 more
--
View this message in context: http://n2.nabble.com/No-Add-new-user-Under-Group-Editing-tp4349295p4349295.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'd like to use the 'Delete Space Snippet' in XWiki Enterprise, but I have
no idea where to copy the code ...
Thanks in advance for your help ...
Xavier
XE 2.05 + Mysql 5.x + Tomcat 5.x
After installation it worked. Then I setup LDAP connections and imported the
official example (.xar) files. It was still working. Then I left for lunch.
When I came back I got the following exceptions:
javax.servlet.ServletException: Error number 3 in 0: Could not initialize
main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document
XWiki.XWikiPreferences
Wrapped Exception: Error number 3211 in 3: Exception while updating archive
XWiki.XWikiPreferences
Wrapped Exception: Error number 3212 in 3: Exception while loading archive
104,408,758
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute query
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:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
root cause
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.XWikiPreferences
Wrapped Exception: Error number 3211 in 3: Exception while updating archive
XWiki.XWikiPreferences
Wrapped Exception: Error number 3212 in 3: Exception while loading archive
104,408,758
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute query
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
--
View this message in context: http://n2.nabble.com/Wrapped-Exception-Error-number-3212-in-3-Exception-whi…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I,
I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle 10.2
/ windows 2003 server / Apache 2.0.23).
I have installed last tomcat, installed xwiki war file, copied oracle
jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg.
Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ seems to
work fine.
I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with
success.
But when I try to access to that wiki from SSL URL, as before
(https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts
errors (line 2, caracter 1, syntax error, code 0... many many times)
Is there any way to make it work ?
I tried to force xwiki.url.protocol=https in xwiki.cfg, without results.
I tried to create another wiki, same problem.
I tried to add the full URL as alias, doesn't work !
=> I don't have any trouble accessing by
http://localhost:8080/xwiki/wiki/xwiki
but I can't acces the same wiki using external SSL URL
https://mydomain/xwiki/wiki/xwiki
Have you any idea of the requested configuration to make it work ?
Thanks,
Gaëtan
--
__________________________________________
Gaëtan GUYODO
Chargé de mission
Centre Antipoison - Hôpital Fernand WIDAL
200, rue du faubourg St Denis
75475 PARIS Cedex 10
Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56
__________________________________________
Hi guys,
What is the best way to backup an XWIKI instance? I am using XWiki
Enterprise 2.1.1.25889. I have seen a couple of options that are available
but i couldnt find one that suits my needs.
On every wiki page, there is an option to export as pdf, html, rtf or as
XAR. This is quite good but when i tried to export as html it only exports
the current page i am looking at.
There is also the import/export tool (
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ImportExport).
Unfortunately this exports as XAR but i want to export as html.
What i would like to do is backup the content of my wiki as html pages. It
would be usefull if i can export the whole wiki as html pages. The reason
for this is i want to be able to backup the contents incase my xwiki
instance is not accessible. I would like to still be able to access the
content. The best way for this is to backup the content as html which will
make it independent of any wiki engine.
Is there a way to export everything as html pages? (Not single pages but the
whole wiki and for all users).
Thanks
Hi,
Finally there was a jboss-cache-jdk50.jar in the JBOSS lib directory.
I replaced it with the jbosscache-core-3.2.1.GA.jar found in xwiki war, and
the error has changed !
Now it seems to be related to lucene.
Once again, I looked for lucene in jboss and xwiki lib directories, and I
found lucene-core-2.3.1.jar in jboss tree and lucene-core-2.9.1.jar in
xwiki tree.
Did again the replacement, and now it works! I get the xWiki main page :-))
Thanks again for your help,
Antonio DA SILVA
Antonio
DA-SILVA/SUDEST/F
R/CEGELEC A
XWiki Users <users(a)xwiki.org>
12/01/2010 14:00 cc
Objet
Re: [xwiki-users] Error at
installing Xwiki with JBOSS and
MySQL(Document link: Antonio
DA-SILVA)
Hi,
The only "jbosscache" files I found in the JBOSS tree are:
jbosscache-core-3.2.1.GA.jar
xwiki-core-cache-jbosscache-2.1.1.jar
Both are in the xwiki war subtree (WEB-INF\lib)
Antonio DA SILVA
Thomas Mortagne
<thomas.mortagne@
xwiki.com> A
Envoyé par : XWiki Users <users(a)xwiki.org>
users-bounces@xwi cc
ki.org
Objet
Re: [xwiki-users] Error at
12/01/2010 13:54 installing Xwiki with JBOSS and
MySQL
Veuillez répondre
à
XWiki Users
<users(a)xwiki.org>
On Tue, Jan 12, 2010 at 13:53, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
> On Tue, Jan 12, 2010 at 13:40, <antonio.da-silva(a)cegelec.com> wrote:
>> Hi,
>>
>> I downloaded the current Xwiki version : xwiki-enterprise-web-2.1.1.war
>>
>> Thanks a lot for the clue on beanutils. I replaced the file
>> commons-beanutils-1.7.0.jar in jboss-4.2.2.GA\server\default\lib by
>> commons-beanutils-1.8.0.jar found in xwiki.war\WEB-INF\lib,
>> and now the JBOSS server starts with no error.
>>
>> But now when I try to access the xwiki main page from my browser
>> (localhost:8080/xwiki/), I get another error:
>>
>> Etat HTTP 500 -
>>
>>
>>
>> type Rapport d'exception
>>
>>
>> message
>>
>>
>> description Le serveur a rencontré une erreur interne () qui l'a empêché
de
>> satisfaire la requête.
>>
>>
>> exception
>>
>>
>> javax.servlet.ServletException: L'exécution de la servlet a lancé une
>> exception
>>
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter
>> (ConversionFilter.java:152)
>> com.xpn.xwiki.web.ActionFilter.doFilter
(ActionFilter.java:117)
>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter
>> (XWikiDavFilter.java:68)
>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter
>> (SavedRequestRestorerFilter.java:295)
>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter
>> (SetCharacterEncodingFilter.java:112)
>> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter
>> (ReplyHeaderFilter.java:96)
>>
>>
>>
>> cause mère
>>
>>
>> java.lang.VerifyError: (class: org/jboss/cache/config/Configuration,
>> method: setCacheLoaderConfig signature:
>> (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to
>> function
>> org.jboss.cache.config.parsing.XmlConfigurationParser.<init>
>> (XmlConfigurationParser.java:66)
>>
>>
org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.loadConfig
>> (JBossCacheCacheConfiguration.java:237)
>>
>>
org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.getDefaultConfig
>> (JBossCacheCacheConfiguration.java:205)
>>
>> org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.load
>> (JBossCacheCacheConfiguration.java:117)
>>
>> org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.<init>
>> (JBossCacheCacheConfiguration.java:97)
>>
>>
org.xwiki.cache.jbosscache.internal.AbstractJBossCacheCacheFactory.newCache
>> (AbstractJBossCacheCacheFactory.java:60)
>> com.xpn.xwiki.store.XWikiCacheStore.initCache
>> (XWikiCacheStore.java:145)
>> com.xpn.xwiki.store.XWikiCacheStore.initCache
>> (XWikiCacheStore.java:130)
>> com.xpn.xwiki.store.XWikiCacheStore.<init>
>> (XWikiCacheStore.java:85)
>> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:707)
>> com.xpn.xwiki.XWiki.<init>(XWiki.java:684)
>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:321)
>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
>>
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:690)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter
>> (ConversionFilter.java:152)
>> com.xpn.xwiki.web.ActionFilter.doFilter
(ActionFilter.java:117)
>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter
>> (XWikiDavFilter.java:68)
>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter
>> (SavedRequestRestorerFilter.java:295)
>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter
>> (SetCharacterEncodingFilter.java:112)
>> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter
>> (ReplyHeaderFilter.java:96)
>>
>>
>>
>> note La trace complète de la cause mère de cette erreur est disponible
dans
>> les fichiers journaux de JBossWeb/2.0.1.GA.
>>
>>
>>
>>
>>
>> Could you help ?
>
> If think it's the same issue but with jbosscache this time, XWiki
> depends on jbosscache 3.2.1, i guess your application server has
> jbosscache 2.x or something. Problem is that it will maybe be more
> complex this time since i don't know if you can simply do the same
> thing here since you are using JBoss application server.
Seems weird that JBoss application server is unable to properly
isolate application.
>
>>
>>
>> Thanks in advance,
>> Antonio DA SILVA
>>
>>
>>
>>
>> Thomas Mortagne
>> <thomas.mortagne@
>> xwiki.com>
A
>> Envoyé par : XWiki Users <users(a)xwiki.org>
>> users-bounces@xwi
cc
>> ki.org
>>
Objet
>> Re: [xwiki-users] Error at
>> 11/01/2010 20:37 installing Xwiki with JBOSS and
>> MySQL
>>
>> Veuillez répondre
>> à
>> XWiki Users
>> <users(a)xwiki.org>
>>
>>
>>
>>
>>
>>
>> 2010/1/11 <antonio.da-silva(a)cegelec.com>:
>>>
>>> Hi,
>>>
>>> I'm trying to install Xwiki on a W2003 server, using a JBOSS container
>>> (4.2.2GA), and a MySQL database (5.0.67).
>>
>> Which version of XWiki are you using ?
>>
>>>
>>> I followed the steps described in the Xwiki Admin Doc (without the DS
>>> reference in xwiki.xml)
>>>
>>> I'm getting an error when starting the JBOSS server.
>>>
>>> 11:21:48,406 INFO [TomcatDeployer] deploy, ctxPath=/xwiki,
>>> warUrl=.../deploy/xwiki.war/
>>> 11:21:53,718 ERROR [[/xwiki]] Exception lors de l'envoi de l'ΘvΦnement
>>> contexte initialisΘ (context initialized) α l'instance de classe
d'Θcoute
>>> (list
>>> ener) org.xwiki.container.servlet.XWikiServletContextListener
>>> java.lang.NoSuchMethodError:
>>> org.apache.commons.beanutils.ConvertUtilsBean.register(ZZI)V
>>
>> Looks like the wrong version of BeanUtil is loaded or BeanUtil is not
here.
>>
>> You check that your have commons-beanutils-1.8.0.jar file in
>> WEB-INF/lib and no other "beanutils" related file.
>>
>> If it's not that then it probably mean that your application server is
>> using an older version of beanutils I guess, in that case you should
>> try to find where this jar is and replace it with the 1.8.0 version.
>>
>>> at
>>>
org.xwiki.properties.internal.converter.ConvertUtilsConverter.initialize
>>> (ConvertUtilsConverter.java:48)
>>> at
>>> org.xwiki.component.embed.EmbeddableComponentManager.createInstance
>>> (EmbeddableComponentManager.java:409)
>>> at
org.xwiki.component.embed.EmbeddableComponentManager.initialize
>>> (EmbeddableComponentManager.java:343)
>>> at org.xwiki.component.embed.EmbeddableComponentManager.lookup
>>> (EmbeddableComponentManager.java:111)
>>> at
>>> org.xwiki.component.embed.EmbeddableComponentManager.createInstance
>>> (EmbeddableComponentManager.java:383)
>>> at
org.xwiki.component.embed.EmbeddableComponentManager.initialize
>>> (EmbeddableComponentManager.java:343)
>>> at org.xwiki.component.embed.EmbeddableComponentManager.lookup
>>> (EmbeddableComponentManager.java:111)
>>> at
>>> org.xwiki.component.embed.EmbeddableComponentManager.createInstance
>>> (EmbeddableComponentManager.java:383)
>>> at
org.xwiki.component.embed.EmbeddableComponentManager.initialize
>>> (EmbeddableComponentManager.java:343)
>>> at org.xwiki.component.embed.EmbeddableComponentManager.lookup
>>> (EmbeddableComponentManager.java:111)
>>> at
>>> org.xwiki.component.embed.EmbeddableComponentManager.createInstance
>>> (EmbeddableComponentManager.java:383)
>>> at
org.xwiki.component.embed.EmbeddableComponentManager.initialize
>>> (EmbeddableComponentManager.java:343)
>>> at org.xwiki.component.embed.EmbeddableComponentManager.lookup
>>> (EmbeddableComponentManager.java:111)
>>> at
>>> org.xwiki.component.embed.EmbeddableComponentManager.createInstance
>>> (EmbeddableComponentManager.java:383)
>>> at
org.xwiki.component.embed.EmbeddableComponentManager.initialize
>>> (EmbeddableComponentManager.java:343)
>>> at
org.xwiki.component.embed.EmbeddableComponentManager.lookupList
>>> (EmbeddableComponentManager.java:128)
>>> at
org.xwiki.component.internal.DefaultComponentManager.lookupList
>>> (DefaultComponentManager.java:105)
>>> at
>>> org.xwiki.observation.internal.DefaultObservationManager.initialize
>>> (DefaultObservationManager.java:129)
>>> at
>>> org.xwiki.component.embed.EmbeddableComponentManager.createInstance
>>> (EmbeddableComponentManager.java:409)
>>> at
org.xwiki.component.embed.EmbeddableComponentManager.initialize
>>> (EmbeddableComponentManager.java:343)
>>> at org.xwiki.component.embed.EmbeddableComponentManager.lookup
>>> (EmbeddableComponentManager.java:101)
>>> at
>>>
>>
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized
>>> (XWikiServletContextListener.java:75)
>>> at org.apache.catalina.core.StandardContext.listenerStart
>>> (StandardContext.java:3856)
>>> at org.apache.catalina.core.StandardContext.start
>>> (StandardContext.java:4361)
>>> at org.apache.catalina.core.ContainerBase.addChildInternal
>>> (ContainerBase.java:790)
>>> at org.apache.catalina.core.ContainerBase.addChild
>>> (ContainerBase.java:770)
>>>
>>> Can you help ?
>>>
>>> Thanks in advance
>>>
>>> Antonio DA SILVA
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>>
>>
>> --
>> Thomas Mortagne
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
>
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
I'm trying to install Xwiki on a W2003 server, using a JBOSS container
(4.2.2GA), and a MySQL database (5.0.67).
I followed the steps described in the Xwiki Admin Doc (without the DS
reference in xwiki.xml)
I'm getting an error when starting the JBOSS server.
11:21:48,406 INFO [TomcatDeployer] deploy, ctxPath=/xwiki,
warUrl=.../deploy/xwiki.war/
11:21:53,718 ERROR [[/xwiki]] Exception lors de l'envoi de l'ΘvΦnement
contexte initialisΘ (context initialized) α l'instance de classe d'Θcoute
(list
ener) org.xwiki.container.servlet.XWikiServletContextListener
java.lang.NoSuchMethodError:
org.apache.commons.beanutils.ConvertUtilsBean.register(ZZI)V
at
org.xwiki.properties.internal.converter.ConvertUtilsConverter.initialize
(ConvertUtilsConverter.java:48)
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance
(EmbeddableComponentManager.java:409)
at org.xwiki.component.embed.EmbeddableComponentManager.initialize
(EmbeddableComponentManager.java:343)
at org.xwiki.component.embed.EmbeddableComponentManager.lookup
(EmbeddableComponentManager.java:111)
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance
(EmbeddableComponentManager.java:383)
at org.xwiki.component.embed.EmbeddableComponentManager.initialize
(EmbeddableComponentManager.java:343)
at org.xwiki.component.embed.EmbeddableComponentManager.lookup
(EmbeddableComponentManager.java:111)
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance
(EmbeddableComponentManager.java:383)
at org.xwiki.component.embed.EmbeddableComponentManager.initialize
(EmbeddableComponentManager.java:343)
at org.xwiki.component.embed.EmbeddableComponentManager.lookup
(EmbeddableComponentManager.java:111)
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance
(EmbeddableComponentManager.java:383)
at org.xwiki.component.embed.EmbeddableComponentManager.initialize
(EmbeddableComponentManager.java:343)
at org.xwiki.component.embed.EmbeddableComponentManager.lookup
(EmbeddableComponentManager.java:111)
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance
(EmbeddableComponentManager.java:383)
at org.xwiki.component.embed.EmbeddableComponentManager.initialize
(EmbeddableComponentManager.java:343)
at org.xwiki.component.embed.EmbeddableComponentManager.lookupList
(EmbeddableComponentManager.java:128)
at org.xwiki.component.internal.DefaultComponentManager.lookupList
(DefaultComponentManager.java:105)
at
org.xwiki.observation.internal.DefaultObservationManager.initialize
(DefaultObservationManager.java:129)
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance
(EmbeddableComponentManager.java:409)
at org.xwiki.component.embed.EmbeddableComponentManager.initialize
(EmbeddableComponentManager.java:343)
at org.xwiki.component.embed.EmbeddableComponentManager.lookup
(EmbeddableComponentManager.java:101)
at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized
(XWikiServletContextListener.java:75)
at org.apache.catalina.core.StandardContext.listenerStart
(StandardContext.java:3856)
at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4361)
at org.apache.catalina.core.ContainerBase.addChildInternal
(ContainerBase.java:790)
at org.apache.catalina.core.ContainerBase.addChild
(ContainerBase.java:770)
Can you help ?
Thanks in advance
Antonio DA SILVA
Hello,
I've got an issue with the latest xwiki 2.1.1 running on WebSphere 6.1 and
DB2 9.5.
First of all, I made a test installation on Tomcat/Postgres which worked
fine.
I followed exactly the installation instructions for WebSphere and DB2,
except I'm using a JNDI Datasource which i configured in the
hibernate.cfg.xml.
Now I get the following Exception when starting teh Application:
[12.01.10 13:18:36:434 CET] 000001f7 WebApp E Error while adding
servlet mapping for servlet : action :
java.lang.Exception: Mapping clash for ServletWrapper[action:[action:/bin/*,
action:/wiki/*, action:/testbin/*, action:/xwiki/*]]: Target
com.ibm.ws.portletcontainer.portletserving.PortletServingExtensionProcessor@358e358e
already exists at node xwiki
at com.ibm.ws.util.ClauseNode.add(ClauseNode.java:59)
at com.ibm.ws.util.URIMatcher.put(URIMatcher.java:131)
at com.ibm.ws.util.URIMapper.addMapping(URIMapper.java:47)
at
com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:554)
at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:363)
at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:292)
at
com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
at
com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:671)
at
com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:624)
at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1305)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1138)
at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:817)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:951)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1493)
at
com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4097)
at
com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4194)
at
com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:245)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1498)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62)
at sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265)
at
javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1092)
at
javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:973)
at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1082)
at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:975)
at
com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239)
at
com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:537)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1096)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1037)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:566)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1070)
at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:273)
at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:319)
at
com.ibm.isclite.container.controller.InformationController.processForwardConfig(InformationController.java:206)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1096)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1037)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at
com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistence(WSCUrlFilter.java:792)
at
com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:363)
at
com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:229)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:566)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at
com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:784)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
[12.01.10 13:18:36:438 CET] 000001f7 VirtualHost I SRVE0250I: Das
Webmodul xwiki wurde an default_host[*:9080,*:80,*:5060,*:5061,*:443,*:9443]
gebunden.
[12.01.10 13:18:36:459 CET] 000001f7 ApplicationMg A WSVR0221I: Die
Anwendung wurde gestartet: xwiki_tta_db2_war
When i try to open the xwiki application dozens of the following exceptions
are thrown:
[12.01.10 13:25:19:140 CET] 0000003f DefaultLoadEv I
org.hibernate.event.def.DefaultLoadEventListener onLoad Error performing
load command
org.hibernate.ObjectNotFoundException: No
row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiDocument#104408758]
at
org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:145)
at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:784)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:649)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:288)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1375)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1415)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2056)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2088)
at
com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:118)
at
com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:61)
at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1054)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:750)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:684)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:321)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
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:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1096)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1037)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:566)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3444)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Although about 30 exceptions of this kind are thrown, the application seems
to work. I can create a Document with content which survives a restart of
the application. Any ideas? Are the given exceptions related to each other?
Thanks in advance,
Seb
--
View this message in context: http://n2.nabble.com/xwiki-2-1-1-on-Websphere-DB2-tp4291275p4291275.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have been using the standalone package (2.04) for some time and now our
wiki is starting to grow. So I wanted to migrate over to a Mysql database. I
have setup the default wiki in Mysql, that works. Now I want to move over
all the content. I thought I could just export a xar file and then import it
into my Mysql instance. But first off the xar file is only like 6megs big
and second when I try to import it the tool says there are no documents in
it.
Also, are attachment exported? We have a few rather large files as
attachments so 6 megs seems really small.
Thank you
Daniel
--
View this message in context: http://n2.nabble.com/Migrate-to-Mysql-tp4275838p4275838.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm thinking abut another custom solution based on xwiki.
Though I'm worried about storage consumption and performance if there
will be >10k objects with ~10 string attributes.
My experience with quite small solutions
(few hundreds of objects http://odo.lv/Recipes/Recipes1_en and
http://www.ante.lv/xwiki/bin/view/Arts.Songs/ )
required using of apache cache.
I know that http://l10n.xwiki.org/xwiki/bin/view/L10N/ is quite slow,
but don't know why.
Can you share your experience/recommendations, how to build it in the
right way?
Thanks in advance,
Valdis
Did you try to list pages using a small code block ? Maybe some pages are remaining.
To rename a space, I use that code (syntax 1.0) :
1 Rename Space
#if($request.space)
#if("doRename"==$request.op)
#set($space=$request.space)
#foreach($item in $xwiki.getSpaceDocsName($request.space))
$xwiki.getDocument("${space}.${item}").rename("${request.newname}.${item.replace('.','_')}")
#end
1.1 Renamed space $space to $request.newname
[Cancel>$doc.fullName]
#end
#if("listRename"==$request.op)
#set($space=$request.space)
1.1 Renaming space $space to $request.newname
#foreach($item in $xwiki.getSpaceDocsName($request.space))
* Renaming $space.$item to ${request.newname}.${item.replace('.','_')}
#end
[Confirm>$doc.fullName?space=$space&newname=$request.newname&op=doRename]
[Cancel>$doc.fullName]
#end
#if("getNewName"==$request.op)
Renaming $request.space
1.1 Renaming ${request.space}
<form method="post" action="$doc.getURL("view", "")" onsubmit="cancelCancelEdit()">
<div class="padded centered">
<input type="hidden" name="space" value="${request.space}" />
<input type="hidden" name="op" value="listRename" />
Enter new name for the space:
<input type="text" name="newname" value="${request.space}" class="panelinput" style="margin:auto;" onfocus="if(this.value=='Title') this.value=''" onblur="if(this.value=='') this.value='Title'"/>
</div>
<div class="padded centered" style="text-align:center;">
<input type="submit" class="button" style="margin:auto;" value="Rename"/>
</div>
</form>
[Cancel>$doc.fullName]
#end
#else
{table}
Space | Action
#foreach($space in $xwiki.spaces)
$space | [Rename>$doc.fullName?space=${space}&op=getNewName]
#end
{table}
#end
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Xavier Bartholome
> Envoyé : lundi 11 janvier 2010 17:23
> À : users(a)xwiki.org
> Objet : [xwiki-users] Question re: Spaces
>
> Hi,
>
> I tried to delete a space by deleting all pages in it, but it
> still appears
> in the spaces lists (on the main page and in the panel)
> alltough with a
> question mark indicating that a page should be created ...
> how can I remove
> it from there?
>
> Also, How can I rename an existing space?
>
> Thanks in advance,
>
> Xavier
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi,
I tried to delete a space by deleting all pages in it, but it still appears
in the spaces lists (on the main page and in the panel) alltough with a
question mark indicating that a page should be created ... how can I remove
it from there?
Also, How can I rename an existing space?
Thanks in advance,
Xavier
I am out of the office until 01/12/2010.
Out sick
Note: This is an automated response to your message "users Digest, Vol 30,
Issue 35" sent on 1/11/10 3:05:32.
This is the only notification you will receive while this person is away.