LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-07-2003, 04:08 AM   #1
heero82
Member
 
Registered: May 2003
Posts: 45

Rep: Reputation: 15
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
 
Old 08-05-2003, 11:46 AM   #2
karleong
LQ Newbie
 
Registered: Jul 2003
Location: malaysia
Posts: 21

Rep: Reputation: 15
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
 
Old 08-05-2003, 11:53 AM   #3
karleong
LQ Newbie
 
Registered: Jul 2003
Location: malaysia
Posts: 21

Rep: Reputation: 15
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>
 
Old 08-09-2003, 12:56 AM   #4
heero82
Member
 
Registered: May 2003
Posts: 45

Original Poster
Rep: Reputation: 15
thanks for your help,
but i have already built up,
i just want to ask anyone how they configure.

best regards

loon
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up Caucho Resin to run with Apache 2 emptystrings Linux - Networking 0 11-15-2004 11:29 PM
apache install problem- redhat enterprise einherjar Linux - Software 0 06-29-2004 08:54 PM
compile resin with apache ? htdatlq Linux - Newbie 0 10-30-2003 10:10 PM
install apache in RedHat 9 swmok Linux - Networking 1 08-11-2003 11:48 AM
virtual host in resin of redhat 9.0? heero82 Linux - Software 2 07-08-2003 04:23 AM


All times are GMT -5. The time now is 10:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration