LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Install apache and resin 2.1.10 in redhat 9.0? (https://www.linuxquestions.org/questions/linux-software-2/install-apache-and-resin-2-1-10-in-redhat-9-0-a-70646/)

heero82 07-07-2003 03:08 AM

Install apache and resin 2.1.10 in redhat 9.0?
 
hello, i am here for asking how to install a apache with a resin server in redhat 9.0.

actually i have already done the part of the resin, java and mysql.
my purpose is to maintain the source (because got some bugs).

1 now i have tried the result. it can select the data from database(mysql), but it can not find the servlet file. the resin.conf file i have not modified anything. i just add the virtual host setting (does it effect). any know about it

2 now i want to install the apache go through with my resin server. but how to i configure?

thanks for your concerned and help.

regards heero82

karleong 08-05-2003 10:46 AM

To configure Apache with Resin, you must configure both Apache and Resin. The Resin
configuration is identical to Resin's httpd configuration. The Apache configuration tells Apache how to find Resin.

On Unix, you'll run configure using --with-apache and then make:
unix> ./configure --with-apache=/usr/local/apache
unix> make
unix> make install

karleong 08-05-2003 10:53 AM

By default, Resin will look in resin-2.1.0/doc for JSP files and resin-2.1.0/doc/WEB-INF/classes
for servlets and beans. To tell Resin to use Apache's document area, you configure the app-dir.
Change app-dir from 'doc' to something like '/usr/local/apache/htdocs'.

resin.conf

<caucho.com>
<http-server
app-dir='/usr/local/apache/htdocs'>
<servlet-mapping url-pattern='/servlets/*'
servlet-name='invoker'/>
<servlet-mapping url-pattern='*.xtp'
servlet-name='com.caucho.jsp.XtpServlet'/>
<servlet-mapping url-pattern='*.jsp'
servlet-name='com.caucho.jsp.JspServlet'/>
</http-server>
</caucho.com>

heero82 08-08-2003 11:56 PM

thanks for your help,
but i have already built up,
i just want to ask anyone how they configure.

best regards

loon


All times are GMT -5. The time now is 02:18 PM.