Re: Running under Tomcat
"Patrick Lee" <[email protected]> Thu, 16 Aug 2007 22:17:34 +1000
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, There was an issue with my web.xml. This seems to be fixed, however, I now get this: java.lang.NoClassDefFoundError: org/mortbay/util/MultiException helma.framework.core.Application.updateProperties(Application.java:1873) helma.framework.core.Application.<init>(Application.java:295) helma.framework.core.Application.<init>(Application.java:194) helma.servlet.StandaloneServletClient.createApp(StandaloneServletClient.java:100) helma.servlet.StandaloneServletClient.getApplication(StandaloneServletClient.java:80) helma.servlet.AbstractServletClient.getPathInfo(AbstractServletClient.java:803) helma.servlet.AbstractServletClient.service(AbstractServletClient.java:138) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) Any hints? The standalone runs fine on the same system. Thanks. On 8/16/07, Maksim Lin for technical support mailling lists <[email protected]> wrote: > Hi again Patrick, > > I actually looked at the stack trace this time! :-) > Looks like you might have a typo in your web.xml file, since the cause > of the exception is just that it can't find the application parameter > from there. > > What I did was downloaded the tomcat6 zip file and unzipped I on my pc. > Then following the instructions on the lamtha wiki page: > * create a "helma" folder in the tomcat-install/webapps folder > * create a WEB-INF and a lib folder *inside* the > tomcat-install/webapps/helma folder . > * copy all the jars (expect servlet.jar) from helma/lib into the > tomcat-install/webapps/helma/lib folder > > Then into the WEB-INF folder I just copy/pasted the web.xml example from > the wiki and just changed the settings to use the welcome app: > > <init-param> > <param-name>application</param-name> > <param-value>welcome</param-value> > </init-param> > > <init-param> > <param-name>appdir</param-name> > <param-value>/helma/helma-1.6.0/apps/welcome</param-value> > </init-param> > > <init-param> > <param-name>dbdir</param-name> > <param-value>/helma/helma-1.6.0/db/welcome</param-value> > </init-param> > > of course you'll want to use your own paths to where you unzipped > helma... > > the above should give you a display of the welcome apps "Welcome to > Helma" page (minus the css and images which I think would need fixing up > with settings for the "static" path). > > also make sure you "reload" the helma servlet (eg. using Tomcat Manager > webapp at: http://localhost:8080/manager) everytime you make a change to > the web.xml settings. > > hope that helps... > > Maks. > > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Patrick Lee > > Sent: Thursday, 16 August 2007 00:15 > > To: [email protected] > > Subject: [Helma-user] Running under Tomcat > > > > Hi, > > > > I'm having some issues getting Helma 1.6.0 to run under an > > existing Tomcat install. > > > > I've done the steps at http://helma.org/docs/howtos/lamtha/ > > (except that I'm not installing antville) and have searched > > this list already. > > > > The error in the logs is as follows: > > > > SEVERE: Allocate exception for servlet hop > > javax.servlet.ServletException: application parameter not specified > > at > > helma.servlet.StandaloneServletClient.init(StandaloneServletCl > > ient.java:56) > > at > > org.apache.catalina.core.StandardWrapper.loadServlet(StandardW > > rapper.java:1161) > > at > > org.apache.catalina.core.StandardWrapper.allocate(StandardWrap > > per.java:806) > > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW > > rapperValve.java:133) > > at > > org.apache.catalina.core.StandardContextValve.invoke(StandardC > > ontextValve.java:175) > > at > > org.apache.catalina.core.StandardHostValve.invoke(StandardHost > > Valve.java:128) > > at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport > > Valve.java:104) > > at > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv > > e.java:517) > > at > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn > > gineValve.java:109) > > at > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdap > > ter.java:216) > > at > > org.apache.coyote.http11.Http11NioProcessor.process(Http11NioP > > rocessor.java:888) > > at > > org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHan > > dler.process(Http11NioProtocol.java:624) > > at > > org.apache.tomcat.util.net.NioEndpoint$Worker.run(NioEndpoint. > > java:1465) > > at java.lang.Thread.run(Thread.java:619) > > > > > > Thanks. > > _______________________________________________ > > Helma-user mailing list > > [email protected] > > http://helma.org/mailman/listinfo/helma-user > > > > > > > _______________________________________________ > Helma-user mailing list > [email protected] > http://helma.org/mailman/listinfo/helma-user >