NEWBIE QUESTION:Configuring a web application, that is not contained in a WAR file
Hi Guys, I have a quick question about deploying a Web application to Orion.I have a directory that contains all the required classes, html, Java script etc.I have also written the web.xml file describing the servlets that are available in the application. There are no JSP pages or anything like that. Can you give me a brief overview of how to get Orion to serve this application. I have tried adding it to the default-web-application.xml file, but have had not success. The console tells me that it cannot find the application. When I look at the HTTP properties in the Admin Console. Thanx Rob -Original Message- From: Klaus Thiele [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 12, 2000 1:49 PM To: Robert Keith Subject: Re: NEWBIE QUESTION: How do I shut this thing down Hi Robert, I have trawled through the docs to try and find a way to shut orion down cleanly, however I can't find the default username and password in order to shut it down. Can you guys let me know what it is? you are not starting the server with the graphical console? = java -jar orion.jar -console2 then you can easyly shutdown from there otherwise do java -jar admin.jar ormi://localhost admin _admin_password_ -shutdown (type only 'java -jar admin.jar' and you get some help) hope that helps klaus -- Klaus Thiele - Personal Informatik AG mailto:[EMAIL PROTECTED] "There's got to be more to life than compile-and-go."
Re: NEWBIE QUESTION:Configuring a web application, that is not contained in a WAR file
the web app structure should look something like this(which is really just an unpacked WAR) web-app/ *.html, *.jsp, ... WEB-INF/ web.xml classes/ loose classes(override lib directory jarred classes) lib/ jar and zip files of classes Then I believe you need to add a line to server.xml in orion/config that looks like this: application name="my app" path="path/to/my/app" deployment-directory="path/to/my/app/deploy" / Hope this helps -Matt
Re: NEWBIE QUESTION:Configuring a web application, that is not contained in a WAR file
Can you give me a brief overview of how to get Orion to serve this application. 1) Have you go the thing to serve the default website and its default application? 2) If 1 look at the supplied docs - the How-To's section. 3) Then look at: http://www.znerd.demon.nl/orion-primer/ Summary of Primer: ## BASIC STEPS ### Step 1: Setup directory structure Snip Step 8: Write the Web deployment descriptor - web.xml: Servlets aliases. Snip Step 10: Install the application To actually install our application, we need to add the following line to server.xml in the Orion configuration directory (orion/config): application name="orion-primer" path="path to ear file" / In my case: application name="orion-primer" path="/home/ernst/projects/orion-primer/rel/orion-primer.ear" / Step 11: Bind the web application - *** Now we need to bind the web application to the default site. This is done by adding the following line to the file default-web-site.xml in the Orion configuration directory: web-app application="orion-primer" name="orion-primer-web" root="/orion-primer" / Step 12: Start Orion I combined this with the directory structure suggested in the How-To's section: /docs/application-creation-howto.html. It takes a while to get your head around the relationships between the varios XML files - Orion's and the ones that link up an app. I have got an app serving HTML, JSP, Servlet as a basic development env in about 3/4 days.
Re: NEWBIE QUESTION:Configuring a web application, that is not contained in a WAR file
Can you give me a brief overview of how to get Orion to serve this application. 1) Have you go the thing to serve the default website and its default application? 2) If 1 look at the supplied docs - the How-To's section. 3) Then look at: http://www.znerd.demon.nl/orion-primer/ Summary of Primer: ## BASIC STEPS ### Step 1: Setup directory structure Snip Step 8: Write the Web deployment descriptor - web.xml: Servlets aliases. Snip Step 10: Install the application To actually install our application, we need to add the following line to server.xml in the Orion configuration directory (orion/config): application name="orion-primer" path="path to ear file" / In my case: application name="orion-primer" path="/home/ernst/projects/orion-primer/rel/orion-primer.ear" / Step 11: Bind the web application - *** Now we need to bind the web application to the default site. This is done by adding the following line to the file default-web-site.xml in the Orion configuration directory: web-app application="orion-primer" name="orion-primer-web" root="/orion-primer" / Step 12: Start Orion I combined this with the directory structure suggested in the How-To's section: /docs/application-creation-howto.html. It takes a while to get your head around the relationships between the varios XML files - Orion's and the ones that link up an app. I have got an app serving HTML, JSP, Servlet as a basic development env in about 3/4 days. You don't need to mess with EJBs at 1st, if ever Last tip: look at the Orion default web app structure.