unsubscribe
On Wed, 04 May 2011 07:19:58 +0200, users-request(a)xwiki.org wrote:
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Re: XWiki.war + JBoss AS6 + MySQL (Sergiu Dumitriu)
2. Re: XWiki.war + JBoss AS6 + MySQL (andyp)
3. Re: XWiki.war + JBoss AS6 + MySQL (Sergiu Dumitriu)
4. Re: XWiki.war + JBoss AS6 + MySQL (andyp)
5. Re: Error while parsing velocity page Wrapped Exception
(Marius Dumitru Florea)
----------------------------------------------------------------------
Message: 1
Date: Wed, 04 May 2011 00:42:54 +0200
From: Sergiu Dumitriu <sergiu(a)xwiki.com>
Subject: Re: [xwiki-users] XWiki.war + JBoss AS6 + MySQL
To: XWiki Users <users(a)xwiki.org>
Message-ID: <4DC084EE.8040208(a)xwiki.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
On 05/04/2011 12:21 AM, andyp wrote:
Vincent and Sergiu ? thanks both for all your
replies. Unfortunately the
headache continues. I'm not sure if this is correct but making the below
changes to jboss-web.xml no longer crashes JBoss but XWiki still fails with
the stack trace at the bottom of this message.
?Should we create a jboss-web.xml configuration file as well?
We recently added a sun-web.xml file to fix another classloading
problem, this time for GlassFish. ?
To someone like me ? this seems like a great idea. Anything you can do to
ease the learning curve for a newbie trying to setup and learn XWiki can't
be bad.
Cheers,
Andy
$JBOSS_HOME/server/default/deploy/xwiki.war/WEB-INF/jboss-web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<loader-repository>
com.xwiki:archive=xwiki.war
</loader-repository>
<resource-ref>
<res-ref-name>jdbc/XWikiDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<jndi-name>java:jdbc/XWikiDS</jndi-name>
</resource-ref>
</jboss-web>
Can you try this one:
<?xml version="1.0"
encoding="UTF-8"?>
<jboss-web>
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
org.xwiki:archive=xwiki.war
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
<resource-ref>
<res-ref-name>jdbc/XWikiDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<jndi-name>java:jdbc/XWikiDS</jndi-name>
</resource-ref>
</jboss-web>
-- Sergiu Dumitriu
http://purl.org/net/sergiu/
------------------------------
Message: 2
Date: Tue, 3 May 2011 16:54:47 -0700 (PDT)
From: andyp <andy_pikey(a)hotmail.com>
Subject: Re: [xwiki-users] XWiki.war + JBoss AS6 + MySQL
To: users(a)xwiki.org
Message-ID: <1304466887416-6329205.post(a)n2.nabble.com>
Content-Type: text/plain; charset=us-ascii
Hi Sergiu,
If I try that I get the same class loading error and JBoss is unable to
start:
================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/local/jboss
JAVA: /usr/lib/jvm/java-6-sun/bin/java
JAVA_OPTS: -server -Xms128m -Xmx512m -XX:MaxPermSize=256m
-Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
-Dprogram.name=run.sh -Djava.li$
CLASSPATH:
/usr/local/jboss/bin/run.jar:/usr/lib/jvm/java-6-sun/lib/tools.jar
================================================================
23:36:21,795 INFO [AbstractJBossASServerBase] Server Configuration:
JBOSS_HOME URL: file:/java/apps/jboss/jboss-6.0.0.Final/
Bootstrap: $JBOSS_HOME/server/default/conf/bootstrap.xml
Common Base: $JBOSS_HOME/common/
Common Library: $JBOSS_HOME/common/lib/
Server Name: default
Server Base: $JBOSS_HOME/server/
Server Library: $JBOSS_HOME/server/default/lib/
Server Config: $JBOSS_HOME/server/default/conf/
Server Home: $JBOSS_HOME/server/default/
Server Data: $JBOSS_HOME/server/default/data/
Server Log: $JBOSS_HOME/server/default/log/
Server Temp: $JBOSS_HOME/server/default/tmp/
23:36:21,798 INFO [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]
23:36:23,652 INFO [ServerInfo] Java version: 1.6.0_24,Sun Microsystems Inc.
23:36:23,652 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime
Environment (build 1.6.0_24-b07)
23:36:23,652 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM
19.1-b02,Sun Microsystems Inc.
23:36:23,653 INFO [ServerInfo] OS-System: Linux 2.6.35-28-server,amd64
23:36:23,653 INFO [ServerInfo] VM arguments: -Xms128m -Xmx512m
-XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
-Dprog$
23:36:23,701 INFO [JMXKernel] Legacy JMX core initialized
23:36:30,013 INFO [AbstractServerConfig] JBoss Web Services - Stack CXF
Server 3.4.1.GA
23:36:30,707 INFO [JSFImplManagementDeployer] Initialized 3 JSF
configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
23:36:37,193 WARNING [FileConfigurationParser] AIO wasn't located on this
platform, it will fall back to using pure Java NIO. If your platform is
Linux, install LibAIO to enable the AIO journal
23:37:44,064 WARN [ClassLoaderManager] Unexpected error during load
of:org.apache.jackrabbit.core.query.lucene.WildcardQuery$WildcardQueryWeight:
java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_24]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
[:1.6.0_24]
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
[:1.6.0_24]
at
org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:52)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:650)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:609)
[jboss-classloader.jar:2.2.0.GA]
at java.security.AccessController.doPrivileged(Native Method)
[:1.6.0_24]
at
org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:608)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:585)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:156)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.filter.FilteredDelegateLoader.doLoadClass(FilteredDelegateLoader.java:141)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:132)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:461)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:262)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:161)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:260)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1152)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:886)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:505)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:450)
[jboss-classloader.jar:2.2.0.GA]
at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_24]
at java.lang.Class.forName0(Native Method) [:1.6.0_24]
at java.lang.Class.forName(Class.java:247) [:1.6.0_24]
at
org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.resolveComplexTypeInfo(IntrospectionTypeInfoFactoryImpl.java:458)
[jboss-reflect.jar:2.2.0.GA]
at
org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:414)
[jboss-reflect.jar:2.2.0.GA]
at
org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory.getTypeInfo(IntrospectionTypeInfoFactory.java:54)
[jboss-reflect.jar:2.2.0.GA]
at
org.jboss.config.plugins.AbstractConfiguration.getTypeInfo(AbstractConfiguration.java:121)
[jboss-reflect.jar:2.2.0.GA]
at
org.jboss.kernel.plugins.config.AbstractKernelConfig.getTypeInfo(AbstractKernelConfig.java:95)
[jboss-kernel.jar:2.2.0.GA]
at
org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getTypeInfo(AbstractKernelConfigurator.java:102)
[jboss-kernel.jar:2.2.0.GA]
at
org.jboss.scanning.plugins.visitor.ConfiguratorReflectProvider.getTypeInfo(ConfiguratorReflectProvider.java:47)
[:1.0.0.GA]
at
org.jboss.scanning.plugins.visitor.CachingReflectProvider.getTypeInfo(CachingReflectProvider.java:52)
[:1.0.0.GA]
at
org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.getTypeInfo(ReflectResourceVisitor.java:60)
[:1.0.0.GA]
at
org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.getClassInfo(ReflectResourceVisitor.java:72)
[:1.0.0.GA]
at
org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.doVisit(ReflectResourceVisitor.java:107)
[:1.0.0.GA]
at
org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:86)
[:1.0.0.GA]
at
org.jboss.scanning.annotations.plugins.AnnotationsScanningPlugin.visit(AnnotationsScanningPlugin.java:89)
[:1.0.0.GA]
at
org.jboss.scanning.spi.helpers.ScanningPluginWrapper.visit(ScanningPluginWrapper.java:112)
[:1.0.0.GA]
at
org.jboss.classloading.plugins.visitor.FederatedResourceVisitor.visit(FederatedResourceVisitor.java:101)
[jboss-classloading.jar:2.2.0.GA]
at
org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:264)
[jboss-classloading-vfs.jar:2.2.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:408)
[jboss-vfs.jar:3.0.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410)
[jboss-vfs.jar:3.0.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410)
[jboss-vfs.jar:3.0.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410)
[jboss-vfs.jar:3.0.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410)
[jboss-vfs.jar:3.0.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410)
[jboss-vfs.jar:3.0.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410)
[jboss-vfs.jar:3.0.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:396)
[jboss-vfs.jar:3.0.0.GA]
at
org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:102)
[jboss-classloading-vfs.jar:2.2.0.GA]
at
org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.visit(VFSDeploymentClassLoaderPolicyModule.java:181)
[:2.2.0.GA]
at
org.jboss.scanning.plugins.DeploymentUnitScanner.scan(DeploymentUnitScanner.java:111)
[:1.0.0.GA]
at
org.jboss.scanning.spi.helpers.UrlScanner.scan(UrlScanner.java:96)
[:1.0.0.GA]
at
org.jboss.scanning.deployers.ScanningDeployer.deploy(ScanningDeployer.java:95)
[:1.0.0.GA]
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
[:2.2.0.GA]
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832)
[:2.2.0.GA]
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550)
[:2.2.0.GA]
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491)
[:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983)
[:2.2.0.GA]
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076)
[:2.2.0.GA]
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679)
[:2.2.0.GA]
at
org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106)
[:6.0.0.Final]
at
org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143)
[:0.2.2]
at
org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151)
[:0.2.2]
at
org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94)
[:0.2.2]
at
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
[jboss-kernel.jar:2.2.0.GA]
at
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
[jboss-kernel.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190)
[:0.2.2]
at
org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87)
[:0.2.2]
at
org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215)
[:0.2.2]
at
org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159)
[:0.2.2]
at
org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112)
[:0.2.2]
at
org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87)
[:0.2.2]
at
org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91)
[:0.2.2]
at
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132)
[:6.0.0.Final]
at
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56)
[:6.0.0.Final]
at
org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827)
[jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at
org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417)
[jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
23:37:44,102 WARN [ClassLoaderManager] Unexpected error during load
of:org.apache.jackrabbit.core.query.lucene.WildcardQuery$WildcardQueryWeight:
java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_24]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
[:1.6.0_24]
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
[:1.6.0_24]
at
org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:52)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:650)
[jboss-classloader.jar:2.2.0.GA]
at
org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:609)
[jboss-classloader.jar:2.2.0.GA]
at java.security.AccessController.doPrivileged(Native Method)
[:1.6.0_24]
at
org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:608)
[jboss-classloader.jar:2.2.0.GA]
.
.
.
. .
.
Lots more follows!
--
View this message in context:
http://xwiki.475771.n2.nabble.com/XWiki-war-JBoss-AS6-MySQL-tp6309076p63292…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
------------------------------
Message: 3
Date: Wed, 04 May 2011 02:04:41 +0200
From: Sergiu Dumitriu <sergiu(a)xwiki.com>
Subject: Re: [xwiki-users] XWiki.war + JBoss AS6 + MySQL
To: XWiki Users <users(a)xwiki.org>
Message-ID: <4DC09819.5070101(a)xwiki.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
On 05/04/2011 01:54 AM, andyp wrote:
Hi Sergiu,
If I try that I get the same class loading error and JBoss is unable to
start:
I'll download a JBoss and try for myself, since debugging over the
email is quite slow.
Unfortunately it's quite late for me, I'll try it tomorrow and reply
with the outcome.
Just to make sure, you're using JBoss Application Server 6.0.0, the
community edition, right?
-- Sergiu Dumitriu
http://purl.org/net/sergiu/
------------------------------
Message: 4
Date: Tue, 3 May 2011 17:17:48 -0700 (PDT)
From: andyp <andy_pikey(a)hotmail.com>
Subject: Re: [xwiki-users] XWiki.war + JBoss AS6 + MySQL
To: users(a)xwiki.org
Message-ID: <1304468268493-6329250.post(a)n2.nabble.com>
Content-Type: text/plain; charset=us-ascii
That correct, I am using AS 6.0.0 community edition. Thanks for your help
here Sergiu, I really appreciate it!
--
View this message in context:
http://xwiki.475771.n2.nabble.com/XWiki-war-JBoss-AS6-MySQL-tp6309076p63292…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
------------------------------
Message: 5
Date: Wed, 04 May 2011 08:19:45 +0300
From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
Subject: Re: [xwiki-users] Error while parsing velocity page Wrapped
Exception
To: users(a)xwiki.org
Message-ID: <4DC0E1F1.80807(a)xwiki.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Chris,
On 05/04/2011 12:39 AM, Christian Wawrzinek wrote:
Hello again.
I am pretty sure it is one of the panels know. The blog wich uses a
different set
of panels works fine. The problem is, that I am not
able to get to the "administer wiki" page where I could disable the
panels in question (since that page is using the default panel set).
Does anyone know a different way to disable
certain panels. I guess
it would even help to reset the layout so the left column
goes away.
Maybe I could go directly into the database if someone could guid me
through.
Any help or idea is very much appreciated. This
is a real disaster to me.
Go to /xwiki/bin/edit/XWiki/XWikiPreferences?editor=object , expand
the XWiki.XWikiPreferences object and look for the panel related
preferences.
Hope this helps,
Marius
> Cheers Chris.
> On 02.05.2011, at 22:28,
wac(a)yellowhippy.com wrote:
>> Hello,
>>
>> after editing the parant of a page I do get the following error on
>> every single page, execpt the log in. Therefor I think maybe one of my
>> panels has issues.
>> Is there a way to disable those. Or any other ideas what might be wrong?
>>
>> Thanks,
>> Chris
>>
>>
>> Error number 4001 in 4: Error while parsing velocity page Wrapped
>> Exception: Failed to evaluate content with id []
>>
>> Error number 4001 in 4: Error while parsing velocity page
>> Wrapped Exception: Failed to evaluate content with id []
>> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
>> parsing velocity page
>> Wrapped Exception: Failed to evaluate content with id []
> at
>
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:122)
> at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1924)
> at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1843)
> at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
> 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:689)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
>
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
>
com.xpn.xwiki.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
>
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
>
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
> at
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
> at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
>> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
>> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
> at
>
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
> at
>
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>> at java.lang.Thread.run(Thread.java:662)
>>
>>
>> Wrapped Exception:
>>
>> java.util.EmptyStackException
>> at java.util.Stack.peek(Stack.java:85)
>> at java.util.Stack.pop(Stack.java:67)
> at
>
org.apache.velocity.context.InternalContextBase.popCurrentMacroName(InternalContextBase.java:140)
> at
>
org.apache.velocity.context.InternalContextAdapterImpl.popCurrentMacroName(InternalContextAdapterImpl.java:163)
> at
>
org.apache.velocity.context.ChainedInternalContextAdapter.popCurrentMacroName(ChainedInternalContextAdapter.java:168)
> at
>
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:217)
> at
>
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
> at
>
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
> at
>
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
> 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:342)
> at
>
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
> at
>
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
> at
>
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:188)
> at
>
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:153)
> at
>
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
> at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1924)
> at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1843)
> at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
> 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:689)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
>
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
>
com.xpn.xwiki.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
>
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
>
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
> at
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
> at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
>> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
>> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
> at
>
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
> at
>
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at
java.lang.Thread.run(Thread.java:662)
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
------------------------------
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
End of users Digest, Vol 46, Issue 6
************************************