Hi all,
Ok..I got everything working, but I am lost on one thing. I set up my
folders as such:
c:\applications\myapp
c:\applications\myapp\META-INF
c:\applications\myapp\META-INF\application.xml
c:\applications\myapp\www
c:\applications\myapp\www\WEB-INF
c:\applications\myapp\www\WEB-INF\classes
c:\applications\myapp\www\WEB-INF\lib
c:\applications\myapp\www\WEB-INF\web.xml
Now, I set up an application in server.xml, and directed the "default" dir
in default-web-site.xml to point to my applications\myapp\www dir. When I
run Orion, it auto-deploys, and the pages come up. I found out that
apparently I am to put a orion-web.xml in the WEB-INF folder as well, and
that I have to set the <classpath path="classes" /> tag in there in order
for the application to see my root classes dir where I put my base package
in (expaned..not jarred). What I am confused about is when I start Orion,
below the META-INF folder it creates a www dir as well, and puts
orion-web.xml in there. It doesn't put it in META-INF\www\WEB-INF, it puts
it in META-INF\www. Why is this? Is this how J2EE is supposed to work? I
thought that when I deploy a .ear or .war, I dont need any server specific
files in that dir, yet it seems I do with Orion. Does Orion automatically
add this orion-web.xml into a .war or .ear file if being deployed as well?
Now, my next thought is that maybe I have something wrong in one of the
config files. In META-INF/application.xml, I have the display name set to my
application name (in this example, myapp), and I have
<web-uri>../www</web-uri>. When I had it set to just www, I could not get my
pages to show up.
If there is any info anyone can give..that would be great. Also, do I need
to display any .xml config files for you to help you solve this..let me know
and I'll post it.
Thanks.