Hi,
As an adept of freemind I was very happy to see that a freemind macro
exist for xwiki.
Unfotunately I have a ClassNotFoundException when tha applet is invoked
by the macro, it seems that the FreeMind java library can not be found
by the downloaded applet.
Here is the Stack Trace of the exception :
/Java Plug-in 1.6.0_15
Utilisation de la version JRE 1.6.0_15-b03 Java HotSpot(TM) Client VM
charger : classe freemind.main.FreeMindApplet.class introuvable.
java.lang.ClassNotFoundException: freemind.main.FreeMindApplet.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at
sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection
failed:http://code.xwiki.org/xwiki/bin/view/Macros/freemind/main/FreeMindAp…
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Exception : java.lang.ClassNotFoundException:
freemind.main.FreeMindApplet.class/
The exception occurs on my instance of xwiki and on the xwiki web site
at this example address :
http://code.xwiki.org/xwiki/bin/view/Macros/MindMapMacro
My instance of xwiki is XWiki Enterprise 1.9.3.22597 on Windows XP SP3
and as you see in the stack trace I have the last 1.6.0_15 java plugin.
Can you give me an advice to resolve this problem.
Thanks in advance,
Julien
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)
Hi XWiki users,
fwiw I just want to share my experiences and observations with XWiki
instance running out of memory.
I was having a hard time to track this down but in the end I could
successfully isolate the problem.
For quite some time my XWiki instance was getting unresponsive to
requests sooner or later.
The Wiki was hosted on a VirtualBox VM and in most cases the VM guest
was just freezing and needed to be restarted leaving no usable traces in
the logs. In some cases I even found JVM crash reports so I first
checked different JVMs and VirtualBox versions (PUEL and OSE licences).
I had no success with this approach and so I moved the XWiki directly to
a host environment (Ubuntu 10.10). I added Server instrumentation
(VisualVM) but still the wiki got down after a while. Surprisingly the
system was hanging although in many cases there was even enough memory
available (I checked different VM settings up to 4GB).
Finally a VisualVM thread dump showed what happened:
When the robots came visiting my service they query a large number of
pages and among them was one user-url:
.../XWiki/someUser which ran into an infinite looping condition when
rendering the page.
I don't know how this could happen but as a result the whole memory was
consumed and partly released afterwards so it seemed that there is still
enough space available. Once this happened however the Webserver needed
to be restarted because it wasn't responsive any more.
Since I have deleted this user account everything is running ok for a
couple of days now - I still have to move the service back into the
VirtualBox guest VM.
What puzzles me finally that its possible that one single request can
kill the service by going into an infinte rendering loop.
I would have thought that at some level there is a depth limit to
prevent such conditions.
Hope these observations help someone though ....
enjoy
Andreas
Hi,
I'm trying to set rights over a document automatically.
In my wiki i have the "Publication" concept. Each Publication has one or
more authors. Each author is an "Researcher" that is directly related to an
XWikiUser. What I want to do is to set editing rights only for the authors
of that publication. If I add (or remove) an author he should be able (not
able) to edit the document.
What i thought first was to check and add user rights every time the
document was loaded. However this didn't worked because, initially, users
don't have rights to add new rights (lol). That doesn't seemed a good
practice anyway.
What is the best way to do this? Maybe after every change in editing mode,
system may apply the rights? How can I do that?
Btw, I'm using this snippet to add the user rights:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Setting+Rights
Thanks in advance,
Luís Braga
--
View this message in context: http://xwiki.475771.n2.nabble.com/Dynamically-set-rights-over-document-tp60…
Sent from the XWiki- Users mailing list archive at Nabble.com.