logo       

Re: Re: deploying super-servlet apps as .war: msg#00042

java.enhydra.general

Subject: Re: Re: deploying super-servlet apps as .war

Hi,

Making a war out of the enhydra app is easy, it's just a server application.
Just put all the enhydra libs in web-inf/lib and you're set.
The only detail that is not very well documented is the parameters you need to
pass to the servlet in web.xml.
It will deploy and run with no problems on jetty and tomcat. If you have any
trouble post to the list and I'll help you.

The problems begin when you discover (by looking at the sources, no docs on
this.) that one of the parameters to pass to the servlet is the path to the
.conf file with your app properties. This property only accepts absolute paths,
so I can't read the .conf file from inside the .war.

I have used enhydra for about 2 years now, and I was really disapointed that no
one cared about this bug.
I think they forget that enhydra is just a bunch of libraries that make servlet
development easier, and not everyone wants to deploy on the enhydra server.
(which was really tomcat, last I looked).


-----Original Message-----
From: "Nick Downey" <ndowney@xxxxxxxxxxxxxx>
To: <Ricardo.Trindade@xxxxxxxxxxxxx>
Date: Tue, 14 Jan 2003 08:36:06 -0500
Subject: Re: deploying super-servlet apps as .war

Ricardo,

I have wanted to know how to do this for some time now. I emailed the
list w/ no response either. If you and/or Terry (from the Enhydra list)
figure it out, would you CC me on the email?

Thanks.

--
Nickolas Emmanuel A. Downey
Teltronics, Inc. 678.581.8046
ndowney@xxxxxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise