• 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

How to deploy a web application in ORION

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, there:
Could any one give me some idears about how can I deploy a web application in ORION server? In tomcat, I just copied my war file in /webapps. How can I do in Orion with the same war file? where should I put my war file, and what .xml file should I modify to deploy. Thanks a lot.
David
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by david, chen:
Could any one give me some idears about how can I deploy a web application in ORION server?


Either run "java -jar orion.jar -console" or double-click on "orionconsole.jar". Right-click on your server (ormi://localhost) and select "Install application". You'll also be able to access some handy tools from the Assemble menu to create EJBs, tag libraries, Web applications (.war), and enterprise applications (.ear). You can run these separately as well, they have their own .jars.
They may not be the slickest tools available, but they sure beat editing the .xml files.
- Peter

[This message has been edited by Peter den Haan (edited May 17, 2001).]
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
-In the foll instructions I use anApp.war...substitute for yours
-Copy war file anApp.war to c:\orion\applications
(or wherever you have orion\applications dir)
-Modify application.xml and add this line:-
<web-module id="anApp" path="../applications/anApp.war " />
-Modify default-web-site.xml to include this line:-
<web-app application="default" name="anApp" root="/anApp" />
-If orion is not already started..start it.
-Invoke url http://localhost/anApp/servlet/SomeServletYouHave
or
http://localhost/anApp/SomeJsp.jsp
 
whippersnapper
Posts: 1843
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ameelin,
Please adjust your displayed name to meet the JavaRanch Naming Policy. You can do so here.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by david, chen:
Hi, there:
Could any one give me some idears about how can I deploy a web application in ORION server? In tomcat, I just copied my war file in /webapps. How can I do in Orion with the same war file? where should I put my war file, and what .xml file should I modify to deploy. Thanks a lot.
David


Yo,
I think you want to goto http://www.orionserver.com/ and do a search for "auto deploy". 7, 7.1 and 7.2 of the result describe setting the "application-auto-deploy-directory" attribute of the "application-server" tag in the server.xml file... The attribute is not there by default. Anyway this will allow you to drop an ear file (which can contain a war file) and automatically configure the deployment. You'll see what I'm talking about.
L8
 
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Michael Matola:
ameelin,
Please adjust your displayed name to meet the JavaRanch Naming Policy. You can do so here.


Now known as Mary Magdaline? Looks like your new display name might fall into the "obviously ficticious" category. Please take a minute to change your display name again.
Thanks and hope you'll be visiting the ranch often.
Pauline
[ May 21, 2003: Message edited by: Pauline McNamara ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic