• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Configuring a Web module in Orion

 
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just installed a ejb application and want to follow bind a web module to this.I followed the steps explained in the following article
http://www.orionserver.com/tutorials/orion-primer/

but I am not able to access the web module.
My directory structure is as follows
Root Directory is C:\project
Calc.class - EJB Remote
CalcHome.class- EJB Home
CalcBean.class- EJB
META-INF/
META-INF/application.xml
META-INF/ejb-jar.xml
app/
app/index.html
app/WEB-INF
app/WEB-INF/web.xml

I want to access the web url http://localhost/project/app/

Can any body give me the exact syntax of the xml files which does the job.So that I can just compare with my xml to find the bug.
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To bind the web application to the default site, you need to add the following line to the file default-web-site.xml in the Orion config directory. Place it before the main tag </web-site>:

<web-app application="app" name="app" root="/app" />
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic