aspose file tools*
The moose likes Other Java Products and Servers and the fly likes How to deploy a web application in ORION Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "How to deploy a web application in ORION" Watch "How to deploy a web application in ORION" New topic
Author

How to deploy a web application in ORION

david, chen
Greenhorn

Joined: Jan 18, 2001
Posts: 15
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
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
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).]
Mary Magdaline
Greenhorn

Joined: Oct 11, 2002
Posts: 2
-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
Michael Matola
whippersnapper
Ranch Hand

Joined: Mar 25, 2001
Posts: 1746
    
    2
ameelin,
Please adjust your displayed name to meet the JavaRanch Naming Policy. You can do so here.
Russ Gille
Greenhorn

Joined: May 20, 2003
Posts: 1
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
Pauline McNamara
Sheriff

Joined: Jan 19, 2001
Posts: 4012
    
    6
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to deploy a web application in ORION