Patches item #686501, was opened at 2003-02-14 12:55
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=686501&group_id=22866

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Sven Boeckelmann (svenboeckelmann)
Assigned to: Nobody/Anonymous (nobody)
Summary: Context support for tomcat41-service

Initial Comment:
This patch adds support for Context elements in the
tomcat41-service.xml 
when the tomcat41-service is starting these Contexts
are acting as preconfigured context configuration which
will be set when deploying a corresponding war file.

Example tomcat41-service.xml (just Engine Element):
-------------------------------------------------------------------
            <Engine name="MainEngine"
defaultHost="localhost">
               <Logger className =
"org.jboss.web.catalina.Log4jLogger"
                  verbosityLevel = "trace" category =
"org.jboss.web.localhost.Engine"/>
               <Host name="localhost">
                  <Valve className =
"org.apache.catalina.valves.AccessLogValve"           
         prefix = "localhost_access" suffix = ".log"
                     pattern = "common" directory =
"../server/default/log" />
                  <DefaultContext cookies = "true"
crossContext = "true" override = "true" />
                  <Context path="/myPrivilegedContext"
privileged="true" />
               </Host>
            </Engine>
-------------------------------------------------------------------

When a war file being deployed to
'/myPrivilegedContext' the privileged attribute will be
set.
Some people had trouble (so did I)  to set up their
Application without telling tomcat to handle the
Context as privileged.
This problem occured when using custom InvokerServlet
or Servlets that are generating images using java.awt
or javax.imageio.

The attached zip file contains two extra classes
(AddContextAction.java and ContextConfig.java) and a
patch against the latest source of Branch_3_0.

I'm not sure if all rules for jboss' deployment were
followed, but it's working.

Cheers,
Sven

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=686501&group_id=22866


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to