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>
=============================================
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
=============================================
21:35:28,226 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/
21:35:28,230 INFO [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]
21:35:29,998 INFO [ServerInfo] Java version: 1.6.0_24,Sun Microsystems Inc.
21:35:29,998 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime
Environment (build 1.6.0_24-b07)
21:35:29,999 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM
19.1-b02,Sun Microsystems Inc.
21:35:29,999 INFO [ServerInfo] OS-System: Linux 2.6.35-28-server,amd64
21:35:29,999 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$
21:35:30,039 INFO [JMXKernel] Legacy JMX core initialized
21:35:36,611 INFO [AbstractServerConfig] JBoss Web Services - Stack CXF
Server 3.4.1.GA
21:35:37,282 INFO [JSFImplManagementDeployer] Initialized 3 JSF
configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
21:35:43,385 ERROR [AbstractKernelController] Error installing to Parse:
name=vfs:///java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/xwiki.war
state=PreParse mode=Manual requiredState=Parse:
org.jboss.deployers.spi.DeploymentExce$
at
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
[:2.2.0.GA]
at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:383)
[:2.2.0.GA]
at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343)
[:2.2.0.GA]
at
org.jboss.deployment.JBossWebAppParsingDeployer.createMetaData(JBossWebAppParsingDeployer.java:99)
[:6.0.0.Final]
at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:315)
[:2.2.0.GA]
at
org.jboss.deployment.JBossWebAppParsingDeployer.createMetaData(JBossWebAppParsingDeployer.java:80)
[:6.0.0.Final]
at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:255)
[:2.2.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]
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source:
vfs:///java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/xwiki.war/WEB-INF/jboss-web.xml@3,24
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:224)
[jbossxb.jar:2.0.3.GA]
at
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:178)
[jbossxb.jar:2.0.3.GA]
at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:257)
[jbossxb.jar:2.0.3.GA]
at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:231)
[jbossxb.jar:2.0.3.GA]
at
org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137)
[:2.2.0.GA]
at
org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121)
[:2.2.0.GA]
at
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:352)
[:2.2.0.GA]
at
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:334)
[:2.2.0.GA]
at
org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:251)
[:2.2.0.GA]
at
org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:369)
[:2.2.0.GA]
... 49 more
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: loader-repository
not found as a child of jboss-web in unordered_sequence: security-role*
max-active-sessions? webservice-description* class-loading?
jacc-star-role-allow? message-$
at
org.jboss.xb.binding.sunday.unmarshalling.ElementPosition.nextPosition(ElementPosition.java:199)
[jbossxb.jar:2.0.3.GA]
at
org.jboss.xb.binding.sunday.unmarshalling.ElementPosition.startParticle(ElementPosition.java:475)
[jbossxb.jar:2.0.3.GA]
at
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:202)
[jbossxb.jar:2.0.3.GA]
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.startElement(SaxJBossXBParser.java:401)
[jbossxb.jar:2.0.3.GA]
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown
Source) [xercesImpl.jar:6.0.0.Final]
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source) [xercesImpl.jar:6.0.0.Final]
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source) [xercesImpl.jar:6.0.0.Final]
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source) [xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[xercesImpl.jar:6.0.0.Final]
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source) [xercesImpl.jar:6.0.0.Final]
at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:209)
[jbossxb.jar:2.0.3.GA]
... 58 more
21:35:43,857 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
21:35:47,545 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
21:35:47,778 INFO [JMXConnector] starting JMXConnector on host 0.0.0.0:1090
21:35:47,870 INFO [MailService] Mail Service bound to java:/Mail
21:35:49,458 INFO [HornetQServerImpl] live server is starting..
21:35:49,545 INFO [JournalStorageManager] Using NIO Journal
21:35:49,567 WARNING [HornetQServerImpl] Security risk! It has been detected
that the cluster admin user and password have not been changed from the
installation default. Please see the HornetQ user guide, cluster chapter,
for instructio$
21:35:50,256 INFO [NettyAcceptor] Started Netty Acceptor version
3.2.1.Final-r2319 0.0.0.0:5455 for CORE protocol
21:35:50,258 INFO [NettyAcceptor] Started Netty Acceptor version
3.2.1.Final-r2319 0.0.0.0:5445 for CORE protocol
21:35:50,266 INFO [HornetQServerImpl] HornetQ Server version 2.1.2.Final
(Colmeia, 120) started
21:35:50,319 INFO [WebService] Using RMI server codebase:
http://xwiki.defaultdomain:8083/
21:35:50,500 INFO [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag:
JBOSSTS_4_14_0_Final) - JBoss Inc.
21:35:50,505 INFO [arjuna] ARJUNA-12324 Start RecoveryActivators
21:35:50,523 INFO [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at Tue,
3 May 2011 21:35:50
21:35:50,587 INFO [arjuna] ARJUNA-12310 Recovery manager listening on
endpoint 0.0.0.0:4712
21:35:50,587 INFO [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on
port 4712
21:35:50,590 INFO [jbossatx] ARJUNA-32013 Starting transaction recovery
manager
21:35:50,610 INFO [arjuna] ARJUNA-12163 Starting service
com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713
21:35:50,611 INFO [arjuna] ARJUNA-12337 TransactionStatusManagerItem host:
0.0.0.0 port: 4713
21:35:50,791 INFO [arjuna] ARJUNA-12170 TransactionStatusManager started on
port 4713 and host 0.0.0.0 with service
com.arjuna.ats.arjuna.recovery.ActionStatusService
21:35:50,830 INFO [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA
version - tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
21:35:51,424 INFO [arjuna] ARJUNA-12202 registering bean
jboss.jta:type=ObjectStore.
21:35:51,674 INFO [AprLifecycleListener] The Apache Tomcat Native library
which allows optimal performance in production environments was not found on
the java.library.path: /usr/local/jboss/bin/native/lib64
21:35:51,881 INFO [ModClusterService] Initializing mod_cluster 1.1.0.Final
21:35:51,898 INFO [TomcatDeployment] deploy, ctxPath=/invoker
21:35:52,570 INFO [RARDeployment] Required license terms exist, view
vfs:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
21:35:52,586 INFO [RARDeployment] Required license terms exist, view
vfs:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
21:35:52,595 INFO [RARDeployment] Required license terms exist, view
vfs:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/jms-ra.rar/META-INF/ra.xml
21:35:52,611 INFO [HornetQResourceAdapter] HornetQ resource adaptor started
21:35:52,626 INFO [RARDeployment] Required license terms exist, view
vfs:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/mail-ra.rar/META-INF/ra.xml
21:35:52,640 INFO [RARDeployment] Required license terms exist, view
vfs:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
21:35:52,735 INFO [SimpleThreadPool] Job execution threads will use class
loader of thread: Thread-2
21:35:52,808 INFO [SchedulerSignalerImpl] Initialized Scheduler Signaller
of type: class org.quartz.core.SchedulerSignalerImpl
21:35:52,809 INFO [QuartzScheduler] Quartz Scheduler v.1.8.3 created.
21:35:52,812 INFO [RAMJobStore] RAMJobStore initialized.
21:35:52,816 INFO [QuartzScheduler] Scheduler meta-data: Quartz Scheduler
(v1.8.3) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support
persistence. and is not clustered.
21:35:52,817 INFO [StdSchedulerFactory] Quartz scheduler
'JBossQuartzScheduler' initialized from an externally opened InputStream.
21:35:52,817 INFO [StdSchedulerFactory] Quartz scheduler version: 1.8.3
21:35:52,817 INFO [QuartzScheduler] Scheduler
JBossQuartzScheduler_$_NON_CLUSTERED started.
21:35:54,003 INFO [ConnectionFactoryBindingService] Bound ConnectionManager
'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name
'java:DefaultDS'
21:35:54,415 INFO [ConnectionFactoryBindingService] Bound ConnectionManager
'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name
'java:JmsXA'
21:35:54,443 INFO [ConnectionFactoryBindingService] Bound ConnectionManager
'jboss.jca:service=DataSourceBinding,name=XWikiDS' to JNDI name
'java:XWikiDS'
21:35:54,673 INFO [xnio] XNIO Version 2.1.0.CR2
21:35:54,684 INFO [nio] XNIO NIO Implementation Version 2.1.0.CR2
21:35:54,831 INFO [remoting] JBoss Remoting version 3.1.0.Beta2
21:35:54,980 INFO [TomcatDeployment] deploy, ctxPath=/
21:35:55,030 INFO [service] Removing bootstrap log handlers
21:35:55,087 ERROR [ProfileServiceBootstrap] Failed to load profile::
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS IN ERROR:
Deployment
"vfs:///java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/xwiki.war"
is in error due to the following reason(s):
org.jboss.xb.binding.JBossXBRuntimeException: loader-repository not found as
a child of jboss-web in unor$
at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228)
[:2.2.0.GA]
at
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905)
[:2.2.0.GA]
at
org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87)
[:6.0.0.Final]
at
org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107)
[:0.2.2]
at
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135)
[: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]
21:35:55,103 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote
HTTP/1.1 on http-0.0.0.0-8080
21:35:55,106 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote
AJP/1.3 on ajp-0.0.0.0-8009
21:35:55,106 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer]
JBossAS [6.0.0.Final "Neo"] Started in 26s:872ms
vmassol wrote:
On May 3, 2011, at 9:40 AM, Vincent Massol wrote:
On May 3, 2011, at 9:39 AM, Vincent Massol wrote:
Hi Andy,
On Apr 27, 2011, at 1:25 PM, andyp wrote:
Hi all,
I'm trying to install the XWiki war file on a Ubuntu virtual machine
(KVM)
but as yet with no success. I've installed and configured java, jboss
and
mysql using all the information I could find from your website:
[snip]
01:36:10,087 WARN [ClassLoaderManager]
Unexpected error during load
of:org.apache.jackrabbit.core.query.lucene.WildcardQuery$WildcardQueryWeight:
java.lang.IncompatibleClassChangeError: Implementing class
[snip]
01:36:10,936 WARN [ClassLoaderManager]
Unexpected error during load
of:org.apache.jackrabbit.core.query.lucene.MatchAllWeight:
java.lang.IncompatibleClassChangeError: Implementing class
[snip]
As you can see in the error above the problem is an incompatible
version. JBoss uses Jackrabbit in a given version and XWiki users
another version of Jackrabbit.
It's the role of the appserver to isolate classloader so that a webapp
can use whatever version it wants in WEB-INF/lib.
You need to configure JBoss to provide this isolation. You need to check
Jboss's doc for that.
I just googled it quickly and found
http://community.jboss.org/wiki/ClassLoadingConfiguration
I've updated
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationJBoss with
this information.
Thanks
-Vincent
Hope it helps,
-Vincent
Alternatively you could remove xwiki'ds jackrabbit version from
WEB-INF/lib (make sure the version used by jboss is greater than the
one used by xwiki).
Thanks
-Vincent
> Can anyone see what I'm doing wrong? All the information on the web
> seems a
> little old – I'm using JBoss 6. I would be grateful if anyone could
> help
> shed any light on this issue.
>
> Cheers,
> Andy
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
vmassol wrote:
On May 3, 2011, at 9:40 AM, Vincent Massol wrote:
On May 3, 2011, at 9:39 AM, Vincent Massol wrote:
Hi Andy,
On Apr 27, 2011, at 1:25 PM, andyp wrote:
Hi all,
I'm trying to install the XWiki war file on a Ubuntu virtual machine
(KVM)
but as yet with no success. I've installed and configured java, jboss
and
mysql using all the information I could find from your website:
[snip]
01:36:10,087 WARN [ClassLoaderManager]
Unexpected error during load
of:org.apache.jackrabbit.core.query.lucene.WildcardQuery$WildcardQueryWeight:
java.lang.IncompatibleClassChangeError: Implementing class
[snip]
01:36:10,936 WARN [ClassLoaderManager]
Unexpected error during load
of:org.apache.jackrabbit.core.query.lucene.MatchAllWeight:
java.lang.IncompatibleClassChangeError: Implementing class
[snip]
As you can see in the error above the problem is an incompatible
version. JBoss uses Jackrabbit in a given version and XWiki users
another version of Jackrabbit.
It's the role of the appserver to isolate classloader so that a webapp
can use whatever version it wants in WEB-INF/lib.
You need to configure JBoss to provide this isolation. You need to check
Jboss's doc for that.
I just googled it quickly and found
http://community.jboss.org/wiki/ClassLoadingConfiguration
I've updated
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationJBoss with
this information.
Thanks
-Vincent
Hope it helps,
-Vincent
Alternatively you could remove xwiki'ds jackrabbit version from
WEB-INF/lib (make sure the version used by jboss is greater than the
one used by xwiki).
Thanks
-Vincent
> Can anyone see what I'm doing wrong? All the information on the web
> seems a
> little old – I'm using JBoss 6. I would be grateful if anyone could
> help
> shed any light on this issue.
>
> Cheers,
> Andy
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
vmassol wrote:
On May 3, 2011, at 9:40 AM, Vincent Massol wrote:
On May 3, 2011, at 9:39 AM, Vincent Massol wrote:
Hi Andy,
On Apr 27, 2011, at 1:25 PM, andyp wrote:
Hi all,
I'm trying to install the XWiki war file on a Ubuntu virtual machine
(KVM)
but as yet with no success. I've installed and configured java, jboss
and
mysql using all the information I could find from your website:
[snip]
01:36:10,087 WARN [ClassLoaderManager]
Unexpected error during load
of:org.apache.jackrabbit.core.query.lucene.WildcardQuery$WildcardQueryWeight:
java.lang.IncompatibleClassChangeError: Implementing class
[snip]
01:36:10,936 WARN [ClassLoaderManager]
Unexpected error during load
of:org.apache.jackrabbit.core.query.lucene.MatchAllWeight:
java.lang.IncompatibleClassChangeError: Implementing class
[snip]
As you can see in the error above the problem is an incompatible
version. JBoss uses Jackrabbit in a given version and XWiki users
another version of Jackrabbit.
It's the role of the appserver to isolate classloader so that a webapp
can use whatever version it wants in WEB-INF/lib.
You need to configure JBoss to provide this isolation. You need to check
Jboss's doc for that.
I just googled it quickly and found
http://community.jboss.org/wiki/ClassLoadingConfiguration
I've updated
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationJBoss with
this information.
Thanks
-Vincent
Hope it helps,
-Vincent
Alternatively you could remove xwiki'ds jackrabbit version from
WEB-INF/lib (make sure the version used by jboss is greater than the
one used by xwiki).
Thanks
-Vincent
> Can anyone see what I'm doing wrong? All the information on the web
> seems a
> little old – I'm using JBoss 6. I would be grateful if anyone could
> help
> shed any light on this issue.
>
> Cheers,
> Andy
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
View this message in context:
http://xwiki.475771.n2.nabble.com/XWiki-war-JBoss-AS6-MySQL-tp6309076p63290…
Sent from the XWiki- Users mailing list archive at
Nabble.com.