I took your advice and installed Roller 1.2 on JBoss 4.0.2 w/ JRE.4.2_05. It took all of 14 mintues to get it working.
Thanks for all of your help. On 10/25/05, Allen Gilliland <[EMAIL PROTECTED]> wrote: > On Tue, 2005-10-25 at 07:25, Chris Keilitz wrote: > > I made it past the problems with WSAD 5.1.0 and Roller 1.2 from the > > weekend. Unfortunately, I have run into more problems. The problem(s) > > likely would have been totally avoided had I read the fine details in > > Step 1 Prerequisites in the InstallGuide for 1.2. That said, I am > > afraid this time the problems are showstoppers. > > > > The earlier problems turned out to be a web.xml problem unrelated to > > the JspTranslate/taglib error -- WSAD didn't recognize the > > <dispatcher> elements. When I commented them out, the JspTranslate > > error magically went away. > > I had the same problem when deploying on the Sun Webserver, so it seems > that those "dispatcher" elements are not a standard web.xml component? > > > > > Anyway, I successfully setup the MySQL database/datasource and have > > hibernate all configured and apparently working properly. > > Unfortunately, upon server startup, I get the following error (see > > bottom of email) that I think is related to JVM/JRE. > > > > My conclusion, with about 78% confidence, is that the "out of the box" > > WSAD 5.x will not work with Roller 1.2 because it is based on the > > 1.3.1 JRE: Java version = J2RE 1.3.1 IBM Windows 32 build > > cn131-20030711a and Roller 1.2 requires 1.4. > > > > If you wade through the first part of this classloader/exception > > stacktrace, you'll see the NoClassDefFoundError exception and the > > reference to java.util.LinkedHashMap. Unfortunately, I believe > > java.util.LinkedHashMap is 1.4. > > Yeah, unfortunately we don't really support the use of a 1.3 jre, so it > would be good if you can try 1.4 and see if that fixes things. > > -- Allen > > > > > > I'd be interested in hearing your feedback. > > > > Thanks. > > > > Chris > > > > > > Error: > > --------- > > > > [10/25/05 9:43:10:685 EDT] 4f358bff WebGroup I SRVE0180I: [Roller > > Weblogger] [/RollerWeb] [Servlet.LOG]: Use of the properties > > initialization parameter 'properties' has been deprecated by > > 'org.apache.velocity.properties' > > [10/25/05 9:43:10:745 EDT] 4f358bff ServletInstan E SRVE0100E: Did not > > realize init() exception thrown by servlet PreviewServlet: > > javax.servlet.ServletException: Error while defining class: > > org.roller.util.LRUCache2$LRULinkedHashMap > > This error indicates that the class: java.util.LinkedHashMap > > could not be located while defining the class: > > org.roller.util.LRUCache2$LRULinkedHashMap > > This is often caused by having the class at a higher point in the > > classloader hierarchy > > Dumping the current context classloader hierarchy: > > ==> indicates defining classloader > > *** indicates classloader where the missing class could have been found > > ==>[0] > > [EMAIL PROTECTED] > > Local ClassPath: > > E:\RollerWS\RollerWeb\WebContent\WEB-INF\classes;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\activation.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\antlr.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\c3p0-0.8.4.5.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\cglib-full-2.0.1.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\commons-beanutils.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\commons-betwixt-1.0-beta-1.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\commons-codec-1.1.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\commons-collections.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\commons-digester.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\commons-fileupload.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\commons-httpclient-2.0.2.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\commons-lang-2.0.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\commons-logging.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\commons-validator.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\concurrent-1.3.2.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\dom4j-1.4.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\ehcache-0.7.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\hibernate2.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\jakarta-oro.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\jaxen-full.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\jazzy-core.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\jdom.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\JSPWiki.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\jstl.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\jta.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\jython.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\log4j-1.2.4.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\lucene-1.4.3.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\mail.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\mysql-connector-java-3.1.7-bin.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\odmg-3.0.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\proxool-0.8.3.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\radeox.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\rollerbeans.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\rollercontrib.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\rollerweb.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\rome-0.6.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\rome-fetcher-0.6.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\standard.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\struts-el.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\struts.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\taglibs-string.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\textile4j-1.20.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\velocity-1.4.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\velocity-dep-1.4.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\velocity-tools-1.1.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\xalan-2.4.0.jar;E:\RollerWS\RollerWeb\WebContent\WEB-INF\lib\xmlrpc-1.2-b1.jar;E:\RollerWS\RollerWeb\WebContent; > > Delegation Mode: PARENT_FIRST > > [1] [EMAIL PROTECTED] Local > > Classpath: Delegation mode: PARENT_FIRST > > [2] [EMAIL PROTECTED] Local > > ClassPath: C:\WebSphere Studio\runtimes\base_v5\lib\app; Delegation > > Mode: PARENT_LAST > > [3] [EMAIL PROTECTED] > > [4] [EMAIL PROTECTED] > > [5] [EMAIL PROTECTED] > > [6] [EMAIL PROTECTED] > > ---Original exception--- > > java.lang.NoClassDefFoundError: java/util/LinkedHashMap > > at java.lang.ClassLoader.defineClass0(Native Method) > > at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code)) > > at > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled > > Code)) > > at > > com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:407) > > at > > com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled > > Code)) > > at > > com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled > > Code)) > > at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code)) > > at org.roller.util.LRUCache2.<init>(LRUCache2.java:31) > > at > > org.roller.presentation.velocity.PreviewResourceLoader.<clinit>(PreviewResourceLoader.java:52) > > at java.lang.Class.forName1(Native Method) > > at java.lang.Class.forName(Class.java(Compiled Code)) > > at > > org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory.getLoader(ResourceLoaderFactory.java:41) > > at > > org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(ResourceManagerImpl.java:142) > > at > > org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager(RuntimeInstance.java:522) > > at > > org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:227) > > at > > org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:461) > > at > > org.apache.velocity.runtime.RuntimeSingleton.init(RuntimeSingleton.java:208) > > at org.apache.velocity.app.Velocity.init(Velocity.java:106) > > at > > org.apache.velocity.servlet.VelocityServlet.initVelocity(VelocityServlet.java:193) > > at > > org.apache.velocity.servlet.VelocityServlet.init(VelocityServlet.java:162) > > at > > org.roller.presentation.velocity.BasePageServlet.init(BasePageServlet.java:49) > > at > > com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82) > > at > > com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147) > > at > > com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270) > > at > > com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113) > > at > > com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189) > > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > > at > > com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:870) > > at > > com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224) > > at > > com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542) > > at > > com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1270) > > at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:277) > > at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:396) > > at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:216) > > at > > com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:984) > > at > > com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136) > > at > > com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356) > > at > > com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:415) > > at > > com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:787) > > at > > com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351) > > at > > com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:575) > > at > > com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268) > > at > > com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246) > > at > > com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543) > > at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418) > > at > > com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117) > > at > > com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543) > > at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418) > > at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183) > > at com.ibm.ws.runtime.WsServer.start(WsServer.java:128) > > at com.ibm.ws.runtime.WsServer.main(WsServer.java:225) > > at java.lang.reflect.Method.invoke(Native Method) > > at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) > > at > > com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97) > >
