The context-root in application.xml should be:
<context-root>/ejb-test</context-root>

-----Original Message-----
From: Alessandro [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 18, 2001 10:51 PM
To: Orion-Interest
Subject: Deploy Ear with war inside


Hi,
I am deploing an Ear with war inside and I Built it with Jbuilder
In war I put index.html and test.jsp and in Ear one Ejb.
The Application.xml inside ear is :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd";>
<application>
  <display-name>EjbTest</display-name>
  <module>
    <ejb>EbjTest.jar</ejb>
  </module>
  <module>
    <web>
      <web-uri>EjbTest.war</web-uri>
      <context-root>war-ic</context-root>
    </web>
  </module>
</application>

I modified the :
default-ewb-site.xml  with
<web-app application="ejbtest" name="war-ic" root="/ejbtest" />
server.xml with
<application name="ejbtest" path="../applications/ejbtest.ear" />

When I launch Orion in the console I see the deploy of Ear but when I use
the url  http://localhost/ejbtest/test.jsp or
http://localhost/ejbtest/index.html an Internal server error appears.

Some ideas ??
Thanks a lot for all suggestion



Alessandro Fustini
Team Leader Mobile Services Development
Vitaminic Spa
Via cervino 50, 10154 turin - italy
phone: +39 011 23381242  fax: +39 011 23381206



Reply via email to