Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 12th, 2005, 08:57 PM
Registered User
Join Date: May 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tomcat 5.5 and context.xml

Hi there,

Apparently, with the change to configuring Resourses under a Context in the new Tomcat 5.5, all the ResourceParams are out. Now, any parameters have been changed to attributes for the Resource. The problem I have is with an older syntax and what to do with it now?

Before Tomcat 5.5 I used to refer to a resource to email capabilities like so:

<Resource name="mail/session" auth="CONTAINER" type="javax.mail.Session" />
<ResourceParams name="mail/session">

Since I can't do that anymore, how do I refer to this resource in the context.xml file?



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to set context in web.xml or context.xml. dchicks Apache Tomcat 1 March 7th, 2008 07:59 AM
Restarting a context in Tomcat 5? probedb Apache Tomcat 0 October 10th, 2007 03:00 AM
start a context automatically, while tomcat starts sureshrgsl BOOK: Professional Apache Tomcat 0 April 16th, 2007 02:14 AM
Context Logs with Tomcat 5.0.19 shantawn Apache Tomcat 0 April 4th, 2005 05:53 AM
Tomcat context is shuttingdown.? tarun_keshav All Other Wrox Books 0 November 30th, 2004 08:04 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.