You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Pier Fumagalli <pi...@apache.org> on 2001/10/31 00:26:35 UTC

FW: DO NOT REPLY [Bug 4520] - I can not Access a context from a JSP called trought Apache

I swear that if I get another one of those, I'll set up an autoreply for
bugzilla@apache.org saying:

"To fix your bug #xxxx run this executable", and the executable is a nice
"I'm going to f***-up your hard drive for good now"....

Or someone has a better idea on where to put those "DO NOT REPLY"?

    Pier

------ Forwarded Message
From: Sergio Martínez <se...@acme.com>
Organization: Acme
Date: Tue, 30 Oct 2001 16:47:09 -0600
To: bugzilla@apache.org
Subject: Re: DO NOT REPLY [Bug 4520]  - I can not Access a context from a
JSP  called trought Apache

Yes!
I did it also.
as a test aplication you can use the servlet that comes with Tomcat 4

I have this in httpd.conf
WebAppConnection ApacheCon      warp  localhost:8008
WebAppDeploy     examples  ApacheCon  /examples/
WebAppInfo /webapp-info

and:
<Server port="8005" shutdown="SHUTDOWN" debug="0">
  <Service name="Tomcat-Apache">
    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
     port="8008" minProcessors="5" maxProcessors="75"
     enableLookups="true"
     acceptCount="10" debug="0"/>
    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
     name="Apache" debug="0" appBase="webapps">
      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="apache_log." suffix=".txt"
              timestamp="true"/>
      <Realm className="org.apache.catalina.realm.MemoryRealm" />
      <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
        <Valve className="org.apache.catalina.valves.AccessLogValve"
                 directory="logs"  prefix="localhost_access_log."
suffix=".txt"
                 pattern="common"/>
        <Logger className="org.apache.catalina.logger.FileLogger"
                 directory="logs"  prefix="localhost_log." suffix=".txt"
         timestamp="true"/>
        <Context path="/manager" docBase="manager"
         debug="0" privileged="true"/>
        <Context path="/examples" docBase="examples" debug="0"
                 reloadable="true">
          <Logger className="org.apache.catalina.logger.FileLogger"
                     prefix="localhost_examples_log." suffix=".txt"
           timestamp="true"/>
          <Ejb   name="ejb/EmplRecord" type="Entity"
                 home="com.wombat.empl.EmployeeRecordHome"
               remote="com.wombat.empl.EmployeeRecord"/>
          <Environment name="maxExemptions" type="java.lang.Integer"
                      value="15"/>
          <Parameter name="context.param.name" value="context.param.value"
                     override="false"/>
          <Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
                    type="javax.sql.DataSource"/>
          <ResourceParams name="jdbc/EmployeeAppDb">
            <parameter><name>user</name><value>sa</value></parameter>
            <parameter><name>password</name><value></value></parameter>
            <parameter><name>driverClassName</name>
              <value>org.hsql.jdbcDriver</value></parameter>
            <parameter><name>driverName</name>
              <value>jdbc:HypersonicSQL:database</value></parameter>
          </ResourceParams>
          <Resource name="jdbc/TroubleTicket" auth="SERVLET"
                    type="javax.sql.DataSource"/>
          <ResourceParams name="jdbc/TroubleTicket">
            <parameter><name>user</name><value>root</value></parameter>
            <parameter><name>password</name><value></value></parameter>
            <parameter><name>driverClassName</name>
              <value>org.gjt.mm.mysql.Driver</value></parameter>
            <parameter><name>driverName</name>
              <value>jdbc:mysql://localhost/ttbeta1</value></parameter>
          </ResourceParams>
          <Resource name="mail/Session" auth="Container"
                    type="javax.mail.Session"/>
          <ResourceParams name="mail/Session">
            <parameter>
              <name>mail.smtp.host</name>
              <value>localhost</value>
            </parameter>
          </ResourceParams>
        </Context>
      </Host>
    </Engine>
  </Service>
</Server>

bugzilla@apache.org wrote:

> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4520>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
> INSERTED IN THE BUG DATABASE.
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4520
>
> I can not Access a context from a JSP called trought Apache
>
> ------- Additional Comments From pier@betaversion.org  2001-10-30 12:37
-------
> Did you set your value within the <Service name="Tomcat-Apache"> tag?

--
Ing. Sergio E. Martínez Pacheco
INFOTEC - Innovación y Desarrollo Tecnológico
http://www.cta.com.mx
http://term18.cta.com.mx
Av. Sn. Fernando 37
Col Toriello Guerra
Tlalpan, México 14050
6242800 ext 265
--
http://atrevete.com/
--
Visita mi HomePage http://www.geocities.com/CollegePark/1888
--
Unete a ESIME Computación
http://www.egroups.com/subscribe/esimecu-computacion





------ End of Forwarded Message


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>