Hi Oliver,
Last week I was plating with the same thing and I was successful with
pretty much the same configuration that you have, except that in
application.xml I set the context root to /
(<context-root>/</context-root>). Which error are you getting ? 404? Can
you see your .ear file unpackaged?
regards,
Dan
> olivier wrote:
>
> Hi,
>
> I am new to Orion, and I have recently been trying to build an
> application (ear) with not much success. Basically, Orion seems to
> deploys all the components, but I can't get the first page to open on
> the browser.
> I am using struts as a framework, with the fix I have seen on this
> site (remove the dtd from the jar and put them under classes), and
> struts does not seem to be the problem now (especially since my first
> page is an index.html)
>
> The ear is in orion\applications
>
> userEjb.jar
> taskforce.war
> \META-INF
> application.xml
>
> source of application.xml for the ear
> <application>
> <display-name>taskforce</display-name>
> <description>Application description</description>
> <module>
> <web>
> <web-uri>taskforce.war</web-uri>
> <context-root>/taskforce</context-root>
> </web>
> </module>
> <module>
> <ejb>userEjb.jar</ejb>
> </module>
> </application>
>
> I put this in default-web-site
> <web-app application="taskforce" name="taskforceWebApp"
> root="/taskforce"/>
> this in server.xml
> <application name="taskforce" path="../applications/taskforce.ear" />
>
>
> I have tried with the news.ear coming with orion, but same problem.
>
> Any clue?
>
> Thanks,
>
> olivier