[Helma-user] Running under Tomcat

Maksim Lin for technical support mailling lists maksim_lin at ngv.vic.gov.au
Thu Aug 16 07:47:50 CEST 2007


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: helma-user-bounces at helma.org 
> [mailto:helma-user-bounces at helma.org] On Behalf Of Patrick Lee
> Sent: Thursday, 16 August 2007 00:15
> To: helma-user at helma.org
> 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
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user
> 
> 
> 


More information about the Helma-user mailing list