I'm hoping to create a simple Xwiki macro to allow users an easy way
to create local file:// links to internal network shares through the
WYSIWYG macros feature. This is also an excuse for me to try to get
m2eclipse to work for building Xwiki as well. However, so far the
plugin doesn't seem to be working right.
I'm generally following the guide here:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/RenderingMacroTutorial#HC…
I first attempted at using Eclipse's m2eclipse plugin to create a new
maven project, but had some troubles with this. I first added a maven
archetypes catalog through the Window->Preferences->Maven->Archetypes
menu. I added a remote catalog using the url
"http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-tools/trunk/xwiki-archety…".
Then, by going through the new maven project wizard, I checked the
"include snapshot archetypes" box and the xwiki-archetype-macro shows
up. I then fill out the input boxes, for example something like:
Group ID: com.lyraphase
Artifact ID: localFileLinkMacro
Version: 0.0.1-SNAPSHOT
Package: com.lyraphase
I click finish and it simply says "Failed to create project". The
event details for the error in the log are:
--------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.php.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product
org.eclipse.epp.package.php.product
Error
Tue May 25 18:28:55 MDT 2010
Failed to create project.
java.lang.NullPointerException
at org.apache.maven.artifact.repository.DefaultArtifactRepositoryFactory.createArtifactRepository(DefaultArtifactRepositoryFactory.java:90)
at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.resolveArchetype(ProjectConfigurationManager.java:540)
at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:463)
at org.maven.ide.eclipse.wizards.MavenProjectWizard$5.runInWorkspace(MavenProjectWizard.java:279)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--------------------------------------------
I then gave up on that, and just made a new directory and ran the
maven command line mentioned in the Macro Tutorial through Cygwin. I
entered the Group ID, etc...
The command seemed to work, however again m2eclipse chokes on missing
maven dependencies after doing a "Import -> Existing Maven Project".
The console log in Eclipse also shows *tons* of warnings about
checksums failing and some missing pom files. For example:
5/25/10 6:02:18 PM MDT: [WARN] *** CHECKSUM FAILED - Checksum failed
on download: local = 'f4993fe96db30ae57ca4d71e34ebe200b63981b6';
remote = 'eaf4f3d8c6ee17e73ca671a496a4b307f83aed63' - IGNORING
5/25/10 6:02:19 PM MDT: [WARN] *** CHECKSUM FAILED - Checksum failed
on download: local = 'aaeb993ef6348a2e5102df06b408d8bb220d609e';
remote = '79231f9f429a3ba10c5d260b4e683fe7599498d0' - IGNORING
Most of that stuff is uninteresting, but I snipped out some of the
more interesting messages I found within the mess.
--------------------------------------------
5/25/10 5:46:08 PM MDT: Unable to update index for
xwiki-externals|http://maven.xwiki.org/externals: Resource
nexus-maven-repository-index.properties does not exist
5/25/10 5:52:57 PM MDT: Missing artifact
org.xwiki.platform:xwiki-core-rendering-parser-wikimodel:jar:2.3-SNAPSHOT:compile
5/25/10 5:46:10 PM MDT: Unable to update index for
xwiki-plugins-externals|http://maven.xwiki.org/externals: Resource
nexus-maven-repository-index.properties does not exist
5/25/10 5:52:57 PM MDT: Missing artifact
org.xwiki.platform:xwiki-core-rendering-parser-wikimodel:jar:2.3-SNAPSHOT:compile
5/25/10 6:02:19 PM MDT: Missing artifact
org.xwiki.platform:xwiki-core-rendering-parser-wikimodel:jar:2.3-SNAPSHOT:compile
5/25/10 6:02:24 PM MDT: Maven Builder: FULL_BUILD
5/25/10 6:02:24 PM MDT: Build errors for localFileLinkMacro;
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal on project localFileLinkMacro: Missing:
----------
1) org.xwiki.platform:xwiki-core-rendering-parser-wikimodel:jar:2.3-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.xwiki.platform
-DartifactId=xwiki-core-rendering-parser-wikimodel
-Dversion=2.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.xwiki.platform
-DartifactId=xwiki-core-rendering-parser-wikimodel
-Dversion=2.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.lyraphase:localFileLinkMacro:pom:pom:1.0-SNAPSHOT
2) org.xwiki.platform:xwiki-core-rendering-parser-wikimodel:jar:2.3-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
com.lyraphase:localFileLinkMacro:pom:1.0-SNAPSHOT
from the specified remote repositories:
xwiki-externals (http://maven.xwiki.org/externals, releases=true,
snapshots=true),
xwiki-releases (http://maven.xwiki.org/releases, releases=true,
snapshots=false),
xwiki-snapshots (http://maven.xwiki.org/snapshots, releases=false,
snapshots=true),
central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
--------------------------------------------
Hello,
I can install and run the standalone version of xwiki Watch with no problems. However, installing Watch app over an existing xwiki causes problems.
Steps to reproduce:
1. I download xwiki-watch-1.0.xar
2. I start xwiki 2.3, and import the watch xar. The import tells me it was successfully accomplished
3. In Administration > Preferences > Programming, I add WatchCode.Translations as an Internationalization Document Bundle, and click Save
4. I go to Spaces, click Watch, and "Go To xwiki Watch Reader". I get Error message: "watch.errorwithcode - com.google.gwt.user.client.rpc.InvocationException. The call failed on the server":
I also notice that under my Spaces in xwiki, WatchCode, WatchQueries, WatchSheets and Packager all have big blue question marks. This did not when I import other xwiki apps
Has any one encountered this Error? Can you suggest how I can get around it?
Thank you,
Thomas
Marine Julian wrote:
>
> The first problem is that importation by splitting the document doesn't
> work in 2.3 version... I tried to split by heading of level 1. It said to
> me that the importation succeeds and showed me the link to the new page
> (said Rapports.parent) but when I accessed it I had the "The page doesn't
> exist"... Later, I realized that my document was imported in the
> Main.WebHome page !! Weird ! In fact, the importation succeeded but not
> where I wanted and asked for ! In fact, I had the equivalent of
> "Rapports.parent" in the Main.WebHome i.e. the content and the links to
> Rapports.child pages. Unfortunately, the links had the [?] of "page not
> existing". Indeed, they links to "Rapports.children" pages which don't
> exist : the child pages were also imported behind the parent page (itself
> behind the content of Main.WebHome)...
>
Does it need to be reported on jira ? I don't know in which case we must do
it and if we are allowed to do it (perhaps only devs can report a bug...).
Please note that, in wiki farm, from a subwiki, the document is not imported
in its Main.WebHome page but in the Main.WebHome page of the admin wiki
(Main wiki)...
--
View this message in context: http://xwiki.475771.n2.nabble.com/Importation-issues-tp5107820p5120875.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Dear forum,
I am new to xwiki.
Today I setup a xwiki (2.3) and have a try.
When I tried to create a new space with the "Create" button on the
Dashboard, I got an error page "Notice This document already exists." The
same result using the create button on "New Page" panel. However, I was able
to create a space with the Xwiki menu (I was using the default sking) and
typing the space name in URL address (XXX/bin/view/NewPage/).
Tried XE 2.2.6, there was no such problem.
I checked the xwiki.log under Tomcat folder, there was no error message. (Is
this right log to check error?)
Any idea on this?
My setup:
Windows 2008 (Simplified Chinese, 32bit)
MySQL 5.1.45
Tomcat 6.0.26
Thanks.
Rex
thx a LOT Guillaume I did not know we could switch the code as easy as
that !
my problem is solved I manage to put the code in 1.0 version and it
works, COOL :)
thx again !
Caroline.
users-request(a)xwiki.org a écrit :
> ------------------------------
>
> Message: 2
> Date: Thu, 27 May 2010 14:13:34 +0200
> From: Guillaume Lerouge <guillaume(a)xwiki.com>
> Subject: Re: [xwiki-users] Problem deleting blog space & renaming
> another space
> To: XWiki Users <users(a)xwiki.org>
> Message-ID:
> <AANLkTinmS-OVm-u0rTu61sLUvAH2Mr3IDqSq_xT1Unl9(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
> On Thu, May 27, 2010 at 14:05, Gerwin Software - Caroline <
> caroline(a)gerwinsoftware.com> wrote:
>
>
>> dear gregor,
>>
>> "Did you run the velocity-macro mentioned in the link I sent you?"
>> Yes I tried of course !
>>
>> Apparently I read that there are some hidden files and I can't see them :S
>>
>> Concerning my second problem, "renaming a space", have you got any idea ?
>> How to rename the name of a space ?
>> (I already tried the *Space Rename Snippet* but it is 1.0 code and my xwiki
>> is 2.0 code..)
>>
>>
>
> Create a page in wiki edition mode, switch that page's syntax to "XWiki 1.0"
> using the panel on the right, paste the content, save the page and it will
> work ;-)
>
> Guillaume
Hi, all.
I try to install xwiki (Glassfish + oracle-xe).
When I launch the XWiki I get the following error message in Firefox:
--------------------------------------------------------------
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: org.objectweb.asm.ClassWriter.<init>(Z)V
--------------------------------------------------------------
Please see server.log below. I checked hibernate.cfg.xml, oracle-xe configuration lot of times. Also I tried to connect xwiki to mysql, to change java, glassfish and xwiki version. But I always get the same error.
I will be grateful for the help.
Thanks,
Simon.
--------------------------------------------------------------
# uname -a
Linux xwiki.office.lz 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linux
# java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode, sharing)
Glassfish: glassfish-installer-v2.1.1-b31g-linux-ml
XWiki version: xwiki-enterprise-web-2.2.6.war
--------------------------------------------------------------
=The Server Log message=
[#|2010-05-27T10:49:47.736+0400|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=13;_ThreadName=http://xwiki.office.lz:8080/xwiki/bin/view/Main/;|2010-05-27 10:49:47,733 [http://xwiki.office.lz:8080/xwiki/bin/view/Main/] WARN action.RequestProcessor - Unhandled Exception thrown: class com.xpn.xwiki.XWikiException
|#]
[#|2010-05-27T10:49:47.758+0400|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=http://xwiki.office.lz:8080/xwiki/bin/view/Main/;_RequestID=409a467f-f7cb-4c03-8bf9-9a4f33d6ae85;|StandardWrapperValve[action]: PWC1406: Servlet.service() for servlet action threw exception
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: org.objectweb.asm.ClassWriter.<init>(Z)V
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:369)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:430)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class
Wrapped Exception: org.objectweb.asm.ClassWriter.<init>(Z)V
at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1078)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:770)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:713)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:350)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:430)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Wrapped Exception:
java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V
at net.sf.cglib.core.DebuggingClassWriter.<init>(DebuggingClassWriter.java:47)
at net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(DefaultGeneratorStrategy.java:30)
at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:24)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:117)
at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:302)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.JoinedSubclassEntityPersister.<init>(JoinedSubclassEntityPersister.java:91)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:58)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:166)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:561)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1055)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1099)
at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:68)
at com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:68)
at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:51)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1070)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:770)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:713)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:350)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:430)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]
I Hello,
I have installed Xwiki for my company, and wanted to disable the "blog".
It seemed that I cannot do that so I decided to *delete the blog space. *
I have read that in order to delete a whole space I have to delete all
files in it so I did it, but the blog space is still there, empty with a
"?" shown at the end.
I have searched through the internet and found someone had the same
problem as me. The answer of the admin was :
/"The reason is that there are some hidden documents in some spaces
(like in the Blog space for example). We need to fix this. In the
meantime, one solution (which is a pain I agree) is to go to that hidden
page (you can use Ctrl + M to navigate) and delete it from there."
/
So I wanted to delete those hidden files but I can't find them :S
Can someone explain me how to show the hidden files and delete them ?
I can't understand where to go and use Ctrl+M to navigate :S
I have an other issue : *I tried to rename a space but didn't
succeed *:S
I have searched through the internet adn found this piece of information :
/"If you want to rename a full space, see the /Space Rename Snippet./."/
(source : http://platform.xwiki.org/xwiki/bin/view/Features/Spaces
& http://code.xwiki.org/xwiki/bin/view/Snippets/RenameSpaceSnippet)
So I tried it but this /Space Rename Snippet/ is a xwiki code 1.0 and
our xwiki is a 2.0 version , so the Snippet doesn't work :/
So I tried to find a 2.0 version of the /Space Rename Snippet/ code but
without any success.
If someone has it or any solution to change the name of a space I'm
listening :)
Sincerely.
Hi guys,
I've upgraded to XWiki 2.3.
In the docs, it says:
"To turn on comment captcha requirement, go to wiki or space
administration, click on the "Rights" section and notice the checkbox
toward the bottom labeled "Require unregistered users to solve a
captcha when posting a comment on a page". Check that box and guests
will be required to solve a captcha to comment."
However, when I go to the "Rights" section, I do not see any checkbox
saying "Require unregistered users to solve a captcha when posting a
comment on a page".
I've already imported the latest xar-archive.
Could anyone shed some light how to get this new feature working?
TIA
Gregor
--
just because you're paranoid, don't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi
dear gregor,
"Did you run the velocity-macro mentioned in the link I sent you?"
Yes I tried of course !
Apparently I read that there are some hidden files and I can't see them :S
Concerning my second problem, "renaming a space", have you got any idea ?
How to rename the name of a space ?
(I already tried the *Space Rename Snippet* but it is 1.0 code and my xwiki is 2.0 code..)
If you don't have any idea where can I ask the question ?
I've already
Regards,
Caroline.
Caroline,
the adress users(a)xwiki.org is perfectly fine. I got no idea who Bruno
Neves is, but my best guess is that there's something wrong with your
email-account / mailserver - you might want to talk to your mail-admin
to get things sorted out or simply get an GMail-account.
Also, I see that you reply to a mailing-list-digest. You might want to
simply write a mail to users(a)xwiki.org, enter a meaningful subject,
and there you go. Alternativly, simply reply to this mail and make
sure, that the receiver is not rc46fi(a)googlemail.com (that's me) but
users(a)xwiki.org. If a simple reply just puts my email-adress into the
receiver-field, you might want to try out the "reply-all" function of
your email-program and remove all receivers but users(a)xwiki.org.
Coming back to your question:
Did you run the velocity-macro mentioned in the link I sent you?
If this macro doesn't work, I'm out of any ideas.
Rgds
Gregor
--
just because you're paranoid, don't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi