Hello All,
This thing just came to notice when we upgraded our Internet Explorer to
IE8. The search box that populates using <meta-g> pulls up at the very
bottom of the page in IE8.
The same box works normally and shows up at the top of the page in IE7 or
Firefox 3.X.X.
In IE8, when I enable the compatibility mode, the box works normally & shows
up at the top of the page.
Although, I've not tried this solution, but I understand that adding this
meta tag at the top of any html/jsp page should help circumnavigate this
issue :
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
However, I am not sure which page to add this so that the search box works &
appears at the top of the page.
Any help...
Hi Sergiu,
problem is solved. Sorry for the annoyance. Today I have been told
that the xwiki database was imported from a previous xwiki instance and
not created from the scratch. So we decided to make a xwiki
installation from the scratch and this worked like a charm. Having a
look at the
log would also probably have helped us. There were a lot of exceptions
thrown by Hibernate (but I am not sure that they are all related to my
problem).
Thanks to everyone and have a beautiful day,
christian
--
Canoo - Your Solution Provider for Rich Internet Applications
Christian Ribeaud
Canoo Engineering AG
Kirschgartenstrasse 5
CH-4051 Basel
Tel: +41 61 228 94 44
Fax: +41 61 228 94 49
christian.ribeaud(a)canoo.com
http://www.canoo.com/
On Aug 15, 2009, at 7:58 PM, Sergiu Dumitriu wrote:
> Christian Ribeaud wrote:
>> Hi Sergiu,
>>> Thanks for the message. Unfortunately I won't be able to look at
>>> it more until tonight. After a first look, indeed it seems to be a
>>> real problem, which I can't explain right now.
>> No problem. I would really be happy if we could use XWiki.
>>> Can you first try to use the MySQL5Dialect dialect in the
>>> hibernate configuration file?
>> $ /usr/local/mysql5/bin/mysql -V outputs:
>> /usr/local/mysql5/bin/mysql Ver 14.12 Distrib 5.0.51, for redhat-
>> linux-gnu (i686) using EditLine wrapper
>>> Also, what version of the mysql connector are you using?
>> I found 'mysql-connector-java-3.0.11-stable-bin.jar' in
>> '<TOMCAT_HOME>/lib' directory (Tomcat6).
>> If XWiki does not install any other, this is the one which is used.
>
> Version 3 doesn't work well with XWiki. Can you try putting http://repo2.maven.org/maven2/mysql/mysql-connector-java/5.1.6/mysql-connec…
> in webapps/xwiki/WEB-INF/lib and restart the server?
>
>> Do you think that this could be a file permissions issue? On the
>> server where XWiki is running, I have less permissions than
>> on my computer.
>
> No, it correctly retrieves the number of users, and everything else
> seems to work, so it's not a permission issue.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
I have installed for testing the M3 and tried to login immediately with
Admin/admin but it says, Wrong user name!!!! I tried to see if anything
was written and nothing. Did the password or user name change?
Hi all,
I have been trying for the last day to put the TODO app in my wiki and it
kept on failing to show the mytodo list in the panel. I use Oracle for
backend so I thought it was that the problem. Here is the panel's code
corrected to work in my case (XWiki 1.9.3, Tomacat 6, Oracle XE 11):
#panelheader('My Todos')
#set ($hql = ", BaseObject as obj, StringProperty as prop1,
LargeStringProperty as prop2 where obj.name=doc.fullName and
obj.className='XWiki.TodoClass' and obj.name <> 'XWiki.TodoClassTemplate'
and obj.id=prop1.id.id and prop1.id.name='Status'
and prop1.value <> 'Finished' and obj.id=prop2.id.id
and prop2.id.name ='Assignee' and prop2.value like '$context.user'
order by doc.date desc")
#foreach ($todo in $xwiki.searchDocuments($hql, 5, 0))
* [$todo]
#end
#panelfooter()
The big difference is the LargeStringProperty (Instead of StringProperty
used in the XAR) and the like instead of = used to match the value.
For the LargeStringProperty it is strange for me that someone chose a CLOB
to store user names but... maybe because of the class hierarchy involved in
the user name. Then again, how can this work even without oracle?
For the like, well, oracle atleast will not even bother checking a string
against a stream. Yes the words are phonetically close but.... oracle
doesn't care about phonetics.
I hope others out there will enjoy this helpful app.
Hello!
I want to run different xwiki-versions (currently 1.7.2 and new 1.9.3) on one host in one tomcat-container (but different folders: webapps/xwiki172 and webapps/xwiki193) against one Oracle-DB (but different users: xwiki and xwiki2).
The user xwiki is used by version 1.7.2 and is running fine, the version 1.9.3 is configured to use the DB-User xwiki2.
It seems not to be possible, when I point to http://[...]:8081/xwiki193, I get:
2009-08-17 15:17:46,757 [http://[...]:8081/xwiki193/bin/view/Main/] [http-8081-Processor23] ERROR store.XWikiHibernateBaseStore
java.sql.SQLException: ORA-00955: name is already used by an existing object
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:957)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1170)
at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1623)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1588)
at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)
at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:492)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:308)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:254)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:563)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1024)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1068)
at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:
at com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:68)
at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:51)
[...]
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
2009-08-17 15:17:46,809 [http://[...]:8081/xwiki193/bin/view/Main/] [http-8081-Processor23] WARN util.JDBCExceptionReporter
2009-08-17 15:17:46,809 [http://[...]:8081/xwiki193/bin/view/Main/] [http-8081-Processor23] ERROR util.JDBCExceptionReporter
com.xpn.xwiki.XWikiException: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigra
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute query
at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1005)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:728)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:670)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:317)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:388)
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)
[...]
It looks a little bit like jira-XWIKI-2009 which is noticed to be fixed.
Is this possible? How to do?
hp-ux 11.23
java 1.6.0.03
tomcat 5.5.20
oracle 10.2.0.3
Thanx a lot!
Michael
******
Plantschen oder Grog? Der Arcor-Wetterdienst weiss Bescheid!
Wassertemperaturen für den Urlaub jetzt checken: www.arcor.de/rd/wetter_wasser
Currently writing special pages to extend functionality of MediaWiki,
but considering using XWiki instead.
Experimenting with XWiki Enterprise by attempting install of xwiki-
enterprise-web-1.9.3.war:
In Apache Tomcat 5.5.23
Using PostgreSQL 8.4.0 -- Succeeds
Or HSQLDB 1.8.0.7 -- Succeeds
But MySQL 5.0.45 -- Fails.
MySQL is required for XWiki Enterprise Manger, so I need to use MySQL.
I get this error in the browser:
javax.servlet.ServletException: 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: Could not create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
I get this additionally in catalina.out:
** BEGIN NESTED EXCEPTION **
java.net.ConnectException
MESSAGE: Connection refused
STACKTRACE:
java.net.ConnectException: Connection refused
I have installed mysql-connector-java-5.0.8-bin.jar in /var/lib/
tomcat5/webapps/xwiki/WEB-INF/lib.
I have modified /var/lib/tomcat5/webapps/xwiki/WEB-
INF.hibernate.cfg.xml as follows:
<!-- MySQL configuration.
Uncomment if you want to use MySQL and comment out other
database configurations.
Note that the database will be created automatically if it
doesn't already exist.
We need to set the sql_mode to a less strict value, see
XWIKI-1945
-->
<property name="connection.url">jdbc:mysql://localhost/xwiki?
useServerPrepStmts=false&useUnicode=true&\
characterEncoding=UTF-8&sessionVariables=sql_mode=''</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">PASSWORD</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</
property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</
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>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
I created an xwiki database and granted privileges in MySQL as follows:
$ mysql -u root -p
mysql> create database xwiki;
mysql> grant all privileges on xwiki.* to xwiki(a)127.0.0.1 identified
by 'xwiki';
mysql> grant all privileges on xwiki.* to xwiki@localhost identified
by 'xwiki';
OR
mysql> create database xwiki;
mysql> grant all privileges on xwiki.* to xwiki(a)127.0.0.1 identified
by 'SAMEASROOT';
mysql> grant all privileges on xwiki.* to xwiki@localhost identified
by 'SAMEASROOT';
Note that PASSWORD in the hibernate.cfg.xml file was set to either
'xwiki', or to the same password as for the root MySQL user, with the
thought that perhaps the Hibernate configuration assumed an empty root
MySQL user password, and that, somehow, this might help.
I then modified /var/lib/tomcat5/webapps/xwiki/WEB-
INF.hibernate.cfg.xml as follows, since this is what the installation
instructions actually show, that is, omitting some MySQL parameters:
<!-- MySQL configuration.
Uncomment if you want to use MySQL and comment out other
database configurations.
Note that the database will be created automatically if it
doesn't already exist.
We need to set the sql_mode to a less strict value, see
XWIKI-1945
-->
<property name="connection.url">jdbc:mysql://localhost/xwiki</
property>
<property name="connection.username">xwiki</property>
<property name="connection.password">PASSWORD</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</
property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</
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>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
I have tried many permutations and scoured installation instructions,
FAQ, and archives. I definitely need some help here.
>If your attachment is an image, it's most probably a browser cache issue.
>Can you try force-refreshing your browser (ctrl-shift-R) in Firefox and see
>what happens?
My document is not an image but it was a browser cache issue.
Thank you for the help
Hello,
1. I am wondering if any users running XWiki on Tomcat 5.5 have set up a SecurityManager policy. The documentation isn't really clear on this, other than "it's an issue" that may not be resolved. The one "comment" on XWiki.org that has a security policy is close but not quite clear. I couldn't figure out the part about Log4J.
- is a policy necessary?
- without one, are there any inherent security risks using XWiki/Tomcat "out of the box"?
- what about Tomcat's default "users" and "roles"?
2. Are there any security risks using the default "xwiki" installation location in webapps? ie. if it's there and someone realizes you're running XWiki, couldn't they then direct their attacks specifically at MySQL / Tomcat / XWiki, looking for holes? I tried installing the WAR to a different location, and failed miserably. Does it matter?
3. Is anyone using XWiki over SSL? Anything special we need to do for that, other than getting a certificate?
As you can tell, I'm not familiar with Tomcat and not a security guru. I'm just the one who has to make sure our setup "out of the box" is secure against exploits.
We're running on Ubuntu, with MySQL. Yes, the server will be behind a firewall, and the MySQL passwords have been changed.
I think what would help in the online documentation is a "security checklist" that rounds up all the various bits that I found on various pages.
Thanks,
Trevor
Hi,
On Mar 6, 2009, at 11:02 AM, Helmut Lehner wrote:
> Hi Vincent
>
>> I don't know if there's much we can do here since the tinymce-based
>> wysiwyg will have saved the content of the page in HTML in your case
>> and the converter cannot distinguish this from someone typing HTML in
>> the page.
>
> I get this code editing a page in WYSIWYG-Mode with Syntax 1.0 and
> only the headings are html. The rest is wiki syntax. This behavior
> started somwhere around Version 1.5 i think. before headings were
> created correctly in wiki syntax (as the rest).
>
>
>> If you have an idea of how to do it let us know. For me you'll need
>> to
>> correct the 1.0 content for your pages that have this problem.
>
> I know how to correct this i just wanted to mention that this could
> be a problem not only for me but for every user who creates pages in
> syntax 1.0 in WYSIWYG and converts them to syntax 2.0 afterwards.
Yes it's a problem. One thing that can be done is to write/provide a
small velocity/groovy script that scans all wiki pages and replaces
the heading with the wiki syntax.
> The best thing would be to make the tiny mce editor create headings
> again in wiki syntax:)
That will not solve the problem for all page contents which have now
HTML for headings.
> The next best thing would be to convert html headings like the ones
> created (without class, or style information) to headings in xwiki
> syntax 2.0 because i think there are fewer headings created
> intentionally in html with that code than by accident through that
> editor bug.
I think I'd prefer the script solution since otherwise that'll make
the converter heavier and with some hacks.
WDYT?
Thanks
-Vincent
Dear all,
I encounter the following problem.
I have a link to an attachement using the 2.0 syntax :
[[document>>attach:docAdmin.doc]]
But when I add a new version to the attachement, the link permits to
download he previous version.
It is the same problem inside the attachment panel, it displays version 1.2
but give access to the 1.1 version.
I can only download my new 1.2 version using the history view of the
attachment.
I use XWiki Enterprise 1.9.2. Is there a bug for this case ? Could you
reproduce it ?
Regards,
Maxime
I found it, the Administration button at the right top corner was not
obvious this time :-O I have installed previous versions of xwiki and it
was obvious to me. Nothing has changed but I didn't see it. Maybe it
should change color (RED/BOLD) for some blind people like me.
I had the same problem with my first attempts of XWiki installation. As a
trial I used the xwiki user in oracle and it worked. For my installations I
have to always use xwiki oracle user in order to get passed this point. Can
you try it
hi all
anyone have u success integrate liferay with xwiki?
liferay have their own wiki, but i believe xwiki more mroe advanced in feature
i want to make both tech use one LDAP server
--
Frans Thamura
Meruvian.
Center of Java and Enterprise OpenSource
Meruvian bukan hanya membuat anak SMK menjadi bisa tapi SAKTI, malah
saktinya SAKTI Mandraguna.
Mobile: +62 855 7888 699
Blog & Profile: http://frans.thamura.info
We provide services to migrate your apps to Java (web), in amazing
fast and reliable.
Hi,
i was just wondering how embedded documents work. The Syntax Help gives no
example.
I don't know but is it just the include macro?
Thanks
hel.
-----
semantic-web.hel.at
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Embedded-documents-tp3423459p3423459.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Dear friends,
I request help on a few changes that we are making to our internal XWiki
installation.
We run XWiki 1.7 over a tomcat 6.0.18 & mysql 5 installation.
I see that the blog application has publication date feature which I believe
runs as a scheduled job. Is there a possibility to add publication date to a
page created in any other space. On the face of it, pages created in both
blog space or any other space appear to be the same. So there should be some
possibility that we can add scheduled publication dates to pages without
making major changes to the present XWiki installation.
Also, can we extend the category & sub category feature to any page outside
the Blog space.
Any help on this would be greatly appreciated.
Also, if I may suggest a name for the new skin, I would suggest 'sparrow'.
It kind of rhymes with 'arrow' & the bird is small, light & even the colors
seem to match.
Thank you all...
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.0 Milestone 3.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the third and last milestone for the 2.0 version.
The main goal of 2.0 is to make XWiki fully XWiki 2.0 syntax.
Main changes from 2.0 Milestone 2:
* Lots of improvements and new features in the new WYSIWYG editor
* Lots of improvements and bugfixes in the rendering engine and
the syntax converter
* Upgrade to SmartGWT 1.2
* New experimental network event distribution module
* Several blog application improvements
* Several tags application bug fixes
* Translations updated for de, fr, lv, nl, ru
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise20M3
Thanks
-The XWiki dev team
Hi Florian,
I discovered this horrible problem as well when I upgraded to "XWiki
Enterprise 1.9.21179", the page I was editing was unrecoverable and
luckily I still had my old version of the xwiki running on a different
server so I copied it back from there. I turned off the section editing
to prevent my users from losing their pages. You can do this in the
xwiki.cfg file, by setting xwiki.section.edit=0:
#-# This parameter will activate the sectional editing
xwiki.section.edit=1
Good luck,
Regan
>
> 1.) I have troubles with my wysiwyg Editor:
> I have a bigger artivle with severyl headlines. Therefor I can click
on
> the
> pen symbol tot he right of teh articel to open only a part oft he
> article.
> If I do this and store the article the parts above of the articles are
> away!
> Then I have to restore the old version than the old text is again
shown
> but
> not the new one. What can be the reason for that? If I use the editor
> without wysiwyg the same result!
Hello,
I have a few questions about how to contribute to the dutch
application_resource file.
Yesterday I have added some translations to the dutch translation of the
XE resources
at the I10n.wiki.org site. Is there any documentation about this site? I
am unsure about
what some functions do and the effects they may have on others. For
instance the link
'Import/reimport default language file', Admin actions like 'Import' and
'Prepare'. Also
I noticed that when I get the dutch translation as a application
resource file, it only has
the resources filled in if a dutch translation exists. This seems
logical, but as long as not
all strings have a dutch translation, my xwiki contains lots of empty
strings. Is there a
way to build a resource file with dutch translations where available,
and the default
english strings when not? Another thing that is not clear to me is the
functionality around
reviewing and validation. If I find a translation that is incorrect of I
thing there is a better
one, can I just change it, or should I somehow make a review request to
somebody
authorized to accept or reject the change? Is there any way to know who
is contributing
to the same translation in order to achieve some common ideas about how
to translate
xwiki terms?
Thanks,
Henk
--
==
Henk F. Schouten, ICT-architect, Dienst ICT
room: SL 2.32, phone (31) 70 4457611, email: H.F.Schouten(a)hhs.nl
De Haagse Hogeschool, Johanna Westerdijkplein 75, 2521 EN the Hague (NL)
G'day one and all,
I'm looking at using xwiki for our intranet and was wondering how existing
taxonomies can be implemented/imported into xwiki
Regards,
Stephen....
Hi!
We have a problem with the new "Import Office Content" functionality in
XWiki Enterprise 1.9.2.22089.
The problem exists with Internet Explorer 6.0.2800.1106; with Firefox
3.0.7 everything is working fine ....
After copy&paste of some word content into the import office panel some
xml tags are visible in the imported text:
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office"
/>
To reproduce:
1. In Edit mode, selected Import Office Content.
2. In Office Importer, select Clipboard, copy&paste some word text and
select Import. (filter styles / don't filter styles doesn't matter)
3. Preview / Save and view
What is the problem that only Internet Explorer is affected ?
Thanks in advance
Matthias Gsottberger
... done
http://jira.xwiki.org/jira/browse/XWIKI-4161
thanks
Matthias
>Coukd you provide a sample file in a JIRA bug report so that we can
>check it out ?
>Ludovic
>
>>Matthias.Gsottberger at o2.com a écrit :
>> Hi!
>>
>> We have a problem with the new "Import Office Content" functionality in
>> XWiki Enterprise 1.9.2.22089.
>> 3.0.7 everything is working fine ....
>>
>> After copy&paste of some word content into the import office panel some
>> xml tags are visible in the imported text:
>>
>> <?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office"
>> />
>>
>>
>> To reproduce:
>> 1. In Edit mode, selected Import Office Content.
>> 2. In Office Importer, select Clipboard, copy&paste some word text
and
>> select Import. (filter styles / don't filter styles doesn't matter)
>> 3. Preview / Save and view
>>
>>
>> What is the problem that only Internet Explorer is affected ?
>>
>>
>> Thanks in advance
>>
>> Matthias Gsottberger
>>
>> _______________________________________________
>> users mailing list
>> users at xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
This might be useful for those wanting to do server administration functions
(start/stop tomcat, reboot, stats, etc) out of an Xwiki doc (make sure your
doc is password protected or more, if it allows people to reboot your
server!; Anything needing root or tomcat user would use /etc/sudoers to
grant specfic permissions to specific programs needed by user
tomcat-ssh-slave):
Input:
> ==== Use Groovy Script run server processes and display result ====
> See [[SshHelperClass?viewer=code]], [[
> http://blog.asyd.net/2008/12/xwiki-cest-decidemment-magique/]]
> ==== Call parseGroovyFromPage("Groovy.SshHelperClass") ====
{{velocity}}
#set( $sshHelper = $xwiki.parseGroovyFromPage("Groovy.SshHelperClass") )
$sshHelper.openSession("127.0.0.1", "22", "tomcat-ssh-slave",
> "/usr/share/tomcat6/.ssh/id_dsa", "")
{{/velocity}}
> ==== Output from 'uname -a'====
##{{velocity}}$sshHelper.runCommand("uname -a"){{/velocity}}##
> ==== Output from 'free' ====
##{{velocity}}$sshHelper.runCommand("free"){{/velocity}}##
> ==== Output from 'ps -l U tomcat-ssh-slave U tomcat U apache' ====
##{{velocity}}$sshHelper.runCommand("ps -l h U tomcat-ssh-slave U tomcat U
> apache"){{/velocity}}##
> ==== Output from 'df -H' ====
##{{velocity}}$sshHelper.runCommand("df -H"){{/velocity}}##
> ==== Output from 'top -b -n 1' ====
##{{velocity}}$sshHelper.runCommand("top -b -n 1"){{/velocity}}##
> ==== Close the connection and exit tomcat-ssh-slave shell ====
warning: if something breaks above, hopefully this will get called otherwise
> we
get a left-over sub-process tomcat-ssh-slave
##{{velocity}}$sshHelper.close(){{/velocity}}##
Output:
> Use Groovy Script run server processes and display result
>
> See SshHelperClass ,
>> http://blog.asyd.net/2008/12/xwiki-cest-decidemment-magique/
>
> *Call parseGroovyFromPage("Groovy.SshHelperClass")*
>
> *Output from 'uname -a'*
>
> Linux ce 2.6.27.29-170.2.78.fc10.x86_64 #1 SMP Fri Jul 31 04:16:20 EDT
>> 2009 x86_64 x86_64 x86_64 GNU/Linux
>
> *Output from 'free'*
>
> total used free shared buffers cached
>
> Mem: 1928992 1778932 150060 0 47272 532128
>
> -/+ buffers/cache: 1199532 729460
>
> Swap: 3866616 78776 3787840
>
> *Output from 'ps -l U tomcat-ssh-slave U tomcat U apache'*
>
> 5 S 92 18792 18788 0 80 0 - 22060 select ? 0:00 sshd:
>> tomcat-ssh-slave@notty
>
> 0 R 92 18879 18792 1 80 0 - 22453 - ? 0:00 ps -l h U tomcatssh-slave U
>> tomcat U apache
>
> 0 S 91 31695 1 0 80 0 - 463955 futex_ ? 7:47 /usr/java/default/bin/java
>> -server -Xms160m -Xmx1024m -XX:PermSize=160m -XX:MaxPermSize=320m ...
>
> *Output from 'df -H'*
>
> Filesystem Size Used Avail Use% Mounted on
>
> /dev/mapper/VolGroup00-LogVol00 242G 26G 204G 12% /
>
> /dev/sda1 200M 15M 175M 8% /boot
>
> tmpfs 988M 353k 988M 1% /dev/shm
>
> *Output from 'top -b -n 1'*
>
> top - 11:17:20 up 2 days, 16:21, 3 users, load average: 0.78, 0.68, 0.56
>
> Tasks: 150 total, 2 running, 148 sleeping, 0 stopped, 0 zombie
>
> Cpu(s): 7.7%us, 1.7%sy, 0.0%ni, 90.2%id, 0.3%wa, 0.1%hi, 0.1%si, 0.0%st
>
> Mem: 1928992k total, 1794420k used, 134572k free, 47304k buffers
>
> Swap: 3866616k total, 78776k used, 3787840k free, 532356k cached
>
> ...
>
>
Special Installation Instructions
To make this run (Fedora Linux):
1. sudo yum install trilead-ssh2 trilead-ssh2-javadoc
2. sudo ln -s /usr/share/java/trilead-ssh2-213.jar
/usr/share/java/tomcat6/trilead-ssh2.jar
3. Make sure "tomcat" user exists in /etc/passwd, and create an additional
uid=92 gid=92 account "tomcat-ssh-slave":
• tomcat:x:91:91:Apache Tomcat:/usr/share/tomcat6:/bin/sh
° "tomcat" user created as "disabled" by installing tomcat6-6.0.18-6.2.fc10
• tomcat-ssh-slave:x:92:92:User for SSH Subprocesses From
Tomcat:/home/tomcat-ssh-slave:/bin/bash
° create this using fedora admin utility 'system-config-users' or by
hand-editing /etc/passwd...
4. sudo passwd -u tomcat
• unlock tomcat account temporarily
5. sudo passwd tomcat
• set password for tomcat account
6. Login to "tomcat" account using SSH from current account terminal.
7. ssh-keygen -t dsa
• Leave "empty for no passphrase" for decrypting the DSA-key produced by
ssh-keygen, although it can be specified as last parameter for
sshHelper.openSession("localhost", "22", "tomcat-ssh-slave",
"/usr/share/tomcat6/.ssh/id_dsa", "").
8. From the "tomcat" account, run "ssh tomcat-ssh-slave(a)127.0.0.1"
• answer Yes: "Are you sure you want to continue connecting (yes/no)? yes"
• enter password for tomcat-ssh-slave set above via system-config-users.
• exit the connection.
• The purpose of this step is to test the account, and init
/usr/share/tomcat6/.ssh/known_hosts
9. sudo cp /usr/share/tomcat6/.ssh/id_dsa.pub
tomcat-ssh-slave/.ssh/authorized_keys
10. From the "tomcat" account, do "ssh tomcat-ssh-slave(a)127.0.0.1" again
• verify that login happens w/o password prompt, which is what happens when
authorized_keys is set to the
public key of the account accessing SSH.
• exit from tomcat-ssh-slave account. It's now ready to run out of tomcat.
11. passwd -l tomcat
• lock the tomcat account from further logins, now that it's been setup and
the dsa public/private keys have been generated.
1. *TODO:* remove password from user tomcat-ssh-slave ('!!' in passwd field
of /etc/shadow) password not needed for login
2. *TODO:* alternately, is there a local customization to ensure certs only
used for login to the account? I know this can be done globally in
/etc/ssh/sshd_config: "PasswordAuthentication no" and "PermitEmptyPasswords
no"
3. *TODO:* for user tomcat-ssh-slave, integrate "limited command processing"
by replacing /bin/sh as login shell with /usr/local/bin/tomcat-ssh-shell (or
equiv):
#!/bin/sh -noprofile
###############################################################################
#
# File: sshslave-shell
# RCS: $Header: $
# Description: Shell to allow execution of remote commands from a tomcat
server.
# For security purposes, this "login" is limited in commands it can
# perform, and runs as a separate user from the tomcat server, separating
# the ability to directly modify tomcat state from the functionality
provided
# by user tomcat-ssh-slave. This shell is run as the "login shell" (via
# /etc/passwd) for account tomcat-ssh-slave, which is accessed via SSH.
# The account is preferably a nonprivileged user account with pid>500, Home
# directory /home/tomcat-ssh-slave must exist, with correct permisssions.
# /home/tomcat-ssh-slave contains scripts referred to via
fully qualified
# filenames in this script. The directory would also store the accounts'
# .ssh settings, keys, etc. Secure, password-less access to the
tomcat-ssh-slave
# account can be achieved by having tomcat's SSH public identity
/usr/share/tomcat6/.ssh/id_dsa.pub
# installed as /home/tomcat-ssh-slave/.ssh/authorized_keys (and
keeping id_dsa secret)
# This would prevent use of tomcat-ssh-slave "account" from being used by
anything
# other than preauthorized accounts.
#
# Here's some example commands:
#
# ssh -x tomcat-ssh-slave(a)127.0.0.1 cleanlog
# ssh -x tomcat-ssh-slave(a)127.0.0.1 getlog
# ssh -x tomcat-ssh-slave(a)127.0.0.1 setdbglvl 'INFO'
# ssh -x tomcat-ssh-slave(a)127.0.0.1 getdbglvl
# ssh -x tomcat-ssh-slave(a)127.0.0.1 tomcat-restart
# ssh -x tomcat-ssh-slave(a)127.0.0.1 apache-restart
# ssh -x tomcat-ssh-slave(a)127.0.0.1 tomcat-start
# ssh -x tomcat-ssh-slave(a)127.0.0.1 apache-start
# ssh -x tomcat-ssh-slave(a)127.0.0.1 top
# ssh -x tomcat-ssh-slave(a)127.0.0.1 ps
# ssh -x tomcat-ssh-slave(a)127.0.0.1 df
# ssh -x tomcat-ssh-slave(a)127.0.0.1 free
# ssh -x tomcat-ssh-slave(a)127.0.0.1 reboot
# Author: Niels P. Mayer
# Created: Monday 8/10/2009
# Modified:
# Language: Shell-script
# Package: N/A
# Status: Production
#
# (C) Copyright 2009, Niels Mayer, all rights reserved.
#
###############################################################################
# make sure nothing funny goes on
PATH="/bin:/usr/bin"
# make sure they rsh or ssh in with a single command
if [ -z "$1" ] || [ "$1" != "-c" ]
then
echo You must use ssh -c to access this account
exit 1
else
shift
SSHSLAVE_COMMAND="$@"
fi
# only let them run specific commands, eg.
# ssh -x tomcat-ssh-slave(a)127.0.0.1 cleanlog
# ssh -x tomcat-ssh-slave(a)127.0.0.1 getlog
# ssh -x tomcat-ssh-slave(a)127.0.0.1 setdbglvl 'INFO'
# ssh -x tomcat-ssh-slave(a)127.0.0.1 getdbglvl
# ssh -x tomcat-ssh-slave(a)127.0.0.1 tomcat-restart
# ssh -x tomcat-ssh-slave(a)127.0.0.1 apache-restart
# ssh -x tomcat-ssh-slave(a)127.0.0.1 tomcat-start
# ssh -x tomcat-ssh-slave(a)127.0.0.1 apache-start
# ssh -x tomcat-ssh-slave(a)127.0.0.1 top
# ssh -x tomcat-ssh-slave(a)127.0.0.1 ps
# ssh -x tomcat-ssh-slave(a)127.0.0.1 df
# ssh -x tomcat-ssh-slave(a)127.0.0.1 free
# ssh -x tomcat-ssh-slave(a)127.0.0.1 reboot
case ${SSHSLAVE_COMMAND} in
cleanlog \
getlog \
getdbglvl \
tomcat-restart \
apache-restart \
tomcat-start \
apache-start \
top \
ps \
df \
free \
reboot \
) #single argument commands -- exact match to SSHSLAVE_COMMAND
exec "/home/tomcat-ssh-slave/${SSHSLAVE_COMMAND}"
;;
setdbglvl* \ #e.g., setdbglvl 'INFO' ... multiple argument command.
Beware command injection.
)
exec `echo "/home/tomcat-ssh-slave/${SSHSLAVE_COMMAND}" | cut -f1 -d" "`
`echo "${SSHSLAVE_COMMAND}" | cut -f2- -d" "`
;;
* )
exec echo You are not authorized to do that.
;;
esac
Niels
http://nielsmayer.com
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.9.3.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is a bug fix and enhancement release mainly around security and
the tag and mailsender applications.
Changes since XWiki Enterprise 1.9.2.
Improvements:
* XWIKI-4065 New Footnote macro
Important Bugs fixed:
* XWIKI-4109: Guest users are sometimes logged in with another user account
* XWIKI-3827: GWT wysiwyg editor has dark background with Albatross skin
* XPMAIL-17: Wrong characters in non-ascii emails
* XATAG-21: List documents with tag, rename/delete tag fails with
specific versions of MySQL5
* XATAG-22: Rename and delete actions fail with tag containing non-ascii chars
* XABLOG-27: Article date not displayed properly in IE6
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise193
Thanks,
The XWiki dev team
On Wed, Aug 12, 2009 at 09:34, Niels Mayer <nielsmayer(a)gmail.com> wrote:
> The proximity or default actions associated with the menus "edit" "show"
> "print" "action" or "watch" are often accidentally triggered by careless
> mouse-clicks intended for the "browser-tabs" or "toolbar", usually situated
> directly above the document in many browsers. I also think it is unaesthetic
> to have the current menus overlay"active space" in the LHS panels. It seems
> like the new design still has a lot of action very "close" to the
> browser-tabs and toolbar, which can lead to unintended browser accidents.
>
> I'd like to see the menu positioned away from the very top of the window,
> and instead, be placed at the bottom ofthe 220x70
> header-image /xwiki/bin/download/XWiki/DefaultSkin/*.jpg, over the
> "breadcrumbs" displaying the
> path to the document. Alternately, consider that the right-hand-side of the
> top of the document is under-used, and the left-hand-side is cluttered: you
> end up overlaying menus on the left-had-side column should that feature be
> enabled.
>
http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Skin20P1/gener…
More about the skin proposal at http://markmail.org/message/nagihrc2xqpzw4dz
Hello. Please let me know if I'm using the wrong mailing list.
I am currently evaluating XWiki (along with several other wikis) for use within our small development team. We will be sharing the wiki with clients as well, so we have several criteria that MUST be met:
1. WYSIWYG editing
2. Clean interface, small learning curve
3. Fine-grained user access to pages
4. Security (the wiki will be on a server exposed to the internet, but will be private)
5. Good support base
In trying out XWiki Enterprise and looking through the documentation I think it meets these requirements (definitely 1-3).
My questions are:
1. We will want to segregate the clients from each other (ie. they won't be aware of each other), but our development team would need one-login access to all content, across clients. ie. if a developer logs in, they would have access to all content; if client A logs in, they would only see client A's content, etc. Am I understanding correctly that with User Groups and proper ACL we could achieve this?
2. I'm trying to get an idea of the support base behind XWiki: does the support and development rely on a small number of developers (or only one), or on a true community of developers? I noticed the "XWiki Project Health" page is quite out of date (only going up to Nov/07).
3. We do not currently have Java server experience; will XWiki be easy to install/run/manage securely without exposing ourselves and our clients to risks out of ignorance of the underlying technology? Is it inherently more secure than using PHP on an Apache webserver (as I have read), or does it just come down to security awareness?
Any comments or additional information would be welcome. Excuse me if I have asked questions that are readily available on the website -- I have looked through the online documentation but have also evaluated many wikis and my eyes are starting to blur.
Thanks very much,
Trevor
Hi,
We made a XWiki default installation, nothing special. We are using a
MySQL5 database which has
been configured as following:
<!-- MySQL configuration.
Uncomment if you want to use MySQL and comment out other
database configurations.
Note that the database will be created automatically if it
doesn't already exist.
We need to set the sql_mode to a less strict value, see
XWIKI-1945
-->
<property name="connection.url">jdbc:mysql://localhost:33065/xwiki?
useServerPrepStmts
=
false
&
;useUnicode
=true&characterEncoding=UTF-8&sessionVariables=sql_mode=''</
property>
<property name="connection.username">username</property>
<property name="connection.password">password</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</
property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</
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>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
XWiki is running in a Tomcat6 container with jdk1.5.0. For some reason
I do not understand, I am not able to
see the users list when logged as administrator (which all
consequences this implies...). However I see the number of
users that are registered (see attached picture)!! Does anyone
understand what the problem could be? I tried
to display this page with Firefox and Safari. Nothing, and apparently
no JS error.
Any help would be greatly appreciated. I wish you a wonderful day and
a nice week-end. Best,
christian
--
Canoo - Your Solution Provider for Rich Internet Applications
Christian Ribeaud
Canoo Engineering AG
Kirschgartenstrasse 5
CH-4051 Basel
Tel: +41 61 228 94 44
Fax: +41 61 228 94 49
christian.ribeaud(a)canoo.com
http://www.canoo.com/
> I think we should rename "Actions" back to "More Actions" since the
> second is more common (I can think of gmail for example).
>
i'm ok with that.
I would also like to have "Create" instead of the "Add" action. You can *add
* comments and tags, but I think it's more appropriate to *create* pages.
> > 1. We need to decide the way we handle the actions we are able to do
> > (depending on the rights we have): enable/disable them or hide them.
>
> Why do we keep the "view" entry ?
> I personally use "edit" to see the source of a page, may be others do the
> same.
> Anyway it's still useful to people without edit rights, in this case
> we could keep "edit" activated and display the source with a message
> saying something like "You need to login to edit this page, etc" or
> "You're not allowed to edit this page" depending on the situation.
>
I was thinking with Marta and G, would it be ok to add "History" and
"Information" to the "View" submenu? Something like
http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Skin20Menu/vie…
Information in this case has been rename in "Related Pages".
> 2. You can select to have an simple or advanced menu (View and Edit
> submenus
> > affected)
>
> I wouldn't like that we use a tab layout for buttons that are actually
> not tabs, for example "view" and "edit" in simple mode.
In simple mode "view" and "edit" are not buttons, but actually tabs, you
change the view (tab) from one action to another, they aren't form buttons.
> The menu must be revamped but I'd prefer that we stick to the dropdown
> layout since it allows:
> - to mix single buttons and dropdown lists
in my opinion is the same thing, just the aligment (horizontally,
vertically) is different. The problems with dropdowns I understood that it's
not well supported if you don't have JS activated, and also dropdowns can
block some of the page content.
The advantage of the dropdown is when you have many items in the menu - but
it's not really the case and anyway menus that are very crowded are hard to
use.
Another thing is that using this kind of menu, you integrate the tabs in
Edit (Wiki, WYSYWIG, Objects ...) with the menu, instead of having the
panel. This way you give an unique access point to the editing.
- to use icons more easily
in the mockups icons are not presented, but I don't see how the dropdown
menu can have a better support for icons than then horizontal menu. it's the
same thing, we could have also icons in this kind of menu.
> - to create categories more easily (for example in "Actions")
>
you can have categories also in horizontal menus.
Thanks for all your comments,
Caty
Thanks a lot, Niels. Really. I got it now. But this is really
cumbersome! And when using the administration panel,
I always get empty panels: rights, users, groups,... (only the number
of items is displayed).
To me it sounds like a show-stopper and it will definitely prevent us
for using XWiki. I thought that this open-source application
would be in a better shape. It is a pity but we have to look for
something more useful. Thanks a lot and have a nice day,
christian
--
Canoo - Your Solution Provider for Rich Internet Applications
Christian Ribeaud
Canoo Engineering AG
Kirschgartenstrasse 5
CH-4051 Basel
Tel: +41 61 228 94 44
Fax: +41 61 228 94 49
christian.ribeaud(a)canoo.com
http://www.canoo.com/
Hello Community,
I have committed today the first implementation of a new XWiki feature:
rendering mathematical equations into images. It is available as a
standalone component, and as a syntax 2.0 macro.
About the functionality.
Equations are written in the TeX/LaTeX syntax, which is pretty simple,
and seems to be the syntax of choice for mathematical equations in other
wikis, too. The macro can distinguish between inline and block equations
and render them accordingly. The output can be either PNG (the default
one), GIF or JPEG. While PNG is definitely the best, I kept the other
two in case somebody really wants to use ancient browsers that only
understand GIF.
Q: Should I leave just PNG as the output format?
Another feature is that the font size can be specified, in order to
render larger or smaller equations. All the font size commands from
LaTeX (from \tiny to \Huge) have an equivalent. I renamed them to a more
easy to understand name (also because the configuration is case
insensitive, so there's no difference between large and LARGE).
By default images are generated so that the font looks relatively OK
with the default XWiki skin on a 72 or 96 DPI display. They might look
disproportionate with a different DPI, or with a different default font
size.
Q: Is the default DPI setting OK?
Second, a few technical details:
The standalone component is located in
platform/core/xwiki-equation-rendering. I don't know if the name is the
best (Vincent complained). On one hand, this describes better what the
component does: it renders equations. On the other hand, it might cause
confusion with the xwiki-rendering system.
The component currently has three implementations:
- a native one, which relies on the latex system being present. It gives
the best results, from a graphical point of view, but requires the
presence of external programs, and involves a slight overhead for
starting new processes and for working with the disk. Currently it might
have some security problems, I'll have to see if opening input and
output files from TeX is a problem, or how to disable this. Any help
from someone who know more about TeX?
Q: Does anybody know of any security issues with running latex, dvips or
convert? Especially with the \openin and \openout commands?
- one which uses MathTran as a remote service through HTTP requests. It
gives results as good as the native one, enhanced with some metadata,
and depending on the configuration of the server, it might have better
performance than the native one. The disadvantage is that it relies
heavily on a remote server. Note that MathTran is free software, and can
be installed locally on the same or a neighboring server. Oh, another
minor problem is that it uses a variant of the TeX syntax, not LaTeX.
- one which uses SnuggleTeX and JEuclid to transform LaTeX into MathML,
and then render it into images. The results are not as eye-pleasing as
those obtained from LaTeX, but it is a self-contained solution, with no
external dependencies.
SnuggleTeX uses the liberal 3-clause BSD license, JEuclid uses the
Apache v2 license, so both can be deployed. Together, they weight in at
730k, so it's not a big impact. The other two implementations are not
contaminated by the licenses of the underlying system, so there's no
license conflict.
Q: Should either one be removed?
Q: Do you know of any other (better) alternative?
By default the native renderer is used, since it gives the best results
and doesn't depend on an external service. SnuggleTeX is configured as a
backup (safe) renderer which kicks in when the default one isn't working
(missing tex subsystem, or communication error with the remote server).
Q: Is this setup OK as the default one? (native by default, snuggletex
as fallback).
The generated images are stored in a cache (using the cache component),
for improved performance. This new cache might increase the memory
requirements, but fortunately it is easy to configure.
The rendering macro is located in
platform/core/xwiki-rendering/xwiki-renderig-macros/xwiki-rendering-macro-equation,
and the macro can be used with
{{equation}}\sum_{i=0}^{\infty}{{/equation}}.
Q: Is the macro name appropriate? Do you know of a better one?
Future work:
- make sure that there are no security issues with the Native backend
- add support for MathML display for the clients that understand it
- improve the alignment of images (especially for the Native backend),
as right now they are a bit raised above the text baseline
Many thanks to Guillaume Legris who provided the starting point for this
component.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi,
Please give feedback on the menu iteration. You can view the mockups at
http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Skin20Menu
1. We need to decide the way we handle the actions we are able to do
(depending on the rights we have): enable/disable them or hide them.
2. You can select to have an simple or advanced menu (View and Edit submenus
affected)
Thanks,
Caty
Paul Libbrecht wrote:
> I would suggest xwiki-formula-rendering
>
> All equations are formulæ, all formulæ are not equations!
> Sergiu, is there a URL I can see this in more details?
> Do you tackle baseline? (with javascript probably).
No, it is in the Future Work list.
>
>
> Le 10-août-09 à 18:27, Vincent Massol a écrit :
>
>> I haven't read the mail yet, I'm just reacting to the name.
>>
>> Equations means there is an equal sign (see http://en.wikipedia.
>> org/wiki/Equation).
>> I'd prefer formula which is more generic.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi all,
I have just started my journey of xwiki (installed the standalone version of
windows), and want to find more documents of xwiki.
I can read the documents online on xwiki.org, but I prefer to read it
offline and can not find the documents download links. Where to download the
documents of xwiki?
--
-----------------------------------------------------------------------------------------
空中的一小块陆地
E-mail : fly.island(a)gmail.com
Blog : http://flyisland.blogbus.com/
Twitter : http://twitter.com/flyisland
-----------------------------------------------------------------------------------------
Is there any way that I could download the Xwiki WAR file of version 1.8?
I had a server crash and my database backup didn't work. I was able to
export all of the pages in my wiki as .xar files, but when I try to
import some of them, I get messages that say there are no documents in
the .xar files. I think this is because my new installation is 2.0,
instead of 1.8.
I tried 1.9, and it helped a little. I could import a few more of the
pages, but there are still a couple that I cannot. I would try to use
the files from the server, but it is officially toast now.
Any help would be greatly appreciated.
Thanks,
travis
Hi -
I have XEM 1.7.1/XE 2.0 milestone 1. I see that the Main.AllDocs issue
is resolved with XE 2.0 milestone 2. Do I need to upgrade to XE 2.0
milestone 2 and then convert again to XEM 1.7.2, or can I just install
XEM 1.7.2 war and that will fix the issue? Also, if I do upgrade to xe
and then convert again, will I lose all the virtual wiki's I've created?
Any help would be great, thanks.
Kelly
Kelly Lakas
Project Manager
next wave logistics inc.
28377 davis parkway, suite 607a
warrenville, il 60555
________________________
[office] 847.798.8897
[mobile] 312.307.2079
[web] www.nwlinc.com <http://www.nwlinc.com>
Hi all,
I installed XWiki using the standalone install on my Vista64 machine
and it looks like the XWiki server starts up fine (using the
start_xwiki.bat batch file). However when I try to access
http://localhost:8080 with my browser, I keep getting errors as if there
is no web server or wiki running at all. I accepted all the defaults
when installing except that I installed it under "C:\XWiki Enterprise"
and I ran the installer as administrator. (I'm not sure if I need Java
5. I have Java 6, Update 10.)
The error I'm getting in my browser (Firefox 3.0.1) is "Page Load Error"
Network Timeout
The server at www.localhost.com is taking too long to respond.
The requested site did not respond to a connection request and the
browser has stopped waiting for a reply.
* Could the server be experiencing high demand or a temporary
outage? Try again later.
* Are you unable to browse other sites? Check the computer's
network connection.
* Is your computer or network protected by a firewall or proxy?
Incorrect settings can interfere with Web browsing.
* Still having trouble? Consult your network administrator or
Internet provider for assistance.
Has anyone had this kind of error before or have ideas on what I'm
missing? Any advice would be greatly appreciated.
Thanks!
- Meilin
Sorry for being late with this message! The deadline for paper
submission is 10 August 2009, but only now I've regained access to the
nepomuk-kde list.
Greetings,
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Hi, I recently installed xwiki workspaces on my ubuntu box and I'm having a
few issues.
I created two users: user_1 and user_2 whom I would like to be able to view
each other's workspaces.
For each user, I create a workspace and then click 'Manage Users' to allow
others to read/author in my space.
On clicking 'Manage Users' I get the following error in console:
[ERROR] Left side ($request.action) of '==' operation has null value. If a
reference, it may not be in the context. Operation not possible.
Space_user_1.WebPreferences [line 27, column 22]
[ERROR] Left side ($request.action) of '==' operation has null value. If a
reference, it may not be in the context. Operation not possible.
Space_user_1.WebPreferences [line 30, column 23]
I then add user_2 to user_1's read list. The results are that user_2 can
see updates and even read user_1's pages, but under 'My Dashboard'->'all my
spaces' user_2 is not listed as a member of user_1's page. I'd like to know
if I'm missing something or if users are allowed to share workspaces like
this and how.
Also, a bit of a side question, but where can I find out more about using
xwiki to setup structured data?
Thanks
-Nathan
Hi all,
I am seeing some weird behaviour of Lucene search on XWiki. Using
Firefox 3.0.11 in a Mac OS X box. Please, look at this:
While logged in...
http://xen.net/images/loggedIn.png
Only one entry shown in each page.
While logged out...
http://xen.net/images/loggedOut.png
Please, does this make any sense for you? Thanks!
Cheers,
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Hi guys!
I juste read under http://www.xwiki.org/xwiki/bin/view/FAQ/
HowToCreateNestedPages that nested pages are currently not available.
I really need this functionality for my current project. As sad on
the FAQ this feature should be available soon. Can anyone tell me
when this will happen? If there is already a "working" version of
that feature in the dev trunk, let me know, I could help testing.
Regards
Andreas Rami
Bizzons eMarketing GmbH
Nikolaiplatz 4
A-8020 Graz
Tel: +43-1-890-3408-250
I'm giving this a bump to see if someone will answer or comment.
Thanks.
Dan Svoboda
University of Pittsburgh
From: Dan Svoboda
Sent: Tuesday, August 04, 2009 7:51 AM
To: users(a)xwiki.org
Subject: reference types in current object in dblist
I have an XWiki class for which I'd like to have a dblist where the hql references types in the same object. Such as:
select doc.id from XWikiDocument as doc, XWikiAttachment as att where att.docId = doc.id and att.filename = string from a string member of this object
Can this be done?
Dan Svoboda
University of Pittsburgh
Hello,
I have a problem with the hasAccessLevel() method.
I want to list all the documents existing in a space, including the page
Main.Dashboard. As nothing appear in the "Documents in space", I try to list
the documents with this code :
#set($docNames = $xwiki.getSpaceDocsName($doc.space))
<ul>
#foreach($doc in $docNames)
#if($xwiki.hasAccessLevel("view", $context.user, $doc))
<li>$doc</li>
#end
#end
</ul>
Regarding to his group rights, the user has the "view" right on the space,
as this right is checked in rights management.
By the way, he can access the document.
But, documents are not listed. $xwiki.hasAccessLevel("view", $context.user,
$doc) returns false.
Only admins in the XWikiAdminGroup can view the list.
Have you some ideas ?
--
View this message in context: http://n2.nabble.com/Problem-with-Access-Level-tp3383383p3383383.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have an XWiki class for which I'd like to have a dblist where the hql references types in the same object. Such as:
select doc.id from XWikiDocument as doc, XWikiAttachment as att where att.docId = doc.id and att.filename = string from a string member of this object
Can this be done?
Dan Svoboda
University of Pittsburgh
>> Matthias.Gsottberger at o2.com wrote:
>> Hi!
>>
>> We have a problem with the encoding of special characters like german
>> umlauts since XWiki Enterprise 1.9.2.22089. In earlier 1.8 versions of
>> xWiki we had no problem with the encoding still you changed the default
>> encoding to UTF-8.
>> Our Database Encoding is set to ISO-8859-1 and we cannot change this.
>>
>> success:
>>
>>
>> xwiki.cfg: xwiki.encoding = ISO-8859-1
>>
>>
>> web.xml: <filter>
>> <init-param>
>> <param-name>encoding</param-name>
>> <param-value>ISO-8859-1</param-value>
>> </init-param>
>> </filter>
>>
>> hibernate.cfg.xml:
>>
>> <property name="connection.useUnicode">false</property>
>> <property name="connection.characterEncoding">ISO-8859-1</property>
>>
>>
>> What else should we change to save special characters properly ?
>Please check the connection URL, too. The default one contains encoding
>settings, too:
>
><property
>name="connection.url">jdbc:
>mysql://localhost/xwiki?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8&sessionVariables>=sql_mode=''</property
>
>
>What exactly is the behavior? Do characters end up as two or three
>characters? Are they replaced by question marks after a while? Do you
>get an exception when trying to save the document?
>
>--
>Sergiu Dumitriu
>http://purl.org/net/sergiu/
Hi!
The behavior was the replacement of the special characters by questions
marks.
But now it is working...
Thank you!
Matthias Gsottberger
Hi fellow XWikiers,
While celebrating XWiki's 5th birthday last week, we spent a couple days
brainstorming with the full team about where XWiki stands today and what its
future holds. We came up with a long list of features and ideas and we'd
love to get community feedback before deciding in which direction we're
going to move forward once our 2.0 release is out.
To this aim, we've built a survey that we'd like our users and developers to
take. It's a bit long though definitely worth the pain. We're eagerly
waiting for your feedback to start working on new and existing features.
You can access and fill the survey at the following address:
http://www.xwiki.org/xwiki/bin/view/Main/SurveyXWikiFeatures
Thanks a lot for your time,
Guillaume on behalf of the XWiki Team
--
Guillaume Lerouge
Product Manager - XWiki
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
Hi!
We have a problem with the encoding of special characters like german
umlauts since XWiki Enterprise 1.9.2.22089. In earlier 1.8 versions of
xWiki we had no problem with the encoding still you changed the default
encoding to UTF-8.
Our Database Encoding is set to ISO-8859-1 and we cannot change this.
We tried to change the encoding parameters in following files without
success:
xwiki.cfg: xwiki.encoding = ISO-8859-1
web.xml: <filter>
<init-param>
<param-name>encoding</param-name>
<param-value>ISO-8859-1</param-value>
</init-param>
</filter>
hibernate.cfg.xml:
<property name="connection.useUnicode">false</property>
<property name="connection.characterEncoding">ISO-8859-1</property>
What else should we change to save special characters properly ?
Thanks in advance
Matthias Gsottberger
Hi,
I had to create a new wiki, and unfortunately I made a mistake :
name : test
description : blabla
domain name : I put here the main wiki domain name (the one I use to
create and manage others wikis)...
Now, I can't access to my main wiki (pages doesn't exists) nor the test
wiki.
Is there any way to repair that ? I have full access to the database.
Gaëtan
Hi folks
I would like to enable statistics on one of my virtual wikis.
I've configured my xwiki.cfg like this:
-----
xwiki.stats=1
xwiki.stats.default=0
----
and now i need to enable statistics for one of my virtual wikis.
In the xwiki documentation is written that you can enable statistics if you set the statistics field in Xwiki.XwikiPreferences.
Quote:
"A wiki can decide whether Statistics is on/off by setting the "statistics" field in XWiki.XWikiPreferences. If no such field is defined the the default value xwiki.stats.default is used. "
But how can i set this field? I'm running XWiki Enterprise 1.7.21212 and can't find a statistics field in my administration panel.
I also tried to edit the XWiki.XwikiPreferences page in class mode and added a boolean property called "statistics" and set the value to true.
Do you have any advice for me how to enable statistics on my virtual wiki?
As an alternative I could also enable stats for all of my wikis by setting the xwiki.stats.default parameter to true but i would prefer to enable the statistics just for one wiki.
Thanks for your help.
Regards Pascal
I have written a class to attach some property to my page. Now I see that I
can query xwiki to retrive only document with a specified property values.
Can I pass this query, or filters to document tree plugin via
getDocumentTree() command?
--
View this message in context: http://n2.nabble.com/Document-tree-filter-tp3366868p3366868.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm volunteering as a technician and hoster for the
design-platform.org collaborative project.
We are seriously considering using to the XEM platform, in particular
for its internalization and multi-wiki support, and its nice WYSIWYG
editor.
A major feature we are looking for is LDAP support; however, I didn't
find any information about LDAP subscription.
The objective is to create LDAP accounts for all subscriptions on the
wiki, and completely avoid XWiki-only subscriptions. Is this feature
already available?
If yes, do you have any pointers to documentation and/or source code?
If not, do you have any thoughts on an efficient way to alter XE to enable it?
Thank you in advance,
--
Geoffroy Carrier
Hi Steve, I'm forwarding your email to the XWiki Users mailing list.
You might find an answer to your issue here.
>> I've installed xwiki-enterprise under jboss-4.0.5 and set it up to use MySql 5. I need to initialize the database for xwiki, >> but I cannot locate the mycommands.sql on your site. Where can I download a copy from?
Guillaume
--
Guillaume Lerouge
Product Manager - XWiki
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
Hello,
This is the answer (translated from french) that I got from Xwiki
developement team regarding the calendar/schedule problem which doesn't
display if you're NOT logged as Admin, meaning as an user.
QUOTE
The bug you found with the schedule/calendar is known to our development
team: It is related to a problem from the translation of the calendar
items.
The workaround is as follows:
- Go to the form of a user' profile as global Admin (Admin / admin is the
default account, for example)
- Click "Edit" "Objects" in the top left
- You then come to a window where you have menus that unfold, click on
XWiki.XWikiUsers and change the field "Chronolanguage" to "English"
Handling is of course to each user.
We probably releases a version fixing this bug but I can not offer that yet.
UNQUOTE
Best regards
Hi,
We are planning to use Chronopolys as our project management. We tried hard
before sending this email to resolve the issues we faced. Here they are.
1/ How to allow comments and document attachments in wiki page under the
workgroup?
A/--> In the PLOG section you can comment article, but you cannot comment
wiki pages under a work group in the Wiki section.
B/--> Although it is already possible to attach documents in the workgroup
(in Documents section), our users need to attach document in the wiki page
in the workgroup in order to provide them a "context".
C/-->We also expect to be able to comment the attached documents.
2/ How to allow comments and attachments (image for avatar) on the user'
page?
A/ We would like to allow user to easily upload image(s) into their page
profile and display it as their avatar.
3/ Coming upgrade?
We do believe Chronopolys is the true missing link between Project
management and wiki. Although this application remains partially bugged (ex:
ajax calendar, relatively slow on ajax functions ), it is still on the top
of the list according to us (out of zoho project 2.0). However, Chronopolys
needs an upgrade since the plateform is becoming old. Any development
planned?
Best regards,
I've been using Xwiki 1.8 for about 2-3 months now and I really like
it. Unfortunately, my server crashed. I backup the HSQLDB database
everyday. Now, I'm trying to install Xwiki on a different computer and
point it toward one of the copies of my database, but I'm having lot of
problems. I've tried it with Xwiki 2.0, 1.9 and 1.8. I'm running
Tomcat 5.5.27 and java 1.6.0_14.
The real problem is reading my old database. If I don't change the
hibernate.cfg.xml, xwiki will create a new HSQLDB database just fine
(except that it's empty). But when I do modify the hibernate file to
point to my database, I get lots of errors.
Here's the snippet from my hibernate file:
<!-- HSQLDB configuration.
Uncomment if you want to use HSQLDB and comment out other
database configurations.
Note that the database will be created automatically if it
doesn't already exist. -->
<property
name="connection.url">jdbc:hsqldb:file:/travis/www/xwiki/xwikiHSQLDatabase;shutdown=true</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</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>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
And here's the error I get from my browser (Firefox):
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: 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: Could not parse mapping document from resource
xwiki.hbm.xml
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:145)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
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: Could not parse mapping document from resource
xwiki.hbm.xml
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:326)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
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:145)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
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/5.5.27 logs.
Apache Tomcat/5.5.27
I've been trying to fix this for 2 days now and I'm losing hope that I
can recover my Xwiki. Can anyone please help? I've tried searching the
mailing list archives, google, the installation documenation, the
upgrade documentation, but I haven't found a solution. I haven't really
modified the xwiki installation much at all. I've just been using xwiki
"as is".
Still Hoping,
travis
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.0 Milestone 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
The main goal of 2.0 is to make XWiki fully XWiki 2.0 syntax.
Main changes from 2.0 Milestone 1:
* Lots of improvements and new features in the new WYSIWYG editor
* Lots of improvements and bugfixes in the rendering engine and
the syntax converter
* Improvements for the blog application
* It's now possible to choose the content renderer to use when
viewing a page
* New Footnote macro
* New xwiki-properties module
* New Latvian translation
* New Swedish translation
* New Korean translation
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise20M2
Thanks
-The XWiki dev team
Hi
I just wonder if anyone have been able to install the xwiki war version.
I run an OpenSuse 11 x86_64, Glassfish v2.1, Java jdk1.6.0_13, MySQL 5.0.51a
I've downloaded xwiki-enterprise-web-1.9.2.war and deployed it on the
Glassfish server, it was not possible to deploy without changing the
XML header in the file web.xml.
I followed the steps in the documentation:
- Configuration of MySQL, which works using the command-line.
- Added the MySQL section to hibernate.cfg.xml
- Copied the JDBC connection as described in the documentation
(mysql-connector-java-5.1.8-bin.jar)
The installation does not work, I've also tried other versions of
xwiki but the same problem.
I've seen that the file xwiki.hbm.xml is inside xwiki-core-1.9.2.jar.
I've search the WEB but without finding any solution.
I will appreciate any help to fix the problem.
Best regards
Reidar
The error when accessing the page:
HTTP Status 500 -
type Exception report
message
descriptionThe 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: Could not parse mapping document from resource xwiki.hbm.xml
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: Could not parse mapping document from resource xwiki.hbm.xml
hI,
I'm from Argentina. I'm using Xwiki Workspaces 1.1.1 together the XAR and when i saved a page i get the follow error:
Error number 13007 in 3: Exception while loading lock
Wrapped Exception: a different object with the same identifier value was already associated with the session: [com.xpn.xwiki.doc.XWikiLock#729680490]
com.xpn.xwiki.XWikiException: Error number 13007 in 3: Exception while loading lock
Wrapped Exception: a different object with the same identifier value was already associated with the session: [com.xpn.xwiki.doc.XWikiLock#729680490]
at com.xpn.xwiki.store.XWikiHibernateStore.loadLock(XWikiHibernateStore.java:1674)
at com.xpn.xwiki.store.XWikiCacheStore.loadLock(XWikiCacheStore.java:385)
at com.xpn.xwiki.doc.XWikiDocument.removeLock(XWikiDocument.java:3652)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:133)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:140)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:214)
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:763)
i'm looking for it error and it's common but anybody wrote how fight it.
The database that i'm using is DB2 for AS400. I configure hibernate to accept it.
Can u help to solve this one?? i need solve it urgently!!
Thank u for all and sorry for my english
Matías Yaryura
Analista Programador
Mercantil andina Seguros
+ 54 02983 434090 - Int. 2256
Av. Moreno 503
Tres Arroyos ( Pcia de Bs As)
www.mercantilandina.com.ar
AVISO IMPORTANTE: La información incluida en el presente correo electrónico es confidencial, siendo para el uso exclusivo del destinatario arriba mencionado. Los mensajes de correo electrónico dirigidos a clientes de Mercantil andina S.A. son confidenciales y gozan de protección legal. Le rogamos que no lea, copie, reenvíe o guarde este mensaje si no es el destinatario señalado. Si ha recibido este mensaje por error, le rogamos que lo devuelva a la dirección de remitente arriba mencionada y borre el mensaje.
Hi There,
I'm a newbie to XWiki and am getting frustrated by my first attempts to
learn my way into the system. I'm a developer, particularly interested
in the capabilities of building applications around custom page
layouts. Therefore I started in on the FAQ Tutorial (but hitting a dead
end there, I also tried the Todo Tutorial with the same results).
The problem seems to be that when I use the XWikiClasses "Wizard" to
define a new class, nothing useful happens. In particular, though I get
no visible error reports, I also don't seem to get a new class created.
After clicking "Create this Class" I get the edit screen shown in the
tutorials, and make the change (or not) to the $defaultWeb binding.
When I click "Save and View" I don't get what the tutorials say I should
get; instead I get a formatted view of the text I was just editing. If
I selected the Edit-->Class option on that page, I get a page that tells
me there is no Class associated with the page (and sure enough no new
class appears in the Class list).
Note that I have tried this on fresh installs based on the
xwiki-enterprise-installer-windows-1.9.2.exe and the
xwiki-enterprise-installer-windows-2.0-milestone-1.exe downloads (and
have even tried following the import intructions for the ClassWizard.xar
<http://platform.xwiki.org/xwiki/bin/download/DevGuide/FAQTutorial/ClassWiza…>,
though the pages seemed to be there from the start.
This seems like such a basic problem that I must be doing something
wrong, or there must be an obvious fix, but I searched the mailing list
archives and didn't see anything. Here's hoping...
--Eric
Dear All,
I got an error message from trying the Blog space after installing xwiki-enterprise-web-1.9.1.war and Derby (Bundle-Name: Apache Derby 10.4, Bundle-Version: 10.4.2000000.689064) and the xwiki-enterprise-wiki-1.9.1.xar. I followed the instructions to edit the hibernate.cfg.xml file as follows, ensuring both correct mapping and DB access:
<property name="connection.url">jdbc:derby:C:/Programme/Apache Software Foundation/Tomcat 5.5/apps/xwikidb;create=true</property>
<property name="connection.driver_class">org.apache.derby.jdbc.EmbeddedDriver</property>
<property name="dialect">org.hibernate.dialect.DerbyDialect</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>
<mapping resource="xwiki.derby.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
Additionally, I changed the min Java heap size to 512 and the max Java heap size to 1024 in the Tomcat service. The JDK being used is jdk6. Finally I restarted the Tomcat service. When I tried the Blog space I got the following error:
Error number 4001 in 4: Error while parsing velocity page Blog.WebHome
Wrapped Exception: Failed to evaluate content with id Web Home <http://athene:8080/xwiki/bin/view/Blog/>
Is the Blog space unavailable to JavaDB users? Has anyone had this problem? Any ideas spontaneously as to the cause? I reinstalled everything (DB, .XAR and .WAR) and I get the same error. The other parts of the aspplication seems to work, but I haven't tested everything. Here is the stack trace of the error:
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Blog.WebHome
Wrapped Exception: Failed to evaluate content with id Web Home <http://athene:8080/xwiki/bin/view/Blog/>
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.XWiki.include(XWiki.java:3864)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1404)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1364)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.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.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
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:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
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:155)
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.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:835)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'searchDocuments' in class com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while searching documents with SQL space, doc.name, publish Date.value from XWiki Document as doc , Base Object obj, Integer Property is Published, Integer Property hidden, Date Property publish Date
where (doc.hidden <> true or doc.hidden is null) and doc.full Name <&? <http://athene:8080/xwiki/bin/edit/select+distinct+doc.space%2C+doc.name%2C+…>
Wrapped Exception: could not execute query at Blog.WebHomeline 164, column 26? <http://athene:8080/xwiki/bin/edit/Blog/line+164%2C+column+26?parent=Blog.We…>
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.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.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.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.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
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.XWiki.include(XWiki.java:3864)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1404)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1364)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.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.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
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:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
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:155)
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.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:835)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286)
at java.lang.Thread.run(Unknown Source)
Caused by: com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while searching documents with SQL space, doc.name, publish Date.value from XWiki Document as doc , Base Object obj, Integer Property is Published, Integer Property hidden, Date Property publish Date
where (doc.hidden <> true or doc.hidden is null) and doc.full Name <&? <http://athene:8080/xwiki/bin/edit/select+distinct+doc.space%2C+doc.name%2C+…>
Wrapped Exception: could not execute query
at com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNamesInternal(XWikiHibernateStore.java:2302)
at com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateStore.java:2266)
at com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateStore.java:2747)
at com.xpn.xwiki.store.XWikiCacheStore.searchDocumentsNames(XWikiCacheStore.java:267)
at com.xpn.xwiki.api.XWiki.searchDocuments(XWiki.java:406)
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)
... 128 more
Any help anyone can offer here would be appreciated. Thanks.
Steven Calkins
CMS - Cross Media Solutions GmbH
E-Mail: steven.calkins(a)crossmediasolutions.de
Internet: http://www.crossmediasolutions.de <http://www.crossmediasolutions.de/>
Handelsregister: Würzburg HRB 8950
Geschäftsführer: Michael Schardt
member of Euradius
I am trying to setup xwiki using war on Tomcat and MySQL. I followed the
instructions, but I cannot find the SQL Script to create the database tables
"mysql -u xwiki -p xwiki -h 127.0.0.1 < mycommands.sql". Please help !!
XWiki had always had some nice feedback about its interface. But things are
not that honey pink, we have many inconsistencies in our user interface,
some of them caused by the fact that we're developing in an open source
environment.
Our goal is to improve the user experience of XWiki and we'd like you to get
involved. We need to improve the usability of the XWiki platform and we
would be very happy if the community got involved in helping us making this
happen.
All the decisions we make directly imply and affect our community which is
why we're eager to get your feedback before we start working further on
these topics.
- We would like to know what are your main usability problems when using
XWiki - we badly want to fix them ;-)
- We would be super-happy to receive bold and creative ideas that we
might be able to incorporate into XWiki's look and feel.
Want to get involved? Yay! We’d love to have you aboard! It doesn't matter
whether you're a developer who’s interested in participating, an UX person
or someone with an eye for design as long as you come up with great ideas.
You can add your mockups and videos to our Flickr group
http://www.flickr.com/groups/xwikiux/ or to our Vimeo group
http://www.vimeo.com/groups/xwikiux . These groups can be used to show off
your ideas or just to point the problems you had using XWiki.
Let’s make XWiki amazing !!
http://code.google.com/appengine/docs/whatisgoogleappengine.html
Java is supported via Java 6 JVM and standard libs:
http://code.google.com/appengine/docs/java/gettingstarted/
My biggest question w/r/t Xwiki is AppEngine's database support:
> The Datastore
>
> App Engine provides a powerful distributed data storage service that
> features a query engine and transactions. Just as the distributed web server
> grows with your traffic, the distributed datastore grows with your data.
>
> The App Engine datastore is not like a traditional relational database.
> Data objects, or "entities," have a kind and a set of properties. Queries
> can retrieve entities of a given kind filtered and sorted by the values of
> the properties. Property values can be of any of the supported property
> value types<http://code.google.com/appengine/docs/python/datastore/typesandpropertyclas…>
> .
>
> Datastore entities are "schemaless." The structure of data entities is
> provided by and enforced by your application code. The Java JDO/JPA
> interfaces and the Python datastore interface include features for applying
> and enforcing structure within your app. Your app can also access the
> datastore directly to apply as much or as little structure as it needs.
>
> The datastore is strongly consistent<http://en.wikipedia.org/wiki/Consistency_model>and uses optimistic
> concurrency control<http://en.wikipedia.org/wiki/Optimistic_concurrency_control>.
> An update of a entity occurs in a transaction that is retried a fixed number
> of times if other processes are trying to update the same entity
> simultaneously. Your application can execute multiple datastore operations
> in a single transaction which either all succeed or all fail, ensuring the
> integrity of your data.
>
> The datastore implements transactions across its distributed network using
> "entity groups." A transaction manipulates entities within a single group.
> Entities of the same group are stored together for efficient execution of
> transactions. Your application can assign entities to groups when the
> entities are created.
>
http://code.google.com/appengine/docs/java/gettingstarted/usingdatastore.ht…
> App Engine includes support for two different API standards for the
> datastore: Java Data Objects <http://java.sun.com/jdo/index.jsp> (JDO) and
> Java Persistence API<http://java.sun.com/developer/technicalArticles/J2EE/jpa/>(JPA). These interfaces are provided by DataNucleus
> Access Platform <http://www.datanucleus.org/>, an open source
> implementation of several Java persistence standards, with an adapter for
> the App Engine datastore.
>
..............
Question:
What would it take to make Xwiki work on Google App-engine? Is the
"datastore" google provides compatible with xwiki's database needs?
What other Java-hosting services "out there" support Xwiki? Database and
java "hosting" issues for Xwiki can be problematic, even though it makes
more sense, to public-host using a language like Java.
I think for my own situation, I would end up "hosting" Xwiki myself, as a
$500.00 box can run a few Xwiki-based sites just fine. However, for
people/customers wanting an Xwiki-based site that don't know about system
administration, JVM's, apache, etc, it would be nice if there was an easier
path to managed hosting in an "open market." This needn't limit xwiki.com's
hosting market, as much as it would open-up xwiki for wider deployment and
use, and make it competitive in situations where Php or RoR might have
easier buy-in, such as in the USA....
Imagine if in the future, one of the installers Xwiki.org offered worked
directly with http://appengine.google.com/ so that people would
actually have their own live, public xwiki sites hosted for them. There's
plenty of sites that would be happy with this level of free
service ( http://code.google.com/appengine/docs/quotas.html ):
Resource Free Default Quota Billing Enabled Quota Daily Limit Maximum
Rate Daily
Limit Maximum Rate Requests 1,300,000 requests 7,400 requests/minute
43,000,000
requests 30,000 requests/minute Outgoing Bandwidth
(billable<http://code.google.com/appengine/docs/quotas.html#Billable_Quotas_and_Fixed…>,
includes HTTPS) 1 gigabyte 56 megabytes/minute 1 gigabyte free; 1,046
gigabytes maximum 740 megabytes/minute Incoming Bandwidth
(billable<http://code.google.com/appengine/docs/quotas.html#Billable_Quotas_and_Fixed…>,
includes HTTPS) 1 gigabyte 56 megabytes/minute 1 gigabyte free; 1,046
gigabytes maximum 740 megabytes/minute CPU Time
(billable<http://code.google.com/appengine/docs/quotas.html#Billable_Quotas_and_Fixed…>
) 6.5 CPU-hours 15 CPU-minutes/minute 6.5 CPU-hours free; 1,729 CPU-hours
maximum 72 CPU-minutes/minuteNiels
http://nielsmayer.com
PS: although at 1 gigabyte outgoing bandwidth, and some of the sizable
javascript libraries these days... you probably want to use
http://webmuch.com/how-why-you-should-use-google-cdn/ alongside :-)
Hi,
I have managed to get the manager working (after finally finding out that I
need to install the templates, it would be nice if that was the default for
the manager otherwise it's just confusing).
But when I try to check if the installation is corrrect and am asked to
install the default template (on xwiki/bin/view/XemManager/Install) when I
click "yes" I get the message:
"You are not allowed to view this document or perform this action."
Also, when I try to create a new wiki (on
xwiki/bin/view/WikiManager/CreateNewWiki) no matter what name I give the
wiki I get message:
"Wiki "abcd" creation failed: Error number 9001 in 5:
com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin: You dont have right to
create wiki"
Anyone ideas of what's wrong?
Also, how do I secure the manager so that only specific users can access it?
Finally, there is mention of an "Administrator" but I can't find anyway to
change the password, anyone any idea how that is done?
Many thanks in advance,
Gary
--
View this message in context: http://n2.nabble.com/WikiManager-new-user-question-tp3313732p3313732.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.9.2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is a bug fix and enhancement release mainly around new WYSIWYG
and the Blog application.
Changes since XWiki Enterprise 1.9.1. Improvements:
* WYSIWYG
** Allow the page to link to to be searched for or selected from the
most recently edited pages
** Improved style consistency across dialogs
** Upgrade to GWT 1.6.4
Important Bugs fixed:
* Fixed errors in the Blog application with Internet Explorer 6 and 7
* XWIKI-4079 Links are lost when switching to Source in the WYSIWYG editor
* XWIKI-4101 The editor WYSIWYG disappear when creating a new translation
* XWIKI-4085 Content duplicated if there's a macro (toc, id..) in an html macro
* XWIKI-3413 Not possible to generate pure text content (like JSON)
from a 2.0 page using ?xpage=plai
* XWIKI-4088 The output of the HTML macro with wiki=true is parsed and
generates duplicated content
* XWIKI-4067 Trying to edit a missing object property with the new
WYSIWYG editor can lead to infinite include recursion
* XWIKI-3847 removeObject in XWikiDocument does not search for the
object correctly
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise192
Thanks,
The XWiki dev team
I upgrade my system from 1.1 to 1.9.1, and I have a problem with:
[http-80-2] WARN rcs.XWikiRCSArchive - isDiff: Archive is
inconsistent. Text and diff field are contradicting. version=1.8322
Dose anybody know how this error uccors and how to solve it?
Thanks!
--
View this message in context: http://n2.nabble.com/XWIKI-1.9.1-error-tp3332661p3332661.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello Chritophe,
Your suggestions worked. I was able to customize the search & split the
basic search into title search & content search.
Really appreciate you taking your time out to answer my question...
Thank you...
> Message: 2
> Date: Fri, 24 Jul 2009 15:38:45 +0530
> From: Dilipkumar Jadhav <jadhav.dilipkumar(a)gmail.com>
> Subject: [xwiki-users] Customized search possibility
> To: users(a)xwiki.org
> Message-ID:
> <a5b160b50907240308r7ab7183uc54b0f1949000272(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello All,
> Is there a way to customize xwiki search. Eg. If we would like to search
> for
> keywords only in the title of the document and not in the content OR if the
> search should return result based only on tag search.
> If it is possible would it be in groovy/velocity or it would involve source
> files...
> Any help is much appreciated.
> Thank you...
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 24 Jul 2009 13:08:53 +0200
> From: "PERINAUD Christophe" <Christophe.PERINAUD(a)kbl-bank.com>
> Subject: Re: [xwiki-users] Customized search possibility
> To: "XWiki Users" <users(a)xwiki.org>
> Message-ID:
> <ED0C09F95BABAD44BA43B7EE2506EE1B015578F9(a)MSLUCLU1.lu.kb.int>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> For the WebSearch engine (the one i use), you can modify the code of the
> WebSearch page for the look and change also the code in the page
> XWiki.WebSearchCode to customize the way to search your words in the wiki
> (page names, content, text fields, textarea fields). Would not be too
> difficult to also add a search in tags (based on the search in tags page)
>
> Hope it helps
>
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part
> de Dilipkumar Jadhav
> Envoy? : vendredi 24 juillet 2009 12:09
> ? : users(a)xwiki.org
> Objet : [xwiki-users] Customized search possibility
>
> Hello All,
> Is there a way to customize xwiki search. Eg. If we would like to search
> for
> keywords only in the title of the document and not in the content OR if the
> search should return result based only on tag search.
> If it is possible would it be in groovy/velocity or it would involve source
> files...
> Any help is much appreciated.
> Thank you...
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
> --------------------------------------------------------------------------------
>
>
Hi,
Is the XAR file correct ? I mean not corrupted with the package.xml file in the root folder ? It looks like as if the load of the XML file has not been made.
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de hel-o
Envoyé : lundi 20 juillet 2009 11:05
À : users(a)xwiki.org
Objet : Re: [xwiki-users] Cannot import default xar
Hi,
theres nothing in the xwiki or tomcat log. But when i enable "hold on every
error" for scripts in Firebug i get the following when i click on the
uploaded xar.
" 74 function getXmlValue(tag, xml)
75 {
>xml is null 76 var nodes = xml.getElementsByTagName(tag);
77 if (nodes.length > 0 && nodes[0].firstChild)
78 return nodes[0].firstChild.data; "
The script is import.js. I use Firefox 3.5.
Thanks
hel.
Sergiu Dumitriu-2 wrote:
>
> hel-o wrote:
>> Hi,
>>
>> just updated to 1.9.1 (from 1.8.4) and tried to import the default xar. I
>> can upload the file but when i click on it to import nothing happens.
>>
>> In the console i get the following error when i upload the file
>>
>> "updateAttachName is not defined
>> function onclick(event) { return updateAttachName(this.form, "Do you want
>> to
>> replace the filename with"); }(click clientX=108, clientY=439)"
>
> Yes, this JS error is not important, and I think it's been fixed in the
> SVN. Are there any errors logged on the server?
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
-----
semantic-web.hel.at
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Cannot-import-default-xar-tp3283800p3287792.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
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,
For the WebSearch engine (the one i use), you can modify the code of the WebSearch page for the look and change also the code in the page XWiki.WebSearchCode to customize the way to search your words in the wiki (page names, content, text fields, textarea fields). Would not be too difficult to also add a search in tags (based on the search in tags page)
Hope it helps
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Dilipkumar Jadhav
Envoyé : vendredi 24 juillet 2009 12:09
À : users(a)xwiki.org
Objet : [xwiki-users] Customized search possibility
Hello All,
Is there a way to customize xwiki search. Eg. If we would like to search for
keywords only in the title of the document and not in the content OR if the
search should return result based only on tag search.
If it is possible would it be in groovy/velocity or it would involve source
files...
Any help is much appreciated.
Thank you...
_______________________________________________
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 All,
Is there a way to customize xwiki search. Eg. If we would like to search for
keywords only in the title of the document and not in the content OR if the
search should return result based only on tag search.
If it is possible would it be in groovy/velocity or it would involve source
files...
Any help is much appreciated.
Thank you...
Hi,
xml is null so it seems the answer from the request is empty or wrong. Did you try to put some alert commands in the js file on the server to debug ? Maybe there is another way to do but that's how i do with this kind of problem.
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de hel-o
Envoyé : vendredi 24 juillet 2009 08:05
À : users(a)xwiki.org
Objet : Re: [xwiki-users] Cannot import default xar
Hi,
still no import and no idea why.
Any help?
Thanks
hel.
hel-o wrote:
>
>
> thats what i've done first.
>
> I tried to import the xar also in my local installation. Same result.
> Tried step by step with hold on every error in firebug:
>
> When i upload the xar it stopps with the following error:
>
> 1 function onclick(event)
> {
> updateAttachName is not defined 2 return updateAttachName(this.form, "Do
> you want to replace the filename with");
> 3 }
>
> But the file the upload is done and the file displayed.
>
> When i click on the uploaded file it stopps with the following error:
>
> 74 function getXmlValue(tag, xml)
> 75 {
> xml is null 76 var nodes = xml.getElementsByTagName(tag);
> 77 if (nodes.length > 0 && nodes[0].firstChild)
> 78 return nodes[0].firstChild.data;
> 79 else
> 80 return "";
>
> and nothing happens.
>
> Can there be any connection with the switch to utf8?
> I also notized that there was no data base update.
>
> Thanks
> hel.
>
>
-----
semantic-web.hel.at
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Cannot-import-default-xar-tp3283800p3314065.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
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 all
I try to display a table in a chart and i need some help.
My table is formatted like that :
{table}
Date|Duration|Duration(s)|Start|End
2009.06.16|00:05:22|322|20:11:50|20:17:12
2009.06.18|00:05:12|312|20:11:50|20:17:02
2009.06.19|00:05:32|332|20:11:50|20:17:22
2009.06.25|00:05:52|352|20:11:50|20:17:42
{table}
The idea is to have on the x-axis the dates in the first column, on the y-axis the duration values that are in the 2nd column (i have to force the range, i don't know how to specify a full column for the source)
I inputed that in a wiki page :
#set($pattern='yyyy.MM.dd')
#set($periodStart="2009.06.16")
#set($periodEnd="2009.06.25")
#set($dtf=$xwiki.jodatime.getDateTimeFormatterForPattern($pattern))
<div style="text-align:center;">
{chart:type=time|renderer=xy_line_3d|source=type:table;doc:${doc.space}.STATS-${doc.name};table_number:0;ignore_alpha:true;range:A1-B4|date_format=type:custom;pattern:$pattern|height=250|width=550|domain_axis_date_format_override=type:custom;pattern:dd|domain_axis_lower_date=value:$periodStart;type:custom;pattern:$pattern|domain_axis_upper_date=value:$periodEnd;type:custom;pattern:$pattern|domain_axis_date_tick_unit=unit:day;count:3|domain_axis_tick_mark_position:ende|title=Statistics for batch ${batchName}}
</div>
The result is not what i would like. Duration values are changed from "aa:bb:cc" to an integer with the value "aabbcc"
Is there a way to tell him how to format the values titles of the y-axis ?
Also is there a full documentation of this macro to know all possible parameters that can be provided in ?
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
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 Sergiu
Thank you. It works great.
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Sergiu Dumitriu
Envoyé : mercredi 22 juillet 2009 17:20
À : XWiki Users
Objet : Re: [xwiki-users] setContent and multilines
PERINAUD Christophe wrote:
> Hello all
>
> I create a page that will generate a statistics table. I would like to write this table in a page. How i can do that ?
> I tried this :
> $document.setContent("{table}Date|Start|End|Duration \n 20090616|1|2|3 \n{table}")
>
> But the result is :
> Date Start End Durationn 20090616 1 2 3 n
>
> What i would like in my page is
> {table}
> Date|Start|End|Duration
> 20090616|1|2|3
> {table}
>
> Any idea ?
Try using ${util.newline} instead of \n
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
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 all
I create a page that will generate a statistics table. I would like to write this table in a page. How i can do that ?
I tried this :
$document.setContent("{table}Date|Start|End|Duration \n 20090616|1|2|3 \n{table}")
But the result is :
Date Start End Durationn 20090616 1 2 3 n
What i would like in my page is
{table}
Date|Start|End|Duration
20090616|1|2|3
{table}
Any idea ?
Thank you
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
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 have the brand new XWiki Enterprise 1.9.1.21780. I noticed that the class
wizard has issues
(http://xwiki.markmail.org/message/kl7vi6p2dlc3ouwr?q=FAQTutorial#query:FAQT…),
but I did create a class, a class sheet and a class template manually. I also
added an empty object to the class.
Because the Velocity code is not interpreted the same way in syntax xwiki 2.0,
I followed the syntax help guide included in the XWiki instance and I
protected the code as follows:
{{velocity}}
## replace Main with the Space where you want your documents to be created
## replace the default parent with the one of your choice
## Save this template using the 'Save' button
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class")))
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "LSQ")
#includeForm("XWiki.ClassSheet")
{{/velocity}}
The Velocity code is parsed but it produce HTML that is not parsed by the Wiki
page. It is displayed as-is:
<h1 id="HClass3ATermeClass"><span>Class: TermeClass</span></h1><p/>
The first thing to do is to <a
href="/xwiki/bin/edit/LSQ/TermeClass?xpage=editclass">Edit the Class</a> to
add properties to it.<p/>
<h2 id="HCreateanewdocument"><span>Create a new document</span></h2><p/>
To create a new document, you should first choose a name for you document<p/>
<form action="" id="newdoc" method="post">
<div>
<input type="hidden" name="parent" value="XWiki.TermeClass"/>
<input type="hidden" name="template" value="LSQ.TermeClassTemplate"/>
<input type="hidden" name="sheet" value="1"/>
Space: <input type="text" name="webname" value="LSQ" size="8"/>
Document: <input type="text" name="name" value="Name of your document"/>
<br/>
<br/>
<input type="button" value="Create this document" onclick='if
(updateName(this.form.name)) {this.form.action="../../inline/" +
this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }'/>
</div>
</form><p/>
<h2 id="HSheetandTemplate"><span>Sheet and Template</span></h2><p/>
<ul class="star">
<li>Sheet: <span class="wikilink"><a
href="/xwiki/bin/view/LSQ/TermeClassSheet">Terme Class Sheet</a></span></li>
<li>Template: <span class="wikilink"><a
href="/xwiki/bin/view/LSQ/TermeClassTemplate">Terme Class
Template</a></span></li>
<li><span class="wikilink"><a
href="/xwiki/bin/view/XWiki/ClassSheet?xpage=code">View the sample code to
show the document list and create new documents</a></span></li>
</ul>
<h2 id="HExistingdocuments"><span>Existing documents</span></h2><p/>
Is there a workaround that to make the page parse this HTML properly or to
produce an equivalent display?
It would be nice to also let people know at
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial (completing
tapaya's remark) -I could do that if I knew the answer.
Thanks
Marc
Hi,
I have plainty problems with XWiki Workspace, and no response. Perhaps my
english ?
Last of them : I'm trying FAQTutorial
(http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial) ; first step
is search XWikiClasses.
Result (from Admin) : no document.
I can't include a simple FAQ in workspace ?
So XWiki Workspace doesn't work for me ?
Hi,
I have two question about edit with workspace :
- how can I configuration the edit mode : they are in wisiwig, and I don't see
how to go in wiki mode ?
- if I create a new page from a workspace, I cannot edit it. First time, I
can, but second time, no : there is no button to edit it.
Thanks for your help.
While adding members to a group using the new Wiki Administration
application, there does not seem to be an obvious way to close the pop up
window. Is that a bug, or am I missing something very obvious.
--
View this message in context: http://n2.nabble.com/Closing-%27Add-Members-to-Group%27-Popup-tp3289051p328…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am out of the office until 07/23/2009.
I will not have access to email. If you need help immediately, please
contact Kim Dillon or Jenny Purushotma.
Note: This is an automated response to your message "users Digest, Vol 24,
Issue 30" sent on 7/21/09 6:00:17.
This is the only notification you will receive while this person is away.
Surely someone has tried to put XWiki together with Oracle using the
limited instructions available on-line. I can't believe that no one has
any pointers on why I can't get it working.
Please help.
Thanks
Dean
From:
Dean G Weber/US/Raytheon
To:
users(a)xwiki.org
Date:
07/08/2009 05:12 PM
Subject:
Can't get XWiki to work with Oracle
I could use some help on getting an XWiki server working with Oracle.
I followed the instructions here:
http://platform.xwiki.org/XWiki/bin/view/AdminGuide/InstallationOracle
The mentioned xwiki-oracle.hbm.xml file I finally found here:
http://www.xwiki.org/XWiki/bin/view/FAQ/Isthereasimplewaygettingxwikiworkin…
.
I placed it in the suggested xwiki/Web-INF/classes sub-directory.
But, I could not find a feeds.oracle.hbm.xml file anywhere. (Why would the
page mention those XML files yet not provide them?)
I made the necessary changes to hibernate.cfg.xml file in WEB-INF. I even
placed the ojdbc5.jar (latest rev) in the webaps/WEB-INF/lib directory. I
know that the JDBC jar file is correct because I had to put it in the
jetty/ext directory to get groovy script on one of our pages to
successfully connect to a different Oracle instance and pull data onto the
page. (Side note: groovy classes really need to be on their own separate
pages due to parsing issues with velocity and groovy. This was a heard
learned lesson).
So, I made the changes from the above instructions and created an xwiki
user on my Oracle 10g express edition DB which I installed on our Red-Hat
Linux server. So far things seemed to go well until I tried to pull it all
together and fire up the xwiki server and connect to it from the browser.
Below is the error I received:
HTTP ERROR: 500
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: Could not parse mapping document from resource
xwiki.oracle.hbm.xml
RequestURI=/xwiki/bin/CEDSYard/
Powered by Jetty://
The request URI is the configured main page for our wiki. I see no new
tables in the xe Oracle DB.
All of the past emails on the subject in the user list haven't supplied
any answers. I really hope I can get some help on this.
What do I need to do to get Oracle and xwiki to work together since the
instructions I've found miss crucial elements of the puzzle?
Thanks,
Dean Weber
Sr Software Engineer II
Raytheon Technical Services Company LLC
6125 E 21 Street, MS 36
Indianapolis, IN 46219 USA
317.306.2657 Phone
317.306.4253 Fax
Dean.G.Weber(a)raytheon.com
Hi,
just updated to 1.9.1 (from 1.8.4) and tried to import the default xar. I
can upload the file but when i click on it to import nothing happens.
In the console i get the following error when i upload the file
"updateAttachName is not defined
function onclick(event) { return updateAttachName(this.form, "Do you want to
replace the filename with"); }(click clientX=108, clientY=439)"
Thanks
hel.
-----
semantic-web.hel.at
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Cannot-import-default-xar-tp3283800p3283800.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I would like to use LDAP for authentication. This works fine as long as the
user exists in the xwiki database, as well. Is there a way to have a _new_
user authenticate against LDAP and then either have that user's information
pulled directly from ldap or have the user data from the LDAP automatically
populated into the user database?
Thanks,
Sean
We have been running running Xwiki Enterprise Manager with a wiki farm
consisting of two wikis.
- the XEM was created by converting from XE with following information
#Generated by Maven
#Wed Jul 23 16:18:28 GMT+01:00 2008
version=1.5
groupId=com.xpn.xwiki.products
artifactId=xwiki-enterprise-web
We have been using both the wikis in the farm, have a bunch of content and
users and groups.
Recently we upgraded the our wiki deployment to :
#Generated by Maven
#Thu Jul 02 16:34:35 GMT+01:00 2009
version=1.7.1
groupId=com.xpn.xwiki.products
artifactId=xwiki-enterprise-manager-web
The new deployment works fine for the most part. It required us to deploy
the admin application by
importing the following file into all the three wikis (manager wiki, and two
wikis in the farm)
xwiki-application-administration-1.13.zip
After doing this, all the functinality seems to work fine in the Manager
wiki. However, the enterprise wikis the group management is broken. When
trying to view membership of a group, the following exception is thrown on
the server and the client just gets stuck at the progess bar.
com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while
switching to database 0) ? page.substring(dp + 1, p)
Wrapped Exception: Incorrect database name '0) ? page.substring(dp + 1, p) '
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:642)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:741)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:636)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:209)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1338)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1371)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:1993)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2022)
at com.xpn.xwiki.XWiki.getDefaultPage(XWiki.java:5834)
at
com.xpn.xwiki.web.XWikiServletURLFactory.addName(XWikiServletURLFactory.java:238)
at
com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:
2009-07-17 14:59:39,111 INFO [STDOUT] 181)
at
com.xpn.xwiki.web.XWikiDefaultURLFactory.createURL(XWikiDefaultURLFactory.java:42)
at
com.xpn.xwiki.render.XWikiRadeoxRenderEngine.appendCreateLink(XWikiRadeoxRenderEngine.java:310)
at
com.xpn.xwiki.render.filter.XWikiLinkFilter.handleMatch(XWikiLinkFilter.java:211)
at
org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91)
at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48)
at
org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89)
at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169)
at
com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:95)
at
com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:130)
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.api.XWiki.renderText(XWiki.java:1455)
at sun.reflect.GeneratedMethodAccessor370.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.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.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
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: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.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:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
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:157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
at
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Incorrect database name
'0) ? page.substring(dp + 1, p) '
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1027)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3376)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3308)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1837)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1961)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2537)
at com.mysql.jdbc.ConnectionImpl.setCatalog(ConnectionImpl.java:4924)
at
org.apache.commons.dbcp.DelegatingConnection.setCatalog(DelegatingConnection.java:271)
at
org.apache.commons.dbcp.DelegatingConnection.setCatalog(DelegatingConnection.java:271)
at
org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.setCatalog(PoolingDataSource.java:298)
at sun.reflect.GeneratedMethodAccessor189.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.hibernate.jdbc.BorrowedConnectionProxy.invoke(BorrowedConnectionProxy.java:50)
at $Proxy74.setCatalog(Unknown Source)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:635)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:741)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:636)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:209)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1338)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1371)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:1993)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2022)
at com.xpn.xwiki.XWiki.getDefaultPage(XWiki.java:5834)
at
com.xpn.xwiki.web.XWikiServletURLFactory.addName(XWikiServletURLFactory.java:238)
at
com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:181)
at
com.xpn.xwiki.web.XWikiDefaultURLFactory.createURL(XWikiDefaultURLFactory.ja
2009-07-17 14:59:39,111 INFO [STDOUT] va:42)
at
com.xpn.xwiki.render.XWikiRadeoxRenderEngine.appendCreateLink(XWikiRadeoxRenderEngine.java:310)
at
com.xpn.xwiki.render.filter.XWikiLinkFilter.handleMatch(XWikiLinkFilter.java:211)
at
org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91)
at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48)
at
org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89)
at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169)
at
com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:95)
at
com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:130)
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.api.XWiki.renderText(XWiki.java:1455)
at sun.reflect.GeneratedMethodAccessor370.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.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.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
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: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.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:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
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:157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
at
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
Any help with this will be greatly appreciated
--
View this message in context: http://n2.nabble.com/XWiki-Upgrade-Issue---Incorrect-database-name-tp327779…
Sent from the XWiki- Users mailing list archive at Nabble.com.
AmxSid,
Your JVM is out of PermGen space. What Java version are you using (I
assume a Sun JVM)? In the general case, recent Sun JVMs are pretty good
at tuning themselves, so it is best not to try and tune it, as this may
actually hamper and cause more problems than it solves.
Having said that, I would remove the settings you have thus far and
simply add
-XX:MaxPermSize=128m
The PermGen is the area reserved for reflective data, class objects and
so forth. There are good introductory texts here
http://java.sun.com/docs/performance/
Chris
> I have the following error occuring. I really like XWIKI but this memory
> issue is the only stumbling block. I would hate to have to move to daisycms
> or jspwiki.
>
> I have installed xwiki onto tomcat on Linux. Memory params are: -server
> -Xms512m -Xmx768m -Xss512k -XX:+UseParallelGC
>
> XWIKI config settings are out of the box ones.
>
> I did upload an excel spreadsheet attachment and then decided to delete it.
> I also tried to export to PDF, RTF etc. and left XWIKI running overnight
> and got this problem in the morning.
>
> 2009-07-15 08:20:24,351 [
> http://localhost:8080/xwiki/bin/view/Sandbox/TableTraining?xpage=xpart&vm=c…
> ]
> [http-8080-Processor21] WARN web.XWikiAction - Uncaught
> exception: Error number 0 in 11: Uncaught exc
> eption
> Wrapped Exception: java.lang.O}}}utOfMemoryError: PermGen space
Hi,
We actually have an existing XMLRPC server that we need to integrate
inside XWiki v2.0m1. The only way we achieve this is to modify the
existing code to allow the injection of a XWikiContext object on the
instance created by the default requestProcessor (which does not bind
any object when using the @Requirement annotation).
The other thing is to add an entry inside the /XmlRpcServlet.properties/
representing our service.
Is there any other way to do this ? For example, we could declare our
xml-rpc service class inside the /components.txt/ and let the xml-rpc
server use the component manager to dispatch calls...
Cheers,
Francois D.
Hi xwiki-users,
I have a simple macro defined in velocity:
{{velocity}}
{{{
#macro( addDate $timeZone $date )
#set( $script = "
tz = '$timeZone'
date = '$date'
timezone = java.util.TimeZone.getTimeZone( timezone )
cal = java.util.Calendar.getInstance( timezone )
// etc...
" )
#set( $runnable = $xwiki.parseGroovyFromString( $script ) )
$runnable.run()
#end
}}}
{{/velocity}}
Currently, the velocity macro parameters $timeZone and $date have to be
Strings. I want to be able to pass "real objects" rather than just strings
into the groovy script, though. I can easily return an Object back into
Velocity space by returning from the groovy script, but is there a way to go
the other way around? I guess what I really need is some "context" object
shared by groovy and Velocity...
Thanks in advance!
Hi
I'm looking for somewhere better to host a wiki presently at
littlebird.wikidot.com (curse their commercial aspirations).
It's a free, community based scheme for promoting local folk and traditional
music and arts events in the area. Normal access is through the domain
littlebirdtoldme.info to disconnect it from hosting changes.
The reason for using Wiki is that we hope to open editing to a large
collection of people to reduce the staleness that usually accompanies such
projects.
My user ID is JoeSkaife
Ideally the server name would be littlebirdtoldme or littlebird if you have
a name length limit.
If any of you wiki-wise users or admins have a better suggestion, I'd
welcome some new perspectives.
Joe
--
View this message in context: http://n2.nabble.com/-myxwiki--new-wiki-request-tp3268188p3268188.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have the following error occuring. I really like XWIKI but this memory
issue is the only stumbling block. I would hate to have to move to daisycms
or jspwiki.
I have installed xwiki onto tomcat on Linux. Memory params are: -server
-Xms512m -Xmx768m -Xss512k -XX:+UseParallelGC
XWIKI config settings are out of the box ones.
I did upload an excel spreadsheet attachment and then decided to delete it.
I also tried to export to PDF, RTF etc. and left XWIKI running overnight
and got this problem in the morning.
2009-07-15 08:20:24,351 [
http://localhost:8080/xwiki/bin/view/Sandbox/TableTraining?xpage=xpart&vm=c…
]
[http-8080-Processor21] WARN web.XWikiAction - Uncaught
exception: Error number 0 in 11: Uncaught exc
eption
Wrapped Exception: java.lang.O}}}utOfMemoryError: PermGen space
2009-07-15 08:23:14,716 [] [http-8080-Processor21] ERROR [/xwiki].[action]
- Servlet.service() for servl
et action threw exception
java.lang.OutOfMemoryError: PermGen space
2009-07-15 08:58:03,385 WARN [service.services.export.ExportService] Backup
directory /opt/tomcat/logs/backup does not
exist
Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread"
java.lang.OutOfMemoryError: PermGen space
2009-07-15 10:50:24,583 [http://localhost:8080/xwiki/bin/view/Main/]
[http-8080-Processor21] WARN web.XWikiAction
- Uncaught exception: Error number 0 in 11: Uncaught exception
Wrapped Exception: PermGen space
2009-07-15 10:50:48,298 [http://localhost:8080/xwiki/bin/view/Main/]
[http-8080-Processor19] WARN web.XWikiAction
- Uncaught exception: Error number 0 in 11: Uncaught exception
Wrapped Exception: PermGen space
2009-07-15 10:51:59,029 [] [http-8080-Processor21] ERROR [/xwiki].[action]
- Servlet.service() for servl
et action threw exception
java.lang.OutOfMemoryError: PermGen space
2009-07-15 10:52:36,721 [] [http-8080-Processor19] ERROR [/xwiki].[action]
- Servlet.service() for servl
et action threw exception
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-8080-Processor22" java.lang.OutOfMemoryError:
PermGen space
2009-07-15 11:59:54,765 [http://localhost:8080/xwiki/bin/view/Sandbox/]
[http-8080-Processor25] WARN web.XWikiAction
- Uncaught exception: Error number 0 in 11: Uncaught
exception
Wrapped Exception: PermGen space
2009-07-15 11:59:59,377 [] [http-8080-Processor25] ERROR [/xwiki].[action]
- Servlet.service() for servl
et action threw exception
java.lang.OutOfMemoryError: PermGen space
Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
Hi,
I'm trying to install and use XWiki Workspace.
First, the install instructions on xwiki.org are not present :
http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiWorkspaces, then
"Instructions" link gives
http://workspaces.xwiki.org/xwiki/bin/view/Main/GettingStarted which is not
very intersting, in my opinion.
Second, when I launch xwiki worspace, I see this exception :
00:40:15.011 INFO [main]
org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134)
>17> resource = file:/home/herve/onwork/xwiki-workspaces-distribution-
hsqldb-1.1.1/webapps/xwiki/WEB-INF/plexus.xml
00:40:15.178 INFO [main]
org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134)
>16> Plexus initialized.
java.lang.UnsatisfiedLinkError:
/home/herve/java/jdk1.6.0_14/jre/lib/i386/xawt/libmawt.so: libXtst.so.6:
cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1674)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1695)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.image.ColorModel.loadLibraries(ColorModel.java:188)
at java.awt.image.ColorModel.<clinit>(ColorModel.java:196)
at com.jhlabs.image.WholeImageFilter.<init>(WholeImageFilter.java)
at com.jhlabs.image.WaterFilter.<init>(WaterFilter.java)
at
com.octo.captcha.engine.image.gimpy.DefaultGimpyEngine.buildInitialFactories(DefaultGimpyEngine.java:503)
at
com.octo.captcha.engine.image.ListImageCaptchaEngine.<init>(ListImageCaptchaEngine.java:493)
at
com.octo.captcha.engine.image.gimpy.DefaultGimpyEngine.<init>(DefaultGimpyEngine.java:494)
...etc, etc, etc. I don't know if it is important ?
And, when I look at my workspace, at get :
>Error 404 - Not Found.
>No context on this server matched or handled this request.
>Contexts known to this server are:
>
> * WebApplicationContext[/xwiki,xwiki]
>
>The links above may not work if a virtual host is configured
and, if I clic on the link :
>HTTP ERROR: 404
>
>/xwiki/ Not Found
>
>RequestURI=/xwiki/
>
>Powered by Jetty://
Thank for yout help.
Hi,
I've been trying to find a overview/documentation on what the
specifications, formats, and/or usage scenarios for the different class
properties.
In particular, I'm looking for a way store a list of users (currently stored
in an arrayList) as the property of a class. I cannot find any documentation
on how to use the properties "list of users" or "static list"...
Any ideas/suggestions/links?
Thanks!
Holger
Is there a way / method to allow me to set Active param of User class to
false after registration? I want users to register then I vet the
registration and only after that activate if I wish so. Similar to Email
activation at the moment except I want to have abitilty to activate users???
--
View this message in context: http://n2.nabble.com/Set-Active-to-false-in-User-class---developers-tp32497…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi -
Is xwiki manager 1.7.1 compatible with the enterprise version 2.0
Milestone 1?
Kelly
Kelly Lakas
Project Manager
next wave logistics inc.
28377 davis parkway, suite 607a
warrenville, il 60555
________________________
[office] 847.798.8897
[mobile] 312.307.2079
[web] www.nwlinc.com <http://www.nwlinc.com>
Hello everyone,
I was trying to create a page in xwiki with the following functionality: The user could select an option in a dropdown list, and depending on this selection, the text below the drop down list would change accordingly to the option selected in the drop down list.
Does anyone have any idea on how could I do this?
Thanks in advance!
BR,
Roney Castro
Hi
I have noticed that there has been more activity in the last couple of days
... so, here's one last attempt.
I have got to the stage where a captcha field is shown, and the page
(registerinline.vm) displays the correct errors if it isn't filled in (some
simple if statements)
However, the user is STILL registered even if the captcha is filled in
wrongly.
I have searched this news group, experimented and given up ... but if anyone
can suggest how to stop this my xwiki user would really appreciate it.
Happy to post code if anyone's interested!
thanks - hopefully
Edward
Hi All,
I have some problems to fully delete a Space from Xwiki, I think there
is a not update cache of pages list that contains moved/deleted pages,
here what i did:
I tried to move all pages from the space "A" to the space "B" and to
delete A.WebHome.
In this way it seems that the space is fully deleted and if I try to
open the url:
https://intranet.test.com/xwiki/A/
I get the message "The requested document could not be found", as i expected.
The problem is that the "A" space yet appears in the "listo of spaces"
that i can select in "Search", "Lucene Search", "Index", "Tree"...
If I Search in space "A" i get some name of pages but if i click on
them i get the "The requested document could not be found" message
because i moved them on space "B"
Can you let me know where i'm wrong? is there any way to delete the
indexes that contain the space list? If not, Can i work directly on
database?
Thanks!
Loris
I use XWIKI 1.8.
There is a function that allows user to convert the WIKI page to PDF and
display on the screen.
Unfortunately, I have error again:
Error number 12002 in 12: Exception while exporting PDF
Wrapped Exception: org.apache.fop.fo.ValidationException: null:5:27:
Error(5/27): fo:block is not a valid child element of fo:root.
com.xpn.xwiki.XWikiException: Error number 12002 in 12: Exception while
exporting PDF
Wrapped Exception: org.apache.fop.fo.ValidationException: null:5:27:
Error(5/27): fo:block is not a valid child element of fo:root.
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:212)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:169)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:219)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:250)
at com.xpn.xwiki.web.PDFAction.render(PDFAction.java:46)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:232)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:122)
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:145)
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:111)
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:263)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
org.apache.fop.fo.ValidationException: null:5:27: Error(5/27): fo:block is
not a valid child element of fo:root.
at org.apache.fop.fo.FONode.invalidChildError(FONode.java:435)
at org.apache.fop.fo.FONode.invalidChildError(FONode.java:420)
at org.apache.fop.fo.pagination.Root.validateChildNode(Root.java:126)
at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:271)
at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
at
org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1042)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:463)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:196)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:169)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:219)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:250)
at com.xpn.xwiki.web.PDFAction.render(PDFAction.java:46)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:232)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:122)
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:145)
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:111)
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:263)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
I have no idea about where to enter on the error.
--
View this message in context: http://n2.nabble.com/Page-convert-PDF-error-occurs-tp3261515p3261515.html
Sent from the XWiki- Users mailing list archive at Nabble.com.