Hi!

 

I am trying to deploy Roller 4.0 on WAS 6.1.0.19 and am running into
problems. 

 

For example this:
http://www.nabble.com/Roller-and-WAS-6.1.0.15-td17366733s12275.html

 

So I downloaded the source code from here:
http://roller.apache.org/download.cgi

 

Then I followed this guide:
http://cwiki.apache.org/confluence/display/ROLLER/Build+Guide

 

The build went successful (after adding mail.jar to some directory), and
then I created a WAR file and deployed it to the server. Now I get this
annoying stacktrace when trying to start the application. What am I doing
wrong here? Any help greatly appreciated!

 

 

[2008-11-12 02:17:49:310 CET] 00000015 WebGroup      A   SRVE0169I: Loading
Web Module: Roller Weblogger.

[2008-11-12 02:17:49:341 CET] 00000015 WebApp        E   [Servlet
Error]-[Failed to load listener:
org.apache.roller.weblogger.ui.core.RollerSession]: java.lang.LinkageError:
LinkageError while defining class:
org.apache.roller.weblogger.ui.core.RollerSession

Could not be defined due to:
(org/apache/roller/weblogger/ui/core/RollerSession) bad major version at
offset=6

This is often caused by having a class defined at multiple

locations within the classloader hierarchy.  Other potential causes

include compiling against an older or newer version of the class

that has an incompatible method signature.

Dumping the current context classloader hierarchy:

    ==> indicates defining classloader

==>[0] 

[EMAIL PROTECTED]

   Local ClassPath:
D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode02Cell\rolle
r_war.ear\roller.war\WEB-INF\classes;D:\WebSphere\AppServer\profiles\AppSrv0
1\installedApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\acegi-
security-1.0.3.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\ar
tooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\antlr-2.7.2.jar;D:\WebSp
here\AppServer\profiles\AppSrv01\installedApps\artooNode02Cell\roller_war.ea
r\roller.war\WEB-INF\lib\commons-beanutils-1.6.jar;D:\WebSphere\AppServer\pr
ofiles\AppSrv01\installedApps\artooNode02Cell\roller_war.ear\roller.war\WEB-
INF\lib\commons-chain-1.1.jar;D:\WebSphere\AppServer\profiles\AppSrv01\insta
lledApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\commons-codec
-1.3.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode02C
ell\roller_war.ear\roller.war\WEB-INF\lib\commons-collections-3.2.jar;D:\Web
Sphere\AppServer\profiles\AppSrv01\installedApps\artooNode02Cell\roller_war.
ear\roller.war\WEB-INF\lib\commons-digester-1.6.jar;D:\WebSphere\AppServer\p
rofiles\AppSrv01\installedApps\artooNode02Cell\roller_war.ear\roller.war\WEB
-INF\lib\commons-fileupload-1.2.jar;D:\WebSphere\AppServer\profiles\AppSrv01
\installedApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\commons
-httpclient-2.0.2.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps
\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\commons-id-0.1-SNAPSH
OT.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode02Cel
l\roller_war.ear\roller.war\WEB-INF\lib\commons-io-1.3.1.jar;D:\WebSphere\Ap
pServer\profiles\AppSrv01\installedApps\artooNode02Cell\roller_war.ear\rolle
r.war\WEB-INF\lib\commons-lang-2.1.jar;D:\WebSphere\AppServer\profiles\AppSr
v01\installedApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\comm
ons-logging-1.0.4.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps
\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\commons-validator-1.3
.0.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode02Cel
l\roller_war.ear\roller.war\WEB-INF\lib\concurrent-1.3.2.jar;D:\WebSphere\Ap
pServer\profiles\AppSrv01\installedApps\artooNode02Cell\roller_war.ear\rolle
r.war\WEB-INF\lib\ehcache-1.1.jar;D:\WebSphere\AppServer\profiles\AppSrv01\i
nstalledApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\freemarke
r-2.3.8.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode
02Cell\roller_war.ear\roller.war\WEB-INF\lib\geronimo-j2ee-connector_1.5_spe
c-1.0.1.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode
02Cell\roller_war.ear\roller.war\WEB-INF\lib\geronimo-jpa_3.0_spec-1.0.jar;D
:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode02Cell\roller
_war.ear\roller.war\WEB-INF\lib\geronimo-jta_1.0.1B_spec-1.0.1.jar;D:\WebSph
ere\AppServer\profiles\AppSrv01\installedApps\artooNode02Cell\roller_war.ear
\roller.war\WEB-INF\lib\guice-1.0.jar;D:\WebSphere\AppServer\profiles\AppSrv
01\installedApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\jaxen
-full.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode02
Cell\roller_war.ear\roller.war\WEB-INF\lib\jdom.jar;D:\WebSphere\AppServer\p
rofiles\AppSrv01\installedApps\artooNode02Cell\roller_war.ear\roller.war\WEB
-INF\lib\jstl.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\art
ooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\log4j-1.2.11.jar;D:\WebSp
here\AppServer\profiles\AppSrv01\installedApps\artooNode02Cell\roller_war.ea
r\roller.war\WEB-INF\lib\lucene-1.4.3.jar;D:\WebSphere\AppServer\profiles\Ap
pSrv01\installedApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\o
gnl-2.6.11.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooN
ode02Cell\roller_war.ear\roller.war\WEB-INF\lib\openjpa-0.9.7-incubating.jar
;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode02Cell\roll
er_war.ear\roller.war\WEB-INF\lib\oro-2.0.8.jar;D:\WebSphere\AppServer\profi
les\AppSrv01\installedApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF
\lib\roller-business.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedA
pps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\roller-core.jar;D:
\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode02Cell\roller_
war.ear\roller.war\WEB-INF\lib\roller-planet-business.jar;D:\WebSphere\AppSe
rver\profiles\AppSrv01\installedApps\artooNode02Cell\roller_war.ear\roller.w
ar\WEB-INF\lib\roller-web.jar;D:\WebSphere\AppServer\profiles\AppSrv01\insta
lledApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\rome-0.9.jar;
D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode02Cell\rolle
r_war.ear\roller.war\WEB-INF\lib\rome-fetcher-0.9.jar;D:\WebSphere\AppServer
\profiles\AppSrv01\installedApps\artooNode02Cell\roller_war.ear\roller.war\W
EB-INF\lib\saxpath.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApp
s\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\serializer.jar;D:\We
bSphere\AppServer\profiles\AppSrv01\installedApps\artooNode02Cell\roller_war
.ear\roller.war\WEB-INF\lib\serp-1.11.0.jar;D:\WebSphere\AppServer\profiles\
AppSrv01\installedApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib
\spring.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode
02Cell\roller_war.ear\roller.war\WEB-INF\lib\standard.jar;D:\WebSphere\AppSe
rver\profiles\AppSrv01\installedApps\artooNode02Cell\roller_war.ear\roller.w
ar\WEB-INF\lib\struts2-core-2.0.9.jar;D:\WebSphere\AppServer\profiles\AppSrv
01\installedApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\strut
s2-spring-plugin-2.0.9.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installe
dApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\struts2-tiles-pl
ugin-2.0.9.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooN
ode02Cell\roller_war.ear\roller.war\WEB-INF\lib\taglibs-string.jar;D:\WebSph
ere\AppServer\profiles\AppSrv01\installedApps\artooNode02Cell\roller_war.ear
\roller.war\WEB-INF\lib\tiles-api-2.0.4.jar;D:\WebSphere\AppServer\profiles\
AppSrv01\installedApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib
\tiles-core-2.0.4.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps
\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\tiles-jsp-2.0.4.jar;D
:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode02Cell\roller
_war.ear\roller.war\WEB-INF\lib\velocity-1.5.jar;D:\WebSphere\AppServer\prof
iles\AppSrv01\installedApps\artooNode02Cell\roller_war.ear\roller.war\WEB-IN
F\lib\ws-commons-util-1.0.1.jar;D:\WebSphere\AppServer\profiles\AppSrv01\ins
talledApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\xalan.jar;D
:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode02Cell\roller
_war.ear\roller.war\WEB-INF\lib\xmlrpc-client-3.0.jar;D:\WebSphere\AppServer
\profiles\AppSrv01\installedApps\artooNode02Cell\roller_war.ear\roller.war\W
EB-INF\lib\xmlrpc-common-3.0.jar;D:\WebSphere\AppServer\profiles\AppSrv01\in
stalledApps\artooNode02Cell\roller_war.ear\roller.war\WEB-INF\lib\xmlrpc-ser
ver-3.0.jar;D:\WebSphere\AppServer\profiles\AppSrv01\installedApps\artooNode
02Cell\roller_war.ear\roller.war\WEB-INF\lib\xwork-2.0.4.jar;D:\WebSphere\Ap
pServer\profiles\AppSrv01\installedApps\artooNode02Cell\roller_war.ear\rolle
r.war

   Delegation Mode: PARENT_FIRST

   [1] 

[EMAIL PROTECTED]

   Local ClassPath: 

   Delegation Mode: PARENT_FIRST

   [2] [EMAIL PROTECTED]

   [3] [EMAIL PROTECTED]

   [4] [EMAIL PROTECTED]

   [5] [EMAIL PROTECTED]

   [6] [EMAIL PROTECTED]

---Original exception---

java.lang.UnsupportedClassVersionError:
(org/apache/roller/weblogger/ui/core/RollerSession) bad major version at
offset=6

                             at java.lang.ClassLoader.defineClassImpl(Native
Method)

                             at
java.lang.ClassLoader.defineClass(ClassLoader.java:258)

                             at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)

                             at
com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.
java:555)

                             at
com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.jav
a:506)

                             at
com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.jav
a:380)

                             at
java.lang.ClassLoader.loadClass(ClassLoader.java:597)

                             at java.beans.Beans.instantiate(Beans.java:202)

                             at java.beans.Beans.instantiate(Beans.java:63)

                             at
com.ibm.ws.webcontainer.webapp.WebApp.loadListener(WebApp.java:1456)

                             at
com.ibm.ws.webcontainer.webapp.WebApp.loadLifecycleListeners(WebApp.java:138
0)

                             at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationStart(WebApp.java:
406)

                             at
com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:249)

                             at
com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92
)

                             at
com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157
)

                             at
com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:666)

                             at
com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:6
19)

                             at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.
java:335)

                             at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.ja
va:551)

                             at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.jav
a:1303)

                             at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart
(DeployedApplicationImpl.java:1138)

                             at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.jav
a:569)

                             at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicati
onImpl.java:817)

                             at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Application
MgrImpl.java:949)

                             at
com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(Applicati
onMgrImpl.java:2122)

                             at
com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsCom
ponentImpl.java:342)

                             at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)

 

--- end Original exception----

 

                             at
com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.
java:602)

                             at
com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.jav
a:506)

                             at
com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.jav
a:380)

                             at
java.lang.ClassLoader.loadClass(ClassLoader.java:597)

                             at java.beans.Beans.instantiate(Beans.java:202)

                             at java.beans.Beans.instantiate(Beans.java:63)

                             at
com.ibm.ws.webcontainer.webapp.WebApp.loadListener(WebApp.java:1456)

                             at
com.ibm.ws.webcontainer.webapp.WebApp.loadLifecycleListeners(WebApp.java:138
0)

                             at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationStart(WebApp.java:
406)

                             at
com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:249)

                             at
com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92
)

                             at
com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157
)

                             at
com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:666)

                             at
com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:6
19)

                             at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.
java:335)

                             at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.ja
va:551)

                             at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.jav
a:1303)

                             at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart
(DeployedApplicationImpl.java:1138)

                             at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.jav
a:569)

                             at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicati
onImpl.java:817)

                             at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Application
MgrImpl.java:949)

                             at
com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(Applicati
onMgrImpl.java:2122)

                             at
com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsCom
ponentImpl.java:342)

                             at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)

 

Kristoffer

 

Reply via email to