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>
<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
