• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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" />
 
A feeble attempt to tell you about our stuff that makes us money
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic