Title: RE: Interests sake
I am assuming you want Apache to host your servlets - also I am assuming that you already know how to host your servlets on the servlet engine. That being done, you need to do the following...
A) Create a JNDI .properties that looks like this:
 
java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory
java.naming.provider.url=ormi://172.16.132.115/cart (replace with your IP and your app name)
java.naming.security.principal=admin(your Orion username)
java.naming.security.credentials=admin(your orion password)
 
B) for jserv, create new wrapper.classpath entries in your jserv.conf to include orion.jar, and the directory containing JNDI properties to jserv's classpath.
Now, go to $ORION/config/default-web-site.xml and set the port to some arbitrary high value (basically it shouldn't be 80 or 443, if you're running apache-ssl)
 
Now you're ready to roll.
On Tomcat <3.2.1  there is a problem with the classpath so you have to put the orion.jar in $TOMCAT/lib - and you have to pass the JNDI environment as a bunch of -D directives to you Tomcat JVM invocation commandline.
 
That's  it..
 
Hope this works for you.
 
Regards,
DG
You have to have Jserv (or tomcat) to
-----Original Message-----
From: MD13 CYChen13 [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 12:18 PM
To: Orion-Interest 
Subject: RE: Interests sake

How can we link Apache and Orion? [Angshuman Dasgupta]  
Thanks so much!!

ted

-----Original Message-----
From: Alex 'Kazuma' Garbagnati [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 6:48 AM
To: Orion-Interest
Subject: RE: Interests sake



>For production, Win2K/Orion 1.4.7/PostgreSQL.  For development,
>Win2K/Orion 1.4.8/hsql.  I'll probably move the production box to 1.4.8
>soon since it seems to work well enough with my code.  I have test
>systems running Linux/PostgreSQL too.

Production:     Linux - Apache - Resin - Orion 1.4.5 - PostgreSQL
Development:    Win2K - Tomcat - Orion 1.4.5 - PostgreSQL



>With Linux it's much easier to configure Java apps as daemons, but I
>can't render my dynamic images with any reasonable quality - XWindows
>renders fonts like a three-year-old with a half-eaten crayon :-)

You should try pja. It does not require any XWindow server running and I
use the same fonts available on win...


         Best regards,
                 Kazuma

---
Those who do not understand Unix are condemned to reinvent it, poorly.

Alex Garbagnati, [EMAIL PROTECTED]

Reply via email to