Hi,

I need to connect Oracle Apache with Tomcat using mod_webapp and it doesn't
work!
We have other Apaches running with Tomcat using mod_jk and it works!

I have Oracle9iAS running Oracle Portal with an intranet app http://intranet
, and now we want to add an app running on Tomcat 4.0 using the same Apache
3.1.19. Oracle Apache needs mod_jserv for intranet app, so I can't use
mod_jk.

I follow the instructions on howto configure mod_webapp, it seems to be ok,
but the jsp request are handled by Oracle Jserv, not Tomcat...
If someone is working with the same scenario, please help me.

Sun Solaris 2.8
Oracle9iAS with Apache 3.1.19
Tomcat 4.0

Config. files:

server.xml
<Server port="38005" shutdown="SHUTDOWN" debug="0">
  <Service name="Tomcat-Standalone">
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="38080" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="38443"
               acceptCount="10" debug="9" connectionTimeout="60000"/>
    <Connector
className="org.apache.catalina.connector.http10.HttpConnector"
               port="38082" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="38443"
               acceptCount="10" debug="9"/>
    <Engine name="Standalone" defaultHost="magiccubedesa" debug="0">
      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="catalina_log." suffix=".txt"
              timestamp="true"/>
      <Realm className="org.apache.catalina.realm.MemoryRealm" />
      <Host name="magicCubedesa" debug="1" appBase="webapps"
       unpackWARs="true" autoDeploy="true">
        <Valve className="org.apache.catalina.valves.AccessLogValve"
                 directory="logs"  prefix="magicCube_access_log."
suffix=".txt"
                 pattern="common"/>
        <Logger className="org.apache.catalina.logger.FileLogger"
                 directory="logs"  prefix="magicCube_log." suffix=".txt"
           timestamp="true"/>
          <Context path="/manager" docBase="manager" debug="0"
privileged="true"/>
      </Host>
    </Engine>
  </Service>

  <Service name="Tomcat-Apache">
    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
               port="38008" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="9"/>

    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
            name="Apache" debug="9" appBase="webapps">

       <Realm className="org.apache.catalina.realm.MemoryRealm" />

       <Logger className="org.apache.catalina.logger.FileLogger"
               prefix="apache_log." suffix=".txt" timestamp="true"/>

       <Valve className="org.apache.catalina.valves.AccessLogValve"
              prefix="apache_access." suffix=".txt" pattern="common"/>
    </Engine>
  </Service>
</Server>

httpd.conf:
# end of original file...
# Include the configuration files needed for jserv
include "/soft/oracle9ias/Apache/Jserv/etc/jserv.conf"

# Include the Oracle configuration file for custom settings
include "/soft/oracle9ias/Apache/Apache/conf/oracle_apache.conf"


# start of Apache-Tomcat config
NameVirtualHost 172.16.1.102:7777
<VirtualHost 172.16.1.102:7777>
   ServerName intranet
   DocumentRoot /soft/oracle9ias/Apache/Apache/htdocs
</VirtualHost>

<VirtualHost 172.16.1.102:7777>
   ServerName magiccubedesa
   DocumentRoot /opt/tomcat/jakarta-tomcat-4.0-c1/dist/webapps
   WebAppConnection warp     warp magiccubedesa:38008
   WebAppDeploy     examples warp /examples/
   WebAppDeploy     magicCube warp /magicCube/
</VirtualHost>


Thanks,
Hugo.



http://www.portalsociete.com 
Visítenos, lo estamos esperando. 

============================================================
La información aquí contenida es confidencial y está dirigida
solamente a las personas direccionadas en el mail.
No debe ser considerada como recomendación de compra o venta
de valores. Todo acceso no autorizado, uso, reproducción, o
divulgación está prohibido.
Ni SOCIETE GENERALE ni ninguna de sus subsidiarias o filiales
asumirán responsabilidad ni obligación legal alguna por cualquier
información incorrecta o alterada contenida en este mensaje.

The information contained herein is confidential and is intended
solely for the addressee(s).  It shall not be construed as a
recommendation to buy or sell any security.  Any unauthorized
access, use, reproduction, disclosure or dissemination is prohibited.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
shall assume any legal liability or responsibility for any incorrect,
misleading or altered information contained herein.
============================================================


Reply via email to