Hi Malcolm
Three things:
1. in application.xml, change the web-uri to a relative path. i.e.
...
<web-uri>mvcapp-web.war</web-uri>
...
Orion will correctly find the .war file relative to the content of the
.ear file.
2. it may not be a problem on a Windows box, but if you deploy this to a
unix platform, your .war file includes *both* directories web-inf/ and
WEB-INF/ - and orion finds one but not the other. The uppercase one is
correct (you have web.xml in the lowercase one).
3. If you need to repost ... please send a URL to download the .ear,
rather than attaching the .ear itself. It's a bit more mailing-list
friendly. :)
Regards
Joshua
-[ Joshua Goodall ]-----------------------------------------------
-[ Chief Systems Architect, IP R&D ]----- Cook, Geek, Lover ------
-[ [EMAIL PROTECTED] ]--------------- [EMAIL PROTECTED] --
On Fri, 15 Dec 2000, Malcolm Ferguson wrote:
> I am having problems deploying an application on orion. I have deployed the
> attached .ear file (which contains a web-app with a couple of .jsps and a
> servlet) to e:\applications and made the following config file changes, in
> server.xml:
>
> <application name="mvcapp" path="e:\applications\mvcapp.ear" />
>
> and in default-web-site.xml:
>
> <web-app application="mvcapp" name="mvcapp-web" root="/mvcapp" />
>
> when I request one of the pages (i.e.
> http://development/mvcapp/register.jsp) I get the following error message:
> Error instantiating web-application
> No web-app named 'mvcapp-web' found in application 'mvcapp'
> I have attached the .ear file, any help would much appreciated.
>
> <<mvcapp.ear>>
> ***********************************
> Mac Ferguson,
> Senior Developer,
> NKaos Interactive Media (http://www.nkaos.com),
> 579 Richmond Street West, Suite 400
> Toronto, ON
> M5V 1Y6
> (Phone) (416)504.8931 x316
> (Fax) (416)504.8472
> ***********************************
>
>