Hi All,
I have installed "XWiki Enterprise 2.2.1.27354" on my laptop, and found that
after created or modified the document, the "created" and "last modified"
time are wrong!
For example, my local time is "2010/04/28, 22:08", but the "date" of the
document I just created is "2010/04/28, 09:38". My local time zone is
"Beijing, China", UTC/GMT +8 hours.
How could I solve this issue? You comments are welcome!
Island
Hello,
I'm fulfilling a request as seen on :
http://www.myxwiki.org/xwiki/bin/view/Main/
I'd like to use xwiki as a personal/family blog.
My user name at myxwiki.org : Thomas
The server name I'd like to use : fnd
Please let me know if it still possible.
Best regards
Thomas DOUCEDAME
Greetings all ...
We are testing out xwiki at my company and have opted for the option to
install into WebSphere (on Linux) with a MySQL backend. I have created the
backend database and installed the war file into the application server.
However at start-up time I get the following error; (Has anyone seen this
before and know what has to be done)
[10/28/10 7:19:51:596 CDT] 00000029 ApplicationMg A WSVR0204I:
Application: xwiki-enterprise-manager-web-2_5_war Application build level:
Unknown
[10/28/10 7:20:00:191 CDT] 00000029 webapp I
com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web
Module: xwiki.
[10/28/10 7:20:00:283 CDT] 00000029 WASSessionCor I SessionContextRegistry
getSessionContext SESN0176I: Will create a new session context for
application key default_host/xwiki
[10/28/10 7:20:00:381 CDT] 00000029 MBeanDescript I ADMN1216I: One or more
methods in Portlet mbean is excluded from access check.
[10/28/10 7:20:00:405 CDT] 00000029 MBeanDescript I ADMN1216I: One or more
methods in PortletApplication mbean is excluded from access check.
[10/28/10 7:20:01:299 CDT] 00000029 jsp W
com.ibm.ws.jsp.taglib.TldParser endElement JSPG0235E: The JSP container
failed to load the TagExtraInfo class
[org.apache.struts.taglib.EnumerateTei] from /WEB-INF/struts.tld
[10/28/10 7:20:01:301 CDT] 00000029 jsp W
com.ibm.ws.jsp.taglib.TldParser endElement JSPG0235E: The JSP container
failed to load the TagExtraInfo class [org.apache.struts.taglib.IterateTei]
from /WEB-INF/struts.tld
[10/28/10 7:20:03:902 CDT] 00000029 webapp E
com.ibm.ws.webcontainer.webapp.WebApp notifyServletContextCreated SRVE0283E:
Exception caught while initializing context: {0}
java.lang.RuntimeException: Failed to find
the Observation Manager component
at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:81)
at
com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1667)
at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:368)
at
com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:294)
at
com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
at
com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
at
com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:731)
at
com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616)
at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1120)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1313)
at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:619)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:938)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:723)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1264)
at
com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4566)
at
com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4654)
at
com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1269)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2041)
at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:437)
at
com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:122)
at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:380)
at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:651)
at
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:613)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
at
javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1086)
at
javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:967)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
at
com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1320)
at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at
com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1213)
at
com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:181)
at
com.ibm.ws.management.connector.ipc.CallRouter.route(CallRouter.java:242)
at
com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink.doWork(IPCConnectorInboundLink.java:353)
at
com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink$IPCConnectorReadCallback.complete(IPCConnectorInboundLink.java:595)
at
com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1772)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to
lookup component [role = [org.xwiki.observation.ObservationManager] hint =
[default]]
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:364)
at
org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:115)
at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:78)
... 55 more
Caused by: org.xwiki.component.phase.InitializationException: Failed to
lookup Event Listeners
at
org.xwiki.observation.internal.DefaultObservationManager.initialize(DefaultObservationManager.java:137)
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:423)
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:357)
... 57 more
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to
lookup component [role = [org.xwiki.observation.EventListener] hint =
[ExtensionManagerApplicationStarted]]
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:364)
at
org.xwiki.component.embed.EmbeddableComponentManager.lookupList(EmbeddableComponentManager.java:142)
at
org.xwiki.component.internal.DefaultComponentManager.lookupList(DefaultComponentManager.java:105)
at
org.xwiki.observation.internal.DefaultObservationManager.initialize(DefaultObservationManager.java:133)
... 59 more
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to
lookup component [role =
[org.xwiki.extension.repository.CoreExtensionRepository] hint = [default]]
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:364)
at
org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:125)
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:397)
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:357)
... 62 more
Caused by: java.lang.NullPointerException
at java.util.Collections.addAll(Collections.java:2625)
at
org.reflections.util.ClasspathHelper.getUrlsForCurrentClasspath(ClasspathHelper.java:49)
at
org.reflections.util.ClasspathHelper.getUrlsForPackagePrefix(ClasspathHelper.java:35)
at
org.xwiki.extension.repository.internal.DefaultCoreExtensionRepository.loadExtensions(DefaultCoreExtensionRepository.java:77)
at
org.xwiki.extension.repository.internal.DefaultCoreExtensionRepository.initialize(DefaultCoreExtensionRepository.java:72)
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:423)
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:357)
... 65 more
[10/28/10 7:20:04:752 CDT] 00000029 servlet I
com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I:
[xwiki-enterprise-manager-web-2_5_war] [/xwiki] [action]: Initialization
successful.
[10/28/10 7:20:04:754 CDT] 00000029 webapp W
com.ibm.ws.webcontainer.webapp.WebApp initializeTargetMappings SRVE0274W:
Error while adding servlet mapping for path-->/xwiki/*,
wrapper-->ServletWrapper[action:[action:/bin/*, action:/wiki/*,
action:/testbin/*, action:/xwiki/*]],
application-->xwiki-enterprise-manager-web-2_5_war.
Hello,
I installed XWiki today and when I first tried to view the Wiki, I received
the following error:
Error 500: Component manager has not been initialized before lookup for
[org.xwiki.model.reference.DocumentReferenceResolver] for hint
[currentmixed]
Could anyone give me advice about this error message?
I installed it on Websphere AS 6.1, fix level 23, and Oracle 9g. I modified
the Hibernate config file to use Oracle with "OracleDialect" pointing at my
database. I also added the dummy data source. I added the PNG mime-type
and restarted WAS. I added ojdbc41.jar to the WEB-INF/lib folder of the
WAR. I did change the Web app context to "wiki" instead of "xwiki", but I
didn't think that should make a difference.
Thanks in advance,
Scott McMasters
Dear all,
I have a class with a UserList attribute. I am trying to add users to
this list from an other page with no success. I try using the following
code :
#if($joinTask!="")
#set($taskDoc = $xwiki.getDocument("Project.${joinTask}"))
#set($taskObj = $taskDoc.getObject("XWiki.TaskClass"))
#set($list = $taskObj.get("assignedPeople"))
$list.add($xwiki.getUser())
$taskObj.set("assignedPeople", ${list})
$taskDoc.save()
#end
but $list.add does not exist so I tried differently :
#if($joinTask!="")
#set($taskDoc = $xwiki.getDocument("Project.${joinTask}"))
#set($taskObj = $taskDoc.getObject("XWiki.TaskClass"))
#set($list = $util.getArrayList())
$list.add($xwiki.getUser())
$taskObj.set("assignedPeople", ${list})
$taskDoc.save()
#end
but I have a casting exception.
I had a look on the velocity website, on this list archives,... with no
success
My question is : Can I add users like that or the only way is through
the edit panel and if yes, what is my mistake ?
Best regards,
Jean
--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28
I am trying to set up XWiki Enterprise Manager on WebLogic 9.2 with an
Oracle database. After deploying the application, and accessing it, I get
the following error.
The page still renders somewhat, but am unable to create wikis or do
anything.
Any help is appreciated, thanks.
Wrapped Exception:
java.lang.IllegalAccessError: tried to access class
org/mozilla/javascript/Defau
ltErrorReporter from class org/mozilla/javascript/CompilerEnvirons
at
org.mozilla.javascript.CompilerEnvirons.<init>(CompilerEnvirons.java:
48)
at
com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScri
ptCompressor.java:236)
at
com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScr
iptCompressor.java:397)
at com.xpn.xwiki.web.sx.JsExtension$1.compress(JsExtension.java:99)
at
com.xpn.xwiki.web.sx.AbstractSxAction.renderExtension(AbstractSxActio
n.java:91)
at com.xpn.xwiki.web.JsxAction.render(JsxAction.java:75)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
6)
First of all I want say Hello to all the community.
I'm newbie of XWiki and wiki in general; I'm trying to start a enterprise
wiki and I choose XWiki after many consideration.
To create a clean and organized wiki I want give to the users the
possibility of create page starting from some template.
Previously, I use PbWiki and this platform offer some template by default,
like:
- blank template
- meeting (to schedule meetings)
- press release
- project
- to do list
and so on.
I have see the
http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateADocumentTemplate LINK
that explain that purpose, but what I want to do is offer to the users a
choice from a list of templates to start from.
Have you some help to me?
Thank you
--
View this message in context: http://n2.nabble.com/Create-document-from-many-template-tp2424398p2424398.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello, I would like to know whether is possible refresh table data when I
change column for sorting.
Now, when I click to sort by some column, table is sorted with actual table
data, not with all data. I expect that is needed to add "order by" to sql
query, but what else should I add?
If this is not possible could I use livetable with data from sql query?
Thank you
Here is my code:
$xwiki.ssfx.use("js/xwiki/table/table.css")
$xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true)
#connectDbTEP($dbc)
#countRooms($pocetMistnosti)
#set($paginationParameters = {
'totalItems' : $pocetMistnosti,
'defaultItemsPerPage' : 15,
'url' : $doc.getURL('view', $queryParams)
})
#pagination($paginationParameters)
<table id="searchResults" class="grid sortable doOddEven">
<tr class="sortHeader">
<th>Místnost</th>
<th>Zodpovědná osoba</th>
<th class="unsortable">Operace</th>
</tr>
#foreach($row in $dbc.executeQuery("select id_room, mistnost, prijmeni,
jmeno from room, osoby where room.id_os = osoby.id_os limit
$paginationParameters.firstItem, $paginationParameters.itemsPerPage"))
<tr>
<td> $row.getString("mistnost") </td>
<td> $row.getString("prijmeni") $row.getString("jmeno")</td>
<td>
EditRoom?id_room=$row.getLong(
DeleteRoom?id_room=$row.getLong(
</td>
</tr>
#end
</table>
#set($discard = $paginationParameters.put('position', 'bottom'))
#pagination($paginationParameters)
--
View this message in context: http://xwiki.475771.n2.nabble.com/Pagination-macro-with-sortable-table-tp57…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
Is there a date property I can use to automatically display the current date
on a page? I would do it in javascript but you can't embed <script> tags in
{{html}} so is there a way of doing it in velocity? I can't seem to find any
info on this.
Thanks,
Lockie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Display-current-date-on-page-tp5681412p56…
Sent from the XWiki- Users mailing list archive at Nabble.com.