|
Re: Porting Enhydra SuperServlet to Jetty: msg#00051java.enhydra.general
Hi! I made it to run Enhydra Apps in following web containers: Orion, Tomcat and *almost* on WebLogic. I created a web app structure and placed a web.xml in its web-inf. One like this: <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd"> <web-app> <servlet> <servlet-name> EnhydraApp </servlet-name> <servlet-class> com.lutris.appserver.server.httpPresentation.servlet.HttpPresentationServlet </servlet-class> <init-param> <param-name>ConfFile</param-name> <param-value>AbsolutePath??\CorpContactsWeb.conf</param-value> </init-param> </servlet> <!-- The mapping for the default servlet --> <servlet-mapping> <servlet-name>EnhydraApp</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping> </web-app> Then I made Enhydra jar acessible to the app (I don't remember if it was in the webapp lib dir or in the global classpath) and created a web context for the enhydra application in the server specific webserver config file (e.g. tomcat->server.xml). On weblogic I had a problem with cookies (there was an extra '/' in the domain parameter and my browser couldn't bind it to my server properly), the other two I tried almost fine worked fine (when I closed Orion I got a ThreadDeath on com.lutris.appserver.server.session.StandardSessionKeyGen.shutdown). Never tried Jetty... Hope this helps! Luís Massimo Lusetti wrote: I need to port an Enhydra SuperServlet application (build on enhydra
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Suggestion: Integrating Enhydra SuperServlet With External Servlet Containers, Terry Steichen |
|---|---|
| Next by Date: | Enhydra without session management, Luís Fraga |
| Previous by Thread: | Suggestion: Integrating Enhydra SuperServlet With External Servlet Containers, Terry Steichen |
| Next by Thread: | RE: Porting Enhydra SuperServlet to Jetty, Ricardo Trindade |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |