I doubt I'm doing the deploy stuff correctly and professional way, but it
works perfectly...
Answer to B:
unzip downloaded file from orionserver.com ( latest stable). Copy tools.jar
to orion directory. Enter config directory, edit data-sources.xml to use
your database, make sure to copy driver files for that database ( if Sybase,
jconn2.jar ) to orion/lib.
Open global-web-application.xml and change the first xml-tag to :
<orion-web-app
jsp-cache-directory="./persistence"
servlet-webdir="/servlet"
development="true"
>
open server.xml and add
<application name="myApp" path="../applications/myApp" />
open default-web-site.xml and add
<web-app application="myApp" name="myApp-web" root="/myApp"
load-on-startup="true"/>
create directorystructure
orion/applications/myApp
orion/applications/myApp/myApp-web
orion/applications/myApp/myApp-web/WEB-INF
orion/applications/myApp/META-INF
in web-inf dir, put web.xml, create classes, and put your classes there
directory style
classes/com/myAppClasses/beans
jsp files goes in myApp-web
beans in MyApp directory.
application.xml goes in myApp/META-INF dir.
run java -jar orion.jar in orion dir
Touch web.xml to reload classes, runtime.
I guess your question (A) was answered above too... =)
Johan
----- Original Message -----
From: "Tim Yates" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, February 15, 2001 10:33 AM
Subject: Deploy question...
> Hi there, firstly, this is a test message to check I am on the list (and
> using it correctly), and secondly, I have a (maybe stupid) question...
>
> We are presently using jBoss as our app server, but after looking at the
> Orion spec, I am quite interested about Orion, due to its clustering
> support.
>
> However, as there is a team of us developing, we keep our JSP and EJB
> deployment separate...
>
> I will explain:
>
> Our JSP's are located in a directory with a WEB-INF/classes directory
> containing all of our JavaBeans that we use
>
> The EJB jar containing all of our EJB's are placed into the jBoss deploy
> directory.
>
> This allows us to have multiple users deploying different areas of the
> project rather than one person building WARs and combining them into EARs.
>
> Now my question is:
>
> Is it possible to deploy things this way under Orion? If so, can anyone
> point me to a web reference or in the right direction that will show me
how
> to do it? I have looked at the online documentation, and the mailing list
> archive, and I am a bit lost as to where I would have to A) Deploy all my
> files, and B) Configure the application...
>
> Sorry if this is a stupid question,
>
> Hope someone can help,
>
> Cheers,
>
> Tim Yates
>
>
>