Sorry, if you get this mail twice. My mailer was misconfigured --sorry.

Hi,

I try to get the j2ee sample application (dukes pet store) running
with orion, more precisely: just the GUIController portion for now...

I added the following to the web-application.xml file in the
default-site/ subdirectory:

<servlet>
  <servlet-name>webTierEntryPoint</servlet>
  <jsp-file>main.jsp</jsp-file>
  <load-on-startup>-1</load-on-startup>
</servlet>

<servlet-mapping>
  <servlet-name>webTierEntryPoint</servlet-name>
  <url-pattern>/control/*</url-pattern>
</servlet-mapping>

using orion 0.8.1f, I get, when loading the url /control/foo:

 500 Internal Server Error

 java.lang.NullPointerException 
     at com.evermind.server.http.HttpApplication.md(Compiled Code)
     at    -------------------------------------.l3(JAX)
     at    -------------------------------------.ku(Compiled Code)
     at c0.lc(Compiled Code)
     at c.run(Compiled Code)

Did I miss something?
Is the <servlet-class> tag needed? If yes, what class should I use?

Thanks for insight,
Benjamin Lorenz

Reply via email to