|
From: David S. G. <ds...@vi...> - 2006-09-22 14:35:48
|
(this is a copy of a message previously sent to=20
ale...@us...)
Hi,
I'm trying to get JSPWiki to run under vicaya but am getting an error=20
message about log4j. I don't have much experience with either JSPWiki or=20
Vicaya, and I'm no tomcat expert, but do know java pretty well. These are=
my=20
naive steps:
Copied a working JSPWiki directory from tomcat/webapps into vicaya,=20
alongside accesstoinsight.
Changed context.properties to read context=3DHOME/../JSPWiki.
Then I fire up vicaya (pasted below) and get this error (the crucial line=
, I=20
think, being java.lang.NoClassDefFoundError: org/apache/log4j/Category).
I tried messing around with classpaths and putting different log4j jars i=
n=20
different places but I'm just stabbing around in the dark. vicaya works=20
great with accesstoinsight, and JSPWiki works fine when run under tomcat,=
=20
but the combination gives this error. I'd really appreciate any help you=20
could give me, even where to start looking or what file I could try=20
tweaking. Thanks so much.
lx-grogand:~/v/vicaya-0.1.6$ java -jar Launcher.jar
/usr/share/themes/Human/gtk-2.0/gtkrc:70: Engine "ubuntulooks" is=20
unsupported, ignoring
/usr/share/themes/Human/gtk-2.0/gtkrc:240: Priority specification is=20
unsupported, ignoring
RegisterShutdownHook
config
=3D=3D=3D=3D=3D=3D
verbose =3D false
base =3D /home/grogand/.vicaya
home =3D /home/grogand/v/vicaya-0.1.6/vicaya
apps =3D /home/grogand/v/vicaya-0.1.6/vicaya/apps
context =3D /home/grogand/v/vicaya-0.1.6/vicaya/context.properties
startpage =3D http://localhost:8108/index.html
runport =3D 8108
endport =3D 8109
log =3D /home/grogand/.vicaya/logs/serverlog.txt
middleicon =3D /home/grogand/v/vicaya-0.1.6/vicaya/images/middleicon.gif
splash =3D /home/grogand/v/vicaya-0.1.6/vicaya/images/splash.png
title =3D Vicaya
tooltip =3D Vicaya Tooltip
trayicon =3D /home/grogand/v/vicaya-0.1.6/vicaya/images/trayicon.gif
context
=3D=3D=3D=3D=3D=3D
context =3D /home/grogand/v/vicaya-0.1.6/vicaya/../JSPWiki
/usr/share/themes/Human/gtk-2.0/gtkrc:70: Engine "ubuntulooks" is=20
unsupported, ignoring
/usr/share/themes/Human/gtk-2.0/gtkrc:240: Priority specification is=20
unsupported, ignoring
ROOT: /home/grogand/v/vicaya-0.1.6/vicaya/../JSPWiki
Sep 21, 2006 5:50:31 PM org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
Sep 21, 2006 5:50:32 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
Sep 21, 2006 5:50:32 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
org.apache.commons.logging.LogConfigurationException:=20
org.apache.commons.logging.LogConfigurationException: No suitable Log=20
constructor [Ljava.lang.Class;@15663a2 for=20
org.apache.commons.logging.impl.Log4JLogger (Caused by=20
java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by=20
org.apache.commons.logging.LogConfigurationException: No suitable Log=20
constructor [Ljava.lang.Class;@15663a2 for=20
org.apache.commons.logging.impl.Log4JLogger (Caused by=20
java.lang.NoClassDefFoundError: org/apache/log4j/Category))
at=20
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl=
.java:543)
at=20
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl=
.java:235)
at=20
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
at=20
org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
at=20
org.apache.catalina.core.StandardContext.start(StandardContext.java:4090)
at=20
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at=20
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at=20
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at=20
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
at net.genaud.vicaya.launch.Tomcat55.startTomcat(Tomcat55.java:1=
44)
at net.genaud.vicaya.launch.Launcher$1.run(Launcher.java:122)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.commons.logging.LogConfigurationException: No suita=
ble=20
Log constructor [Ljava.lang.Class;@15663a2 for=20
org.apache.commons.logging.impl.Log4JLogger (Caused by=20
java.lang.NoClassDefFoundError: org/apache/log4j/Category)
at=20
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFacto=
ryImpl.java:413)
at=20
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl=
.java:529)
... 12 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:232=
8)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.getConstructor(Class.java:1629)
at=20
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFacto=
ryImpl.java:410)
... 13 more
LifecycleException: Pipeline has not been started
at=20
org.apache.catalina.core.StandardPipeline.stop(StandardPipeline.java:256)
at=20
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1059)
at=20
org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
at org.apache.catalina.startup.Embedded.stop(Embedded.java:863)
at net.genaud.vicaya.launch.Tomcat55.stopTomcat(Tomcat55.java:17=
6)
at net.genaud.vicaya.launch.Launcher.cleanUp(Launcher.java:187)
at net.genaud.vicaya.launch.Launcher.access$900(Launcher.java:26=
)
at net.genaud.vicaya.launch.Launcher$3.run(Launcher.java:301)
|