https://issues.apache.org/bugzilla/show_bug.cgi?id=48906
Summary: Client's context information is not updated
automatically in conf/Catalina
Product: Tomcat 6
Version: 6.0.26
Platform: PC
OS/Version: other
Status: NEW
Severity: major
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
Updating/deploying a client with new context information will not trigger an
update of the client context information in conf/Catalina/<myclientname>.xml.
I normally keep the context file in the META-INF folder inside my client (e.g
....webapps/<myclientname>/META-INF/context.xml) which contains the database
information amongst others.
eg. <Resource name="jdbc/database"
auth="Container"
type="javax.sql.DataSource"
username="aname"
password="whatever"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/ADATABASENAME?autoReconnect=true"
maxActive="-1"
maxIdle="20" />
Then I run the ant script to replace and redeploy the client to the usual
webapps folder and finally start Tomcat.
Upon launch I was expecting Tomcat to reread the context file from the META-INF
and update itself but it didn't do that. I had to manually change that.
Kind Regards
Tony
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]