Re: [Hypercontent-users] HC2 - Any luck running HC2 in an existing tomcat?
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2005-05-25 16:07:14
|
Hi Mike, You should make sure that you copied over all the files in =20 WEB-INF/lib: the index and login screens are rendered using XSL, which =20= appears to be working, but the error makes it look like a Velocity =20 dependency is missing, which would break most of the management screens =20= that use velocity. Reading up on velocity dependencies, it seems it =20 might also be dependent on commons-collections.jar, which is in the =20 tomcat-lib directory in the HyperContent distribution. Try copying =20 that over to WEB-INF/lib and let me know if that works. Alex On May 18, 2005, at 10:49 AM, Mike B wrote: > Using: > tomcat 5.0 > jdk1.4.2_08 > > I followed Alex's instructions in the readme and set the absolute path > for the bootstrap and sample project repository. I also changed the > baseurl in hypercontent.properties file to be > http://localhost:8080/hypercontent to match it's location in tomcat's > webapps directory. > > After I start tomcat hypercontent appears to be running fine. I can > see the index page and list of mounted projects. Once I log in though, > I get nothing but blank screens and errors in hypercontent.log. I've > looked for other path settings that I may have overlooked but haven't > found any. Here's some of the output from hypercontent.log. > > Thanks > Mike > > DEBUG 2005-05-18 10:39:02,407 Redirected / to > http://134.53.131.123:8080/hypercontent/?mode=3Dinteractive > ERROR 2005-05-18 10:39:02,416 Servlet.service() for servlet > HyperContent threw exception > java.lang.NoClassDefFoundError > at org.apache.velocity.app.Velocity.init(Velocity.java:106) > at =20 > org.hypercontent.util.velocity.Configure.go(Configure.java:25) > at =20 > = org.hypercontent.project.engine.stage.VelocityStage.process(VelocitySta=20= > ge.java:69) > at =20 > org.hypercontent.project.engine.Pipeline.process(Pipeline.java:299) > at =20 > org.hypercontent.project.engine.Pipeline.process(Pipeline.java:273) > at org.hypercontent.project.Project.getAsset(Project.java:523) > at =20 > org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:150) > at =20 > org.hypercontent.server.ContentServer.service(ContentServer.java:415) > at =20 > = org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet.ja=20= > va:104) > at = javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > at = javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at =20 > = org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic=20= > ationFilterChain.java:252) > at =20 > = org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil=20= > terChain.java:173) > at =20 > = org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal=20= > ve.java:213) > at =20 > = org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal=20= > ve.java:178) > at =20 > = org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav=20= > a:126) > at =20 > = org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav=20= > a:105) > at =20 > = org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve=20= > .java:107) > at =20 > = org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:=20= > 148) > at =20 > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:=20= > 856) > at =20 > = org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process=20= > Connection(Http11Protocol.java:744) > at =20 > = org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoin=20= > t.java:527) > at =20 > = org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollo=20= > werWorkerThread.java:80) > at =20 > = org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo=20= > l.java:684) > at java.lang.Thread.run(Thread.java:534) > DEBUG 2005-05-18 10:39:09,350 FSMountList Adding mount at / > ERROR 2005-05-18 10:39:09,351 > org.hypercontent.filesystem.FileSystemException: The filesystem could > not mounted due to faulty arguments - please check your configuration > at =20 > = org.hypercontent.filesystem.impl.LocalNonEditioningFileSystemImpl.mount=20= > (LocalNonEditioningFileSystemImpl.java:121) > at =20 > = org.hypercontent.filesystem.FileSystemFactory.mountFileSystemManager(Fi=20= > leSystemFactory.java:155) > at =20 > org.hypercontent.filesystem.FSMount.getManager(FSMount.java:75) > at org.hypercontent.project.Project.<init>(Project.java:354) > at =20 > org.hypercontent.project.ProjectFactory.refresh(ProjectFactory.java:=20= > 84) > at =20 > = org.hypercontent.project.ProjectFactory.getProjectKeys(ProjectFactory.j=20= > ava:168) > at =20 > org.hypercontent.workflow.thread.BatchMonitor.run(BatchMonitor.java:=20= > 69) > at java.lang.Thread.run(Thread.java:534) > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_idt12&alloc_id=16344&op=CCk > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |