Hi all,
Not sure if anyone can help here but I am still unable to deploy XWiki 3.0
on JBoss 6.0.0. I noticed the following error in the startup output (see
previous post):
13:21:56,380 ERROR [STDERR] SLF4J: Class path contains multiple SLF4J
bindings.
13:21:56,381 ERROR [STDERR] SLF4J: Found binding in
[vfs:/java/apps/jboss/jboss-6.0.0.Final/common/lib/slf4j-jboss-logmanager.jar/org/slf4j/impl/StaticLoggerBinder.class]
13:21:56,381 ERROR [STDERR] SLF4J: Found binding in
[vfs:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/xwiki.war/WEB-INF/lib/slf4j-log4j12-1.6.1.jar/org/slf4j/impl/StaticLoggerBinder.class]
13:21:56,381 ERROR [STDERR] SLF4J: See
http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
13:21:56,820 INFO [STDOUT] 2011-05-06 13:21:56,798 [Thread-2] ERROR
reflections.Reflections - could not create Vfs.Dir from url.
ignoring the exception and continuing
13:21:56,834 INFO [STDOUT] org.reflections.ReflectionsException: could not
create Dir using org.reflections.vfs.Vfs$DefaultUrlTypes$2 from url
vfs:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/xnio-provider.jar!/xnio-nio.jar/META-INF/maven/
13:21:56,834 INFO [STDOUT] at
org.reflections.vfs.Vfs.fromURL(Vfs.java:99)
13:21:56,834 INFO [STDOUT] at
org.reflections.vfs.Vfs.fromURL(Vfs.java:89)
13:21:56,835 INFO [STDOUT] at
org.reflections.Reflections.scan(Reflections.java:136)
13:21:56,835 INFO [STDOUT] at
org.reflections.Reflections.<init>(Reflections.java:91)
Due to the above error I removed slf4j-jboss-logmanager.jar and
slf4j-api.jar from $JBOSS/common/lib. And because XWiki's implementation is
newer, I moved slf4j-api-1.6.1.jar
and slf4j-log4j12-1.6.1.jar into $JBOSS/common/lib.
I don't know whether this was the correct thing to do(?) but if it was, it's
given me another error:
12:31:05,683 ERROR [MbeansDescriptorsDOMSource] Error reading descriptors :
java.lang.ClassCastException:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to
javax.xml.parsers.DocumentBuilderFactory
.
.
.
12:31:07,705 ERROR [Reflections] could not create Vfs.Dir from url. ignoring
the exception and continuing: org.reflections.ReflectionsException: could
not create Dir using org.reflections.vfs.Vfs$DefaultUrlTypes$2 from url
vfs:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/xnio-provider.jar!/xnio-nio.jar/META-INF/maven/
.
.
.
12:31:08,753 INFO [Reflections] Reflections took 1344 ms to scan 355 urls,
producing 3 keys and 1168 values
12:31:11,739 ERROR [[/xwiki]] Exception starting filter Resteasy:
java.lang.RuntimeException: java.lang.RuntimeException: Unable to
instantiate MessageBodyReader
.
.
.
Any help greatly appreciated.
Cheers,
Andy
--
View this message in context:
http://xwiki.475771.n2.nabble.com/XWiki-war-JBoss-AS6-MySQL-tp6309076p63561…
Sent from the XWiki- Users mailing list archive at
Nabble.com.