As you currently have your server.xml and default-web-site.xml config files
set up, the top-level directory of your application is
"/home/joel/app/orion/applications/test", and the server expects to find a
directory "META-INF", containing your "application.xml" file, inside that
top-level application directory.

Your application.xml file would specify either a directory or a jarfile
inside the "/home/joel/app/orion/applications/test" application directory,
identifying it with the

<module>
        <web>...</web>
</module>

tag.

As far as the file structure of a web app (the web component) goes, this is
spelled out in the Servlet spec. In brief, the directory containing
everything pertaining to your web component contains content (HTML, JSP,
image) files and a "WEB-INF" directory containing a "web.xml" deployment
descriptor _and_ a "classes" folder, which contains servlet and JavaBean
classes. WEB-INF may also contain a lib directory if you're including taglib
jars.

Hope this helps. I recommend reading the J2EE, EJB and Servlet specs for the
file structure information. The Orion docs include all of these PDFs.

Arved Sandstrom

P.S. Orion includes GUI tools for doing all of this. I have found that GUI
tools for _any_ app server are best used _after_ an individual is able to
assemble an application manually, including writing the descriptors by hand.
This just results in more knowledgeable team members.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Joel Shellman
Sent: Tuesday, June 20, 2000 4:35 PM
To: Orion-Interest
Subject: Error trying to deploy web application


I am trying to deploy my own web application but keep getting the
following error:

Error initializing server: Error instantiating application at
file:/home/joel/app/orion/applications/test.ear: Unable to find/read
assembly info for /home/joel/app/orion/applications/test
(META-INF/application.xml)

What exactly does this error mean? Which file do I need to fix?

Also, are there any tools to make it easier to create the directory
structure necessary for building a new web application? A template,
script, or anything?

Thanks,
--
Joel Shellman
Chief Software Architect
The virally-driven B2B marketplace for outsourcing projects
http://www.ants.com/90589781



Reply via email to